1 OUTPUT_FORMAT(elf32-i386)
6 /* Initial load address
7 * To be loaded by GRUB, this must be >= 1MB
11 /* 16KB heap and stack */
19 /* Put Multiboot header near beginning of file, if any. */
20 .hdr : { *(.hdr) *(.hdr.*) }
22 /* Start of the program.
23 * Now the version string is in the note, we must include it
24 * in the program. Otherwise we lose the string after relocation. */
28 /* Putting ELF notes near beginning of file might help bootloaders.
29 * We discard .note sections other than .note.ELFBoot,
30 * because some versions of GCC generates useless ones. */
31 .note : { *(.note.ELFBoot) }
34 .text : { *(.text) *(.text.*) }
37 sound_drivers_start = .;
38 *(.rodata.sound_drivers)
39 sound_drivers_end = .;
43 .data : { *(.data) *(.data.*) }
50 /* Put heap and stack here, so they are included in PT_LOAD segment
51 * and the bootloader is aware of it. */
66 /* Initial contents of stack. This MUST BE just after the stack. */
72 /DISCARD/ : { *(.comment) *(.note) }