diff options
author | jilles <jilles@FreeBSD.org> | 2012-09-06 20:59:49 +0000 |
---|---|---|
committer | jilles <jilles@FreeBSD.org> | 2012-09-06 20:59:49 +0000 |
commit | bd7319c0d8e9fd3f2becfb5f5c255627f777b178 (patch) | |
tree | 52129e8c46adddfb2fbbbad68f2b439bbbed0bec /lib/libc/stdio/fputwc.c | |
parent | 0bc0a2586ce9caa8fbee0c1f134bff3f6dec4f15 (diff) | |
download | FreeBSD-src-bd7319c0d8e9fd3f2becfb5f5c255627f777b178.zip FreeBSD-src-bd7319c0d8e9fd3f2becfb5f5c255627f777b178.tar.gz |
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
Diffstat (limited to 'lib/libc/stdio/fputwc.c')
0 files changed, 0 insertions, 0 deletions