Is it possible to remove section padding from in as/ld?
Miro Kropacek
miro.kropacek@gmail.com
Sat May 15 12:38:00 GMT 2010
More information about the Binutils mailing list
Sat May 15 12:38:00 GMT 2010
- Previous message (by thread): Is it possible to remove section padding from in as/ld?
- Next message (by thread): Is it possible to remove section padding from in as/ld?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> In the linker script, the ALIGN() directive can be used to align output > sections. > > But it reads input sections with something like: > *(.text) > and I don't know any syntax to force the alignment of the individual > sections found by this wildcard. SUBALIGN? IIRC, with this directive all input subsections will be aligned, this works even for lower alignment, so it's perfect for me. Problem is that padding on the end, this isn't aligned. So either ALIGN with lower alignment would do the job or default align = 1 and explicit higher ALIGN in linker script. If I didn't miss something important :) -- MiKRO / Mystic Bytes http://mikro.atari.org
- Previous message (by thread): Is it possible to remove section padding from in as/ld?
- Next message (by thread): Is it possible to remove section padding from in as/ld?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list