2008-01-25 Douglas Gregor <doug.gregor@gmail.com>
[official-gcc.git] / gcc / config / arm / t-vxworks
blob978aa5ef2f5978dd3d96d86e76ed45f6a9b5def8
1 LIB1ASMSRC = arm/lib1funcs.asm
2 LIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_tls _bb_init_func _call_via_rX _interwork_call_via_rX
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
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
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 '#endif' >> dp-bit.c
20         cat $(srcdir)/config/fp-bit.c >> dp-bit.c
22 MULTILIB_OPTIONS = \
23   mrtp fPIC \
24   t4/t4be/t4t/t4tbe/t5/t5be/t5t/t5tbe/tstrongarm/txscale/txscalebe
25 MULTILIB_MATCHES = fPIC=fpic
26 # Don't build -fPIC multilibs for kernel or Thumb code.
27 MULTILIB_EXCEPTIONS = fPIC* mrtp/fPIC/*t[45]t*