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

"John Pickwick" <[email protected]>
Newsgroups gmane.comp.gnu.utils
Organization Guest of ProXad - France
Message-ID <[email protected]>
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" <[email protected]> a écrit dans le message 
de news: [email protected]...
> "John Pickwick" <[email protected]> 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
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.