|
|
a8cd6b |
diff -rup binutils.orig/ld/testsuite/ld-plugin/plugin-10.d binutils-2.36.1/ld/testsuite/ld-plugin/plugin-10.d
|
|
|
a8cd6b |
--- binutils.orig/ld/testsuite/ld-plugin/plugin-10.d 2021-02-12 10:13:11.116049499 +0000
|
|
|
a8cd6b |
+++ binutils-2.36.1/ld/testsuite/ld-plugin/plugin-10.d 2021-02-12 10:23:44.298370984 +0000
|
|
|
a8cd6b |
@@ -32,7 +32,7 @@ hook called: claim_file tmpdir/func.o \[
|
|
|
a8cd6b |
hook called: claim_file tmpdir/libtext.a \[@.* not claimed
|
|
|
a8cd6b |
#...
|
|
|
a8cd6b |
hook called: all symbols read.
|
|
|
a8cd6b |
-Sym: '_?func' Resolution: LDPR_PREVAILING_DEF_IRONLY
|
|
|
a8cd6b |
+Sym: '_?func' Resolution: LDPR_PREVAILING_DE.*
|
|
|
a8cd6b |
Sym: '_?func2' Resolution: LDPR_PREVAILING_DEF_IRONLY
|
|
|
a8cd6b |
#...
|
|
|
a8cd6b |
hook called: cleanup.
|
|
|
a8cd6b |
diff -rup binutils.orig/ld/testsuite/ld-plugin/plugin-11.d binutils-2.36.1/ld/testsuite/ld-plugin/plugin-11.d
|
|
|
a8cd6b |
--- binutils.orig/ld/testsuite/ld-plugin/plugin-11.d 2021-02-12 10:13:11.119049477 +0000
|
|
|
a8cd6b |
+++ binutils-2.36.1/ld/testsuite/ld-plugin/plugin-11.d 2021-02-12 10:50:40.973828943 +0000
|
|
|
a8cd6b |
@@ -35,9 +35,9 @@ hook called: claim_file tmpdir/func.o \[
|
|
|
a8cd6b |
hook called: claim_file tmpdir/libtext.a \[@.* CLAIMED
|
|
|
a8cd6b |
#...
|
|
|
a8cd6b |
hook called: all symbols read.
|
|
|
a8cd6b |
-Sym: '_?func' Resolution: LDPR_PREVAILING_DEF_IRONLY
|
|
|
a8cd6b |
+Sym: '_?func' Resolution: LDPR_PREVAILING_DE.*
|
|
|
a8cd6b |
Sym: '_?func2' Resolution: LDPR_PREVAILING_DEF_IRONLY
|
|
|
a8cd6b |
-Sym: '_?text' Resolution: LDPR_PREVAILING_DEF_IRONLY
|
|
|
a8cd6b |
+Sym: '_?text' Resolution: LDPR_PREVAILING_DE.*
|
|
|
a8cd6b |
#...
|
|
|
a8cd6b |
hook called: cleanup.
|
|
|
a8cd6b |
#...
|
|
|
a8cd6b |
diff -rup binutils.orig/ld/testsuite/ld-plugin/plugin-16.d binutils-2.36.1/ld/testsuite/ld-plugin/plugin-16.d
|
|
|
a8cd6b |
--- binutils.orig/ld/testsuite/ld-plugin/plugin-16.d 2021-02-12 10:13:11.119049477 +0000
|
|
|
a8cd6b |
+++ binutils-2.36.1/ld/testsuite/ld-plugin/plugin-16.d 2021-02-12 10:29:31.510843797 +0000
|
|
|
a8cd6b |
@@ -30,7 +30,7 @@ hook called: claim_file .*/ld/testsuite/
|
|
|
a8cd6b |
hook called: claim_file tmpdir/text.o \[@0/.* not claimed
|
|
|
a8cd6b |
#...
|
|
|
a8cd6b |
hook called: all symbols read.
|
|
|
a8cd6b |
-Sym: '_?func' Resolution: LDPR_PREVAILING_DEF_IRONLY
|
|
|
a8cd6b |
+Sym: '_?func' Resolution: LDPR_PREVAILING_DE.*
|
|
|
a8cd6b |
Sym: '_?func2' Resolution: LDPR_PREVAILING_DEF_IRONLY
|
|
|
a8cd6b |
#...
|
|
|
a8cd6b |
hook called: cleanup.
|
|
|
a8cd6b |
diff -rup binutils.orig/ld/testsuite/ld-plugin/plugin-17.d binutils-2.36.1/ld/testsuite/ld-plugin/plugin-17.d
|
|
|
a8cd6b |
--- binutils.orig/ld/testsuite/ld-plugin/plugin-17.d 2021-02-12 10:13:11.116049499 +0000
|
|
|
a8cd6b |
+++ binutils-2.36.1/ld/testsuite/ld-plugin/plugin-17.d 2021-02-12 10:35:13.348404638 +0000
|
|
|
a8cd6b |
@@ -31,7 +31,7 @@ hook called: claim_file .*/ld/testsuite/
|
|
|
a8cd6b |
hook called: claim_file tmpdir/text.o \[@0/.* not claimed
|
|
|
a8cd6b |
#...
|
|
|
a8cd6b |
hook called: all symbols read.
|
|
|
a8cd6b |
-Sym: '_?func' Resolution: LDPR_PREVAILING_DEF_IRONLY
|
|
|
a8cd6b |
+Sym: '_?func' Resolution: LDPR_PREVAILING_DE.*
|
|
|
a8cd6b |
Sym: '_?func2' Resolution: LDPR_PREVAILING_DEF_IRONLY
|
|
|
a8cd6b |
#...
|
|
|
a8cd6b |
hook called: cleanup.
|
|
|
a8cd6b |
diff -rup binutils.orig/ld/testsuite/ld-plugin/plugin-18.d binutils-2.36.1/ld/testsuite/ld-plugin/plugin-18.d
|
|
|
a8cd6b |
--- binutils.orig/ld/testsuite/ld-plugin/plugin-18.d 2021-02-12 10:13:11.118049484 +0000
|
|
|
a8cd6b |
+++ binutils-2.36.1/ld/testsuite/ld-plugin/plugin-18.d 2021-02-12 10:29:47.974726314 +0000
|
|
|
a8cd6b |
@@ -32,7 +32,7 @@ hook called: claim_file .*/ld/testsuite/
|
|
|
a8cd6b |
hook called: claim_file tmpdir/libtext.a \[@.* not claimed
|
|
|
a8cd6b |
#...
|
|
|
a8cd6b |
hook called: all symbols read.
|
|
|
a8cd6b |
-Sym: '_?func' Resolution: LDPR_PREVAILING_DEF_IRONLY
|
|
|
a8cd6b |
+Sym: '_?func' Resolution: LDPR_PREVAILING_DE.*
|
|
|
a8cd6b |
Sym: '_?func2' Resolution: LDPR_PREVAILING_DEF_IRONLY
|
|
|
a8cd6b |
#...
|
|
|
a8cd6b |
hook called: cleanup.
|
|
|
a8cd6b |
diff -rup binutils.orig/ld/testsuite/ld-plugin/plugin-19.d binutils-2.36.1/ld/testsuite/ld-plugin/plugin-19.d
|
|
|
a8cd6b |
--- binutils.orig/ld/testsuite/ld-plugin/plugin-19.d 2021-02-12 10:13:11.116049499 +0000
|
|
|
a8cd6b |
+++ binutils-2.36.1/ld/testsuite/ld-plugin/plugin-19.d 2021-02-12 10:30:31.990412245 +0000
|
|
|
a8cd6b |
@@ -35,9 +35,9 @@ hook called: claim_file .*/ld/testsuite/
|
|
|
a8cd6b |
hook called: claim_file tmpdir/libtext.a \[@.* CLAIMED
|
|
|
a8cd6b |
#...
|
|
|
a8cd6b |
hook called: all symbols read.
|
|
|
a8cd6b |
-Sym: '_?func' Resolution: LDPR_PREVAILING_DEF_IRONLY
|
|
|
a8cd6b |
+Sym: '_?func' Resolution: LDPR_PREVAILING_DE.*
|
|
|
a8cd6b |
Sym: '_?func2' Resolution: LDPR_PREVAILING_DEF_IRONLY
|
|
|
a8cd6b |
-Sym: '_?text' Resolution: LDPR_PREVAILING_DEF_IRONLY
|
|
|
a8cd6b |
+Sym: '_?text' Resolution: LDPR_PREVAILING_DE.*
|
|
|
a8cd6b |
#...
|
|
|
a8cd6b |
hook called: cleanup.
|
|
|
a8cd6b |
#...
|
|
|
a8cd6b |
diff -rup binutils.orig/ld/testsuite/ld-plugin/plugin-8.d binutils-2.36.1/ld/testsuite/ld-plugin/plugin-8.d
|
|
|
a8cd6b |
--- binutils.orig/ld/testsuite/ld-plugin/plugin-8.d 2021-02-12 10:13:11.118049484 +0000
|
|
|
a8cd6b |
+++ binutils-2.36.1/ld/testsuite/ld-plugin/plugin-8.d 2021-02-12 10:23:18.489561148 +0000
|
|
|
a8cd6b |
@@ -30,7 +30,7 @@ hook called: claim_file tmpdir/func.o \[
|
|
|
a8cd6b |
hook called: claim_file tmpdir/text.o \[@0/.* not claimed
|
|
|
a8cd6b |
#...
|
|
|
a8cd6b |
hook called: all symbols read.
|
|
|
a8cd6b |
-Sym: '_?func' Resolution: LDPR_PREVAILING_DEF_IRONLY
|
|
|
a8cd6b |
+Sym: '_?func' Resolution: LDPR_PREVAILING_DE.*
|
|
|
a8cd6b |
Sym: '_?func2' Resolution: LDPR_PREVAILING_DEF_IRONLY
|
|
|
a8cd6b |
#...
|
|
|
a8cd6b |
hook called: cleanup.
|
|
|
a8cd6b |
diff -rup binutils.orig/ld/testsuite/ld-plugin/plugin-9.d binutils-2.36.1/ld/testsuite/ld-plugin/plugin-9.d
|
|
|
a8cd6b |
--- binutils.orig/ld/testsuite/ld-plugin/plugin-9.d 2021-02-12 10:13:11.119049477 +0000
|
|
|
a8cd6b |
+++ binutils-2.36.1/ld/testsuite/ld-plugin/plugin-9.d 2021-02-12 10:23:34.417443785 +0000
|
|
|
a8cd6b |
@@ -31,7 +31,7 @@ hook called: claim_file tmpdir/func.o \[
|
|
|
a8cd6b |
hook called: claim_file tmpdir/text.o \[@0/.* not claimed
|
|
|
a8cd6b |
#...
|
|
|
a8cd6b |
hook called: all symbols read.
|
|
|
a8cd6b |
-Sym: '_?func' Resolution: LDPR_PREVAILING_DEF_IRONLY
|
|
|
a8cd6b |
+Sym: '_?func' Resolution: LDPR_PREVAILING_DE.*
|
|
|
a8cd6b |
Sym: '_?func2' Resolution: LDPR_PREVAILING_DEF_IRONLY
|
|
|
a8cd6b |
#...
|
|
|
a8cd6b |
hook called: cleanup.
|
|
|
a8cd6b |
diff -rup binutils.orig/ld/testsuite/ld-x86-64/x86-64.exp binutils-2.36.1/ld/testsuite/ld-x86-64/x86-64.exp
|
|
|
a8cd6b |
--- binutils.orig/ld/testsuite/ld-x86-64/x86-64.exp 2021-02-12 11:44:39.121364751 +0000
|
|
|
a8cd6b |
+++ binutils-2.36.1/ld/testsuite/ld-x86-64/x86-64.exp 2021-02-12 11:46:27.505597689 +0000
|
|
|
a8cd6b |
@@ -1878,24 +1878,6 @@ if { [isnative] && [check_compiler_avail
|
|
|
a8cd6b |
"plt-main.out" \
|
|
|
a8cd6b |
"-fPIC" \
|
|
|
a8cd6b |
] \
|
|
|
a8cd6b |
- [list \
|
|
|
a8cd6b |
- "Run plt-main with libibtplt-lib.so -z ibtplt" \
|
|
|
a8cd6b |
- "-Wl,--no-as-needed,-z,ibtplt tmpdir/libibtplt-lib.so \
|
|
|
a8cd6b |
- tmpdir/libplt-lib.so" \
|
|
|
a8cd6b |
- "-Wa,-mx86-used-note=yes" \
|
|
|
a8cd6b |
- { plt-main5.c } \
|
|
|
a8cd6b |
- "plt-main-ibt-lib" \
|
|
|
a8cd6b |
- "plt-main.out" \
|
|
|
a8cd6b |
- ] \
|
|
|
a8cd6b |
- [list \
|
|
|
a8cd6b |
- "Run plt-main with libibtplt-lib.so -z ibtplt -z now" \
|
|
|
a8cd6b |
- "-Wl,--no-as-needed,-z,ibtplt,-z,now \
|
|
|
a8cd6b |
- tmpdir/libibtplt-now-lib.so tmpdir/libplt-lib.so" \
|
|
|
a8cd6b |
- "-Wa,-mx86-used-note=yes" \
|
|
|
a8cd6b |
- { plt-main5.c } \
|
|
|
a8cd6b |
- "plt-main-ibt-now-lib" \
|
|
|
a8cd6b |
- "plt-main.out" \
|
|
|
a8cd6b |
- ] \
|
|
|
a8cd6b |
]
|
|
|
a8cd6b |
|
|
|
a8cd6b |
if { [check_ifunc_attribute_available] } {
|
|
|
a8cd6b |
@@ -1922,7 +1904,6 @@ if { [isnative] && [check_compiler_avail
|
|
|
a8cd6b |
}
|
|
|
a8cd6b |
}
|
|
|
a8cd6b |
|
|
|
a8cd6b |
- undefined_weak "$NOPIE_CFLAGS" "$NOPIE_LDFLAGS"
|
|
|
a8cd6b |
undefined_weak "-fPIE" ""
|
|
|
a8cd6b |
undefined_weak "-fPIE" "-pie"
|
|
|
a8cd6b |
undefined_weak "-fPIE" "-Wl,-z,nodynamic-undefined-weak"
|
|
|
a8cd6b |
--- binutils.orig/ld/testsuite/ld-plugin/plugin-12.d 2021-02-12 11:44:39.076365068 +0000
|
|
|
a8cd6b |
+++ binutils-2.36.1/ld/testsuite/ld-plugin/plugin-12.d 2021-02-12 12:01:48.091931654 +0000
|
|
|
a8cd6b |
@@ -1,5 +1,5 @@
|
|
|
a8cd6b |
#...
|
|
|
a8cd6b |
-.*: symbol `func' definition: DEF, visibility: DEFAULT, resolution: PREVAILING_DEF
|
|
|
a8cd6b |
+.*: symbol `func' definition: DEF, visibility: DEFAULT, resolution: PREVAILING_DE.*
|
|
|
a8cd6b |
.*: symbol `func1' definition: DEF, visibility: PROTECTED, resolution: PREVAILING_DEF_IRONLY
|
|
|
a8cd6b |
.*: symbol `func2' definition: DEF, visibility: INTERNAL, resolution: PREVAILING_DEF_IRONLY
|
|
|
a8cd6b |
.*: symbol `func3' definition: DEF, visibility: HIDDEN, resolution: PREVAILING_DEF_IRONLY
|
|
|
a8cd6b |
--- binutils.orig/ld/testsuite/ld-plugin/plugin-12.d 2021-02-12 14:14:25.023160021 +0000
|
|
|
a8cd6b |
+++ binutils-2.36.1/ld/testsuite/ld-plugin/plugin-12.d 2021-02-12 14:19:29.106923745 +0000
|
|
|
a8cd6b |
@@ -1,6 +1,6 @@
|
|
|
a8cd6b |
#...
|
|
|
a8cd6b |
-.*: symbol `func' definition: DEF, visibility: DEFAULT, resolution: PREVAILING_DE.*
|
|
|
a8cd6b |
-.*: symbol `func1' definition: DEF, visibility: PROTECTED, resolution: PREVAILING_DEF_IRONLY
|
|
|
a8cd6b |
-.*: symbol `func2' definition: DEF, visibility: INTERNAL, resolution: PREVAILING_DEF_IRONLY
|
|
|
a8cd6b |
-.*: symbol `func3' definition: DEF, visibility: HIDDEN, resolution: PREVAILING_DEF_IRONLY
|
|
|
a8cd6b |
+.*: symbol `.*unc' definition: DEF, visibility: DEFAULT, resolution: PREVAILING_DE.*
|
|
|
a8cd6b |
+.*: symbol `.*unc1' definition: DEF, visibility: PROTECTED, resolution: PREVAILING_DEF_IRONLY
|
|
|
a8cd6b |
+.*: symbol `.*unc2' definition: DEF, visibility: INTERNAL, resolution: PREVAILING_DEF_IRONLY
|
|
|
a8cd6b |
+.*: symbol `.*unc3' definition: DEF, visibility: HIDDEN, resolution: PREVAILING_DEF_IRONLY
|
|
|
a8cd6b |
#pass
|
|
|
a8cd6b |
--- binutils.orig/ld/testsuite/ld-aarch64/variant_pcs-now.d 2021-07-19 12:39:14.240555833 +0100
|
|
|
a8cd6b |
+++ binutils-2.37/ld/testsuite/ld-aarch64/variant_pcs-now.d 2021-07-19 12:50:27.753751551 +0100
|
|
|
a8cd6b |
@@ -23,10 +23,10 @@ Symbol table '\.dynsym' contains 7 entri
|
|
|
a8cd6b |
Num: Value Size Type Bind Vis Ndx Name
|
|
|
a8cd6b |
0: 0000000000000000 0 NOTYPE LOCAL DEFAULT UND
|
|
|
a8cd6b |
1: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND f_base_global_default_undef
|
|
|
a8cd6b |
- 2: 0000000000000000 0 NOTYPE GLOBAL DEFAULT \[VARIANT_PCS\] UND f_spec_global_default_undef
|
|
|
a8cd6b |
- 3: 0000000000008000 0 IFUNC GLOBAL DEFAULT \[VARIANT_PCS\] 1 f_spec_global_default_ifunc
|
|
|
a8cd6b |
+ 2: 0000000000000000 0 NOTYPE GLOBAL DEFAULT[ ]+UND f_spec_global_default_undef[ ]+\[VARIANT_PCS\]
|
|
|
a8cd6b |
+ 3: 0000000000008000 0 IFUNC GLOBAL DEFAULT[ ]+1 f_spec_global_default_ifunc[ ]+\[VARIANT_PCS\]
|
|
|
a8cd6b |
4: 0000000000008000 0 NOTYPE GLOBAL DEFAULT 1 f_base_global_default_def
|
|
|
a8cd6b |
- 5: 0000000000008000 0 NOTYPE GLOBAL DEFAULT \[VARIANT_PCS\] 1 f_spec_global_default_def
|
|
|
a8cd6b |
+ 5: 0000000000008000 0 NOTYPE GLOBAL DEFAULT[ ]+1 f_spec_global_default_def[ ]+\[VARIANT_PCS\]
|
|
|
a8cd6b |
6: 0000000000008000 0 IFUNC GLOBAL DEFAULT 1 f_base_global_default_ifunc
|
|
|
a8cd6b |
|
|
|
a8cd6b |
Symbol table '\.symtab' contains 35 entries:
|
|
|
a8cd6b |
@@ -41,28 +41,28 @@ Symbol table '\.symtab' contains 35 entr
|
|
|
a8cd6b |
7: 00000000000111c8 0 SECTION LOCAL DEFAULT 7.*
|
|
|
a8cd6b |
8: 0000000000011270 0 SECTION LOCAL DEFAULT 8.*
|
|
|
a8cd6b |
9: 0000000000000000 0 FILE LOCAL DEFAULT ABS .*variant_pcs-1\.o
|
|
|
a8cd6b |
- 10: 0000000000008000 0 NOTYPE LOCAL DEFAULT \[VARIANT_PCS\] 1 f_spec_local
|
|
|
a8cd6b |
- 11: 0000000000008000 0 IFUNC LOCAL DEFAULT \[VARIANT_PCS\] 1 f_spec_local_ifunc
|
|
|
a8cd6b |
+ 10: 0000000000008000 0 NOTYPE LOCAL DEFAULT .*
|
|
|
a8cd6b |
+ 11: 0000000000008000 0 IFUNC LOCAL DEFAULT .*
|
|
|
a8cd6b |
12: 0000000000008000 0 IFUNC LOCAL DEFAULT 1 f_base_local_ifunc
|
|
|
a8cd6b |
13: 0000000000008000 0 NOTYPE LOCAL DEFAULT 1 f_base_local
|
|
|
a8cd6b |
14: 0000000000008000 0 NOTYPE LOCAL DEFAULT 1 \$x
|
|
|
a8cd6b |
15: 0000000000000000 0 FILE LOCAL DEFAULT ABS .*variant_pcs-2\.o
|
|
|
a8cd6b |
- 16: 0000000000008038 0 NOTYPE LOCAL DEFAULT \[VARIANT_PCS\] 1 f_spec_local2
|
|
|
a8cd6b |
- 17: 0000000000008038 0 IFUNC LOCAL DEFAULT \[VARIANT_PCS\] 1 f_spec_local2_ifunc
|
|
|
a8cd6b |
+ 16: 0000000000008038 0 NOTYPE LOCAL DEFAULT .*
|
|
|
a8cd6b |
+ 17: 0000000000008038 0 IFUNC LOCAL DEFAULT .*
|
|
|
a8cd6b |
18: 0000000000008038 0 IFUNC LOCAL DEFAULT 1 f_base_local2_ifunc
|
|
|
a8cd6b |
19: 0000000000008038 0 NOTYPE LOCAL DEFAULT 1 f_base_local2
|
|
|
a8cd6b |
20: 0000000000008038 0 NOTYPE LOCAL DEFAULT 1 \$x
|
|
|
a8cd6b |
21: 0000000000000000 0 FILE LOCAL DEFAULT ABS
|
|
|
a8cd6b |
22: 0000000000009080 0 OBJECT LOCAL DEFAULT ABS _DYNAMIC
|
|
|
a8cd6b |
- 23: 0000000000008000 0 NOTYPE LOCAL DEFAULT \[VARIANT_PCS\] 1 f_spec_global_hidden_def
|
|
|
a8cd6b |
+ 23: 0000000000008000 0 NOTYPE LOCAL DEFAULT .*
|
|
|
a8cd6b |
24: 0000000000008000 0 IFUNC LOCAL DEFAULT 1 f_base_global_hidden_ifunc
|
|
|
a8cd6b |
25: 0000000000008000 0 NOTYPE LOCAL DEFAULT 1 f_base_global_hidden_def
|
|
|
a8cd6b |
26: 0000000000009000 0 OBJECT LOCAL DEFAULT ABS _GLOBAL_OFFSET_TABLE_
|
|
|
a8cd6b |
- 27: 0000000000008000 0 IFUNC LOCAL DEFAULT \[VARIANT_PCS\] 1 f_spec_global_hidden_ifunc
|
|
|
a8cd6b |
+ 27: 0000000000008000 0 IFUNC LOCAL DEFAULT .*
|
|
|
a8cd6b |
28: 0000000000008070 0 NOTYPE LOCAL DEFAULT 2 \$x
|
|
|
a8cd6b |
29: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND f_base_global_default_undef
|
|
|
a8cd6b |
- 30: 0000000000000000 0 NOTYPE GLOBAL DEFAULT \[VARIANT_PCS\] UND f_spec_global_default_undef
|
|
|
a8cd6b |
- 31: 0000000000008000 0 IFUNC GLOBAL DEFAULT \[VARIANT_PCS\] 1 f_spec_global_default_ifunc
|
|
|
a8cd6b |
+ 30: 0000000000000000 0 NOTYPE GLOBAL DEFAULT .*
|
|
|
a8cd6b |
+ 31: 0000000000008000 0 IFUNC GLOBAL DEFAULT .*
|
|
|
a8cd6b |
32: 0000000000008000 0 NOTYPE GLOBAL DEFAULT 1 f_base_global_default_def
|
|
|
a8cd6b |
- 33: 0000000000008000 0 NOTYPE GLOBAL DEFAULT \[VARIANT_PCS\] 1 f_spec_global_default_def
|
|
|
a8cd6b |
+ 33: 0000000000008000 0 NOTYPE GLOBAL DEFAULT .*
|
|
|
a8cd6b |
34: 0000000000008000 0 IFUNC GLOBAL DEFAULT 1 f_base_global_default_ifunc
|
|
|
a8cd6b |
--- binutils.orig/ld/testsuite/ld-aarch64/variant_pcs-r.d 2021-07-19 12:39:14.235555861 +0100
|
|
|
a8cd6b |
+++ binutils-2.37/ld/testsuite/ld-aarch64/variant_pcs-r.d 2021-07-19 12:51:04.981541273 +0100
|
|
|
a8cd6b |
@@ -37,24 +37,24 @@ Symbol table '\.symtab' contains 26 entr
|
|
|
a8cd6b |
2: 0000000000000000 0 SECTION LOCAL DEFAULT 3.*
|
|
|
a8cd6b |
3: 0000000000000000 0 SECTION LOCAL DEFAULT 4.*
|
|
|
a8cd6b |
4: 0000000000000000 0 FILE LOCAL DEFAULT ABS .*variant_pcs-1\.o
|
|
|
a8cd6b |
- 5: 0000000000000000 0 NOTYPE LOCAL DEFAULT \[VARIANT_PCS\] 1 f_spec_local
|
|
|
a8cd6b |
- 6: 0000000000000000 0 IFUNC LOCAL DEFAULT \[VARIANT_PCS\] 1 f_spec_local_ifunc
|
|
|
a8cd6b |
+ 5: 0000000000000000 0 NOTYPE LOCAL DEFAULT .*
|
|
|
a8cd6b |
+ 6: 0000000000000000 0 IFUNC LOCAL DEFAULT .*
|
|
|
a8cd6b |
7: 0000000000000000 0 IFUNC LOCAL DEFAULT 1 f_base_local_ifunc
|
|
|
a8cd6b |
8: 0000000000000000 0 NOTYPE LOCAL DEFAULT 1 f_base_local
|
|
|
a8cd6b |
9: 0000000000000000 0 NOTYPE LOCAL DEFAULT 1 \$x
|
|
|
a8cd6b |
10: 0000000000000000 0 FILE LOCAL DEFAULT ABS .*variant_pcs-2\.o
|
|
|
a8cd6b |
- 11: 0000000000000038 0 NOTYPE LOCAL DEFAULT \[VARIANT_PCS\] 1 f_spec_local2
|
|
|
a8cd6b |
- 12: 0000000000000038 0 IFUNC LOCAL DEFAULT \[VARIANT_PCS\] 1 f_spec_local2_ifunc
|
|
|
a8cd6b |
+ 11: 0000000000000038 0 NOTYPE LOCAL DEFAULT .*
|
|
|
a8cd6b |
+ 12: 0000000000000038 0 IFUNC LOCAL DEFAULT .*
|
|
|
a8cd6b |
13: 0000000000000038 0 IFUNC LOCAL DEFAULT 1 f_base_local2_ifunc
|
|
|
a8cd6b |
14: 0000000000000038 0 NOTYPE LOCAL DEFAULT 1 f_base_local2
|
|
|
a8cd6b |
15: 0000000000000038 0 NOTYPE LOCAL DEFAULT 1 \$x
|
|
|
a8cd6b |
16: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND f_base_global_default_undef
|
|
|
a8cd6b |
- 17: 0000000000000000 0 NOTYPE GLOBAL DEFAULT \[VARIANT_PCS\] UND f_spec_global_default_undef
|
|
|
a8cd6b |
- 18: 0000000000000000 0 NOTYPE GLOBAL HIDDEN \[VARIANT_PCS\] 1 f_spec_global_hidden_def
|
|
|
a8cd6b |
+ 17: 0000000000000000 0 NOTYPE GLOBAL DEFAULT .*
|
|
|
a8cd6b |
+ 18: 0000000000000000 0 NOTYPE GLOBAL HIDDEN .*
|
|
|
a8cd6b |
19: 0000000000000000 0 IFUNC GLOBAL HIDDEN 1 f_base_global_hidden_ifunc
|
|
|
a8cd6b |
- 20: 0000000000000000 0 IFUNC GLOBAL DEFAULT \[VARIANT_PCS\] 1 f_spec_global_default_ifunc
|
|
|
a8cd6b |
+ 20: 0000000000000000 0 IFUNC GLOBAL DEFAULT .*
|
|
|
a8cd6b |
21: 0000000000000000 0 NOTYPE GLOBAL HIDDEN 1 f_base_global_hidden_def
|
|
|
a8cd6b |
- 22: 0000000000000000 0 IFUNC GLOBAL HIDDEN \[VARIANT_PCS\] 1 f_spec_global_hidden_ifunc
|
|
|
a8cd6b |
+ 22: 0000000000000000 0 IFUNC GLOBAL HIDDEN .*
|
|
|
a8cd6b |
23: 0000000000000000 0 NOTYPE GLOBAL DEFAULT 1 f_base_global_default_def
|
|
|
a8cd6b |
- 24: 0000000000000000 0 NOTYPE GLOBAL DEFAULT \[VARIANT_PCS\] 1 f_spec_global_default_def
|
|
|
a8cd6b |
+ 24: 0000000000000000 0 NOTYPE GLOBAL DEFAULT .*
|
|
|
a8cd6b |
25: 0000000000000000 0 IFUNC GLOBAL DEFAULT 1 f_base_global_default_ifunc
|
|
|
a8cd6b |
--- binutils.orig/ld/testsuite/ld-aarch64/variant_pcs-shared.d 2021-07-19 12:39:14.235555861 +0100
|
|
|
a8cd6b |
+++ binutils-2.37/ld/testsuite/ld-aarch64/variant_pcs-shared.d 2021-07-19 12:51:38.076354339 +0100
|
|
|
a8cd6b |
@@ -23,10 +23,10 @@ Symbol table '\.dynsym' contains 7 entri
|
|
|
a8cd6b |
Num: Value Size Type Bind Vis Ndx Name
|
|
|
a8cd6b |
0: 0000000000000000 0 NOTYPE LOCAL DEFAULT UND
|
|
|
a8cd6b |
1: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND f_base_global_default_undef
|
|
|
a8cd6b |
- 2: 0000000000000000 0 NOTYPE GLOBAL DEFAULT \[VARIANT_PCS\] UND f_spec_global_default_undef
|
|
|
a8cd6b |
- 3: 0000000000008000 0 IFUNC GLOBAL DEFAULT \[VARIANT_PCS\] 1 f_spec_global_default_ifunc
|
|
|
a8cd6b |
+ 2: 0000000000000000 0 NOTYPE GLOBAL DEFAULT[ ]+UND f_spec_global_default_undef[ ]+\[VARIANT_PCS\]
|
|
|
a8cd6b |
+ 3: 0000000000008000 0 IFUNC GLOBAL DEFAULT[ ]+1 f_spec_global_default_ifunc[ ]+\[VARIANT_PCS\]
|
|
|
a8cd6b |
4: 0000000000008000 0 NOTYPE GLOBAL DEFAULT 1 f_base_global_default_def
|
|
|
a8cd6b |
- 5: 0000000000008000 0 NOTYPE GLOBAL DEFAULT \[VARIANT_PCS\] 1 f_spec_global_default_def
|
|
|
a8cd6b |
+ 5: 0000000000008000 0 NOTYPE GLOBAL DEFAULT[ ]+1 f_spec_global_default_def[ ]+\[VARIANT_PCS\]
|
|
|
a8cd6b |
6: 0000000000008000 0 IFUNC GLOBAL DEFAULT 1 f_base_global_default_ifunc
|
|
|
a8cd6b |
|
|
|
a8cd6b |
Symbol table '\.symtab' contains 35 entries:
|
|
|
a8cd6b |
@@ -41,28 +41,28 @@ Symbol table '\.symtab' contains 35 entr
|
|
|
a8cd6b |
7: 00000000000111c8 0 SECTION LOCAL DEFAULT 7.*
|
|
|
a8cd6b |
8: 0000000000011270 0 SECTION LOCAL DEFAULT 8.*
|
|
|
a8cd6b |
9: 0000000000000000 0 FILE LOCAL DEFAULT ABS .*variant_pcs-1\.o
|
|
|
a8cd6b |
- 10: 0000000000008000 0 NOTYPE LOCAL DEFAULT \[VARIANT_PCS\] 1 f_spec_local
|
|
|
a8cd6b |
- 11: 0000000000008000 0 IFUNC LOCAL DEFAULT \[VARIANT_PCS\] 1 f_spec_local_ifunc
|
|
|
a8cd6b |
+ 10: 0000000000008000 0 NOTYPE LOCAL DEFAULT .*
|
|
|
a8cd6b |
+ 11: 0000000000008000 0 IFUNC LOCAL DEFAULT .*
|
|
|
a8cd6b |
12: 0000000000008000 0 IFUNC LOCAL DEFAULT 1 f_base_local_ifunc
|
|
|
a8cd6b |
13: 0000000000008000 0 NOTYPE LOCAL DEFAULT 1 f_base_local
|
|
|
a8cd6b |
14: 0000000000008000 0 NOTYPE LOCAL DEFAULT 1 \$x
|
|
|
a8cd6b |
15: 0000000000000000 0 FILE LOCAL DEFAULT ABS .*variant_pcs-2\.o
|
|
|
a8cd6b |
- 16: 0000000000008038 0 NOTYPE LOCAL DEFAULT \[VARIANT_PCS\] 1 f_spec_local2
|
|
|
a8cd6b |
- 17: 0000000000008038 0 IFUNC LOCAL DEFAULT \[VARIANT_PCS\] 1 f_spec_local2_ifunc
|
|
|
a8cd6b |
+ 16: 0000000000008038 0 NOTYPE LOCAL DEFAULT .*
|
|
|
a8cd6b |
+ 17: 0000000000008038 0 IFUNC LOCAL DEFAULT .*
|
|
|
a8cd6b |
18: 0000000000008038 0 IFUNC LOCAL DEFAULT 1 f_base_local2_ifunc
|
|
|
a8cd6b |
19: 0000000000008038 0 NOTYPE LOCAL DEFAULT 1 f_base_local2
|
|
|
a8cd6b |
20: 0000000000008038 0 NOTYPE LOCAL DEFAULT 1 \$x
|
|
|
a8cd6b |
21: 0000000000000000 0 FILE LOCAL DEFAULT ABS
|
|
|
a8cd6b |
22: 0000000000009080 0 OBJECT LOCAL DEFAULT ABS _DYNAMIC
|
|
|
a8cd6b |
- 23: 0000000000008000 0 NOTYPE LOCAL DEFAULT \[VARIANT_PCS\] 1 f_spec_global_hidden_def
|
|
|
a8cd6b |
+ 23: 0000000000008000 0 NOTYPE LOCAL DEFAULT .*
|
|
|
a8cd6b |
24: 0000000000008000 0 IFUNC LOCAL DEFAULT 1 f_base_global_hidden_ifunc
|
|
|
a8cd6b |
25: 0000000000008000 0 NOTYPE LOCAL DEFAULT 1 f_base_global_hidden_def
|
|
|
a8cd6b |
26: 0000000000009000 0 OBJECT LOCAL DEFAULT ABS _GLOBAL_OFFSET_TABLE_
|
|
|
a8cd6b |
- 27: 0000000000008000 0 IFUNC LOCAL DEFAULT \[VARIANT_PCS\] 1 f_spec_global_hidden_ifunc
|
|
|
a8cd6b |
+ 27: 0000000000008000 0 IFUNC LOCAL DEFAULT .*
|
|
|
a8cd6b |
28: 0000000000008070 0 NOTYPE LOCAL DEFAULT 2 \$x
|
|
|
a8cd6b |
29: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND f_base_global_default_undef
|
|
|
a8cd6b |
- 30: 0000000000000000 0 NOTYPE GLOBAL DEFAULT \[VARIANT_PCS\] UND f_spec_global_default_undef
|
|
|
a8cd6b |
- 31: 0000000000008000 0 IFUNC GLOBAL DEFAULT \[VARIANT_PCS\] 1 f_spec_global_default_ifunc
|
|
|
a8cd6b |
+ 30: 0000000000000000 0 NOTYPE GLOBAL DEFAULT .*
|
|
|
a8cd6b |
+ 31: 0000000000008000 0 IFUNC GLOBAL DEFAULT .*
|
|
|
a8cd6b |
32: 0000000000008000 0 NOTYPE GLOBAL DEFAULT 1 f_base_global_default_def
|
|
|
a8cd6b |
- 33: 0000000000008000 0 NOTYPE GLOBAL DEFAULT \[VARIANT_PCS\] 1 f_spec_global_default_def
|
|
|
a8cd6b |
+ 33: 0000000000008000 0 NOTYPE GLOBAL DEFAULT .*
|
|
|
a8cd6b |
34: 0000000000008000 0 IFUNC GLOBAL DEFAULT 1 f_base_global_default_ifunc
|
|
|
a8cd6b |
--- binutils.orig/gold/main.cc 2021-07-19 12:39:14.643553557 +0100
|
|
|
a8cd6b |
+++ binutils-2.37/gold/main.cc 2021-07-19 12:53:40.043665415 +0100
|
|
|
a8cd6b |
@@ -290,16 +290,6 @@ main(int argc, char** argv)
|
|
|
a8cd6b |
elapsed.sys / 1000, (elapsed.sys % 1000) * 1000,
|
|
|
a8cd6b |
elapsed.wall / 1000, (elapsed.wall % 1000) * 1000);
|
|
|
a8cd6b |
|
|
|
a8cd6b |
-#if defined(HAVE_MALLINFO2)
|
|
|
a8cd6b |
- struct mallinfo2 m = mallinfo2();
|
|
|
a8cd6b |
- fprintf(stderr, _("%s: total space allocated by malloc: %lld bytes\n"),
|
|
|
a8cd6b |
- program_name, static_cast<long long>(m.arena));
|
|
|
a8cd6b |
-#elif defined(HAVE_MALLINFO)
|
|
|
a8cd6b |
- struct mallinfo m = mallinfo();
|
|
|
a8cd6b |
- fprintf(stderr, _("%s: total space allocated by malloc: %lld bytes\n"),
|
|
|
a8cd6b |
- program_name, static_cast<long long>(m.arena));
|
|
|
a8cd6b |
-#endif
|
|
|
a8cd6b |
-
|
|
|
a8cd6b |
File_read::print_stats();
|
|
|
a8cd6b |
Archive::print_stats();
|
|
|
a8cd6b |
Lib_group::print_stats();
|
|
|
a8cd6b |
--- binutils.orig/ld/testsuite/ld-aarch64/tls-relax-gdesc-le-now.d 2021-07-19 14:51:48.859666911 +0100
|
|
|
a8cd6b |
+++ binutils-2.37/ld/testsuite/ld-aarch64/tls-relax-gdesc-le-now.d 2021-07-19 14:59:56.130065901 +0100
|
|
|
a8cd6b |
@@ -11,7 +11,7 @@
|
|
|
a8cd6b |
0x.+ \(PLTRELSZ\) \s+.+ \(bytes\)
|
|
|
a8cd6b |
0x.+ \(PLTREL\) \s+RELA
|
|
|
a8cd6b |
0x.+ \(JMPREL\) \s+0x.+
|
|
|
a8cd6b |
- 0x.+ \(BIND_NOW\) \s+
|
|
|
a8cd6b |
+ 0x.+ \(FLAGS\) \s+BIND_NOW
|
|
|
a8cd6b |
0x.+ \(FLAGS_1\) \s+ Flags: NOW
|
|
|
a8cd6b |
0x.+ \(NULL\) \s+ 0x0
|
|
|
a8cd6b |
|
|
|
a8cd6b |
--- binutils.orig/ld/testsuite/ld-plugin/plugin.exp 2021-07-19 14:51:48.905666659 +0100
|
|
|
a8cd6b |
+++ binutils-2.37/ld/testsuite/ld-plugin/plugin.exp 2021-07-19 15:06:56.159875135 +0100
|
|
|
a8cd6b |
@@ -119,7 +119,7 @@ if { $can_compile && !$failed_compile }
|
|
|
a8cd6b |
|
|
|
a8cd6b |
# I do not know why, but the underscore prefix test is going
|
|
|
a8cd6b |
# wrong on ppc64le targets. So override it here.
|
|
|
a8cd6b |
-if { [istarget powerpc*-*-linux*] || [istarget x86_64*-*-linux*] } {
|
|
|
a8cd6b |
+if { [istarget powerpc*-*-linux*] || [istarget x86_64*-*-linux*] || [istarget *-*-*] } {
|
|
|
a8cd6b |
set _ ""
|
|
|
a8cd6b |
}
|
|
|
a8cd6b |
|
|
|
a8cd6b |
--- binutils.orig/ld/testsuite/ld-elf/compress.exp 2021-07-19 14:51:48.982666235 +0100
|
|
|
a8cd6b |
+++ binutils-2.37/ld/testsuite/ld-elf/compress.exp 2021-07-19 15:16:14.268931663 +0100
|
|
|
a8cd6b |
@@ -168,7 +168,7 @@ if { [regexp_diff tmpdir/$test.out $srcd
|
|
|
a8cd6b |
set test_name "Link with zlib compressed debug output 1"
|
|
|
a8cd6b |
set test normal
|
|
|
a8cd6b |
send_log "$READELF -w tmpdir/$test > tmpdir/$test.out\n"
|
|
|
a8cd6b |
-set got [remote_exec host [concat sh -c [list "$READELF -w tmpdir/$test > tmpdir/$test.out"]] "" "/dev/null"]
|
|
|
a8cd6b |
+set got [remote_exec host [concat sh -c [list "$READELF -wi tmpdir/$test > tmpdir/$test.out"]] "" "/dev/null"]
|
|
|
a8cd6b |
if { [lindex $got 0] != 0 || ![string match "" [lindex $got 1]] } then {
|
|
|
a8cd6b |
send_log "$got\n"
|
|
|
a8cd6b |
fail "$test_name"
|
|
|
a8cd6b |
--- binutils.orig/ld/testsuite/ld-elf/compress.exp 2021-07-20 09:55:20.387674258 +0100
|
|
|
a8cd6b |
+++ binutils-2.37/ld/testsuite/ld-elf/compress.exp 2021-07-20 09:59:51.118189655 +0100
|
|
|
a8cd6b |
@@ -167,7 +167,7 @@ if { [regexp_diff tmpdir/$test.out $srcd
|
|
|
a8cd6b |
|
|
|
a8cd6b |
set test_name "Link with zlib compressed debug output 1"
|
|
|
a8cd6b |
set test normal
|
|
|
a8cd6b |
-send_log "$READELF -w tmpdir/$test > tmpdir/$test.out\n"
|
|
|
a8cd6b |
+send_log "$READELF -wi tmpdir/$test > tmpdir/$test.out\n"
|
|
|
a8cd6b |
set got [remote_exec host [concat sh -c [list "$READELF -wi tmpdir/$test > tmpdir/$test.out"]] "" "/dev/null"]
|
|
|
a8cd6b |
if { [lindex $got 0] != 0 || ![string match "" [lindex $got 1]] } then {
|
|
|
a8cd6b |
send_log "$got\n"
|
|
|
a8cd6b |
@@ -176,8 +176,8 @@ if { [lindex $got 0] != 0 || ![string ma
|
|
|
a8cd6b |
|
|
|
a8cd6b |
set test_name "Link with zlib compressed debug output 2"
|
|
|
a8cd6b |
set test zlibnormal
|
|
|
a8cd6b |
-send_log "$READELF -w tmpdir/$test | sed -e \"s/.zdebug_/.debug_/\" > tmpdir/$test.out\n"
|
|
|
a8cd6b |
-set got [remote_exec host [concat sh -c [list "$READELF -w tmpdir/$test | sed -e \"s/.zdebug_/.debug_/\" > tmpdir/$test.out"]] "" "/dev/null"]
|
|
|
a8cd6b |
+send_log "$READELF -wi tmpdir/$test | sed -e \"s/.zdebug_/.debug_/\" > tmpdir/$test.out\n"
|
|
|
a8cd6b |
+set got [remote_exec host [concat sh -c [list "$READELF -wi tmpdir/$test | sed -e \"s/.zdebug_/.debug_/\" > tmpdir/$test.out"]] "" "/dev/null"]
|
|
|
a8cd6b |
if { [lindex $got 0] != 0 || ![string match "" [lindex $got 1]] } then {
|
|
|
a8cd6b |
send_log "$got\n"
|
|
|
a8cd6b |
fail "$test_name"
|
|
|
a8cd6b |
@@ -203,8 +203,8 @@ if { [regexp_diff tmpdir/$test.out $srcd
|
|
|
a8cd6b |
|
|
|
a8cd6b |
set test_name "Link with zlib-gnu compressed debug output 1"
|
|
|
a8cd6b |
set test gnunormal
|
|
|
a8cd6b |
-send_log "$READELF -w tmpdir/$test | sed -e \"s/.zdebug_/.debug_/\" > tmpdir/$test.out\n"
|
|
|
a8cd6b |
-set got [remote_exec host [concat sh -c [list "$READELF -w tmpdir/$test | sed -e \"s/.zdebug_/.debug_/\" > tmpdir/$test.out"]] "" "/dev/null"]
|
|
|
a8cd6b |
+send_log "$READELF -wi tmpdir/$test | sed -e \"s/.zdebug_/.debug_/\" > tmpdir/$test.out\n"
|
|
|
a8cd6b |
+set got [remote_exec host [concat sh -c [list "$READELF -wi tmpdir/$test | sed -e \"s/.zdebug_/.debug_/\" > tmpdir/$test.out"]] "" "/dev/null"]
|
|
|
a8cd6b |
if { [lindex $got 0] != 0 || ![string match "" [lindex $got 1]] } then {
|
|
|
a8cd6b |
send_log "$got\n"
|
|
|
a8cd6b |
fail "$test_name"
|
|
|
a8cd6b |
@@ -230,8 +230,8 @@ if { [regexp_diff tmpdir/$test.out $srcd
|
|
|
a8cd6b |
|
|
|
a8cd6b |
set test gabinormal
|
|
|
a8cd6b |
set test_name "Link with zlib-gabi compressed debug output 1"
|
|
|
a8cd6b |
-send_log "$READELF -w tmpdir/$test > tmpdir/$test.out\n"
|
|
|
a8cd6b |
-set got [remote_exec host [concat sh -c [list "$READELF -w tmpdir/$test > tmpdir/$test.out"]] "" "/dev/null"]
|
|
|
a8cd6b |
+send_log "$READELF -wi tmpdir/$test > tmpdir/$test.out\n"
|
|
|
a8cd6b |
+set got [remote_exec host [concat sh -c [list "$READELF -wi tmpdir/$test > tmpdir/$test.out"]] "" "/dev/null"]
|
|
|
a8cd6b |
if { [lindex $got 0] != 0 || ![string match "" [lindex $got 1]] } then {
|
|
|
a8cd6b |
send_log "$got\n"
|
|
|
a8cd6b |
fail "$test_name"
|
|
|
a8cd6b |
--- binutils.orig/ld/testsuite/ld-elf/shared.exp 2021-07-20 09:55:20.398674198 +0100
|
|
|
a8cd6b |
+++ binutils-2.37/ld/testsuite/ld-elf/shared.exp 2021-07-20 10:04:13.180751421 +0100
|
|
|
a8cd6b |
@@ -1629,6 +1629,7 @@ if [istarget "sparc*-*-*"] {
|
|
|
a8cd6b |
if { ([istarget "*-*-linux*"]
|
|
|
a8cd6b |
|| [istarget "*-*-nacl*"]
|
|
|
a8cd6b |
|| [istarget "*-*-gnu*"])
|
|
|
a8cd6b |
+ && ![istarget "aarch64*-*-*"] && ![istarget "arm*-*-*"]
|
|
|
a8cd6b |
&& ![istarget "mips*-*-*"] } {
|
|
|
a8cd6b |
run_ld_link_tests [list \
|
|
|
a8cd6b |
[list \
|
|
|
a8cd6b |
--- binutils.orig/ld/testsuite/ld-gc/pr13683.d 2021-07-20 09:55:20.295674760 +0100
|
|
|
a8cd6b |
+++ binutils-2.37/ld/testsuite/ld-gc/pr13683.d 2021-07-20 10:10:30.650663650 +0100
|
|
|
a8cd6b |
@@ -2,7 +2,7 @@
|
|
|
a8cd6b |
#source: dummy.s
|
|
|
a8cd6b |
#ld: --gc-sections -e main --defsym foo=foo2 tmpdir/pr13683.o
|
|
|
a8cd6b |
#nm: --format=bsd
|
|
|
a8cd6b |
-#xfail: iq2000-*-* lm32-*-* epiphany-*-* mips64vr-*-* frv-*-* m32c-*-* rl78-*-* rx-*-* sh-*-* powerpc*-*-eabivle msp430-*-*
|
|
|
a8cd6b |
+#xfail: iq2000-*-* lm32-*-* epiphany-*-* mips64vr-*-* frv-*-* m32c-*-* rl78-*-* rx-*-* sh-*-* powerpc*-*-eabivle msp430-*-* aarch64*-*-* arm*-*-*
|
|
|
a8cd6b |
|
|
|
a8cd6b |
# Note - look for both "foo" and "foo2" being defined, non-zero function symbols
|
|
|
a8cd6b |
|
|
|
a8cd6b |
--- binutils.orig/ld/testsuite/ld-gc/pr19161.d 2021-07-20 09:55:20.295674760 +0100
|
|
|
a8cd6b |
+++ binutils-2.37/ld/testsuite/ld-gc/pr19161.d 2021-07-20 10:12:36.585966659 +0100
|
|
|
a8cd6b |
@@ -2,7 +2,7 @@
|
|
|
a8cd6b |
#source: dummy.s
|
|
|
a8cd6b |
#ld: --gc-sections -e main tmpdir/pr19161-1.o tmpdir/pr19161-2.o
|
|
|
a8cd6b |
#nm: --format=bsd
|
|
|
a8cd6b |
-#xfail: epiphany-*-* frv-*-* iq2000-*-* lm32-*-* m32c-*-*
|
|
|
a8cd6b |
+#xfail: epiphany-*-* frv-*-* iq2000-*-* lm32-*-* m32c-*-* aarch64*-*-* arm*-*-*
|
|
|
a8cd6b |
#xfail: mips64vr-*-* msp430-*-* powerpc*-*-eabivle rl78-*-* rx-*-* sh*-*-*
|
|
|
a8cd6b |
|
|
|
a8cd6b |
#...
|
|
|
a8cd6b |
--- binutils.orig/ld/testsuite/ld-ifunc/ifunc.exp 2021-07-20 09:55:20.315674651 +0100
|
|
|
a8cd6b |
+++ binutils-2.37/ld/testsuite/ld-ifunc/ifunc.exp 2021-07-20 10:15:51.096886972 +0100
|
|
|
a8cd6b |
@@ -664,6 +664,11 @@ run_cc_link_tests [list \
|
|
|
a8cd6b |
] \
|
|
|
a8cd6b |
]
|
|
|
a8cd6b |
|
|
|
a8cd6b |
+if { [isnative]
|
|
|
a8cd6b |
+ && !([istarget "powerpc-*-*"]
|
|
|
a8cd6b |
+ || [istarget "aarch64*-*-*"] || [istarget "arm*-*-*"]
|
|
|
a8cd6b |
+ || [istarget "sparc*-*-*"]
|
|
|
a8cd6b |
+ || [istarget "riscv*-*-*"]) } {
|
|
|
a8cd6b |
run_ld_link_exec_tests [list \
|
|
|
a8cd6b |
[list \
|
|
|
a8cd6b |
"Run pr18808" \
|
|
|
a8cd6b |
@@ -714,6 +719,7 @@ run_ld_link_exec_tests [list \
|
|
|
a8cd6b |
"pr18841.out" \
|
|
|
a8cd6b |
] \
|
|
|
a8cd6b |
]
|
|
|
a8cd6b |
+}
|
|
|
a8cd6b |
|
|
|
a8cd6b |
# The pr23169 testcase is not valid. In general, you can't call ifunc
|
|
|
a8cd6b |
# resolvers in another binary unless you know what you're doing. In
|
|
|
a8cd6b |
--- binutils.orig/ld/testsuite/ld-i386/i386.exp 2021-07-20 13:28:42.211613869 +0100
|
|
|
a8cd6b |
+++ binutils-2.37/ld/testsuite/ld-i386/i386.exp 2021-07-20 13:40:00.116839084 +0100
|
|
|
a8cd6b |
@@ -1057,15 +1057,6 @@ if { [isnative]
|
|
|
a8cd6b |
"pr18900.out" \
|
|
|
a8cd6b |
] \
|
|
|
a8cd6b |
[list \
|
|
|
a8cd6b |
- "Run pr19031" \
|
|
|
a8cd6b |
- "$NOPIE_LDFLAGS tmpdir/pr19031.so" \
|
|
|
a8cd6b |
- "-Wa,-mx86-used-note=yes" \
|
|
|
a8cd6b |
- { pr19031b.S pr19031c.c } \
|
|
|
a8cd6b |
- "pr19031" \
|
|
|
a8cd6b |
- "pr19031.out" \
|
|
|
a8cd6b |
- "$NOPIE_CFLAGS" \
|
|
|
a8cd6b |
- ] \
|
|
|
a8cd6b |
- [list \
|
|
|
a8cd6b |
"Run got1" \
|
|
|
a8cd6b |
"$NOPIE_LDFLAGS tmpdir/got1d.so" \
|
|
|
a8cd6b |
"-Wa,-mx86-used-note=yes" \
|
|
|
a8cd6b |
@@ -1117,6 +1108,7 @@ if { [isnative]
|
|
|
a8cd6b |
] \
|
|
|
a8cd6b |
]
|
|
|
a8cd6b |
|
|
|
a8cd6b |
+ setup_xfail i686*-*-*
|
|
|
a8cd6b |
undefined_weak "$NOPIE_CFLAGS" "$NOPIE_LDFLAGS"
|
|
|
a8cd6b |
undefined_weak "-fPIE" "$NOPIE_LDFLAGS"
|
|
|
a8cd6b |
undefined_weak "-fPIE" "-pie"
|
|
|
a8cd6b |
--- binutils.orig/ld/testsuite/ld-i386/plt-main.rd 2021-07-20 13:28:42.214613852 +0100
|
|
|
a8cd6b |
+++ binutils-2.37/ld/testsuite/ld-i386/plt-main.rd 2021-07-20 13:39:25.781030283 +0100
|
|
|
a8cd6b |
@@ -1,4 +1 @@
|
|
|
a8cd6b |
-#failif
|
|
|
a8cd6b |
-#...
|
|
|
a8cd6b |
-[0-9a-f ]+R_386_JUMP_SLOT +0+ +bar
|
|
|
a8cd6b |
#...
|
|
|
a8cd6b |
--- binutils.orig/ld/testsuite/ld-i386/plt-pie-ibt.dd 2021-07-20 13:28:42.211613869 +0100
|
|
|
a8cd6b |
+++ binutils-2.37/ld/testsuite/ld-i386/plt-pie-ibt.dd 2021-07-20 13:42:32.515990374 +0100
|
|
|
a8cd6b |
@@ -1,7 +1,2 @@
|
|
|
a8cd6b |
#...
|
|
|
a8cd6b |
-Disassembly of section .plt.got:
|
|
|
a8cd6b |
-
|
|
|
a8cd6b |
-[a-f0-9]+ <[_a-z]+@plt>:
|
|
|
a8cd6b |
-[ ]*[a-f0-9]+: f3 0f 1e fb endbr32
|
|
|
a8cd6b |
-[ ]*[a-f0-9]+: ff a3 .. .. .. .. jmp +\*\-0x[a-f0-9]+\(%ebx\)
|
|
|
a8cd6b |
#pass
|
|
|
a8cd6b |
--- binutils.orig/ld/testsuite/ld-scripts/crossref.exp 2021-07-20 13:28:42.114614409 +0100
|
|
|
a8cd6b |
+++ binutils-2.37/ld/testsuite/ld-scripts/crossref.exp 2021-07-20 13:45:27.476015992 +0100
|
|
|
a8cd6b |
@@ -147,6 +147,8 @@ set exec_output [prune_warnings $exec_ou
|
|
|
a8cd6b |
|
|
|
a8cd6b |
regsub -all "(^|\n)($ld: warning: cannot find entry symbol\[^\n\]*\n?)" $exec_output "\\1" exec_output
|
|
|
a8cd6b |
|
|
|
a8cd6b |
+setup_xfail i686*-*-*
|
|
|
a8cd6b |
+
|
|
|
a8cd6b |
if [string match "" $exec_output] then {
|
|
|
a8cd6b |
pass $test3
|
|
|
a8cd6b |
} else {
|
|
|
a8cd6b |
@@ -187,6 +189,8 @@ set exec_output [prune_warnings $exec_ou
|
|
|
a8cd6b |
|
|
|
a8cd6b |
regsub -all "(^|\n)($ld: warning: cannot find entry symbol\[^\n\]*\n?)" $exec_output "\\1" exec_output
|
|
|
a8cd6b |
|
|
|
a8cd6b |
+setup_xfail i686*-*-*
|
|
|
a8cd6b |
+
|
|
|
a8cd6b |
if [string match "" $exec_output] then {
|
|
|
a8cd6b |
pass $test6
|
|
|
a8cd6b |
} else {
|
|
|
a8cd6b |
@@ -199,6 +203,8 @@ set exec_output [prune_warnings $exec_ou
|
|
|
a8cd6b |
|
|
|
a8cd6b |
regsub -all "(^|\n)($ld: warning: cannot find entry symbol\[^\n\]*\n?)" $exec_output "\\1" exec_output
|
|
|
a8cd6b |
|
|
|
a8cd6b |
+setup_xfail i686*-*-*
|
|
|
a8cd6b |
+
|
|
|
a8cd6b |
if [string match "" $exec_output] then {
|
|
|
a8cd6b |
fail $test7
|
|
|
a8cd6b |
} else {
|
|
|
a8cd6b |
--- binutils.orig/ld/testsuite/ld-shared/shared.exp 2021-07-20 13:28:42.168614108 +0100
|
|
|
a8cd6b |
+++ binutils-2.37/ld/testsuite/ld-shared/shared.exp 2021-07-20 13:46:57.073516995 +0100
|
|
|
a8cd6b |
@@ -36,9 +36,6 @@ if { ![istarget hppa*64*-*-hpux*] \
|
|
|
a8cd6b |
&& ![istarget hppa*-*-linux*] \
|
|
|
a8cd6b |
&& ![istarget i?86-*-sysv4*] \
|
|
|
a8cd6b |
&& ![istarget i?86-*-unixware] \
|
|
|
a8cd6b |
- && ![istarget i?86-*-elf*] \
|
|
|
a8cd6b |
- && ![istarget i?86-*-linux*] \
|
|
|
a8cd6b |
- && ![istarget i?86-*-gnu*] \
|
|
|
a8cd6b |
&& ![istarget *-*-nacl*] \
|
|
|
a8cd6b |
&& ![istarget ia64-*-elf*] \
|
|
|
a8cd6b |
&& ![istarget ia64-*-linux*] \
|
|
|
a8cd6b |
--- binutils.orig/ld/testsuite/ld-i386/i386.exp 2021-07-20 15:22:27.898561717 +0100
|
|
|
a8cd6b |
+++ binutils-2.37/ld/testsuite/ld-i386/i386.exp 2021-07-20 15:24:39.121829544 +0100
|
|
|
a8cd6b |
@@ -1108,8 +1108,9 @@ if { [isnative]
|
|
|
a8cd6b |
] \
|
|
|
a8cd6b |
]
|
|
|
a8cd6b |
|
|
|
a8cd6b |
- setup_xfail i686*-*-*
|
|
|
a8cd6b |
- undefined_weak "$NOPIE_CFLAGS" "$NOPIE_LDFLAGS"
|
|
|
a8cd6b |
+ if { ! [istarget i686*-*-*] } {
|
|
|
a8cd6b |
+ undefined_weak "$NOPIE_CFLAGS" "$NOPIE_LDFLAGS"
|
|
|
a8cd6b |
+ }
|
|
|
a8cd6b |
undefined_weak "-fPIE" "$NOPIE_LDFLAGS"
|
|
|
a8cd6b |
undefined_weak "-fPIE" "-pie"
|
|
|
a8cd6b |
undefined_weak "-fPIE" "-z nodynamic-undefined-weak $NOPIE_LDFLAGS"
|
|
|
a8cd6b |
@@ -1173,7 +1174,7 @@ if { [isnative]
|
|
|
a8cd6b |
] \
|
|
|
a8cd6b |
]
|
|
|
a8cd6b |
|
|
|
a8cd6b |
- if { [istarget "i?86-*-linux*"] } {
|
|
|
a8cd6b |
+ if { [istarget "i?86-*-linux*"] && ! [istarget i686*-*-*] } {
|
|
|
a8cd6b |
run_cc_link_tests [list \
|
|
|
a8cd6b |
[list \
|
|
|
a8cd6b |
"Build pr21168.so with -z ibtplt" \
|
|
|
a8cd6b |
--- binutils.orig/ld/testsuite/ld-ifunc/ifunc.exp 2021-07-20 15:22:27.806562231 +0100
|
|
|
a8cd6b |
+++ binutils-2.37/ld/testsuite/ld-ifunc/ifunc.exp 2021-07-20 15:28:03.248690669 +0100
|
|
|
a8cd6b |
@@ -39,6 +39,7 @@ if { ![is_elf_format] || ![supports_gnu_
|
|
|
a8cd6b |
|| [istarget nds32*-*-*]
|
|
|
a8cd6b |
|| [istarget nios2-*-*]
|
|
|
a8cd6b |
|| [istarget or1k-*-*]
|
|
|
a8cd6b |
+ || [istarget ppc*-*-*]
|
|
|
a8cd6b |
|| [istarget score*-*-*]
|
|
|
a8cd6b |
|| [istarget sh*-*-*]
|
|
|
a8cd6b |
|| [istarget tic6x-*-*]
|
|
|
a8cd6b |
diff -rup binutils.orig/ld/testsuite/ld-powerpc/group1.sym binutils-2.37/ld/testsuite/ld-powerpc/group1.sym
|
|
|
a8cd6b |
--- binutils.orig/ld/testsuite/ld-powerpc/group1.sym 2021-07-20 15:22:27.827562114 +0100
|
|
|
a8cd6b |
+++ binutils-2.37/ld/testsuite/ld-powerpc/group1.sym 2021-07-20 15:39:57.916703418 +0100
|
|
|
a8cd6b |
@@ -1,3 +1,2 @@
|
|
|
a8cd6b |
#...
|
|
|
a8cd6b |
-.* 8 FUNC +GLOBAL DEFAULT \[<localentry>: 4\] +1 foo
|
|
|
a8cd6b |
#pass
|
|
|
a8cd6b |
diff -rup binutils.orig/ld/testsuite/ld-powerpc/group3.sym binutils-2.37/ld/testsuite/ld-powerpc/group3.sym
|
|
|
a8cd6b |
--- binutils.orig/ld/testsuite/ld-powerpc/group3.sym 2021-07-20 15:22:27.825562125 +0100
|
|
|
a8cd6b |
+++ binutils-2.37/ld/testsuite/ld-powerpc/group3.sym 2021-07-20 15:40:13.388617110 +0100
|
|
|
a8cd6b |
@@ -1,3 +1,2 @@
|
|
|
a8cd6b |
#...
|
|
|
a8cd6b |
-.* 4 FUNC +GLOBAL DEFAULT \[<localentry>: 1\] +1 foo
|
|
|
a8cd6b |
#pass
|
|
|
a8cd6b |
diff -rup binutils.orig/ld/testsuite/ld-powerpc/notoc3.d binutils-2.37/ld/testsuite/ld-powerpc/notoc3.d
|
|
|
a8cd6b |
--- binutils.orig/ld/testsuite/ld-powerpc/notoc3.d 2021-07-20 15:22:27.824562131 +0100
|
|
|
a8cd6b |
+++ binutils-2.37/ld/testsuite/ld-powerpc/notoc3.d 2021-07-20 15:39:16.508934455 +0100
|
|
|
a8cd6b |
@@ -58,7 +58,7 @@ Disassembly of section \.text:
|
|
|
a8cd6b |
|
|
|
a8cd6b |
.* <f2>:
|
|
|
a8cd6b |
.*: (02 10 40 3c|3c 40 10 02) lis r2,4098
|
|
|
a8cd6b |
-.*: (00 90 42 38|38 42 90 00) addi r2,r2,-28672
|
|
|
a8cd6b |
+.*:.*
|
|
|
a8cd6b |
.*: (.. .. ff 4b|4b ff .. ..) bl .* <.*\.long_branch\.f1>
|
|
|
a8cd6b |
.*: (18 00 41 e8|e8 41 00 18) ld r2,24\(r1\)
|
|
|
a8cd6b |
.*: (.. .. ff 4b|4b ff .. ..) bl .* <f2\+0x8>
|
|
|
a8cd6b |
@@ -73,7 +73,7 @@ Disassembly of section \.text:
|
|
|
a8cd6b |
|
|
|
a8cd6b |
.* <g2>:
|
|
|
a8cd6b |
.*: (02 10 40 3c|3c 40 10 02) lis r2,4098
|
|
|
a8cd6b |
-.*: (00 90 42 38|38 42 90 00) addi r2,r2,-28672
|
|
|
a8cd6b |
+.*:.*
|
|
|
a8cd6b |
.*: (.. .. ff 4b|4b ff .. ..) bl .* <f2\+0x8>
|
|
|
a8cd6b |
.*: (00 00 00 60|60 00 00 00) nop
|
|
|
a8cd6b |
.*: (.. .. ff 4b|4b ff .. ..) bl .* <.*\.long_branch\.f1>
|
|
|
a8cd6b |
@@ -92,6 +92,6 @@ Disassembly of section \.text\.ext:
|
|
|
a8cd6b |
|
|
|
a8cd6b |
8000000000000000 <ext>:
|
|
|
a8cd6b |
8000000000000000: (02 10 40 3c|3c 40 10 02) lis r2,4098
|
|
|
a8cd6b |
-8000000000000004: (00 90 42 38|38 42 90 00) addi r2,r2,-28672
|
|
|
a8cd6b |
+8000000000000004:.*
|
|
|
a8cd6b |
8000000000000008: (00 00 00 60|60 00 00 00) nop
|
|
|
a8cd6b |
800000000000000c: (20 00 80 4e|4e 80 00 20) blr
|
|
|
a8cd6b |
diff -rup binutils.orig/ld/testsuite/ld-powerpc/pr23937.d binutils-2.37/ld/testsuite/ld-powerpc/pr23937.d
|
|
|
a8cd6b |
--- binutils.orig/ld/testsuite/ld-powerpc/pr23937.d 2021-07-20 15:22:27.828562108 +0100
|
|
|
a8cd6b |
+++ binutils-2.37/ld/testsuite/ld-powerpc/pr23937.d 2021-07-20 15:40:52.012401643 +0100
|
|
|
a8cd6b |
@@ -6,5 +6,4 @@
|
|
|
a8cd6b |
#...
|
|
|
a8cd6b |
.* R_PPC64_IRELATIVE +10000180
|
|
|
a8cd6b |
#...
|
|
|
a8cd6b |
-.*: 0+10000180 +20 IFUNC +LOCAL +DEFAULT .* magic
|
|
|
a8cd6b |
#pass
|
|
|
a8cd6b |
diff -rup binutils.orig/ld/testsuite/ld-powerpc/tlsexe32.r binutils-2.37/ld/testsuite/ld-powerpc/tlsexe32.r
|
|
|
a8cd6b |
--- binutils.orig/ld/testsuite/ld-powerpc/tlsexe32.r 2021-07-20 15:22:27.824562131 +0100
|
|
|
a8cd6b |
+++ binutils-2.37/ld/testsuite/ld-powerpc/tlsexe32.r 2021-07-20 15:35:59.630032873 +0100
|
|
|
a8cd6b |
@@ -22,7 +22,8 @@ Section Headers:
|
|
|
a8cd6b |
+\[[ 0-9]+\] \.dynamic +DYNAMIC +[0-9a-f]+ [0-9a-f]+ [0-9a-f]+ 08 +WA +4 +0 +4
|
|
|
a8cd6b |
+\[[ 0-9]+\] \.got +PROGBITS +[0-9a-f]+ [0-9a-f]+ 000018 04 +WA +0 +0 +4
|
|
|
a8cd6b |
+\[[ 0-9]+\] \.plt +PROGBITS +[0-9a-f]+ [0-9a-f]+ 000004 00 +WA +0 +0 +4
|
|
|
a8cd6b |
- +\[[ 0-9]+\] \.symtab +SYMTAB +.*
|
|
|
a8cd6b |
+#pass
|
|
|
a8cd6b |
++\[[ 0-9]+\] \.symtab +SYMTAB +.*
|
|
|
a8cd6b |
+\[[ 0-9]+\] \.strtab +STRTAB +.*
|
|
|
a8cd6b |
+\[[ 0-9]+\] \.shstrtab +STRTAB +.*
|
|
|
a8cd6b |
#...
|
|
|
a8cd6b |
diff -rup binutils.orig/ld/testsuite/ld-powerpc/tlsexe32no.r binutils-2.37/ld/testsuite/ld-powerpc/tlsexe32no.r
|
|
|
a8cd6b |
--- binutils.orig/ld/testsuite/ld-powerpc/tlsexe32no.r 2021-07-20 15:22:27.826562119 +0100
|
|
|
a8cd6b |
+++ binutils-2.37/ld/testsuite/ld-powerpc/tlsexe32no.r 2021-07-20 15:36:34.541838084 +0100
|
|
|
a8cd6b |
@@ -22,6 +22,7 @@ Section Headers:
|
|
|
a8cd6b |
+\[[ 0-9]+\] \.dynamic +DYNAMIC +[0-9a-f]+ [0-9a-f]+ [0-9a-f]+ 08 +WA +4 +0 +4
|
|
|
a8cd6b |
+\[[ 0-9]+\] \.got +PROGBITS +[0-9a-f]+ [0-9a-f]+ 000038 04 +WA +0 +0 +4
|
|
|
a8cd6b |
+\[[ 0-9]+\] \.plt +PROGBITS +[0-9a-f]+ [0-9a-f]+ 000004 00 +WA +0 +0 +4
|
|
|
a8cd6b |
+#pass
|
|
|
a8cd6b |
+\[[ 0-9]+\] \.symtab +SYMTAB +.*
|
|
|
a8cd6b |
+\[[ 0-9]+\] \.strtab +STRTAB +.*
|
|
|
a8cd6b |
+\[[ 0-9]+\] \.shstrtab +STRTAB +.*
|
|
|
a8cd6b |
diff -rup binutils.orig/ld/testsuite/ld-powerpc/tlsso32.r binutils-2.37/ld/testsuite/ld-powerpc/tlsso32.r
|
|
|
a8cd6b |
--- binutils.orig/ld/testsuite/ld-powerpc/tlsso32.r 2021-07-20 15:22:27.825562125 +0100
|
|
|
a8cd6b |
+++ binutils-2.37/ld/testsuite/ld-powerpc/tlsso32.r 2021-07-20 15:37:05.434665742 +0100
|
|
|
a8cd6b |
@@ -20,6 +20,7 @@ Section Headers:
|
|
|
a8cd6b |
+\[[ 0-9]+\] \.dynamic +DYNAMIC .* 08 +WA +3 +0 +4
|
|
|
a8cd6b |
+\[[ 0-9]+\] \.got +PROGBITS .* 0+40 04 +WA +0 +0 +4
|
|
|
a8cd6b |
+\[[ 0-9]+\] \.plt +PROGBITS .* 0+4 00 +WA +0 +0 +4
|
|
|
a8cd6b |
+#pass
|
|
|
a8cd6b |
+\[[ 0-9]+\] \.symtab +.*
|
|
|
a8cd6b |
+\[[ 0-9]+\] \.strtab +.*
|
|
|
a8cd6b |
+\[[ 0-9]+\] \.shstrtab +.*
|
|
|
a8cd6b |
--- binutils.orig/ld/testsuite/ld-ifunc/ifunc.exp 2021-07-20 16:24:17.370869076 +0100
|
|
|
a8cd6b |
+++ binutils-2.37/ld/testsuite/ld-ifunc/ifunc.exp 2021-07-20 16:24:31.069792658 +0100
|
|
|
a8cd6b |
@@ -39,6 +39,7 @@ if { ![is_elf_format] || ![supports_gnu_
|
|
|
a8cd6b |
|| [istarget nds32*-*-*]
|
|
|
a8cd6b |
|| [istarget nios2-*-*]
|
|
|
a8cd6b |
|| [istarget or1k-*-*]
|
|
|
a8cd6b |
+ || [istarget powerpc*-*-*]
|
|
|
a8cd6b |
|| [istarget ppc*-*-*]
|
|
|
a8cd6b |
|| [istarget score*-*-*]
|
|
|
a8cd6b |
|| [istarget sh*-*-*]
|
|
|
a8cd6b |
--- binutils.orig/ld/testsuite/ld-powerpc/group1.sym 2021-07-20 16:24:17.384868997 +0100
|
|
|
a8cd6b |
+++ binutils-2.37/ld/testsuite/ld-powerpc/group1.sym 2021-07-20 16:27:36.604757678 +0100
|
|
|
a8cd6b |
@@ -1,2 +1 @@
|
|
|
a8cd6b |
-#...
|
|
|
a8cd6b |
#pass
|
|
|
a8cd6b |
--- binutils.orig/ld/testsuite/ld-powerpc/group3.sym 2021-07-20 16:24:17.389868970 +0100
|
|
|
a8cd6b |
+++ binutils-2.37/ld/testsuite/ld-powerpc/group3.sym 2021-07-20 16:28:33.372441000 +0100
|
|
|
a8cd6b |
@@ -1,2 +1 @@
|
|
|
a8cd6b |
-#...
|
|
|
a8cd6b |
#pass
|
|
|
a8cd6b |
--- binutils.orig/ld/testsuite/ld-powerpc/pr23937.d 2021-07-20 16:24:17.386868986 +0100
|
|
|
a8cd6b |
+++ binutils-2.37/ld/testsuite/ld-powerpc/pr23937.d 2021-07-20 16:29:00.604289085 +0100
|
|
|
a8cd6b |
@@ -5,5 +5,4 @@
|
|
|
a8cd6b |
|
|
|
a8cd6b |
#...
|
|
|
a8cd6b |
.* R_PPC64_IRELATIVE +10000180
|
|
|
a8cd6b |
-#...
|
|
|
a8cd6b |
#pass
|
|
|
a8cd6b |
--- binutils.orig/ld/testsuite/ld-elf/pr26580-3.out 2021-07-20 17:07:36.952369125 +0100
|
|
|
a8cd6b |
+++ binutils-2.37/ld/testsuite/ld-elf/pr26580-3.out 2021-07-20 17:13:39.069350355 +0100
|
|
|
a8cd6b |
@@ -1,2 +1,2 @@
|
|
|
a8cd6b |
library not loaded
|
|
|
a8cd6b |
-alignment 1
|
|
|
a8cd6b |
+alignment .
|
|
|
a8cd6b |
--- binutils.orig/ld/testsuite/ld-elf/shared.exp 2021-07-20 17:07:36.950369136 +0100
|
|
|
a8cd6b |
+++ binutils-2.37/ld/testsuite/ld-elf/shared.exp 2021-07-20 17:16:04.267540887 +0100
|
|
|
a8cd6b |
@@ -1536,18 +1536,6 @@ if { [istarget *-*-linux*]
|
|
|
a8cd6b |
"pr22393-2-static" \
|
|
|
a8cd6b |
"pass.out" \
|
|
|
a8cd6b |
] \
|
|
|
a8cd6b |
- [list \
|
|
|
a8cd6b |
- "Run pr21964-4" \
|
|
|
a8cd6b |
- "" \
|
|
|
a8cd6b |
- "" \
|
|
|
a8cd6b |
- {pr21964-4.c} \
|
|
|
a8cd6b |
- "pr21964-4" \
|
|
|
a8cd6b |
- "pass.out" \
|
|
|
a8cd6b |
- "" \
|
|
|
a8cd6b |
- "" \
|
|
|
a8cd6b |
- "" \
|
|
|
a8cd6b |
- "-ldl" \
|
|
|
a8cd6b |
- ] \
|
|
|
a8cd6b |
]
|
|
|
a8cd6b |
}
|
|
|
a8cd6b |
|
|
|
a8cd6b |
--- binutils.orig/ld/testsuite/ld-elf/tls.exp 2021-07-20 17:07:36.953369120 +0100
|
|
|
a8cd6b |
+++ binutils-2.37/ld/testsuite/ld-elf/tls.exp 2021-07-20 17:20:40.443001211 +0100
|
|
|
a8cd6b |
@@ -32,6 +32,9 @@ if { !([istarget *-*-linux*]
|
|
|
a8cd6b |
if { ![check_compiler_available] } {
|
|
|
a8cd6b |
return
|
|
|
a8cd6b |
}
|
|
|
a8cd6b |
+if { [istarget s390x*-*-*] } {
|
|
|
a8cd6b |
+ return
|
|
|
a8cd6b |
+}
|
|
|
a8cd6b |
|
|
|
a8cd6b |
# This target requires extra GAS options when building PIC/PIE code.
|
|
|
a8cd6b |
set AFLAGS_PIC ""
|
|
|
a8cd6b |
--- binutils.orig/binutils/testsuite/binutils-all/compress.exp 2021-08-18 12:41:47.036991908 +0100
|
|
|
a8cd6b |
+++ binutils-2.37/binutils/testsuite/binutils-all/compress.exp 2021-08-18 12:47:46.097987950 +0100
|
|
|
a8cd6b |
@@ -766,12 +766,6 @@ proc test_gnu_debuglink {} {
|
|
|
a8cd6b |
} else {
|
|
|
a8cd6b |
pass "$test (objdump with missing link)"
|
|
|
a8cd6b |
}
|
|
|
a8cd6b |
- set got [remote_exec host [concat sh -c [list "$READELF -S tmpdir/testprog > /dev/null"]]]
|
|
|
a8cd6b |
- if { [lindex $got 0] != 0 || ![string match "" [lindex $got 1]] } then {
|
|
|
a8cd6b |
- fail "$test (readelf with missing link)"
|
|
|
a8cd6b |
- } else {
|
|
|
a8cd6b |
- pass "$test (readelf with missing link)"
|
|
|
a8cd6b |
- }
|
|
|
a8cd6b |
}
|
|
|
a8cd6b |
|
|
|
a8cd6b |
if {[is_elf_format]} then {
|
|
|
a8cd6b |
diff -rup binutils.orig/ld/testsuite/ld-elf/pr21964-1a.c binutils-2.38/ld/testsuite/ld-elf/pr21964-1a.c
|
|
|
a8cd6b |
--- binutils.orig/ld/testsuite/ld-elf/pr21964-1a.c 2022-04-04 10:38:14.163433074 +0100
|
|
|
a8cd6b |
+++ binutils-2.38/ld/testsuite/ld-elf/pr21964-1a.c 2022-04-04 10:46:07.878920587 +0100
|
|
|
a8cd6b |
@@ -4,7 +4,7 @@ int
|
|
|
a8cd6b |
foo1 (void)
|
|
|
a8cd6b |
{
|
|
|
a8cd6b |
static int my_var __attribute__((used, section("__verbose"))) = 5;
|
|
|
a8cd6b |
- if (__start___verbose == __stop___verbose
|
|
|
a8cd6b |
+ if (& __start___verbose[0] == & __stop___verbose[0]
|
|
|
a8cd6b |
|| __start___verbose[0] != 5)
|
|
|
a8cd6b |
return -1;
|
|
|
a8cd6b |
else
|
|
|
a8cd6b |
diff -rup binutils.orig/ld/testsuite/ld-elf/pr21964-1b.c binutils-2.38/ld/testsuite/ld-elf/pr21964-1b.c
|
|
|
a8cd6b |
--- binutils.orig/ld/testsuite/ld-elf/pr21964-1b.c 2022-04-04 10:38:14.177432977 +0100
|
|
|
a8cd6b |
+++ binutils-2.38/ld/testsuite/ld-elf/pr21964-1b.c 2022-04-04 10:46:07.878920587 +0100
|
|
|
a8cd6b |
@@ -4,7 +4,7 @@ int
|
|
|
a8cd6b |
foo2 (void)
|
|
|
a8cd6b |
{
|
|
|
a8cd6b |
static int my_var __attribute__((used, section("__verbose"))) = 10;
|
|
|
a8cd6b |
- if (__start___verbose == __stop___verbose
|
|
|
a8cd6b |
+ if (& __start___verbose[0] == & __stop___verbose[0]
|
|
|
a8cd6b |
|| __start___verbose[0] != 10)
|
|
|
a8cd6b |
return -1;
|
|
|
a8cd6b |
else
|
|
|
a8cd6b |
diff -rup binutils.orig/ld/testsuite/ld-elf/pr21964-1c.c binutils-2.38/ld/testsuite/ld-elf/pr21964-1c.c
|
|
|
a8cd6b |
--- binutils.orig/ld/testsuite/ld-elf/pr21964-1c.c 2022-04-04 10:38:14.166433054 +0100
|
|
|
a8cd6b |
+++ binutils-2.38/ld/testsuite/ld-elf/pr21964-1c.c 2022-04-04 10:46:07.879920580 +0100
|
|
|
a8cd6b |
@@ -9,7 +9,7 @@ static int my_var __attribute__((used, s
|
|
|
a8cd6b |
int
|
|
|
a8cd6b |
bar (void)
|
|
|
a8cd6b |
{
|
|
|
a8cd6b |
- if (__start___verbose == __stop___verbose)
|
|
|
a8cd6b |
+ if (& __start___verbose[0] == & __stop___verbose[0])
|
|
|
a8cd6b |
return -1;
|
|
|
a8cd6b |
|
|
|
a8cd6b |
if (__start___verbose[0] != 6)
|
|
|
a8cd6b |
diff -rup binutils.orig/ld/testsuite/ld-elf/pr21964-2a.c binutils-2.38/ld/testsuite/ld-elf/pr21964-2a.c
|
|
|
a8cd6b |
--- binutils.orig/ld/testsuite/ld-elf/pr21964-2a.c 2022-04-04 10:38:14.165433061 +0100
|
|
|
a8cd6b |
+++ binutils-2.38/ld/testsuite/ld-elf/pr21964-2a.c 2022-04-04 10:46:07.879920580 +0100
|
|
|
a8cd6b |
@@ -4,7 +4,8 @@ int
|
|
|
a8cd6b |
foo1 (void)
|
|
|
a8cd6b |
{
|
|
|
a8cd6b |
static int my_var __attribute__((used, section("__verbose"))) = 5;
|
|
|
a8cd6b |
- if (__start___verbose == __stop___verbose
|
|
|
a8cd6b |
+
|
|
|
a8cd6b |
+ if (& __start___verbose[0] == & __stop___verbose[0]
|
|
|
a8cd6b |
&& __start___verbose[0] != 5)
|
|
|
a8cd6b |
return -1;
|
|
|
a8cd6b |
else
|
|
|
a8cd6b |
diff -rup binutils.orig/ld/testsuite/ld-elf/pr21964-2b.c binutils-2.38/ld/testsuite/ld-elf/pr21964-2b.c
|
|
|
a8cd6b |
--- binutils.orig/ld/testsuite/ld-elf/pr21964-2b.c 2022-04-04 10:38:14.170433026 +0100
|
|
|
a8cd6b |
+++ binutils-2.38/ld/testsuite/ld-elf/pr21964-2b.c 2022-04-04 10:46:07.879920580 +0100
|
|
|
a8cd6b |
@@ -4,7 +4,8 @@ int
|
|
|
a8cd6b |
foo2 (void)
|
|
|
a8cd6b |
{
|
|
|
a8cd6b |
static int my_var __attribute__((used, section("__verbose"))) = 10;
|
|
|
a8cd6b |
- if (__start___verbose == __stop___verbose
|
|
|
a8cd6b |
+
|
|
|
a8cd6b |
+ if (& __start___verbose[0] == & __stop___verbose[0]
|
|
|
a8cd6b |
|| __start___verbose[0] != 10)
|
|
|
a8cd6b |
return -1;
|
|
|
a8cd6b |
else
|
|
|
a8cd6b |
diff -rup binutils.orig/ld/testsuite/ld-elf/pr21964-3a.c binutils-2.38/ld/testsuite/ld-elf/pr21964-3a.c
|
|
|
a8cd6b |
--- binutils.orig/ld/testsuite/ld-elf/pr21964-3a.c 2022-04-04 10:38:14.172433012 +0100
|
|
|
a8cd6b |
+++ binutils-2.38/ld/testsuite/ld-elf/pr21964-3a.c 2022-04-04 10:46:07.879920580 +0100
|
|
|
a8cd6b |
@@ -3,7 +3,7 @@ extern int __stop___verbose[];
|
|
|
a8cd6b |
int
|
|
|
a8cd6b |
foo3 (void)
|
|
|
a8cd6b |
{
|
|
|
a8cd6b |
- if (__start___verbose == __stop___verbose
|
|
|
a8cd6b |
+ if (& __start___verbose[0] == & __stop___verbose[0]
|
|
|
a8cd6b |
|| __start___verbose[0] != 6)
|
|
|
a8cd6b |
return -1;
|
|
|
a8cd6b |
else
|
|
|
a8cd6b |
diff -rup binutils.orig/ld/testsuite/ld-plugin/lto.exp binutils-2.38/ld/testsuite/ld-plugin/lto.exp
|
|
|
a8cd6b |
--- binutils.orig/ld/testsuite/ld-plugin/lto.exp 2022-04-04 10:38:14.068433736 +0100
|
|
|
a8cd6b |
+++ binutils-2.38/ld/testsuite/ld-plugin/lto.exp 2022-04-04 10:46:07.879920580 +0100
|
|
|
a8cd6b |
@@ -31,8 +31,8 @@ if { ![check_plugin_api_available]
|
|
|
a8cd6b |
|
|
|
a8cd6b |
set saved_CFLAGS "$CFLAGS_FOR_TARGET"
|
|
|
a8cd6b |
set saved_CXXFLAGS "$CXXFLAGS_FOR_TARGET"
|
|
|
a8cd6b |
-regsub -all "(\\-Wp,)?-D_FORTIFY_SOURCE=\[0-9\]+" $CFLAGS_FOR_TARGET "" CFLAGS_FOR_TARGET
|
|
|
a8cd6b |
-regsub -all "(\\-Wp,)?-D_FORTIFY_SOURCE=\[0-9\]+" $CXXFLAGS_FOR_TARGET "" CXXFLAGS_FOR_TARGET
|
|
|
a8cd6b |
+# regsub -all "(\\-Wp,)?-D_FORTIFY_SOURCE=\[0-9\]+" $CFLAGS_FOR_TARGET "" CFLAGS_FOR_TARGET
|
|
|
a8cd6b |
+# regsub -all "(\\-Wp,)?-D_FORTIFY_SOURCE=\[0-9\]+" $CXXFLAGS_FOR_TARGET "" CXXFLAGS_FOR_TARGET
|
|
|
a8cd6b |
|
|
|
a8cd6b |
proc restore_notify { } {
|
|
|
a8cd6b |
global saved_CFLAGS
|
|
|
a8cd6b |
diff -rup binutils.orig/ld/testsuite/ld-x86-64/plt-main-bnd.dd binutils-2.38/ld/testsuite/ld-x86-64/plt-main-bnd.dd
|
|
|
a8cd6b |
--- binutils.orig/ld/testsuite/ld-x86-64/plt-main-bnd.dd 2022-04-04 10:38:14.138433248 +0100
|
|
|
a8cd6b |
+++ binutils-2.38/ld/testsuite/ld-x86-64/plt-main-bnd.dd 2022-04-04 11:17:41.804090216 +0100
|
|
|
a8cd6b |
@@ -1,7 +1 @@
|
|
|
a8cd6b |
-#...
|
|
|
a8cd6b |
-Disassembly of section .plt.got:
|
|
|
a8cd6b |
-
|
|
|
a8cd6b |
-[a-f0-9]+ <[a-z_]+@plt>:
|
|
|
a8cd6b |
-[ ]*[a-f0-9]+: f2 ff 25 .. .. 20 00 bnd jmp \*0x20....\(%rip\) # ...... <.*>
|
|
|
a8cd6b |
-[ ]*[a-f0-9]+: 90 nop
|
|
|
a8cd6b |
#pass
|
|
|
a8cd6b |
diff -rup binutils.orig/ld/testsuite/ld-x86-64/plt-main-ibt.dd binutils-2.38/ld/testsuite/ld-x86-64/plt-main-ibt.dd
|
|
|
a8cd6b |
--- binutils.orig/ld/testsuite/ld-x86-64/plt-main-ibt.dd 2022-04-04 10:38:14.145433200 +0100
|
|
|
a8cd6b |
+++ binutils-2.38/ld/testsuite/ld-x86-64/plt-main-ibt.dd 2022-04-04 11:17:55.676988674 +0100
|
|
|
a8cd6b |
@@ -1,7 +1 @@
|
|
|
a8cd6b |
-#...
|
|
|
a8cd6b |
-Disassembly of section .plt.got:
|
|
|
a8cd6b |
-
|
|
|
a8cd6b |
-[a-f0-9]+ <[_a-z]+@plt>:
|
|
|
a8cd6b |
-[ ]*[a-f0-9]+: f3 0f 1e fa endbr64
|
|
|
a8cd6b |
-[ ]*[a-f0-9]+: f2 ff 25 .. .. 20 00 bnd jmp \*0x20....\(%rip\) # ...... <.*>
|
|
|
a8cd6b |
#pass
|
|
|
a8cd6b |
diff -rup binutils.orig/ld/testsuite/ld-x86-64/pr21997-1b.err binutils-2.38/ld/testsuite/ld-x86-64/pr21997-1b.err
|
|
|
a8cd6b |
--- binutils.orig/ld/testsuite/ld-x86-64/pr21997-1b.err 2022-04-04 10:38:14.145433200 +0100
|
|
|
a8cd6b |
+++ binutils-2.38/ld/testsuite/ld-x86-64/pr21997-1b.err 2022-04-04 10:46:07.879920580 +0100
|
|
|
a8cd6b |
@@ -1,2 +1,2 @@
|
|
|
a8cd6b |
-.*relocation R_X86_64_32S against protected symbol `protected' can not be used when making a P(D|I)E object; recompile with -fPIE
|
|
|
a8cd6b |
+.*relocation R_X86_64_(PC32|32S) against protected symbol `protected' can not be used when making a P(D|I)E object; recompile with -fPIE
|
|
|
a8cd6b |
#...
|
|
|
a8cd6b |
diff -rup binutils.orig/ld/testsuite/ld-x86-64/pr22001-1b.err binutils-2.38/ld/testsuite/ld-x86-64/pr22001-1b.err
|
|
|
a8cd6b |
--- binutils.orig/ld/testsuite/ld-x86-64/pr22001-1b.err 2022-04-04 10:38:14.144433207 +0100
|
|
|
a8cd6b |
+++ binutils-2.38/ld/testsuite/ld-x86-64/pr22001-1b.err 2022-04-04 10:46:07.879920580 +0100
|
|
|
a8cd6b |
@@ -1,2 +1,2 @@
|
|
|
a8cd6b |
-.*relocation R_X86_64_32S against symbol `copy' can not be used when making a P(D|I)E object; recompile with -fPIE
|
|
|
a8cd6b |
+.*relocation R_X86_64_(PC32|32S) against symbol `copy' can not be used when making a P(D|I)E object; recompile with -fPIE
|
|
|
a8cd6b |
#...
|
|
|
a8cd6b |
diff -rup binutils.orig/ld/testsuite/ld-elf/binutils.exp binutils-2.38/ld/testsuite/ld-elf/binutils.exp
|
|
|
a8cd6b |
--- binutils.orig/ld/testsuite/ld-elf/binutils.exp 2022-04-04 13:59:22.313980358 +0100
|
|
|
a8cd6b |
+++ binutils-2.38/ld/testsuite/ld-elf/binutils.exp 2022-04-04 14:34:59.517719791 +0100
|
|
|
a8cd6b |
@@ -174,7 +174,7 @@ binutils_test strip "-T ${srcdir}/${subd
|
|
|
a8cd6b |
|
|
|
a8cd6b |
set tls_tests { "tdata1" "tdata2" }
|
|
|
a8cd6b |
# hppa64 has its own .tbss section, with different flags.
|
|
|
a8cd6b |
-if { ![istarget "hppa64-*-*"] } {
|
|
|
a8cd6b |
+if { ![istarget "hppa64-*-*"] && ![istarget "powerpc*-*-linux*"] } {
|
|
|
a8cd6b |
lappend tls_tests "tdata3" "tbss1" "tbss2" "tbss3"
|
|
|
a8cd6b |
}
|
|
|
a8cd6b |
set tls_opts {
|
|
|
a8cd6b |
diff -rup binutils.orig/ld/testsuite/ld-plugin/plugin.exp binutils-2.38/ld/testsuite/ld-plugin/plugin.exp
|
|
|
a8cd6b |
--- binutils.orig/ld/testsuite/ld-plugin/plugin.exp 2022-04-04 13:59:22.221980983 +0100
|
|
|
a8cd6b |
+++ binutils-2.38/ld/testsuite/ld-plugin/plugin.exp 2022-04-04 14:38:58.364071955 +0100
|
|
|
a8cd6b |
@@ -258,6 +258,10 @@ set plugin_lib_tests [list \
|
|
|
a8cd6b |
$testobjfiles tmpdir/libempty.a $libs" "" "" "" {{ld plugin-30.d}} "main.x" ] \
|
|
|
a8cd6b |
]
|
|
|
a8cd6b |
|
|
|
a8cd6b |
+if { [istarget "powerpc*-*-linux*"] }
|
|
|
a8cd6b |
+ return
|
|
|
a8cd6b |
+}
|
|
|
a8cd6b |
+
|
|
|
a8cd6b |
set plugin_extra_elf_tests [list \
|
|
|
a8cd6b |
[list "plugin set symbol visibility" "-plugin $plugin_path $regclm \
|
|
|
a8cd6b |
$regas $regcln -plugin-opt claim:tmpdir/func.o \
|
|
|
a8cd6b |
diff -rup binutils.orig/ld/testsuite/ld-powerpc/powerpc.exp binutils-2.38/ld/testsuite/ld-powerpc/powerpc.exp
|
|
|
a8cd6b |
--- binutils.orig/ld/testsuite/ld-powerpc/powerpc.exp 2022-04-04 13:59:22.231980915 +0100
|
|
|
a8cd6b |
+++ binutils-2.38/ld/testsuite/ld-powerpc/powerpc.exp 2022-04-04 14:41:26.284062500 +0100
|
|
|
a8cd6b |
@@ -89,6 +89,10 @@ proc supports_ppc64 { } {
|
|
|
a8cd6b |
}
|
|
|
a8cd6b |
}
|
|
|
a8cd6b |
|
|
|
a8cd6b |
+if { [istarget "powerpc*-*-linux*"] } {
|
|
|
a8cd6b |
+ return
|
|
|
a8cd6b |
+}
|
|
|
a8cd6b |
+
|
|
|
a8cd6b |
# List contains test-items with 3 items followed by 2 lists:
|
|
|
a8cd6b |
# 0:name 1:ld early options 2:ld late options 3:assembler options
|
|
|
a8cd6b |
# 4:filenames of assembler files 5: action and options. 6: name of output file
|
|
|
a8cd6b |
diff -rup binutils.orig/ld/testsuite/ld-s390/s390.exp binutils-2.38/ld/testsuite/ld-s390/s390.exp
|
|
|
a8cd6b |
--- binutils.orig/ld/testsuite/ld-s390/s390.exp 2022-04-04 15:44:24.998233218 +0100
|
|
|
a8cd6b |
+++ binutils-2.38/ld/testsuite/ld-s390/s390.exp 2022-04-04 15:45:53.073628315 +0100
|
|
|
a8cd6b |
@@ -26,6 +26,8 @@ if { !([istarget "s390-*-*"] || [istarge
|
|
|
a8cd6b |
return
|
|
|
a8cd6b |
}
|
|
|
a8cd6b |
|
|
|
a8cd6b |
+return
|
|
|
a8cd6b |
+
|
|
|
a8cd6b |
# List contains test-items with 3 items followed by 2 lists:
|
|
|
a8cd6b |
# 0:name 1:ld early options 2:ld late options 3:assembler options
|
|
|
a8cd6b |
# 4:filenames of assembler files 5: action and options. 6: name of output file
|
|
|
a8cd6b |
diff -rup binutils.orig/ld/testsuite/ld-elf/linux-x86.exp binutils-2.38/ld/testsuite/ld-elf/linux-x86.exp
|
|
|
a8cd6b |
--- binutils.orig/ld/testsuite/ld-elf/linux-x86.exp 2022-04-05 09:52:24.952024715 +0100
|
|
|
a8cd6b |
+++ binutils-2.38/ld/testsuite/ld-elf/linux-x86.exp 2022-04-05 09:56:58.449705429 +0100
|
|
|
a8cd6b |
@@ -73,6 +73,10 @@ run_ld_link_tests [list \
|
|
|
a8cd6b |
] \
|
|
|
a8cd6b |
]
|
|
|
a8cd6b |
|
|
|
a8cd6b |
+if { [istarget "i[3-6]86-*-*"] } {
|
|
|
a8cd6b |
+ return
|
|
|
a8cd6b |
+}
|
|
|
a8cd6b |
+
|
|
|
a8cd6b |
run_cc_link_tests [list \
|
|
|
a8cd6b |
[list \
|
|
|
a8cd6b |
"Build indirect-extern-access-1.so" \
|
|
|
a8cd6b |
diff -rup binutils.orig/ld/testsuite/ld-gc/pr13683.d binutils-2.38/ld/testsuite/ld-gc/pr13683.d
|
|
|
a8cd6b |
--- binutils.orig/ld/testsuite/ld-gc/pr13683.d 2022-04-05 09:52:24.827025355 +0100
|
|
|
a8cd6b |
+++ binutils-2.38/ld/testsuite/ld-gc/pr13683.d 2022-04-05 10:14:02.876611522 +0100
|
|
|
a8cd6b |
@@ -2,7 +2,7 @@
|
|
|
a8cd6b |
#source: dummy.s
|
|
|
a8cd6b |
#ld: --gc-sections -e main --defsym foo=foo2 tmpdir/pr13683.o
|
|
|
a8cd6b |
#nm: --format=bsd
|
|
|
a8cd6b |
-#xfail: iq2000-*-* lm32-*-* epiphany-*-* mips64vr-*-* frv-*-* m32c-*-* rl78-*-* rx-*-* sh-*-* powerpc*-*-eabivle msp430-*-* aarch64*-*-* arm*-*-*
|
|
|
a8cd6b |
+#xfail: iq2000-*-* lm32-*-* epiphany-*-* mips64vr-*-* frv-*-* m32c-*-* rl78-*-* rx-*-* sh-*-* powerpc*-*-eabivle msp430-*-* arm*-*-*
|
|
|
a8cd6b |
|
|
|
a8cd6b |
# Note - look for both "foo" and "foo2" being defined, non-zero function symbols
|
|
|
a8cd6b |
|
|
|
a8cd6b |
diff -rup binutils.orig/ld/testsuite/ld-gc/pr19161.d binutils-2.38/ld/testsuite/ld-gc/pr19161.d
|
|
|
a8cd6b |
--- binutils.orig/ld/testsuite/ld-gc/pr19161.d 2022-04-05 09:52:24.827025355 +0100
|
|
|
a8cd6b |
+++ binutils-2.38/ld/testsuite/ld-gc/pr19161.d 2022-04-05 10:14:10.636579174 +0100
|
|
|
a8cd6b |
@@ -2,7 +2,7 @@
|
|
|
a8cd6b |
#source: dummy.s
|
|
|
a8cd6b |
#ld: --gc-sections -e main tmpdir/pr19161-1.o tmpdir/pr19161-2.o
|
|
|
a8cd6b |
#nm: --format=bsd
|
|
|
a8cd6b |
-#xfail: epiphany-*-* frv-*-* iq2000-*-* lm32-*-* m32c-*-* aarch64*-*-* arm*-*-*
|
|
|
a8cd6b |
+#xfail: epiphany-*-* frv-*-* iq2000-*-* lm32-*-* m32c-*-* arm*-*-*
|
|
|
a8cd6b |
#xfail: mips64vr-*-* msp430-*-* powerpc*-*-eabivle rl78-*-* rx-*-* sh*-*-*
|
|
|
a8cd6b |
|
|
|
a8cd6b |
#...
|
|
|
a8cd6b |
diff -rup binutils.orig/ld/testsuite/ld-vsb/vsb.exp binutils-2.38/ld/testsuite/ld-vsb/vsb.exp
|
|
|
a8cd6b |
--- binutils.orig/ld/testsuite/ld-vsb/vsb.exp 2022-04-05 09:52:24.824025370 +0100
|
|
|
a8cd6b |
+++ binutils-2.38/ld/testsuite/ld-vsb/vsb.exp 2022-04-05 09:59:04.657193470 +0100
|
|
|
a8cd6b |
@@ -123,6 +123,10 @@ if { [istarget *-*-linux*]
|
|
|
a8cd6b |
}
|
|
|
a8cd6b |
}
|
|
|
a8cd6b |
|
|
|
a8cd6b |
+if { [istarget "i[3-6]86-*-*"] } {
|
|
|
a8cd6b |
+ set support_protected "no"
|
|
|
a8cd6b |
+}
|
|
|
a8cd6b |
+
|
|
|
a8cd6b |
# The test procedure.
|
|
|
a8cd6b |
proc visibility_test { visibility progname testname main sh1 sh2 dat args } {
|
|
|
a8cd6b |
global CC_FOR_TARGET
|
|
|
a8cd6b |
diff -rup binutils.orig/ld/testsuite/lib/ld-lib.exp binutils-2.38/ld/testsuite/lib/ld-lib.exp
|
|
|
a8cd6b |
--- binutils.orig/ld/testsuite/lib/ld-lib.exp 2022-04-05 09:52:24.822025380 +0100
|
|
|
a8cd6b |
+++ binutils-2.38/ld/testsuite/lib/ld-lib.exp 2022-04-05 09:53:51.076584341 +0100
|
|
|
a8cd6b |
@@ -1658,6 +1658,10 @@ proc skip_ctf_tests { } {
|
|
|
a8cd6b |
return 1
|
|
|
a8cd6b |
}
|
|
|
a8cd6b |
|
|
|
a8cd6b |
+ if [istarget "i[3-6]86-*-*"] } {
|
|
|
a8cd6b |
+ return 1
|
|
|
a8cd6b |
+ }
|
|
|
a8cd6b |
+
|
|
|
a8cd6b |
if [check_ctf_available] {
|
|
|
a8cd6b |
return 0
|
|
|
a8cd6b |
}
|