From: Chris Hanson Date: Mon, 7 Feb 2000 04:53:08 +0000 (+0000) Subject: Fix bug: in GCC 2.95.x, the callee pops the pointer to a short struct X-Git-Tag: 20090517-FFI~4261 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=07dccb9382b396c6b9eac13449bee49e9efcd8fa;p=mit-scheme.git Fix bug: in GCC 2.95.x, the callee pops the pointer to a short struct return. --- diff --git a/v7/src/microcode/s/linux.h b/v7/src/microcode/s/linux.h index 9ad0f02fb..26f13671a 100644 --- a/v7/src/microcode/s/linux.h +++ b/v7/src/microcode/s/linux.h @@ -1,7 +1,7 @@ /* -*-C-*- System file for Linux -$Id: linux.h,v 1.19 2000/02/07 04:42:25 cph Exp $ +$Id: linux.h,v 1.20 2000/02/07 04:53:08 cph Exp $ Copyright (c) 1995-2000 Massachusetts Institute of Technology @@ -29,7 +29,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. #define LINUX_STATIC_LIBS(libs) -Xlinker -Bstatic libs -Xlinker -Bdynamic #ifdef __ELF__ -#if ((__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 9))) +#if ((__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95))) #define M4_SWITCH_SYSTEM -P "define(LINUX_ELF,1)" -P "define(CALLEE_POPS_STRUCT_RETURN,1)" #else #define M4_SWITCH_SYSTEM -P "define(LINUX_ELF,1)"