aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-mn10300/i127740.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-mn10300/i127740.s')
-rw-r--r--ld/testsuite/ld-mn10300/i127740.s12
1 files changed, 12 insertions, 0 deletions
diff --git a/ld/testsuite/ld-mn10300/i127740.s b/ld/testsuite/ld-mn10300/i127740.s
new file mode 100644
index 0000000..358266b
--- /dev/null
+++ b/ld/testsuite/ld-mn10300/i127740.s
@@ -0,0 +1,12 @@
+ .section .text
+ .global _main
+ .global _dummy
+_main:
+ mov _g_label,d1 # instruction is changed by relaxations
+
+ .balign 0x100
+_dummy:
+ .long _dummy
+ ret [],0
+ .size _main, .-_main
+ .comm _g_label,4,4