source: mainline/boot/arch/ia64/_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: 522 bytes
RevLine 
[807102ca]1OUTPUT_FORMAT("elf64-ia64-little")
2ENTRY(start)
3
4SECTIONS {
5 .boot 0x4400000: AT (0x4400000) {
[63a045c]6 loader_start = .;
[c89ae25]7 KEEP(*(BOOTSTRAP));
8 *(.text .text.*);
9 *(.sdata .sdata.*);
10 *(.sdata2 .sdata2.*);
11 *(.sbss .sbss.*);
12 *(.rodata .rodata.*);
[1d9c541]13 *(.data .data.*); /* initialized data */
[af103f4]14 __gp = . ;
[807102ca]15 *(.got .got.*);
[c89ae25]16 *(.bss .bss.*); /* uninitialized static variables */
[807102ca]17 *(COMMON);
[63a045c]18 loader_end = .;
19 payload_start = .;
[c89ae25]20 KEEP(*(.payload));
[63a045c]21 payload_end = .;
[807102ca]22 }
[f1380b7]23
[807102ca]24 /DISCARD/ : {
[1d9c541]25 *(.*);
[807102ca]26 }
27}
Note: See TracBrowser for help on using the repository browser.