aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-mmix/loc9.d
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2008-06-16 15:07:01 +0000
committerHans-Peter Nilsson <hp@axis.com>2008-06-16 15:07:01 +0000
commit465e2c43ad8492bf2a50771ba74e6d1c39160580 (patch)
treebad44962b75b814238a2af6ac09bf9d97454b767 /ld/testsuite/ld-mmix/loc9.d
parent4758f280d47cce2c35c929a3ed25f894978153d9 (diff)
downloadgdb-465e2c43ad8492bf2a50771ba74e6d1c39160580.zip
gdb-465e2c43ad8492bf2a50771ba74e6d1c39160580.tar.gz
gdb-465e2c43ad8492bf2a50771ba74e6d1c39160580.tar.bz2
PR gas/6607
* ld-mmix/loc10.d, ld-mmix/loc10.s, ld-mmix/loc10m.d, ld-mmix/loc8.d, ld-mmix/loc8.s, ld-mmix/loc8m.d, ld-mmix/loc9.d, ld-mmix/loc9.s, ld-mmix/loc9m.d: New tests.
Diffstat (limited to 'ld/testsuite/ld-mmix/loc9.d')
-rw-r--r--ld/testsuite/ld-mmix/loc9.d13
1 files changed, 13 insertions, 0 deletions
diff --git a/ld/testsuite/ld-mmix/loc9.d b/ld/testsuite/ld-mmix/loc9.d
new file mode 100644
index 0000000..458fef6
--- /dev/null
+++ b/ld/testsuite/ld-mmix/loc9.d
@@ -0,0 +1,13 @@
+#ld: -m elf64mmix
+#objdump: -str
+
+# Setting file start through the LOC pseudo, see PR 6607.
+
+.*: file format elf64-mmix
+
+SYMBOL TABLE:
+#...
+8000000000000000 g \*ABS\* 0+ __\.MMIX\.start\.\.text
+#...
+Contents of section \.text:
+ 8000000000000000 f4000000 .*