From c6162010adbb2d9b1a05a865ba9c9c1530a85a53 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Thu, 3 Dec 2020 11:59:42 +1030 Subject: [PATCH] [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. --- gold/ChangeLog | 6 ++++++ gold/testsuite/Makefile.am | 8 ++++---- gold/testsuite/Makefile.in | 8 ++++---- 3 files changed, 14 insertions(+), 8 deletions(-) diff --git a/gold/ChangeLog b/gold/ChangeLog index a03163ebb8a..05a6f26d8fb 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,9 @@ +2020-12-03 Alan Modra + + * 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 PR ld/26972 diff --git a/gold/testsuite/Makefile.am b/gold/testsuite/Makefile.am index 3ba2a30ed85..39909de47d5 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 cad5af6bf57..c66a5ee9061 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. -- 2.30.2