This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Attachment: signature.asc
Description: OpenPGP digital signature


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