Codebase list invaders / 866a1bc
improvements to the linker script Fabian Greffrath 3 years ago
1 changed file(s) with 9 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
1212 PHDRS
1313 {
1414 text PT_LOAD;
15 data PT_LOAD;
1516 }
1617
1718 SECTIONS
1920 .text 1M :
2021 {
2122 *(.text*)
23 *(.rodata*)
2224 } : text
2325
2426 .data :
2527 {
26 *(.data)
28 *(.data*)
2729 _edata = .;
30 } : data
31
32 .bss (NOLOAD) :
33 {
34 *(.bss*)
35 *(COMMON)
2836 }
29
3037 _end = .;
3138
3239 PROVIDE(cmain = _cmain);