]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/config/xtensa/t-xtensa
Merge from pch-branch up to tag pch-commit-20020603.
[thirdparty/gcc.git] / gcc / config / xtensa / t-xtensa
1 # Use GCC's floating-point emulation code
2 LIB2FUNCS_EXTRA = fp-bit.c dp-bit.c
3
4 dp-bit.c: $(srcdir)/config/fp-bit.c
5 cat $(srcdir)/config/fp-bit.c > dp-bit.c
6
7 fp-bit.c: $(srcdir)/config/fp-bit.c
8 echo '#define FLOAT' > fp-bit.c
9 cat $(srcdir)/config/fp-bit.c >> fp-bit.c
10
11 ########################################################################
12
13 # Skip the libgcc1 test.
14 LIBGCC1_TEST =
15
16 # Don't run fixproto
17 STMP_FIXPROTO =
18
19 # Build crtbegin and crtend with the "longcalls" option
20 CRTSTUFF_T_CFLAGS += -mlongcalls
21 CRTSTUFF_T_CFLAGS_S += -mlongcalls
22
23 CROSS_LIBGCC1 = libgcc1-asm.a
24 LIB1ASMSRC = xtensa/lib1funcs.asm
25 LIB1ASMFUNCS = _mulsi3 _nsau _divsi3 _modsi3 _udivsi3 _umodsi3
26
27 TARGET_LIBGCC2_CFLAGS += -mlongcalls
28
29 LIB2FUNCS_EXTRA += $(srcdir)/config/xtensa/lib2funcs.S
30
31 $(out_object_file): gt-xtensa.h
32 gt-xtensa.h : s-gtype ; @true