aboutsummaryrefslogtreecommitdiff
path: root/gold
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2020-12-03 11:59:42 +1030
committerAlan Modra <amodra@gmail.com>2020-12-03 16:31:19 +1030
commitc6162010adbb2d9b1a05a865ba9c9c1530a85a53 (patch)
tree4f55ad7a261bd3943055082ab1f6520ce56fa422 /gold
parent317c8bbc2968df9e80b6d2a9f39e43b76ff2015e (diff)
downloadgdb-c6162010adbb2d9b1a05a865ba9c9c1530a85a53.zip
gdb-c6162010adbb2d9b1a05a865ba9c9c1530a85a53.tar.gz
gdb-c6162010adbb2d9b1a05a865ba9c9c1530a85a53.tar.bz2
[GOLD] PR26936 test
Fails if you configure with --disable-x86-used-note. Fix that. * testsuite/Makefile.am (pr26936a.o): Pass -mx86-used-note=yes. (pr26936b.o, pr26936c.o, pr26936d.o): Likewise. * testsuite/Makefile.in: Regenerate.
Diffstat (limited to 'gold')
-rw-r--r--gold/ChangeLog6
-rw-r--r--gold/testsuite/Makefile.am8
-rw-r--r--gold/testsuite/Makefile.in8
3 files changed, 14 insertions, 8 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog
index a03163e..05a6f26 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -1,3 +1,9 @@
+2020-12-03 Alan Modra <amodra@gmail.com>
+
+ * testsuite/Makefile.am (pr26936a.o): Pass -mx86-used-note=yes.
+ (pr26936b.o, pr26936c.o, pr26936d.o): Likewise.
+ * testsuite/Makefile.in: Regenerate.
+
2020-11-29 H.J. Lu <hongjiu.lu@intel.com>
PR ld/26972
diff --git a/gold/testsuite/Makefile.am b/gold/testsuite/Makefile.am
index 3ba2a30..39909de 100644
--- a/gold/testsuite/Makefile.am
+++ b/gold/testsuite/Makefile.am
@@ -4414,12 +4414,12 @@ pr26936b: pr26936d.o pr26936b.o pr26936c.o ../ld-new
../ld-new -Ttext-segment 0x10000 -z max-page-size=0x1000 \
-e _start -o $@ pr26936d.o pr26936b.o pr26936c.o
pr26936a.o: pr26936a.s
- $(TEST_AS) --gen-debug -o $@ $<
+ $(TEST_AS) --gen-debug -mx86-used-note=yes -o $@ $<
pr26936b.o: pr26936b.s
- $(TEST_AS) --gen-debug -o $@ $<
+ $(TEST_AS) --gen-debug -mx86-used-note=yes -o $@ $<
pr26936c.o: pr26936c.s
- $(TEST_AS) --gen-debug -o $@ $<
+ $(TEST_AS) --gen-debug -mx86-used-note=yes -o $@ $<
pr26936d.o: pr26936d.s
- $(TEST_AS) --gen-debug -o $@ $<
+ $(TEST_AS) --gen-debug -mx86-used-note=yes -o $@ $<
endif DEFAULT_TARGET_X86_64
diff --git a/gold/testsuite/Makefile.in b/gold/testsuite/Makefile.in
index cad5af6..c66a5ee 100644
--- a/gold/testsuite/Makefile.in
+++ b/gold/testsuite/Makefile.in
@@ -10388,13 +10388,13 @@ uninstall-am:
@DEFAULT_TARGET_X86_64_TRUE@ ../ld-new -Ttext-segment 0x10000 -z max-page-size=0x1000 \
@DEFAULT_TARGET_X86_64_TRUE@ -e _start -o $@ pr26936d.o pr26936b.o pr26936c.o
@DEFAULT_TARGET_X86_64_TRUE@pr26936a.o: pr26936a.s
-@DEFAULT_TARGET_X86_64_TRUE@ $(TEST_AS) --gen-debug -o $@ $<
+@DEFAULT_TARGET_X86_64_TRUE@ $(TEST_AS) --gen-debug -mx86-used-note=yes -o $@ $<
@DEFAULT_TARGET_X86_64_TRUE@pr26936b.o: pr26936b.s
-@DEFAULT_TARGET_X86_64_TRUE@ $(TEST_AS) --gen-debug -o $@ $<
+@DEFAULT_TARGET_X86_64_TRUE@ $(TEST_AS) --gen-debug -mx86-used-note=yes -o $@ $<
@DEFAULT_TARGET_X86_64_TRUE@pr26936c.o: pr26936c.s
-@DEFAULT_TARGET_X86_64_TRUE@ $(TEST_AS) --gen-debug -o $@ $<
+@DEFAULT_TARGET_X86_64_TRUE@ $(TEST_AS) --gen-debug -mx86-used-note=yes -o $@ $<
@DEFAULT_TARGET_X86_64_TRUE@pr26936d.o: pr26936d.s
-@DEFAULT_TARGET_X86_64_TRUE@ $(TEST_AS) --gen-debug -o $@ $<
+@DEFAULT_TARGET_X86_64_TRUE@ $(TEST_AS) --gen-debug -mx86-used-note=yes -o $@ $<
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.