Support -pie for aarch64*-elf targets.

ld/
	* emulparams/aarch64elf.sh (GENERATE_PIE_SCRIPT): Set to yes.
	* emulparams/aarch64elf32.sh: Likewise.
This commit is contained in:
Roland McGrath 2016-07-19 10:19:06 -07:00
parent 1f960ced9a
commit 3af09e8db3
3 changed files with 10 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2016-07-19 Roland McGrath <roland@hack.frob.com>
* emulparams/aarch64elf.sh (GENERATE_PIE_SCRIPT): Set to yes.
* emulparams/aarch64elf32.sh: Likewise.
2016-07-19 Maciej W. Rozycki <macro@imgtec.com>
* testsuite/ld-mips-elf/unaligned-branch-2.d: Update error
@ -1051,7 +1056,7 @@
* testsuite/ld-plugin/pr20103c.c: Likewise.
2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
* testsuite/ld-mips-elf/jalx-local.d: New test.
* testsuite/ld-mips-elf/jalx-local-n32.d: New test.
* testsuite/ld-mips-elf/jalx-local-n64.d: New test.

View file

@ -13,6 +13,8 @@ TEMPLATE_NAME=elf32
EXTRA_EM_FILE=aarch64elf
GENERATE_SHLIB_SCRIPT=yes
GENERATE_PIE_SCRIPT=yes
MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
ENTRY=_start

View file

@ -13,6 +13,8 @@ TEMPLATE_NAME=elf32
EXTRA_EM_FILE=aarch64elf
GENERATE_SHLIB_SCRIPT=yes
GENERATE_PIE_SCRIPT=yes
MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
ENTRY=_start