[PATCH, AArch64] Define ELFSIZE and adjust the emulation template file

Yufeng Zhang Yufeng.Zhang@arm.com
Mon Apr 22 16:48:00 GMT 2013


Hi,

This patch adds the definition of ELFSIZE to the AArch64 ld emulation 
parameter files and adjusts the corresponding template file.

OK for the trunk?

Thanks,
Yufeng


ld/

2013-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>

         * emulparams/aarch64elf.sh: Define ELFSIZE=64.
         * emulparams/aarch64linux.sh: Ditto.
         * emultempl/aarch64elf.em (aarch64_elf_before_allocation):
         Replace elf64 with elf${ELFSIZE}.
         (elf64_aarch64_add_stub_section): Likewise.
         (build_section_lists): Likewise.
         (gld${EMULATION_NAME}_after_allocation): Likewise.
         (gld${EMULATION_NAME}_finish): Likewise.
         (aarch64_elf_create_output_section_statements): Likewise.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ld-elfsize.patch
Type: text/x-patch
Size: 3857 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20130422/e831b954/attachment.bin>


More information about the Binutils mailing list