diff options
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ChangeLog | 5 | ||||
-rw-r--r-- | ld/testsuite/ld-x86-64/no-plt-1e.nd | 7 | ||||
-rw-r--r-- | ld/testsuite/ld-x86-64/no-plt.exp | 2 |
3 files changed, 13 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index d40086e..ed3797e 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,5 +1,10 @@ 2017-04-24 H.J. Lu <hongjiu.lu@intel.com> + * testsuite/ld-x86-64/no-plt.exp: Also check no-plt-1e.nd. + * testsuite/ld-x86-64/no-plt-1e.nd: New file. + +2017-04-24 H.J. Lu <hongjiu.lu@intel.com> + * testsuite/ld-i386/pr12570a.d: Skip for nacl targets. * testsuite/ld-i386/pr12570b.d: Likewise. diff --git a/ld/testsuite/ld-x86-64/no-plt-1e.nd b/ld/testsuite/ld-x86-64/no-plt-1e.nd new file mode 100644 index 0000000..c96760c --- /dev/null +++ b/ld/testsuite/ld-x86-64/no-plt-1e.nd @@ -0,0 +1,7 @@ +#nm: -g -D +#target: x86_64-*-* + +#failif +#... +[0-9]+ +T +func +#... diff --git a/ld/testsuite/ld-x86-64/no-plt.exp b/ld/testsuite/ld-x86-64/no-plt.exp index 5b5c817..9cecd03 100644 --- a/ld/testsuite/ld-x86-64/no-plt.exp +++ b/ld/testsuite/ld-x86-64/no-plt.exp @@ -111,7 +111,7 @@ run_cc_link_tests [list \ tmpdir/no-plt-func1.o tmpdir/no-plt-extern1.o" \ "" \ {dummy.s} \ - {{readelf -Wr no-plt-1e.rd} {objdump -dwrj.text no-plt-1e.dd}} \ + {{readelf -Wr no-plt-1e.rd} {nm -gD no-plt-1e.nd} {objdump -dwrj.text no-plt-1e.dd}} \ "no-plt-1e" \ ] \ [list \ |