source: mainline/boot/arch/sparc64/_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: 501 bytes
Line 
1ENTRY(start)
2
3SECTIONS {
4 . = 0x4000;
5 .boot : {
6 loader_start = .;
7 KEEP(*(BOOTSTRAP));
8 *(.text .text.*);
9
10 *(.data .data.*); /* initialized data */
11 *(.rodata .rodata.*);
12 *(.sdata .sdata.*);
13 *(.sbss .sbss.*);
14 *(.bss .bss.*); /* uninitialized static variables */
15 *(COMMON); /* global variables */
16 loader_end = .;
17 payload_start = .;
18 KEEP(*(.payload));
19 payload_end = .;
20 }
21
22 /DISCARD/ : {
23 *(.gnu.*);
24 *(.mdebug*);
25 *(.pdr);
26 *(.comment);
27 *(.note.*);
28 }
29}
Note: See TracBrowser for help on using the repository browser.