Rev 1166 | Rev 1963 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
885 | decky | 1 | /* |
2 | * PPC linker script |
||
3 | * |
||
4 | */ |
||
5 | |||
1166 | decky | 6 | OUTPUT_FORMAT("elf32-powerpc") |
7 | OUTPUT_ARCH(powerpc:common) |
||
885 | decky | 8 | ENTRY(start) |
9 | |||
10 | SECTIONS { |
||
1058 | decky | 11 | .boot 0x10000000: AT (0) { |
12 | *(BOOTSTRAP); |
||
13 | *(REALMODE); |
||
885 | decky | 14 | *(.text); |
15 | |||
16 | *(.rodata); |
||
17 | *(.rodata.*); |
||
18 | *(.data); /* initialized data */ |
||
19 | *(.sdata); |
||
20 | *(.sdata2); |
||
21 | *(.sbss); |
||
22 | *(.bss); /* uninitialized static variables */ |
||
964 | decky | 23 | *(COMMON); /* global variables */ |
1068 | decky | 24 | |
25 | . = ALIGN(4096); |
||
1219 | decky | 26 | *(.kernel_image); |
27 | |||
28 | . = ALIGN(4096); |
||
29 | *(.init_image); |
||
1058 | decky | 30 | } |
885 | decky | 31 | } |