summaryrefslogtreecommitdiff
path: root/sysdeps/sh/dl-tls.h
diff options
context:
space:
mode:
authorZack Weinberg <zackw@panix.com>2017-12-27 12:56:04 -0500
committerZack Weinberg <zackw@panix.com>2017-12-27 12:56:04 -0500
commitdb922eaf0d7df3b917b6b693081219ca6065ec9e (patch)
treef1320cf66747a8554eeddf2503ff1f14abe578da /sysdeps/sh/dl-tls.h
parent7959f855a7c739602a2227c85563650b28d8a0cf (diff)
downloadglibc-zack/libio-minimization.tar.gz
Fix problems found by build-many-glibcs.zack/libio-minimization
Most of these have something to do with either old stdio or ldbl-opt. The changes surrounding PLT bypass for ldbl-affected symbols are a bit of a bodge but at least they seem to preserve the ABI expectations. * include/libc-symbols.h (hidden_weak_ver, libc_hidden_weak_ver): New macros. * sysdeps/generic/math_ldbl_opt.h (ldbl_hidden_weak): New macro. * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Also add it. * libio/iovsprintf.c: Use ldbl_hidden_weak to define vsprintf. * libio/iovsscanf.c: Use ldbl_hidden_weak to define __vsscanf. * libio/vasprintf.c: Use strong_alias + ldbl_hidden_def to define __vasprintf. * libio/vsnprintf.c: Use ldbl_hidden_weak to define __vsnprintf. * libio/iolibio.h: Add a multiple inclusion guard. Use FILE instead of _IO_FILE, __fpos_t instead of _IO_fpos_t, __fpos64_t instead of _IO_fpos64_t, size_t instead of _IO_size_t, BUFSIZ instead of _IO_BUFSIZ, and __gnuc_va_list instead of _IO_va_list. Move the definitions of _IO_pos_BAD, _IO_fileno, _IO_clearerr, _IO_fseek, and _IO_rewind... * libio/libioP.h: ...here. * conform/data/stdio.h-data: Use __gnuc_va_list instead of _G_va_list. * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include libioP.h. * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Use va_list instead of _G_va_list. Declare __nldbl__IO_vfscanf by hand. * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c: Use __gnuc_va_list instead of _IO_va_list.
Diffstat (limited to 'sysdeps/sh/dl-tls.h')
0 files changed, 0 insertions, 0 deletions