svn commit: r313823 - head/contrib/compiler-rt/lib/builtins

Dimitry Andric dim at FreeBSD.org
Thu Feb 16 21:03:45 UTC 2017


Author: dim
Date: Thu Feb 16 21:03:43 2017
New Revision: 313823
URL: https://svnweb.freebsd.org/changeset/base/313823

Log:
  Pull in r285478 from upstream compiler-rt trunk (by Saleem Abdulrasool):
  
    build: give aliases the same visibility
  
    ARM EABI also uses function aliases.  Ensure that those aliased
    functions are given proper visibility annotations.
  
  Reported by:	mmel
  MFC after:	3 days
  Differential Revision:	https://reviews.freebsd.org/D9633

Modified:
  head/contrib/compiler-rt/lib/builtins/assembly.h

Modified: head/contrib/compiler-rt/lib/builtins/assembly.h
==============================================================================
--- head/contrib/compiler-rt/lib/builtins/assembly.h	Thu Feb 16 20:50:01 2017	(r313822)
+++ head/contrib/compiler-rt/lib/builtins/assembly.h	Thu Feb 16 21:03:43 2017	(r313823)
@@ -149,6 +149,7 @@
 #define DEFINE_COMPILERRT_FUNCTION_ALIAS(name, target)                         \
   .globl SYMBOL_NAME(name) SEPARATOR                                           \
   SYMBOL_IS_FUNC(SYMBOL_NAME(name)) SEPARATOR                                  \
+  DECLARE_SYMBOL_VISIBILITY(SYMBOL_NAME(name)) SEPARATOR                       \
   .set SYMBOL_NAME(name), SYMBOL_NAME(target) SEPARATOR
 
 #if defined(__ARM_EABI__)


More information about the svn-src-head mailing list