can we pad some section with some value
loody
miloody@gmail.com
Thu Jan 21 08:39:00 GMT 2010
Dear all:
we can use fill the section content with any value by filling the
fillexp value below.
section [address] [(type)] :
[AT(lma)] [ALIGN(section_align)] [SUBALIGN(subsection_align)]
{
output-section-command
output-section-command
...
} [>region] [AT>lma_region] [:phdr :phdr ...] [=fillexp]
What can I ask linker to help me, if I need the whole binary padding
to a fix length?
ex:
suppose my binary is 11k. But I want the linker to pad the end of
binary and make the whole size of final output file to be 16k, like
what alignment does.
is there any command I can use?
appreciate your help,
miloody
More information about the Binutils
mailing list