svn commit: r234708 - stable/9/sys/powerpc/include
Nathan Whitehorn
nwhitehorn at FreeBSD.org
Thu Apr 26 14:02:40 UTC 2012
Author: nwhitehorn
Date: Thu Apr 26 14:02:39 2012
New Revision: 234708
URL: http://svn.freebsd.org/changeset/base/234708
Log:
MFC r234615:
Fix copy-and-paste error in r230400 that would cause ppc64 executables
built with -fvisibility=hidden to fail to link with a message about
hidden symbol main being referenced from a DSO.
Modified:
stable/9/sys/powerpc/include/profile.h
Directory Properties:
stable/9/sys/ (props changed)
Modified: stable/9/sys/powerpc/include/profile.h
==============================================================================
--- stable/9/sys/powerpc/include/profile.h Thu Apr 26 14:00:29 2012 (r234707)
+++ stable/9/sys/powerpc/include/profile.h Thu Apr 26 14:02:39 2012 (r234708)
@@ -85,7 +85,7 @@ __asm( " .text \n" \
"_mcount: \n" \
" .quad .L._mcount,.TOC. at tocbase,0\n" \
" .previous \n" \
- " .size main,24 \n" \
+ " .size _mcount,24 \n" \
" .type _mcount, at function \n" \
" .align 4 \n" \
".L._mcount: \n" \
More information about the svn-src-all
mailing list