aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-i386/pie1-nacl.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-i386/pie1-nacl.d')
-rw-r--r--ld/testsuite/ld-i386/pie1-nacl.d18
1 files changed, 18 insertions, 0 deletions
diff --git a/ld/testsuite/ld-i386/pie1-nacl.d b/ld/testsuite/ld-i386/pie1-nacl.d
new file mode 100644
index 0000000..aafd6a7
--- /dev/null
+++ b/ld/testsuite/ld-i386/pie1-nacl.d
@@ -0,0 +1,18 @@
+#source: pie1.s
+#as: --32
+#ld: -pie -melf_i386 -z relro
+#objdump: -dw --sym
+#target: i?86-*-nacl* x86_64-*-nacl*
+
+.*: +file format .*
+
+SYMBOL TABLE:
+#...
+10020000 l O .got.plt 0+ _GLOBAL_OFFSET_TABLE_
+#...
+
+Disassembly of section .text:
+
+0+ <_start>:
+ +0: 8d 80 00 00 fe ef lea -0x10020000\(%eax\),%eax
+#pass