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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [config/] [arm/] [t-strongarm-elf] - Blame information for rev 825

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 38 julius
LIB1ASMSRC = arm/lib1funcs.asm
2
LIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_tls _bb_init_func
3
 
4
# We want fine grained libraries, so use the new code to build the
5
# floating point emulation libraries.
6
FPBIT = fp-bit.c
7
DPBIT = dp-bit.c
8
 
9
fp-bit.c: $(srcdir)/config/fp-bit.c
10
        echo '#define FLOAT' > fp-bit.c
11
        echo '#ifndef __ARMEB__' >> fp-bit.c
12
        echo '#define FLOAT_BIT_ORDER_MISMATCH' >> fp-bit.c
13
        echo '#endif' >> fp-bit.c
14
        cat $(srcdir)/config/fp-bit.c >> fp-bit.c
15
 
16
dp-bit.c: $(srcdir)/config/fp-bit.c
17
        echo '#ifndef __ARMEB__' > dp-bit.c
18
        echo '#define FLOAT_BIT_ORDER_MISMATCH' >> dp-bit.c
19
        echo '#define FLOAT_WORD_ORDER_MISMATCH' >> dp-bit.c
20
        echo '#endif' >> dp-bit.c
21
        cat $(srcdir)/config/fp-bit.c >> dp-bit.c
22
 
23
MULTILIB_OPTIONS     = mlittle-endian/mbig-endian mhard-float/msoft-float
24
MULTILIB_DIRNAMES    = le be fpu soft
25
MULTILIB_EXCEPTIONS  =
26
MULTILIB_MATCHES     = mbig-endian=mbe mlittle-endian=mle
27
EXTRA_MULTILIB_PARTS = crtbegin.o crtend.o crti.o crtn.o
28
 
29
LIBGCC = stmp-multilib
30
INSTALL_LIBGCC = install-multilib
31
 
32
# Currently there is a bug somewhere in GCC's alias analysis
33
# or scheduling code that is breaking _fpmul_parts in fp-bit.c.
34
# Disabling function inlining is a workaround for this problem.
35
TARGET_LIBGCC2_CFLAGS = -fno-inline
36
 
37
# Assemble startup files.
38
$(T)crti.o: $(srcdir)/config/arm/crti.asm $(GCC_PASSES)
39
        $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(MULTILIB_CFLAGS) $(INCLUDES) \
40
        -c -o $(T)crti.o -x assembler-with-cpp $(srcdir)/config/arm/crti.asm
41
 
42
$(T)crtn.o: $(srcdir)/config/arm/crtn.asm $(GCC_PASSES)
43
        $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(MULTILIB_CFLAGS) $(INCLUDES) \
44
        -c -o $(T)crtn.o -x assembler-with-cpp $(srcdir)/config/arm/crtn.asm

powered by: WebSVN 2.1.0

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