Article View: gnu.gcc.help
Article #49443Locating objects with ld
From: Mark Wutzke
Date: Mon, 24 Jan 1994 04:56
Date: Mon, 24 Jan 1994 04:56
36 lines
1827 bytes
1827 bytes
I have a hardware requirement where by I need to locate a data segement
on a 64K byte boundary. The object file (for this data segment) is located
in an archive file.
My question is: what is the syntax I use in the *.sc file (for ld) to
identify a specific object file in the archive ?
Stated another way: I know I can use
SECTION
{
:
:
.file_data ALIGN(0x10000) :
{
file_da.o;
}
:
:
}
to specify the alignment for an object file in the current directory,
but how do I do this for an object file in an archive file ?
I have looked high and low in the manual, but with no success.
Any suggestions/solutions ?
Mark W
--
Mark Wutzke Net: markw@research.canon.oz.au _--_|\
/ \
Canon Information Systems Research Australia Ph: +61 2 805 2820 \_.--._*
P.O. Box 313 North Ryde, NSW, Australia 2113 Fax: +61 2 805 2929 v
Technical Details
Message-ID:
<CK4B2G.Ex1@research.canon.oz.au>Path:
arc1-ca.pugleaf.net!gmd.de!xlink.net!sol.ctr.columbia.edu!howland.reston.ans.net!vixen.cso.uiuc.edu!uwm.edu!psuvax1!news.cc.swarthmore.edu!netnews.upenn.edu!msuinfo!harbinger.cc.monash.edu.au!bruce.cs.monash.edu.au!merlin!mel.dit.csiro.au!its.csiro.au!dmssyd.syd.dms.CSIRO.AU!metro!mama.research.canon.oz.au!markwShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,99856daf09de627c,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1994-01-29 06:28:12 PST Newsgroups: gnu.gcc.help Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!sol.ctr.columbia.edu!howland.reston.ans.net!vixen.cso.uiuc.edu!uwm.edu!psuvax1!news.cc.swarthmore.edu!netnews.upenn.edu!msuinfo!harbinger.cc.monash.edu.au!bruce.cs.monash.edu.au!merlin!mel.dit.csiro.au!its.csiro.au!dmssyd.syd.dms.CSIRO.AU!metro!mama.research.canon.oz.au!markw From: markw@research.canon.oz.au (Mark Wutzke) Subject: Locating objects with ld Message-ID: <CK4B2G.Ex1@research.canon.oz.au> Originator: markw@goose Sender: news@research.canon.oz.au Nntp-Posting-Host: goose Organization: Canon Information Systems Research Australia Date: Mon, 24 Jan 1994 04:56:39 GMT Lines: 36