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