diff options
author | Richard Henderson <rth@twiddle.net> | 2012-03-25 21:21:46 +0200 |
---|---|---|
committer | Richard Henderson <rth@twiddle.net> | 2012-09-21 22:02:19 +0200 |
commit | 4c3204cb12a966d0d1255eeeaabf30ee4bd34629 (patch) | |
tree | 430e8cd9d594df9eeb5747e7bcd124aeae9bacec /configure | |
parent | 0c554161b6fadf75e42d4228e952ff100176ff8a (diff) | |
download | qemu-4c3204cb12a966d0d1255eeeaabf30ee4bd34629.zip qemu-4c3204cb12a966d0d1255eeeaabf30ee4bd34629.tar.gz qemu-4c3204cb12a966d0d1255eeeaabf30ee4bd34629.tar.bz2 |
tcg-sparc: Clean up cruft stemming from attempts to use global registers.
Don't use -ffixed-gN. Don't link statically. Don't save/restore
AREG0 around calls. Don't allocate space on the stack for AREG0 save.
Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 12 |
1 files changed, 0 insertions, 12 deletions
@@ -866,19 +866,11 @@ case "$cpu" in sparc) LDFLAGS="-m32 $LDFLAGS" QEMU_CFLAGS="-m32 -mcpu=ultrasparc $QEMU_CFLAGS" - QEMU_CFLAGS="-ffixed-g2 -ffixed-g3 $QEMU_CFLAGS" - if test "$solaris" = "no" ; then - QEMU_CFLAGS="-ffixed-g1 -ffixed-g6 $QEMU_CFLAGS" - fi host_guest_base="yes" ;; sparc64) LDFLAGS="-m64 $LDFLAGS" QEMU_CFLAGS="-m64 -mcpu=ultrasparc $QEMU_CFLAGS" - QEMU_CFLAGS="-ffixed-g5 -ffixed-g6 -ffixed-g7 $QEMU_CFLAGS" - if test "$solaris" != "no" ; then - QEMU_CFLAGS="-ffixed-g1 $QEMU_CFLAGS" - fi host_guest_base="yes" ;; s390) @@ -4101,10 +4093,6 @@ fi if test "$target_linux_user" = "yes" -o "$target_bsd_user" = "yes" ; then case "$ARCH" in - sparc) - # -static is used to avoid g1/g3 usage by the dynamic linker - ldflags="$linker_script -static $ldflags" - ;; alpha | s390x) # The default placement of the application is fine. ;; |