From cd9e76eae2ca88c416ab3af97651e938d4c6f54a Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Tue, 12 Apr 1994 03:54:36 +0000 Subject: [PATCH] (LD_SWITCH_SYSTEM): Alternate definition if __GNUC__. --- src/s/sunos4-0.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/s/sunos4-0.h b/src/s/sunos4-0.h index a0cba915cc9..6625785d859 100644 --- a/src/s/sunos4-0.h +++ b/src/s/sunos4-0.h @@ -5,7 +5,11 @@ #define O_NDELAY FNDELAY /* Non-blocking I/O (4.2 style) */ #endif +#ifdef __GNUC__ +#define LD_SWITCH_SYSTEM -e __start -static +#else #define LD_SWITCH_SYSTEM -e __start -Bstatic +#endif /* In SunOS 4.1, a static function called by tzsetwall reportedly clears the byte just past an eight byte region it mallocs, corrupting -- 2.39.5