aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMichael Meissner <meissner@gcc.gnu.org>1993-10-01 20:02:40 +0000
committerMichael Meissner <meissner@gcc.gnu.org>1993-10-01 20:02:40 +0000
commit15af062fc5db015208b5766dc12b8680347c982e (patch)
tree35023db2a82384c7b50a4d8ee29938ef94d55727 /gcc
parent03ef2c3bc55f8cd65c82a69c5209e03f240e2397 (diff)
downloadgcc-15af062fc5db015208b5766dc12b8680347c982e.zip
gcc-15af062fc5db015208b5766dc12b8680347c982e.tar.gz
gcc-15af062fc5db015208b5766dc12b8680347c982e.tar.bz2
Do not put halfpic cruft into libgcc.a on OSF/1.
From-SVN: r5543
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/i386/x-osfrose3
-rw-r--r--gcc/config/mips/x-osfrose3
-rw-r--r--gcc/halfpic.h4
3 files changed, 8 insertions, 2 deletions
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 */