freebsd-dev/lib/libc/amd64/sys
Jilles Tjoelker 5ac7ffcc38 libc/amd64: Do not export .cerror.
For some reason, libc exports the symbol .cerror (HIDENAME(cerror)), albeit
in the FBSDprivate_1.0 version. It looks like there is no reason for this
since it is not used from other libraries. Given that it cannot be accessed
from C and its strange calling convention, it is rather unlikely that other
things rely on it. Perhaps it is from a time when symbols could not be
hidden.

Most of the amd64 assembler code jumps to .cerror using the GOT. It can jump
to it directly now, as in non-PIC mode.

There are also some minor size optimizations to instructions but they yield
virtually no benefit in the size of libc.so.7 due to padding.

Reviewed by:	kib
2012-09-06 20:59:49 +00:00
..
__vdso_gettc.c Use struct vdso_timehands data to implement fast gettimeofday(2) and 2012-06-22 07:13:30 +00:00
amd64_get_fsbase.c
amd64_get_gsbase.c
amd64_set_fsbase.c
amd64_set_gsbase.c
brk.S libc/amd64: Do not export .cerror. 2012-09-06 20:59:49 +00:00
cerror.S Add section .note.GNU-stack for assembly files used by 386 and amd64. 2011-01-07 16:08:40 +00:00
exect.S libc/amd64: Do not export .cerror. 2012-09-06 20:59:49 +00:00
getcontext.S libc/amd64: Do not export .cerror. 2012-09-06 20:59:49 +00:00
Makefile.inc Use struct vdso_timehands data to implement fast gettimeofday(2) and 2012-06-22 07:13:30 +00:00
pipe.S libc/amd64: Do not export .cerror. 2012-09-06 20:59:49 +00:00
ptrace.S libc/amd64: Do not export .cerror. 2012-09-06 20:59:49 +00:00
reboot.S libc/amd64: Do not export .cerror. 2012-09-06 20:59:49 +00:00
sbrk.S libc/amd64: Do not export .cerror. 2012-09-06 20:59:49 +00:00
setlogin.S libc/amd64: Do not export .cerror. 2012-09-06 20:59:49 +00:00
sigreturn.S Add section .note.GNU-stack for assembly files used by 386 and amd64. 2011-01-07 16:08:40 +00:00
vfork.S libc/amd64: Do not export .cerror. 2012-09-06 20:59:49 +00:00