bd7319c0d8
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 |
||
---|---|---|
.. | ||
__vdso_gettc.c | ||
amd64_get_fsbase.c | ||
amd64_get_gsbase.c | ||
amd64_set_fsbase.c | ||
amd64_set_gsbase.c | ||
brk.S | ||
cerror.S | ||
exect.S | ||
getcontext.S | ||
Makefile.inc | ||
pipe.S | ||
ptrace.S | ||
reboot.S | ||
sbrk.S | ||
setlogin.S | ||
sigreturn.S | ||
vfork.S |