From: Paul Brook <paul@nowt.org>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [patch] ppc linker script fix
Date: Wed, 1 Jun 2005 16:46:08 +0100 [thread overview]
Message-ID: <200506011646.09192.paul@nowt.org> (raw)
[-- 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) }
reply other threads:[~2005-06-01 15:53 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200506011646.09192.paul@nowt.org \
--to=paul@nowt.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).