48 lines
2.5 KiB
Plaintext
48 lines
2.5 KiB
Plaintext
$OpenBSD: pp-gcc_Makefile_in,v 1.1 2005/01/04 23:06:33 espie Exp $
|
|
--- gcc/Makefile.in.orig Thu Apr 1 18:55:23 2004
|
|
+++ gcc/Makefile.in Mon Jan 3 10:39:12 2005
|
|
@@ -391,7 +391,7 @@ INSTALL_LIBGCC = install-libgcc
|
|
# Options to use when compiling libgcc2.a.
|
|
#
|
|
LIBGCC2_DEBUG_CFLAGS = -g
|
|
-LIBGCC2_CFLAGS = -O2 $(LIBGCC2_INCLUDES) $(GCC_CFLAGS) $(TARGET_LIBGCC2_CFLAGS) $(LIBGCC2_DEBUG_CFLAGS) $(GTHREAD_FLAGS) -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED @inhibit_libc@
|
|
+LIBGCC2_CFLAGS = -O2 $(LIBGCC2_INCLUDES) $(GCC_CFLAGS) $(TARGET_LIBGCC2_CFLAGS) $(LIBGCC2_DEBUG_CFLAGS) $(GTHREAD_FLAGS) -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED @inhibit_libc@ -fno-stack-protector
|
|
|
|
# Additional options to use when compiling libgcc2.a.
|
|
# Some targets override this to -isystem include
|
|
@@ -768,7 +768,7 @@ OBJS = alias.o bb-reorder.o bitmap.o bui
|
|
sibcall.o simplify-rtx.o ssa.o ssa-ccp.o ssa-dce.o stmt.o \
|
|
stor-layout.o stringpool.o timevar.o toplev.o tracer.o tree.o tree-dump.o \
|
|
tree-inline.o unroll.o varasm.o varray.o version.o vmsdbgout.o xcoffout.o \
|
|
- et-forest.o $(GGC) $(out_object_file) $(EXTRA_OBJS)
|
|
+ et-forest.o protector.o $(GGC) $(out_object_file) $(EXTRA_OBJS)
|
|
|
|
BACKEND = main.o libbackend.a
|
|
|
|
@@ -802,7 +802,7 @@ LIB2FUNCS_1 = _muldi3 _negdi2 _lshrdi3 _
|
|
|
|
LIB2FUNCS_2 = _floatdixf _fixunsxfsi _fixtfdi _fixunstfdi _floatditf \
|
|
_clear_cache _trampoline __main _exit _absvsi2 _absvdi2 _addvsi3 \
|
|
- _addvdi3 _subvsi3 _subvdi3 _mulvsi3 _mulvdi3 _negvsi2 _negvdi2 _ctors
|
|
+ _addvdi3 _subvsi3 _subvdi3 _mulvsi3 _mulvdi3 _negvsi2 _negvdi2 _ctors _stack_smash_handler
|
|
|
|
# Defined in libgcc2.c, included only in the static library.
|
|
LIB2FUNCS_ST = _eprintf _bb __gcc_bcmp
|
|
@@ -1415,7 +1418,7 @@ toplev.o : toplev.c $(CONFIG_H) $(SYSTEM
|
|
ssa.h $(PARAMS_H) $(TM_P_H) reload.h dwarf2asm.h $(TARGET_H) \
|
|
langhooks.h insn-flags.h options.h cfglayout.h real.h
|
|
$(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
|
|
- -DTARGET_NAME=\"$(target_alias)\" \
|
|
+ -DSTACK_PROTECTOR -DTARGET_NAME=\"$(target_alias)\" \
|
|
-c $(srcdir)/toplev.c $(OUTPUT_OPTION)
|
|
main.o : main.c $(CONFIG_H) $(SYSTEM_H) toplev.h
|
|
|
|
@@ -1670,6 +1673,7 @@ ifcvt.o : ifcvt.c $(CONFIG_H) $(SYSTEM_H
|
|
output.h except.h $(TM_P_H) real.h
|
|
params.o : params.c $(CONFIG_H) $(SYSTEM_H) $(PARAMS_H) toplev.h
|
|
hooks.o: hooks.c $(CONFIG_H) $(SYSTEM_H) $(HOOKS_H)
|
|
+protector.o: protector.c $(CONFIG_H)
|
|
|
|
$(out_object_file): $(out_file) $(CONFIG_H) $(TREE_H) $(GGC_H) \
|
|
$(RTL_H) $(REGS_H) hard-reg-set.h real.h insn-config.h conditions.h \
|