1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-19 02:29:40 +00:00

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
This commit is contained in:
Ed Maste 2016-04-14 16:32:27 +00:00
parent 820d50e549
commit 7481f0978a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=297973
3 changed files with 3 additions and 0 deletions

View File

@ -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)

View File

@ -29,6 +29,7 @@
__FBSDID("$FreeBSD$");
ENTRY(cerror)
.hidden cerror
sub sp, sp, #16
stp x0, lr, [sp]
bl _C_LABEL(__error)

View File

@ -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)