Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Apr 2012 14:02:39 +0000 (UTC)
From:      Nathan Whitehorn <nwhitehorn@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r234708 - stable/9/sys/powerpc/include
Message-ID:  <201204261402.q3QE2dtv052071@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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.@tocbase,0\n" \
 	"	.previous			\n" \
-	"	.size   main,24			\n" \
+	"	.size   _mcount,24		\n" \
 	"	.type	_mcount,@function	\n" \
 	"	.align	4			\n" \
 	".L._mcount:				\n" \



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