aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/relocatable.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-elf/relocatable.d')
-rw-r--r--ld/testsuite/ld-elf/relocatable.d9
1 files changed, 9 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elf/relocatable.d b/ld/testsuite/ld-elf/relocatable.d
new file mode 100644
index 0000000..be4847a
--- /dev/null
+++ b/ld/testsuite/ld-elf/relocatable.d
@@ -0,0 +1,9 @@
+#name: relocatable with script
+#source: simple.s
+#ld: -r -T relocatable.t
+#readelf: -S --wide
+
+#...
+ \[[ 0-9]+\] \.text.*[ \t]+PROGBITS[ \t]+0+800000[ \t0-9a-f]+AX.*
+ \[[ 0-9]+\] \.data.*[ \t]+PROGBITS[ \t]+0+900000[ \t0-9a-f]+WA.*
+#pass