summaryrefslogtreecommitdiffstats
path: root/binutils-2.25/ld/testsuite/ld-xtensa/diff_overflow2.s
diff options
context:
space:
mode:
Diffstat (limited to 'binutils-2.25/ld/testsuite/ld-xtensa/diff_overflow2.s')
-rw-r--r--binutils-2.25/ld/testsuite/ld-xtensa/diff_overflow2.s22
1 files changed, 22 insertions, 0 deletions
diff --git a/binutils-2.25/ld/testsuite/ld-xtensa/diff_overflow2.s b/binutils-2.25/ld/testsuite/ld-xtensa/diff_overflow2.s
new file mode 100644
index 00000000..096ae39d
--- /dev/null
+++ b/binutils-2.25/ld/testsuite/ld-xtensa/diff_overflow2.s
@@ -0,0 +1,22 @@
+ .section .text.f1,"axG",@progbits,f1,comdat
+ .literal_position
+ .literal .L5, 0
+ .align 4
+f4:
+ entry a1, 32
+.Lf4:
+ l32r a2, .L5
+ l32r a2, .L5
+ nop
+ nop
+ retw
+
+ .section .text
+f5:
+ entry a1, 32
+.Lf5:
+ retw
+
+ .section .debug_frame,"",@progbits
+ .byte .Lf4 - f4
+ .byte .Lf5 - f5