Commit b1f645758a19428783578a6ceed4fef9f24ab8d3
1 parent
bc1b050d
redhat 9 fix
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@421 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
10 additions
and
0 deletions
i386.ld
@@ -53,6 +53,16 @@ SECTIONS | @@ -53,6 +53,16 @@ SECTIONS | ||
53 | _etext = .; | 53 | _etext = .; |
54 | PROVIDE (etext = .); | 54 | PROVIDE (etext = .); |
55 | .fini : { *(.fini) } =0x47ff041f | 55 | .fini : { *(.fini) } =0x47ff041f |
56 | + . = ALIGN(32 / 8); | ||
57 | + PROVIDE (__preinit_array_start = .); | ||
58 | + .preinit_array : { *(.preinit_array) } | ||
59 | + PROVIDE (__preinit_array_end = .); | ||
60 | + PROVIDE (__init_array_start = .); | ||
61 | + .init_array : { *(.init_array) } | ||
62 | + PROVIDE (__init_array_end = .); | ||
63 | + PROVIDE (__fini_array_start = .); | ||
64 | + .fini_array : { *(.fini_array) } | ||
65 | + PROVIDE (__fini_array_end = .); | ||
56 | .rodata : { *(.rodata) *(.gnu.linkonce.r*) } | 66 | .rodata : { *(.rodata) *(.gnu.linkonce.r*) } |
57 | .rodata1 : { *(.rodata1) } | 67 | .rodata1 : { *(.rodata1) } |
58 | .reginfo : { *(.reginfo) } | 68 | .reginfo : { *(.reginfo) } |