Author: emaste
Date: Thu Apr 14 16:32:27 2016
New Revision: 297973
URL: https://svnweb.freebsd.org/changeset/base/297973

Log:
  arm64 libc: hide .cerror, .curbrk, .minbrk for WITHOUT_SYMVER
  
  When symver is in use these are hidden because they're not listed in
  the Symbol.map. Add an explicit .hidden so they are also hidden in the
  WITHOUT_SYMVER case.
  
  Reviewed by:  andrew
  Sponsored by: The FreeBSD Foundation
  Differential Revision:        https://reviews.freebsd.org/D5775

Modified:
  head/lib/libc/aarch64/sys/brk.S
  head/lib/libc/aarch64/sys/cerror.S
  head/lib/libc/aarch64/sys/sbrk.S

Modified: head/lib/libc/aarch64/sys/brk.S
==============================================================================
--- head/lib/libc/aarch64/sys/brk.S     Thu Apr 14 15:52:11 2016        
(r297972)
+++ head/lib/libc/aarch64/sys/brk.S     Thu Apr 14 16:32:27 2016        
(r297973)
@@ -37,6 +37,7 @@ __FBSDID("$FreeBSD$");
        .data
        .align  3
        .globl  _C_LABEL(minbrk)
+       .hidden _C_LABEL(minbrk)
        .type   _C_LABEL(minbrk),#object
 _C_LABEL(minbrk):
        .quad   _C_LABEL(_end)

Modified: head/lib/libc/aarch64/sys/cerror.S
==============================================================================
--- head/lib/libc/aarch64/sys/cerror.S  Thu Apr 14 15:52:11 2016        
(r297972)
+++ head/lib/libc/aarch64/sys/cerror.S  Thu Apr 14 16:32:27 2016        
(r297973)
@@ -29,6 +29,7 @@
 __FBSDID("$FreeBSD$");
 
 ENTRY(cerror)
+       .hidden cerror
        sub     sp, sp, #16
        stp     x0, lr, [sp]
        bl      _C_LABEL(__error)

Modified: head/lib/libc/aarch64/sys/sbrk.S
==============================================================================
--- head/lib/libc/aarch64/sys/sbrk.S    Thu Apr 14 15:52:11 2016        
(r297972)
+++ head/lib/libc/aarch64/sys/sbrk.S    Thu Apr 14 16:32:27 2016        
(r297973)
@@ -37,6 +37,7 @@ __FBSDID("$FreeBSD$");
        .data
        .align  3
        .global _C_LABEL(curbrk)
+       .hidden _C_LABEL(curbrk)
        .type   _C_LABEL(curbrk),#object
 _C_LABEL(curbrk):
        .quad   _C_LABEL(_end)
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to