U-Boot: add some sections to the ppc ldscript
* it seems ld creates most of them anyway, taken from the openfirmware script.
This commit is contained in:
parent
9b2efb1ad5
commit
134ef79db0
|
@ -15,13 +15,16 @@ SECTIONS
|
||||||
__ctor_end = .;
|
__ctor_end = .;
|
||||||
|
|
||||||
.rodata : { *(.rodata .rodata.*) }
|
.rodata : { *(.rodata .rodata.*) }
|
||||||
|
.sdata2 : { *(.sdata2) }
|
||||||
|
|
||||||
/* writable data */
|
/* writable data */
|
||||||
. = ALIGN(0x1000);
|
. = ALIGN(0x1000);
|
||||||
__data_start = .;
|
__data_start = .;
|
||||||
.data : { *(.data .gnu.linkonce.d.*) }
|
.data : { *(.data .gnu.linkonce.d.*) }
|
||||||
.data.rel.ro : { *(.data.rel.ro.local .data.rel.ro*) }
|
.data.rel.ro : { *(.data.rel.ro.local .data.rel.ro*) }
|
||||||
|
.data.rel.local : { *(.data.rel.local*) }
|
||||||
.got : { *(.got .got2) }
|
.got : { *(.got .got2) }
|
||||||
|
.sdata : { *(.sdata .sdata.* .gnu.linkonce.s.*) }
|
||||||
|
|
||||||
/* uninitialized data (in same segment as writable data) */
|
/* uninitialized data (in same segment as writable data) */
|
||||||
__bss_start = .;
|
__bss_start = .;
|
||||||
|
|
Loading…
Reference in New Issue