aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-s12z/reloc-ext18.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-s12z/reloc-ext18.d')
-rw-r--r--ld/testsuite/ld-s12z/reloc-ext18.d11
1 files changed, 11 insertions, 0 deletions
diff --git a/ld/testsuite/ld-s12z/reloc-ext18.d b/ld/testsuite/ld-s12z/reloc-ext18.d
new file mode 100644
index 0000000..c558621
--- /dev/null
+++ b/ld/testsuite/ld-s12z/reloc-ext18.d
@@ -0,0 +1,11 @@
+#source: reloc-ext18.s
+#ld: --no-relax --defsym x=0xabcd
+#objdump: -d -r
+
+tmpdir/dump: file format elf32-s12z
+
+
+Disassembly of section .text:
+
+00fe0000 <here>:
+ fe0000: a0 f8 ab cd ld d2, x