[arm-elf-as] order of subsections/location of literal pool

Sven Köhler sven.koehler@gmail.com
Sat May 23 21:35:00 GMT 2009


Ramana Radhakrishnan schrieb:
>> The .long param should always be the last 4 bytes of the program. The
>> last 4 bytes of the program are to be modified during the process of
>> uploading the code to some embedded system. So it's very important that
>> they are always the last 4 bytes.
> 
> If this is what you want, why not use a custom linker script to ensure
> this ?

Because it's kind of "overkill" for this task. There is only this little
assembler program with only about 20 lines of code.


BTW: should objdump -d show me the subsections? Because if I only
compile the program (without linking), and look at the objdump of the
*.o file, then there are no subsections in that file.


Regards,
  Sven


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
URL: <https://sourceware.org/pipermail/binutils/attachments/20090523/13bfa8d6/attachment.sig>


More information about the Binutils mailing list