From 07dccb9382b396c6b9eac13449bee49e9efcd8fa Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Mon, 7 Feb 2000 04:53:08 +0000 Subject: [PATCH] Fix bug: in GCC 2.95.x, the callee pops the pointer to a short struct return. --- v7/src/microcode/s/linux.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)" -- 2.25.1