mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
Revert "Fix Sparc/Linux host breakage by df70204db5
"
This reverts commit 91b40c5be8
.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
240324f612
commit
50108930b8
2 changed files with 1 additions and 23 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue