Re: How to extract *.o from a given *.a in linker scripts
Henrik Carlqvist <[email protected]>
| Newsgroups | gmane.comp.gnu.utils |
|---|---|
| Organization | SunSITE.dk - Supporting Open source |
| Message-ID | <[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