aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-visium/reloc.d
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@gcc.gnu.org>2014-12-06 16:45:22 +0100
committerEric Botcazou <ebotcazou@gcc.gnu.org>2014-12-06 16:45:22 +0100
commitc18392d87d22191584d76f7b4a850eb9508a8f04 (patch)
treea31b29449dd6f68dd41d55932f4ec1c3d8c51a1c /ld/testsuite/ld-visium/reloc.d
parentb6605dddac58805d735211f0d38805bf87b6db04 (diff)
downloadfsf-binutils-gdb-c18392d87d22191584d76f7b4a850eb9508a8f04.zip
fsf-binutils-gdb-c18392d87d22191584d76f7b4a850eb9508a8f04.tar.gz
fsf-binutils-gdb-c18392d87d22191584d76f7b4a850eb9508a8f04.tar.bz2
Add Visium support to ld
ld/ * configure.tgt: Add Visium support. * Makefile.am (ALL_EMULATION_SOURCES): Add eelf32visium.c. (eelf32visium.c): New rule. * Makefile.in: Regenerate. * emulparams/elf32visium.sh: New file. * scripttempl/visium.sc: Likewise. ld/testsuite/ * lib/ld-lib.exp (check_shared_lib_support): Return 0 for Visium. * ld-visium/: New directory.
Diffstat (limited to 'ld/testsuite/ld-visium/reloc.d')
-rw-r--r--ld/testsuite/ld-visium/reloc.d14
1 files changed, 14 insertions, 0 deletions
diff --git a/ld/testsuite/ld-visium/reloc.d b/ld/testsuite/ld-visium/reloc.d
new file mode 100644
index 0000000..bca5817
--- /dev/null
+++ b/ld/testsuite/ld-visium/reloc.d
@@ -0,0 +1,14 @@
+#source: reloc1.s
+#source: reloc2.s
+#ld: -T ld1.ld
+#objdump: -s
+
+.*: +file format .*
+
+Contents of section .text:
+ 10000 00000000 7800000a 84c20034 8482003c ....x......4...<
+ 10010 84a20001 84c20002 0442002c 84020002 .........B.,....
+ 10020 0482002c 84a20002 84c21000 ...,........
+Contents of section .data:
+ 30000 00140014 00000014 0001002c 0002002c ...........,...,
+ 30010 10001010 ....