t-m32r 974 B

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