diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2009-09-13 19:38:43 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2009-09-13 19:38:43 +0000 |
commit | f4eb4015a8f1b3cf0d0fad7124ea88a55ad17d99 (patch) | |
tree | c4914ef98af0db56c441a5db244f87fbd658fe66 | |
parent | 0dd53db990ac35a452e538f4932a3428856a0b9b (diff) | |
download | qemu-f4eb4015a8f1b3cf0d0fad7124ea88a55ad17d99.tar.gz qemu-f4eb4015a8f1b3cf0d0fad7124ea88a55ad17d99.tar.bz2 qemu-f4eb4015a8f1b3cf0d0fad7124ea88a55ad17d99.zip |
Fix sparc.ld
Makes 91b40c5be84a478e98c0416325844a7f66d0efae unnecessary.
Acked-by: Kirill A. Shutemov <kirill@shutemov.name>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
-rw-r--r-- | sparc.ld | 20 |
1 files changed, 20 insertions, 0 deletions
@@ -65,6 +65,26 @@ SECTIONS .data1 : { *(.data1) } .tdata : { *(.tdata) } .tbss : { *(.tbss) } + .preinit_array : + { + PROVIDE_HIDDEN (__preinit_array_start = .); + KEEP (*(.preinit_array)) + PROVIDE_HIDDEN (__preinit_array_end = .); + } + .init_array : + { + PROVIDE_HIDDEN (__init_array_start = .); + KEEP (*(SORT(.init_array.*))) + KEEP (*(.init_array)) + PROVIDE_HIDDEN (__init_array_end = .); + } + .fini_array : + { + PROVIDE_HIDDEN (__fini_array_start = .); + KEEP (*(.fini_array)) + KEEP (*(SORT(.fini_array.*))) + PROVIDE_HIDDEN (__fini_array_end = .); + } .ctors : { *(.ctors) |