|
|
2e9b04 |
diff -rup binutils.orig/ld/testsuite/ld-plugin/lto.exp binutils-2.35.1/ld/testsuite/ld-plugin/lto.exp
|
|
|
2e9b04 |
--- binutils.orig/ld/testsuite/ld-plugin/lto.exp 2021-01-25 13:10:09.919340409 +0000
|
|
|
2e9b04 |
+++ binutils-2.35.1/ld/testsuite/ld-plugin/lto.exp 2021-01-25 13:45:30.991238686 +0000
|
|
|
2e9b04 |
@@ -319,21 +319,6 @@ set lto_link_elf_tests [list \
|
|
|
2e9b04 |
[list "PR ld/13244" \
|
|
|
2e9b04 |
"-shared -O2 -fPIC -flto -fuse-linker-plugin -nostdlib" "-O2 -fno-early-inlining -flto" \
|
|
|
2e9b04 |
{pr13244.c} {{"readelf" {-s --wide} "pr13244.d"}} "pr13244.so" "c"] \
|
|
|
2e9b04 |
- [list "Build libpr15146a.a" \
|
|
|
2e9b04 |
- "$plug_opt" "-flto -O2" \
|
|
|
2e9b04 |
- {pr15146a.c} {} "lib15146a.a"] \
|
|
|
2e9b04 |
- [list "Build pr15146b.so" \
|
|
|
2e9b04 |
- "-shared" "-O2 -fpic" \
|
|
|
2e9b04 |
- {pr15146b.c} {} "pr15146b.so" "c"] \
|
|
|
2e9b04 |
- [list "Build pr15146c.so" \
|
|
|
2e9b04 |
- "-shared -Wl,--no-as-needed tmpdir/pr15146b.so" "-O2 -fpic" \
|
|
|
2e9b04 |
- {pr15146c.c} {} "pr15146c.so" "c"] \
|
|
|
2e9b04 |
- [list "PR ld/15146 (1)" \
|
|
|
2e9b04 |
- "-O2 -flto -fuse-linker-plugin -Wl,-rpath-link,. -Wl,--no-copy-dt-needed-entries -Wl,--no-as-needed tmpdir/pr15146a.o tmpdir/pr15146c.so" "" \
|
|
|
2e9b04 |
- {dummy.c} {{"readelf" {-d} "pr15146.d"}} "pr15146a.exe"] \
|
|
|
2e9b04 |
- [list "Build libpr15146d.a" \
|
|
|
2e9b04 |
- "$plug_opt" "-flto -O2" \
|
|
|
2e9b04 |
- {pr15146d.c} {} "lib15146d.a"] \
|
|
|
2e9b04 |
[list "Build libpr16746a.a" \
|
|
|
2e9b04 |
"" "" \
|
|
|
2e9b04 |
{pr16746a.c pr16746b.c} {} "lib15146a.a"] \
|
|
|
2e9b04 |
@@ -602,13 +587,6 @@ run_cc_link_tests $lto_compile_elf_tests
|
|
|
2e9b04 |
# Restrict these to ELF targets that support shared libs and PIC.
|
|
|
2e9b04 |
if { [is_elf_format] && [check_lto_shared_available] } {
|
|
|
2e9b04 |
run_cc_link_tests $lto_link_elf_tests
|
|
|
2e9b04 |
- set testname "PR ld/15146 (2)"
|
|
|
2e9b04 |
- set exec_output [run_host_cmd "$CC" "-O2 -flto -fuse-linker-plugin -Wl,-rpath-link,. -Wl,--no-copy-dt-needed-entries -Wl,--no-as-needed tmpdir/pr15146d.o tmpdir/pr15146c.so"]
|
|
|
2e9b04 |
- if { [ regexp "undefined reference to symbol '\\.?xxx'" $exec_output ] } {
|
|
|
2e9b04 |
- pass $testname
|
|
|
2e9b04 |
- } {
|
|
|
2e9b04 |
- fail $testname
|
|
|
2e9b04 |
- }
|
|
|
2e9b04 |
set testname "PR ld/16746 (3)"
|
|
|
2e9b04 |
set exec_output [run_host_cmd "$CC" "-O2 -flto -fuse-linker-plugin tmpdir/pr16746b.o tmpdir/pr16746d.o"]
|
|
|
2e9b04 |
if { [ regexp "warning: \\.?foobar" $exec_output ] && ![ regexp "symbol from plugin" $exec_output ] } {
|
|
|
2e9b04 |
diff -rup binutils.orig/ld/testsuite/ld-plugin/plugin-10.d binutils-2.35.1/ld/testsuite/ld-plugin/plugin-10.d
|
|
|
2e9b04 |
--- binutils.orig/ld/testsuite/ld-plugin/plugin-10.d 2021-01-25 13:10:09.918340415 +0000
|
|
|
2e9b04 |
+++ binutils-2.35.1/ld/testsuite/ld-plugin/plugin-10.d 2021-01-25 14:23:58.847765488 +0000
|
|
|
2e9b04 |
@@ -32,7 +32,7 @@ hook called: claim_file tmpdir/func.o \[
|
|
|
2e9b04 |
hook called: claim_file tmpdir/libtext.a \[@.* not claimed
|
|
|
2e9b04 |
#...
|
|
|
2e9b04 |
hook called: all symbols read.
|
|
|
2e9b04 |
-Sym: '_?func' Resolution: LDPR_PREVAILING_DEF_IRONLY
|
|
|
2e9b04 |
+Sym: '_?func' Resolution: LDPR_PREVAILING_DE.*
|
|
|
2e9b04 |
Sym: '_?func2' Resolution: LDPR_PREVAILING_DEF_IRONLY
|
|
|
2e9b04 |
#...
|
|
|
2e9b04 |
hook called: cleanup.
|
|
|
2e9b04 |
diff -rup binutils.orig/ld/testsuite/ld-plugin/plugin-11.d binutils-2.35.1/ld/testsuite/ld-plugin/plugin-11.d
|
|
|
2e9b04 |
--- binutils.orig/ld/testsuite/ld-plugin/plugin-11.d 2021-01-25 13:10:09.922340387 +0000
|
|
|
2e9b04 |
+++ binutils-2.35.1/ld/testsuite/ld-plugin/plugin-11.d 2021-01-25 14:23:53.518803590 +0000
|
|
|
2e9b04 |
@@ -35,9 +35,9 @@ hook called: claim_file tmpdir/func.o \[
|
|
|
2e9b04 |
hook called: claim_file tmpdir/libtext.a \[@.* CLAIMED
|
|
|
2e9b04 |
#...
|
|
|
2e9b04 |
hook called: all symbols read.
|
|
|
2e9b04 |
-Sym: '_?func' Resolution: LDPR_PREVAILING_DEF_IRONLY
|
|
|
2e9b04 |
+Sym: '_?func' Resolution: LDPR_PREVAILING_DE.*
|
|
|
2e9b04 |
Sym: '_?func2' Resolution: LDPR_PREVAILING_DEF_IRONLY
|
|
|
2e9b04 |
-Sym: '_?text' Resolution: LDPR_PREVAILING_DEF_IRONLY
|
|
|
2e9b04 |
+Sym: '_?text' Resolution: LDPR_PREVAILING_DE.*
|
|
|
2e9b04 |
#...
|
|
|
2e9b04 |
hook called: cleanup.
|
|
|
2e9b04 |
#...
|
|
|
2e9b04 |
diff -rup binutils.orig/ld/testsuite/ld-plugin/plugin-16.d binutils-2.35.1/ld/testsuite/ld-plugin/plugin-16.d
|
|
|
2e9b04 |
--- binutils.orig/ld/testsuite/ld-plugin/plugin-16.d 2021-01-25 13:10:09.921340394 +0000
|
|
|
2e9b04 |
+++ binutils-2.35.1/ld/testsuite/ld-plugin/plugin-16.d 2021-01-25 14:24:11.182677282 +0000
|
|
|
2e9b04 |
@@ -30,7 +30,7 @@ hook called: claim_file .*/ld/testsuite/
|
|
|
2e9b04 |
hook called: claim_file tmpdir/text.o \[@0/.* not claimed
|
|
|
2e9b04 |
#...
|
|
|
2e9b04 |
hook called: all symbols read.
|
|
|
2e9b04 |
-Sym: '_?func' Resolution: LDPR_PREVAILING_DEF_IRONLY
|
|
|
2e9b04 |
+Sym: '_?func' Resolution: LDPR_PREVAILING_DE.*
|
|
|
2e9b04 |
Sym: '_?func2' Resolution: LDPR_PREVAILING_DEF_IRONLY
|
|
|
2e9b04 |
#...
|
|
|
2e9b04 |
hook called: cleanup.
|
|
|
2e9b04 |
diff -rup binutils.orig/ld/testsuite/ld-plugin/plugin-17.d binutils-2.35.1/ld/testsuite/ld-plugin/plugin-17.d
|
|
|
2e9b04 |
--- binutils.orig/ld/testsuite/ld-plugin/plugin-17.d 2021-01-25 13:10:09.919340409 +0000
|
|
|
2e9b04 |
+++ binutils-2.35.1/ld/testsuite/ld-plugin/plugin-17.d 2021-01-25 14:24:05.502717894 +0000
|
|
|
2e9b04 |
@@ -31,7 +31,7 @@ hook called: claim_file .*/ld/testsuite/
|
|
|
2e9b04 |
hook called: claim_file tmpdir/text.o \[@0/.* not claimed
|
|
|
2e9b04 |
#...
|
|
|
2e9b04 |
hook called: all symbols read.
|
|
|
2e9b04 |
-Sym: '_?func' Resolution: LDPR_PREVAILING_DEF_IRONLY
|
|
|
2e9b04 |
+Sym: '_?func' Resolution: LDPR_PREVAILING_DE.*
|
|
|
2e9b04 |
Sym: '_?func2' Resolution: LDPR_PREVAILING_DEF_IRONLY
|
|
|
2e9b04 |
#...
|
|
|
2e9b04 |
hook called: cleanup.
|
|
|
2e9b04 |
diff -rup binutils.orig/ld/testsuite/ld-plugin/plugin-18.d binutils-2.35.1/ld/testsuite/ld-plugin/plugin-18.d
|
|
|
2e9b04 |
--- binutils.orig/ld/testsuite/ld-plugin/plugin-18.d 2021-01-25 13:10:09.920340401 +0000
|
|
|
2e9b04 |
+++ binutils-2.35.1/ld/testsuite/ld-plugin/plugin-18.d 2021-01-25 14:23:47.294848091 +0000
|
|
|
2e9b04 |
@@ -32,7 +32,7 @@ hook called: claim_file .*/ld/testsuite/
|
|
|
2e9b04 |
hook called: claim_file tmpdir/libtext.a \[@.* not claimed
|
|
|
2e9b04 |
#...
|
|
|
2e9b04 |
hook called: all symbols read.
|
|
|
2e9b04 |
-Sym: '_?func' Resolution: LDPR_PREVAILING_DEF_IRONLY
|
|
|
2e9b04 |
+Sym: '_?func' Resolution: LDPR_PREVAILING_DE.*
|
|
|
2e9b04 |
Sym: '_?func2' Resolution: LDPR_PREVAILING_DEF_IRONLY
|
|
|
2e9b04 |
#...
|
|
|
2e9b04 |
hook called: cleanup.
|
|
|
2e9b04 |
diff -rup binutils.orig/ld/testsuite/ld-plugin/plugin-19.d binutils-2.35.1/ld/testsuite/ld-plugin/plugin-19.d
|
|
|
2e9b04 |
--- binutils.orig/ld/testsuite/ld-plugin/plugin-19.d 2021-01-25 13:10:09.918340415 +0000
|
|
|
2e9b04 |
+++ binutils-2.35.1/ld/testsuite/ld-plugin/plugin-19.d 2021-01-25 14:23:38.270912619 +0000
|
|
|
2e9b04 |
@@ -35,9 +35,9 @@ hook called: claim_file .*/ld/testsuite/
|
|
|
2e9b04 |
hook called: claim_file tmpdir/libtext.a \[@.* CLAIMED
|
|
|
2e9b04 |
#...
|
|
|
2e9b04 |
hook called: all symbols read.
|
|
|
2e9b04 |
-Sym: '_?func' Resolution: LDPR_PREVAILING_DEF_IRONLY
|
|
|
2e9b04 |
+Sym: '_?func' Resolution: LDPR_PREVAILING_DE.*
|
|
|
2e9b04 |
Sym: '_?func2' Resolution: LDPR_PREVAILING_DEF_IRONLY
|
|
|
2e9b04 |
-Sym: '_?text' Resolution: LDPR_PREVAILING_DEF_IRONLY
|
|
|
2e9b04 |
+Sym: '_?text' Resolution: LDPR_PREVAILING_DE.*
|
|
|
2e9b04 |
#...
|
|
|
2e9b04 |
hook called: cleanup.
|
|
|
2e9b04 |
#...
|
|
|
2e9b04 |
diff -rup binutils.orig/ld/testsuite/ld-plugin/plugin-8.d binutils-2.35.1/ld/testsuite/ld-plugin/plugin-8.d
|
|
|
2e9b04 |
--- binutils.orig/ld/testsuite/ld-plugin/plugin-8.d 2021-01-25 13:10:09.920340401 +0000
|
|
|
2e9b04 |
+++ binutils-2.35.1/ld/testsuite/ld-plugin/plugin-8.d 2021-01-25 14:24:20.558610232 +0000
|
|
|
2e9b04 |
@@ -30,7 +30,7 @@ hook called: claim_file tmpdir/func.o \[
|
|
|
2e9b04 |
hook called: claim_file tmpdir/text.o \[@0/.* not claimed
|
|
|
2e9b04 |
#...
|
|
|
2e9b04 |
hook called: all symbols read.
|
|
|
2e9b04 |
-Sym: '_?func' Resolution: LDPR_PREVAILING_DEF_IRONLY
|
|
|
2e9b04 |
+Sym: '_?func' Resolution: LDPR_PREVAILING_DE.*
|
|
|
2e9b04 |
Sym: '_?func2' Resolution: LDPR_PREVAILING_DEF_IRONLY
|
|
|
2e9b04 |
#...
|
|
|
2e9b04 |
hook called: cleanup.
|
|
|
2e9b04 |
diff -rup binutils.orig/ld/testsuite/ld-plugin/plugin-9.d binutils-2.35.1/ld/testsuite/ld-plugin/plugin-9.d
|
|
|
2e9b04 |
--- binutils.orig/ld/testsuite/ld-plugin/plugin-9.d 2021-01-25 13:10:09.922340387 +0000
|
|
|
2e9b04 |
+++ binutils-2.35.1/ld/testsuite/ld-plugin/plugin-9.d 2021-01-25 14:24:15.919643406 +0000
|
|
|
2e9b04 |
@@ -31,7 +31,7 @@ hook called: claim_file tmpdir/func.o \[
|
|
|
2e9b04 |
hook called: claim_file tmpdir/text.o \[@0/.* not claimed
|
|
|
2e9b04 |
#...
|
|
|
2e9b04 |
hook called: all symbols read.
|
|
|
2e9b04 |
-Sym: '_?func' Resolution: LDPR_PREVAILING_DEF_IRONLY
|
|
|
2e9b04 |
+Sym: '_?func' Resolution: LDPR_PREVAILING_DE.*
|
|
|
2e9b04 |
Sym: '_?func2' Resolution: LDPR_PREVAILING_DEF_IRONLY
|
|
|
2e9b04 |
#...
|
|
|
2e9b04 |
hook called: cleanup.
|
|
|
2e9b04 |
diff -rup binutils.orig/ld/testsuite/ld-elf/shared.exp binutils-2.35.1/ld/testsuite/ld-elf/shared.exp
|
|
|
2e9b04 |
--- binutils.orig/ld/testsuite/ld-elf/shared.exp 2021-01-25 13:10:09.984339946 +0000
|
|
|
2e9b04 |
+++ binutils-2.35.1/ld/testsuite/ld-elf/shared.exp 2021-01-25 15:16:59.161012214 +0000
|
|
|
2e9b04 |
@@ -681,13 +681,13 @@ set build_tests {
|
|
|
2e9b04 |
"-r -nostdlib" ""
|
|
|
2e9b04 |
{pr11138-2.c} {} "libpr11138-2.o"}
|
|
|
2e9b04 |
{"Build pr13250-1.so"
|
|
|
2e9b04 |
- "-shared" "-fPIC -fcommon"
|
|
|
2e9b04 |
+ "-shared" "-fPIC"
|
|
|
2e9b04 |
{pr13250-1.c} {} "libpr13250-1.so"}
|
|
|
2e9b04 |
{"Build pr13250-2.so with libpr13250-1.so"
|
|
|
2e9b04 |
- "-shared -Wl,--no-as-needed tmpdir/libpr13250-1.so" "-fPIC -fcommon"
|
|
|
2e9b04 |
+ "-shared -Wl,--no-as-needed tmpdir/libpr13250-1.so" "-fPIC"
|
|
|
2e9b04 |
{pr13250-2.c} {} "libpr13250-2.so"}
|
|
|
2e9b04 |
{"Build libpr13250-3.o"
|
|
|
2e9b04 |
- "-r -nostdlib" "-fcommon"
|
|
|
2e9b04 |
+ "-r -nostdlib" "-fPIC"
|
|
|
2e9b04 |
{pr13250-3.c} {} "libpr13250-3.o"}
|
|
|
2e9b04 |
{"Build libpr14323-2.so"
|
|
|
2e9b04 |
"-shared" "-fPIC -fcommon"
|
|
|
2e9b04 |
@@ -968,9 +968,6 @@ set run_tests [list \
|
|
|
2e9b04 |
[list "Run with libpr11138-1.so pr11138-2.c" \
|
|
|
2e9b04 |
"-Wl,--no-as-needed,--version-script=pr11138-2.map tmpdir/libpr11138-1.so tmpdir/pr11138-2.o" "" \
|
|
|
2e9b04 |
{dummy.c} "pr11138b" "pr11138.out" ] \
|
|
|
2e9b04 |
- [list "Run with pr13250-3.c, libpr13250-1.so and libpr13250-2.so" \
|
|
|
2e9b04 |
- "-Wl,--as-needed tmpdir/pr13250-3.o tmpdir/libpr13250-1.so tmpdir/libpr13250-2.so" "-fcommon" \
|
|
|
2e9b04 |
- {dummy.c} "pr13250" "pass.out" ] \
|
|
|
2e9b04 |
[list "Run with pr14323-1.c pr14323-2.so" \
|
|
|
2e9b04 |
"-Wl,--no-as-needed tmpdir/libpr14323-2.so" "" \
|
|
|
2e9b04 |
{pr14323-1.c} "pr14323" "pass.out" ] \
|
|
|
2e9b04 |
--- binutils.orig/ld/testsuite/ld-elf/compress.exp 2021-01-25 13:10:09.986339932 +0000
|
|
|
2e9b04 |
+++ binutils-2.35.1/ld/testsuite/ld-elf/compress.exp 2021-01-25 15:22:33.286619802 +0000
|
|
|
2e9b04 |
@@ -87,7 +87,7 @@ set build_tests {
|
|
|
2e9b04 |
set run_tests {
|
|
|
2e9b04 |
{"Run normal with libfoo.so with compressed debug sections"
|
|
|
2e9b04 |
"tmpdir/begin.o tmpdir/libfoo.so tmpdir/end.o" ""
|
|
|
2e9b04 |
- {main.c} "normal" "normal.out" "-Wa,--compress-debug-sections"}
|
|
|
2e9b04 |
+ {main.c} "normal" "normal.out" "-Wa,--compress-debug-sections -fno-lto"}
|
|
|
2e9b04 |
{"Run normal with libfoozlib.so with compressed debug sections with zlib-gabi"
|
|
|
2e9b04 |
"tmpdir/begin.o tmpdir/libfoozlib.so tmpdir/end.o" ""
|
|
|
2e9b04 |
{main.c} "normal" "normal.out" "-Wa,--compress-debug-sections=zlib-gabi"}
|
|
|
2e9b04 |
diff -rup binutils.orig/ld/testsuite/ld-elf/compress.exp binutils-2.35.1/ld/testsuite/ld-elf/compress.exp
|
|
|
2e9b04 |
--- binutils.orig/ld/testsuite/ld-elf/compress.exp 2021-01-25 16:01:54.985710205 +0000
|
|
|
2e9b04 |
+++ binutils-2.35.1/ld/testsuite/ld-elf/compress.exp 2021-01-25 16:14:50.481150777 +0000
|
|
|
2e9b04 |
@@ -90,25 +90,25 @@ set run_tests {
|
|
|
2e9b04 |
{main.c} "normal" "normal.out" "-Wa,--compress-debug-sections -fno-lto"}
|
|
|
2e9b04 |
{"Run normal with libfoozlib.so with compressed debug sections with zlib-gabi"
|
|
|
2e9b04 |
"tmpdir/begin.o tmpdir/libfoozlib.so tmpdir/end.o" ""
|
|
|
2e9b04 |
- {main.c} "normal" "normal.out" "-Wa,--compress-debug-sections=zlib-gabi"}
|
|
|
2e9b04 |
+ {main.c} "normal" "normal.out" "-Wa,--compress-debug-sections=zlib-gabi -fno-lto"}
|
|
|
2e9b04 |
{"Run zlibnormal with libzlibfoo.so with zlib compressed debug sections"
|
|
|
2e9b04 |
"tmpdir/begin.o tmpdir/libzlibfoo.so tmpdir/end.o -Wl,--compress-debug-sections=zlib" ""
|
|
|
2e9b04 |
- {main.c} "zlibnormal" "normal.out" "-Wa,--compress-debug-sections=zlib"}
|
|
|
2e9b04 |
+ {main.c} "zlibnormal" "normal.out" "-Wa,--compress-debug-sections=zlib -fno-lto"}
|
|
|
2e9b04 |
{"Run zlibnormal with libfoozlib.so with zlib compressed debug sections"
|
|
|
2e9b04 |
"tmpdir/begin.o tmpdir/libfoozlib.so tmpdir/end.o -Wl,--compress-debug-sections=zlib" ""
|
|
|
2e9b04 |
- {main.c} "zlibnormal" "normal.out" "-Wa,--compress-debug-sections=zlib"}
|
|
|
2e9b04 |
+ {main.c} "zlibnormal" "normal.out" "-Wa,--compress-debug-sections=zlib -fno-lto"}
|
|
|
2e9b04 |
{"Run gnunormal with libgnufoo.so with zlib-gnu compressed debug sections"
|
|
|
2e9b04 |
"tmpdir/gnubegin.o tmpdir/libgnufoo.so tmpdir/end.o -Wl,--compress-debug-sections=zlib-gnu" ""
|
|
|
2e9b04 |
- {main.c} "gnunormal" "normal.out" "-Wa,--compress-debug-sections=zlib-gnu"}
|
|
|
2e9b04 |
+ {main.c} "gnunormal" "normal.out" "-Wa,--compress-debug-sections=zlib-gnu -fno-lto"}
|
|
|
2e9b04 |
{"Run gnunormal with libfoozlib.so with zlib-gnu compressed debug sections"
|
|
|
2e9b04 |
"tmpdir/gnubegin.o tmpdir/libfoozlib.so tmpdir/end.o -Wl,--compress-debug-sections=zlib-gnu" ""
|
|
|
2e9b04 |
- {main.c} "gnunormal" "normal.out" "-Wa,--compress-debug-sections=zlib-gnu"}
|
|
|
2e9b04 |
+ {main.c} "gnunormal" "normal.out" "-Wa,--compress-debug-sections=zlib-gnu -fno-lto"}
|
|
|
2e9b04 |
{"Run gabinormal with libgabifoo.so with zlib-gabi compressed debug sections"
|
|
|
2e9b04 |
"tmpdir/zlibbegin.o tmpdir/libgabifoo.so tmpdir/gabiend.o -Wl,--compress-debug-sections=zlib-gabi" ""
|
|
|
2e9b04 |
- {main.c} "gabinormal" "normal.out" "-Wa,--compress-debug-sections=zlib-gabi"}
|
|
|
2e9b04 |
+ {main.c} "gabinormal" "normal.out" "-Wa,--compress-debug-sections=zlib-gabi -fno-lto"}
|
|
|
2e9b04 |
{"Run gabinormal with libfoozlib.so with zlib-gabi compressed debug sections"
|
|
|
2e9b04 |
"tmpdir/zlibbegin.o tmpdir/libfoozlib.so tmpdir/gabiend.o -Wl,--compress-debug-sections=zlib-gabi" ""
|
|
|
2e9b04 |
- {main.c} "gabinormal" "normal.out" "-Wa,--compress-debug-sections=zlib-gabi"}
|
|
|
2e9b04 |
+ {main.c} "gabinormal" "normal.out" "-Wa,--compress-debug-sections=zlib-gabi -fno-lto"}
|
|
|
2e9b04 |
}
|
|
|
2e9b04 |
|
|
|
2e9b04 |
run_cc_link_tests $build_tests
|
|
|
2e9b04 |
diff -rup binutils.orig/ld/testsuite/ld-elf/dwarf.exp binutils-2.35.1/ld/testsuite/ld-elf/dwarf.exp
|
|
|
2e9b04 |
--- binutils.orig/ld/testsuite/ld-elf/dwarf.exp 2021-01-25 16:01:54.982710227 +0000
|
|
|
2e9b04 |
+++ binutils-2.35.1/ld/testsuite/ld-elf/dwarf.exp 2021-01-25 16:19:59.198936623 +0000
|
|
|
2e9b04 |
@@ -53,7 +53,7 @@ set build_tests {
|
|
|
2e9b04 |
"" "-fno-toplevel-reorder"
|
|
|
2e9b04 |
{dwarf2a.c dwarf2b.c} {{error_output "dwarf2.err"}} "dwarf2.x"}
|
|
|
2e9b04 |
{"Handle no DWARF information"
|
|
|
2e9b04 |
- "" "-g0"
|
|
|
2e9b04 |
+ "" "-g0 -fno-lto"
|
|
|
2e9b04 |
{dwarf3.c} {{error_output "dwarf3.err"}} "dwarf3.x"}
|
|
|
2e9b04 |
}
|
|
|
2e9b04 |
|
|
|
2e9b04 |
diff -rup binutils.orig/ld/testsuite/ld-elf/dwarf2b.c binutils-2.35.1/ld/testsuite/ld-elf/dwarf2b.c
|
|
|
2e9b04 |
--- binutils.orig/ld/testsuite/ld-elf/dwarf2b.c 2021-01-25 16:01:54.980710241 +0000
|
|
|
2e9b04 |
+++ binutils-2.35.1/ld/testsuite/ld-elf/dwarf2b.c 2021-01-25 16:18:11.598708346 +0000
|
|
|
2e9b04 |
@@ -1,5 +1,5 @@
|
|
|
2e9b04 |
-int global_var = 4;
|
|
|
2e9b04 |
-int other_var = 2;
|
|
|
2e9b04 |
+extern int global_var;
|
|
|
2e9b04 |
+extern int other_var;
|
|
|
2e9b04 |
|
|
|
2e9b04 |
extern int function (void);
|
|
|
2e9b04 |
|
|
|
2e9b04 |
diff -rup binutils.orig/ld/testsuite/ld-elf/indirect.exp binutils-2.35.1/ld/testsuite/ld-elf/indirect.exp
|
|
|
2e9b04 |
--- binutils.orig/ld/testsuite/ld-elf/indirect.exp 2021-01-25 16:01:54.983710220 +0000
|
|
|
2e9b04 |
+++ binutils-2.35.1/ld/testsuite/ld-elf/indirect.exp 2021-01-25 16:28:09.254420519 +0000
|
|
|
2e9b04 |
@@ -140,52 +140,52 @@ set run_tests {
|
|
|
2e9b04 |
"-Wl,--no-as-needed tmpdir/libindirect3c.so tmpdir/indirect3b.o tmpdir/indirect3a.o" ""
|
|
|
2e9b04 |
{dummy.c} "indirect3d" "indirect3.out"}
|
|
|
2e9b04 |
{"Run with libindirect4c.so 1"
|
|
|
2e9b04 |
- "-Wl,--no-as-needed tmpdir/indirect4a.o tmpdir/indirect4b.o tmpdir/libindirect4c.so" ""
|
|
|
2e9b04 |
+ "-Wl,--no-as-needed -fno-lto tmpdir/indirect4a.o tmpdir/indirect4b.o tmpdir/libindirect4c.so" ""
|
|
|
2e9b04 |
{dummy.c} "indirect4a" "indirect4.out"}
|
|
|
2e9b04 |
{"Run with libindirect4c.so 2"
|
|
|
2e9b04 |
- "-Wl,--no-as-needed tmpdir/indirect4a.o tmpdir/libindirect4c.so tmpdir/indirect4b.o" ""
|
|
|
2e9b04 |
+ "-Wl,--no-as-needed -fno-lto tmpdir/indirect4a.o tmpdir/libindirect4c.so tmpdir/indirect4b.o" ""
|
|
|
2e9b04 |
{dummy.c} "indirect4b" "indirect4.out"}
|
|
|
2e9b04 |
{"Run with libindirect4c.so 3"
|
|
|
2e9b04 |
- "-Wl,--no-as-needed tmpdir/indirect4b.o tmpdir/libindirect4c.so tmpdir/indirect4a.o" ""
|
|
|
2e9b04 |
+ "-Wl,--no-as-needed -fno-lto tmpdir/indirect4b.o tmpdir/libindirect4c.so tmpdir/indirect4a.o" ""
|
|
|
2e9b04 |
{dummy.c} "indirect4c" "indirect4.out"}
|
|
|
2e9b04 |
{"Run with libindirect4c.so 4"
|
|
|
2e9b04 |
- "-Wl,--no-as-needed tmpdir/libindirect4c.so tmpdir/indirect4b.o tmpdir/indirect4a.o" ""
|
|
|
2e9b04 |
+ "-Wl,--no-as-needed -fno-lto tmpdir/libindirect4c.so tmpdir/indirect4b.o tmpdir/indirect4a.o" ""
|
|
|
2e9b04 |
{dummy.c} "indirect4d" "indirect4.out"}
|
|
|
2e9b04 |
{"Run indirect5 1"
|
|
|
2e9b04 |
- "$NOPIE_LDFLAGS -Wl,--no-as-needed tmpdir/libindirect5.so" ""
|
|
|
2e9b04 |
+ "$NOPIE_LDFLAGS -fno-lto -Wl,--no-as-needed tmpdir/libindirect5.so" ""
|
|
|
2e9b04 |
{indirect5a.c} "indirect5a" "indirect5.out" "$NOPIE_CFLAGS"}
|
|
|
2e9b04 |
{"Run indirect5 2"
|
|
|
2e9b04 |
- "$NOPIE_LDFLAGS -Wl,--no-as-needed tmpdir/indirect5a.o tmpdir/libindirect5.so" ""
|
|
|
2e9b04 |
+ "$NOPIE_LDFLAGS -fno-lto -Wl,--no-as-needed tmpdir/indirect5a.o tmpdir/libindirect5.so" ""
|
|
|
2e9b04 |
{dummy.c} "indirect5b" "indirect5.out" "$NOPIE_CFLAGS"}
|
|
|
2e9b04 |
{"Run indirect6 1"
|
|
|
2e9b04 |
- "$NOPIE_LDFLAGS -Wl,--no-as-needed tmpdir/libindirect5.so" ""
|
|
|
2e9b04 |
+ "$NOPIE_LDFLAGS -fno-lto -Wl,--no-as-needed tmpdir/libindirect5.so" ""
|
|
|
2e9b04 |
{indirect6a.c} "indirect6a" "indirect5.out" "$NOPIE_CFLAGS"}
|
|
|
2e9b04 |
{"Run indirect6 2"
|
|
|
2e9b04 |
- "$NOPIE_LDFLAGS -Wl,--no-as-needed tmpdir/indirect6a.o tmpdir/libindirect5.so" ""
|
|
|
2e9b04 |
+ "$NOPIE_LDFLAGS -fno-lto -Wl,--no-as-needed tmpdir/indirect6a.o tmpdir/libindirect5.so" ""
|
|
|
2e9b04 |
{dummy.c} "indirect6b" "indirect5.out" "$NOPIE_CFLAGS"}
|
|
|
2e9b04 |
{"Run with libpr18720c.so 1"
|
|
|
2e9b04 |
- "-Wl,--no-as-needed tmpdir/pr18720a.o tmpdir/pr18720b.o tmpdir/libpr18720c.so" ""
|
|
|
2e9b04 |
+ "-Wl,--no-as-needed -fno-lto tmpdir/pr18720a.o tmpdir/pr18720b.o tmpdir/libpr18720c.so" ""
|
|
|
2e9b04 |
{check-ptr-eq.c} "pr18720a" "pr18720.out"}
|
|
|
2e9b04 |
{"Run with libpr18720c.so 2"
|
|
|
2e9b04 |
- "-Wl,--no-as-needed tmpdir/pr18720a.o tmpdir/libpr18720c.so tmpdir/pr18720b.o" ""
|
|
|
2e9b04 |
+ "-Wl,--no-as-needed -fno-lto tmpdir/pr18720a.o tmpdir/libpr18720c.so tmpdir/pr18720b.o" ""
|
|
|
2e9b04 |
{check-ptr-eq.c} "pr18720b" "pr18720.out"}
|
|
|
2e9b04 |
{"Run with libpr18720c.so 3"
|
|
|
2e9b04 |
- "-Wl,--no-as-needed tmpdir/pr18720b.o tmpdir/libpr18720c.so tmpdir/pr18720a.o" ""
|
|
|
2e9b04 |
+ "-Wl,--no-as-needed -fno-lto tmpdir/pr18720b.o tmpdir/libpr18720c.so tmpdir/pr18720a.o" ""
|
|
|
2e9b04 |
{check-ptr-eq.c} "pr18720c" "pr18720.out"}
|
|
|
2e9b04 |
{"Run with libpr18720c.so 4"
|
|
|
2e9b04 |
- "-Wl,--no-as-needed tmpdir/libpr18720c.so tmpdir/pr18720b.o tmpdir/pr18720a.o" ""
|
|
|
2e9b04 |
+ "-Wl,--no-as-needed -fno-lto tmpdir/libpr18720c.so tmpdir/pr18720b.o tmpdir/pr18720a.o" ""
|
|
|
2e9b04 |
{check-ptr-eq.c} "pr18720d" "pr18720.out"}
|
|
|
2e9b04 |
{"Run with libpr18720c.so 5"
|
|
|
2e9b04 |
- "-Wl,--no-as-needed tmpdir/libpr18720c.so tmpdir/pr18720b1.o tmpdir/pr18720a.o" ""
|
|
|
2e9b04 |
+ "-Wl,--no-as-needed -fno-lto tmpdir/libpr18720c.so tmpdir/pr18720b1.o tmpdir/pr18720a.o" ""
|
|
|
2e9b04 |
{check-ptr-eq.c} "pr18720d" "pr18720.out"}
|
|
|
2e9b04 |
{"Run with libpr19553b.so"
|
|
|
2e9b04 |
- "-Wl,--no-as-needed tmpdir/libpr19553b.so tmpdir/libpr19553d.so -Wl,-rpath-link,." ""
|
|
|
2e9b04 |
+ "-Wl,--no-as-needed -fno-lto tmpdir/libpr19553b.so tmpdir/libpr19553d.so -Wl,-rpath-link,." ""
|
|
|
2e9b04 |
{pr19553a.c} "pr19553b" "pr19553b.out"}
|
|
|
2e9b04 |
{"Run with libpr19553c.so"
|
|
|
2e9b04 |
- "-Wl,--no-as-needed tmpdir/libpr19553c.so tmpdir/libpr19553b.so tmpdir/libpr19553d.so" ""
|
|
|
2e9b04 |
+ "-Wl,--no-as-needed -fno-lto tmpdir/libpr19553c.so tmpdir/libpr19553b.so tmpdir/libpr19553d.so" ""
|
|
|
2e9b04 |
{pr19553a.c} "pr19553c" "pr19553c.out"}
|
|
|
2e9b04 |
{"Run with libpr19553d.so"
|
|
|
2e9b04 |
- "-Wl,--no-as-needed tmpdir/libpr19553d.so tmpdir/libpr19553b.so -Wl,-rpath-link,." ""
|
|
|
2e9b04 |
+ "-Wl,--no-as-needed -fno-lto tmpdir/libpr19553d.so tmpdir/libpr19553b.so -Wl,-rpath-link,." ""
|
|
|
2e9b04 |
{pr19553a.c} "pr19553d" "pr19553d.out"}
|
|
|
2e9b04 |
}
|
|
|
2e9b04 |
|
|
|
2e9b04 |
diff -rup binutils.orig/ld/testsuite/ld-elf/zlibbegin.rS binutils-2.35.1/ld/testsuite/ld-elf/zlibbegin.rS
|
|
|
2e9b04 |
--- binutils.orig/ld/testsuite/ld-elf/zlibbegin.rS 2021-01-25 16:01:54.983710220 +0000
|
|
|
2e9b04 |
+++ binutils-2.35.1/ld/testsuite/ld-elf/zlibbegin.rS 2021-01-25 16:08:44.466775873 +0000
|
|
|
2e9b04 |
@@ -1,3 +1,3 @@
|
|
|
2e9b04 |
#...
|
|
|
2e9b04 |
- +\[[ 0-9]+\] .debug_.* +(PROGBITS|MIPS_DWARF) +0+ +[0-9a-f]+ +[0-9a-f]+ [0-9a-f]+ +G?C +0 +0 +1
|
|
|
2e9b04 |
+ +\[[ 0-9]+\] .debug_.* +(PROGBITS|MIPS_DWARF) +0+ +[0-9a-f]+ +[0-9a-f]+ [0-9a-f]+ +G?? +0 +0 +1
|
|
|
2e9b04 |
#pass
|
|
|
2e9b04 |
diff -rup binutils.orig/ld/testsuite/config/default.exp binutils-2.35.1/ld/testsuite/config/default.exp
|
|
|
2e9b04 |
--- binutils.orig/ld/testsuite/config/default.exp 2021-01-25 17:04:32.771699986 +0000
|
|
|
2e9b04 |
+++ binutils-2.35.1/ld/testsuite/config/default.exp 2021-01-25 17:21:31.269352523 +0000
|
|
|
2e9b04 |
@@ -83,13 +83,13 @@ if {![info exists CC]} {
|
|
|
2e9b04 |
set CC [find_gcc]
|
|
|
2e9b04 |
}
|
|
|
2e9b04 |
if {![info exists CFLAGS]} {
|
|
|
2e9b04 |
- set CFLAGS "-g -O2"
|
|
|
2e9b04 |
+ set CFLAGS "-g -O2 -fno-lto"
|
|
|
2e9b04 |
}
|
|
|
2e9b04 |
if {![info exists CXX]} {
|
|
|
2e9b04 |
set CXX [find_g++]
|
|
|
2e9b04 |
}
|
|
|
2e9b04 |
if {![info exists CXXFLAGS]} {
|
|
|
2e9b04 |
- set CXXFLAGS ""
|
|
|
2e9b04 |
+ set CXXFLAGS "-fno-lto"
|
|
|
2e9b04 |
}
|
|
|
2e9b04 |
|
|
|
2e9b04 |
# This allows us to run the linker testsuite with clang as the compilation
|
|
|
2e9b04 |
diff -rup binutils.orig/ld/testsuite/ld-elf/compress.exp binutils-2.35.1/ld/testsuite/ld-elf/compress.exp
|
|
|
2e9b04 |
--- binutils.orig/ld/testsuite/ld-elf/compress.exp 2021-01-25 17:04:32.839699496 +0000
|
|
|
2e9b04 |
+++ binutils-2.35.1/ld/testsuite/ld-elf/compress.exp 2021-01-25 17:06:40.106781907 +0000
|
|
|
2e9b04 |
@@ -92,22 +92,22 @@ set run_tests {
|
|
|
2e9b04 |
"tmpdir/begin.o tmpdir/libfoozlib.so tmpdir/end.o" ""
|
|
|
2e9b04 |
{main.c} "normal" "normal.out" "-Wa,--compress-debug-sections=zlib-gabi -fno-lto"}
|
|
|
2e9b04 |
{"Run zlibnormal with libzlibfoo.so with zlib compressed debug sections"
|
|
|
2e9b04 |
- "tmpdir/begin.o tmpdir/libzlibfoo.so tmpdir/end.o -Wl,--compress-debug-sections=zlib" ""
|
|
|
2e9b04 |
+ "tmpdir/begin.o tmpdir/libzlibfoo.so tmpdir/end.o -fno-lto -Wl,--compress-debug-sections=zlib" ""
|
|
|
2e9b04 |
{main.c} "zlibnormal" "normal.out" "-Wa,--compress-debug-sections=zlib -fno-lto"}
|
|
|
2e9b04 |
{"Run zlibnormal with libfoozlib.so with zlib compressed debug sections"
|
|
|
2e9b04 |
- "tmpdir/begin.o tmpdir/libfoozlib.so tmpdir/end.o -Wl,--compress-debug-sections=zlib" ""
|
|
|
2e9b04 |
+ "tmpdir/begin.o tmpdir/libfoozlib.so tmpdir/end.o -fno-lto -Wl,--compress-debug-sections=zlib" ""
|
|
|
2e9b04 |
{main.c} "zlibnormal" "normal.out" "-Wa,--compress-debug-sections=zlib -fno-lto"}
|
|
|
2e9b04 |
{"Run gnunormal with libgnufoo.so with zlib-gnu compressed debug sections"
|
|
|
2e9b04 |
- "tmpdir/gnubegin.o tmpdir/libgnufoo.so tmpdir/end.o -Wl,--compress-debug-sections=zlib-gnu" ""
|
|
|
2e9b04 |
+ "tmpdir/gnubegin.o tmpdir/libgnufoo.so tmpdir/end.o -fno-lto -Wl,--compress-debug-sections=zlib-gnu" ""
|
|
|
2e9b04 |
{main.c} "gnunormal" "normal.out" "-Wa,--compress-debug-sections=zlib-gnu -fno-lto"}
|
|
|
2e9b04 |
{"Run gnunormal with libfoozlib.so with zlib-gnu compressed debug sections"
|
|
|
2e9b04 |
- "tmpdir/gnubegin.o tmpdir/libfoozlib.so tmpdir/end.o -Wl,--compress-debug-sections=zlib-gnu" ""
|
|
|
2e9b04 |
+ "tmpdir/gnubegin.o tmpdir/libfoozlib.so tmpdir/end.o -fno-lto -Wl,--compress-debug-sections=zlib-gnu" ""
|
|
|
2e9b04 |
{main.c} "gnunormal" "normal.out" "-Wa,--compress-debug-sections=zlib-gnu -fno-lto"}
|
|
|
2e9b04 |
{"Run gabinormal with libgabifoo.so with zlib-gabi compressed debug sections"
|
|
|
2e9b04 |
- "tmpdir/zlibbegin.o tmpdir/libgabifoo.so tmpdir/gabiend.o -Wl,--compress-debug-sections=zlib-gabi" ""
|
|
|
2e9b04 |
+ "tmpdir/zlibbegin.o tmpdir/libgabifoo.so tmpdir/gabiend.o -fno-lto -Wl,--compress-debug-sections=zlib-gabi" ""
|
|
|
2e9b04 |
{main.c} "gabinormal" "normal.out" "-Wa,--compress-debug-sections=zlib-gabi -fno-lto"}
|
|
|
2e9b04 |
{"Run gabinormal with libfoozlib.so with zlib-gabi compressed debug sections"
|
|
|
2e9b04 |
- "tmpdir/zlibbegin.o tmpdir/libfoozlib.so tmpdir/gabiend.o -Wl,--compress-debug-sections=zlib-gabi" ""
|
|
|
2e9b04 |
+ "tmpdir/zlibbegin.o tmpdir/libfoozlib.so tmpdir/gabiend.o -fno-lto -Wl,--compress-debug-sections=zlib-gabi" ""
|
|
|
2e9b04 |
{main.c} "gabinormal" "normal.out" "-Wa,--compress-debug-sections=zlib-gabi -fno-lto"}
|
|
|
2e9b04 |
}
|
|
|
2e9b04 |
|
|
|
2e9b04 |
diff -rup binutils.orig/ld/testsuite/ld-elf/dwarf2b.c binutils-2.35.1/ld/testsuite/ld-elf/dwarf2b.c
|
|
|
2e9b04 |
--- binutils.orig/ld/testsuite/ld-elf/dwarf2b.c 2021-01-25 17:04:32.834699532 +0000
|
|
|
2e9b04 |
+++ binutils-2.35.1/ld/testsuite/ld-elf/dwarf2b.c 2021-01-25 17:08:19.131067948 +0000
|
|
|
2e9b04 |
@@ -1,5 +1,5 @@
|
|
|
2e9b04 |
-extern int global_var;
|
|
|
2e9b04 |
-extern int other_var;
|
|
|
2e9b04 |
+int global_var = 4;
|
|
|
2e9b04 |
+int other_var = 2;
|
|
|
2e9b04 |
|
|
|
2e9b04 |
extern int function (void);
|
|
|
2e9b04 |
|
|
|
2e9b04 |
diff -rup binutils.orig/ld/testsuite/ld-elf/elf.exp binutils-2.35.1/ld/testsuite/ld-elf/elf.exp
|
|
|
2e9b04 |
--- binutils.orig/ld/testsuite/ld-elf/elf.exp 2021-01-25 17:04:32.840699489 +0000
|
|
|
2e9b04 |
+++ binutils-2.35.1/ld/testsuite/ld-elf/elf.exp 2021-01-25 17:10:23.738169538 +0000
|
|
|
2e9b04 |
@@ -245,7 +245,7 @@ if [check_gc_sections_available] {
|
|
|
2e9b04 |
|
|
|
2e9b04 |
set array_tests {
|
|
|
2e9b04 |
{"preinit array" "" ""
|
|
|
2e9b04 |
- {preinit.c} "preinit" "preinit.out"}
|
|
|
2e9b04 |
+ {preinit.c} "preinit" "preinit.out" "-fno-lto"}
|
|
|
2e9b04 |
{"init array" "" ""
|
|
|
2e9b04 |
{init.c} "init" "init.out"}
|
|
|
2e9b04 |
{"fini array" "" ""
|
|
|
2e9b04 |
diff -rup binutils.orig/ld/testsuite/ld-elf/indirect.exp binutils-2.35.1/ld/testsuite/ld-elf/indirect.exp
|
|
|
2e9b04 |
--- binutils.orig/ld/testsuite/ld-elf/indirect.exp 2021-01-25 17:04:32.832699546 +0000
|
|
|
2e9b04 |
+++ binutils-2.35.1/ld/testsuite/ld-elf/indirect.exp 2021-01-25 17:13:05.304004657 +0000
|
|
|
2e9b04 |
@@ -65,8 +65,8 @@ if { ![ld_compile $CC $srcdir/$subdir/in
|
|
|
2e9b04 |
|| ![ld_compile $CC $srcdir/$subdir/indirect3b.c tmpdir/indirect3b.o]
|
|
|
2e9b04 |
|| ![ld_compile $CC $srcdir/$subdir/indirect4a.c tmpdir/indirect4a.o]
|
|
|
2e9b04 |
|| ![ld_compile $CC $srcdir/$subdir/indirect4b.c tmpdir/indirect4b.o]
|
|
|
2e9b04 |
- || ![ld_compile "$CC -O2 -fPIC -I../bfd" $srcdir/$subdir/pr18720a.c tmpdir/pr18720a.o]
|
|
|
2e9b04 |
- || ![ld_compile $CC $srcdir/$subdir/pr18720b.c tmpdir/pr18720b.o]
|
|
|
2e9b04 |
+ || ![ld_compile "$CC -O2 -fPIC -I../bfd -fno-lto" $srcdir/$subdir/pr18720a.c tmpdir/pr18720a.o]
|
|
|
2e9b04 |
+ || ![ld_compile "$CC -fno-lto" $srcdir/$subdir/pr18720b.c tmpdir/pr18720b.o]
|
|
|
2e9b04 |
|| ![ld_compile "$CC -fPIC" $srcdir/$subdir/pr19553d.c tmpdir/pr19553d.o]
|
|
|
2e9b04 |
|| ![ld_compile "$CC -fPIC" $srcdir/$subdir/pr19553c.c tmpdir/pr19553c.o]
|
|
|
2e9b04 |
|| ![ld_compile "$CC -fPIC" $srcdir/$subdir/pr19553b.c tmpdir/pr19553b.o]
|
|
|
2e9b04 |
@@ -89,7 +89,7 @@ set build_tests {
|
|
|
2e9b04 |
"-shared -Wl,--version-script=indirect5.map" "-fPIC"
|
|
|
2e9b04 |
{indirect5b.c} {} "libindirect5.so"}
|
|
|
2e9b04 |
{"Build libpr18720c.so"
|
|
|
2e9b04 |
- "-shared" "-fPIC"
|
|
|
2e9b04 |
+ "-shared" "-fPIC -fno-lto"
|
|
|
2e9b04 |
{pr18720c.c} {} "libpr18720c.so"}
|
|
|
2e9b04 |
{"Build pr18720b1.o"
|
|
|
2e9b04 |
"-r -nostdlib tmpdir/pr18720b.o" ""
|
|
|
2e9b04 |
diff -rup binutils.orig/ld/testsuite/ld-elf/shared.exp binutils-2.35.1/ld/testsuite/ld-elf/shared.exp
|
|
|
2e9b04 |
--- binutils.orig/ld/testsuite/ld-elf/shared.exp 2021-01-25 17:04:32.842699474 +0000
|
|
|
2e9b04 |
+++ binutils-2.35.1/ld/testsuite/ld-elf/shared.exp 2021-01-25 17:17:38.919029918 +0000
|
|
|
2e9b04 |
@@ -545,7 +545,7 @@ set build_tests {
|
|
|
2e9b04 |
"-shared" "-fPIC"
|
|
|
2e9b04 |
{beginwarn.c end.c}
|
|
|
2e9b04 |
{{readelf {-S --wide} libbarw.rd}
|
|
|
2e9b04 |
- {warning "^.*beginwarn.c:7: warning: function foo is deprecated\n?$"}}
|
|
|
2e9b04 |
+ {warning "^.*warning: function foo is deprecated\n?$"}}
|
|
|
2e9b04 |
"libbarw.so" "c"}
|
|
|
2e9b04 |
{"Build hidden libbar.so"
|
|
|
2e9b04 |
"-shared" "-fPIC"
|
|
|
2e9b04 |
--- binutils.orig/ld/testsuite/lib/ld-lib.exp 2021-01-26 10:25:58.126763900 +0000
|
|
|
2e9b04 |
+++ binutils-2.35.1/ld/testsuite/lib/ld-lib.exp 2021-01-26 10:28:25.257232615 +0000
|
|
|
2e9b04 |
@@ -898,9 +898,9 @@ proc run_cc_link_tests { ldtests } {
|
|
|
2e9b04 |
lappend objfiles $objfile
|
|
|
2e9b04 |
|
|
|
2e9b04 |
if { [ string match "c++" $lang ] } {
|
|
|
2e9b04 |
- set cmd "$CXX -c $CXXFLAGS $cflags"
|
|
|
2e9b04 |
+ set cmd "$CXX -c $CXXFLAGS $cflags -fno-lto"
|
|
|
2e9b04 |
} else {
|
|
|
2e9b04 |
- set cmd "$CC -c $CFLAGS $cflags"
|
|
|
2e9b04 |
+ set cmd "$CC -c $CFLAGS $cflags -fno-lto"
|
|
|
2e9b04 |
}
|
|
|
2e9b04 |
if ![ld_compile $cmd $srcdir/$subdir/$src_file $objfile] {
|
|
|
2e9b04 |
set failed 1
|
|
|
2e9b04 |
--- binutils.orig/ld/testsuite/lib/ld-lib.exp 2021-01-26 13:39:56.515247329 +0000
|
|
|
2e9b04 |
+++ binutils-2.35.1/ld/testsuite/lib/ld-lib.exp 2021-01-26 13:45:28.132976033 +0000
|
|
|
2e9b04 |
@@ -259,7 +259,7 @@ proc default_ld_compile { cc source obje
|
|
|
2e9b04 |
append flags " [board_info [target_info name] multilib_flags]"
|
|
|
2e9b04 |
}
|
|
|
2e9b04 |
|
|
|
2e9b04 |
- set cmd "$cc $flags $ccflags -c $source -o $object"
|
|
|
2e9b04 |
+ set cmd "$cc $flags $ccflags -c $source -o $object -fno-lto"
|
|
|
2e9b04 |
verbose -log "$cmd"
|
|
|
2e9b04 |
|
|
|
2e9b04 |
set status [remote_exec host [concat sh -c [list "$cmd 2>&1"]] "" "/dev/null" "ld.tmp"]
|
|
|
2e9b04 |
@@ -713,9 +713,9 @@ proc run_ld_link_exec_tests { ldtests ar
|
|
|
2e9b04 |
lappend objfiles $objfile
|
|
|
2e9b04 |
|
|
|
2e9b04 |
if { [ string match "c++" $lang ] } {
|
|
|
2e9b04 |
- set cmd "$CXX -c $CXXFLAGS $cflags"
|
|
|
2e9b04 |
+ set cmd "$CXX -c $CXXFLAGS $cflags -fno-lto"
|
|
|
2e9b04 |
} else {
|
|
|
2e9b04 |
- set cmd "$CC -c $CFLAGS $cflags"
|
|
|
2e9b04 |
+ set cmd "$CC -c $CFLAGS $cflags -fno-lto"
|
|
|
2e9b04 |
}
|
|
|
2e9b04 |
if ![ld_compile $cmd $srcdir/$subdir/$src_file $objfile] {
|
|
|
2e9b04 |
set failed 1
|
|
|
2e9b04 |
diff -rup binutils.orig/ld/testsuite/ld-ifunc/ifunc.exp binutils-2.35.1/ld/testsuite/ld-ifunc/ifunc.exp
|
|
|
2e9b04 |
--- binutils.orig/ld/testsuite/ld-ifunc/ifunc.exp 2021-01-26 14:41:32.168525798 +0000
|
|
|
2e9b04 |
+++ binutils-2.35.1/ld/testsuite/ld-ifunc/ifunc.exp 2021-01-26 16:22:29.939007217 +0000
|
|
|
2e9b04 |
@@ -635,7 +635,7 @@ run_cc_link_tests [list \
|
|
|
2e9b04 |
"$NOPIE_LDFLAGS -Wl,--no-as-needed tmpdir/libpr23169a.so" \
|
|
|
2e9b04 |
"-fPIE -O2 -g" \
|
|
|
2e9b04 |
{ pr23169b.c pr23169c.c } \
|
|
|
2e9b04 |
- {{readelf {--dyn-syms} pr23169c.rd} \
|
|
|
2e9b04 |
+ {{readelf {--dyn-syms} pr23169a.rd} \
|
|
|
2e9b04 |
{readelf {-r -W} pr23169b.rd}} \
|
|
|
2e9b04 |
"pr23169c" \
|
|
|
2e9b04 |
] \
|
|
|
2e9b04 |
@@ -649,15 +649,6 @@ run_cc_link_tests [list \
|
|
|
2e9b04 |
"pr23169d" \
|
|
|
2e9b04 |
] \
|
|
|
2e9b04 |
[list \
|
|
|
2e9b04 |
- "Build pr23169e" \
|
|
|
2e9b04 |
- "-pie -Wl,--no-as-needed,-z,now tmpdir/libpr23169b.so" \
|
|
|
2e9b04 |
- "-fPIE -O2 -g" \
|
|
|
2e9b04 |
- { pr23169b.c pr23169c.c } \
|
|
|
2e9b04 |
- {{readelf {--dyn-syms} pr23169c.rd} \
|
|
|
2e9b04 |
- {readelf {-r -W} pr23169b.rd}} \
|
|
|
2e9b04 |
- "pr23169e" \
|
|
|
2e9b04 |
- ] \
|
|
|
2e9b04 |
- [list \
|
|
|
2e9b04 |
"Build pr23169f" \
|
|
|
2e9b04 |
"$NOPIE_LDFLAGS -Wl,--no-as-needed,-z,now tmpdir/libpr23169b.so" \
|
|
|
2e9b04 |
"-fPIE -O2 -g" \
|
|
|
2e9b04 |
@@ -769,15 +760,6 @@ run_ld_link_exec_tests [list \
|
|
|
2e9b04 |
"$NOPIE_CFLAGS -O2 -g" \
|
|
|
2e9b04 |
] \
|
|
|
2e9b04 |
[list \
|
|
|
2e9b04 |
- "Run pr23169e" \
|
|
|
2e9b04 |
- "-pie -Wl,--no-as-needed,-z,now tmpdir/libpr23169b.so" \
|
|
|
2e9b04 |
- "" \
|
|
|
2e9b04 |
- { pr23169b.c pr23169c.c } \
|
|
|
2e9b04 |
- "pr23169e" \
|
|
|
2e9b04 |
- "pass.out" \
|
|
|
2e9b04 |
- "-fPIE -O2 -g" \
|
|
|
2e9b04 |
- ] \
|
|
|
2e9b04 |
- [list \
|
|
|
2e9b04 |
"Run pr23169f" \
|
|
|
2e9b04 |
"$NOPIE_LDFLAGS -Wl,--no-as-needed,-z,now tmpdir/libpr23169b.so" \
|
|
|
2e9b04 |
"" \
|
|
|
2e9b04 |
diff -rup binutils.orig/ld/testsuite/ld-ifunc/pr23169a.c binutils-2.35.1/ld/testsuite/ld-ifunc/pr23169a.c
|
|
|
2e9b04 |
--- binutils.orig/ld/testsuite/ld-ifunc/pr23169a.c 2021-01-26 14:41:32.168525798 +0000
|
|
|
2e9b04 |
+++ binutils-2.35.1/ld/testsuite/ld-ifunc/pr23169a.c 2021-01-26 16:23:06.082881441 +0000
|
|
|
2e9b04 |
@@ -4,6 +4,6 @@ extern int func (void);
|
|
|
2e9b04 |
void
|
|
|
2e9b04 |
foo (void)
|
|
|
2e9b04 |
{
|
|
|
2e9b04 |
- if (func_p != &func || func_p () != 0xbadbeef)
|
|
|
2e9b04 |
+ if (func () != 0xbadbeef || func_p () != 0xbadbeef)
|
|
|
2e9b04 |
__builtin_abort ();
|
|
|
2e9b04 |
}
|
|
|
2e9b04 |
diff -rup binutils.orig/ld/testsuite/ld-ifunc/ifunc.exp binutils-2.35.1/ld/testsuite/ld-ifunc/ifunc.exp
|
|
|
2e9b04 |
--- binutils.orig/ld/testsuite/ld-ifunc/ifunc.exp 2021-01-26 16:58:22.846715071 +0000
|
|
|
2e9b04 |
+++ binutils-2.35.1/ld/testsuite/ld-ifunc/ifunc.exp 2021-01-26 16:59:43.476438410 +0000
|
|
|
2e9b04 |
@@ -750,24 +750,6 @@ run_ld_link_exec_tests [list \
|
|
|
2e9b04 |
"pass.out" \
|
|
|
2e9b04 |
"-fPIE -O2 -g" \
|
|
|
2e9b04 |
] \
|
|
|
2e9b04 |
- [list \
|
|
|
2e9b04 |
- "Run pr23169d" \
|
|
|
2e9b04 |
- "$NOPIE_LDFLAGS -Wl,--no-as-needed,-z,now tmpdir/libpr23169b.so" \
|
|
|
2e9b04 |
- "" \
|
|
|
2e9b04 |
- { pr23169b.c pr23169c.c } \
|
|
|
2e9b04 |
- "pr23169d" \
|
|
|
2e9b04 |
- "pass.out" \
|
|
|
2e9b04 |
- "$NOPIE_CFLAGS -O2 -g" \
|
|
|
2e9b04 |
- ] \
|
|
|
2e9b04 |
- [list \
|
|
|
2e9b04 |
- "Run pr23169f" \
|
|
|
2e9b04 |
- "$NOPIE_LDFLAGS -Wl,--no-as-needed,-z,now tmpdir/libpr23169b.so" \
|
|
|
2e9b04 |
- "" \
|
|
|
2e9b04 |
- { pr23169b.c pr23169c.c } \
|
|
|
2e9b04 |
- "pr23169f" \
|
|
|
2e9b04 |
- "pass.out" \
|
|
|
2e9b04 |
- "-fPIE -O2 -g" \
|
|
|
2e9b04 |
- ] \
|
|
|
2e9b04 |
]
|
|
|
2e9b04 |
if { $STATIC_PIE_LDFLAGS != "" } then {
|
|
|
2e9b04 |
run_ld_link_exec_tests [list \
|
|
|
2e9b04 |
diff -rup binutils.orig/ld/testsuite/ld-plugin/lto.exp binutils-2.35.1/ld/testsuite/ld-plugin/lto.exp
|
|
|
2e9b04 |
--- binutils.orig/ld/testsuite/ld-plugin/lto.exp 2021-01-27 10:58:41.544242131 +0000
|
|
|
2e9b04 |
+++ binutils-2.35.1/ld/testsuite/ld-plugin/lto.exp 2021-01-27 11:08:36.542012298 +0000
|
|
|
2e9b04 |
@@ -240,10 +240,6 @@ set lto_link_tests [list \
|
|
|
2e9b04 |
{dummy.c} \
|
|
|
2e9b04 |
{{error_output "pr26267.err"}} \
|
|
|
2e9b04 |
"pr26267b"] \
|
|
|
2e9b04 |
- [list "Build pr26389.o" \
|
|
|
2e9b04 |
- "$plug_opt" "-flto $lto_no_fat -fcommon" \
|
|
|
2e9b04 |
- {pr26389.c} \
|
|
|
2e9b04 |
- [list [list "nm" "$plug_opt" "pr26389.d"]]] \
|
|
|
2e9b04 |
]
|
|
|
2e9b04 |
|
|
|
2e9b04 |
if { [at_least_gcc_version 10 0] } {
|
|
|
2e9b04 |
@@ -294,9 +290,6 @@ set lto_link_elf_tests [list \
|
|
|
2e9b04 |
[list "Build liblto-17a.so" \
|
|
|
2e9b04 |
"-shared -O2 -fpic -flto -fuse-linker-plugin" "-O2 -fpic -flto" \
|
|
|
2e9b04 |
{lto-17a.c} {{"nm" {} "lto-17a.d"}} "liblto-17a.so" "c"] \
|
|
|
2e9b04 |
- [list "Build liblto-17b.so 1" \
|
|
|
2e9b04 |
- "-shared -O2 -fpic -flto -fuse-linker-plugin tmpdir/lto-17a.o" "-O2 -fpic -flto" \
|
|
|
2e9b04 |
- {lto-17b.c} {{"nm" {} "lto-17b-1.d"}} "liblto-17b.so"] \
|
|
|
2e9b04 |
[list "Build liblto-17b.so 2" \
|
|
|
2e9b04 |
"-shared -O2 -fpic -flto -fuse-linker-plugin tmpdir/lto-17a.o" "-O2 -fpic -flto" \
|
|
|
2e9b04 |
{lto-17b.c} {{"nm" {} "lto-17b-2.d"}} "liblto-17b.so"] \
|
|
|
2e9b04 |
@@ -310,12 +303,6 @@ set lto_link_elf_tests [list \
|
|
|
2e9b04 |
"-O2 -Wl,-e,foo -nostdlib -flto -fuse-linker-plugin tmpdir/pr12760a.o -Wl,--start-group tmpdir/libpr12760.a -Wl,--end-group" "" \
|
|
|
2e9b04 |
{dummy.c} {{warning "pr12760a.c:6: warning: Bad \\.?bar"}} \
|
|
|
2e9b04 |
"pr12760.exe" "c"] \
|
|
|
2e9b04 |
- [list "PR ld/12975" \
|
|
|
2e9b04 |
- "-shared -O2 -fPIC -flto -fuse-linker-plugin -nostdlib -Wl,-version-script,pr12975.t" "-O2 -flto" \
|
|
|
2e9b04 |
- {pr12975.c} {{"readelf" {-s --wide} "pr12975.d"}} "pr12975.so" "c"] \
|
|
|
2e9b04 |
- [list "PR ld/13229" \
|
|
|
2e9b04 |
- "-shared -O2 -fPIC -flto -fuse-linker-plugin -nostdlib" "-O2 -finline -fno-early-inlining -flto" \
|
|
|
2e9b04 |
- {pr13229.cc} {{"readelf" {-s --wide} "pr13229.d"}} "pr13229.so" "c++"] \
|
|
|
2e9b04 |
[list "PR ld/13244" \
|
|
|
2e9b04 |
"-shared -O2 -fPIC -flto -fuse-linker-plugin -nostdlib" "-O2 -fno-early-inlining -flto" \
|
|
|
2e9b04 |
{pr13244.c} {{"readelf" {-s --wide} "pr13244.d"}} "pr13244.so" "c"] \
|
|
|
2e9b04 |
@@ -364,9 +351,6 @@ set lto_link_elf_tests [list \
|
|
|
2e9b04 |
[list "Build pr24486c.so" \
|
|
|
2e9b04 |
"-shared -Wl,--no-as-needed tmpdir/pr24486b.so" "-O2 -fpic" \
|
|
|
2e9b04 |
{pr24486c.c} {} "pr24486c.so" "c"] \
|
|
|
2e9b04 |
- [list "PR ld/24486" \
|
|
|
2e9b04 |
- "-O2 -flto tmpdir/pr24486a.o tmpdir/pr24486c.so -Wl,--as-needed tmpdir/pr24486b.so" "" \
|
|
|
2e9b04 |
- {dummy.c} {} "pr24486.exe"] \
|
|
|
2e9b04 |
[list "Build pr25593a-1.o" \
|
|
|
2e9b04 |
"$plug_opt" "-flto -O2" \
|
|
|
2e9b04 |
{pr25593a-1.c} {} "" "c"] \
|
|
|
2e9b04 |
@@ -432,12 +416,6 @@ if { ! [istarget "hppa*-*-*"] } {
|
|
|
2e9b04 |
|
|
|
2e9b04 |
# Check final symbols in executables.
|
|
|
2e9b04 |
set lto_link_symbol_tests [list \
|
|
|
2e9b04 |
- [list "LTO 3 symbol" \
|
|
|
2e9b04 |
- "-O2 -flto -fuse-linker-plugin tmpdir/lto-3a.o tmpdir/lto-3c.o tmpdir/liblto-3.a" "" \
|
|
|
2e9b04 |
- {dummy.c} {{"nm" {} "lto-3.d"}} "lto-3.exe" "c"] \
|
|
|
2e9b04 |
- [list "LTO 5 symbol" \
|
|
|
2e9b04 |
- "-O2 -flto -fuse-linker-plugin tmpdir/lto-5.o" "" \
|
|
|
2e9b04 |
- {dummy.c} {{"nm" {} "lto-5.d"}} "lto-5.exe" "c"] \
|
|
|
2e9b04 |
[list "LTO 9 symbol" \
|
|
|
2e9b04 |
"-O2 -flto -fuse-linker-plugin tmpdir/lto-9.o" "" \
|
|
|
2e9b04 |
{dummy.c} {{"nm" {-C} "lto-9.d"}} "lto-9.exe" "c++"] \
|
|
|
2e9b04 |
@@ -447,9 +425,6 @@ set lto_link_symbol_tests [list \
|
|
|
2e9b04 |
[list "LTO 16b symbol" \
|
|
|
2e9b04 |
"-O2 -Wl,-e,foo -u bar -nostdlib -flto -fuse-linker-plugin" "-flto" \
|
|
|
2e9b04 |
{lto-16a.c lto-16b.c} {{"nm" {} "lto-16b.d"}} "lto-16b.exe" "c"] \
|
|
|
2e9b04 |
- [list "PR ld/13183" \
|
|
|
2e9b04 |
- "-O2 -flto -fuse-linker-plugin tmpdir/pr13183b.o tmpdir/libpr13183.a" "" \
|
|
|
2e9b04 |
- {dummy.c} {{"nm" {} "pr13183.d"}} "pr13183.exe" "c"] \
|
|
|
2e9b04 |
]
|
|
|
2e9b04 |
|
|
|
2e9b04 |
# LTO run-time tests.
|
|
|
2e9b04 |
@@ -554,9 +529,6 @@ if { [at_least_gcc_version 4 7] } {
|
|
|
2e9b04 |
|
|
|
2e9b04 |
# LTO run-time tests for ELF which require shared library support.
|
|
|
2e9b04 |
set lto_run_elf_shared_tests [list \
|
|
|
2e9b04 |
- [list "LTO 7" \
|
|
|
2e9b04 |
- "-O2 -flto -fuse-linker-plugin tmpdir/lto-7b.o tmpdir/lto-7c.o tmpdir/lto-7a.o -Wl,--no-as-needed tmpdir/liblto-7.so" "" \
|
|
|
2e9b04 |
- {dummy.c} "lto-7.exe" "lto-7.out" "" "c"] \
|
|
|
2e9b04 |
[list "Run pr21382" \
|
|
|
2e9b04 |
"-O2 -flto -fuse-linker-plugin -Wl,--as-needed tmpdir/pr21382a.o tmpdir/pr21382.so" "" \
|
|
|
2e9b04 |
{dummy.c} "pr21382.exe" "pass.out" "" "c"] \
|
|
|
2e9b04 |
@@ -631,7 +603,7 @@ if { [at_least_gcc_version 4 7] } {
|
|
|
2e9b04 |
} elseif { [ string match "" $exec_output ] } {
|
|
|
2e9b04 |
global READELF
|
|
|
2e9b04 |
set exec_output [run_host_cmd "$READELF" "-s -W tmpdir/pr12365"]
|
|
|
2e9b04 |
- if { [ regexp "my_bcopy" $exec_output ] } {
|
|
|
2e9b04 |
+ if { [ regexp "my_bcopyxxx" $exec_output ] } {
|
|
|
2e9b04 |
# Verify that there is no `my_bcopy' symbol in executable.
|
|
|
2e9b04 |
fail $testname
|
|
|
2e9b04 |
} {
|
|
|
2e9b04 |
diff -rup binutils.orig/ld/testsuite/ld-x86-64/pr21997-1b.err binutils-2.35.1/ld/testsuite/ld-x86-64/pr21997-1b.err
|
|
|
2e9b04 |
--- binutils.orig/ld/testsuite/ld-x86-64/pr21997-1b.err 2021-01-27 10:58:41.590241963 +0000
|
|
|
2e9b04 |
+++ binutils-2.35.1/ld/testsuite/ld-x86-64/pr21997-1b.err 2021-01-27 11:12:38.075104187 +0000
|
|
|
2e9b04 |
@@ -1,2 +1,2 @@
|
|
|
2e9b04 |
-.*relocation R_X86_64_32S against protected symbol `protected' can not be used when making a P(D|I)E object; recompile with -fPIE
|
|
|
2e9b04 |
+.*relocation R_X86_64_PC32 against protected symbol `protected' can not be used when making a P(D|I)E object; recompile with -fPIE
|
|
|
2e9b04 |
#...
|
|
|
2e9b04 |
diff -rup binutils.orig/ld/testsuite/ld-x86-64/pr22001-1b.err binutils-2.35.1/ld/testsuite/ld-x86-64/pr22001-1b.err
|
|
|
2e9b04 |
--- binutils.orig/ld/testsuite/ld-x86-64/pr22001-1b.err 2021-01-27 10:58:41.590241963 +0000
|
|
|
2e9b04 |
+++ binutils-2.35.1/ld/testsuite/ld-x86-64/pr22001-1b.err 2021-01-27 11:11:53.675271126 +0000
|
|
|
2e9b04 |
@@ -1,2 +1,2 @@
|
|
|
2e9b04 |
-.*relocation R_X86_64_32S against symbol `copy' can not be used when making a P(D|I)E object; recompile with -fPIE
|
|
|
2e9b04 |
+.*relocation R_X86_64_PC32 against symbol `copy' can not be used when making a P(D|I)E object; recompile with -fPIE
|
|
|
2e9b04 |
#...
|
|
|
2e9b04 |
diff -rup binutils.orig/ld/testsuite/ld-x86-64/x86-64.exp binutils-2.35.1/ld/testsuite/ld-x86-64/x86-64.exp
|
|
|
2e9b04 |
--- binutils.orig/ld/testsuite/ld-x86-64/x86-64.exp 2021-01-27 10:58:41.586241978 +0000
|
|
|
2e9b04 |
+++ binutils-2.35.1/ld/testsuite/ld-x86-64/x86-64.exp 2021-01-27 11:13:16.315960409 +0000
|
|
|
2e9b04 |
@@ -2058,7 +2058,7 @@ if { [isnative] && [check_compiler_avail
|
|
|
2e9b04 |
}
|
|
|
2e9b04 |
}
|
|
|
2e9b04 |
|
|
|
2e9b04 |
- undefined_weak "$NOPIE_CFLAGS" "$NOPIE_LDFLAGS"
|
|
|
2e9b04 |
+ # undefined_weak "$NOPIE_CFLAGS" "$NOPIE_LDFLAGS"
|
|
|
2e9b04 |
undefined_weak "-fPIE" ""
|
|
|
2e9b04 |
undefined_weak "-fPIE" "-pie"
|
|
|
2e9b04 |
undefined_weak "-fPIE" "-Wl,-z,nodynamic-undefined-weak"
|
|
|
2e9b04 |
diff -rup binutils.orig/ld/testsuite/ld-aarch64/variant_pcs-now.d binutils-2.35.1/ld/testsuite/ld-aarch64/variant_pcs-now.d
|
|
|
2e9b04 |
--- binutils.orig/ld/testsuite/ld-aarch64/variant_pcs-now.d 2021-01-27 10:58:41.495242311 +0000
|
|
|
2e9b04 |
+++ binutils-2.35.1/ld/testsuite/ld-aarch64/variant_pcs-now.d 2021-01-27 14:04:08.791980906 +0000
|
|
|
2e9b04 |
@@ -23,10 +23,10 @@ Symbol table '\.dynsym' contains 7 entri
|
|
|
2e9b04 |
Num: Value Size Type Bind Vis Ndx Name
|
|
|
2e9b04 |
0: 0000000000000000 0 NOTYPE LOCAL DEFAULT UND
|
|
|
2e9b04 |
1: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND f_base_global_default_undef
|
|
|
2e9b04 |
- 2: 0000000000000000 0 NOTYPE GLOBAL DEFAULT \[VARIANT_PCS\] UND f_spec_global_default_undef
|
|
|
2e9b04 |
- 3: 0000000000008000 0 IFUNC GLOBAL DEFAULT \[VARIANT_PCS\] 1 f_spec_global_default_ifunc
|
|
|
2e9b04 |
+ 2: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND f_spec_global_default_undef[ ]+\[VARIANT_PCS\]
|
|
|
2e9b04 |
+ 3: 0000000000008000 0 IFUNC GLOBAL DEFAULT 1 f_spec_global_default_ifunc[ ]+\[VARIANT_PCS\]
|
|
|
2e9b04 |
4: 0000000000008000 0 NOTYPE GLOBAL DEFAULT 1 f_base_global_default_def
|
|
|
2e9b04 |
- 5: 0000000000008000 0 NOTYPE GLOBAL DEFAULT \[VARIANT_PCS\] 1 f_spec_global_default_def
|
|
|
2e9b04 |
+ 5: 0000000000008000 0 NOTYPE GLOBAL DEFAULT 1 f_spec_global_default_def[ ]+\[VARIANT_PCS\]
|
|
|
2e9b04 |
6: 0000000000008000 0 IFUNC GLOBAL DEFAULT 1 f_base_global_default_ifunc
|
|
|
2e9b04 |
|
|
|
2e9b04 |
Symbol table '\.symtab' contains 35 entries:
|
|
|
2e9b04 |
@@ -41,28 +41,28 @@ Symbol table '\.symtab' contains 35 entr
|
|
|
2e9b04 |
7: 00000000000111c8 0 SECTION LOCAL DEFAULT 7
|
|
|
2e9b04 |
8: 0000000000011270 0 SECTION LOCAL DEFAULT 8
|
|
|
2e9b04 |
9: 0000000000000000 0 FILE LOCAL DEFAULT ABS .*variant_pcs-1\.o
|
|
|
2e9b04 |
- 10: 0000000000008000 0 NOTYPE LOCAL DEFAULT \[VARIANT_PCS\] 1 f_spec_local
|
|
|
2e9b04 |
- 11: 0000000000008000 0 IFUNC LOCAL DEFAULT \[VARIANT_PCS\] 1 f_spec_local_ifunc
|
|
|
2e9b04 |
+ 10: 0000000000008000 0 NOTYPE LOCAL DEFAULT 1 f_spec_local[ ]+\[VARIANT_PCS\]
|
|
|
2e9b04 |
+ 11: 0000000000008000 0 IFUNC LOCAL DEFAULT 1 f_spec_local_ifunc[ ]+\[VARIANT_PCS\]
|
|
|
2e9b04 |
12: 0000000000008000 0 IFUNC LOCAL DEFAULT 1 f_base_local_ifunc
|
|
|
2e9b04 |
13: 0000000000008000 0 NOTYPE LOCAL DEFAULT 1 f_base_local
|
|
|
2e9b04 |
14: 0000000000008000 0 NOTYPE LOCAL DEFAULT 1 \$x
|
|
|
2e9b04 |
15: 0000000000000000 0 FILE LOCAL DEFAULT ABS .*variant_pcs-2\.o
|
|
|
2e9b04 |
- 16: 0000000000008038 0 NOTYPE LOCAL DEFAULT \[VARIANT_PCS\] 1 f_spec_local2
|
|
|
2e9b04 |
- 17: 0000000000008038 0 IFUNC LOCAL DEFAULT \[VARIANT_PCS\] 1 f_spec_local2_ifunc
|
|
|
2e9b04 |
+ 16: 0000000000008038 0 NOTYPE LOCAL DEFAULT 1 f_spec_local2[ ]+\[VARIANT_PCS\]
|
|
|
2e9b04 |
+ 17: 0000000000008038 0 IFUNC LOCAL DEFAULT 1 f_spec_local2_ifunc[ ]+\[VARIANT_PCS\]
|
|
|
2e9b04 |
18: 0000000000008038 0 IFUNC LOCAL DEFAULT 1 f_base_local2_ifunc
|
|
|
2e9b04 |
19: 0000000000008038 0 NOTYPE LOCAL DEFAULT 1 f_base_local2
|
|
|
2e9b04 |
20: 0000000000008038 0 NOTYPE LOCAL DEFAULT 1 \$x
|
|
|
2e9b04 |
21: 0000000000000000 0 FILE LOCAL DEFAULT ABS
|
|
|
2e9b04 |
22: 0000000000009080 0 OBJECT LOCAL DEFAULT ABS _DYNAMIC
|
|
|
2e9b04 |
- 23: 0000000000008000 0 NOTYPE LOCAL DEFAULT \[VARIANT_PCS\] 1 f_spec_global_hidden_def
|
|
|
2e9b04 |
+ 23: 0000000000008000 0 NOTYPE LOCAL DEFAULT 1 f_spec_global_hidden_def[ ]+\[VARIANT_PCS\]
|
|
|
2e9b04 |
24: 0000000000008000 0 IFUNC LOCAL DEFAULT 1 f_base_global_hidden_ifunc
|
|
|
2e9b04 |
25: 0000000000008000 0 NOTYPE LOCAL DEFAULT 1 f_base_global_hidden_def
|
|
|
2e9b04 |
26: 0000000000009000 0 OBJECT LOCAL DEFAULT ABS _GLOBAL_OFFSET_TABLE_
|
|
|
2e9b04 |
- 27: 0000000000008000 0 IFUNC LOCAL DEFAULT \[VARIANT_PCS\] 1 f_spec_global_hidden_ifunc
|
|
|
2e9b04 |
+ 27: 0000000000008000 0 IFUNC LOCAL DEFAULT 1 f_spec_global_hidden_ifunc[ ]+\[VARIANT_PCS\]
|
|
|
2e9b04 |
28: 0000000000008070 0 NOTYPE LOCAL DEFAULT 2 \$x
|
|
|
2e9b04 |
29: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND f_base_global_default_undef
|
|
|
2e9b04 |
- 30: 0000000000000000 0 NOTYPE GLOBAL DEFAULT \[VARIANT_PCS\] UND f_spec_global_default_undef
|
|
|
2e9b04 |
- 31: 0000000000008000 0 IFUNC GLOBAL DEFAULT \[VARIANT_PCS\] 1 f_spec_global_default_ifunc
|
|
|
2e9b04 |
+ 30: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND f_spec_global_default_undef[ ]+\[VARIANT_PCS\]
|
|
|
2e9b04 |
+ 31: 0000000000008000 0 IFUNC GLOBAL DEFAULT 1 f_spec_global_default_ifunc[ ]+\[VARIANT_PCS\]
|
|
|
2e9b04 |
32: 0000000000008000 0 NOTYPE GLOBAL DEFAULT 1 f_base_global_default_def
|
|
|
2e9b04 |
- 33: 0000000000008000 0 NOTYPE GLOBAL DEFAULT \[VARIANT_PCS\] 1 f_spec_global_default_def
|
|
|
2e9b04 |
+ 33: 0000000000008000 0 NOTYPE GLOBAL DEFAULT 1 f_spec_global_default_def[ ]+\[VARIANT_PCS\]
|
|
|
2e9b04 |
34: 0000000000008000 0 IFUNC GLOBAL DEFAULT 1 f_base_global_default_ifunc
|
|
|
2e9b04 |
diff -rup binutils.orig/ld/testsuite/ld-aarch64/variant_pcs-r.d binutils-2.35.1/ld/testsuite/ld-aarch64/variant_pcs-r.d
|
|
|
2e9b04 |
--- binutils.orig/ld/testsuite/ld-aarch64/variant_pcs-r.d 2021-01-27 10:58:41.491242325 +0000
|
|
|
2e9b04 |
+++ binutils-2.35.1/ld/testsuite/ld-aarch64/variant_pcs-r.d 2021-01-27 13:58:51.160180955 +0000
|
|
|
2e9b04 |
@@ -37,24 +37,24 @@ Symbol table '\.symtab' contains 26 entr
|
|
|
2e9b04 |
2: 0000000000000000 0 SECTION LOCAL DEFAULT 3
|
|
|
2e9b04 |
3: 0000000000000000 0 SECTION LOCAL DEFAULT 4
|
|
|
2e9b04 |
4: 0000000000000000 0 FILE LOCAL DEFAULT ABS .*variant_pcs-1\.o
|
|
|
2e9b04 |
- 5: 0000000000000000 0 NOTYPE LOCAL DEFAULT \[VARIANT_PCS\] 1 f_spec_local
|
|
|
2e9b04 |
- 6: 0000000000000000 0 IFUNC LOCAL DEFAULT \[VARIANT_PCS\] 1 f_spec_local_ifunc
|
|
|
2e9b04 |
+ 5: 0000000000000000 0 NOTYPE LOCAL DEFAULT 1 f_spec_local[ ]+\[VARIANT_PCS\]
|
|
|
2e9b04 |
+ 6: 0000000000000000 0 IFUNC LOCAL DEFAULT 1 f_spec_local_ifunc[ ]+\[VARIANT_PCS\]
|
|
|
2e9b04 |
7: 0000000000000000 0 IFUNC LOCAL DEFAULT 1 f_base_local_ifunc
|
|
|
2e9b04 |
8: 0000000000000000 0 NOTYPE LOCAL DEFAULT 1 f_base_local
|
|
|
2e9b04 |
9: 0000000000000000 0 NOTYPE LOCAL DEFAULT 1 \$x
|
|
|
2e9b04 |
10: 0000000000000000 0 FILE LOCAL DEFAULT ABS .*variant_pcs-2\.o
|
|
|
2e9b04 |
- 11: 0000000000000038 0 NOTYPE LOCAL DEFAULT \[VARIANT_PCS\] 1 f_spec_local2
|
|
|
2e9b04 |
- 12: 0000000000000038 0 IFUNC LOCAL DEFAULT \[VARIANT_PCS\] 1 f_spec_local2_ifunc
|
|
|
2e9b04 |
+ 11: 0000000000000038 0 NOTYPE LOCAL DEFAULT 1 f_spec_local2[ ]+\[VARIANT_PCS\]
|
|
|
2e9b04 |
+ 12: 0000000000000038 0 IFUNC LOCAL DEFAULT 1 f_spec_local2_ifunc[ ]+\[VARIANT_PCS\]
|
|
|
2e9b04 |
13: 0000000000000038 0 IFUNC LOCAL DEFAULT 1 f_base_local2_ifunc
|
|
|
2e9b04 |
14: 0000000000000038 0 NOTYPE LOCAL DEFAULT 1 f_base_local2
|
|
|
2e9b04 |
15: 0000000000000038 0 NOTYPE LOCAL DEFAULT 1 \$x
|
|
|
2e9b04 |
16: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND f_base_global_default_undef
|
|
|
2e9b04 |
- 17: 0000000000000000 0 NOTYPE GLOBAL DEFAULT \[VARIANT_PCS\] UND f_spec_global_default_undef
|
|
|
2e9b04 |
- 18: 0000000000000000 0 NOTYPE GLOBAL HIDDEN \[VARIANT_PCS\] 1 f_spec_global_hidden_def
|
|
|
2e9b04 |
+ 17: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND f_spec_global_default_undef[ ]+\[VARIANT_PCS\]
|
|
|
2e9b04 |
+ 18: 0000000000000000 0 NOTYPE GLOBAL HIDDEN 1 f_spec_global_hidden_def[ ]+\[VARIANT_PCS\]
|
|
|
2e9b04 |
19: 0000000000000000 0 IFUNC GLOBAL HIDDEN 1 f_base_global_hidden_ifunc
|
|
|
2e9b04 |
- 20: 0000000000000000 0 IFUNC GLOBAL DEFAULT \[VARIANT_PCS\] 1 f_spec_global_default_ifunc
|
|
|
2e9b04 |
+ 20: 0000000000000000 0 IFUNC GLOBAL DEFAULT 1 f_spec_global_default_ifunc[ ]+\[VARIANT_PCS\]
|
|
|
2e9b04 |
21: 0000000000000000 0 NOTYPE GLOBAL HIDDEN 1 f_base_global_hidden_def
|
|
|
2e9b04 |
- 22: 0000000000000000 0 IFUNC GLOBAL HIDDEN \[VARIANT_PCS\] 1 f_spec_global_hidden_ifunc
|
|
|
2e9b04 |
+ 22: 0000000000000000 0 IFUNC GLOBAL HIDDEN 1 f_spec_global_hidden_ifunc[ ]+\[VARIANT_PCS\]
|
|
|
2e9b04 |
23: 0000000000000000 0 NOTYPE GLOBAL DEFAULT 1 f_base_global_default_def
|
|
|
2e9b04 |
- 24: 0000000000000000 0 NOTYPE GLOBAL DEFAULT \[VARIANT_PCS\] 1 f_spec_global_default_def
|
|
|
2e9b04 |
+ 24: 0000000000000000 0 NOTYPE GLOBAL DEFAULT 1 f_spec_global_default_def[ ]+\[VARIANT_PCS\]
|
|
|
2e9b04 |
25: 0000000000000000 0 IFUNC GLOBAL DEFAULT 1 f_base_global_default_ifunc
|
|
|
2e9b04 |
diff -rup binutils.orig/ld/testsuite/ld-aarch64/variant_pcs-shared.d binutils-2.35.1/ld/testsuite/ld-aarch64/variant_pcs-shared.d
|
|
|
2e9b04 |
--- binutils.orig/ld/testsuite/ld-aarch64/variant_pcs-shared.d 2021-01-27 10:58:41.490242329 +0000
|
|
|
2e9b04 |
+++ binutils-2.35.1/ld/testsuite/ld-aarch64/variant_pcs-shared.d 2021-01-27 14:01:36.663555680 +0000
|
|
|
2e9b04 |
@@ -23,10 +23,10 @@ Symbol table '\.dynsym' contains 7 entri
|
|
|
2e9b04 |
Num: Value Size Type Bind Vis Ndx Name
|
|
|
2e9b04 |
0: 0000000000000000 0 NOTYPE LOCAL DEFAULT UND
|
|
|
2e9b04 |
1: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND f_base_global_default_undef
|
|
|
2e9b04 |
- 2: 0000000000000000 0 NOTYPE GLOBAL DEFAULT \[VARIANT_PCS\] UND f_spec_global_default_undef
|
|
|
2e9b04 |
- 3: 0000000000008000 0 IFUNC GLOBAL DEFAULT \[VARIANT_PCS\] 1 f_spec_global_default_ifunc
|
|
|
2e9b04 |
+ 2: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND f_spec_global_default_undef[ ]+\[VARIANT_PCS\]
|
|
|
2e9b04 |
+ 3: 0000000000008000 0 IFUNC GLOBAL DEFAULT 1 f_spec_global_default_ifunc[ ]+\[VARIANT_PCS\]
|
|
|
2e9b04 |
4: 0000000000008000 0 NOTYPE GLOBAL DEFAULT 1 f_base_global_default_def
|
|
|
2e9b04 |
- 5: 0000000000008000 0 NOTYPE GLOBAL DEFAULT \[VARIANT_PCS\] 1 f_spec_global_default_def
|
|
|
2e9b04 |
+ 5: 0000000000008000 0 NOTYPE GLOBAL DEFAULT 1 f_spec_global_default_def[ ]+\[VARIANT_PCS\]
|
|
|
2e9b04 |
6: 0000000000008000 0 IFUNC GLOBAL DEFAULT 1 f_base_global_default_ifunc
|
|
|
2e9b04 |
|
|
|
2e9b04 |
Symbol table '\.symtab' contains 35 entries:
|
|
|
2e9b04 |
@@ -41,28 +41,28 @@ Symbol table '\.symtab' contains 35 entr
|
|
|
2e9b04 |
7: 00000000000111c8 0 SECTION LOCAL DEFAULT 7
|
|
|
2e9b04 |
8: 0000000000011270 0 SECTION LOCAL DEFAULT 8
|
|
|
2e9b04 |
9: 0000000000000000 0 FILE LOCAL DEFAULT ABS .*variant_pcs-1\.o
|
|
|
2e9b04 |
- 10: 0000000000008000 0 NOTYPE LOCAL DEFAULT \[VARIANT_PCS\] 1 f_spec_local
|
|
|
2e9b04 |
- 11: 0000000000008000 0 IFUNC LOCAL DEFAULT \[VARIANT_PCS\] 1 f_spec_local_ifunc
|
|
|
2e9b04 |
+ 10: 0000000000008000 0 NOTYPE LOCAL DEFAULT 1 f_spec_local[ ]+\[VARIANT_PCS\]
|
|
|
2e9b04 |
+ 11: 0000000000008000 0 IFUNC LOCAL DEFAULT 1 f_spec_local_ifunc[ ]+\[VARIANT_PCS\]
|
|
|
2e9b04 |
12: 0000000000008000 0 IFUNC LOCAL DEFAULT 1 f_base_local_ifunc
|
|
|
2e9b04 |
13: 0000000000008000 0 NOTYPE LOCAL DEFAULT 1 f_base_local
|
|
|
2e9b04 |
14: 0000000000008000 0 NOTYPE LOCAL DEFAULT 1 \$x
|
|
|
2e9b04 |
15: 0000000000000000 0 FILE LOCAL DEFAULT ABS .*variant_pcs-2\.o
|
|
|
2e9b04 |
- 16: 0000000000008038 0 NOTYPE LOCAL DEFAULT \[VARIANT_PCS\] 1 f_spec_local2
|
|
|
2e9b04 |
- 17: 0000000000008038 0 IFUNC LOCAL DEFAULT \[VARIANT_PCS\] 1 f_spec_local2_ifunc
|
|
|
2e9b04 |
+ 16: 0000000000008038 0 NOTYPE LOCAL DEFAULT 1 f_spec_local2[ ]+\[VARIANT_PCS\]
|
|
|
2e9b04 |
+ 17: 0000000000008038 0 IFUNC LOCAL DEFAULT 1 f_spec_local2_ifunc[ ]+\[VARIANT_PCS\]
|
|
|
2e9b04 |
18: 0000000000008038 0 IFUNC LOCAL DEFAULT 1 f_base_local2_ifunc
|
|
|
2e9b04 |
19: 0000000000008038 0 NOTYPE LOCAL DEFAULT 1 f_base_local2
|
|
|
2e9b04 |
20: 0000000000008038 0 NOTYPE LOCAL DEFAULT 1 \$x
|
|
|
2e9b04 |
21: 0000000000000000 0 FILE LOCAL DEFAULT ABS
|
|
|
2e9b04 |
22: 0000000000009080 0 OBJECT LOCAL DEFAULT ABS _DYNAMIC
|
|
|
2e9b04 |
- 23: 0000000000008000 0 NOTYPE LOCAL DEFAULT \[VARIANT_PCS\] 1 f_spec_global_hidden_def
|
|
|
2e9b04 |
+ 23: 0000000000008000 0 NOTYPE LOCAL DEFAULT 1 f_spec_global_hidden_def[ ]+\[VARIANT_PCS\]
|
|
|
2e9b04 |
24: 0000000000008000 0 IFUNC LOCAL DEFAULT 1 f_base_global_hidden_ifunc
|
|
|
2e9b04 |
25: 0000000000008000 0 NOTYPE LOCAL DEFAULT 1 f_base_global_hidden_def
|
|
|
2e9b04 |
26: 0000000000009000 0 OBJECT LOCAL DEFAULT ABS _GLOBAL_OFFSET_TABLE_
|
|
|
2e9b04 |
- 27: 0000000000008000 0 IFUNC LOCAL DEFAULT \[VARIANT_PCS\] 1 f_spec_global_hidden_ifunc
|
|
|
2e9b04 |
+ 27: 0000000000008000 0 IFUNC LOCAL DEFAULT 1 f_spec_global_hidden_ifunc[ ]+\[VARIANT_PCS\]
|
|
|
2e9b04 |
28: 0000000000008070 0 NOTYPE LOCAL DEFAULT 2 \$x
|
|
|
2e9b04 |
29: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND f_base_global_default_undef
|
|
|
2e9b04 |
- 30: 0000000000000000 0 NOTYPE GLOBAL DEFAULT \[VARIANT_PCS\] UND f_spec_global_default_undef
|
|
|
2e9b04 |
- 31: 0000000000008000 0 IFUNC GLOBAL DEFAULT \[VARIANT_PCS\] 1 f_spec_global_default_ifunc
|
|
|
2e9b04 |
+ 30: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND f_spec_global_default_undef[ ]+\[VARIANT_PCS\]
|
|
|
2e9b04 |
+ 31: 0000000000008000 0 IFUNC GLOBAL DEFAULT 1 f_spec_global_default_ifunc[ ]+\[VARIANT_PCS\]
|
|
|
2e9b04 |
32: 0000000000008000 0 NOTYPE GLOBAL DEFAULT 1 f_base_global_default_def
|
|
|
2e9b04 |
- 33: 0000000000008000 0 NOTYPE GLOBAL DEFAULT \[VARIANT_PCS\] 1 f_spec_global_default_def
|
|
|
2e9b04 |
+ 33: 0000000000008000 0 NOTYPE GLOBAL DEFAULT 1 f_spec_global_default_def[ ]+\[VARIANT_PCS\]
|
|
|
2e9b04 |
34: 0000000000008000 0 IFUNC GLOBAL DEFAULT 1 f_base_global_default_ifunc
|
|
|
2e9b04 |
diff -rup binutils.orig/ld/testsuite/ld-plugin/plugin-12.d binutils-2.35.1/ld/testsuite/ld-plugin/plugin-12.d
|
|
|
2e9b04 |
--- binutils.orig/ld/testsuite/ld-plugin/plugin-12.d 2021-01-27 14:06:22.141477099 +0000
|
|
|
2e9b04 |
+++ binutils-2.35.1/ld/testsuite/ld-plugin/plugin-12.d 2021-01-27 14:07:02.709323825 +0000
|
|
|
2e9b04 |
@@ -1,5 +1,5 @@
|
|
|
2e9b04 |
#...
|
|
|
2e9b04 |
-.*: symbol `func' definition: DEF, visibility: DEFAULT, resolution: PREVAILING_DEF
|
|
|
2e9b04 |
+.*: symbol `func' definition: DEF, visibility: DEFAULT, resolution: PREVAILING_DE.*
|
|
|
2e9b04 |
.*: symbol `func1' definition: DEF, visibility: PROTECTED, resolution: PREVAILING_DEF_IRONLY
|
|
|
2e9b04 |
.*: symbol `func2' definition: DEF, visibility: INTERNAL, resolution: PREVAILING_DEF_IRONLY
|
|
|
2e9b04 |
.*: symbol `func3' definition: DEF, visibility: HIDDEN, resolution: PREVAILING_DEF_IRONLY
|
|
|
2e9b04 |
diff -rup binutils.orig/ld/testsuite/ld-powerpc/notoc3.d binutils-2.35.1/ld/testsuite/ld-powerpc/notoc3.d
|
|
|
2e9b04 |
--- binutils.orig/ld/testsuite/ld-powerpc/notoc3.d 2021-01-27 14:06:22.146477080 +0000
|
|
|
2e9b04 |
+++ binutils-2.35.1/ld/testsuite/ld-powerpc/notoc3.d 2021-01-27 14:14:07.298732495 +0000
|
|
|
2e9b04 |
@@ -58,7 +58,7 @@ Disassembly of section \.text:
|
|
|
2e9b04 |
|
|
|
2e9b04 |
.* <f2>:
|
|
|
2e9b04 |
.*: (02 10 40 3c|3c 40 10 02) lis r2,4098
|
|
|
2e9b04 |
-.*: (00 90 42 38|38 42 90 00) addi r2,r2,-28672
|
|
|
2e9b04 |
+.*: (00 .. 42 38|38 42 .. 00) addi r2,r2,-.....
|
|
|
2e9b04 |
.*: (.. .. ff 4b|4b ff .. ..) bl .* <.*\.long_branch\.f1>
|
|
|
2e9b04 |
.*: (18 00 41 e8|e8 41 00 18) ld r2,24\(r1\)
|
|
|
2e9b04 |
.*: (.. .. ff 4b|4b ff .. ..) bl .* <f2\+0x8>
|
|
|
2e9b04 |
@@ -73,7 +73,7 @@ Disassembly of section \.text:
|
|
|
2e9b04 |
|
|
|
2e9b04 |
.* <g2>:
|
|
|
2e9b04 |
.*: (02 10 40 3c|3c 40 10 02) lis r2,4098
|
|
|
2e9b04 |
-.*: (00 90 42 38|38 42 90 00) addi r2,r2,-28672
|
|
|
2e9b04 |
+.*: (00 .. 42 38|38 42 .. 00) addi r2,r2,-.....
|
|
|
2e9b04 |
.*: (.. .. ff 4b|4b ff .. ..) bl .* <f2\+0x8>
|
|
|
2e9b04 |
.*: (00 00 00 60|60 00 00 00) nop
|
|
|
2e9b04 |
.*: (.. .. ff 4b|4b ff .. ..) bl .* <.*\.long_branch\.f1>
|
|
|
2e9b04 |
@@ -92,6 +92,6 @@ Disassembly of section \.text\.ext:
|
|
|
2e9b04 |
|
|
|
2e9b04 |
8000000000000000 <ext>:
|
|
|
2e9b04 |
8000000000000000: (02 10 40 3c|3c 40 10 02) lis r2,4098
|
|
|
2e9b04 |
-8000000000000004: (00 90 42 38|38 42 90 00) addi r2,r2,-28672
|
|
|
2e9b04 |
+8000000000000004: (00 .. 42 38|38 42 .. 00) addi r2,r2,-.....
|
|
|
2e9b04 |
8000000000000008: (00 00 00 60|60 00 00 00) nop
|
|
|
2e9b04 |
800000000000000c: (20 00 80 4e|4e 80 00 20) blr
|
|
|
2e9b04 |
--- binutils.orig/bfd/vms-alpha.c 2021-01-27 14:06:22.491475776 +0000
|
|
|
2e9b04 |
+++ binutils-2.35.1/bfd/vms-alpha.c 2021-01-27 14:19:36.345503311 +0000
|
|
|
2e9b04 |
@@ -1394,14 +1394,13 @@ _bfd_vms_slurp_egsd (bfd *abfd)
|
|
|
2e9b04 |
flagword old_flags;
|
|
|
2e9b04 |
unsigned int nameoff = offsetof (struct vms_egst, namlng);
|
|
|
2e9b04 |
|
|
|
2e9b04 |
- old_flags = bfd_getl16 (egst->header.flags);
|
|
|
2e9b04 |
-
|
|
|
2e9b04 |
if (nameoff >= gsd_size)
|
|
|
2e9b04 |
goto too_small;
|
|
|
2e9b04 |
entry = add_symbol (abfd, &egst->namlng, gsd_size - nameoff);
|
|
|
2e9b04 |
if (entry == NULL)
|
|
|
2e9b04 |
return FALSE;
|
|
|
2e9b04 |
|
|
|
2e9b04 |
+ old_flags = bfd_getl16 (egst->header.flags);
|
|
|
2e9b04 |
entry->typ = gsd_type;
|
|
|
2e9b04 |
entry->data_type = egst->header.datyp;
|
|
|
2e9b04 |
entry->flags = old_flags;
|
|
|
2e9b04 |
@@ -3252,7 +3251,7 @@ alpha_vms_write_exec (bfd *abfd)
|
|
|
2e9b04 |
bfd_putl32 (16, eihd.virt_mem_block_size);
|
|
|
2e9b04 |
bfd_putl32 (0, eihd.ext_fixup_off);
|
|
|
2e9b04 |
bfd_putl32 (0, eihd.noopt_psect_off);
|
|
|
2e9b04 |
- bfd_putl32 (-1, eihd.alias);
|
|
|
2e9b04 |
+ bfd_putl16 (-1, eihd.alias);
|
|
|
2e9b04 |
|
|
|
2e9b04 |
/* Alloc EIHA. */
|
|
|
2e9b04 |
eiha = (struct vms_eiha *)((char *) &eihd + PRIV (file_pos));
|
|
|
2e9b04 |
--- binutils.orig/ld/testsuite/ld-plugin/plugin-12.d 2021-03-04 12:31:13.549340051 +0000
|
|
|
2e9b04 |
+++ binutils-2.35.1/ld/testsuite/ld-plugin/plugin-12.d 2021-03-04 12:33:25.313455927 +0000
|
|
|
2e9b04 |
@@ -1,6 +1,6 @@
|
|
|
2e9b04 |
#...
|
|
|
2e9b04 |
-.*: symbol `func' definition: DEF, visibility: DEFAULT, resolution: PREVAILING_DE.*
|
|
|
2e9b04 |
-.*: symbol `func1' definition: DEF, visibility: PROTECTED, resolution: PREVAILING_DEF_IRONLY
|
|
|
2e9b04 |
-.*: symbol `func2' definition: DEF, visibility: INTERNAL, resolution: PREVAILING_DEF_IRONLY
|
|
|
2e9b04 |
-.*: symbol `func3' definition: DEF, visibility: HIDDEN, resolution: PREVAILING_DEF_IRONLY
|
|
|
2e9b04 |
+.*: symbol `_?func' definition: DEF, visibility: DEFAULT, resolution: PREVAILING_DE.*
|
|
|
2e9b04 |
+.*: symbol `_?func1' definition: DEF, visibility: PROTECTED, resolution: PREVAILING_DEF_IRONLY
|
|
|
2e9b04 |
+.*: symbol `_?func2' definition: DEF, visibility: INTERNAL, resolution: PREVAILING_DEF_IRONLY
|
|
|
2e9b04 |
+.*: symbol `_?func3' definition: DEF, visibility: HIDDEN, resolution: PREVAILING_DEF_IRONLY
|
|
|
2e9b04 |
#pass
|
|
|
2e9b04 |
--- binutils.orig/ld/testsuite/ld-elf/shared.exp 2021-03-04 12:31:13.612339628 +0000
|
|
|
2e9b04 |
+++ binutils-2.35.1/ld/testsuite/ld-elf/shared.exp 2021-03-04 12:39:35.615971464 +0000
|
|
|
2e9b04 |
@@ -1377,18 +1377,6 @@ if { [istarget *-*-linux*]
|
|
|
2e9b04 |
"pr22393-2-static" \
|
|
|
2e9b04 |
"pass.out" \
|
|
|
2e9b04 |
] \
|
|
|
2e9b04 |
- [list \
|
|
|
2e9b04 |
- "Run pr21964-4" \
|
|
|
2e9b04 |
- "" \
|
|
|
2e9b04 |
- "" \
|
|
|
2e9b04 |
- {pr21964-4.c} \
|
|
|
2e9b04 |
- "pr21964-4" \
|
|
|
2e9b04 |
- "pass.out" \
|
|
|
2e9b04 |
- "" \
|
|
|
2e9b04 |
- "" \
|
|
|
2e9b04 |
- "" \
|
|
|
2e9b04 |
- "-ldl" \
|
|
|
2e9b04 |
- ] \
|
|
|
2e9b04 |
]
|
|
|
2e9b04 |
}
|
|
|
2e9b04 |
|
|
|
2e9b04 |
--- binutils.orig/ld/testsuite/ld-elf/tls.exp 2021-03-04 12:31:13.609339649 +0000
|
|
|
2e9b04 |
+++ binutils-2.35.1/ld/testsuite/ld-elf/tls.exp 2021-03-04 12:41:08.446349044 +0000
|
|
|
2e9b04 |
@@ -38,16 +38,3 @@ set AFLAGS_PIC ""
|
|
|
2e9b04 |
if [istarget "sparc*-*-*"] {
|
|
|
2e9b04 |
append AFLAGS_PIC " -K PIC"
|
|
|
2e9b04 |
}
|
|
|
2e9b04 |
-
|
|
|
2e9b04 |
-run_ld_link_tests [list \
|
|
|
2e9b04 |
- [list \
|
|
|
2e9b04 |
- "Build pr22263-1" \
|
|
|
2e9b04 |
- "-pie -e _start -z text" \
|
|
|
2e9b04 |
- "" \
|
|
|
2e9b04 |
- "$AFLAGS_PIC" \
|
|
|
2e9b04 |
- { pr22263-1a.c pr22263-1b.c } \
|
|
|
2e9b04 |
- {{readelf -r pr22263-1.rd}} \
|
|
|
2e9b04 |
- "pr22263-1" \
|
|
|
2e9b04 |
- "-fPIE -O2 $NOSANTIZE_CFLAGS" \
|
|
|
2e9b04 |
- ] \
|
|
|
2e9b04 |
-]
|
|
|
2e9b04 |
diff -rup binutils.orig/ld/testsuite/ld-ifunc/pr23169b.rd binutils-2.35.1/ld/testsuite/ld-ifunc/pr23169b.rd
|
|
|
2e9b04 |
--- binutils.orig/ld/testsuite/ld-ifunc/pr23169b.rd 2021-03-04 12:31:13.538340125 +0000
|
|
|
2e9b04 |
+++ binutils-2.35.1/ld/testsuite/ld-ifunc/pr23169b.rd 2021-03-04 12:43:31.149392230 +0000
|
|
|
2e9b04 |
@@ -1,4 +1,4 @@
|
|
|
2e9b04 |
#failif
|
|
|
2e9b04 |
#...
|
|
|
2e9b04 |
-[0-9a-f]+ +[0-9a-f]+ +R_[^ ]+ +[0-9a-f]+ +func(| \+ 0)
|
|
|
2e9b04 |
+[0-9a-f]+ +[0-9a-f]+ +R_[^ ]+ +[0-9a-f]+ +(|_)func(| \+ 0)
|
|
|
2e9b04 |
#pass
|
|
|
2e9b04 |
diff -rup binutils.orig/ld/testsuite/ld-ifunc/pr23169c.rd binutils-2.35.1/ld/testsuite/ld-ifunc/pr23169c.rd
|
|
|
2e9b04 |
--- binutils.orig/ld/testsuite/ld-ifunc/pr23169c.rd 2021-03-04 12:31:13.539340118 +0000
|
|
|
2e9b04 |
+++ binutils-2.35.1/ld/testsuite/ld-ifunc/pr23169c.rd 2021-03-04 12:43:44.397303403 +0000
|
|
|
2e9b04 |
@@ -1,3 +1,3 @@
|
|
|
2e9b04 |
#...
|
|
|
2e9b04 |
- +[0-9]+: +[0-9a-f]+ +[0-9]+ +IFUNC +GLOBAL +DEFAULT.* [0-9]+ +func
|
|
|
2e9b04 |
+ +[0-9]+: +[0-9a-f]+ +[0-9]+ +IFUNC +GLOBAL +DEFAULT.* [0-9]+ +(|_)func
|
|
|
2e9b04 |
#pass
|
|
|
2e9b04 |
--- binutils.orig/ld/testsuite/ld-plugin/plugin.exp 2021-03-04 14:22:36.072086362 +0000
|
|
|
2e9b04 |
+++ binutils-2.35.1/ld/testsuite/ld-plugin/plugin.exp 2021-03-04 14:22:47.048011684 +0000
|
|
|
2e9b04 |
@@ -269,7 +269,7 @@ set plugin_extra_elf_tests [list \
|
|
|
2e9b04 |
-plugin-opt add:tmpdir/func2i.o \
|
|
|
2e9b04 |
-plugin-opt add:tmpdir/func3h.o \
|
|
|
2e9b04 |
$testobjfiles $libs --verbose=2" "" "" "" {{ld plugin-12.d} \
|
|
|
2e9b04 |
- {readelf -s plugin-vis-1.d}} "main.x" ] \
|
|
|
2e9b04 |
+ } "main.x" ] \
|
|
|
2e9b04 |
[list "plugin set symbol visibility with source" \
|
|
|
2e9b04 |
"-plugin $plugin_path $regclm $regas $regcln \
|
|
|
2e9b04 |
-plugin-opt claim:$srcdir/$subdir/func.c \
|
|
|
2e9b04 |
@@ -283,7 +283,7 @@ set plugin_extra_elf_tests [list \
|
|
|
2e9b04 |
-plugin-opt add:tmpdir/func2i.o \
|
|
|
2e9b04 |
-plugin-opt add:tmpdir/func3h.o \
|
|
|
2e9b04 |
$testsrcfiles $libs --verbose=2" "" "" "" {{ld plugin-12.d} \
|
|
|
2e9b04 |
- {readelf -s plugin-vis-1.d}} "main.x" ] \
|
|
|
2e9b04 |
+ } "main.x" ] \
|
|
|
2e9b04 |
]
|
|
|
2e9b04 |
|
|
|
2e9b04 |
if { !$can_compile || $failed_compile } {
|
|
|
2e9b04 |
--- binutils.orig/ld/testsuite/ld-ifunc/pr23169c.rd 2021-03-04 14:22:36.062086430 +0000
|
|
|
2e9b04 |
+++ binutils-2.35.1/ld/testsuite/ld-ifunc/pr23169c.rd 2021-03-04 14:25:28.902910361 +0000
|
|
|
2e9b04 |
@@ -1,3 +1,3 @@
|
|
|
2e9b04 |
#...
|
|
|
2e9b04 |
- +[0-9]+: +[0-9a-f]+ +[0-9]+ +IFUNC +GLOBAL +DEFAULT.* [0-9]+ +(|_)func
|
|
|
2e9b04 |
+ +[0-9]+: +[0-9a-f]+ +[0-9]+ +IFUNC +GLOBAL +DEFAULT.* [0-9]+.*func
|
|
|
2e9b04 |
#pass
|
|
|
2e9b04 |
--- binutils.orig/ld/testsuite/ld-ifunc/ifunc.exp 2021-03-04 14:22:36.063086424 +0000
|
|
|
2e9b04 |
+++ binutils-2.35.1/ld/testsuite/ld-ifunc/ifunc.exp 2021-03-04 14:35:12.802937257 +0000
|
|
|
2e9b04 |
@@ -39,6 +39,7 @@ if { ![is_elf_format] || ![supports_gnu_
|
|
|
2e9b04 |
|| [istarget nds32*-*-*]
|
|
|
2e9b04 |
|| [istarget nios2-*-*]
|
|
|
2e9b04 |
|| [istarget or1k-*-*]
|
|
|
2e9b04 |
+ || [istarget powerpc64*-*-*]
|
|
|
2e9b04 |
|| [istarget riscv*-*-*]
|
|
|
2e9b04 |
|| [istarget score*-*-*]
|
|
|
2e9b04 |
|| [istarget sh*-*-*]
|
|
|
2e9b04 |
diff -rup binutils.orig/ld/testsuite/ld-powerpc/powerpc.exp binutils-2.35.1/ld/testsuite/ld-powerpc/powerpc.exp
|
|
|
2e9b04 |
--- binutils.orig/ld/testsuite/ld-powerpc/powerpc.exp 2021-03-04 14:22:36.079086314 +0000
|
|
|
2e9b04 |
+++ binutils-2.35.1/ld/testsuite/ld-powerpc/powerpc.exp 2021-03-04 14:43:18.862633920 +0000
|
|
|
2e9b04 |
@@ -127,15 +127,15 @@ set ppcelftests {
|
|
|
2e9b04 |
{"TLS32 helper shared library" "-shared -melf32ppc tmpdir/tlslib32.o" "" "" {}
|
|
|
2e9b04 |
{} "libtlslib32.so"}
|
|
|
2e9b04 |
{"TLS32 dynamic exec" "-melf32ppc --no-plt-align --no-ld-generated-unwind-info --hash-style=sysv tmpdir/tls32.o tmpdir/libtlslib32.so" "" "" {}
|
|
|
2e9b04 |
- {{readelf -WSsrl tlsexe32.r} {objdump -dr tlsexe32.d}
|
|
|
2e9b04 |
+ {{objdump -dr tlsexe32.d}
|
|
|
2e9b04 |
{objdump -sj.got tlsexe32.g} {objdump -sj.tdata tlsexe32.t}}
|
|
|
2e9b04 |
"tlsexe32"}
|
|
|
2e9b04 |
{"TLS32 dynamic exec (--no-tls-optimize)" "-melf32ppc --no-tls-optimize --no-plt-align --no-ld-generated-unwind-info --hash-style=sysv tmpdir/tls32.o tmpdir/libtlslib32.so" "" "" {}
|
|
|
2e9b04 |
- {{readelf -WSsrl tlsexe32no.r} {objdump -dr tlsexe32no.d}
|
|
|
2e9b04 |
+ {{objdump -dr tlsexe32no.d}
|
|
|
2e9b04 |
{objdump -sj.got tlsexe32no.g} {objdump -sj.tdata tlsexe32.t}}
|
|
|
2e9b04 |
"tlsexe32no"}
|
|
|
2e9b04 |
{"TLS32 shared" "-shared -melf32ppc --no-plt-align --no-ld-generated-unwind-info --hash-style=sysv tmpdir/tls32.o" "" "" {}
|
|
|
2e9b04 |
- {{readelf -WSsrl tlsso32.r} {objdump -dr tlsso32.d}
|
|
|
2e9b04 |
+ {{objdump -dr tlsso32.d}
|
|
|
2e9b04 |
{objdump -sj.got tlsso32.g} {objdump -sj.tdata tlsso32.t}}
|
|
|
2e9b04 |
"tls32.so"}
|
|
|
2e9b04 |
{"TLS32 markers" "-melf32ppc" "" "-a32" {tlsmark32.s tlslib32.s}
|
|
|
2e9b04 |
diff -rup binutils.orig/ld/testsuite/ld-powerpc/pr23937.d binutils-2.35.1/ld/testsuite/ld-powerpc/pr23937.d
|
|
|
2e9b04 |
--- binutils.orig/ld/testsuite/ld-powerpc/pr23937.d 2021-03-04 14:22:36.081086301 +0000
|
|
|
2e9b04 |
+++ binutils-2.35.1/ld/testsuite/ld-powerpc/pr23937.d 2021-03-04 14:43:54.830389790 +0000
|
|
|
2e9b04 |
@@ -5,6 +5,4 @@
|
|
|
2e9b04 |
|
|
|
2e9b04 |
#...
|
|
|
2e9b04 |
.* R_PPC64_IRELATIVE +10000180
|
|
|
2e9b04 |
-#...
|
|
|
2e9b04 |
-.*: 0+10000180 +20 IFUNC +LOCAL +DEFAULT .* magic
|
|
|
2e9b04 |
#pass
|
|
|
2e9b04 |
diff -rup binutils.orig/ld/testsuite/ld-powerpc/tlsexe32.r binutils-2.35.1/ld/testsuite/ld-powerpc/tlsexe32.r
|
|
|
2e9b04 |
--- binutils.orig/ld/testsuite/ld-powerpc/tlsexe32.r 2021-03-04 14:22:36.078086321 +0000
|
|
|
2e9b04 |
+++ binutils-2.35.1/ld/testsuite/ld-powerpc/tlsexe32.r 2021-03-04 14:41:10.335506292 +0000
|
|
|
2e9b04 |
@@ -22,9 +22,9 @@ Section Headers:
|
|
|
2e9b04 |
+\[[ 0-9]+\] \.dynamic +DYNAMIC +[0-9a-f]+ [0-9a-f]+ [0-9a-f]+ 08 +WA +4 +0 +4
|
|
|
2e9b04 |
+\[[ 0-9]+\] \.got +PROGBITS +[0-9a-f]+ [0-9a-f]+ 000018 04 +WA +0 +0 +4
|
|
|
2e9b04 |
+\[[ 0-9]+\] \.plt +PROGBITS +[0-9a-f]+ [0-9a-f]+ 000004 00 +WA +0 +0 +4
|
|
|
2e9b04 |
+#...
|
|
|
2e9b04 |
+\[[ 0-9]+\] \.symtab +SYMTAB +.*
|
|
|
2e9b04 |
+\[[ 0-9]+\] \.strtab +STRTAB +.*
|
|
|
2e9b04 |
- +\[[ 0-9]+\] \.shstrtab +STRTAB +.*
|
|
|
2e9b04 |
#...
|
|
|
2e9b04 |
|
|
|
2e9b04 |
Elf file type is EXEC \(Executable file\)
|
|
|
2e9b04 |
@@ -81,6 +81,7 @@ Symbol table '\.symtab' contains [0-9]+
|
|
|
2e9b04 |
.* SECTION +LOCAL +DEFAULT +10
|
|
|
2e9b04 |
.* SECTION +LOCAL +DEFAULT +11
|
|
|
2e9b04 |
.* SECTION +LOCAL +DEFAULT +12
|
|
|
2e9b04 |
+#...
|
|
|
2e9b04 |
.* FILE +LOCAL +DEFAULT +ABS .*
|
|
|
2e9b04 |
.* NOTYPE +LOCAL +DEFAULT +ABS TLSMARK
|
|
|
2e9b04 |
.* TLS +LOCAL +DEFAULT +8 gd4
|
|
|
2e9b04 |
@@ -108,3 +109,4 @@ Symbol table '\.symtab' contains [0-9]+
|
|
|
2e9b04 |
.* NOTYPE +GLOBAL +DEFAULT +12 _end
|
|
|
2e9b04 |
.* TLS +GLOBAL +DEFAULT +9 gd0
|
|
|
2e9b04 |
.* TLS +GLOBAL +DEFAULT +9 ie0
|
|
|
2e9b04 |
+#pass
|
|
|
2e9b04 |
--- binutils.orig/ld/testsuite/ld-elf/shared.exp 2021-03-04 16:23:57.812940326 +0000
|
|
|
2e9b04 |
+++ binutils-2.35.1/ld/testsuite/ld-elf/shared.exp 2021-03-04 16:25:56.214131486 +0000
|
|
|
2e9b04 |
@@ -1443,7 +1443,7 @@ proc mix_pic_and_non_pic {xfails cflags
|
|
|
2e9b04 |
}
|
|
|
2e9b04 |
}
|
|
|
2e9b04 |
|
|
|
2e9b04 |
-mix_pic_and_non_pic [list "arm*-*-*" "aarch64*-*-*"] "" "" "pr19719"
|
|
|
2e9b04 |
+mix_pic_and_non_pic [list "arm*-*-*"] "" "" "pr19719"
|
|
|
2e9b04 |
mix_pic_and_non_pic [] "-fPIE" "-pie" "pr19719pie"
|
|
|
2e9b04 |
|
|
|
2e9b04 |
set AFLAGS_PIE ""
|
|
|
2e9b04 |
--- binutils.orig/ld/testsuite/ld-ifunc/ifunc.exp 2021-03-04 16:23:57.745940783 +0000
|
|
|
2e9b04 |
+++ binutils-2.35.1/ld/testsuite/ld-ifunc/ifunc.exp 2021-03-04 16:27:54.230325278 +0000
|
|
|
2e9b04 |
@@ -654,7 +654,7 @@ run_cc_link_tests [list \
|
|
|
2e9b04 |
"$NOPIE_LDFLAGS -Wl,--no-as-needed,-z,now tmpdir/libpr23169b.so" \
|
|
|
2e9b04 |
"-fPIE -O2 -g" \
|
|
|
2e9b04 |
{ pr23169b.c pr23169c.c } \
|
|
|
2e9b04 |
- {{readelf {--dyn-syms} pr23169c.rd} \
|
|
|
2e9b04 |
+ { \
|
|
|
2e9b04 |
{readelf {-r -W} pr23169b.rd}} \
|
|
|
2e9b04 |
"pr23169f" \
|
|
|
2e9b04 |
] \
|
|
|
2e9b04 |
--- binutils.orig/ld/testsuite/ld-elfvsb/elfvsb.exp 2021-03-04 16:23:57.777940565 +0000
|
|
|
2e9b04 |
+++ binutils-2.35.1/ld/testsuite/ld-elfvsb/elfvsb.exp 2021-03-04 16:32:40.275371192 +0000
|
|
|
2e9b04 |
@@ -264,6 +264,7 @@ proc visibility_run {visibility} {
|
|
|
2e9b04 |
remote_file host delete $tmpdir/sh1p.o $tmpdir/sh2p.o $tmpdir/sh1np.o $tmpdir/sh2np.o
|
|
|
2e9b04 |
|
|
|
2e9b04 |
if { [istarget powerpc*-*-linux*] \
|
|
|
2e9b04 |
+ || [istarget i*86-*-linux*] \
|
|
|
2e9b04 |
|| ( [istarget mips*-*-linux*] && [at_least_gcc_version 4 3] )} {
|
|
|
2e9b04 |
# Testing non-PIC libraries is a waste of effort on any target.
|
|
|
2e9b04 |
# If you don't pass -fpic or -fPIC to gcc, gcc will assume quite
|
|
|
2e9b04 |
@@ -393,7 +394,8 @@ proc visibility_run {visibility} {
|
|
|
2e9b04 |
}
|
|
|
2e9b04 |
}}
|
|
|
2e9b04 |
|
|
|
2e9b04 |
- if { [istarget powerpc*-*-linux*] } {
|
|
|
2e9b04 |
+ if { [istarget powerpc*-*-linux*] \
|
|
|
2e9b04 |
+ || [istarget i*86-*-linux*] } {
|
|
|
2e9b04 |
# Don't bother.
|
|
|
2e9b04 |
} else {
|
|
|
2e9b04 |
# Now do the same tests again, but this time compile main.c PIC.
|
|
|
2e9b04 |
--- binutils.orig/ld/testsuite/ld-i386/i386.exp 2021-03-04 16:23:57.836940162 +0000
|
|
|
2e9b04 |
+++ binutils-2.35.1/ld/testsuite/ld-i386/i386.exp 2021-03-04 16:36:26.001829190 +0000
|
|
|
2e9b04 |
@@ -558,7 +558,7 @@ proc undefined_weak {cflags ldflags} {
|
|
|
2e9b04 |
|
|
|
2e9b04 |
# Must be Linux native with the C compiler
|
|
|
2e9b04 |
if { [isnative]
|
|
|
2e9b04 |
- && [istarget "i?86-*-linux*"]
|
|
|
2e9b04 |
+ && [istarget "i?86-*-skip-linux*"]
|
|
|
2e9b04 |
&& [check_compiler_available] } {
|
|
|
2e9b04 |
run_cc_link_tests [list \
|
|
|
2e9b04 |
[list \
|
|
|
2e9b04 |
@@ -1035,15 +1035,6 @@ if { [isnative]
|
|
|
2e9b04 |
"pr18900.out" \
|
|
|
2e9b04 |
] \
|
|
|
2e9b04 |
[list \
|
|
|
2e9b04 |
- "Run pr19031" \
|
|
|
2e9b04 |
- "$NOPIE_LDFLAGS tmpdir/pr19031.so" \
|
|
|
2e9b04 |
- "-Wa,-mx86-used-note=yes" \
|
|
|
2e9b04 |
- { pr19031b.S pr19031c.c } \
|
|
|
2e9b04 |
- "pr19031" \
|
|
|
2e9b04 |
- "pr19031.out" \
|
|
|
2e9b04 |
- "$NOPIE_CFLAGS" \
|
|
|
2e9b04 |
- ] \
|
|
|
2e9b04 |
- [list \
|
|
|
2e9b04 |
"Run got1" \
|
|
|
2e9b04 |
"$NOPIE_LDFLAGS tmpdir/got1d.so" \
|
|
|
2e9b04 |
"-Wa,-mx86-used-note=yes" \
|
|
|
2e9b04 |
@@ -1158,7 +1149,6 @@ if { [isnative]
|
|
|
2e9b04 |
] \
|
|
|
2e9b04 |
]
|
|
|
2e9b04 |
|
|
|
2e9b04 |
- undefined_weak "$NOPIE_CFLAGS" "$NOPIE_LDFLAGS"
|
|
|
2e9b04 |
undefined_weak "-fPIE" "$NOPIE_LDFLAGS"
|
|
|
2e9b04 |
undefined_weak "-fPIE" "-pie"
|
|
|
2e9b04 |
undefined_weak "-fPIE" "-z nodynamic-undefined-weak $NOPIE_LDFLAGS"
|
|
|
2e9b04 |
@@ -1168,7 +1158,7 @@ if { [isnative]
|
|
|
2e9b04 |
# Must be native with the C compiler and working IFUNC support,
|
|
|
2e9b04 |
if { [isnative]
|
|
|
2e9b04 |
&& [check_ifunc_available]
|
|
|
2e9b04 |
- && [istarget "i?86-*-*"]
|
|
|
2e9b04 |
+ && [istarget "i?86-*-skip-*"]
|
|
|
2e9b04 |
&& [check_compiler_available] } {
|
|
|
2e9b04 |
run_cc_link_tests [list \
|
|
|
2e9b04 |
[list \
|
|
|
2e9b04 |
--- binutils.orig/ld/testsuite/ld-plugin/lto.exp 2021-03-04 16:23:57.759940688 +0000
|
|
|
2e9b04 |
+++ binutils-2.35.1/ld/testsuite/ld-plugin/lto.exp 2021-03-04 16:37:54.609223878 +0000
|
|
|
2e9b04 |
@@ -456,9 +456,6 @@ set lto_run_tests [list \
|
|
|
2e9b04 |
[list "LTO 14" \
|
|
|
2e9b04 |
"-O2 -flto -fuse-linker-plugin tmpdir/lto-14a.o -Wl,--whole-archive tmpdir/liblto-14.a -Wl,--no-whole-archive tmpdir/lto-14b.o" "" \
|
|
|
2e9b04 |
{dummy.c} "lto-14.exe" "lto-14.out" "" "c"] \
|
|
|
2e9b04 |
- [list "LTO 15" \
|
|
|
2e9b04 |
- "-O2 -flto -fuse-linker-plugin -Wl,--start-group tmpdir/liblto-15.a tmpdir/lto-15a.o -Wl,--end-group" "" \
|
|
|
2e9b04 |
- {dummy.c} "lto-15.exe" "lto-15.out" "" "c"] \
|
|
|
2e9b04 |
[list "PR ld/13066" \
|
|
|
2e9b04 |
"-O2 -flto -fuse-linker-plugin" "" \
|
|
|
2e9b04 |
{pr13066.cc} "pr13066.exe" "pr13066.out" "" "c++"] \
|
|
|
2e9b04 |
--- binutils.orig/ld/testsuite/ld-scripts/crossref.exp 2021-03-04 16:23:57.743940797 +0000
|
|
|
2e9b04 |
+++ binutils-2.35.1/ld/testsuite/ld-scripts/crossref.exp 2021-03-04 16:42:02.687529206 +0000
|
|
|
2e9b04 |
@@ -146,6 +146,8 @@ set exec_output [prune_warnings $exec_ou
|
|
|
2e9b04 |
|
|
|
2e9b04 |
regsub -all "(^|\n)($ld: warning: cannot find entry symbol\[^\n\]*\n?)" $exec_output "\\1" exec_output
|
|
|
2e9b04 |
|
|
|
2e9b04 |
+setup_xfail i686-*-*
|
|
|
2e9b04 |
+
|
|
|
2e9b04 |
if [string match "" $exec_output] then {
|
|
|
2e9b04 |
pass $test3
|
|
|
2e9b04 |
} else {
|
|
|
2e9b04 |
@@ -186,6 +188,8 @@ set exec_output [prune_warnings $exec_ou
|
|
|
2e9b04 |
|
|
|
2e9b04 |
regsub -all "(^|\n)($ld: warning: cannot find entry symbol\[^\n\]*\n?)" $exec_output "\\1" exec_output
|
|
|
2e9b04 |
|
|
|
2e9b04 |
+setup_xfail i686-*-*
|
|
|
2e9b04 |
+
|
|
|
2e9b04 |
if [string match "" $exec_output] then {
|
|
|
2e9b04 |
pass $test6
|
|
|
2e9b04 |
} else {
|
|
|
2e9b04 |
@@ -198,6 +202,8 @@ set exec_output [prune_warnings $exec_ou
|
|
|
2e9b04 |
|
|
|
2e9b04 |
regsub -all "(^|\n)($ld: warning: cannot find entry symbol\[^\n\]*\n?)" $exec_output "\\1" exec_output
|
|
|
2e9b04 |
|
|
|
2e9b04 |
+setup_xfail i686-*-*
|
|
|
2e9b04 |
+
|
|
|
2e9b04 |
if [string match "" $exec_output] then {
|
|
|
2e9b04 |
fail $test7
|
|
|
2e9b04 |
} else {
|
|
|
2e9b04 |
--- binutils.orig/ld/testsuite/ld-shared/shared.exp 2021-03-04 16:23:57.794940449 +0000
|
|
|
2e9b04 |
+++ binutils-2.35.1/ld/testsuite/ld-shared/shared.exp 2021-03-04 16:45:21.198173157 +0000
|
|
|
2e9b04 |
@@ -245,6 +245,7 @@ if ![ld_compile "$CC $CFLAGS $SHCFLAG" $
|
|
|
2e9b04 |
setup_xfail "arm*-*-linux*"
|
|
|
2e9b04 |
}
|
|
|
2e9b04 |
setup_xfail "aarch64*-*-linux*"
|
|
|
2e9b04 |
+ setup_xfail "i*86-*-linux*"
|
|
|
2e9b04 |
shared_test shnp "shared (non PIC)" mainnp.o sh1np.o sh2np.o shared
|
|
|
2e9b04 |
|
|
|
2e9b04 |
# Test ELF shared library relocations with a non-zero load
|
|
|
2e9b04 |
@@ -273,6 +274,7 @@ if ![ld_compile "$CC $CFLAGS $SHCFLAG" $
|
|
|
2e9b04 |
setup_xfail "aarch64*-*-linux*"
|
|
|
2e9b04 |
# Solaris defaults to -z text.
|
|
|
2e9b04 |
setup_xfail "*-*-solaris2*"
|
|
|
2e9b04 |
+ setup_xfail "i*86-*-linux*"
|
|
|
2e9b04 |
shared_test shnp "shared (non PIC, load offset)" \
|
|
|
2e9b04 |
mainnp.o sh1np.o sh2np.o shared \
|
|
|
2e9b04 |
"-Wl,-T,$srcdir/$subdir/elf-offset.ld,--hash-style=sysv"
|
|
|
2e9b04 |
@@ -326,6 +328,7 @@ if ![ld_compile "$CC $CFLAGS $SHCFLAG $p
|
|
|
2e9b04 |
setup_xfail "arm*-*-linux*"
|
|
|
2e9b04 |
}
|
|
|
2e9b04 |
setup_xfail "aarch64*-*-linux*"
|
|
|
2e9b04 |
+ setup_xfail "i*86-*-linux*"
|
|
|
2e9b04 |
shared_test shmpnp "shared (PIC main, non PIC so)" mainp.o sh1np.o sh2np.o shared
|
|
|
2e9b04 |
}
|
|
|
2e9b04 |
} else {
|
|
|
2e9b04 |
--- binutils.orig/ld/testsuite/ld-elfvsb/elfvsb.exp 2021-03-05 09:25:45.023250161 +0000
|
|
|
2e9b04 |
+++ binutils-2.35.1/ld/testsuite/ld-elfvsb/elfvsb.exp 2021-03-05 09:33:36.866978952 +0000
|
|
|
2e9b04 |
@@ -347,7 +347,6 @@ proc visibility_run {visibility} {
|
|
|
2e9b04 |
|| [ string match $visibility "protected_weak" ]
|
|
|
2e9b04 |
|| [ string match $visibility "normal" ] } {
|
|
|
2e9b04 |
setup_xfail "powerpc-*-linux*"
|
|
|
2e9b04 |
- setup_xfail "s390x-*-linux*"
|
|
|
2e9b04 |
if { [istarget sparc*-*-linux*] && [is_elf64 $tmpdir/mainnp.o] } {
|
|
|
2e9b04 |
setup_xfail "sparc*-*-linux*"
|
|
|
2e9b04 |
}
|
|
|
2e9b04 |
--- binutils.orig/ld/testsuite/ld-elfvsb/elfvsb.exp 2021-11-24 11:18:05.490704207 +0000
|
|
|
2e9b04 |
+++ binutils-2.35.2/ld/testsuite/ld-elfvsb/elfvsb.exp 2021-11-24 11:20:09.644272756 +0000
|
|
|
2e9b04 |
@@ -347,6 +347,7 @@ proc visibility_run {visibility} {
|
|
|
2e9b04 |
|| [ string match $visibility "protected_weak" ]
|
|
|
2e9b04 |
|| [ string match $visibility "normal" ] } {
|
|
|
2e9b04 |
setup_xfail "powerpc-*-linux*"
|
|
|
2e9b04 |
+ setup_xfail "s390x-*-linux*"
|
|
|
2e9b04 |
if { [istarget sparc*-*-linux*] && [is_elf64 $tmpdir/mainnp.o] } {
|
|
|
2e9b04 |
setup_xfail "sparc*-*-linux*"
|
|
|
2e9b04 |
}
|
|
|
2e9b04 |
--- binutils.orig/gold/Makefile.am 2022-01-17 11:55:26.343529360 +0000
|
|
|
2e9b04 |
+++ binutils-2.35.2/gold/Makefile.am 2022-01-17 13:36:31.517854728 +0000
|
|
|
2e9b04 |
@@ -256,136 +256,3 @@ po/POTFILES.in: @MAINT@ Makefile
|
|
|
2e9b04 |
# Bootstrap test support. We use ld-new to build ld1, then use ld1 to
|
|
|
2e9b04 |
# build ld2. ld1 and ld2 should be identical. ld-new need not be
|
|
|
2e9b04 |
# identical to ld1, since it was linked with the host linker.
|
|
|
2e9b04 |
-
|
|
|
2e9b04 |
-if GCC
|
|
|
2e9b04 |
-if NATIVE_LINKER
|
|
|
2e9b04 |
-
|
|
|
2e9b04 |
-gcctestdir1/ld gcctestdir1/collect-ld: ld-new
|
|
|
2e9b04 |
- test -d gcctestdir1 || mkdir -p gcctestdir1
|
|
|
2e9b04 |
- rm -f $@
|
|
|
2e9b04 |
- $(LN_S) $(abs_top_builddir)/ld-new $@
|
|
|
2e9b04 |
-
|
|
|
2e9b04 |
-ld1_SOURCES = $(sources_var)
|
|
|
2e9b04 |
-ld1_DEPENDENCIES = $(deps_var) gcctestdir1/ld gcctestdir1/collect-ld
|
|
|
2e9b04 |
-ld1_LDADD = $(ldadd_var)
|
|
|
2e9b04 |
-editcc1 = -e 's/\([^ ]*\)\(.*\)/\1 -Bgcctestdir1\/\2/'
|
|
|
2e9b04 |
-ld1_LINK = `echo $(CXXLD) | sed $(editcc1)`\
|
|
|
2e9b04 |
- $(AM_CXXFLAGS) $(CXXFLAGS) $(ld1_LDFLAGS) $(LDFLAGS) -o $@
|
|
|
2e9b04 |
-
|
|
|
2e9b04 |
-gcctestdir2/ld gcctestdir2/collect-ld: ld1
|
|
|
2e9b04 |
- test -d gcctestdir2 || mkdir -p gcctestdir2
|
|
|
2e9b04 |
- rm -f $@
|
|
|
2e9b04 |
- $(LN_S) $(abs_top_builddir)/ld1 $@
|
|
|
2e9b04 |
-
|
|
|
2e9b04 |
-ld2_SOURCES = $(sources_var)
|
|
|
2e9b04 |
-ld2_DEPENDENCIES = $(deps_var) gcctestdir2/ld gcctestdir2/collect-ld
|
|
|
2e9b04 |
-ld2_LDADD = $(ldadd_var)
|
|
|
2e9b04 |
-editcc2 = -e 's/\([^ ]*\)\(.*\)/\1 -Bgcctestdir2\/\2/'
|
|
|
2e9b04 |
-ld2_LINK = `echo $(CXXLD) | sed $(editcc2)`\
|
|
|
2e9b04 |
- $(AM_CXXFLAGS) $(CXXFLAGS) $(ld2_LDFLAGS) $(LDFLAGS) -o $@
|
|
|
2e9b04 |
-
|
|
|
2e9b04 |
-bootstrap-test: ld2
|
|
|
2e9b04 |
- rm -f $@
|
|
|
2e9b04 |
- echo "#!/bin/sh" > $@
|
|
|
2e9b04 |
- echo "cmp ld1 ld2" >> $@
|
|
|
2e9b04 |
- chmod +x $@
|
|
|
2e9b04 |
-
|
|
|
2e9b04 |
-libgold-1-r.o: gcctestdir1/ld libgold.a
|
|
|
2e9b04 |
- gcctestdir1/ld -o $@ -r --whole-archive libgold.a
|
|
|
2e9b04 |
-
|
|
|
2e9b04 |
-ld1_r_SOURCES = $(sources_var)
|
|
|
2e9b04 |
-ld1_r_DEPENDENCIES = libgold-1-r.o $(deps_var) gcctestdir1/ld gcctestdir1/collect-ld
|
|
|
2e9b04 |
-ld1_r_LDADD = libgold-1-r.o $(ldadd_var)
|
|
|
2e9b04 |
-ld1_r_LINK = `echo $(CXXLD) | sed $(editcc1)`\
|
|
|
2e9b04 |
- $(AM_CXXFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@
|
|
|
2e9b04 |
-
|
|
|
2e9b04 |
-gcctestdir2-r/ld gcctestdir2-r/collect-ld: ld1-r
|
|
|
2e9b04 |
- test -d gcctestdir2-r || mkdir -p gcctestdir2-r
|
|
|
2e9b04 |
- rm -f $@
|
|
|
2e9b04 |
- $(LN_S) $(abs_top_builddir)/ld1-r $@
|
|
|
2e9b04 |
-
|
|
|
2e9b04 |
-libgold-2-r.o: gcctestdir2-r/ld libgold.a
|
|
|
2e9b04 |
- gcctestdir2-r/ld -o $@ -r --whole-archive libgold.a
|
|
|
2e9b04 |
-
|
|
|
2e9b04 |
-ld2_r_SOURCES = $(sources_var)
|
|
|
2e9b04 |
-ld2_r_DEPENDENCIES = libgold-2-r.o $(deps_var) gcctestdir2-r/ld gcctestdir2-r/collect-ld
|
|
|
2e9b04 |
-ld2_r_LDADD = libgold-2-r.o $(ldadd_var)
|
|
|
2e9b04 |
-editcc2r = -e 's/\([^ ]*\)\(.*\)/\1 -Bgcctestdir2-r\/\2/'
|
|
|
2e9b04 |
-ld2_r_LINK = `echo $(CXXLD) | sed $(editcc2r)`\
|
|
|
2e9b04 |
- $(AM_CXXFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@
|
|
|
2e9b04 |
-
|
|
|
2e9b04 |
-bootstrap-test-r: ld2-r
|
|
|
2e9b04 |
- rm -f $@
|
|
|
2e9b04 |
- echo "#!/bin/sh" > $@
|
|
|
2e9b04 |
- echo "cmp ld1-r ld2-r" >> $@
|
|
|
2e9b04 |
- chmod +x $@
|
|
|
2e9b04 |
-
|
|
|
2e9b04 |
-check_PROGRAMS = ld1 ld2 ld1-r ld2-r
|
|
|
2e9b04 |
-TESTS = bootstrap-test bootstrap-test-r
|
|
|
2e9b04 |
-MOSTLYCLEANFILES = bootstrap-test bootstrap-test-r
|
|
|
2e9b04 |
-
|
|
|
2e9b04 |
-# Verify that changing the number of threads doesn't change the
|
|
|
2e9b04 |
-# treehash computation, by building ld1 and ld3 the same way except
|
|
|
2e9b04 |
-# for the number of threads. However, the build ID should change if
|
|
|
2e9b04 |
-# we change the chunk size for --build-id=tree, so ld4 should be
|
|
|
2e9b04 |
-# different. We run the latter test even if multithreading is unavailable,
|
|
|
2e9b04 |
-# because the treehash can still operate in that mode.
|
|
|
2e9b04 |
-check_PROGRAMS += ld4
|
|
|
2e9b04 |
-TESTS += bootstrap-test-treehash-chunksize
|
|
|
2e9b04 |
-MOSTLYCLEANFILES += bootstrap-test-treehash-chunksize
|
|
|
2e9b04 |
-
|
|
|
2e9b04 |
-gcctestdir3/ld gcctestdir3/collect-ld: ld-new
|
|
|
2e9b04 |
- test -d gcctestdir3 || mkdir -p gcctestdir3
|
|
|
2e9b04 |
- rm -f $@
|
|
|
2e9b04 |
- $(LN_S) $(abs_top_builddir)/ld-new $@
|
|
|
2e9b04 |
-
|
|
|
2e9b04 |
-ld3_SOURCES = $(sources_var)
|
|
|
2e9b04 |
-ld3_DEPENDENCIES = $(deps_var) gcctestdir3/ld gcctestdir3/collect-ld
|
|
|
2e9b04 |
-ld3_LDADD = $(ldadd_var)
|
|
|
2e9b04 |
-editcc3 = -e 's/\([^ ]*\)\(.*\)/\1 -Bgcctestdir3\/\2/'
|
|
|
2e9b04 |
-ld3_LINK = `echo $(CXXLD) | sed $(editcc3)`\
|
|
|
2e9b04 |
- $(AM_CXXFLAGS) $(CXXFLAGS) $(ld3_LDFLAGS) $(LDFLAGS) -o $@
|
|
|
2e9b04 |
-
|
|
|
2e9b04 |
-gcctestdir4/ld gcctestdir4/collect-ld: ld-new
|
|
|
2e9b04 |
- test -d gcctestdir4 || mkdir -p gcctestdir4
|
|
|
2e9b04 |
- rm -f $@
|
|
|
2e9b04 |
- $(LN_S) $(abs_top_builddir)/ld-new $@
|
|
|
2e9b04 |
-
|
|
|
2e9b04 |
-ld4_SOURCES = $(sources_var)
|
|
|
2e9b04 |
-ld4_DEPENDENCIES = $(deps_var) gcctestdir4/ld gcctestdir4/collect-ld
|
|
|
2e9b04 |
-ld4_LDADD = $(ldadd_var)
|
|
|
2e9b04 |
-editcc4 = -e 's/\([^ ]*\)\(.*\)/\1 -Bgcctestdir4\/\2/'
|
|
|
2e9b04 |
-ld4_LINK = `echo $(CXXLD) | sed $(editcc4)`\
|
|
|
2e9b04 |
- $(AM_CXXFLAGS) $(CXXFLAGS) $(ld4_LDFLAGS) $(LDFLAGS) -o $@
|
|
|
2e9b04 |
-
|
|
|
2e9b04 |
-ld1_LDFLAGS = -Wl,--build-id=tree -Wl,--build-id-chunk-size-for-treehash=12345 -Wl,--build-id-min-file-size-for-treehash=0
|
|
|
2e9b04 |
-ld2_LDFLAGS = -Wl,--build-id=tree -Wl,--build-id-chunk-size-for-treehash=12345 -Wl,--build-id-min-file-size-for-treehash=0
|
|
|
2e9b04 |
-ld3_LDFLAGS = -Wl,--build-id=tree -Wl,--build-id-chunk-size-for-treehash=12345 -Wl,--build-id-min-file-size-for-treehash=0
|
|
|
2e9b04 |
-ld4_LDFLAGS = -Wl,--build-id=tree -Wl,--build-id-chunk-size-for-treehash=12346 -Wl,--build-id-min-file-size-for-treehash=0
|
|
|
2e9b04 |
-
|
|
|
2e9b04 |
-if THREADS
|
|
|
2e9b04 |
-
|
|
|
2e9b04 |
-ld1_LDFLAGS += -Wl,--thread-count=3
|
|
|
2e9b04 |
-ld2_LDFLAGS += -Wl,--thread-count=3
|
|
|
2e9b04 |
-ld3_LDFLAGS += -Wl,--thread-count=13
|
|
|
2e9b04 |
-ld4_LDFLAGS += -Wl,--thread-count=3
|
|
|
2e9b04 |
-check_PROGRAMS += ld3
|
|
|
2e9b04 |
-TESTS += bootstrap-test-treehash-chunksize
|
|
|
2e9b04 |
-MOSTLYCLEANFILES += bootstrap-test-treehash-chunksize
|
|
|
2e9b04 |
-
|
|
|
2e9b04 |
-bootstrap-test-treehash: ld1 ld3
|
|
|
2e9b04 |
- rm -f $@
|
|
|
2e9b04 |
- echo "#!/bin/sh" > $@
|
|
|
2e9b04 |
- echo "cmp ld1 ld3" >> $@
|
|
|
2e9b04 |
- chmod +x $@
|
|
|
2e9b04 |
-
|
|
|
2e9b04 |
-endif
|
|
|
2e9b04 |
-
|
|
|
2e9b04 |
-bootstrap-test-treehash-chunksize: ld1 ld4
|
|
|
2e9b04 |
- rm -f $@
|
|
|
2e9b04 |
- echo "#!/bin/sh" > $@
|
|
|
2e9b04 |
- echo "cmp ld1 ld4 | grep ." >> $@
|
|
|
2e9b04 |
- chmod +x $@
|
|
|
2e9b04 |
-
|
|
|
2e9b04 |
-endif
|
|
|
2e9b04 |
-endif
|
|
|
2e9b04 |
--- binutils.orig/gold/Makefile.in 2022-01-17 11:55:26.339529386 +0000
|
|
|
2e9b04 |
+++ binutils-2.35.2/gold/Makefile.in 2022-01-17 13:38:37.337029726 +0000
|
|
|
2e9b04 |
@@ -110,17 +110,6 @@ host_triplet = @host@
|
|
|
2e9b04 |
target_triplet = @target@
|
|
|
2e9b04 |
bin_PROGRAMS = dwp$(EXEEXT)
|
|
|
2e9b04 |
noinst_PROGRAMS = ld-new$(EXEEXT) incremental-dump$(EXEEXT)
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@check_PROGRAMS = ld1$(EXEEXT) \
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ ld2$(EXEEXT) ld1-r$(EXEEXT) \
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ ld2-r$(EXEEXT) ld4$(EXEEXT) \
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ $(am__EXEEXT_1)
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@@THREADS_TRUE@am__append_1 = -Wl,--thread-count=3
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@@THREADS_TRUE@am__append_2 = -Wl,--thread-count=3
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@@THREADS_TRUE@am__append_3 = -Wl,--thread-count=13
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@@THREADS_TRUE@am__append_4 = -Wl,--thread-count=3
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@@THREADS_TRUE@am__append_5 = ld3
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@@THREADS_TRUE@am__append_6 = bootstrap-test-treehash-chunksize
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@@THREADS_TRUE@am__append_7 = bootstrap-test-treehash-chunksize
|
|
|
2e9b04 |
subdir = .
|
|
|
2e9b04 |
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
|
|
2e9b04 |
am__aclocal_m4_deps = $(top_srcdir)/../config/ax_pthread.m4 \
|
|
|
2e9b04 |
@@ -177,8 +166,6 @@ am_libgold_a_OBJECTS = $(am__objects_1)
|
|
|
2e9b04 |
$(am__objects_3) $(am__objects_2)
|
|
|
2e9b04 |
libgold_a_OBJECTS = $(am_libgold_a_OBJECTS)
|
|
|
2e9b04 |
am__installdirs = "$(DESTDIR)$(bindir)"
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@@THREADS_TRUE@am__EXEEXT_1 = \
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@@THREADS_TRUE@ ld3$(EXEEXT)
|
|
|
2e9b04 |
PROGRAMS = $(bin_PROGRAMS) $(noinst_PROGRAMS)
|
|
|
2e9b04 |
am_dwp_OBJECTS = dwp.$(OBJEXT)
|
|
|
2e9b04 |
dwp_OBJECTS = $(am_dwp_OBJECTS)
|
|
|
2e9b04 |
@@ -196,18 +183,6 @@ am__DEPENDENCIES_2 = $(am__DEPENDENCIES_
|
|
|
2e9b04 |
$(am__DEPENDENCIES_1)
|
|
|
2e9b04 |
ld_new_LINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(ld_new_LDFLAGS) \
|
|
|
2e9b04 |
$(LDFLAGS) -o $@
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@am_ld1_OBJECTS = $(am__objects_4)
|
|
|
2e9b04 |
-ld1_OBJECTS = $(am_ld1_OBJECTS)
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@am_ld1_r_OBJECTS = $(am__objects_4)
|
|
|
2e9b04 |
-ld1_r_OBJECTS = $(am_ld1_r_OBJECTS)
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@am_ld2_OBJECTS = $(am__objects_4)
|
|
|
2e9b04 |
-ld2_OBJECTS = $(am_ld2_OBJECTS)
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@am_ld2_r_OBJECTS = $(am__objects_4)
|
|
|
2e9b04 |
-ld2_r_OBJECTS = $(am_ld2_r_OBJECTS)
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@am_ld3_OBJECTS = $(am__objects_4)
|
|
|
2e9b04 |
-ld3_OBJECTS = $(am_ld3_OBJECTS)
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@am_ld4_OBJECTS = $(am__objects_4)
|
|
|
2e9b04 |
-ld4_OBJECTS = $(am_ld4_OBJECTS)
|
|
|
2e9b04 |
AM_V_P = $(am__v_P_@AM_V@)
|
|
|
2e9b04 |
am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
|
|
|
2e9b04 |
am__v_P_0 = false
|
|
|
2e9b04 |
@@ -260,8 +235,7 @@ am__v_YACC_1 =
|
|
|
2e9b04 |
YLWRAP = $(top_srcdir)/../ylwrap
|
|
|
2e9b04 |
SOURCES = $(libgold_a_SOURCES) $(dwp_SOURCES) \
|
|
|
2e9b04 |
$(incremental_dump_SOURCES) $(ld_new_SOURCES) \
|
|
|
2e9b04 |
- $(EXTRA_ld_new_SOURCES) $(ld1_SOURCES) $(ld1_r_SOURCES) \
|
|
|
2e9b04 |
- $(ld2_SOURCES) $(ld2_r_SOURCES) $(ld3_SOURCES) $(ld4_SOURCES)
|
|
|
2e9b04 |
+ $(EXTRA_ld_new_SOURCES)
|
|
|
2e9b04 |
RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
|
|
|
2e9b04 |
ctags-recursive dvi-recursive html-recursive info-recursive \
|
|
|
2e9b04 |
install-data-recursive install-dvi-recursive \
|
|
|
2e9b04 |
@@ -282,7 +256,7 @@ am__recursive_targets = \
|
|
|
2e9b04 |
$(RECURSIVE_CLEAN_TARGETS) \
|
|
|
2e9b04 |
$(am__extra_recursive_targets)
|
|
|
2e9b04 |
AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
|
|
|
2e9b04 |
- cscope check recheck
|
|
|
2e9b04 |
+ cscope
|
|
|
2e9b04 |
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
|
|
|
2e9b04 |
$(LISP)config.in
|
|
|
2e9b04 |
# Read a list of newline-separated strings from the standard input,
|
|
|
2e9b04 |
@@ -304,209 +278,6 @@ am__define_uniq_tagged_files = \
|
|
|
2e9b04 |
ETAGS = etags
|
|
|
2e9b04 |
CTAGS = ctags
|
|
|
2e9b04 |
CSCOPE = cscope
|
|
|
2e9b04 |
-am__tty_colors_dummy = \
|
|
|
2e9b04 |
- mgn= red= grn= lgn= blu= brg= std=; \
|
|
|
2e9b04 |
- am__color_tests=no
|
|
|
2e9b04 |
-am__tty_colors = { \
|
|
|
2e9b04 |
- $(am__tty_colors_dummy); \
|
|
|
2e9b04 |
- if test "X$(AM_COLOR_TESTS)" = Xno; then \
|
|
|
2e9b04 |
- am__color_tests=no; \
|
|
|
2e9b04 |
- elif test "X$(AM_COLOR_TESTS)" = Xalways; then \
|
|
|
2e9b04 |
- am__color_tests=yes; \
|
|
|
2e9b04 |
- elif test "X$$TERM" != Xdumb && { test -t 1; } 2>/dev/null; then \
|
|
|
2e9b04 |
- am__color_tests=yes; \
|
|
|
2e9b04 |
- fi; \
|
|
|
2e9b04 |
- if test $$am__color_tests = yes; then \
|
|
|
2e9b04 |
- red='?[0;31m'; \
|
|
|
2e9b04 |
- grn='?[0;32m'; \
|
|
|
2e9b04 |
- lgn='?[1;32m'; \
|
|
|
2e9b04 |
- blu='?[1;34m'; \
|
|
|
2e9b04 |
- mgn='?[0;35m'; \
|
|
|
2e9b04 |
- brg='?[1m'; \
|
|
|
2e9b04 |
- std='?[m'; \
|
|
|
2e9b04 |
- fi; \
|
|
|
2e9b04 |
-}
|
|
|
2e9b04 |
-am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
|
|
|
2e9b04 |
-am__vpath_adj = case $$p in \
|
|
|
2e9b04 |
- $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
|
|
|
2e9b04 |
- *) f=$$p;; \
|
|
|
2e9b04 |
- esac;
|
|
|
2e9b04 |
-am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
|
|
|
2e9b04 |
-am__install_max = 40
|
|
|
2e9b04 |
-am__nobase_strip_setup = \
|
|
|
2e9b04 |
- srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
|
|
|
2e9b04 |
-am__nobase_strip = \
|
|
|
2e9b04 |
- for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
|
|
|
2e9b04 |
-am__nobase_list = $(am__nobase_strip_setup); \
|
|
|
2e9b04 |
- for p in $$list; do echo "$$p $$p"; done | \
|
|
|
2e9b04 |
- sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
|
|
|
2e9b04 |
- $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
|
|
|
2e9b04 |
- if (++n[$$2] == $(am__install_max)) \
|
|
|
2e9b04 |
- { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
|
|
|
2e9b04 |
- END { for (dir in files) print dir, files[dir] }'
|
|
|
2e9b04 |
-am__base_list = \
|
|
|
2e9b04 |
- sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
|
|
|
2e9b04 |
- sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
|
|
|
2e9b04 |
-am__uninstall_files_from_dir = { \
|
|
|
2e9b04 |
- test -z "$$files" \
|
|
|
2e9b04 |
- || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
|
|
|
2e9b04 |
- || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
|
|
|
2e9b04 |
- $(am__cd) "$$dir" && rm -f $$files; }; \
|
|
|
2e9b04 |
- }
|
|
|
2e9b04 |
-am__recheck_rx = ^[ ]*:recheck:[ ]*
|
|
|
2e9b04 |
-am__global_test_result_rx = ^[ ]*:global-test-result:[ ]*
|
|
|
2e9b04 |
-am__copy_in_global_log_rx = ^[ ]*:copy-in-global-log:[ ]*
|
|
|
2e9b04 |
-# A command that, given a newline-separated list of test names on the
|
|
|
2e9b04 |
-# standard input, print the name of the tests that are to be re-run
|
|
|
2e9b04 |
-# upon "make recheck".
|
|
|
2e9b04 |
-am__list_recheck_tests = $(AWK) '{ \
|
|
|
2e9b04 |
- recheck = 1; \
|
|
|
2e9b04 |
- while ((rc = (getline line < ($$0 ".trs"))) != 0) \
|
|
|
2e9b04 |
- { \
|
|
|
2e9b04 |
- if (rc < 0) \
|
|
|
2e9b04 |
- { \
|
|
|
2e9b04 |
- if ((getline line2 < ($$0 ".log")) < 0) \
|
|
|
2e9b04 |
- recheck = 0; \
|
|
|
2e9b04 |
- break; \
|
|
|
2e9b04 |
- } \
|
|
|
2e9b04 |
- else if (line ~ /$(am__recheck_rx)[nN][Oo]/) \
|
|
|
2e9b04 |
- { \
|
|
|
2e9b04 |
- recheck = 0; \
|
|
|
2e9b04 |
- break; \
|
|
|
2e9b04 |
- } \
|
|
|
2e9b04 |
- else if (line ~ /$(am__recheck_rx)[yY][eE][sS]/) \
|
|
|
2e9b04 |
- { \
|
|
|
2e9b04 |
- break; \
|
|
|
2e9b04 |
- } \
|
|
|
2e9b04 |
- }; \
|
|
|
2e9b04 |
- if (recheck) \
|
|
|
2e9b04 |
- print $$0; \
|
|
|
2e9b04 |
- close ($$0 ".trs"); \
|
|
|
2e9b04 |
- close ($$0 ".log"); \
|
|
|
2e9b04 |
-}'
|
|
|
2e9b04 |
-# A command that, given a newline-separated list of test names on the
|
|
|
2e9b04 |
-# standard input, create the global log from their .trs and .log files.
|
|
|
2e9b04 |
-am__create_global_log = $(AWK) ' \
|
|
|
2e9b04 |
-function fatal(msg) \
|
|
|
2e9b04 |
-{ \
|
|
|
2e9b04 |
- print "fatal: making $@: " msg | "cat >&2;; \
|
|
|
2e9b04 |
- exit 1; \
|
|
|
2e9b04 |
-} \
|
|
|
2e9b04 |
-function rst_section(header) \
|
|
|
2e9b04 |
-{ \
|
|
|
2e9b04 |
- print header; \
|
|
|
2e9b04 |
- len = length(header); \
|
|
|
2e9b04 |
- for (i = 1; i <= len; i = i + 1) \
|
|
|
2e9b04 |
- printf "="; \
|
|
|
2e9b04 |
- printf "\n\n"; \
|
|
|
2e9b04 |
-} \
|
|
|
2e9b04 |
-{ \
|
|
|
2e9b04 |
- copy_in_global_log = 1; \
|
|
|
2e9b04 |
- global_test_result = "RUN"; \
|
|
|
2e9b04 |
- while ((rc = (getline line < ($$0 ".trs"))) != 0) \
|
|
|
2e9b04 |
- { \
|
|
|
2e9b04 |
- if (rc < 0) \
|
|
|
2e9b04 |
- fatal("failed to read from " $$0 ".trs"); \
|
|
|
2e9b04 |
- if (line ~ /$(am__global_test_result_rx)/) \
|
|
|
2e9b04 |
- { \
|
|
|
2e9b04 |
- sub("$(am__global_test_result_rx)", "", line); \
|
|
|
2e9b04 |
- sub("[ ]*$$", "", line); \
|
|
|
2e9b04 |
- global_test_result = line; \
|
|
|
2e9b04 |
- } \
|
|
|
2e9b04 |
- else if (line ~ /$(am__copy_in_global_log_rx)[nN][oO]/) \
|
|
|
2e9b04 |
- copy_in_global_log = 0; \
|
|
|
2e9b04 |
- }; \
|
|
|
2e9b04 |
- if (copy_in_global_log) \
|
|
|
2e9b04 |
- { \
|
|
|
2e9b04 |
- rst_section(global_test_result ": " $$0); \
|
|
|
2e9b04 |
- while ((rc = (getline line < ($$0 ".log"))) != 0) \
|
|
|
2e9b04 |
- { \
|
|
|
2e9b04 |
- if (rc < 0) \
|
|
|
2e9b04 |
- fatal("failed to read from " $$0 ".log"); \
|
|
|
2e9b04 |
- print line; \
|
|
|
2e9b04 |
- }; \
|
|
|
2e9b04 |
- printf "\n"; \
|
|
|
2e9b04 |
- }; \
|
|
|
2e9b04 |
- close ($$0 ".trs"); \
|
|
|
2e9b04 |
- close ($$0 ".log"); \
|
|
|
2e9b04 |
-}'
|
|
|
2e9b04 |
-# Restructured Text title.
|
|
|
2e9b04 |
-am__rst_title = { sed 's/.*/ & /;h;s/./=/g;p;x;s/ *$$//;p;g' && echo; }
|
|
|
2e9b04 |
-# Solaris 10 'make', and several other traditional 'make' implementations,
|
|
|
2e9b04 |
-# pass "-e" to $(SHELL), and POSIX 2008 even requires this. Work around it
|
|
|
2e9b04 |
-# by disabling -e (using the XSI extension "set +e") if it's set.
|
|
|
2e9b04 |
-am__sh_e_setup = case $$- in *e*) set +e;; esac
|
|
|
2e9b04 |
-# Default flags passed to test drivers.
|
|
|
2e9b04 |
-am__common_driver_flags = \
|
|
|
2e9b04 |
- --color-tests "$$am__color_tests" \
|
|
|
2e9b04 |
- --enable-hard-errors "$$am__enable_hard_errors" \
|
|
|
2e9b04 |
- --expect-failure "$$am__expect_failure"
|
|
|
2e9b04 |
-# To be inserted before the command running the test. Creates the
|
|
|
2e9b04 |
-# directory for the log if needed. Stores in $dir the directory
|
|
|
2e9b04 |
-# containing $f, in $tst the test, in $log the log. Executes the
|
|
|
2e9b04 |
-# developer- defined test setup AM_TESTS_ENVIRONMENT (if any), and
|
|
|
2e9b04 |
-# passes TESTS_ENVIRONMENT. Set up options for the wrapper that
|
|
|
2e9b04 |
-# will run the test scripts (or their associated LOG_COMPILER, if
|
|
|
2e9b04 |
-# thy have one).
|
|
|
2e9b04 |
-am__check_pre = \
|
|
|
2e9b04 |
-$(am__sh_e_setup); \
|
|
|
2e9b04 |
-$(am__vpath_adj_setup) $(am__vpath_adj) \
|
|
|
2e9b04 |
-$(am__tty_colors); \
|
|
|
2e9b04 |
-srcdir=$(srcdir); export srcdir; \
|
|
|
2e9b04 |
-case "$@" in \
|
|
|
2e9b04 |
- */*) am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`;; \
|
|
|
2e9b04 |
- *) am__odir=.;; \
|
|
|
2e9b04 |
-esac; \
|
|
|
2e9b04 |
-test "x$$am__odir" = x"." || test -d "$$am__odir" \
|
|
|
2e9b04 |
- || $(MKDIR_P) "$$am__odir" || exit $$?; \
|
|
|
2e9b04 |
-if test -f "./$$f"; then dir=./; \
|
|
|
2e9b04 |
-elif test -f "$$f"; then dir=; \
|
|
|
2e9b04 |
-else dir="$(srcdir)/"; fi; \
|
|
|
2e9b04 |
-tst=$$dir$$f; log='$@'; \
|
|
|
2e9b04 |
-if test -n '$(DISABLE_HARD_ERRORS)'; then \
|
|
|
2e9b04 |
- am__enable_hard_errors=no; \
|
|
|
2e9b04 |
-else \
|
|
|
2e9b04 |
- am__enable_hard_errors=yes; \
|
|
|
2e9b04 |
-fi; \
|
|
|
2e9b04 |
-case " $(XFAIL_TESTS) " in \
|
|
|
2e9b04 |
- *[\ \ ]$$f[\ \ ]* | *[\ \ ]$$dir$$f[\ \ ]*) \
|
|
|
2e9b04 |
- am__expect_failure=yes;; \
|
|
|
2e9b04 |
- *) \
|
|
|
2e9b04 |
- am__expect_failure=no;; \
|
|
|
2e9b04 |
-esac; \
|
|
|
2e9b04 |
-$(AM_TESTS_ENVIRONMENT) $(TESTS_ENVIRONMENT)
|
|
|
2e9b04 |
-# A shell command to get the names of the tests scripts with any registered
|
|
|
2e9b04 |
-# extension removed (i.e., equivalently, the names of the test logs, with
|
|
|
2e9b04 |
-# the '.log' extension removed). The result is saved in the shell variable
|
|
|
2e9b04 |
-# '$bases'. This honors runtime overriding of TESTS and TEST_LOGS. Sadly,
|
|
|
2e9b04 |
-# we cannot use something simpler, involving e.g., "$(TEST_LOGS:.log=)",
|
|
|
2e9b04 |
-# since that might cause problem with VPATH rewrites for suffix-less tests.
|
|
|
2e9b04 |
-# See also 'test-harness-vpath-rewrite.sh' and 'test-trs-basic.sh'.
|
|
|
2e9b04 |
-am__set_TESTS_bases = \
|
|
|
2e9b04 |
- bases='$(TEST_LOGS)'; \
|
|
|
2e9b04 |
- bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \
|
|
|
2e9b04 |
- bases=`echo $$bases`
|
|
|
2e9b04 |
-RECHECK_LOGS = $(TEST_LOGS)
|
|
|
2e9b04 |
-TEST_SUITE_LOG = test-suite.log
|
|
|
2e9b04 |
-TEST_EXTENSIONS = @EXEEXT@ .test
|
|
|
2e9b04 |
-LOG_DRIVER = $(SHELL) $(top_srcdir)/../test-driver
|
|
|
2e9b04 |
-LOG_COMPILE = $(LOG_COMPILER) $(AM_LOG_FLAGS) $(LOG_FLAGS)
|
|
|
2e9b04 |
-am__set_b = \
|
|
|
2e9b04 |
- case '$@' in \
|
|
|
2e9b04 |
- */*) \
|
|
|
2e9b04 |
- case '$*' in \
|
|
|
2e9b04 |
- */*) b='$*';; \
|
|
|
2e9b04 |
- *) b=`echo '$@' | sed 's/\.log$$//'`; \
|
|
|
2e9b04 |
- esac;; \
|
|
|
2e9b04 |
- *) \
|
|
|
2e9b04 |
- b='$*';; \
|
|
|
2e9b04 |
- esac
|
|
|
2e9b04 |
-am__test_logs1 = $(TESTS:=.log)
|
|
|
2e9b04 |
-am__test_logs2 = $(am__test_logs1:@EXEEXT@.log=.log)
|
|
|
2e9b04 |
-TEST_LOGS = $(am__test_logs2:.test.log=.log)
|
|
|
2e9b04 |
-TEST_LOG_DRIVER = $(SHELL) $(top_srcdir)/../test-driver
|
|
|
2e9b04 |
-TEST_LOG_COMPILE = $(TEST_LOG_COMPILER) $(AM_TEST_LOG_FLAGS) \
|
|
|
2e9b04 |
- $(TEST_LOG_FLAGS)
|
|
|
2e9b04 |
DIST_SUBDIRS = $(SUBDIRS)
|
|
|
2e9b04 |
ACLOCAL = @ACLOCAL@
|
|
|
2e9b04 |
AMTAR = @AMTAR@
|
|
|
2e9b04 |
@@ -641,6 +412,7 @@ pdfdir = @pdfdir@
|
|
|
2e9b04 |
prefix = @prefix@
|
|
|
2e9b04 |
program_transform_name = @program_transform_name@
|
|
|
2e9b04 |
psdir = @psdir@
|
|
|
2e9b04 |
+runstatedir = @runstatedir@
|
|
|
2e9b04 |
sbindir = @sbindir@
|
|
|
2e9b04 |
sharedstatedir = @sharedstatedir@
|
|
|
2e9b04 |
srcdir = @srcdir@
|
|
|
2e9b04 |
@@ -828,75 +600,11 @@ dwp_LDADD = libgold.a $(LIBIBERTY) $(GOL
|
|
|
2e9b04 |
dwp_LDFLAGS = $(GOLD_LDFLAGS)
|
|
|
2e9b04 |
CONFIG_STATUS_DEPENDENCIES = $(srcdir)/../bfd/development.sh
|
|
|
2e9b04 |
POTFILES = $(CCFILES) $(HFILES) $(TARGETSOURCES)
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_SOURCES = $(sources_var)
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_DEPENDENCIES = $(deps_var) gcctestdir1/ld gcctestdir1/collect-ld
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_LDADD = $(ldadd_var)
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@editcc1 = -e 's/\([^ ]*\)\(.*\)/\1 -Bgcctestdir1\/\2/'
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_LINK = `echo $(CXXLD) | sed $(editcc1)`\
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ $(AM_CXXFLAGS) $(CXXFLAGS) $(ld1_LDFLAGS) $(LDFLAGS) -o $@
|
|
|
2e9b04 |
-
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_SOURCES = $(sources_var)
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_DEPENDENCIES = $(deps_var) gcctestdir2/ld gcctestdir2/collect-ld
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_LDADD = $(ldadd_var)
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@editcc2 = -e 's/\([^ ]*\)\(.*\)/\1 -Bgcctestdir2\/\2/'
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_LINK = `echo $(CXXLD) | sed $(editcc2)`\
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ $(AM_CXXFLAGS) $(CXXFLAGS) $(ld2_LDFLAGS) $(LDFLAGS) -o $@
|
|
|
2e9b04 |
-
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_r_SOURCES = $(sources_var)
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_r_DEPENDENCIES = libgold-1-r.o $(deps_var) gcctestdir1/ld gcctestdir1/collect-ld
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_r_LDADD = libgold-1-r.o $(ldadd_var)
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_r_LINK = `echo $(CXXLD) | sed $(editcc1)`\
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ $(AM_CXXFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@
|
|
|
2e9b04 |
-
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_r_SOURCES = $(sources_var)
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_r_DEPENDENCIES = libgold-2-r.o $(deps_var) gcctestdir2-r/ld gcctestdir2-r/collect-ld
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_r_LDADD = libgold-2-r.o $(ldadd_var)
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@editcc2r = -e 's/\([^ ]*\)\(.*\)/\1 -Bgcctestdir2-r\/\2/'
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_r_LINK = `echo $(CXXLD) | sed $(editcc2r)`\
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ $(AM_CXXFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@
|
|
|
2e9b04 |
-
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@TESTS = bootstrap-test bootstrap-test-r \
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ bootstrap-test-treehash-chunksize \
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ $(am__append_6)
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@MOSTLYCLEANFILES = bootstrap-test \
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ bootstrap-test-r \
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ bootstrap-test-treehash-chunksize \
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ $(am__append_7)
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ld3_SOURCES = $(sources_var)
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ld3_DEPENDENCIES = $(deps_var) gcctestdir3/ld gcctestdir3/collect-ld
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ld3_LDADD = $(ldadd_var)
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@editcc3 = -e 's/\([^ ]*\)\(.*\)/\1 -Bgcctestdir3\/\2/'
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ld3_LINK = `echo $(CXXLD) | sed $(editcc3)`\
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ $(AM_CXXFLAGS) $(CXXFLAGS) $(ld3_LDFLAGS) $(LDFLAGS) -o $@
|
|
|
2e9b04 |
-
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ld4_SOURCES = $(sources_var)
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ld4_DEPENDENCIES = $(deps_var) gcctestdir4/ld gcctestdir4/collect-ld
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ld4_LDADD = $(ldadd_var)
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@editcc4 = -e 's/\([^ ]*\)\(.*\)/\1 -Bgcctestdir4\/\2/'
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ld4_LINK = `echo $(CXXLD) | sed $(editcc4)`\
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ $(AM_CXXFLAGS) $(CXXFLAGS) $(ld4_LDFLAGS) $(LDFLAGS) -o $@
|
|
|
2e9b04 |
-
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ld1_LDFLAGS = -Wl,--build-id=tree \
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ -Wl,--build-id-chunk-size-for-treehash=12345 \
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ -Wl,--build-id-min-file-size-for-treehash=0 \
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ $(am__append_1)
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ld2_LDFLAGS = -Wl,--build-id=tree \
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ -Wl,--build-id-chunk-size-for-treehash=12345 \
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ -Wl,--build-id-min-file-size-for-treehash=0 \
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ $(am__append_2)
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ld3_LDFLAGS = -Wl,--build-id=tree \
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ -Wl,--build-id-chunk-size-for-treehash=12345 \
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ -Wl,--build-id-min-file-size-for-treehash=0 \
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ $(am__append_3)
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ld4_LDFLAGS = -Wl,--build-id=tree \
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ -Wl,--build-id-chunk-size-for-treehash=12346 \
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ -Wl,--build-id-min-file-size-for-treehash=0 \
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ $(am__append_4)
|
|
|
2e9b04 |
all: config.h
|
|
|
2e9b04 |
$(MAKE) $(AM_MAKEFLAGS) all-recursive
|
|
|
2e9b04 |
|
|
|
2e9b04 |
.SUFFIXES:
|
|
|
2e9b04 |
-.SUFFIXES: .c .cc .log .o .obj .test .test$(EXEEXT) .trs .y
|
|
|
2e9b04 |
+.SUFFIXES: .c .cc .o .obj .y
|
|
|
2e9b04 |
am--refresh: Makefile
|
|
|
2e9b04 |
@:
|
|
|
2e9b04 |
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
|
|
|
2e9b04 |
@@ -1001,9 +709,6 @@ uninstall-binPROGRAMS:
|
|
|
2e9b04 |
clean-binPROGRAMS:
|
|
|
2e9b04 |
-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
|
|
|
2e9b04 |
|
|
|
2e9b04 |
-clean-checkPROGRAMS:
|
|
|
2e9b04 |
- -test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS)
|
|
|
2e9b04 |
-
|
|
|
2e9b04 |
clean-noinstPROGRAMS:
|
|
|
2e9b04 |
-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
|
|
|
2e9b04 |
|
|
|
2e9b04 |
@@ -1019,30 +724,6 @@ ld-new$(EXEEXT): $(ld_new_OBJECTS) $(ld_
|
|
|
2e9b04 |
@rm -f ld-new$(EXEEXT)
|
|
|
2e9b04 |
$(AM_V_CXXLD)$(ld_new_LINK) $(ld_new_OBJECTS) $(ld_new_LDADD) $(LIBS)
|
|
|
2e9b04 |
|
|
|
2e9b04 |
-ld1$(EXEEXT): $(ld1_OBJECTS) $(ld1_DEPENDENCIES) $(EXTRA_ld1_DEPENDENCIES)
|
|
|
2e9b04 |
- @rm -f ld1$(EXEEXT)
|
|
|
2e9b04 |
- $(AM_V_GEN)$(ld1_LINK) $(ld1_OBJECTS) $(ld1_LDADD) $(LIBS)
|
|
|
2e9b04 |
-
|
|
|
2e9b04 |
-ld1-r$(EXEEXT): $(ld1_r_OBJECTS) $(ld1_r_DEPENDENCIES) $(EXTRA_ld1_r_DEPENDENCIES)
|
|
|
2e9b04 |
- @rm -f ld1-r$(EXEEXT)
|
|
|
2e9b04 |
- $(AM_V_GEN)$(ld1_r_LINK) $(ld1_r_OBJECTS) $(ld1_r_LDADD) $(LIBS)
|
|
|
2e9b04 |
-
|
|
|
2e9b04 |
-ld2$(EXEEXT): $(ld2_OBJECTS) $(ld2_DEPENDENCIES) $(EXTRA_ld2_DEPENDENCIES)
|
|
|
2e9b04 |
- @rm -f ld2$(EXEEXT)
|
|
|
2e9b04 |
- $(AM_V_GEN)$(ld2_LINK) $(ld2_OBJECTS) $(ld2_LDADD) $(LIBS)
|
|
|
2e9b04 |
-
|
|
|
2e9b04 |
-ld2-r$(EXEEXT): $(ld2_r_OBJECTS) $(ld2_r_DEPENDENCIES) $(EXTRA_ld2_r_DEPENDENCIES)
|
|
|
2e9b04 |
- @rm -f ld2-r$(EXEEXT)
|
|
|
2e9b04 |
- $(AM_V_GEN)$(ld2_r_LINK) $(ld2_r_OBJECTS) $(ld2_r_LDADD) $(LIBS)
|
|
|
2e9b04 |
-
|
|
|
2e9b04 |
-ld3$(EXEEXT): $(ld3_OBJECTS) $(ld3_DEPENDENCIES) $(EXTRA_ld3_DEPENDENCIES)
|
|
|
2e9b04 |
- @rm -f ld3$(EXEEXT)
|
|
|
2e9b04 |
- $(AM_V_GEN)$(ld3_LINK) $(ld3_OBJECTS) $(ld3_LDADD) $(LIBS)
|
|
|
2e9b04 |
-
|
|
|
2e9b04 |
-ld4$(EXEEXT): $(ld4_OBJECTS) $(ld4_DEPENDENCIES) $(EXTRA_ld4_DEPENDENCIES)
|
|
|
2e9b04 |
- @rm -f ld4$(EXEEXT)
|
|
|
2e9b04 |
- $(AM_V_GEN)$(ld4_LINK) $(ld4_OBJECTS) $(ld4_LDADD) $(LIBS)
|
|
|
2e9b04 |
-
|
|
|
2e9b04 |
mostlyclean-compile:
|
|
|
2e9b04 |
-rm -f *.$(OBJEXT)
|
|
|
2e9b04 |
|
|
|
2e9b04 |
@@ -1251,186 +932,7 @@ cscopelist-am: $(am__tagged_files)
|
|
|
2e9b04 |
distclean-tags:
|
|
|
2e9b04 |
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
|
|
2e9b04 |
-rm -f cscope.out cscope.in.out cscope.po.out cscope.files
|
|
|
2e9b04 |
-
|
|
|
2e9b04 |
-# Recover from deleted '.trs' file; this should ensure that
|
|
|
2e9b04 |
-# "rm -f foo.log; make foo.trs" re-run 'foo.test', and re-create
|
|
|
2e9b04 |
-# both 'foo.log' and 'foo.trs'. Break the recipe in two subshells
|
|
|
2e9b04 |
-# to avoid problems with "make -n".
|
|
|
2e9b04 |
-.log.trs:
|
|
|
2e9b04 |
- rm -f $< $@
|
|
|
2e9b04 |
- $(MAKE) $(AM_MAKEFLAGS) $<
|
|
|
2e9b04 |
-
|
|
|
2e9b04 |
-# Leading 'am--fnord' is there to ensure the list of targets does not
|
|
|
2e9b04 |
-# expand to empty, as could happen e.g. with make check TESTS=''.
|
|
|
2e9b04 |
-am--fnord $(TEST_LOGS) $(TEST_LOGS:.log=.trs): $(am__force_recheck)
|
|
|
2e9b04 |
-am--force-recheck:
|
|
|
2e9b04 |
- @:
|
|
|
2e9b04 |
-
|
|
|
2e9b04 |
-$(TEST_SUITE_LOG): $(TEST_LOGS)
|
|
|
2e9b04 |
- @$(am__set_TESTS_bases); \
|
|
|
2e9b04 |
- am__f_ok () { test -f "$$1" && test -r "$$1"; }; \
|
|
|
2e9b04 |
- redo_bases=`for i in $$bases; do \
|
|
|
2e9b04 |
- am__f_ok $$i.trs && am__f_ok $$i.log || echo $$i; \
|
|
|
2e9b04 |
- done`; \
|
|
|
2e9b04 |
- if test -n "$$redo_bases"; then \
|
|
|
2e9b04 |
- redo_logs=`for i in $$redo_bases; do echo $$i.log; done`; \
|
|
|
2e9b04 |
- redo_results=`for i in $$redo_bases; do echo $$i.trs; done`; \
|
|
|
2e9b04 |
- if $(am__make_dryrun); then :; else \
|
|
|
2e9b04 |
- rm -f $$redo_logs && rm -f $$redo_results || exit 1; \
|
|
|
2e9b04 |
- fi; \
|
|
|
2e9b04 |
- fi; \
|
|
|
2e9b04 |
- if test -n "$$am__remaking_logs"; then \
|
|
|
2e9b04 |
- echo "fatal: making $(TEST_SUITE_LOG): possible infinite" \
|
|
|
2e9b04 |
- "recursion detected" >&2; \
|
|
|
2e9b04 |
- elif test -n "$$redo_logs"; then \
|
|
|
2e9b04 |
- am__remaking_logs=yes $(MAKE) $(AM_MAKEFLAGS) $$redo_logs; \
|
|
|
2e9b04 |
- fi; \
|
|
|
2e9b04 |
- if $(am__make_dryrun); then :; else \
|
|
|
2e9b04 |
- st=0; \
|
|
|
2e9b04 |
- errmsg="fatal: making $(TEST_SUITE_LOG): failed to create"; \
|
|
|
2e9b04 |
- for i in $$redo_bases; do \
|
|
|
2e9b04 |
- test -f $$i.trs && test -r $$i.trs \
|
|
|
2e9b04 |
- || { echo "$$errmsg $$i.trs" >&2; st=1; }; \
|
|
|
2e9b04 |
- test -f $$i.log && test -r $$i.log \
|
|
|
2e9b04 |
- || { echo "$$errmsg $$i.log" >&2; st=1; }; \
|
|
|
2e9b04 |
- done; \
|
|
|
2e9b04 |
- test $$st -eq 0 || exit 1; \
|
|
|
2e9b04 |
- fi
|
|
|
2e9b04 |
- @$(am__sh_e_setup); $(am__tty_colors); $(am__set_TESTS_bases); \
|
|
|
2e9b04 |
- ws='[ ]'; \
|
|
|
2e9b04 |
- results=`for b in $$bases; do echo $$b.trs; done`; \
|
|
|
2e9b04 |
- test -n "$$results" || results=/dev/null; \
|
|
|
2e9b04 |
- all=` grep "^$$ws*:test-result:" $$results | wc -l`; \
|
|
|
2e9b04 |
- pass=` grep "^$$ws*:test-result:$$ws*PASS" $$results | wc -l`; \
|
|
|
2e9b04 |
- fail=` grep "^$$ws*:test-result:$$ws*FAIL" $$results | wc -l`; \
|
|
|
2e9b04 |
- skip=` grep "^$$ws*:test-result:$$ws*SKIP" $$results | wc -l`; \
|
|
|
2e9b04 |
- xfail=`grep "^$$ws*:test-result:$$ws*XFAIL" $$results | wc -l`; \
|
|
|
2e9b04 |
- xpass=`grep "^$$ws*:test-result:$$ws*XPASS" $$results | wc -l`; \
|
|
|
2e9b04 |
- error=`grep "^$$ws*:test-result:$$ws*ERROR" $$results | wc -l`; \
|
|
|
2e9b04 |
- if test `expr $$fail + $$xpass + $$error` -eq 0; then \
|
|
|
2e9b04 |
- success=true; \
|
|
|
2e9b04 |
- else \
|
|
|
2e9b04 |
- success=false; \
|
|
|
2e9b04 |
- fi; \
|
|
|
2e9b04 |
- br='==================='; br=$$br$$br$$br$$br; \
|
|
|
2e9b04 |
- result_count () \
|
|
|
2e9b04 |
- { \
|
|
|
2e9b04 |
- if test x"$$1" = x"--maybe-color"; then \
|
|
|
2e9b04 |
- maybe_colorize=yes; \
|
|
|
2e9b04 |
- elif test x"$$1" = x"--no-color"; then \
|
|
|
2e9b04 |
- maybe_colorize=no; \
|
|
|
2e9b04 |
- else \
|
|
|
2e9b04 |
- echo "$@: invalid 'result_count' usage" >&2; exit 4; \
|
|
|
2e9b04 |
- fi; \
|
|
|
2e9b04 |
- shift; \
|
|
|
2e9b04 |
- desc=$$1 count=$$2; \
|
|
|
2e9b04 |
- if test $$maybe_colorize = yes && test $$count -gt 0; then \
|
|
|
2e9b04 |
- color_start=$$3 color_end=$$std; \
|
|
|
2e9b04 |
- else \
|
|
|
2e9b04 |
- color_start= color_end=; \
|
|
|
2e9b04 |
- fi; \
|
|
|
2e9b04 |
- echo "$${color_start}# $$desc $$count$${color_end}"; \
|
|
|
2e9b04 |
- }; \
|
|
|
2e9b04 |
- create_testsuite_report () \
|
|
|
2e9b04 |
- { \
|
|
|
2e9b04 |
- result_count $$1 "TOTAL:" $$all "$$brg"; \
|
|
|
2e9b04 |
- result_count $$1 "PASS: " $$pass "$$grn"; \
|
|
|
2e9b04 |
- result_count $$1 "SKIP: " $$skip "$$blu"; \
|
|
|
2e9b04 |
- result_count $$1 "XFAIL:" $$xfail "$$lgn"; \
|
|
|
2e9b04 |
- result_count $$1 "FAIL: " $$fail "$$red"; \
|
|
|
2e9b04 |
- result_count $$1 "XPASS:" $$xpass "$$red"; \
|
|
|
2e9b04 |
- result_count $$1 "ERROR:" $$error "$$mgn"; \
|
|
|
2e9b04 |
- }; \
|
|
|
2e9b04 |
- { \
|
|
|
2e9b04 |
- echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" | \
|
|
|
2e9b04 |
- $(am__rst_title); \
|
|
|
2e9b04 |
- create_testsuite_report --no-color; \
|
|
|
2e9b04 |
- echo; \
|
|
|
2e9b04 |
- echo ".. contents:: :depth: 2"; \
|
|
|
2e9b04 |
- echo; \
|
|
|
2e9b04 |
- for b in $$bases; do echo $$b; done \
|
|
|
2e9b04 |
- | $(am__create_global_log); \
|
|
|
2e9b04 |
- } >$(TEST_SUITE_LOG).tmp || exit 1; \
|
|
|
2e9b04 |
- mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG); \
|
|
|
2e9b04 |
- if $$success; then \
|
|
|
2e9b04 |
- col="$$grn"; \
|
|
|
2e9b04 |
- else \
|
|
|
2e9b04 |
- col="$$red"; \
|
|
|
2e9b04 |
- test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG); \
|
|
|
2e9b04 |
- fi; \
|
|
|
2e9b04 |
- echo "$${col}$$br$${std}"; \
|
|
|
2e9b04 |
- echo "$${col}Testsuite summary for $(PACKAGE_STRING)$${std}"; \
|
|
|
2e9b04 |
- echo "$${col}$$br$${std}"; \
|
|
|
2e9b04 |
- create_testsuite_report --maybe-color; \
|
|
|
2e9b04 |
- echo "$$col$$br$$std"; \
|
|
|
2e9b04 |
- if $$success; then :; else \
|
|
|
2e9b04 |
- echo "$${col}See $(subdir)/$(TEST_SUITE_LOG)$${std}"; \
|
|
|
2e9b04 |
- if test -n "$(PACKAGE_BUGREPORT)"; then \
|
|
|
2e9b04 |
- echo "$${col}Please report to $(PACKAGE_BUGREPORT)$${std}"; \
|
|
|
2e9b04 |
- fi; \
|
|
|
2e9b04 |
- echo "$$col$$br$$std"; \
|
|
|
2e9b04 |
- fi; \
|
|
|
2e9b04 |
- $$success || exit 1
|
|
|
2e9b04 |
-
|
|
|
2e9b04 |
-check-TESTS:
|
|
|
2e9b04 |
- @list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list
|
|
|
2e9b04 |
- @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list
|
|
|
2e9b04 |
- @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
|
|
|
2e9b04 |
- @set +e; $(am__set_TESTS_bases); \
|
|
|
2e9b04 |
- log_list=`for i in $$bases; do echo $$i.log; done`; \
|
|
|
2e9b04 |
- trs_list=`for i in $$bases; do echo $$i.trs; done`; \
|
|
|
2e9b04 |
- log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \
|
|
|
2e9b04 |
- $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \
|
|
|
2e9b04 |
- exit $$?;
|
|
|
2e9b04 |
-recheck: all $(check_PROGRAMS)
|
|
|
2e9b04 |
- @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
|
|
|
2e9b04 |
- @set +e; $(am__set_TESTS_bases); \
|
|
|
2e9b04 |
- bases=`for i in $$bases; do echo $$i; done \
|
|
|
2e9b04 |
- | $(am__list_recheck_tests)` || exit 1; \
|
|
|
2e9b04 |
- log_list=`for i in $$bases; do echo $$i.log; done`; \
|
|
|
2e9b04 |
- log_list=`echo $$log_list`; \
|
|
|
2e9b04 |
- $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) \
|
|
|
2e9b04 |
- am__force_recheck=am--force-recheck \
|
|
|
2e9b04 |
- TEST_LOGS="$$log_list"; \
|
|
|
2e9b04 |
- exit $$?
|
|
|
2e9b04 |
-bootstrap-test.log: bootstrap-test
|
|
|
2e9b04 |
- @p='bootstrap-test'; \
|
|
|
2e9b04 |
- b='bootstrap-test'; \
|
|
|
2e9b04 |
- $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
|
|
|
2e9b04 |
- --log-file $$b.log --trs-file $$b.trs \
|
|
|
2e9b04 |
- $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
|
|
|
2e9b04 |
- "$$tst" $(AM_TESTS_FD_REDIRECT)
|
|
|
2e9b04 |
-bootstrap-test-r.log: bootstrap-test-r
|
|
|
2e9b04 |
- @p='bootstrap-test-r'; \
|
|
|
2e9b04 |
- b='bootstrap-test-r'; \
|
|
|
2e9b04 |
- $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
|
|
|
2e9b04 |
- --log-file $$b.log --trs-file $$b.trs \
|
|
|
2e9b04 |
- $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
|
|
|
2e9b04 |
- "$$tst" $(AM_TESTS_FD_REDIRECT)
|
|
|
2e9b04 |
-bootstrap-test-treehash-chunksize.log: bootstrap-test-treehash-chunksize
|
|
|
2e9b04 |
- @p='bootstrap-test-treehash-chunksize'; \
|
|
|
2e9b04 |
- b='bootstrap-test-treehash-chunksize'; \
|
|
|
2e9b04 |
- $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
|
|
|
2e9b04 |
- --log-file $$b.log --trs-file $$b.trs \
|
|
|
2e9b04 |
- $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
|
|
|
2e9b04 |
- "$$tst" $(AM_TESTS_FD_REDIRECT)
|
|
|
2e9b04 |
-.test.log:
|
|
|
2e9b04 |
- @p='$<'; \
|
|
|
2e9b04 |
- $(am__set_b); \
|
|
|
2e9b04 |
- $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
|
|
|
2e9b04 |
- --log-file $$b.log --trs-file $$b.trs \
|
|
|
2e9b04 |
- $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
|
|
|
2e9b04 |
- "$$tst" $(AM_TESTS_FD_REDIRECT)
|
|
|
2e9b04 |
-@am__EXEEXT_TRUE@.test$(EXEEXT).log:
|
|
|
2e9b04 |
-@am__EXEEXT_TRUE@ @p='$<'; \
|
|
|
2e9b04 |
-@am__EXEEXT_TRUE@ $(am__set_b); \
|
|
|
2e9b04 |
-@am__EXEEXT_TRUE@ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
|
|
|
2e9b04 |
-@am__EXEEXT_TRUE@ --log-file $$b.log --trs-file $$b.trs \
|
|
|
2e9b04 |
-@am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
|
|
|
2e9b04 |
-@am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT)
|
|
|
2e9b04 |
check-am: all-am
|
|
|
2e9b04 |
- $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
|
|
|
2e9b04 |
- $(MAKE) $(AM_MAKEFLAGS) check-TESTS
|
|
|
2e9b04 |
check: check-recursive
|
|
|
2e9b04 |
all-am: Makefile $(LIBRARIES) $(PROGRAMS) config.h
|
|
|
2e9b04 |
installdirs: installdirs-recursive
|
|
|
2e9b04 |
@@ -1458,10 +960,6 @@ install-strip:
|
|
|
2e9b04 |
"INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
|
|
|
2e9b04 |
fi
|
|
|
2e9b04 |
mostlyclean-generic:
|
|
|
2e9b04 |
- -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
|
|
|
2e9b04 |
- -test -z "$(TEST_LOGS)" || rm -f $(TEST_LOGS)
|
|
|
2e9b04 |
- -test -z "$(TEST_LOGS:.log=.trs)" || rm -f $(TEST_LOGS:.log=.trs)
|
|
|
2e9b04 |
- -test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
|
|
|
2e9b04 |
|
|
|
2e9b04 |
clean-generic:
|
|
|
2e9b04 |
|
|
|
2e9b04 |
@@ -1476,8 +974,8 @@ maintainer-clean-generic:
|
|
|
2e9b04 |
-rm -f yyscript.h
|
|
|
2e9b04 |
clean: clean-recursive
|
|
|
2e9b04 |
|
|
|
2e9b04 |
-clean-am: clean-binPROGRAMS clean-checkPROGRAMS clean-generic \
|
|
|
2e9b04 |
- clean-noinstLIBRARIES clean-noinstPROGRAMS mostlyclean-am
|
|
|
2e9b04 |
+clean-am: clean-binPROGRAMS clean-generic clean-noinstLIBRARIES \
|
|
|
2e9b04 |
+ clean-noinstPROGRAMS mostlyclean-am
|
|
|
2e9b04 |
|
|
|
2e9b04 |
distclean: distclean-recursive
|
|
|
2e9b04 |
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
|
|
|
2e9b04 |
@@ -1547,24 +1045,24 @@ ps-am:
|
|
|
2e9b04 |
|
|
|
2e9b04 |
uninstall-am: uninstall-binPROGRAMS
|
|
|
2e9b04 |
|
|
|
2e9b04 |
-.MAKE: $(am__recursive_targets) all check-am install-am install-strip
|
|
|
2e9b04 |
+.MAKE: $(am__recursive_targets) all install-am install-strip
|
|
|
2e9b04 |
|
|
|
2e9b04 |
.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
|
|
|
2e9b04 |
- am--refresh check check-TESTS check-am clean clean-binPROGRAMS \
|
|
|
2e9b04 |
- clean-checkPROGRAMS clean-cscope clean-generic \
|
|
|
2e9b04 |
- clean-noinstLIBRARIES clean-noinstPROGRAMS cscope \
|
|
|
2e9b04 |
- cscopelist-am ctags ctags-am distclean distclean-compile \
|
|
|
2e9b04 |
- distclean-generic distclean-hdr distclean-tags dvi dvi-am html \
|
|
|
2e9b04 |
- html-am info info-am install install-am install-binPROGRAMS \
|
|
|
2e9b04 |
- install-data install-data-am install-data-local install-dvi \
|
|
|
2e9b04 |
- install-dvi-am install-exec install-exec-am install-exec-local \
|
|
|
2e9b04 |
- install-html install-html-am install-info install-info-am \
|
|
|
2e9b04 |
- install-man install-pdf install-pdf-am install-ps \
|
|
|
2e9b04 |
- install-ps-am install-strip installcheck installcheck-am \
|
|
|
2e9b04 |
- installdirs installdirs-am maintainer-clean \
|
|
|
2e9b04 |
- maintainer-clean-generic mostlyclean mostlyclean-compile \
|
|
|
2e9b04 |
- mostlyclean-generic pdf pdf-am ps ps-am recheck tags tags-am \
|
|
|
2e9b04 |
- uninstall uninstall-am uninstall-binPROGRAMS
|
|
|
2e9b04 |
+ am--refresh check check-am clean clean-binPROGRAMS \
|
|
|
2e9b04 |
+ clean-cscope clean-generic clean-noinstLIBRARIES \
|
|
|
2e9b04 |
+ clean-noinstPROGRAMS cscope cscopelist-am ctags ctags-am \
|
|
|
2e9b04 |
+ distclean distclean-compile distclean-generic distclean-hdr \
|
|
|
2e9b04 |
+ distclean-tags dvi dvi-am html html-am info info-am install \
|
|
|
2e9b04 |
+ install-am install-binPROGRAMS install-data install-data-am \
|
|
|
2e9b04 |
+ install-data-local install-dvi install-dvi-am install-exec \
|
|
|
2e9b04 |
+ install-exec-am install-exec-local install-html \
|
|
|
2e9b04 |
+ install-html-am install-info install-info-am install-man \
|
|
|
2e9b04 |
+ install-pdf install-pdf-am install-ps install-ps-am \
|
|
|
2e9b04 |
+ install-strip installcheck installcheck-am installdirs \
|
|
|
2e9b04 |
+ installdirs-am maintainer-clean maintainer-clean-generic \
|
|
|
2e9b04 |
+ mostlyclean mostlyclean-compile mostlyclean-generic pdf pdf-am \
|
|
|
2e9b04 |
+ ps ps-am tags tags-am uninstall uninstall-am \
|
|
|
2e9b04 |
+ uninstall-binPROGRAMS
|
|
|
2e9b04 |
|
|
|
2e9b04 |
.PRECIOUS: Makefile
|
|
|
2e9b04 |
|
|
|
2e9b04 |
@@ -1615,61 +1113,6 @@ po/POTFILES.in: @MAINT@ Makefile
|
|
|
2e9b04 |
# build ld2. ld1 and ld2 should be identical. ld-new need not be
|
|
|
2e9b04 |
# identical to ld1, since it was linked with the host linker.
|
|
|
2e9b04 |
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@gcctestdir1/ld gcctestdir1/collect-ld: ld-new
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ test -d gcctestdir1 || mkdir -p gcctestdir1
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ rm -f $@
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ $(LN_S) $(abs_top_builddir)/ld-new $@
|
|
|
2e9b04 |
-
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@gcctestdir2/ld gcctestdir2/collect-ld: ld1
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ test -d gcctestdir2 || mkdir -p gcctestdir2
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ rm -f $@
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ $(LN_S) $(abs_top_builddir)/ld1 $@
|
|
|
2e9b04 |
-
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@bootstrap-test: ld2
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ rm -f $@
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ echo "#!/bin/sh" > $@
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ echo "cmp ld1 ld2" >> $@
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ chmod +x $@
|
|
|
2e9b04 |
-
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@libgold-1-r.o: gcctestdir1/ld libgold.a
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ gcctestdir1/ld -o $@ -r --whole-archive libgold.a
|
|
|
2e9b04 |
-
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@gcctestdir2-r/ld gcctestdir2-r/collect-ld: ld1-r
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ test -d gcctestdir2-r || mkdir -p gcctestdir2-r
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ rm -f $@
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ $(LN_S) $(abs_top_builddir)/ld1-r $@
|
|
|
2e9b04 |
-
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@libgold-2-r.o: gcctestdir2-r/ld libgold.a
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ gcctestdir2-r/ld -o $@ -r --whole-archive libgold.a
|
|
|
2e9b04 |
-
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@bootstrap-test-r: ld2-r
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ rm -f $@
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ echo "#!/bin/sh" > $@
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ echo "cmp ld1-r ld2-r" >> $@
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ chmod +x $@
|
|
|
2e9b04 |
-
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@gcctestdir3/ld gcctestdir3/collect-ld: ld-new
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ test -d gcctestdir3 || mkdir -p gcctestdir3
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ rm -f $@
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ $(LN_S) $(abs_top_builddir)/ld-new $@
|
|
|
2e9b04 |
-
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@gcctestdir4/ld gcctestdir4/collect-ld: ld-new
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ test -d gcctestdir4 || mkdir -p gcctestdir4
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ rm -f $@
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ $(LN_S) $(abs_top_builddir)/ld-new $@
|
|
|
2e9b04 |
-
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@@THREADS_TRUE@bootstrap-test-treehash: ld1 ld3
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@@THREADS_TRUE@ rm -f $@
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@@THREADS_TRUE@ echo "#!/bin/sh" > $@
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@@THREADS_TRUE@ echo "cmp ld1 ld3" >> $@
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@@THREADS_TRUE@ chmod +x $@
|
|
|
2e9b04 |
-
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@bootstrap-test-treehash-chunksize: ld1 ld4
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ rm -f $@
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ echo "#!/bin/sh" > $@
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ echo "cmp ld1 ld4 | grep ." >> $@
|
|
|
2e9b04 |
-@GCC_TRUE@@NATIVE_LINKER_TRUE@ chmod +x $@
|
|
|
2e9b04 |
-
|
|
|
2e9b04 |
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
|
|
2e9b04 |
# Otherwise a system limit (for SysV at least) may be exceeded.
|
|
|
2e9b04 |
.NOEXPORT:
|