aboutsummaryrefslogtreecommitdiff
path: root/i386.ld
diff options
context:
space:
mode:
Diffstat (limited to 'i386.ld')
-rw-r--r--i386.ld10
1 files changed, 10 insertions, 0 deletions
diff --git a/i386.ld b/i386.ld
index a64ec2f87d..d41c62695e 100644
--- a/i386.ld
+++ b/i386.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) }