summaryrefslogtreecommitdiffstats
path: root/binutils-2.25/ld/testsuite/ld-cris/noov.s
diff options
context:
space:
mode:
Diffstat (limited to 'binutils-2.25/ld/testsuite/ld-cris/noov.s')
-rw-r--r--binutils-2.25/ld/testsuite/ld-cris/noov.s14
1 files changed, 14 insertions, 0 deletions
diff --git a/binutils-2.25/ld/testsuite/ld-cris/noov.s b/binutils-2.25/ld/testsuite/ld-cris/noov.s
new file mode 100644
index 00000000..88e803fd
--- /dev/null
+++ b/binutils-2.25/ld/testsuite/ld-cris/noov.s
@@ -0,0 +1,14 @@
+ .text
+ ; Test that this works both with a symbol defined in a section...
+ .dword __Edata+0x40000000
+
+ ; ...as well as absolute symbol (defined outside sections in the
+ ; linker script).
+ .dword __Sdata+0x40000000
+
+ .data
+ ; Make sure we get the same section alignment for *-elf as for *-linux*.
+ .balign 0x2000
+
+ ; Make .data non-empty.
+ .dword 0