Commit 48bd7758 by Alan Modra Committed by Alan Modra

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
parent a7e184fc
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.
......
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
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
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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment