* [Qemu-devel] [patch] ppc linker script fix
@ 2005-06-01 15:46 Paul Brook
0 siblings, 0 replies; only message in thread
From: Paul Brook @ 2005-06-01 15:46 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 194 bytes --]
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
[-- Attachment #2: patch.qemu_ppc_ld --]
[-- Type: text/x-diff, Size: 841 bytes --]
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) }
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-06-01 15:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-01 15:46 [Qemu-devel] [patch] ppc linker script fix Paul Brook
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).