source: mainline/boot/arch/ppc32/_link.ld.in

Last change on this file was c89ae25, checked in by Jiří Zárevúcky <zarevucky.jiri@…>, 21 months ago

Fix and enable —gc-sections in /kernel and /boot

  • Property mode set to 100644
File size: 544 bytes
Line 
1ENTRY(start)
2
3SECTIONS {
4 . = 0x08000000;
5 .text : {
6 loader_start = .;
7 KEEP(*(BOOTSTRAP));
8 *(.text .text.*);
9 }
10 .data : {
11 *(.data .data.*); /* initialized data */
12 *(.rodata .rodata.*);
13 *(.sdata .sdata.*);
14 *(.sbss .sbss.*);
15 *(.scommon .scommon.*);
16 *(.bss .bss.*); /* uninitialized static variables */
17 *(COMMON); /* global variables */
18 loader_end = .;
19 payload_start = .;
20 KEEP(*(.payload));
21 payload_end = .;
22 }
23
24 /DISCARD/ : {
25 *(.gnu.*);
26 *(.mdebug*);
27 *(.pdr);
28 *(.comment);
29 *(.note.*);
30 }
31}
Note: See TracBrowser for help on using the repository browser.