aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-i386/pr19636-3i.d
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2017-10-11 13:32:20 -0700
committerH.J. Lu <hjl.tools@gmail.com>2017-10-11 13:36:19 -0700
commit853ee16fcdf7e60f297b3456353b3a69f4822bec (patch)
treee70ed9c5e9c5455d1837c9891bdd8720db4cf386 /ld/testsuite/ld-i386/pr19636-3i.d
parent4f9d99066edcefab0e5868d20cb9ddaa7b76da52 (diff)
downloadgdb-853ee16fcdf7e60f297b3456353b3a69f4822bec.zip
gdb-853ee16fcdf7e60f297b3456353b3a69f4822bec.tar.gz
gdb-853ee16fcdf7e60f297b3456353b3a69f4822bec.tar.bz2
x86: Run PR ld/19636 tests with -z dynamic-undefined-weak
"-z dynamic-undefined-weak" makes undefined weak symbols dynamic, but undefined weak symbols are still resolved to 0 at link-time if there is no dynamic linker in executable. * testsuite/ld-i386/i386.exp: Run pr19636-1j, pr19636-1k, pr19636-1l, pr19636-3h and pr19636-3i. * testsuite/ld-i386/pr19636-1j.d: New file. * testsuite/ld-i386/pr19636-1k.d: Likewise. * testsuite/ld-i386/pr19636-1l.d: Likewise. * testsuite/ld-i386/pr19636-3h.d: Likewise. * testsuite/ld-i386/pr19636-3i.d: Likewise. * testsuite/ld-x86-64/pr19636-1h.d: Likewise. * testsuite/ld-x86-64/pr19636-1i.d: Likewise. * testsuite/ld-x86-64/pr19636-1j.d: Likewise. * testsuite/ld-x86-64/pr19636-2j.d: Likewise. * testsuite/ld-x86-64/pr19636-2k.d: Likewise. * testsuite/ld-x86-64/pr19636-2l.d: Likewise. * testsuite/ld-x86-64/pr19636-2m.d: Likewise. * testsuite/ld-x86-64/x86-64.exp: Run pr19636-1h, pr19636-1i, pr19636-1j, pr19636-2j, pr19636-2k, pr19636-2l and pr19636-2m.
Diffstat (limited to 'ld/testsuite/ld-i386/pr19636-3i.d')
-rw-r--r--ld/testsuite/ld-i386/pr19636-3i.d6
1 files changed, 6 insertions, 0 deletions
diff --git a/ld/testsuite/ld-i386/pr19636-3i.d b/ld/testsuite/ld-i386/pr19636-3i.d
new file mode 100644
index 0000000..8169a59
--- /dev/null
+++ b/ld/testsuite/ld-i386/pr19636-3i.d
@@ -0,0 +1,6 @@
+#source: pr19636-3.s
+#as: --32
+#ld: -pie -E -m elf_i386 -z dynamic-undefined-weak
+#readelf : -r --wide
+
+There are no relocations in this file.