aboutsummaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/elf/equ-reloc.d
diff options
context:
space:
mode:
Diffstat (limited to 'gas/testsuite/gas/elf/equ-reloc.d')
-rw-r--r--gas/testsuite/gas/elf/equ-reloc.d13
1 files changed, 13 insertions, 0 deletions
diff --git a/gas/testsuite/gas/elf/equ-reloc.d b/gas/testsuite/gas/elf/equ-reloc.d
new file mode 100644
index 0000000..e4e7d47
--- /dev/null
+++ b/gas/testsuite/gas/elf/equ-reloc.d
@@ -0,0 +1,13 @@
+#objdump: -rsj .data
+#name: elf equate relocs
+
+.*: +file format .*
+
+RELOCATION RECORDS FOR \[.*\]:
+OFFSET *TYPE *VALUE
+0*0 [^ ]+ +(\.bss(\+0x0*4)?|y1)
+0*4 [^ ]+ +(\.bss(\+0x0*8)?|y2)
+#...
+Contents of section .data:
+ 0000 0[04]00000[04] 0[08]00000[08].*
+#pass