U-Boot ppc: Add missing sections to ldscript
* it seems we missed some sections that exist on ppc, add them. * resulting binary runs a little further in QEMU but still screws up.
This commit is contained in:
@@ -7,7 +7,7 @@ SECTIONS
|
|||||||
. = BOARD_LOADER_BASE;
|
. = BOARD_LOADER_BASE;
|
||||||
|
|
||||||
/* text/read-only data */
|
/* text/read-only data */
|
||||||
.text : { *(.text .gnu.linkonce.t.*) }
|
.text : { *(.text .text.* .gnu.linkonce.t.*) }
|
||||||
|
|
||||||
. = ALIGN(0x4);
|
. = ALIGN(0x4);
|
||||||
__ctor_list = .;
|
__ctor_list = .;
|
||||||
@@ -20,10 +20,13 @@ SECTIONS
|
|||||||
. = 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*) }
|
||||||
|
.got : { *(.got .got2) }
|
||||||
|
|
||||||
/* uninitialized data (in same segment as writable data) */
|
/* uninitialized data (in same segment as writable data) */
|
||||||
__bss_start = .;
|
__bss_start = .;
|
||||||
.bss : { *(.bss) }
|
.sbss : { *(.sbss .sbss.* .gnu.linkonce.sb.*) }
|
||||||
|
.bss : { *(.bss .bss.* .gnu.linkonce.b.*) }
|
||||||
|
|
||||||
. = ALIGN(0x1000);
|
. = ALIGN(0x1000);
|
||||||
_end = . ;
|
_end = . ;
|
||||||
|
|||||||
Reference in New Issue
Block a user