This is the mail archive of the crossgcc@sourceware.cygnus.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more infromation.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: How do I avoid linker padding?


Luke:

Luke Diamand wrote:

> Dunno if this helps, but I found that when linking a.out, it aligned the start of
> each compilation unit on a 16 byte boundary.
>
> This is set in binutils/bfd/cpu-arm.c with the macro 'N'. Argument 8 is used - it
> raises it to the power 2 and byte aligns that much. So we changed it locally from
> 4 to 2.

Bummer... it's already set to 1 for cpu-sh (my arch).

Any other ideas?

b.g.



------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]