aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-mmix/local12.d
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2001-10-30 15:20:14 +0000
committerNick Clifton <nickc@redhat.com>2001-10-30 15:20:14 +0000
commit3c3bdf30e42268e6193693acd1dc66d2d1792536 (patch)
tree8f6b2752d885c3e71d0bef5717e981faac396928 /ld/testsuite/ld-mmix/local12.d
parentf5ffc9190a633d0f8eb1632a64a28eda75206b55 (diff)
downloadgdb-3c3bdf30e42268e6193693acd1dc66d2d1792536.zip
gdb-3c3bdf30e42268e6193693acd1dc66d2d1792536.tar.gz
gdb-3c3bdf30e42268e6193693acd1dc66d2d1792536.tar.bz2
Add MMIX support
Diffstat (limited to 'ld/testsuite/ld-mmix/local12.d')
-rw-r--r--ld/testsuite/ld-mmix/local12.d24
1 files changed, 24 insertions, 0 deletions
diff --git a/ld/testsuite/ld-mmix/local12.d b/ld/testsuite/ld-mmix/local12.d
new file mode 100644
index 0000000..102f448
--- /dev/null
+++ b/ld/testsuite/ld-mmix/local12.d
@@ -0,0 +1,24 @@
+#source: local1.s
+#source: ext1-254.s
+#source: start.s
+#ld: -m elf64mmix
+#objdump: -shr
+
+# Check that 254 is local when we don't have any registers.
+
+.*: file format elf64-mmix
+
+Sections:
+Idx Name Size VMA LMA File off Algn
+ 0 \.text 0+8 0+ 0+ 0+b0 2\*\*2
+ CONTENTS, ALLOC, LOAD, READONLY, CODE
+ 1 \.data 0+ 2000000000000000 2000000000000000 0+b8 2\*\*0
+ CONTENTS, ALLOC, LOAD, DATA
+ 2 \.sbss 0+ 2000000000000000 2000000000000000 0+b8 2\*\*0
+ CONTENTS
+ 3 \.bss 0+ 2000000000000000 2000000000000000 0+b8 2\*\*0
+ ALLOC
+Contents of section \.text:
+ 0000 fd030201 e3fd0001 .*
+Contents of section \.data:
+Contents of section \.sbss: