summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2009-09-13 19:38:48 +0000
committerBlue Swirl <blauwirbel@gmail.com>2009-09-13 19:38:48 +0000
commit50108930b81ceeac9dd1c4061f0c9e401e1351a2 (patch)
tree19604b668bc97791457d7e1e84a034cc8199a76b /linux-user
parentFix sparc.ld (diff)
downloadqemu-kvm-50108930b81ceeac9dd1c4061f0c9e401e1351a2.tar.gz
qemu-kvm-50108930b81ceeac9dd1c4061f0c9e401e1351a2.tar.bz2
qemu-kvm-50108930b81ceeac9dd1c4061f0c9e401e1351a2.zip
Revert "Fix Sparc/Linux host breakage by df70204db53e3611af986f434e74a882bce190ca"
This reverts commit 91b40c5be84a478e98c0416325844a7f66d0efae. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'linux-user')
-rw-r--r--linux-user/main.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/linux-user/main.c b/linux-user/main.c
index f3455c5a3..81a1ada50 100644
--- a/linux-user/main.c
+++ b/linux-user/main.c
@@ -48,27 +48,6 @@ int have_guest_base;
static const char *interp_prefix = CONFIG_QEMU_PREFIX;
const char *qemu_uname_release = CONFIG_UNAME_RELEASE;
-/* for recent libc, we add these dummy symbols which are not declared
- when generating a linked object (bug in ld ?) */
-#if ((__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && \
- !defined(CONFIG_STATIC)) && !defined(CONFIG_USER_PIE)
-asm(".globl __preinit_array_start\n"
- ".globl __preinit_array_end\n"
- ".globl __init_array_start\n"
- ".globl __init_array_end\n"
- ".globl __fini_array_start\n"
- ".globl __fini_array_end\n"
- ".section \".rodata\"\n"
- "__preinit_array_start:\n"
- "__preinit_array_end:\n"
- "__init_array_start:\n"
- "__init_array_end:\n"
- "__fini_array_start:\n"
- "__fini_array_end:\n"
- ".long 0\n"
- ".previous\n");
-#endif
-
/* XXX: on x86 MAP_GROWSDOWN only works if ESP <= address + 32, so
we allocate a bigger stack. Need a better solution, for example
by remapping the process stack directly at the right place */