aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/sec-to-seg1.s
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2008-07-30 10:28:31 +0000
committerNick Clifton <nickc@redhat.com>2008-07-30 10:28:31 +0000
commit2e658c87813a0941392e87843427f8495dd9eecf (patch)
tree5bddfce485afad8eca4ab4c0787e631134a827fe /ld/testsuite/ld-elf/sec-to-seg1.s
parent081ba1b3c08bce14fac7c6c240734f7bd230f784 (diff)
downloadgdb-2e658c87813a0941392e87843427f8495dd9eecf.zip
gdb-2e658c87813a0941392e87843427f8495dd9eecf.tar.gz
gdb-2e658c87813a0941392e87843427f8495dd9eecf.tar.bz2
* ld-elf/sec-to-seg.exp: New test: Checks the assignment of
sections to segments. * ld-elf/sec-to-seg1.s: Test source file. * ld-elf/sec-to-seg2.s: Test source file. * ld-elf/sec-to-seg-script-same-page.t: Test linker script. * ld-elf/sec-to-seg-script-adjoining-pages.t: Test linker script. * ld-elf/sec-to-seg-script-disjoint-pages.t: Test linker script.
Diffstat (limited to 'ld/testsuite/ld-elf/sec-to-seg1.s')
-rw-r--r--ld/testsuite/ld-elf/sec-to-seg1.s9
1 files changed, 9 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elf/sec-to-seg1.s b/ld/testsuite/ld-elf/sec-to-seg1.s
new file mode 100644
index 0000000..7c9f479
--- /dev/null
+++ b/ld/testsuite/ld-elf/sec-to-seg1.s
@@ -0,0 +1,9 @@
+ .file "sec-to-seg1.s"
+
+ .section .rodata
+ .align 2
+ .ascii "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\000"
+ .align 2
+ .ascii "00000000000000000000000000000000\000"
+
+