aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-x86-64/pie2.s
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2016-04-20 11:12:06 -0700
committerH.J. Lu <hjl.tools@gmail.com>2016-04-20 11:12:22 -0700
commit126697d1e4cb6e5936ecb62dafe57880717473ab (patch)
treec011c24040e61838caad53f0f94dae339113e49d /ld/testsuite/ld-x86-64/pie2.s
parent338c190a92871c063847caef51bdc066372d4550 (diff)
downloadgdb-126697d1e4cb6e5936ecb62dafe57880717473ab.zip
gdb-126697d1e4cb6e5936ecb62dafe57880717473ab.tar.gz
gdb-126697d1e4cb6e5936ecb62dafe57880717473ab.tar.bz2
Add ld-x86-64/pie2 test
* testsuite/ld-x86-64/pie2.d: New file. * testsuite/ld-x86-64/pie2.s: Likewise. * testsuite/ld-x86-64/x86-64.exp: Run pie2.
Diffstat (limited to 'ld/testsuite/ld-x86-64/pie2.s')
-rw-r--r--ld/testsuite/ld-x86-64/pie2.s8
1 files changed, 8 insertions, 0 deletions
diff --git a/ld/testsuite/ld-x86-64/pie2.s b/ld/testsuite/ld-x86-64/pie2.s
new file mode 100644
index 0000000..7c489a1
--- /dev/null
+++ b/ld/testsuite/ld-x86-64/pie2.s
@@ -0,0 +1,8 @@
+ .text
+ .global _start
+_start:
+ .long foo
+ .data
+ .globl foo
+foo:
+ .byte 0