mill32.S: New file.

* config/pa/mill32.S: New file.
	* config/pa/mill64.S: New file.
	* config/pa/t-linux (LIBGCC1, CROSS_LIBGCC1, LIB1ASMFUNCS,
	LIB1ASMSRC, CRTSTUFF_T_CFLAGS_S, TARGET_LIBGCC2_CFLAGS): Define.
	* config/pa/t-linux64: New file.
	* config/pa/t-pa64 (CROSS_LIBGCC1): Change to libgcc1-asm.a
	(LIB1ASMFUNCS, LIB1ASMSRC): Define.
	(TARGET_LIBGCC2_CFLAGS): Add -Dpa64=1 -DELF=1.

From-SVN: r41324
This commit is contained in:
Alan Modra 2001-04-13 05:19:02 +00:00 committed by Alan Modra
parent a7e184fc5f
commit 48bd775831
6 changed files with 3283 additions and 3 deletions

View File

@ -1,5 +1,14 @@
2001-04-13 Alan Modra <amodra@one.net.au>
* config/pa/mill32.S: New file.
* config/pa/mill64.S: New file.
* config/pa/t-linux (LIBGCC1, CROSS_LIBGCC1, LIB1ASMFUNCS,
LIB1ASMSRC, CRTSTUFF_T_CFLAGS_S, TARGET_LIBGCC2_CFLAGS): Define.
* config/pa/t-linux64: New file.
* config/pa/t-pa64 (CROSS_LIBGCC1): Change to libgcc1-asm.a
(LIB1ASMFUNCS, LIB1ASMSRC): Define.
(TARGET_LIBGCC2_CFLAGS): Add -Dpa64=1 -DELF=1.
* elfos.h (SELECT_SECTION): Undef before defining.
* pa-linux.h (LINUX_DEFAULT_ELF, PTRDIFF_TYPE, CPP_SPEC): Remove.
(LIB_SPEC): Remove -lmilli.

1134
gcc/config/pa/milli32.S Normal file

File diff suppressed because it is too large Load Diff

2096
gcc/config/pa/milli64.S Normal file

File diff suppressed because it is too large Load Diff

View File

@ -1 +1,22 @@
LIBGCC1=libgcc1-asm.a
CROSS_LIBGCC1=libgcc1-asm.a
#Plug millicode routines into libgcc.a We want these on both native and
#cross compiles.
LIB1ASMFUNCS = _divI _divU _remI _remU _multiply \
_divI_15 _divI_14 _divI_12 _divI_10 _divI_9 \
_divI_7 _divI_6 _divI_5 _divI_3 \
_divU_15 _divU_14 _divU_12 _divU_10 _divU_9 \
_divU_7 _divU_6 _divU_5 _divU_3 _dyncall
LIB1ASMSRC = pa/milli32.S
# Compile crtbeginS.o and crtendS.o as PIC.
CRTSTUFF_T_CFLAGS_S = -fPIC
# Compile libgcc2.a as PIC.
# This is also used when compiling libgcc1 if libgcc1 is the asm variety.
TARGET_LIBGCC2_CFLAGS = -fPIC -DELF=1 -DLINUX=1
ADA_CFLAGS=-mdisable-indexing

17
gcc/config/pa/t-linux64 Normal file
View File

@ -0,0 +1,17 @@
LIBGCC1=libgcc1-asm.a
CROSS_LIBGCC1=libgcc1-asm.a
#Plug millicode routines into libgcc.a We want these on both native and
#cross compiles.
LIB1ASMFUNCS = _divI _divU _remI _remU _div_const _mulI
LIB1ASMSRC = pa/milli64.S
# Compile crtbeginS.o and crtendS.o as PIC.
# Actually, hppa64 is always PIC but adding -fPIC does no harm.
CRTSTUFF_T_CFLAGS_S = -fPIC
# Compile libgcc2.a as PIC.
# This is also used when compiling libgcc1 if libgcc1 is the asm variety.
TARGET_LIBGCC2_CFLAGS = -fPIC -Dpa64=1 -DELF=1

View File

@ -1,10 +1,13 @@
LIBGCC1=libgcc1.null
CROSS_LIBGCC1=libgcc1.null
CROSS_LIBGCC1=libgcc1-asm.a
LIB1ASMFUNCS = _divI _divU _remI _remU _div_const
LIB1ASMSRC = pa/milli64.S
TARGET_LIBGCC2_CFLAGS = -fPIC -Dpa64=1 -DELF=1
ADA_CFLAGS=-mdisable-indexing
LIB2FUNCS_EXTRA=quadlib.c
TARGET_LIBGCC2_CFLAGS = -fPIC
# We'll need this once .init sections are enabled on PA64.
#EXTRA_PARTS = crtbegin.o crtend.o