aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2002-02-17 20:13:05 +0000
committerHans-Peter Nilsson <hp@axis.com>2002-02-17 20:13:05 +0000
commitacdd0e9a5490cac4f6b993da648344e1e9a885cb (patch)
treecbbb9aba2f5b902b4af3bdd431220747fac51d45 /ld
parentdd51aa368d060005b3d614abd5551c8abdc18821 (diff)
downloadgdb-acdd0e9a5490cac4f6b993da648344e1e9a885cb.zip
gdb-acdd0e9a5490cac4f6b993da648344e1e9a885cb.tar.gz
gdb-acdd0e9a5490cac4f6b993da648344e1e9a885cb.tar.bz2
* ld-mmix/bpo-22.d: New test.
Diffstat (limited to 'ld')
-rw-r--r--ld/testsuite/ChangeLog2
-rw-r--r--ld/testsuite/ld-mmix/bpo-22.d28
2 files changed, 30 insertions, 0 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index 51ebb52..b99b915 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,5 +1,7 @@
2002-02-17 Hans-Peter Nilsson <hp@bitrange.com>
+ * ld-mmix/bpo-22.d: New test.
+
* ld-mmix/local12.d (Sections): Match any LMA for .data, .sbss,
and .bss.
diff --git a/ld/testsuite/ld-mmix/bpo-22.d b/ld/testsuite/ld-mmix/bpo-22.d
new file mode 100644
index 0000000..1dc1430
--- /dev/null
+++ b/ld/testsuite/ld-mmix/bpo-22.d
@@ -0,0 +1,28 @@
+#source: start.s
+#source: bpo-1.s
+#as: -linker-allocated-gregs
+#ld: -m mmo --oformat elf64-mmix
+#objdump: -st
+
+# This weird combination of format and emulation options caused hiccups in
+# the reloc accounting machinery.
+
+.*: file format elf64-mmix
+
+SYMBOL TABLE:
+0000000000000000 l d \.text 0+
+2000000000000000 l d \.data 0+
+2000000000000000 l d \.bss 0+
+0+7f0 l d \.MMIX\.reg_contents 0+
+0+ l d \*ABS\* 0+
+0+ l d \*ABS\* 0+
+0+ l d \*ABS\* 0+
+0+4 l \.text 0+ x
+0+ g \.text 0+ Main
+0+ g \.text 0+ _start
+
+Contents of section \.text:
+ 0000 e3fd0001 232afe00 .*
+Contents of section \.data:
+Contents of section \.MMIX\.reg_contents:
+ 07f0 00000000 0000002e .*