summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-mmix/gregget2.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-mmix/gregget2.s')
-rw-r--r--ld/testsuite/ld-mmix/gregget2.s4
1 files changed, 4 insertions, 0 deletions
diff --git a/ld/testsuite/ld-mmix/gregget2.s b/ld/testsuite/ld-mmix/gregget2.s
new file mode 100644
index 0000000..855136c
--- /dev/null
+++ b/ld/testsuite/ld-mmix/gregget2.s
@@ -0,0 +1,4 @@
+# Use a symbolic register b, presumably allocated by greg in another file.
+# The "GETA" will be expanded, and the reloc for b must be resolved before
+# the other relocs for that insn.
+ GETA b,a