Support any relocation order
* testsuite/ld-x86-64/no-plt-1a.rd: Support any relocation order. * testsuite/ld-x86-64/no-plt-1b.rd: Likewise. * testsuite/ld-x86-64/no-plt-1c.rd: Likewise. * testsuite/ld-x86-64/no-plt-1d.rd: Likewise. * testsuite/ld-x86-64/no-plt-1e.rd: Likewise. * testsuite/ld-x86-64/no-plt-1f.rd: Likewise. * testsuite/ld-x86-64/no-plt-1g.rd: Likewise. * testsuite/ld-x86-64/no-plt.exp: Fix a typo.
This commit is contained in:
parent
1f26b7ae33
commit
010bc3ce6c
11
ld/ChangeLog
11
ld/ChangeLog
@ -1,3 +1,14 @@
|
||||
2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* testsuite/ld-x86-64/no-plt-1a.rd: Support any relocation order.
|
||||
* testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
|
||||
* testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
|
||||
* testsuite/ld-x86-64/no-plt-1d.rd: Likewise.
|
||||
* testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
|
||||
* testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
|
||||
* testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
|
||||
* testsuite/ld-x86-64/no-plt.exp: Fix a typo.
|
||||
|
||||
2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* testsuite/ld-x86-64/libno-plt-1b.dd: Likewise.
|
||||
|
@ -4,7 +4,7 @@
|
||||
Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains [0-9]+ entries:
|
||||
+Offset +Info +Type +Symbol's Value +Symbol's Name \+ Addend
|
||||
#...
|
||||
[0-9a-f ]+R_X86_64_GLOB_DAT +0+ abort.* \+ 0
|
||||
[0-9a-f ]+R_X86_64_GLOB_DAT +0+ (abort|puts).* \+ 0
|
||||
#...
|
||||
[0-9a-f ]+R_X86_64_GLOB_DAT +0+ puts.* \+ 0
|
||||
[0-9a-f ]+R_X86_64_GLOB_DAT +0+ (abort|puts).* \+ 0
|
||||
#pass
|
||||
|
@ -4,13 +4,13 @@
|
||||
Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains [0-9]+ entries:
|
||||
+Offset +Info +Type +Symbol's Value +Symbol's Name \+ Addend
|
||||
#...
|
||||
[0-9a-f ]+R_X86_64_GLOB_DAT +0+ abort.* \+ 0
|
||||
[0-9a-f ]+R_X86_64_GLOB_DAT +0+ (abort.*|puts.*|get_func|call_func|func) \+ 0
|
||||
#...
|
||||
[0-9a-f ]+R_X86_64_GLOB_DAT +0+ puts.* \+ 0
|
||||
[0-9a-f ]+R_X86_64_GLOB_DAT +0+ (abort.*|puts.*|get_func|call_func|func) \+ 0
|
||||
#...
|
||||
[0-9a-f ]+R_X86_64_GLOB_DAT +0+ get_func \+ 0
|
||||
[0-9a-f ]+R_X86_64_GLOB_DAT +0+ (abort.*|puts.*|get_func|call_func|func) \+ 0
|
||||
#...
|
||||
[0-9a-f ]+R_X86_64_GLOB_DAT +0+ call_func \+ 0
|
||||
[0-9a-f ]+R_X86_64_GLOB_DAT +0+ (abort.*|puts.*|get_func|call_func|func) \+ 0
|
||||
#...
|
||||
[0-9a-f ]+R_X86_64_GLOB_DAT +0+ func \+ 0
|
||||
[0-9a-f ]+R_X86_64_GLOB_DAT +0+ (abort.*|puts.*|get_func|call_func|func) \+ 0
|
||||
#pass
|
||||
|
@ -4,11 +4,11 @@
|
||||
Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains [0-9]+ entries:
|
||||
+Offset +Info +Type +Symbol's Value +Symbol's Name \+ Addend
|
||||
#...
|
||||
[0-9a-f ]+R_X86_64_GLOB_DAT +0+ abort.* \+ 0
|
||||
[0-9a-f ]+R_X86_64_GLOB_DAT +0+ (abort.*|puts.*|get_func|call_func).* \+ 0
|
||||
#...
|
||||
[0-9a-f ]+R_X86_64_GLOB_DAT +0+ puts.* \+ 0
|
||||
[0-9a-f ]+R_X86_64_GLOB_DAT +0+ (abort.*|puts.*|get_func|call_func).* \+ 0
|
||||
#...
|
||||
[0-9a-f ]+R_X86_64_GLOB_DAT +0+ get_func \+ 0
|
||||
[0-9a-f ]+R_X86_64_GLOB_DAT +0+ (abort.*|puts.*|get_func|call_func).* \+ 0
|
||||
#...
|
||||
[0-9a-f ]+R_X86_64_GLOB_DAT +0+ call_func \+ 0
|
||||
[0-9a-f ]+R_X86_64_GLOB_DAT +0+ (abort.*|puts.*|get_func|call_func).* \+ 0
|
||||
#pass
|
||||
|
@ -4,7 +4,7 @@
|
||||
Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains [0-9]+ entries:
|
||||
+Offset +Info +Type +Symbol's Value +Symbol's Name \+ Addend
|
||||
#...
|
||||
[0-9a-f ]+R_X86_64_GLOB_DAT +0+ abort.* \+ 0
|
||||
[0-9a-f ]+R_X86_64_GLOB_DAT +0+ (abort|puts).* \+ 0
|
||||
#...
|
||||
[0-9a-f ]+R_X86_64_GLOB_DAT +0+ puts.* \+ 0
|
||||
[0-9a-f ]+R_X86_64_GLOB_DAT +0+ (abort|puts).* \+ 0
|
||||
#pass
|
||||
|
@ -4,13 +4,13 @@
|
||||
Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains [0-9]+ entries:
|
||||
+Offset +Info +Type +Symbol's Value +Symbol's Name \+ Addend
|
||||
#...
|
||||
[0-9a-f ]+R_X86_64_GLOB_DAT +0+ abort.* \+ 0
|
||||
[0-9a-f ]+R_X86_64_GLOB_DAT +0+ (abort.*|puts.*|get_func|call_func|func) \+ 0
|
||||
#...
|
||||
[0-9a-f ]+R_X86_64_GLOB_DAT +0+ puts.* \+ 0
|
||||
[0-9a-f ]+R_X86_64_GLOB_DAT +0+ (abort.*|puts.*|get_func|call_func|func) \+ 0
|
||||
#...
|
||||
[0-9a-f ]+R_X86_64_GLOB_DAT +0+ get_func \+ 0
|
||||
[0-9a-f ]+R_X86_64_GLOB_DAT +0+ (abort.*|puts.*|get_func|call_func|func) \+ 0
|
||||
#...
|
||||
[0-9a-f ]+R_X86_64_GLOB_DAT +0+ call_func \+ 0
|
||||
[0-9a-f ]+R_X86_64_GLOB_DAT +0+ (abort.*|puts.*|get_func|call_func|func) \+ 0
|
||||
#...
|
||||
[0-9a-f ]+R_X86_64_GLOB_DAT +0+ func \+ 0
|
||||
[0-9a-f ]+R_X86_64_GLOB_DAT +0+ (abort.*|puts.*|get_func|call_func|func) \+ 0
|
||||
#pass
|
||||
|
@ -4,11 +4,11 @@
|
||||
Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains [0-9]+ entries:
|
||||
+Offset +Info +Type +Symbol's Value +Symbol's Name \+ Addend
|
||||
#...
|
||||
[0-9a-f ]+R_X86_64_GLOB_DAT +0+ abort.* \+ 0
|
||||
[0-9a-f ]+R_X86_64_GLOB_DAT +0+ (abort.*|puts.*|get_func|call_func).* \+ 0
|
||||
#...
|
||||
[0-9a-f ]+R_X86_64_GLOB_DAT +0+ puts.* \+ 0
|
||||
[0-9a-f ]+R_X86_64_GLOB_DAT +0+ (abort.*|puts.*|get_func|call_func).* \+ 0
|
||||
#...
|
||||
[0-9a-f ]+R_X86_64_GLOB_DAT +0+ get_func \+ 0
|
||||
[0-9a-f ]+R_X86_64_GLOB_DAT +0+ (abort.*|puts.*|get_func|call_func).* \+ 0
|
||||
#...
|
||||
[0-9a-f ]+R_X86_64_GLOB_DAT +0+ call_func \+ 0
|
||||
[0-9a-f ]+R_X86_64_GLOB_DAT +0+ (abort.*|puts.*|get_func|call_func).* \+ 0
|
||||
#pass
|
||||
|
@ -103,7 +103,7 @@ run_cc_link_tests [list \
|
||||
"" \
|
||||
{dummy.s} \
|
||||
{{readelf -Wr no-plt-1d.rd} {objdump -dwrj.text no-plt-1d.dd}} \
|
||||
"no-plt-1a" \
|
||||
"no-plt-1d" \
|
||||
] \
|
||||
[list \
|
||||
"No PLT (PIE 1e)" \
|
||||
|
Loading…
Reference in New Issue
Block a user