mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-24 20:28:28 +08:00
ld/
* 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.
This commit is contained in:
@ -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>
|
2013-06-12 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
* ldcref.c (output_one_cref): Place common definitions after
|
* ldcref.c (output_one_cref): Place common definitions after
|
||||||
|
@ -18,6 +18,8 @@ MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
|
|||||||
ENTRY=_start
|
ENTRY=_start
|
||||||
EMBEDDED=yes
|
EMBEDDED=yes
|
||||||
SEPARATE_GOTPLT=24
|
SEPARATE_GOTPLT=24
|
||||||
|
IREL_IN_PLT=
|
||||||
|
|
||||||
TEXT_START_ADDR=0x00400000
|
TEXT_START_ADDR=0x00400000
|
||||||
|
|
||||||
DATA_START_SYMBOLS='__data_start = . ;';
|
DATA_START_SYMBOLS='__data_start = . ;';
|
||||||
|
@ -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>
|
2013-06-13 Terry Guo <terry.guo@arm.com>
|
||||||
|
|
||||||
PR ld/15302
|
PR ld/15302
|
||||||
|
@ -3,5 +3,5 @@
|
|||||||
#target: aarch64-*-*
|
#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
|
#pass
|
||||||
|
@ -3,5 +3,5 @@
|
|||||||
#target: aarch64-*-*
|
#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
|
#pass
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
#target: aarch64-*-*
|
#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]+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
|
#pass
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
.type foo, %gnu_indirect_function
|
.type foo, %gnu_indirect_function
|
||||||
.global __GI_foo
|
|
||||||
.hidden __GI_foo
|
|
||||||
.set __GI_foo, foo
|
.set __GI_foo, foo
|
||||||
.text
|
.text
|
||||||
.globl foo
|
|
||||||
.type foo, @function
|
.type foo, @function
|
||||||
foo:
|
foo:
|
||||||
ret
|
ret
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
#target: aarch64-*-*
|
#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]+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
|
#pass
|
||||||
|
@ -4,5 +4,5 @@
|
|||||||
#target: aarch64-*-*
|
#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
|
#pass
|
||||||
|
Reference in New Issue
Block a user