4 * Linker script for the i386 setup code
6 OUTPUT_FORMAT("elf32-i386")
13 .bstext : { *(.bstext) }
14 .bsdata : { *(.bsdata) }
17 .header : { *(.header) }
18 .entrytext : { *(.entrytext) }
19 .inittext : { *(.inittext) }
20 .initdata : { *(.initdata) }
24 .text32 : { *(.text32) }
27 .rodata : { *(.rodata*) }
54 /DISCARD/ : { *(.note*) }
57 * The ASSERT() sink to . is intentional, for binutils 2.14 compatibility:
59 . = ASSERT(_end <= 0x8000, "Setup too big!");
60 . = ASSERT(hdr == 0x1f1, "The setup header has the wrong offset!");
61 /* Necessary for the very-old-loader check to work... */
62 . = ASSERT(__end_init <= 5*512, "init sections too big!");