xref: /openbsd/gnu/gcc/gcc/config/pa/t-linux (revision 404b540a)
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
5LIB1ASMFUNCS = _divI _divU _remI _remU _div_const _mulI _dyncall
6LIB1ASMSRC = pa/milli64.S
7
8# Compile libgcc2.a as PIC.
9TARGET_LIBGCC2_CFLAGS = -fPIC -DELF=1 -DLINUX=1
10
11LIB2FUNCS_EXTRA=fptr.c
12
13fptr.c: $(srcdir)/config/pa/fptr.c
14	rm -f fptr.c
15	cp $(srcdir)/config/pa/fptr.c .
16
17# Compile crtbeginS.o and crtendS.o as PIC.
18CRTSTUFF_T_CFLAGS_S = -fPIC
19