aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-06-05 15:57:04 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-06-05 15:57:04 +0000
commita84eaf0c9be70e25f319a47835cd60ba4e8d9c72 (patch)
tree93566677c6c9680453b31ef0655e343fe63c16b0
parent6e20a45f53c1b6edb37ec81d59d3a9764d924b02 (diff)
add missing definitions in the ppc linker script (Paul Brook)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1455 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r--ppc.ld10
1 files changed, 10 insertions, 0 deletions
diff --git a/ppc.ld b/ppc.ld
index d95b93cce5..d0a0dcb9e0 100644
--- a/ppc.ld
+++ b/ppc.ld
@@ -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) }