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:
François Revol 2012-05-24 21:15:46 +02:00
parent 9b2efb1ad5
commit 134ef79db0
1 changed files with 3 additions and 0 deletions

View File

@ -15,13 +15,16 @@ SECTIONS
__ctor_end = .;
.rodata : { *(.rodata .rodata.*) }
.sdata2 : { *(.sdata2) }
/* writable data */
. = ALIGN(0x1000);
__data_start = .;
.data : { *(.data .gnu.linkonce.d.*) }
.data.rel.ro : { *(.data.rel.ro.local .data.rel.ro*) }
.data.rel.local : { *(.data.rel.local*) }
.got : { *(.got .got2) }
.sdata : { *(.sdata .sdata.* .gnu.linkonce.s.*) }
/* uninitialized data (in same segment as writable data) */
__bss_start = .;