diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2016-04-20 11:12:06 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2016-04-20 11:12:22 -0700 |
commit | 126697d1e4cb6e5936ecb62dafe57880717473ab (patch) | |
tree | c011c24040e61838caad53f0f94dae339113e49d /ld/testsuite/ld-x86-64/pie2.s | |
parent | 338c190a92871c063847caef51bdc066372d4550 (diff) | |
download | gdb-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.s | 8 |
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 |