diff options
author | emaste <emaste@FreeBSD.org> | 2016-04-14 16:32:27 +0000 |
---|---|---|
committer | emaste <emaste@FreeBSD.org> | 2016-04-14 16:32:27 +0000 |
commit | 94e6d1386a1f0390924a9d0b3c9dde18df2eb3c1 (patch) | |
tree | 7ba6ab1a745cd1612477041f21de3ddf9fec5635 /lib/libc | |
parent | 6d190b5b3dd19ac835a89cb86d32e818f7633e87 (diff) | |
download | FreeBSD-src-94e6d1386a1f0390924a9d0b3c9dde18df2eb3c1.zip FreeBSD-src-94e6d1386a1f0390924a9d0b3c9dde18df2eb3c1.tar.gz |
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
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/aarch64/sys/brk.S | 1 | ||||
-rw-r--r-- | lib/libc/aarch64/sys/cerror.S | 1 | ||||
-rw-r--r-- | lib/libc/aarch64/sys/sbrk.S | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/lib/libc/aarch64/sys/brk.S b/lib/libc/aarch64/sys/brk.S index 1e9a215..c403b43 100644 --- a/lib/libc/aarch64/sys/brk.S +++ b/lib/libc/aarch64/sys/brk.S @@ -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) diff --git a/lib/libc/aarch64/sys/cerror.S b/lib/libc/aarch64/sys/cerror.S index 26c61bc..9d87275 100644 --- a/lib/libc/aarch64/sys/cerror.S +++ b/lib/libc/aarch64/sys/cerror.S @@ -29,6 +29,7 @@ __FBSDID("$FreeBSD$"); ENTRY(cerror) + .hidden cerror sub sp, sp, #16 stp x0, lr, [sp] bl _C_LABEL(__error) diff --git a/lib/libc/aarch64/sys/sbrk.S b/lib/libc/aarch64/sys/sbrk.S index 4880cc2..87b82d4 100644 --- a/lib/libc/aarch64/sys/sbrk.S +++ b/lib/libc/aarch64/sys/sbrk.S @@ -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) |