From 15af062fc5db015208b5766dc12b8680347c982e Mon Sep 17 00:00:00 2001 From: Michael Meissner Date: Fri, 1 Oct 1993 20:02:40 +0000 Subject: Do not put halfpic cruft into libgcc.a on OSF/1. From-SVN: r5543 --- gcc/config/i386/x-osfrose | 3 ++- gcc/config/mips/x-osfrose | 3 ++- gcc/halfpic.h | 4 ++++ 3 files changed, 8 insertions(+), 2 deletions(-) (limited to 'gcc') diff --git a/gcc/config/i386/x-osfrose b/gcc/config/i386/x-osfrose index 41deda8..a419bdb 100644 --- a/gcc/config/i386/x-osfrose +++ b/gcc/config/i386/x-osfrose @@ -14,7 +14,8 @@ CPPFLAGS = $(CPP_ABORT) $(SYSTEM_INCLUDES) DEB_OPT = $(OPT) $(DEBUG) $(PROFILE) DEBUG = DEBUG_COLLECT = # -DDEBUG -GCC_CFLAGS = $(INTERNAL_CFLAGS) $(X_CFLAGS) $(T_CFLAGS) $(CFLAGS) -B./ -DPOSIX +CCLIBFLAGS = -O -DNO_HALF_PIC +GCC_CFLAGS = $(INTERNAL_CFLAGS) $(X_CFLAGS) $(T_CFLAGS) $(CFLAGS) -B./ -DPOSIX -DNO_HALF_PIC INSTALL = installbsd -c LDFLAGS = MSTATS = # -mstats diff --git a/gcc/config/mips/x-osfrose b/gcc/config/mips/x-osfrose index e1f09bd..20ed477 100644 --- a/gcc/config/mips/x-osfrose +++ b/gcc/config/mips/x-osfrose @@ -15,7 +15,8 @@ CPPFLAGS = $(CPP_ABORT) $(SYSTEM_INCLUDES) DEB_OPT = $(OPT) $(DEBUG) $(PROFILE) DEBUG = DEBUG_COLLECT = # -DDEBUG -GCC_CFLAGS = $(INTERNAL_CFLAGS) $(X_CFLAGS) $(T_CFLAGS) $(CFLAGS) -B./ -DPOSIX +CCLIBFLAGS = -O -DNO_HALF_PIC +GCC_CFLAGS = $(INTERNAL_CFLAGS) $(X_CFLAGS) $(T_CFLAGS) $(CFLAGS) -B./ -DPOSIX -DNO_HALF_PIC INSTALL = installbsd -c LIBGCC2_CFLAGS = -O2 $(GCC_CFLAGS) -g1 -pic-extern LDFLAGS = diff --git a/gcc/halfpic.h b/gcc/halfpic.h index 5e834dc..f251371 100644 --- a/gcc/halfpic.h +++ b/gcc/halfpic.h @@ -17,6 +17,8 @@ You should have received a copy of the GNU General Public License along with GNU CC; see the file COPYING. If not, write to the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ +#ifndef NO_HALF_PIC + /* Add prototype support. */ #ifndef PROTO #if defined (USE_PROTOTYPES) ? USE_PROTOTYPES : defined (__STDC__) @@ -78,3 +80,5 @@ extern struct rtx_def *half_pic_ptr PROTO((struct rtx_def *)); /* return RTX for #ifndef HALF_PIC_PREFIX #define HALF_PIC_PREFIX "__pic_" #endif + +#endif /* NO_HALF_PIC */ -- cgit v1.1