From 725af7d46041eafd0b95a7550172dd39d39bb815 Mon Sep 17 00:00:00 2001 From: bellard Date: Wed, 25 Jun 2003 16:18:32 +0000 Subject: untested RH9 fixes git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@278 c046a42c-6fe2-441c-8c8c-71466251a162 --- i386-vl.ld | 10 ++++++++++ 1 file changed, 10 insertions(+) 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)); -- cgit v1.2.1