aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-avr/pr20789.d
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-avr/pr20789.d')
-rw-r--r--ld/testsuite/ld-avr/pr20789.d14
1 files changed, 14 insertions, 0 deletions
diff --git a/ld/testsuite/ld-avr/pr20789.d b/ld/testsuite/ld-avr/pr20789.d
new file mode 100644
index 0000000..fb1114b
--- /dev/null
+++ b/ld/testsuite/ld-avr/pr20789.d
@@ -0,0 +1,14 @@
+#name: AVR Account for relaxation in negative label differences
+#as: -mmcu=avrxmega2 -mlink-relax
+#ld: -mavrxmega2 --relax
+#source: pr20789.s
+#objdump: -s
+#target: avr-*-*
+
+.*: file format elf32-avr
+
+Contents of section .text:
+ 0000 ffcf .*
+Contents of section .data:
+ 802000 feff .*
+