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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [config/] [m68hc11/] [t-m68hc11-gas] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 38 julius
RANLIB_FOR_TARGET = ` \
2
  if [ -f $(objdir)/../binutils/ranlib ] ; then \
3
    echo $(objdir)/../binutils/ranlib ; \
4
  else \
5
    if [ "$(host)" = "$(target)" ] ; then \
6
      echo ranlib; \
7
    else \
8
       if [ -f $(bindir)/$(target_noncanonical)-ranlib ] ; then \
9
          echo $(bindir)/$(target_noncanonical)-ranlib ; \
10
       else \
11
          t='$(program_transform_cross_name)'; echo ranlib | sed -e $$t ; \
12
       fi; \
13
    fi; \
14
  fi`
15
 
16
T_CPPFLAGS = -DUSE_GAS
17
 
18
LIB1ASMSRC = m68hc11/larith.asm
19
LIB1ASMFUNCS = _mulsi3 \
20
        _mulqi3 _ashlsi3 _ashrsi3 _lshrsi3 \
21
        _divmodhi4 _mulhi3 _mulhi32 \
22
        _memcpy _memset _negsi2 _one_cmplsi2 \
23
        _regs_min _regs_frame _regs_d1_2 \
24
        _regs_d3_4 _regs_d5_6 _regs_d7_8 _regs_d9_16 _regs_d17_32 \
25
        _premain __exit _abort _cleanup \
26
        _adddi3 _subdi3 _notdi2 _rotlhi3 _rotrhi3 \
27
        _ashrhi3 _lshrhi3 _lshlhi3 _ashrqi3 _lshlqi3 _map_data _init_bss \
28
        _ctor _dtor _far_tramp _call_far _return_far
29
 
30
TARGET_LIBGCC2_CFLAGS = -DUSE_GAS -DIN_GCC -Dinhibit_libc
31
 
32
# C implementation of 32-bit div/mod.
33
LIB2FUNCS_EXTRA = $(srcdir)/config/udivmodsi4.c \
34
        $(srcdir)/config/divmod.c $(srcdir)/config/udivmod.c
35
 
36
# Don't compile with -g1 this reduces the size of some sections (.eh_frame).
37
LIBGCC2_DEBUG_CFLAGS =-g
38
LIBGCC2_CFLAGS = -Os -mrelax $(LIBGCC2_INCLUDES) $(TARGET_LIBGCC2_CFLAGS) $(LIBGCC2_DEBUG_CFLAGS) $(GTHREAD_FLAGS) -DIN_LIBGCC2
39
 
40
MULTILIB_OPTIONS  = m68hc11/m68hc12 mshort fshort-double
41
MULTILIB_DIRNAMES =
42
MULTILIB_MATCHES  = m68hc11=m6811 m68hc12=m6812 m68hc12=m68hcs12
43
MULTILIB_EXCEPTIONS = -mnoshort -mno68hc11
44
 
45
LIBGCC = stmp-multilib
46
INSTALL_LIBGCC = install-multilib
47
 
48
# We want fine grained libraries, so use the new code to build the
49
# floating point emulation libraries.
50
FPBIT = fp-bit.c
51
DPBIT = dp-bit.c
52
 
53
dp-bit.c: $(srcdir)/config/fp-bit.c
54
        echo '#define SMALL_MACHINE' >> dp-bit.c
55
        echo '#define CMPtype HItype' >> dp-bit.c
56
        echo '#ifdef __LITTLE_ENDIAN__' >> dp-bit.c
57
        echo '#define FLOAT_BIT_ORDER_MISMATCH' >>dp-bit.c
58
        echo '#endif'           >> dp-bit.c
59
        cat $(srcdir)/config/fp-bit.c >> dp-bit.c
60
 
61
fp-bit.c: $(srcdir)/config/fp-bit.c
62
        echo '#define FLOAT' > fp-bit.c
63
        echo '#define CMPtype HItype' >> fp-bit.c
64
        echo '#define SMALL_MACHINE' >> fp-bit.c
65
        echo '#ifdef __LITTLE_ENDIAN__' >> fp-bit.c
66
        echo '#define FLOAT_BIT_ORDER_MISMATCH' >>fp-bit.c
67
        echo '#endif'           >> fp-bit.c
68
        cat $(srcdir)/config/fp-bit.c >> fp-bit.c
69
 
70
CRT0_S = $(srcdir)/config/m68hc11/m68hc11-crt0.S
71
MCRT0_S= $(srcdir)/config/m68hc11/m68hc11-crt0.S
72
 
73
CRT0STUFF_T_CFLAGS =
74
 
75
# Assemble startup files.
76
$(T)crt1.o: $(CRT0_S) $(GCC_PASSES)
77
        $(GCC_FOR_TARGET) $(MULTILIB_CFLAGS) -c -o $(T)crt1.o -x assembler-with-cpp $(CRT0_S)
78
 
79
EXTRA_MULTILIB_PARTS = crt1.o

powered by: WebSVN 2.1.0

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