diff options
author | Yufeng Zhang <yufeng.zhang@arm.com> | 2013-04-24 17:22:31 +0000 |
---|---|---|
committer | Yufeng Zhang <yufeng.zhang@arm.com> | 2013-04-24 17:22:31 +0000 |
commit | 4390599b4ec1a4f6ec0fb84bcf44657fae667327 (patch) | |
tree | 55024ad61fb7f7bc386bad603d6b54c7c32401aa /ld/emulparams | |
parent | 99059e56e2dad29efe6c7311bb86a64fd8ca8fdb (diff) | |
download | gdb-4390599b4ec1a4f6ec0fb84bcf44657fae667327.zip gdb-4390599b4ec1a4f6ec0fb84bcf44657fae667327.tar.gz gdb-4390599b4ec1a4f6ec0fb84bcf44657fae667327.tar.bz2 |
ld/
* 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.
Diffstat (limited to 'ld/emulparams')
-rw-r--r-- | ld/emulparams/aarch64elf.sh | 1 | ||||
-rw-r--r-- | ld/emulparams/aarch64linux.sh | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/ld/emulparams/aarch64elf.sh b/ld/emulparams/aarch64elf.sh index d72e5f7..53ccd6a 100644 --- a/ld/emulparams/aarch64elf.sh +++ b/ld/emulparams/aarch64elf.sh @@ -3,6 +3,7 @@ MACHINE= NOP=0 SCRIPT_NAME=elf +ELFSIZE=64 OUTPUT_FORMAT="elf64-littleaarch64" BIG_OUTPUT_FORMAT="elf64-bigaarch64" LITTLE_OUTPUT_FORMAT="elf64-littleaarch64" diff --git a/ld/emulparams/aarch64linux.sh b/ld/emulparams/aarch64linux.sh index 4a0fca9..d864296 100644 --- a/ld/emulparams/aarch64linux.sh +++ b/ld/emulparams/aarch64linux.sh @@ -3,6 +3,7 @@ MACHINE= NOP=0 SCRIPT_NAME=elf +ELFSIZE=64 OUTPUT_FORMAT="elf64-littleaarch64" BIG_OUTPUT_FORMAT="elf64-bigaarch64" LITTLE_OUTPUT_FORMAT="elf64-littleaarch64" |