aboutsummaryrefslogtreecommitdiff
path: root/i386-vl.ld
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-06-25 16:18:32 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-06-25 16:18:32 +0000
commit725af7d46041eafd0b95a7550172dd39d39bb815 (patch)
tree0cb6f19e0f09fe0d8580ace97a8e0a9d4aa2fd3e /i386-vl.ld
parenta363e34cc51220a31691d54e576fb0e29ec02646 (diff)
untested RH9 fixes
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@278 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'i386-vl.ld')
-rw-r--r--i386-vl.ld10
1 files changed, 10 insertions, 0 deletions
diff --git a/i386-vl.ld b/i386-vl.ld
index 86696f4d02..e666ed83f8 100644
--- a/i386-vl.ld
+++ b/i386-vl.ld
@@ -56,6 +56,16 @@ SECTIONS
.rodata : { *(.rodata) *(.gnu.linkonce.r*) }
.rodata1 : { *(.rodata1) }
.reginfo : { *(.reginfo) }
+ __preinit_array_start = .;
+ .preinit_array : { *(.preinit_array) }
+ __preinit_array_end = .;
+ __init_array_start = .;
+ .init_array : { *(.init_array) }
+ __init_array_end = .;
+ __fini_array_start = .;
+ .fini_array : { *(.fini_array) }
+ __fini_array_end = .;
+
/* Adjust the address for the data segment. We want to adjust up to
the same address within the page on the next page up. */
. = ALIGN(0x100000) + (. & (0x100000 - 1));