0
|
1 #Plug millicode routines into libgcc.a We want these on both native and
|
|
2 #cross compiles. We use the "64-bit" routines because the "32-bit" code
|
|
3 #is broken for certain corner cases.
|
|
4
|
|
5 LIB1ASMFUNCS = _divI _divU _remI _remU _div_const _mulI _dyncall
|
|
6 LIB1ASMSRC = pa/milli64.S
|
|
7
|
|
8 # Compile libgcc2.a as PIC.
|
|
9 TARGET_LIBGCC2_CFLAGS = -fPIC -DELF=1 -DLINUX=1
|
|
10
|
|
11 LIB2FUNCS_EXTRA=fptr.c
|
|
12 LIB2FUNCS_STATIC_EXTRA = $(srcdir)/config/pa/linux-atomic.c
|
|
13
|
|
14 fptr.c: $(srcdir)/config/pa/fptr.c
|
|
15 rm -f fptr.c
|
|
16 cp $(srcdir)/config/pa/fptr.c .
|
|
17
|
|
18 # Compile crtbeginS.o and crtendS.o as PIC.
|
|
19 CRTSTUFF_T_CFLAGS_S = -fPIC
|