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