aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/seg.t
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-elf/seg.t')
-rw-r--r--ld/testsuite/ld-elf/seg.t16
1 files changed, 16 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elf/seg.t b/ld/testsuite/ld-elf/seg.t
new file mode 100644
index 0000000..2f86acf
--- /dev/null
+++ b/ld/testsuite/ld-elf/seg.t
@@ -0,0 +1,16 @@
+
+SECTIONS
+{
+ reset - 4 :
+ {
+ *(reset)
+ }
+ boot - 0x1000 :
+ {
+ *(boot)
+ } = 0xffff
+ . = + SIZEOF_HEADERS;
+ .text : { *(.text) }
+ .data : { *(.data) }
+ .bss : { *(.bss) }
+}