Commit 725af7d46041eafd0b95a7550172dd39d39bb815
1 parent
a363e34c
untested RH9 fixes
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@278 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
10 additions
and
0 deletions
i386-vl.ld
... | ... | @@ -56,6 +56,16 @@ SECTIONS |
56 | 56 | .rodata : { *(.rodata) *(.gnu.linkonce.r*) } |
57 | 57 | .rodata1 : { *(.rodata1) } |
58 | 58 | .reginfo : { *(.reginfo) } |
59 | + __preinit_array_start = .; | |
60 | + .preinit_array : { *(.preinit_array) } | |
61 | + __preinit_array_end = .; | |
62 | + __init_array_start = .; | |
63 | + .init_array : { *(.init_array) } | |
64 | + __init_array_end = .; | |
65 | + __fini_array_start = .; | |
66 | + .fini_array : { *(.fini_array) } | |
67 | + __fini_array_end = .; | |
68 | + | |
59 | 69 | /* Adjust the address for the data segment. We want to adjust up to |
60 | 70 | the same address within the page on the next page up. */ |
61 | 71 | . = ALIGN(0x100000) + (. & (0x100000 - 1)); | ... | ... |