blob: 8c9eba799a481deecce3172c3479265d35ee6797 [file] [log] [blame]
Stefan Reinauerb34eea32008-02-15 18:16:06 +00001OUTPUT_FORMAT("elf32-i386", "elf32-i386", "elf32-i386")
2OUTPUT_ARCH(i386)
3
4
5ENTRY(startup_32)
6SECTIONS
7{
8 . = 0x10000;
9 _text = .; /* Text and read-only data */
10 .text . : {
11 *(.text)
12 *(.text.*)
13 } = 0x9090
14 .rodata (.): {
15 *(.rodata)
16 *(.rodata.*)
17 }
18 _etext = .; /* End of text section */
19 .data (.): { /* Data */
20 *(.data)
21 *(.data.*)
22 *(.trailer)
23 }
24 _edata = .; /* End of data section */
25 _bss = .; /* BSS */
26 .bss (.): {
27 *(.bss)
28 }
29 _end = . ;
Ward Vandewegeebc92182008-08-06 20:37:38 +000030 bss_sizex = _end - _bss;
Stefan Reinauerb34eea32008-02-15 18:16:06 +000031
32 /DISCARD/ : {
33 *(.comment)
34 *(.note)
35 }
36}