Line 1... |
Line 1... |
|
# t-or32 is a Makefile fragment to be included when
|
|
# building gcc for the or32 target
|
|
|
|
# Copyright (C) 2010 Embecosm Limited
|
|
|
|
# This file is part of GCC.
|
|
#
|
|
# GCC is free software; you can redistribute it and/or modify
|
|
# it under the terms of the GNU General Public License as published by
|
|
# the Free Software Foundation; either version 3, or (at your option)
|
|
# any later version.
|
#
|
#
|
# t-default is Makefile fragment to be included when
|
# GCC is distributed in the hope that it will be useful,
|
# building gcc for or32 target
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU General Public License for more details.
|
#
|
#
|
|
# You should have received a copy of the GNU General Public License
|
|
# along with GCC; see the file COPYING3. If not see
|
|
# .
|
|
|
# we don't support -g so don't use it
|
# we don't support -g so don't use it
|
LIBGCC2_DEBUG_CFLAGS =
|
LIBGCC2_DEBUG_CFLAGS =
|
|
|
TARGET_LIBGCC2_CFLAGS = -fomit-frame-pointer
|
TARGET_LIBGCC2_CFLAGS = -fomit-frame-pointer
|
Line 33... |
Line 49... |
#LIBGCC =
|
#LIBGCC =
|
#INSTALL_LIBGCC =
|
#INSTALL_LIBGCC =
|
|
|
# .init/.fini section routines
|
# .init/.fini section routines
|
|
|
$(T)crtinit.o: $(srcdir)/config/or32/initfini.c $(GCC_PASSES) $(CONFIG_H)
|
$(T)crti.o: $(srcdir)/config/or32/crti.S $(GCC_PASSES) $(CONFIG_H)
|
$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) $(CRTSTUFF_T_CFLAGS) \
|
$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) $(CRTSTUFF_T_CFLAGS) \
|
$(MULTILIB_CFLAGS) -DCRT_INIT -finhibit-size-directive -fno-inline-functions \
|
$(MULTILIB_CFLAGS) -finhibit-size-directive -fno-inline-functions \
|
-g0 -c $(srcdir)/config/or32/initfini.c -o $(T)crtinit.o
|
-g0 -c $< -o $@
|
|
|
$(T)crtfini.o: $(srcdir)/config/or32/initfini.c $(GCC_PASSES) $(CONFIG_H)
|
$(T)crtn.o: $(srcdir)/config/or32/crtn.S $(GCC_PASSES) $(CONFIG_H)
|
$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) $(CRTSTUFF_T_CFLAGS) \
|
$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) $(CRTSTUFF_T_CFLAGS) \
|
-DCRT_FINI $(MULTILIB_CFLAGS) -finhibit-size-directive -fno-inline-functions \
|
$(MULTILIB_CFLAGS) -finhibit-size-directive -fno-inline-functions \
|
-g0 -c $(srcdir)/config/or32/initfini.c -o $(T)crtfini.o
|
-g0 -c $< -o $@
|
|
|
#MULTILIB_OPTIONS =
|
#MULTILIB_OPTIONS =
|
#MULTILIB_DIRNAMES = be
|
|
#EXTRA_MULTILIB_PARTS = crtinit.o crtfini.o
|
|