Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jan 2014 01:35:30 +0000 (UTC)
From:      "Pedro F. Giffuni" <pfg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r260998 - stable/10/gnu/lib/libgcc
Message-ID:  <201401220135.s0M1ZUUY077612@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pfg
Date: Wed Jan 22 01:35:30 2014
New Revision: 260998
URL: http://svnweb.freebsd.org/changeset/base/260998

Log:
  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

Modified:
  stable/10/gnu/lib/libgcc/Makefile

Modified: stable/10/gnu/lib/libgcc/Makefile
==============================================================================
--- stable/10/gnu/lib/libgcc/Makefile	Tue Jan 21 23:45:31 2014	(r260997)
+++ stable/10/gnu/lib/libgcc/Makefile	Wed Jan 22 01:35:30 2014	(r260998)
@@ -34,9 +34,9 @@ OBJS=		# added to below in various ways 
 
 #---------------------------------------------------------------------------
 #
-# 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 _ash
 	_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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401220135.s0M1ZUUY077612>