aboutsummaryrefslogtreecommitdiff
path: root/i386.ld
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-10-28 00:47:19 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-10-28 00:47:19 +0000
commitb1f645758a19428783578a6ceed4fef9f24ab8d3 (patch)
treea09dbccd6f005adec704be096ed76a22e80d35e3 /i386.ld
parentbc1b050d85da32e1be73fd9f911c4d7db46810e4 (diff)
redhat 9 fix
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@421 c046a42c-6fe2-441c-8c8c-71466251a162
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) }