OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [config/] [or32/] [t-or32] - Blame information for rev 399

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 399 jeremybenn
# t-or32 is a Makefile fragment to be included when
2
#           building gcc for the or32 target
3
 
4
# Copyright (C) 2010 Embecosm Limited
5
 
6
# This file is part of GCC.
7 282 jeremybenn
#
8 399 jeremybenn
# GCC is free software; you can redistribute it and/or modify
9
# it under the terms of the GNU General Public License as published by
10
# the Free Software Foundation; either version 3, or (at your option)
11
# any later version.
12 282 jeremybenn
#
13 399 jeremybenn
# GCC is distributed in the hope that it will be useful,
14
# but WITHOUT ANY WARRANTY; without even the implied warranty of
15
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16
# GNU General Public License for more details.
17
#
18
# You should have received a copy of the GNU General Public License
19
# along with GCC; see the file COPYING3.  If not see
20
# .
21 282 jeremybenn
 
22
# we don't support -g so don't use it
23
LIBGCC2_DEBUG_CFLAGS =
24
 
25
TARGET_LIBGCC2_CFLAGS = -fomit-frame-pointer
26
 
27
LIB1ASMSRC = or32/or32.S
28
LIB1ASMFUNCS = __mulsi3 __udivsi3 __divsi3 __umodsi3 __modsi3
29
 
30
# These are really part of libgcc1, but this will cause them to be
31
# built correctly, so... [taken from t-sparclite]
32
LIB2FUNCS_EXTRA = fp-bit.c dp-bit.c
33
 
34
dp-bit.c: $(srcdir)/config/fp-bit.c
35
        cat $(srcdir)/config/fp-bit.c > dp-bit.c
36
 
37
fp-bit.c: $(srcdir)/config/fp-bit.c
38
        echo '#define FLOAT' > fp-bit.c
39
        cat $(srcdir)/config/fp-bit.c >> fp-bit.c
40
 
41
# Build the libraries for both hard and soft floating point
42
 
43
#MULTILIB_OPTIONS = msoft-float
44
#MULTILIB_DIRNAMES = soft-float
45
 
46
#LIBGCC = stmp-multilib
47
#INSTALL_LIBGCC = install-multilib
48
 
49
#LIBGCC =
50
#INSTALL_LIBGCC =
51
 
52
# .init/.fini section routines
53
 
54 399 jeremybenn
$(T)crti.o: $(srcdir)/config/or32/crti.S $(GCC_PASSES) $(CONFIG_H)
55 282 jeremybenn
        $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) $(CRTSTUFF_T_CFLAGS) \
56 399 jeremybenn
         $(MULTILIB_CFLAGS) -finhibit-size-directive -fno-inline-functions \
57
         -g0 -c $< -o $@
58 282 jeremybenn
 
59 399 jeremybenn
$(T)crtn.o: $(srcdir)/config/or32/crtn.S $(GCC_PASSES) $(CONFIG_H)
60 282 jeremybenn
        $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) $(CRTSTUFF_T_CFLAGS) \
61 399 jeremybenn
         $(MULTILIB_CFLAGS) -finhibit-size-directive -fno-inline-functions \
62
         -g0 -c $< -o $@
63 282 jeremybenn
 
64
#MULTILIB_OPTIONS =

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.