aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-metag/stub.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-metag/stub.s')
-rw-r--r--ld/testsuite/ld-metag/stub.s13
1 files changed, 13 insertions, 0 deletions
diff --git a/ld/testsuite/ld-metag/stub.s b/ld/testsuite/ld-metag/stub.s
new file mode 100644
index 0000000..9fe8c97
--- /dev/null
+++ b/ld/testsuite/ld-metag/stub.s
@@ -0,0 +1,13 @@
+
+ .text
+ .global __start
+__start:
+ CALLR D1RtP,_far
+
+ .section .text.pad,"ax"
+ .space 0x200000
+
+ .section .text.far,"ax"
+ .global _far
+_far:
+ NOP