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