From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DdVWy-00065b-1B for qemu-devel@nongnu.org; Wed, 01 Jun 2005 11:53:21 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DdVWq-0005wY-IC for qemu-devel@nongnu.org; Wed, 01 Jun 2005 11:53:12 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DdVWo-0005cj-00 for qemu-devel@nongnu.org; Wed, 01 Jun 2005 11:53:11 -0400 Received: from [62.241.162.31] (helo=galaxy.systems.pipex.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DdVS6-0006FP-LQ for qemu-devel@nongnu.org; Wed, 01 Jun 2005 11:48:18 -0400 From: Paul Brook Date: Wed, 1 Jun 2005 16:46:08 +0100 MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_BhdnCQNehA2U/9j" Message-Id: <200506011646.09192.paul@nowt.org> Subject: [Qemu-devel] [patch] ppc linker script fix Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org --Boundary-00=_BhdnCQNehA2U/9j Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 --Boundary-00=_BhdnCQNehA2U/9j Content-Type: text/x-diff; charset="us-ascii"; name="patch.qemu_ppc_ld" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="patch.qemu_ppc_ld" Index: ppc.ld =================================================================== RCS file: /cvsroot/qemu/qemu/ppc.ld,v retrieving revision 1.1 diff -u -p -r1.1 ppc.ld --- ppc.ld 18 Feb 2003 23:35:48 -0000 1.1 +++ ppc.ld 1 Jun 2005 15:28:24 -0000 @@ -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) } --Boundary-00=_BhdnCQNehA2U/9j--