aboutsummaryrefslogtreecommitdiff
path: root/ppc.ld
diff options
context:
space:
mode:
Diffstat (limited to 'ppc.ld')
-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) }