https://bts.adelielinux.org/show_bug.cgi?id=196 --- binutils-2.41/ld/testsuite/ld-i386/no-plt.exp 2019-09-17 13:51:35.771111471 -0500 +++ binutils-2.41/ld/testsuite/ld-i386/no-plt.exp 2019-09-17 14:00:48.581118647 -0500 @@ -63,69 +63,6 @@ run_cc_link_tests [list \ "libno-plt-1a.so" \ ] \ [list \ - "Build libno-plt-1b.so" \ - "-shared tmpdir/no-plt-extern1a.o" \ - "-Wa,-mx86-used-note=yes" \ - {dummy.s} \ - {{readelf -Wr libno-plt-1b.rd} \ - {objdump -dwrj.text libno-plt-1b.dd}} \ - "libno-plt-1b.so" \ - ] \ - [list \ - "No PLT (dynamic 1a)" \ - "$NOPIE_LDFLAGS tmpdir/no-plt-check1a.o tmpdir/no-plt-main1.o \ - tmpdir/no-plt-func1.o tmpdir/no-plt-extern1a.o" \ - "-Wa,-mx86-used-note=yes" \ - {dummy.s} \ - {{readelf -Wr no-plt-1a.rd} {objdump -dwrj.text no-plt-1a.dd}} \ - "no-plt-1a" \ - ] \ - [list \ - "No PLT (dynamic 1b)" \ - "tmpdir/no-plt-check1a.o tmpdir/no-plt-main1.o \ - tmpdir/libno-plt-1a.so tmpdir/libno-plt-1b.so" \ - "-Wa,-mx86-used-note=yes" \ - {dummy.s} \ - {{readelf -Wr no-plt-1b.rd} {objdump -dwrj.text no-plt-1b.dd}} \ - "no-plt-1b" \ - ] \ - [list \ - "No PLT (dynamic 1c)" \ - "$NOPIE_LDFLAGS tmpdir/no-plt-check1a.o tmpdir/no-plt-main1.o \ - tmpdir/no-plt-func1.o tmpdir/libno-plt-1b.so" \ - "-Wa,-mx86-used-note=yes" \ - {dummy.s} \ - {{readelf -Wr no-plt-1c.rd} {objdump -dwrj.text no-plt-1c.dd}} \ - "no-plt-1c" \ - ] \ - [list \ - "No PLT (PIE 1e)" \ - "-pie tmpdir/no-plt-check1a.o tmpdir/no-plt-main1.o \ - tmpdir/no-plt-func1.o tmpdir/no-plt-extern1a.o" \ - "-Wa,-mx86-used-note=yes" \ - {dummy.s} \ - {{readelf -Wr no-plt-1e.rd} {objdump -dwrj.text no-plt-1e.dd}} \ - "no-plt-1e" \ - ] \ - [list \ - "No PLT (PIE 1f)" \ - "-pie tmpdir/no-plt-check1a.o tmpdir/no-plt-main1.o \ - tmpdir/libno-plt-1a.so tmpdir/libno-plt-1b.so" \ - "-Wa,-mx86-used-note=yes" \ - { dummy.s } \ - {{readelf -Wr no-plt-1f.rd} {objdump -dwrj.text no-plt-1f.dd}} \ - "no-plt-1f" \ - ] \ - [list \ - "No PLT (PIE 1g)" \ - "-pie tmpdir/no-plt-check1a.o tmpdir/no-plt-main1.o \ - tmpdir/no-plt-func1.o tmpdir/libno-plt-1b.so" \ - "-Wa,-mx86-used-note=yes" \ - { dummy.s } \ - {{readelf -Wr no-plt-1g.rd} {objdump -dwrj.text no-plt-1g.dd}} \ - "no-plt-1g" \ - ] \ - [list \ "No PLT (dynamic 1h)" \ "$NOPIE_LDFLAGS tmpdir/no-plt-check1b.o tmpdir/no-plt-main1.o \ tmpdir/no-plt-func1.o tmpdir/no-plt-extern1b.o" \ @@ -143,15 +80,6 @@ run_cc_link_tests [list \ {{readelf -Wr no-plt-1i.rd} {objdump -dwrj.text no-plt-1i.dd}} \ "no-plt-1i" \ ] \ - [list \ - "No PLT (static 1j)" \ - "-static tmpdir/no-plt-check1b.o tmpdir/no-plt-main1.o \ - tmpdir/no-plt-func1.o tmpdir/no-plt-extern1b.o" \ - "-Wa,-mx86-used-note=yes" \ - {dummy.s} \ - {{readelf -Wr no-plt-1j.rd} {objdump -dwrj.text no-plt-1j.dd}} \ - "no-plt-1j" \ - ] \ ] run_ld_link_exec_tests [list \ @@ -165,24 +93,6 @@ run_ld_link_exec_tests [list \ "pass.out" \ ] \ [list \ - "No PLT (dynamic 1b)" \ - "tmpdir/no-plt-check1a.o tmpdir/no-plt-main1.o \ - tmpdir/libno-plt-1a.so tmpdir/libno-plt-1b.so" \ - "-Wa,-mx86-used-note=yes" \ - { dummy.s } \ - "no-plt-1b" \ - "pass.out" \ - ] \ - [list \ - "No PLT (dynamic 1c)" \ - "tmpdir/no-plt-check1a.o tmpdir/no-plt-main1.o \ - tmpdir/no-plt-func1.o tmpdir/libno-plt-1b.so" \ - "-Wa,-mx86-used-note=yes" \ - { dummy.s } \ - "no-plt-1c" \ - "pass.out" \ - ] \ - [list \ "No PLT (static 1d)" \ "-static tmpdir/no-plt-check1a.o tmpdir/no-plt-main1.o \ tmpdir/no-plt-func1.o tmpdir/no-plt-extern1a.o" \ @@ -201,24 +111,6 @@ run_ld_link_exec_tests [list \ "pass.out" \ ] \ [list \ - "No PLT (PIE 1f)" \ - "-pie tmpdir/no-plt-check1a.o tmpdir/no-plt-main1.o \ - tmpdir/libno-plt-1a.so tmpdir/libno-plt-1b.so" \ - "-Wa,-mx86-used-note=yes" \ - { dummy.s } \ - "no-plt-1f" \ - "pass.out" \ - ] \ - [list \ - "No PLT (PIE 1g)" \ - "-pie tmpdir/no-plt-check1a.o tmpdir/no-plt-main1.o \ - tmpdir/no-plt-func1.o tmpdir/libno-plt-1b.so" \ - "-Wa,-mx86-used-note=yes" \ - { dummy.s } \ - "no-plt-1g" \ - "pass.out" \ - ] \ - [list \ "No PLT (dynamic 1h)" \ "$NOPIE_LDFLAGS tmpdir/no-plt-check1b.o tmpdir/no-plt-main1.o \ tmpdir/no-plt-func1.o tmpdir/no-plt-extern1b.o" \ @@ -236,15 +128,6 @@ run_ld_link_exec_tests [list \ "no-plt-1i" \ "pass.out" \ ] \ - [list \ - "No PLT (static 1j)" \ - "-static tmpdir/no-plt-check1b.o tmpdir/no-plt-main1.o \ - tmpdir/no-plt-func1.o tmpdir/no-plt-extern1b.o" \ - "-Wa,-mx86-used-note=yes" \ - {dummy.s} \ - "no-plt-1j" \ - "pass.out" \ - ] \ ] # Run-time tests which require working IFUNC support.