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" \
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to