]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
ld/
authorYufeng Zhang <yufeng.zhang@arm.com>
Fri, 14 Jun 2013 15:55:36 +0000 (15:55 +0000)
committerYufeng Zhang <yufeng.zhang@arm.com>
Fri, 14 Jun 2013 15:55:36 +0000 (15:55 +0000)
* emulparams/aarch64elf.sh: Add IREL_IN_PLT.

ld/testsuite/

* ld-aarch64/ifunc-1-local.d: Replace hard-coded immediate offset
with regexp.
* ld-aarch64/ifunc-1.d: Likewise.
* ld-aarch64/ifunc-2-local.d: Likewise.
* ld-aarch64/ifunc-2.d: Likewise.
* ld-aarch64/ifunc-3a.d: Likewise.
* ld-aarch64/ifunc-2-local.s: Change not to declare __GI_foo and foo
global.

ld/ChangeLog
ld/emulparams/aarch64elf.sh
ld/testsuite/ChangeLog
ld/testsuite/ld-aarch64/ifunc-1-local.d
ld/testsuite/ld-aarch64/ifunc-1.d
ld/testsuite/ld-aarch64/ifunc-2-local.d
ld/testsuite/ld-aarch64/ifunc-2-local.s
ld/testsuite/ld-aarch64/ifunc-2.d
ld/testsuite/ld-aarch64/ifunc-3a.d

index e58945bb7afbeee7a62c7fbb52bd694c608ea911..c1435fe4224ca97ac3e460c6ab7bed51637f485b 100644 (file)
@@ -1,3 +1,7 @@
+2013-06-14  Yufeng Zhang  <yufeng.zhang@arm.com>
+
+       * emulparams/aarch64elf.sh: Add IREL_IN_PLT.
+
 2013-06-12  Nick Clifton  <nickc@redhat.com>
 
        * ldcref.c (output_one_cref): Place common definitions after
index 53ccd6ab921307b407dd0d46a908f12ca5ada637..99f48446658c74bf60dd3e296fef57128fe03f30 100644 (file)
@@ -18,6 +18,8 @@ MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
 ENTRY=_start
 EMBEDDED=yes
 SEPARATE_GOTPLT=24
+IREL_IN_PLT=
+
 TEXT_START_ADDR=0x00400000
 
 DATA_START_SYMBOLS='__data_start = . ;';
index fa4c8420be47ce59a7465a9986d3ea89023e36c2..202c1eb55a1b6230d52c8a6fa621f2576c1512b0 100644 (file)
@@ -1,3 +1,14 @@
+2013-06-14  Yufeng Zhang  <yufeng.zhang@arm.com>
+
+       * ld-aarch64/ifunc-1-local.d: Replace hard-coded immediate offset
+       with regexp.
+       * ld-aarch64/ifunc-1.d: Likewise.
+       * ld-aarch64/ifunc-2-local.d: Likewise.
+       * ld-aarch64/ifunc-2.d: Likewise. 
+       * ld-aarch64/ifunc-3a.d: Likewise.
+       * ld-aarch64/ifunc-2-local.s: Change not to declare __GI_foo and foo
+       global.
+
 2013-06-13  Terry Guo  <terry.guo@arm.com>
 
        PR ld/15302
index 0cce7f665f839548894dcb4afe9b213b9bb8aaba..0b49004de7d8e43cce4cbc0f4c230a47b92c458c 100644 (file)
@@ -3,5 +3,5 @@
 #target: aarch64-*-*
 
 #...
-[ \t0-9a-f]+:[ \t0-9a-f]+bl[ \t0-9a-f]+<\*ABS\*\+0x2a0@plt>
+[ \t0-9a-f]+:[ \t0-9a-f]+bl[ \t0-9a-f]+<\*ABS\*\+0x[0-9a-f]+@plt>
 #pass
index 8a17cd763af92728af0f73fa432e382ad77811c8..0b49004de7d8e43cce4cbc0f4c230a47b92c458c 100644 (file)
@@ -3,5 +3,5 @@
 #target: aarch64-*-*
 
 #...
-[ \t0-9a-f]+:[ \t0-9a-f]+bl[ \t0-9a-f]+<\*ABS\*\+0x2c0@plt>
+[ \t0-9a-f]+:[ \t0-9a-f]+bl[ \t0-9a-f]+<\*ABS\*\+0x[0-9a-f]+@plt>
 #pass
index 07616ca0070c35ce8932c94b7ab6cb2e7a449751..07cc0bf008987dbca88f4032cb1ce65c0cf55784 100644 (file)
@@ -3,7 +3,7 @@
 #target: aarch64-*-*
 
 #...
-[ \t0-9a-f]+:[ \t0-9a-f]+bl[ \t0-9a-f]+<\*ABS\*\+0x2c0@plt>
+[ \t0-9a-f]+:[ \t0-9a-f]+bl[ \t0-9a-f]+<\*ABS\*\+0x[0-9a-f]+@plt>
 [ \t0-9a-f]+:[ \t0-9a-f]+adrp[ \t]+x0, 0 <_GLOBAL_OFFSET_TABLE_>
-[ \t0-9a-f]+:[ \t0-9a-f]+add[ \t]+x0, x0, #0x2b0
+[ \t0-9a-f]+:[ \t0-9a-f]+add[ \t]+x0, x0, #0x[0-9a-f]+
 #pass
index da350df63158ae75b58b6d46df78470fc37fe0cf..632c31f456067809c0fb03eacfd9cc0b58c6b1ce 100644 (file)
@@ -1,9 +1,6 @@
        .type foo, %gnu_indirect_function
-       .global __GI_foo
-       .hidden __GI_foo
        .set __GI_foo, foo
        .text
-.globl foo
        .type   foo, @function
 foo:
        ret
index 07616ca0070c35ce8932c94b7ab6cb2e7a449751..07cc0bf008987dbca88f4032cb1ce65c0cf55784 100644 (file)
@@ -3,7 +3,7 @@
 #target: aarch64-*-*
 
 #...
-[ \t0-9a-f]+:[ \t0-9a-f]+bl[ \t0-9a-f]+<\*ABS\*\+0x2c0@plt>
+[ \t0-9a-f]+:[ \t0-9a-f]+bl[ \t0-9a-f]+<\*ABS\*\+0x[0-9a-f]+@plt>
 [ \t0-9a-f]+:[ \t0-9a-f]+adrp[ \t]+x0, 0 <_GLOBAL_OFFSET_TABLE_>
-[ \t0-9a-f]+:[ \t0-9a-f]+add[ \t]+x0, x0, #0x2b0
+[ \t0-9a-f]+:[ \t0-9a-f]+add[ \t]+x0, x0, #0x[0-9a-f]+
 #pass
index 1335480252a8eb1c65150f9ebbb2401a1c62df82..91ba4aa5945fd0fc5d46363920d7d23755fe6b72 100644 (file)
@@ -4,5 +4,5 @@
 #target: aarch64-*-*
 
 #...
-[ \t0-9a-f]+:[ \t0-9a-f]+bl[ \t0-9a-f]+<\*ABS\*\+0x2e0@plt>
+[ \t0-9a-f]+:[ \t0-9a-f]+bl[ \t0-9a-f]+<\*ABS\*\+0x[0-9a-f]+@plt>
 #pass