2 #include "ldscript.inc"
4 OUTPUT_FORMAT("elf32-powerpc", "elf32-big",
16 /* Read-only sections, merged into text segment. The start address of
17 * the text segment is : */
25 *(.text .text.* .gnu.linkonce.t.*)
26 *(.glue_7t) *(.glue_7)
28 LONG(0xc3) /* terminate .fini */
30 *(.rodata .rodata.* .gnu.linkonce.r.* .rodata1)
36 /* ensure that data starts at a new L4 page */
40 *(.data .data.* .gnu.linkonce.d.*)
47 _module_info_start = .;
57 /* exception frames for C++ */
61 LONG(0) /* terminate .eh_frame */
72 *(.bss .gnu.linkonce.b.*)
79 /* Moved here to ensure that these sections are located _after_ the text
80 * section. In the other case we would get program sections with a virtual
83 .dynsym : { *(.dynsym) }
84 .dynstr : { *(.dynstr) }
85 .rel.dyn : { *(.rel.dyn) }
87 /* Only move modules to modaddr if bootstrap is being loaded by an elf
88 * loader, and we do not need to copy images around at runtime (e.g. with
90 #if defined(PLACE_MODULES_AT_MODADDR) && !defined(SINGLE_SECTION)
95 _module_data_start = .;
96 .module_data : { *(.module_data) } : mods
99 /* drop the following sections since we do not need them for DROPS */