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: > [EMAIL PROTECTED] [EMAIL PROTECTED] >