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: [PATCH, AArch64] Define ELFSIZE and adjust the emulation template file


On 22/04/13 17:48, Yufeng Zhang wrote:
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.


Looks OK to me.

/Marcus


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