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: John Pickwick
Subject: Re: How to extract *.o from a given *.a in linker scripts
Date: Fri, 18 May 2007 23:17:38 +0200

Yes, I use the -M to control my mapping layout through a script command 
file. But I don't know how to group all .o files from a given .a library in 
ONE section (after that, I know how to map them).

"Henrik Carlqvist" <Henrik.Carlqvist@deadspam.com> a écrit dans le message 
de news: pan.2007.05.17.20.20.17.723048@deadspam.com...
> "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]