summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2014-01-22 01:35:30 +0000
committerpfg <pfg@FreeBSD.org>2014-01-22 01:35:30 +0000
commitf3048e2672615cc780fea8ff300ccbf9ed3c801b (patch)
tree365a7f9d6a11058921129d1e770dcccc27059c54 /gnu
parenta3e74b51d9fd29d55b9155398ed71a77b2d7d9e6 (diff)
downloadFreeBSD-src-f3048e2672615cc780fea8ff300ccbf9ed3c801b.zip
FreeBSD-src-f3048e2672615cc780fea8ff300ccbf9ed3c801b.tar.gz
MFC r260874:
gcc: fix libgcc by adding the bswap builtins for all platforms. This change was missing from r258428 which attempted to add the bswap builtins to gcc. The change is also missing from the patch in gnu/155309. Found by: marcel
Diffstat (limited to 'gnu')
-rw-r--r--gnu/lib/libgcc/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/gnu/lib/libgcc/Makefile b/gnu/lib/libgcc/Makefile
index d9521d4..7b2b505 100644
--- a/gnu/lib/libgcc/Makefile
+++ b/gnu/lib/libgcc/Makefile
@@ -34,9 +34,9 @@ OBJS= # added to below in various ways depending on TARGET_CPUARCH
#---------------------------------------------------------------------------
#
-# When upgrading GCC, get the following defintions straight from Makefile.in
-#
# Library members defined in libgcc2.c.
+# When upgrading GCC, obtain the following list from mklibgcc.in
+#
LIB2FUNCS= _muldi3 _negdi2 _lshrdi3 _ashldi3 _ashrdi3 \
_cmpdi2 _ucmpdi2 \
_enable_execute_stack _trampoline __main _absvsi2 _absvdi2 _addvsi3 \
@@ -44,7 +44,7 @@ LIB2FUNCS= _muldi3 _negdi2 _lshrdi3 _ashldi3 _ashrdi3 \
_ffssi2 _ffsdi2 _clz _clzsi2 _clzdi2 _ctzsi2 _ctzdi2 _popcount_tab \
_popcountsi2 _popcountdi2 _paritysi2 _paritydi2 _powisf2 _powidf2 \
_powixf2 _powitf2 _mulsc3 _muldc3 _mulxc3 _multc3 _divsc3 _divdc3 \
- _divxc3 _divtc3
+ _divxc3 _divtc3 _bswapsi2 _bswapdi2
.if ${COMPILER_TYPE} != "clang" || ${TARGET_CPUARCH} != "arm"
LIB2FUNCS+= _clear_cache
.endif
OpenPOWER on IntegriCloud