head	1.23;
access;
symbols
	RELENG_9_1_0_RELEASE:1.8.2.4.2.2
	RELENG_9_1:1.8.2.4.0.2
	RELENG_9_1_BP:1.8.2.4
	RELENG_9_0_0_RELEASE:1.8.2.1.2.1
	RELENG_9_0:1.8.2.1.0.2
	RELENG_9_0_BP:1.8.2.1
	RELENG_9:1.8.0.2
	RELENG_9_BP:1.8;
locks; strict;
comment	@# @;


1.23
date	2013.06.16.00.36.05;	author svnexp;	state Exp;
branches;
next	1.22;

1.22
date	2013.06.16.00.32.23;	author svnexp;	state Exp;
branches;
next	1.21;

1.21
date	2013.06.09.00.31.25;	author svnexp;	state Exp;
branches;
next	1.20;

1.20
date	2013.05.31.00.30.48;	author svnexp;	state Exp;
branches;
next	1.19;

1.19
date	2013.04.28.00.27.50;	author svnexp;	state Exp;
branches;
next	1.18;

1.18
date	2013.04.21.00.46.56;	author svnexp;	state Exp;
branches;
next	1.17;

1.17
date	2013.02.06.00.45.55;	author svnexp;	state Exp;
branches;
next	1.16;

1.16
date	2013.01.20.00.38.23;	author svnexp;	state Exp;
branches;
next	1.15;

1.15
date	2013.01.20.00.33.37;	author svnexp;	state Exp;
branches;
next	1.14;

1.14
date	2013.01.20.00.29.35;	author svnexp;	state Exp;
branches;
next	1.13;

1.13
date	2012.12.18.07.29.16;	author svnexp;	state Exp;
branches;
next	1.12;

1.12
date	2012.11.17.01.49.47;	author svnexp;	state Exp;
branches;
next	1.11;

1.11
date	2012.05.15.22.47.34;	author marius;	state Exp;
branches;
next	1.10;

1.10
date	2011.12.31.19.01.48;	author ed;	state Exp;
branches;
next	1.9;

1.9
date	2011.12.27.22.13.51;	author ed;	state Exp;
branches;
next	1.8;

1.8
date	2011.06.03.17.49.16;	author ed;	state Exp;
branches
	1.8.2.1;
next	1.7;

1.7
date	2011.01.14.11.23.39;	author kib;	state Exp;
branches;
next	1.6;

1.6
date	2011.01.07.15.59.23;	author kib;	state Exp;
branches;
next	1.5;

1.5
date	2011.01.07.14.35.45;	author kib;	state Exp;
branches;
next	1.4;

1.4
date	2010.12.29.17.12.05;	author kan;	state Exp;
branches;
next	1.3;

1.3
date	2010.11.12.15.52.27;	author ed;	state Exp;
branches;
next	1.2;

1.2
date	2010.11.11.16.53.25;	author ed;	state Exp;
branches;
next	1.1;

1.1
date	2010.11.11.15.13.11;	author ed;	state Exp;
branches;
next	;

1.8.2.1
date	2011.09.23.00.51.37;	author kensmith;	state Exp;
branches
	1.8.2.1.2.1;
next	1.8.2.2;

1.8.2.2
date	2012.05.25.17.20.00;	author marius;	state Exp;
branches;
next	1.8.2.3;

1.8.2.3
date	2012.05.25.17.48.45;	author marius;	state Exp;
branches;
next	1.8.2.4;

1.8.2.4
date	2012.05.25.17.50.50;	author marius;	state Exp;
branches
	1.8.2.4.2.1;
next	1.8.2.5;

1.8.2.5
date	2012.11.17.11.36.22;	author svnexp;	state Exp;
branches;
next	;

1.8.2.1.2.1
date	2011.11.11.04.20.22;	author kensmith;	state Exp;
branches;
next	1.8.2.1.2.2;

1.8.2.1.2.2
date	2012.11.17.08.36.23;	author svnexp;	state Exp;
branches;
next	;

1.8.2.4.2.1
date	2012.08.05.23.54.33;	author kensmith;	state Exp;
branches;
next	1.8.2.4.2.2;

1.8.2.4.2.2
date	2012.11.17.08.47.12;	author svnexp;	state Exp;
branches;
next	;


desc
@@


1.23
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/251791
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# $FreeBSD: head/lib/libcompiler_rt/Makefile 251791 2013-06-15 12:16:27Z andrew $

.include <bsd.own.mk>

LIB=	compiler_rt
NO_PIC=
WARNS?=	2

CFLAGS+=${PICFLAG} -fvisibility=hidden -DVISIBILITY_HIDDEN

.if ${MACHINE_CPUARCH} == "amd64"
CRTARCH=x86_64
.else
CRTARCH=${MACHINE_CPUARCH}
.endif

CRTSRC=${.CURDIR}/../../contrib/compiler-rt/lib

.PATH: ${CRTSRC}/${CRTARCH} ${CRTSRC}

SRCF=	absvdi2 \
	absvsi2 \
	absvti2 \
	addvdi3 \
	addvsi3 \
	addvti3 \
	ashldi3 \
	ashlti3 \
	ashrdi3 \
	ashrti3 \
	clear_cache \
	clzdi2 \
	clzsi2 \
	clzti2 \
	cmpdi2 \
	cmpti2 \
	comparedf2 \
	comparesf2 \
	ctzdi2 \
	ctzsi2 \
	ctzti2 \
	divdc3 \
	divdi3 \
	divmoddi4 \
	divmodsi4 \
	divsc3 \
	divti3 \
	divxc3 \
	enable_execute_stack \
	eprintf \
	ffsdi2 \
	ffsti2 \
	fixdfdi \
	fixdfti \
	fixsfdi \
	fixsfti \
	fixunsdfdi \
	fixunsdfsi \
	fixunsdfti \
	fixunssfdi \
	fixunssfsi \
	fixunssfti \
	fixunsxfdi \
	fixunsxfsi \
	fixunsxfti \
	fixxfdi \
	fixxfti \
	floatdidf \
	floatdisf \
	floatdixf \
	floattidf \
	floattisf \
	floattixf \
	floatundidf \
	floatundisf \
	floatundixf \
	floatunsidf \
	floatunsisf \
	floatuntidf \
	floatuntisf \
	floatuntixf \
	int_util \
	lshrdi3 \
	lshrti3 \
	moddi3 \
	modti3 \
	muldc3 \
	muldi3 \
	mulodi4 \
	mulosi4 \
	muloti4 \
	mulsc3 \
	multi3 \
	mulvdi3 \
	mulvsi3 \
	mulvti3 \
	mulxc3 \
	negdf2 \
	negdi2 \
	negsf2 \
	negti2 \
	negvdi2 \
	negvsi2 \
	negvti2 \
	paritydi2 \
	paritysi2 \
	parityti2 \
	popcountdi2 \
	popcountsi2 \
	popcountti2 \
	powidf2 \
	powisf2 \
	powitf2 \
	powixf2 \
	subvdi3 \
	subvsi3 \
	subvti3 \
	trampoline_setup \
	ucmpdi2 \
	ucmpti2 \
	udivdi3 \
	udivmoddi4 \
	udivmodsi4 \
	udivmodti4 \
	udivti3 \
	umoddi3 \
	umodti3

# These are already shipped by libc.a on arm and mips
.if ${MACHINE_CPUARCH} != "arm" && ${MACHINE_CPUARCH} != "mips"
SRCF+=	adddf3 \
	addsf3 \
	divdf3 \
	divsf3 \
	extendsfdf2 \
	fixdfsi \
	fixsfsi \
	floatsidf \
	floatsisf \
	muldf3 \
	mulsf3 \
	subdf3 \
	subsf3 \
	truncdfsf2
.endif

.if ${MACHINE_CPUARCH} != "mips" && \
    (${MACHINE_CPUARCH} != "arm" || ${MK_ARM_EABI} != "no")
SRCF+=	divsi3 \
	modsi3 \
	udivsi3 \
	umodsi3
.endif

# FreeBSD-specific atomic intrinsics.
.if ${MACHINE_CPUARCH} == "arm"
.PATH: ${.CURDIR}/../../sys/arm/arm

SRCF+=	stdatomic
.elif ${MACHINE_CPUARCH} == "mips"
.PATH: ${.CURDIR}/../../sys/mips/mips

SRCF+=	stdatomic
.endif

.for file in ${SRCF}
. if ${MACHINE_CPUARCH} != "arm" && exists(${CRTSRC}/${CRTARCH}/${file}.S)
SRCS+=	${file}.S
. else
SRCS+=	${file}.c
. endif
.endfor

.if ${MACHINE_CPUARCH} == "arm" && ${MK_ARM_EABI} != "no"
SRCS+=	aeabi_idivmod.S \
	aeabi_ldivmod.S \
	aeabi_memcmp.S \
	aeabi_memcpy.S \
	aeabi_memmove.S \
	aeabi_memset.S \
	aeabi_uidivmod.S \
	aeabi_uldivmod.S
.endif

.if ${MK_INSTALLLIB} != "no"
SYMLINKS+=libcompiler_rt.a ${LIBDIR}/libgcc.a
.endif
.if ${MK_PROFILE} != "no"
SYMLINKS+=libcompiler_rt_p.a ${LIBDIR}/libgcc_p.a
.endif

.if ${MACHINE_CPUARCH} == "amd64" || ${MACHINE_CPUARCH} == "i386" || \
    ${MACHINE_CPUARCH} == "powerpc"
AFLAGS+=--noexecstack
ACFLAGS+=-Wa,--noexecstack
.endif


.include <bsd.lib.mk>
@


1.22
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/251784
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d1 1
a1 1
# $FreeBSD: head/lib/libcompiler_rt/Makefile 251784 2013-06-15 09:04:10Z ed $
d31 1
a128 5
# Don't build clear_cache on ARM with clang as it is a builtin there.
.if ${MACHINE_CPUARCH} != "arm" || ${COMPILER_TYPE} != "clang"
SRCF+=	clear_cache
.endif

@


1.21
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/251525
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d1 1
a1 1
# $FreeBSD: head/lib/libcompiler_rt/Makefile 251525 2013-06-08 13:22:53Z ed $
d161 3
a163 8
SRCF+=	__sync_fetch_and_add_4 \
	__sync_fetch_and_and_4 \
	__sync_fetch_and_or_4 \
	__sync_fetch_and_sub_4 \
	__sync_fetch_and_xor_4 \
	__sync_lock_test_and_set_4 \
	__sync_synchronize \
	__sync_val_compare_and_swap_4
@


1.20
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/251124
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d1 1
a1 1
# $FreeBSD: head/lib/libcompiler_rt/Makefile 251124 2013-05-30 06:20:50Z ed $
d160 1
a160 1
.if ${MACHINE_CPUARCH} == "arm" || ${MACHINE_CPUARCH} == "mips"
d169 4
a172 9
.endif
.if ${MACHINE_ARCH:Mmips64*} != ""
SRCF+=	__sync_fetch_and_add_8 \
	__sync_fetch_and_and_8 \
	__sync_fetch_and_or_8 \
	__sync_fetch_and_sub_8 \
	__sync_fetch_and_xor_8 \
	__sync_lock_test_and_set_8 \
	__sync_val_compare_and_swap_8
@


1.19
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/249968
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d1 1
a1 1
# $FreeBSD: head/lib/libcompiler_rt/Makefile 249968 2013-04-27 04:56:02Z ed $
d167 1
@


1.18
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/249702
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d1 1
a1 1
# $FreeBSD: head/lib/libcompiler_rt/Makefile 249702 2013-04-20 14:44:28Z ed $
d159 2
a160 3
# FreeBSD-specific atomic intrinsics. Clang provides them as a builtin.
.if (${MACHINE_CPUARCH} == "arm" && ${COMPILER_TYPE} != "clang") || \
    ${MACHINE_CPUARCH} == "mips"
@


1.17
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/246372
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d1 1
a1 1
# $FreeBSD: head/lib/libcompiler_rt/Makefile 246372 2013-02-06 00:01:28Z andrew $
d199 1
a199 2
.if ${MACHINE_CPUARCH} != "mips"
. if ${MK_INSTALLLIB} != "no"
d201 2
a202 2
. endif
. if ${MK_PROFILE} != "no"
a203 1
. endif
@


1.16
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/245651
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d1 1
a1 1
# $FreeBSD: head/lib/libcompiler_rt/Makefile 245651 2013-01-19 04:11:45Z andrew $
d191 4
@


1.15
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/245649
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d1 1
a1 1
# $FreeBSD: head/lib/libcompiler_rt/Makefile 245649 2013-01-19 03:47:18Z andrew $
a138 1
	divsi3 \
a143 1
	modsi3 \
d148 7
a154 1
	truncdfsf2 \
@


1.14
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/245643
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d1 1
a1 1
# $FreeBSD: head/lib/libcompiler_rt/Makefile 245643 2013-01-19 02:28:44Z andrew $
d185 1
a185 1
SRCS+= aeabi_idivmod.S \
@


1.13
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/244382
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d1 1
a1 1
# $FreeBSD: head/lib/libcompiler_rt/Makefile 244382 2012-12-18 07:26:55Z andrew $
d184 7
@


1.12
log
@Switching exporter and resync
@
text
@d1 1
a1 1
# $FreeBSD: head/lib/libcompiler_rt/Makefile 235487 2012-05-15 22:47:34Z marius $
a30 1
	clear_cache \
d128 5
d155 3
a157 2
# FreeBSD-specific atomic intrinsics.
.if ${MACHINE_CPUARCH} == "arm" || ${MACHINE_CPUARCH} == "mips"
@


1.11
log
@SVN rev 235487 on 2012-05-15 22:47:34Z by marius

Switch sparc64 to using libcompiler_rt; since r230021 we have a workaround
in place allowing it to be used there and since r235388 (see also r235486)
we also have usable div/mod optimizations like libgcc has.
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.10
log
@SVN rev 229135 on 2011-12-31 19:01:48Z by ed

Upgrade libcompiler_rt to upstream revision 147390.

This version of libcompiler_rt adds support for __mulo[sdt]i4(), which
computes a multiply and its overflow flag. There are also a lot of
cleanup fixes to headers that don't really affect us.

Updating to this revision should make it a bit easier to contribute
changes back to the LLVM developers.
@
text
@d179 1
a179 1
.if ${MACHINE_CPUARCH} != "sparc64" && ${MACHINE_CPUARCH} != "mips"
@


1.9
log
@SVN rev 228919 on 2011-12-27 22:13:51Z by ed

Add locally implemented atomic intrinsics to libcompiler_rt.

The built-in atomic operations are not implemented in our version of GCC
4.2 for the ARM and MIPS architectures. Instead of emitting locked
instructions, they generate calls to functions that can be implemented
in the C runtime.

Only implement the atomic operations that are used by <stdatomic.h> for
datatype sizes that are supported by atomic(9). This means that on these
architectures, we can only use atomic operations on 32-bits and 64-bits
variables, which is typically sufficient.

This makes <stdatomic.h> work on all architectures except MIPS, since
MIPS and SPARC64 still use libgcc. Converting these architectures to
libcompiler_rt is on my todo list.
@
text
@d82 1
d89 3
@


1.8
log
@SVN rev 222656 on 2011-06-03 17:49:16Z by ed

Upgrade libcompiler_rt from revision 117047 to 132478.

It seems there have only been a small amount to the compiler-rt source
code in the mean time. I'd rather have the code in sync as much as
possible by the time we release 9.0. Changes:

- The libcompiler_rt library is now dual licensed under both the
  University of Illinois "BSD-Like" license and the MIT license.

- Our local modifications for using .hidden instead of .private_extern
  have been upstreamed, meaning our changes to lib/assembly.h can now be
  reverted.

- A possible endless recursion in __modsi3() has been fixed.

- Support for ARM EABI has been added, but it has no effect on FreeBSD
  (yet).

- The functions __udivmodsi4 and __divmodsi4 have been added.

Requested by:	many, including bf@@ and Pedro Giffuni
@
text
@d147 20
@


1.8.2.1
log
@SVN rev 225736 on 2011-09-23 00:51:37Z by kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.8.2.2
log
@SVN rev 236014 on 2012-05-25 17:20:00Z by marius

MFC: r235487

Switch sparc64 to using libcompiler_rt; since r230021 (MFC'ed to stable/9 in
r236012) we have a workaround in place allowing it to be used there and since
r235388 (MFC'ed to stable/9 in r236002) we also have usable div/mod
optimizations like libgcc has.
@
text
@d155 1
a155 1
.if ${MACHINE_CPUARCH} != "mips"
@


1.8.2.3
log
@SVN rev 236015 on 2012-05-25 17:48:45Z by marius

MFC: r229135

Upgrade libcompiler_rt to upstream revision 147390.

This version of libcompiler_rt adds support for __mulo[sdt]i4(), which
computes a multiply and its overflow flag. There are also a lot of
cleanup fixes to headers that don't really affect us.

Updating to this revision should make it a bit easier to contribute
changes back to the LLVM developers.
@
text
@a81 1
	int_util \
a87 3
	mulodi4 \
	mulosi4 \
	muloti4 \
@


1.8.2.4
log
@SVN rev 236016 on 2012-05-25 17:50:50Z by marius

MFC: r228919

Add locally implemented atomic intrinsics to libcompiler_rt.

The built-in atomic operations are not implemented in our version of GCC
4.2 for the ARM and MIPS architectures. Instead of emitting locked
instructions, they generate calls to functions that can be implemented
in the C runtime.

Only implement the atomic operations that are used by <stdatomic.h> for
datatype sizes that are supported by atomic(9). This means that on these
architectures, we can only use atomic operations on 32-bits and 64-bits
variables, which is typically sufficient.

This makes <stdatomic.h> work on all architectures except MIPS, since
MIPS still uses libgcc.
@
text
@a150 20
# FreeBSD-specific atomic intrinsics.
.if ${MACHINE_CPUARCH} == "arm" || ${MACHINE_CPUARCH} == "mips"
SRCF+=	__sync_fetch_and_add_4 \
	__sync_fetch_and_and_4 \
	__sync_fetch_and_or_4 \
	__sync_fetch_and_sub_4 \
	__sync_fetch_and_xor_4 \
	__sync_lock_test_and_set_4 \
	__sync_val_compare_and_swap_4
.endif
.if ${MACHINE_ARCH:Mmips64*} != ""
SRCF+=	__sync_fetch_and_add_8 \
	__sync_fetch_and_and_8 \
	__sync_fetch_and_or_8 \
	__sync_fetch_and_sub_8 \
	__sync_fetch_and_xor_8 \
	__sync_lock_test_and_set_8 \
	__sync_val_compare_and_swap_8
.endif

@


1.8.2.5
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242902
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242902 | dteske | 2012-11-11 23:29:45 +0000 (Sun, 11 Nov 2012) | 10 lines
## SVN ##
## SVN ## Fix a regression introduced by SVN r211417 that saw the breakage of a feature
## SVN ## documented in usr.sbin/sysinstall/help/shortcuts.hlp (reproduced below):
## SVN ##
## SVN ## If /usr/sbin/sysinstall is linked to another filename, say
## SVN ## `/usr/local/bin/configPackages', then the basename will be used
## SVN ## as an implicit command name.
## SVN ##
## SVN ## Reviewed by:	adrian (co-mentor)
## SVN ## Approved by:	adrian (co-mentor)
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d1 1
a1 1
# $FreeBSD: stable/9/lib/libcompiler_rt/Makefile 236016 2012-05-25 17:50:50Z marius $
@


1.8.2.4.2.1
log
@SVN rev 239080 on 2012-08-05 23:54:33Z by kensmith

Copy stable/9 to releng/9.1 as part of the 9.1-RELEASE release process.

Approved by:	re (implicit)
@
text
@@


1.8.2.4.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/9.1/lib/libcompiler_rt/Makefile 236016 2012-05-25 17:50:50Z marius $
@


1.8.2.1.2.1
log
@SVN rev 227445 on 2011-11-11 04:20:22Z by kensmith

Copy stable/9 to releng/9.0 as part of the FreeBSD 9.0-RELEASE release
cycle.

Approved by:	re (implicit)
@
text
@@


1.8.2.1.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/9.0/lib/libcompiler_rt/Makefile 222656 2011-06-03 17:49:16Z ed $
@


1.7
log
@SVN rev 217393 on 2011-01-14 11:23:39Z by kib

Mark libcompiler_rt as not needed executable stack on powerpc.

Reviewed and tested by:	nwhitehorn
@
text
@d44 2
d119 1
d140 2
@


1.6
log
@SVN rev 217102 on 2011-01-07 15:59:23Z by kib

Fix braino in r217101. -Wa is used to supply assembler flag to cc driver.

Noted by:	Anonymous <swell.k gmail com>
@
text
@d159 2
a160 1
.if ${MACHINE_CPUARCH} == "amd64" || ${MACHINE_CPUARCH} == "i386"
@


1.5
log
@SVN rev 217101 on 2011-01-07 14:35:45Z by kib

On amd64 and i386, force assembler to mark objects compiled from the
assembler source for libcompiler_rt as not needed executable stack. This
is done with a hammer instead of properly marking each assembly file
with section .note.GNU-stack to avoid modifying contributed source.

Discussed with:	ed
@
text
@d161 1
a161 1
ACFLAGS+=-Wl,a,--noexecstack
@


1.4
log
@SVN rev 216804 on 2010-12-29 17:12:05Z by kan

Switch mips architectures back to libgcc.

MIPS64 n64 binaries are broken with libcompiler_rt at this time.
Switch mips back to libgcc until the cause of breakage is analyzed
and fixed.
@
text
@d159 6
@


1.3
log
@SVN rev 215185 on 2010-11-12 15:52:27Z by ed

Revert to libgcc for sparc64.

I've had a report of a sparc64 system where cc1 generates illegal
instructions. We still have to diagnose this properly, but instead of
hosing all sparc64 boxes out there, fall back to libgcc to prevent more
damage.

Reported by:	Florian Smeets
@
text
@d150 1
a150 1
.if ${MACHINE_CPUARCH} != "sparc64"
@


1.2
log
@SVN rev 215129 on 2010-11-11 16:53:25Z by ed

Set symbol visibility to hidden.

Not doing so may cause all sorts of random libraries to expose
libcompiler_rt's functions, which should of course not be done.

Discussed with:	kan, kib
@
text
@d150 2
a151 1
.if ${MK_INSTALLLIB} != "no"
d153 2
a154 2
.endif
.if ${MK_PROFILE} != "no"
d156 1
@


1.1
log
@SVN rev 215125 on 2010-11-11 15:13:11Z by ed

Import libcompiler_rt into HEAD and add Makefiles.

Obtained from:	user/ed/compiler-rt
@
text
@d9 1
a9 1
CFLAGS+=${PICFLAG}
@

