head	1.1;
branch	1.1.1;
access;
symbols
	RELENG_8_4:1.1.1.5.0.30
	RELENG_9_1_0_RELEASE:1.1.1.5
	RELENG_9_1:1.1.1.5.0.28
	RELENG_9_1_BP:1.1.1.5
	RELENG_8_3_0_RELEASE:1.1.1.5
	RELENG_8_3:1.1.1.5.0.26
	RELENG_8_3_BP:1.1.1.5
	RELENG_9_0_0_RELEASE:1.1.1.5
	RELENG_9_0:1.1.1.5.0.24
	RELENG_9_0_BP:1.1.1.5
	RELENG_9:1.1.1.5.0.22
	RELENG_9_BP:1.1.1.5
	RELENG_7_4_0_RELEASE:1.1.1.5
	RELENG_8_2_0_RELEASE:1.1.1.5
	RELENG_7_4:1.1.1.5.0.20
	RELENG_7_4_BP:1.1.1.5
	RELENG_8_2:1.1.1.5.0.18
	RELENG_8_2_BP:1.1.1.5
	RELENG_8_1_0_RELEASE:1.1.1.5
	RELENG_8_1:1.1.1.5.0.16
	RELENG_8_1_BP:1.1.1.5
	RELENG_7_3_0_RELEASE:1.1.1.5
	RELENG_7_3:1.1.1.5.0.14
	RELENG_7_3_BP:1.1.1.5
	RELENG_8_0_0_RELEASE:1.1.1.5
	RELENG_8_0:1.1.1.5.0.12
	RELENG_8_0_BP:1.1.1.5
	RELENG_8:1.1.1.5.0.10
	RELENG_8_BP:1.1.1.5
	RELENG_7_2_0_RELEASE:1.1.1.5
	RELENG_7_2:1.1.1.5.0.8
	RELENG_7_2_BP:1.1.1.5
	RELENG_7_1_0_RELEASE:1.1.1.5
	RELENG_6_4_0_RELEASE:1.1.1.4
	RELENG_7_1:1.1.1.5.0.6
	RELENG_7_1_BP:1.1.1.5
	RELENG_6_4:1.1.1.4.0.12
	RELENG_6_4_BP:1.1.1.4
	RELENG_7_0_0_RELEASE:1.1.1.5
	RELENG_6_3_0_RELEASE:1.1.1.4
	RELENG_7_0:1.1.1.5.0.4
	RELENG_7_0_BP:1.1.1.5
	RELENG_6_3:1.1.1.4.0.10
	RELENG_6_3_BP:1.1.1.4
	RELENG_7:1.1.1.5.0.2
	RELENG_7_BP:1.1.1.5
	gcc_4_2_1_20070718_SVN126787:1.1.1.5
	gcc_4_2_0_20070514_SVN124707:1.1.1.5
	RELENG_6_2_0_RELEASE:1.1.1.4
	RELENG_6_2:1.1.1.4.0.8
	RELENG_6_2_BP:1.1.1.4
	gcc_3_4_6_20060825_SVN116475:1.1.1.4
	RELENG_5_5_0_RELEASE:1.1.1.3
	RELENG_5_5:1.1.1.3.0.8
	RELENG_5_5_BP:1.1.1.3
	RELENG_6_1_0_RELEASE:1.1.1.4
	RELENG_6_1:1.1.1.4.0.6
	RELENG_6_1_BP:1.1.1.4
	RELENG_6_0_0_RELEASE:1.1.1.4
	RELENG_6_0:1.1.1.4.0.4
	RELENG_6_0_BP:1.1.1.4
	RELENG_6:1.1.1.4.0.2
	RELENG_6_BP:1.1.1.4
	gcc_3_4_4_20050518:1.1.1.4
	RELENG_5_4_0_RELEASE:1.1.1.3
	RELENG_5_4:1.1.1.3.0.6
	RELENG_5_4_BP:1.1.1.3
	RELENG_5_3_0_RELEASE:1.1.1.3
	RELENG_5_3:1.1.1.3.0.4
	RELENG_5_3_BP:1.1.1.3
	RELENG_5:1.1.1.3.0.2
	RELENG_5_BP:1.1.1.3
	gcc_3_4_2_20040728:1.1.1.3
	RELENG_5_2_1_RELEASE:1.1.1.2
	RELENG_5_2_0_RELEASE:1.1.1.2
	RELENG_5_2:1.1.1.2.0.2
	RELENG_5_2_BP:1.1.1.2
	gcc_3_3_3_20031106:1.1.1.2
	gcc_3_3_1:1.1.1.2
	gcc_3_3_1_20030711:1.1.1.2
	RELENG_5_1_0_RELEASE:1.1.1.1
	RELENG_5_1:1.1.1.1.0.4
	RELENG_5_1_BP:1.1.1.1
	gcc_3_2_2_20030205:1.1.1.1
	RELENG_5_0_0_RELEASE:1.1.1.1
	RELENG_5_0:1.1.1.1.0.2
	RELENG_5_0_BP:1.1.1.1
	gcc_3_2_1:1.1.1.1
	BEFORE_GCC_3_2_1:1.1.1.1
	gcc_3_2_anoncvs_20021009:1.1.1.1
	gcc_3_2_anoncvs_20020916:1.1.1.1
	gcc_3_2_anoncvs_20020901:1.1.1.1
	gcc_3_1_anoncvs_20020509:1.1.1.1
	gcc_cvs_20020201_0820:1.1.1.1
	FSF:1.1.1;
locks; strict;
comment	@# @;


1.1
date	2002.02.01.18.15.19;	author obrien;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2002.02.01.18.15.19;	author obrien;	state Exp;
branches;
next	1.1.1.2;

1.1.1.2
date	2003.07.11.03.40.53;	author kan;	state Exp;
branches;
next	1.1.1.3;

1.1.1.3
date	2004.07.28.03.11.36;	author kan;	state Exp;
branches;
next	1.1.1.4;

1.1.1.4
date	2005.06.03.03.28.42;	author kan;	state Exp;
branches;
next	1.1.1.5;

1.1.1.5
date	2007.05.19.01.17.50;	author kan;	state Exp;
branches
	1.1.1.5.30.1;
next	;

1.1.1.5.30.1
date	2007.05.19.01.17.50;	author svnexp;	state dead;
branches;
next	1.1.1.5.30.2;

1.1.1.5.30.2
date	2013.03.28.13.00.56;	author svnexp;	state Exp;
branches;
next	;


desc
@@


1.1
log
@Initial revision
@
text
@# We need multilib support for HPUX's ILP32 & LP64 modes.

LIBGCC = stmp-multilib
INSTALL_LIBGCC = install-multilib

MULTILIB_OPTIONS = milp32/mlp64
MULTILIB_DIRNAMES = hpux32 hpux64
MULTILIB_MATCHES =

# Support routines for HP-UX 128 bit floats.

LIB2FUNCS_EXTRA=quadlib.c

quadlib.c: $(srcdir)/config/ia64/quadlib.c
	cat $(srcdir)/config/ia64/quadlib.c > quadlib.c
@


1.1.1.1
log
@Enlist the FreeBSD-CURRENT users as testers of what is to become Gcc 3.1.0.
These bits are taken from the FSF anoncvs repo on 1-Feb-2002 08:20 PST.
@
text
@@


1.1.1.2
log
@Gcc 3.3.1-pre as of 2003-07-11.
@
text
@a15 33

# We get an undefined main when building a cross compiler because our
# linkspec has "-u main" and we want that for linking but it makes
# LIBGCC1_TEST fail because it uses -nostdlib -nostartup.

LIBGCC1_TEST =

# Don't run fix-headers.  HP-UX headers are standards conformant
# and don't need to be fixed up in this way.
# If we remove this (and run fix-headers) we should define FIXPROTO_DEFINES
# and also fix the definition of putenv in sys-protos.h (const char not char).

STMP_FIXPROTO =

# We do not want to include the EH stuff that linux uses, we want to use
# the HP-UX libunwind library.

LIB2ADDEH =

SHLIB_EXT = .so
SHLIB_LINK = $(GCC_FOR_TARGET) $(LIBGCC2_CFLAGS) -shared -nodefaultlibs \
	-Wl,+h,@@shlib_base_name@@.so.0 \
	-o @@shlib_base_name@@.so @@multilib_flags@@ @@shlib_objs@@ -lc && \
	rm -f @@shlib_base_name@@.so.0 && \
	$(LN_S) @@shlib_base_name@@.so @@shlib_base_name@@.so.0
# $(slibdir) double quoted to protect it from expansion while building
# libgcc.mk.  We want this delayed until actual install time.
SHLIB_INSTALL = $(INSTALL_DATA) @@shlib_base_name@@.so $$(DESTDIR)$$(slibdir)/@@shlib_base_name@@.so.0; \
	rm -f $$(DESTDIR)$$(slibdir)/@@shlib_base_name@@.so; \
	$(LN_S) @@shlib_base_name@@.so.0 $$(DESTDIR)$$(slibdir)/@@shlib_base_name@@.so; \
	chmod +x $$(DESTDIR)$$(slibdir)/@@shlib_base_name@@.so

SHLIB_MKMAP = $(srcdir)/mkmap-flat.awk
@


1.1.1.3
log
@Gcc 3.4.2 20040728.
@
text
@d23 7
a35 2
# Must include -lunwind in the link, so that libgcc_s.so has the necessary
# DT_NEEDED entry for libunwind.
d38 1
a38 1
	-o @@shlib_base_name@@.so @@multilib_flags@@ @@shlib_objs@@ -lunwind -lc && \
@


1.1.1.4
log
@Gcc 3.4.4 release.
@
text
@a25 2
T_CFLAGS += -DUSE_LIBUNWIND_EXCEPTIONS

@


1.1.1.5
log
@GCC 4.2.0 release.
@
text
@a9 6
# On HP-UX we do not want _fixtfdi, _fixunstfdi, or _floatditf from
# LIB1ASMSRC.  These functions map the 128 bit conversion function names
# to 80 bit conversions and were done for Linux backwards compatibility.

LIB1ASMFUNCS := $(filter-out _fixtfdi _fixunstfdi _floatditf,$(LIB1ASMFUNCS))

d12 1
a12 1
LIB2FUNCS_EXTRA=quadlib.c $(srcdir)/config/floatunsitf.c
d35 3
a37 4
	-o @@multilib_dir@@/@@shlib_base_name@@.so @@multilib_flags@@ \
	@@shlib_objs@@ -lunwind -lc && \
	rm -f @@multilib_dir@@/@@shlib_base_name@@.so.0 && \
	$(LN_S) @@shlib_base_name@@.so @@multilib_dir@@/@@shlib_base_name@@.so.0
d40 4
a43 8
SHLIB_INSTALL = \
        $$(mkinstalldirs) $$(DESTDIR)$$(slibdir)@@shlib_slibdir_qual@@; \
	$(INSTALL_DATA) @@multilib_dir@@/@@shlib_base_name@@.so \
	$$(DESTDIR)$$(slibdir)@@shlib_slibdir_qual@@/@@shlib_base_name@@.so.0; \
	rm -f $$(DESTDIR)$$(slibdir)@@shlib_slibdir_qual@@/@@shlib_base_name@@.so; \
	$(LN_S) @@shlib_base_name@@.so.0 \
	$$(DESTDIR)$$(slibdir)@@shlib_slibdir_qual@@/@@shlib_base_name@@.so; \
	chmod +x $$(DESTDIR)$$(slibdir)@@shlib_slibdir_qual@@/@@shlib_base_name@@.so
@


1.1.1.5.30.1
log
@file t-hpux was added on branch RELENG_8_4 on 2013-03-28 13:00:56 +0000
@
text
@d1 56
@


1.1.1.5.30.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248810
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 56
# We need multilib support for HPUX's ILP32 & LP64 modes.

LIBGCC = stmp-multilib
INSTALL_LIBGCC = install-multilib

MULTILIB_OPTIONS = milp32/mlp64
MULTILIB_DIRNAMES = hpux32 hpux64
MULTILIB_MATCHES =

# On HP-UX we do not want _fixtfdi, _fixunstfdi, or _floatditf from
# LIB1ASMSRC.  These functions map the 128 bit conversion function names
# to 80 bit conversions and were done for Linux backwards compatibility.

LIB1ASMFUNCS := $(filter-out _fixtfdi _fixunstfdi _floatditf,$(LIB1ASMFUNCS))

# Support routines for HP-UX 128 bit floats.

LIB2FUNCS_EXTRA=quadlib.c $(srcdir)/config/floatunsitf.c

quadlib.c: $(srcdir)/config/ia64/quadlib.c
	cat $(srcdir)/config/ia64/quadlib.c > quadlib.c

# We get an undefined main when building a cross compiler because our
# linkspec has "-u main" and we want that for linking but it makes
# LIBGCC1_TEST fail because it uses -nostdlib -nostartup.

LIBGCC1_TEST =

# We do not want to include the EH stuff that linux uses, we want to use
# the HP-UX libunwind library.

T_CFLAGS += -DUSE_LIBUNWIND_EXCEPTIONS

LIB2ADDEH =

SHLIB_EXT = .so
# Must include -lunwind in the link, so that libgcc_s.so has the necessary
# DT_NEEDED entry for libunwind.
SHLIB_LINK = $(GCC_FOR_TARGET) $(LIBGCC2_CFLAGS) -shared -nodefaultlibs \
	-Wl,+h,@@shlib_base_name@@.so.0 \
	-o @@multilib_dir@@/@@shlib_base_name@@.so @@multilib_flags@@ \
	@@shlib_objs@@ -lunwind -lc && \
	rm -f @@multilib_dir@@/@@shlib_base_name@@.so.0 && \
	$(LN_S) @@shlib_base_name@@.so @@multilib_dir@@/@@shlib_base_name@@.so.0
# $(slibdir) double quoted to protect it from expansion while building
# libgcc.mk.  We want this delayed until actual install time.
SHLIB_INSTALL = \
        $$(mkinstalldirs) $$(DESTDIR)$$(slibdir)@@shlib_slibdir_qual@@; \
	$(INSTALL_DATA) @@multilib_dir@@/@@shlib_base_name@@.so \
	$$(DESTDIR)$$(slibdir)@@shlib_slibdir_qual@@/@@shlib_base_name@@.so.0; \
	rm -f $$(DESTDIR)$$(slibdir)@@shlib_slibdir_qual@@/@@shlib_base_name@@.so; \
	$(LN_S) @@shlib_base_name@@.so.0 \
	$$(DESTDIR)$$(slibdir)@@shlib_slibdir_qual@@/@@shlib_base_name@@.so; \
	chmod +x $$(DESTDIR)$$(slibdir)@@shlib_slibdir_qual@@/@@shlib_base_name@@.so

SHLIB_MKMAP = $(srcdir)/mkmap-flat.awk
@


