help-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to extract *.o from a given *.a in linker scripts


From: Henrik Carlqvist
Subject: Re: How to extract *.o from a given *.a in linker scripts
Date: Thu, 17 May 2007 22:20:18 +0200
User-agent: Pan/0.14.2 (This is not a psychotic episode. It's a cleansing moment of clarity.)

"John Pickwick" <john.pickwick@free.fr> wrote:
> I want to map all the objects files from a given .a at a memory address.

I haven't tried this myself and I'm not sure why you would want to
control which addresses different object files get to, but maybe the
switch --section-start for the command ld would be useful? Otherwise, at
least you have the switch -M which will show you at which addresses
different object files got.

Maybe you are developing for a platform where different parts of memory
have different speed and want to place critical functions in the fastest
memory?

regards Henrik
-- 
The address in the header is only to prevent spam. My real address is:
hc1(at)poolhem.se Examples of addresses which go to spammers:
root@localhost postmaster@localhost



reply via email to

[Prev in Thread] Current Thread [Next in Thread]