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