Support -pie for aarch64*-elf targets.
authorRoland McGrath <mcgrathr@chromium.org>
Tue, 19 Jul 2016 17:19:06 +0000 (10:19 -0700)
committerRoland McGrath <mcgrathr@chromium.org>
Tue, 19 Jul 2016 17:19:06 +0000 (10:19 -0700)
ld/
* emulparams/aarch64elf.sh (GENERATE_PIE_SCRIPT): Set to yes.
* emulparams/aarch64elf32.sh: Likewise.

ld/ChangeLog
ld/emulparams/aarch64elf.sh
ld/emulparams/aarch64elf32.sh

index a8c9d168e755fd8c4b5420065e65966df1751d4f..9dc24b4226cc568a032bf8d794dd6d9811e06dbf 100644 (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
        * 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.
index 6864d65711d4063322acfe2a17f3e2ab9562e1da..6eb2bad5abc13129885a83d4b0e3a2734d4d9698 100644 (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
index f85c9ffd187db416c46df2814d32043ba42c88c6..c0d6b72517e6df7d12608f7983a6e206e280d7b2 100644 (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