1*48fb7bfaSmrg# Turn off the SDA while compiling libgcc2. There are no headers for it 2*48fb7bfaSmrg# and we want maximal upward compatibility here. 3*48fb7bfaSmrgHOST_LIBGCC2_CFLAGS += -G 0 4*48fb7bfaSmrg 5*48fb7bfaSmrg# We need to use -fpic when we are using gcc to compile the routines in 6*48fb7bfaSmrg# initfini.c. This is only really needed when we are going to use gcc/g++ 7*48fb7bfaSmrg# to produce a shared library, but since we don't know ahead of time when 8*48fb7bfaSmrg# we will be doing that, we just always use -fpic when compiling the 9*48fb7bfaSmrg# routines in initfini.c. 10*48fb7bfaSmrg# -fpic currently isn't supported for the m32r. 11*48fb7bfaSmrg# FIXME: No longer true. Empty CRTSTUFF_T_CFLAGS is the default. 12*48fb7bfaSmrgCRTSTUFF_T_CFLAGS = 13*48fb7bfaSmrg 14*48fb7bfaSmrg# .init/.fini section routines 15*48fb7bfaSmrgcrtinit.o: $(srcdir)/config/m32r/initfini.c 16*48fb7bfaSmrg $(crt_compile) $(CRTSTUFF_T_CFLAGS) -DCRT_INIT \ 17*48fb7bfaSmrg -finhibit-size-directive -fno-inline-functions -g0 \ 18*48fb7bfaSmrg -mmodel=medium -c $< 19*48fb7bfaSmrg 20*48fb7bfaSmrgcrtfini.o: $(srcdir)/config/m32r/initfini.c 21*48fb7bfaSmrg $(crt_compile) $(CRTSTUFF_T_CFLAGS) -DCRT_FINI \ 22*48fb7bfaSmrg -finhibit-size-directive -fno-inline-functions -g0 \ 23*48fb7bfaSmrg -mmodel=medium -c $< 24