summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-i386/pr17057.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-i386/pr17057.d')
-rw-r--r--ld/testsuite/ld-i386/pr17057.d9
1 files changed, 9 insertions, 0 deletions
diff --git a/ld/testsuite/ld-i386/pr17057.d b/ld/testsuite/ld-i386/pr17057.d
new file mode 100644
index 0000000..29cc676
--- /dev/null
+++ b/ld/testsuite/ld-i386/pr17057.d
@@ -0,0 +1,9 @@
+#name: PR ld/17057
+#as: --32
+#ld: -shared -melf_i386
+#readelf: -r --wide
+
+Relocation section '.rel.plt' at offset 0x[0-9a-f]+ contains 2 entries:
+ Offset Info Type Sym. Value Symbol's Name
+[0-9a-f ]+R_386_JUMP_SLOT +0+ +foo
+[0-9a-f ]+R_386_TLS_DESC +0+ +my_tls