ppc linker script fix
PATCH 1/1 ppc linker script fix
The attached patch adds some missing definitions to the ppc linker script. These are required to link qemu on my ydl4 system.
They are consistent with the definitions used on other hosts.
Paul
Index: ppc.ld
===================================================================
RCS file: /cvsroot/qemu/qemu/ppc.ld,v
retrieving revision 1.1
ppc.ld +10 -0
@@ -53,6 +53,16 @@ SECTIONS _etext = .; PROVIDE (etext = .); .fini : { *(.fini) } =0x47ff041f + . = ALIGN(32 / 8); + PROVIDE (__preinit_array_start = .); + .preinit_array : { *(.preinit_array) } + PROVIDE (__preinit_array_end = .); + PROVIDE (__init_array_start = .); + .init_array : { *(.init_array) } + PROVIDE (__init_array_end = .); + PROVIDE (__fini_array_start = .); + .fini_array : { *(.fini_array) } + PROVIDE (__fini_array_end = .); .rodata : { *(.rodata) *(.gnu.linkonce.r*) } .rodata1 : { *(.rodata1) } .reginfo : { *(.reginfo) }