aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-scripts/sysroot-prefix-x.s
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@bitrange.com>2014-10-15 02:59:41 +0200
committerHans-Peter Nilsson <hp@bitrange.com>2014-10-15 02:59:41 +0200
commitef1ab8e216a01d94a4cd23dc94363a78e2971b84 (patch)
tree8c24d8aefd68ac9b89cace3d87e4f227cbcd99ba /ld/testsuite/ld-scripts/sysroot-prefix-x.s
parentbdd65db9b9cd6d5dbdff9b48e97379029f8a3a1a (diff)
downloadgdb-ef1ab8e216a01d94a4cd23dc94363a78e2971b84.zip
gdb-ef1ab8e216a01d94a4cd23dc94363a78e2971b84.tar.gz
gdb-ef1ab8e216a01d94a4cd23dc94363a78e2971b84.tar.bz2
Add sysroot-prefix ld linker tests.
* ld-scripts/sysroot-prefix.exp, ld-scripts/sysroot-prefix-x.s, ld-scripts/sysroot-prefix-y.s: New files. N.B: full coverage is only possible with complementary use of --with-sysroot when configuring.
Diffstat (limited to 'ld/testsuite/ld-scripts/sysroot-prefix-x.s')
-rw-r--r--ld/testsuite/ld-scripts/sysroot-prefix-x.s5
1 files changed, 5 insertions, 0 deletions
diff --git a/ld/testsuite/ld-scripts/sysroot-prefix-x.s b/ld/testsuite/ld-scripts/sysroot-prefix-x.s
new file mode 100644
index 0000000..9b81905
--- /dev/null
+++ b/ld/testsuite/ld-scripts/sysroot-prefix-x.s
@@ -0,0 +1,5 @@
+ .data
+ .globl x
+x:
+ .dc.a y
+