1 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
3 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
4 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
5 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
7 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
9 * mach/Versions: Fix version when __mach_host_self_ was added.
10 * hurd/Versions: Fix version when _hurd_exec_paths was added.
11 * sysdeps/mach/hurd/i386/ld.abilist: New file.
12 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
13 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
14 * sysdeps/mach/hurd/i386/libc.abilist: New file.
15 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
16 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
17 * sysdeps/mach/hurd/i386/libm.abilist: New file.
18 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
19 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
20 * sysdeps/mach/hurd/i386/librt.abilist: New file.
21 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
23 2018-01-29 Darius Rad <darius@bluespec.com>
25 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
27 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
29 * sysdeps/init_array/crti.S (.section .init_array): Add
30 PREINIT_FUNCTION when defined.
31 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
32 * config.h.in: Regenerate.
33 * manual/platform.texi: Add RISC-V documenation for
35 * sysdeps/riscv/__longjmp.S: New file.
36 * sysdeps/riscv/backtrace.c: Likewise.
37 * sysdeps/riscv/bits/endian.h: Likewise.
38 * sysdeps/riscv/bits/setjmp.h: Likewise.
39 * sysdeps/riscv/bits/wordsize.h: Likewise.
40 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
41 * sysdeps/riscv/bsd-setjmp.c: Likewise.
42 * sysdeps/riscv/dl-trampoline.S: Likewise.
43 * sysdeps/riscv/gccframe.h: Likewise.
44 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
45 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
46 * sysdeps/riscv/machine-gmon.h: Likewise.
47 * sysdeps/riscv/memusage.h: Likewise.
48 * sysdeps/riscv/setjmp.S: Likewise.
49 * sysdeps/riscv/sys/asm.h: Likewise.
50 * sysdeps/riscv/tls-macros.h: Likewise.
51 * sysdeps/riscv/dl-tls.h: New file.
52 * sysdeps/riscv/libc-tls.c: Likewise.
53 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
54 * sysdeps/riscv/nptl/tls.h: Likewise.
55 * sysdeps/riscv/stackinfo.h: Likewise.
56 * sysdeps/riscv/bits/fenv.h: New file.
57 * sysdeps/riscv/e_sqrtl.c: Likewise.
58 * sysdeps/riscv/fpu_control.h: Likewise.
59 * sysdeps/riscv/math-tests.h: Likewise.
60 * sysdeps/riscv/nofpu/Implies: Likewise.
61 * sysdeps/riscv/sfp-machine.h: Likewise.
62 * sysdeps/riscv/tininess.h: Likewise.
63 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
64 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
65 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
66 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
67 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
68 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
69 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
70 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
71 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
72 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
73 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
74 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
75 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
76 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
77 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
78 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
79 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
80 * sysdeps/riscv/rvd/s_finite.c: Likewise.
81 * sysdeps/riscv/rvd/s_fma.c: Likewise.
82 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
83 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
84 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
85 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
86 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
87 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
88 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
89 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
90 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
91 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
92 * sysdeps/riscv/rvf/fegetround.c: Likewise.
93 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
94 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
95 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
96 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
97 * sysdeps/riscv/rvf/fesetround.c: Likewise.
98 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
99 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
100 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
101 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
102 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
103 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
104 * sysdeps/riscv/rvf/math_private.h: Likewise.
105 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
106 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
107 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
108 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
109 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
110 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
111 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
112 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
113 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
114 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
115 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
116 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
117 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
118 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
119 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
120 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
121 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
122 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
123 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
124 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
125 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
126 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
127 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
128 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
129 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
130 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
131 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
132 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
133 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
134 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
135 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
136 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
137 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
138 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
139 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
140 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
141 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
142 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
143 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
144 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
145 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
146 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
147 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
148 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
149 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
150 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
151 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
152 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
153 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
154 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
155 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
156 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
157 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
158 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
159 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
160 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
161 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
162 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
163 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
164 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
165 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
166 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
167 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
168 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
169 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
170 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
171 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
172 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
173 * sysdeps/riscv/Implies: New file.
174 * sysdeps/riscv/Makefile: Likewise.
175 * sysdeps/riscv/configure: Likewise.
176 * sysdeps/riscv/configure.ac: Likewise.
177 * sysdeps/riscv/nptl/Makefile: Likewise.
178 * sysdeps/riscv/preconfigure: Likewise.
179 * sysdeps/riscv/rv64/Implies-after: Likewise.
180 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
181 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
182 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
183 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
184 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
185 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
186 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
187 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
188 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
189 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
190 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
191 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
194 2018-01-29 Florian Weimer <fweimer@redhat.com>
197 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
199 * include/rpcsvc/yp.h (yp_xdrall): Declare with
201 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
202 * nis/Makefile (libnsl-routines): Add nss-default only for
204 * nis/nis_defaults.c (__nis_default_ttl): Add
205 libnsl_hidden_nolink_def.
206 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
208 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
209 * nis/ypclnt.c (yp_maplist): Likewise.
211 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
213 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
214 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
216 2018-01-29 Joseph Myers <joseph@codesourcery.com>
218 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
219 clean -dxfq for git updates when replacing sources.
221 * scripts/build-many-glibcs.py (Config.build_gcc): Use
222 --disable-libcilkrts unconditionally, not just for the final GCC
225 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
228 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
231 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
234 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
237 * localedata/locales/be_BY (mon): Rename to...
238 (alt_mon): This, then synchronize with CLDR (nominative case).
239 (abmon): Rename to...
240 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
241 (mon): Import from CLDR (genitive case).
243 * localedata/locales/be_BY@latin (mon): Rename to...
245 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
247 * localedata/locales/be_BY@latin (lang_name): Reworded to
250 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
253 * localedata/locales/el_CY (mon): Renamed to...
255 (mon): Import from CLDR (genitive case).
256 * localedata/locales/el_GR: Likewise.
258 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
261 * localedata/locales/ru_RU (mon): Rename to...
263 (abmon): Rename to...
265 (mon): Import from CLDR (genitive case).
266 (abmon): Copy from the old content except the 5th month which is
267 now in the genitive case, even when abbreviated.
268 * localedata/locales/ru_UA: Likewise.
269 * time/tst-strptime.c (day_tests): Add an actual example of
270 a difference between %b and %Ob in Russian.
272 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
274 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
275 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
277 * resolv/res-close.c: Include <stdlib.h>.
278 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
279 <sys/wait.h>, <time.h>, <sys/uio.h>.
280 (NOT_CANCEL_H): Add inclusion guard.
281 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
282 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
283 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
285 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
286 vm_address_t * to ElfW(Addr) * for dl_main parameter.
287 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
289 * sysdeps/pthread/timer_create.c (timer_create): Do not use
290 timer_ptr2id to cast struct timer_node * to void *.
291 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
292 --disable-libcilkrts to gcc configure.
293 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
294 and make them the default for now.
295 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
296 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
297 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
298 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
299 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
301 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
302 __task_terminate would ever return successfully.
303 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
305 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
306 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
307 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
308 critical section to make code simpler and avoid warning.
309 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
310 critical section to make code simpler and avoid warning.
311 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
312 const char * instead of char *.
313 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
314 __hurd_file_name_split, hurd_file_name_split,
315 __hurd_directory_name_split, hurd_directory_name_split,
316 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
317 hurd_file_name_path_lookup): Make lookup function parameter take a
318 const char *name instead of char *name.
319 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
320 __hurd_directory_name_split): Likewise.
321 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
322 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
323 * sysdeps/mach/hurd/check_native.c: New file.
324 * sysdeps/mach/hurd/check_pf.c: New file.
325 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
326 (__freeifaddrs): Define macro to freeifaddrs.
327 * sysdeps/mach/hurd/libhurduser.abilist: New file.
328 * sysdeps/mach/libmachuser.abilist: New file.
329 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
330 (do_test_bz20181): Rename accordingly.
331 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
332 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
334 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
335 version only if __USE_EXTERN_INLINES is defined.
336 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
337 __hurd_sockfail): Likewise.
338 (_hurd_fd_get): Always declare functions, and provide inline versions
339 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
340 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
341 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
342 _hurd_port_set): Always declare functions, and provide inline versions
343 only if __USE_EXTERN_INLINES and _LIBC are defined and
345 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
346 _hurd_critical_section_unlock): Likewise.
347 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
348 * __hurd_threadvar_location): Likewise.
349 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
350 _hurd_userlink_clear): Likewise.
351 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
352 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
353 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
354 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
355 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
356 __spin_lock_locked): Likewise.
357 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
358 __spin_lock_locked): Likewise.
359 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
360 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
361 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
362 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
363 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
364 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
365 _POSIX_NO_TRUNC): Define to 0.
366 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
367 check size against PTHREAD_STACK_MIN.
368 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
369 IS_IN(libpthread)]: Include <sigsetops.h>.
370 * mach/Makefile (user-interfaces): Add mach/gnumach.
371 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
372 * sysdeps/mach/configure (mach_interface_list): Regenerate.
373 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
374 instead of invalid -1.
375 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
376 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
377 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
380 2008-12-18 Thomas Schwinge <tschwinge@gnu.org>
382 * hurd/fcntl-internal.h: New file.
384 2018-01-27 James Clarke <jrtc27@jrtc27.com>
386 * sysdeps/hppa/fpu/libm-test-ulps: Update.
388 * sysdeps/alpha/fpu/libm-test-ulps: Update.
390 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
393 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
394 Build only shared objects.
396 2018-01-26 Carlos O'Donell <carlos@redhat.com>
398 * README: Update for hppa.
400 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
402 * sysdeps/sparc/fpu/libm-test-ulps: Update
403 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
405 2018-01-26 Carlos O'Donell <carlos@redhat.com>
409 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
412 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
413 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
414 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
415 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
418 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
421 * bits/types/__cancel_jmp_buf_tag.h: New file.
422 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
423 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
424 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
425 * nptl/Makefile (headers): Add
426 bits/types/__cancel_jmp_buf_tag.h.
427 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
428 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
429 * sysdeps/nptl/pthread.h: Include
430 <bits/types/__cancel_jmp_buf_tag.h>.
431 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
433 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
435 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
438 * localedata/locales/uk_UA (mon): Renamed to...
440 (alt_digits): "0" removed and then renamed to...
442 (date_fmt): Definition changed not to use the alternative
445 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
447 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
448 FLAG_RISCV_FLOAT_ABI_DOUBLE.
449 * elf/elf.h (EF_RISCV_RVC): New define.
450 (EF_RISCV_FLOAT_ABI): Likewise.
451 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
452 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
453 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
454 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
455 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
457 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
459 2018-01-25 Andreas Schwab <schwab@suse.de>
461 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
463 * sysdeps/gnu/configure: Regenerate.
464 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
465 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
467 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
468 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
469 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
470 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
471 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
473 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
475 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
476 URL, and run autoconf, make it the default for now.
478 2018-01-24 Joseph Myers <joseph@codesourcery.com>
480 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
481 soft-float ColdFire configuration.
483 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
484 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
485 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
487 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
490 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
492 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
494 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
497 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
498 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
499 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
502 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
505 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
506 Rename to __reserved and add comment.
507 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
508 Rename to __reserved.
510 2018-01-24 Joseph Myers <joseph@codesourcery.com>
512 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
513 i686-gnu configurations.
514 (Context.run_builds): Include mig, gnumach and hurd in components
516 (Context.checkout): Add mig, gnumach and hurd to components.
517 (Context.checkout_tar): Add URL mappings for mig, gnumach and
519 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
520 (Config.build): Install gnumach headers, build mig and install
521 hurd headers for 'gnu' OS.
522 (Config.install_gnumach_headers): New function.
523 (Config.install_hurd_headers): Likewise.
524 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
525 when building for 'gnu' OS.
527 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
529 * manual/tunables.texi (Hardware Capability Tunables): Fix
532 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
534 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
535 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
536 (ALTMON_11, ALTMON_12): Improve documentation.
537 * manual/time.texi (strftime): Likewise.
539 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
542 * localedata/locales/pl_PL: Alternative month names added,
543 primary month names are genitive now.
544 * time/tst-strptime.c (day_tests): Actually use a genitive case
545 of a month name in Polish language.
547 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
550 * manual/locale.texi: Document ALTMON_1..12 constants for
551 nl_langinfo. Specify when to use ALTMON instead of MON.
552 * manual/time.texi (strftime, strptime): Document GNU extension
553 permitting O modifier with %B and %b. Specify when to use
556 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
559 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
560 names, define them as the same as abbreviated month names explicitly.
561 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
562 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
563 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
564 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
565 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
566 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
567 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
568 _NL_WABALTMON_12): New enum constants.
569 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
570 wab_alt_mon, and ab_alt_mon_defined members.
571 (time_output): Output ab_alt_mon and wab_alt_mon members.
572 (time_read): Read them, initialize them as copies of abmon and wabmon
573 respectively if they are missing, initialize ab_alt_mon_defined.
574 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
575 * locale/programs/locfile-kw.h: Regenerate.
576 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
577 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
579 * time/strftime_l.c (a_altmonth, aam_len): New macros.
580 [!COMPILE_WIDE] (ABALTMON_1): New macro.
581 (__strftime_internal): Handle %Ob and %Oh formats.
582 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
583 (__strptime_internal): Handle %Ob and %Oh formats.
584 * time/tst-strptime.c (day_tests): Add more tests to parse different
585 forms of month names including the new %Ob format specifier.
587 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
590 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
591 define them as the same as primary full month names explicitly.
592 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
593 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
594 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
595 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
596 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
597 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
598 _NL_WALTMON_12): New enum constants.
599 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
600 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
602 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
603 walt_mon, and alt_mon_defined members.
604 (time_output): Output alt_mon and walt_mon members.
605 (time_read): Read them, initialize them as copies of mon and wmon
606 respectively if they are missing, initialize alt_mon_defined.
607 * locale/programs/locfile-kw.gperf (alt_mon): Define.
608 * locale/programs/locfile-kw.h: Regenerate.
609 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
610 * localedata/tst-langinfo.c (map): Add tests for the new constants
611 ALTMON_1 .. ALTMON_12.
612 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
614 * time/strftime_l.c (f_altmonth): New macro.
615 (__strftime_internal): Handle %OB format.
616 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
617 (__strptime_internal): Handle %OB format.
618 * time/tst-strptime.c (day_tests): Add tests to parse different forms
619 of month names including the new %OB format specifier.
621 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
624 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
625 from ABORT_TRANSACTION.
626 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
627 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
628 ABORT_TRANSACTION_IMPL): Likewise.
629 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
630 Linux code, but remove the code that aborts transactions.
632 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
634 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
636 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
638 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
639 in date: "2004-14-09" should be "2004-09-14".
640 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
641 "2003-15-09" should be "2003-09-15".
643 2018-01-18 Arjun Shankar <arjun@redhat.com>
646 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
648 (_int_memalign): check for integer overflow before calling
650 * malloc/tst-malloc-too-large.c: New test.
651 * malloc/Makefile: Add tst-malloc-too-large.
653 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
655 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
656 in date: "2017-24-07" should be "2017-07-24".
657 * localedata/locales/mai_IN: Likewise.
658 * localedata/locales/mai_NP: Likewise.
660 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
662 * po/ru.po: Update translations.
664 2018-01-17 Joseph Myers <joseph@codesourcery.com>
667 * sysdeps/hppa/backtrace.c: New file.
669 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
672 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
673 align La_x86_64_retval to VEC_SIZE.
675 2018-01-16 Joseph Myers <joseph@codesourcery.com>
677 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
678 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
680 2018-01-16 Florian Weimer <fweimer@redhat.com>
682 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
683 Move tst-thread-exit-clobber ...
684 [$(CXX)] (tests-unsupported): ... to here.
686 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
688 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
689 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
690 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
691 (_dl_aarch64_cap_flags): Update.
692 (_DL_HWCAP_COUNT): Update.
694 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
696 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
697 (_DL_HWCAP_LAST): Remove.
698 (_DL_HWCAP_COUNT): Move to ...
699 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
700 (_DL_HWCAP_COUNT): ... here.
702 2018-01-16 Florian Weimer <fweimer@redhat.com>
704 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
705 mode with GNU extensions.
707 2018-01-15 Alan Hayward <alan.hayward@arm.com>
709 * elf/elf.h (NT_ARM_SVE): Define.
711 2018-01-15 Florian Weimer <fweimer@redhat.com>
714 * nptl/tst-minstack-throw.cc: New file.
715 * nptl/Makefile (tests): Add tst-minstack-throw.
716 (LDLIBS-tst-minstack-throw): Link with libstdc++.
717 [!CXX] (tests-unsupported): Add tst-minstack-throw.
719 2018-01-15 Joseph Myers <joseph@codesourcery.com>
721 * scripts/build-many-glibcs.py (Context.checkout): Default
722 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
725 2018-01-13 Carlos O'Donell <carlos@redhat.com>
728 * elf/elf.h (DF_1_STUB): Define.
731 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
734 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
735 Do not add 0.5 to integer or out-of-range arguments.
737 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
739 * po/bg.po: Update translations.
740 * po/cs.po: Likewise.
741 * po/de.po: Likewise.
742 * po/ko.po: Likewise.
743 * po/pl.po: Likewise.
744 * po/sv.po: Likewise.
745 * po/uk.po: Likewise.
746 * po/vi.po: Likewise.
748 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
750 * aarch64/start.S (_start): Use __wrap_main.
751 (__wrap_main): New local symbol.
753 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
757 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
758 generic_getcwd if the path returned by getcwd syscall is not absolute.
759 * io/tst-getcwd-abspath.c: New test.
760 * io/Makefile (tests): Add tst-getcwd-abspath.
762 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
764 * malloc/malloc.c (malloc_consolidate): Add size check.
766 2018-01-12 Florian Weimer <fweimer@redhat.com>
768 * support/write_message.c (write_message): Preserve errno.
769 * support/check.c (print_failure): Likewise.
770 * support/support_test_verify_impl.c (support_test_verify_impl):
772 * support/support_test_compare_failure.c
773 (support_test_compare_failure): Likewise.
775 2018-01-12 Florian Weimer <fweimer@redhat.com>
778 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
779 Prevent installation of libnsl.so.
780 (libnsl-inhibit-o): Do not build (or install) static libraries.
782 2018-01-12 Egmont Koblinger <egmont@gmail.com>
785 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
786 before the day number which may produce a double space.
787 (date_fmt): Likewise.
789 2018-01-12 Joseph Myers <joseph@codesourcery.com>
791 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
794 2018-01-11 Joseph Myers <joseph@codesourcery.com>
797 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
798 comment to say exceptions are discarded.
799 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
801 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
804 2018-01-11 Florian Weimer <fweimer@redhat.com>
806 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
809 2018-01-11 Florian Weimer <fweimer@redhat.com>
812 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
813 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
815 2018-01-10 Joseph Myers <joseph@codesourcery.com>
818 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
819 negative arguments in test for NaN or infinity argument.
821 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
823 * po/libc.pot: Regenerate.
825 2018-01-10 Florian Weimer <fweimer@redhat.com>
828 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
829 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
831 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
833 * hurd/hurd/fd.h: Include <fcntl.h>
834 (__hurd_at_flags): New function.
835 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
836 with call to __hurd_at_flags.
837 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
838 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
840 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
841 (__access_noerrno): Use __faccessat_common instead of access_common.
842 (__access): Likewise.
843 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
844 with a call to __faccessat.
845 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
846 (__faccessat_common): ... this. Move implementation of __access into it when
847 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
848 reauthenticate_cwdir_at helper to implement AT mechanism.
849 (__faccessat_noerrno): New function, just calls __faccessat_common.
850 (__faccessat): New function, just calls __faccessat_common.
851 (faccessat): Define weak alias.
853 2018-01-10 Joseph Myers <joseph@codesourcery.com>
856 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
857 (CFLAGS-s_fmaxmagl.c): New variable.
858 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
861 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
862 long int for arguments of possibly overflowing addition or
864 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
866 2018-01-09 Joseph Myers <joseph@codesourcery.com>
869 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
870 (CFLAGS-e_remainderl.c): New variable.
873 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
875 (CFLAGS-s_cacoshl.c): Likewise.
876 (CFLAGS-s_casinhl.c): Likewise.
877 (CFLAGS-s_catanl.c): Likewise.
878 (CFLAGS-s_catanhl.c): Likewise.
879 (CFLAGS-s_cexpl.c): Likewise.
880 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
881 (CFLAGS-s_csinhl.c): Likewise.
882 (CFLAGS-s_clogl.c): Likewise.
883 (CFLAGS-s_clog10l.c): Likewise.
884 (CFLAGS-s_csinl.c): Likewise.
885 (CFLAGS-s_csqrtl.c): Likewise.
887 2010-08-04 Emilio Pozuelo Monfort <pochu27@gmail.com>
888 2017-09-26 Svante Signell <svante.signell@gmail.com>
890 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
891 (_hurd_exec_paths): New function.
892 * hurd/hurd.h (_hurd_exec): Deprecate function.
893 (_hurd_exec_paths): Declare function.
894 * hurd/Versions: Export _hurd_exec_paths.
895 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
896 (__execve): Use __getcwd to build absolute path, and use
897 _hurd_exec_paths instead of _hurd_exec.
898 * sysdeps/mach/hurd/spawni.c: Likewise.
899 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
902 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
904 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
905 test instead of failing in case of ENOENT returned by posix_openpt.
907 2018-01-08 Florian Weimer <fweimer@redhat.com>
909 resolv: Support binary labels in test framework.
910 * support/resolv_test.c (struct to_be_freed): Remove.
911 (struct compressed_name): New.
912 (allocate_compressed_name, ascii_tolower)
913 (compare_compressed_name): New functions.
914 (struct resolv_response_builder): Update type of
915 compression_offsets for use with tsearch. Rempve to_be_freed.
916 (response_push_pointer_to_free): Remove function.
917 (resolv_response_add_name): Rewrite using struct compressed_name
918 and tsearch instead of hsearch_r.
919 (response_builder_allocate): Remove initialization of
921 (response_builder_free): Update for removal of to_be_freed. Use
922 tdestroy instead of hdestroy_r.
923 * resolv/Makefile (tests): Add tst-resolv-binary.
924 (tst-resolv-binary): Link with -lresolv -lpthread.
926 2018-01-08 Florian Weimer <fweimer@redhat.com>
928 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
929 time. Pass positive flag instead of negative flag to
930 support_test_compare_failure.
931 (support_test_compare_failure): Change negative parameter to
933 * support/support_test_compare_failure.c (report)
934 (support_test_compare_failure): Likewise.
935 * support/tst-test_compare.c (return_ssize_t, return_int): New.
936 (do_test): Check int/size_t, ssize_t/size_t comparisons.
938 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
941 * nptl/descr.h (stackblock, stackblock_size): Update comments.
942 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
943 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
945 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
947 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
949 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
950 Add s_sincosf-sse2 and s_sincosf-fma.
951 (CFLAGS-s_sincosf-fma.c): New.
952 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
953 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
954 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
955 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
956 __sincosf is defined.
958 2018-01-08 Florian Weimer <fweimer@redhat.com>
960 * nptl/tst-thread-exit-clobber.cc: New file.
961 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
963 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
964 (tests): Add tst-thread-exit-clobber.
965 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
967 2018-01-08 Florian Weimer <fweimer@redhat.com>
969 * support/check.h (support_static_assert): Define.
970 (TEST_COMPARE): Use it.
972 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
974 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
975 [!__RLIM_T_MATCHES_RLIM64_T]
976 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
977 __getrlimit64. Add libc_hidden_weak.
979 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
981 * elf/elf.h (R_RISCV_NONE): New define.
982 (R_RISCV_32): Likewise.
983 (R_RISCV_64): Likewise.
984 (R_RISCV_RELATIVE): Likewise.
985 (R_RISCV_COPY): Likewise.
986 (R_RISCV_JUMP_SLOT): Likewise.
987 (R_RISCV_TLS_DTPMOD32): Likewise.
988 (R_RISCV_TLS_DTPMOD64): Likewise.
989 (R_RISCV_TLS_DTPREL32): Likewise.
990 (R_RISCV_TLS_DTPREL64): Likewise.
991 (R_RISCV_TLS_TPREL32): Likewise.
992 (R_RISCV_TLS_TPREL64): Likewise.
993 * Makerules (make-link-multidir): Make directories before linking into
995 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
997 (VDSO_HASH_LINUX_4_15): Likewise.
998 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
999 in subdirectories of lib.
1000 * nptl/Makefile (/librt.so): Always depend on
1001 "$(shared-thread-library)".
1003 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
1005 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
1006 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
1007 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
1009 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
1010 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
1012 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
1013 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
1014 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
1015 * sysdeps/gnu/glob-lstat-compat.c: New file.
1016 * sysdeps/gnu/glob64-lstat-compat.c: New file.
1017 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
1019 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1021 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
1022 Reserve 16 chars to reloc_addr before calling _itoa_word.
1024 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
1027 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
1028 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
1030 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
1031 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
1033 * resource/tst-getrlimit.c: Add copyright header.
1035 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
1036 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1038 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
1039 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
1040 Define __GI_getrlimit64 as weak alias of __getrlimit64.
1041 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
1043 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
1044 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
1045 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
1046 RLIM64_INFINITY): Fix values to match the kernel ones.
1047 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
1048 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
1049 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
1050 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
1051 getrlimit64@@GLIBC_2_27.
1052 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
1054 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
1055 getrlimit, setrlimit, getrlimit64 and setrlimit64.
1056 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
1057 setrlimit, getrlimit64 and setrlimit64.
1059 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
1062 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
1063 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
1065 2018-01-04 Joseph Myers <joseph@codesourcery.com>
1067 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
1068 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
1069 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
1071 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1075 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
1076 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
1080 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
1081 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
1082 * sysdeps/alpha/fpu/s_floor.c: Likewise.
1083 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
1085 2018-01-04 Florian Weimer <fweimer@redhat.com>
1088 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
1089 Align the stack before calling exit.
1090 * stdlib/tst-makecontext-align.c: New file.
1091 * stdlib/Makefile (tests): Add tst-makecontext-align.
1093 2018-01-04 Florian Weimer <fweimer@redhat.com>
1095 Add support for calling dlvsym from libc.so.
1096 * include/dlfcn.h (__libc_dlvsym): Declare.
1097 * elf/Makefile (tests-static-internal): Add
1098 tst-libc_dlvsym-static.
1099 (tests-internal): Add tst-libc_dlvsym.
1100 (modules-names): Add tst-libc_dlvsym-dso.
1101 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
1102 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
1103 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
1104 object tst-libc_dlvsym-dso.so needs to be built before running
1106 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
1107 * elf/Versions: Export __libc_dlvsym.
1108 * elf/dl-libc.c (struct do_dlvsym_args): New.
1109 (do_dlvsym, __libc_dlvsym): New functions.
1110 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
1111 (_dl_open_hook2): New variable.
1112 (__libc_register_dl_open_hook): Set it.
1113 * elf/tst-libc_dlvsym-dso.c: New file.
1114 * elf/tst-libc_dlvsym-static.c: Likewise.
1115 * elf/tst-libc_dlvsym.c: Likewise.
1116 * elf/tst-libc_dlvsym.h: Likewise.
1118 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
1120 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
1121 include <sys/mount.h>.
1123 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
1125 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
1126 Add __NO_MATH_ERRNO__ check.
1128 2018-01-02 Joseph Myers <joseph@codesourcery.com>
1130 * sysdeps/mips/mips32/libm-test-ulps: Update.
1131 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1133 2018-01-02 Florian Weimer <fweimer@redhat.com>
1135 * misc/tst-pselect.c: Add copyright header.
1137 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
1139 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
1141 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
1143 (settrlimit): Rename into setrlimit.
1144 (__sttrlimit): Rename into __setrlimit.
1146 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
1147 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
1148 never defined in that case.
1150 2018-01-02 Joseph Myers <joseph@codesourcery.com>
1152 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
1154 * sysdeps/arm/libm-test-ulps: Update.
1156 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
1157 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
1159 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1161 * NEWS: Add cosf and sincosf to list of optimized functions.
1163 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
1166 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
1167 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
1168 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
1169 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
1171 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
1174 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
1176 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
1177 making a copy of it.
1179 2018-01-01 Joseph Myers <joseph@codesourcery.com>
1181 * manual/texinfo.tex: Update to version 2017-12-26.21 with
1182 trailing whitespace removed.
1183 * scripts/config.guess: Update to version 2018-01-01.
1184 * scripts/config.sub: Update to version 2018-01-01.
1185 * scripts/move-if-change: Update from gnulib.
1187 * NEWS: Update copyright dates.
1188 * catgets/gencat.c (print_version): Likewise.
1189 * csu/version.c (banner): Likewise.
1190 * debug/catchsegv.sh: Likewise.
1191 * debug/pcprofiledump.c (print_version): Likewise.
1192 * debug/xtrace.sh (do_version): Likewise.
1193 * elf/ldconfig.c (print_version): Likewise.
1194 * elf/ldd.bash.in: Likewise.
1195 * elf/pldd.c (print_version): Likewise.
1196 * elf/sotruss.sh: Likewise.
1197 * elf/sprof.c (print_version): Likewise.
1198 * iconv/iconv_prog.c (print_version): Likewise.
1199 * iconv/iconvconfig.c (print_version): Likewise.
1200 * locale/programs/locale.c (print_version): Likewise.
1201 * locale/programs/localedef.c (print_version): Likewise.
1202 * login/programs/pt_chown.c (print_version): Likewise.
1203 * malloc/memusage.sh (do_version): Likewise.
1204 * malloc/memusagestat.c (print_version): Likewise.
1205 * malloc/mtrace.pl: Likewise.
1206 * manual/libc.texinfo: Likewise.
1207 * nptl/version.c (banner): Likewise.
1208 * nscd/nscd.c (print_version): Likewise.
1209 * nss/getent.c (print_version): Likewise.
1210 * nss/makedb.c (print_version): Likewise.
1211 * posix/getconf.c (main): Likewise.
1212 * scripts/test-installation.pl: Likewise.
1213 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
1215 * All files with FSF copyright notices: Update copyright dates
1216 using scripts/update-copyrights.
1217 * locale/programs/charmap-kw.h: Regenerated.
1218 * locale/programs/locfile-kw.h: Likewise.
1220 2017-12-31 Zack Weinberg <zackw@panix.com>
1222 * libio/bits/libio-ldbl.h: Correct check for improper
1223 inclusion. Add own multiple include guard.
1225 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
1226 Dmitry V. Levin <ldv@altlinux.org>
1230 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
1231 string token expansion. Check for NULL pointer or empty string possibly
1232 returned by expand_dynamic_string_token.
1233 (decompose_rpath): Check for empty path after dynamic string
1236 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
1239 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
1241 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
1242 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
1243 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
1245 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
1246 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
1247 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1248 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1249 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1250 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
1252 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
1253 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
1254 __ptrace_peeksiginfo_flags, ptrace): Move to ...
1255 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
1256 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1257 bits/ptrace-shared.h.
1258 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
1259 <bits/ptrace-shared.h>.
1260 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
1261 __ptrace_peeksiginfo_flags, ptrace): Remove.
1262 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
1263 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1264 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1265 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1266 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
1268 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
1271 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
1272 end of the loop. Improve comments.
1274 2017-12-29 Zack Weinberg <zackw@panix.com>
1277 * manual/errno.texi (Checking for Errors): Explicitly say that errno
1278 might be set on success.
1280 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
1283 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
1284 is unchanged on success.
1286 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
1288 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
1290 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
1291 expand_dynamic_string_token): Likewise.
1292 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
1295 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
1298 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
1299 is set and name contains ':', and all code depending on these checks.
1301 2017-12-24 Zack Weinberg <zackw@panix.com>
1303 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
1304 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
1306 * libio/libio.h: Rename the original version of this file to
1307 libio/bits/libio.h. Error out if not included by stdio.h or the
1309 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
1310 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
1311 if not included by bits/libio.h or the stub _G_config.h.
1312 * sysdeps/unix/sysv/linux/_G_config.h: Move to
1313 sysdeps/unix/sysv/linux/bits. Error out if not included by
1314 bits/libio.h or the stub _G_config.h.
1315 * libio/stdio.h: Include bits/libio.h, not libio.h.
1316 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
1317 well as libio.h and _G_config.h.
1319 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
1320 * libio/strfile.h, stdio-common/vfscanf.c
1321 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
1322 Include stdio.h, not _G_config.h nor libio.h.
1323 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
1324 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
1326 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
1328 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
1331 * stdlib/getrandom.c (getrandom): Fix comment.
1332 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
1334 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
1337 * manual/arith.texi (strtoul): Fix a typo.
1340 * manual/arith.texi (finite): Fix the description of the return
1343 2017-12-22 Eric Blake <ebb9@byu.net>
1345 Avoid gcc warnings on cygwin
1346 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
1347 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
1348 Avoid unused variable.
1350 2017-12-22 Florian Weimer <fweimer@redhat.com>
1352 * io/Makefile (routines): Add copy_file_range.
1353 (tests): Add tst-copy_file_range.
1354 (tests-static, tests-internal): Add tst-copy_file_range-compat.
1355 * io/Versions (GLIBC_2.27): Export copy_file_range.
1356 * io/copy_file_range-compat.c: New file.
1357 * io/copy_file_range.c: Likewise.
1358 * io/tst-copy_file_range-compat.c: Likewise.
1359 * io/tst-copy_file_range.c: Likewise.
1360 * manual/llio.texi (Copying File Data): New section.
1361 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
1362 * support/Makefile (libsupport-routines): Add support-xfstat,
1364 * support/support-xfstat.c: New file.
1365 * support/xftruncate.c: Likewise.
1366 * support/xlseek.c: Likewise.
1367 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
1368 * sysdeps/unix/sysv/linux/**.abilist: Update.
1369 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
1371 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
1373 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
1374 disable-multi-arch variant to aarch64-linux-gnu.
1376 2017-12-20 Joseph Myers <joseph@codesourcery.com>
1378 * manual/texinfo.tex: Update to version 2017-12-18.20 with
1379 trailing whitespace removed.
1380 * scripts/config.guess: Update to version 2017-12-17.
1381 * scripts/config.sub: Update to version 2017-11-23.
1382 * scripts/install-sh: Update to version 2017-09-23.17.
1383 * scripts/move-if-change: Update to version 2017-09-13 06:45.
1385 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1387 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
1388 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
1389 * sysdeps/tile/_mcount.S (__mcount): Likewise.
1390 * sysdeps/tile/crti.S (_init, _fini): Likewise.
1391 * sysdeps/tile/crtn.S: Likewise.
1392 * sysdeps/tile/dl-start.S (_start): Likewise.
1393 * sysdeps/tile/dl-trampoline.S: Likewise.
1394 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
1395 * sysdeps/tile/start.S (_start): Likewise.
1396 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
1397 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
1398 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
1399 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
1400 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
1401 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
1402 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
1404 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
1406 * sysdeps/tile/preconfigure: Remove tilegx folder.
1407 * sysdeps/tile/tilegx/Implies: Move definitions to ...
1408 * sysdeps/tile/Implies: ... here.
1409 * sysdeps/tile/tilegx/Makefile: Move rules to ...
1410 * sysdeps/tile/Makefile: ... here.
1411 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
1412 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
1413 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
1414 * sysdeps/tile/bits/wordsize.h: ... here.
1415 * sysdeps/tile/tilegx/*: Move to ...
1416 * sysdeps/tile/*: ... here.
1417 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
1418 * sysdeps/tile/tilegx32/Implies: ... here.
1419 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
1420 * sysdeps/tile/tilegx64/Implies: ... here.
1421 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
1423 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
1424 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
1425 * sysdeps/unix/sysv/linux/tile/*: ... here.
1426 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
1427 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
1428 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
1429 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
1431 * README: Remove tilepro-*-linux-gnu from supported architecture.
1432 * scripts/build-many-glibcs.py: Likewise.
1433 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
1434 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
1435 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
1436 elf_machine_matches_host, elf_machine_dynamic,
1437 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
1438 howto, elf_machine_rela): Likewise.
1439 * sysdeps/tile/dl-start.S (_start): Likewise.
1440 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
1441 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
1442 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
1443 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
1444 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
1445 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
1447 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
1448 * sysdeps/tile/preconfigure: Likewise.
1449 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
1450 POINTER_CHK_GUARD): Likewise.
1451 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
1452 * sysdeps/tile/start.S (_start): Likewise.
1453 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
1455 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
1456 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
1458 * sysdeps/unix/sysv/linux/tile/bits/environments.h
1459 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
1460 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
1462 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
1463 * sysdeps/tile/tilepro/Implies: Remove file.
1464 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
1465 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
1466 * sysdeps/tile/tilepro/memchr.c: Likewise.
1467 * sysdeps/tile/tilepro/memcpy.S: Likewise.
1468 * sysdeps/tile/tilepro/memset.c: Likewise.
1469 * sysdeps/tile/tilepro/memusage.h: Likewise.
1470 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
1471 * sysdeps/tile/tilepro/strchr.c: Likewise.
1472 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
1473 * sysdeps/tile/tilepro/strlen.c: Likewise.
1474 * sysdeps/tile/tilepro/strrchr.c: Likewise.
1475 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
1476 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
1477 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
1478 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
1479 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
1480 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
1482 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
1483 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1484 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
1485 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
1486 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1487 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
1488 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
1489 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
1490 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
1491 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
1492 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
1493 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
1494 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
1495 tilepro mention in comment.
1497 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
1498 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
1499 * nptl/pthread_join_common.c: New file: common function used on
1500 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
1501 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
1502 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
1503 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
1504 (cleanup): Move definition to pthread_join_common.c.
1505 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
1506 Remove superflous checks.
1507 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
1510 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
1512 * sysdeps/aarch64/libm-test-ulps: Update.
1514 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1516 * sysdeps/aarch64/memset.S (MEMSET): Define.
1518 2017-12-20 Florian Weimer <fweimer@redhat.com>
1521 nptl: Provide full implementation of pthread_self in libc.so.
1522 * nptl/Makefile (routines): Add pthread_self.
1523 (libpthread-routines): Replace pthread_self with
1524 compat-pthread_self.
1525 * nptl/forward.c (pthread_self): Remove.
1526 * nptl/nptl-init.c (pthread_functions): Do not initialize
1528 * nptl/pthread_self.c (pthread_self): Remove weak alias.
1529 * nptl/compat-pthread_self.c: New file.
1530 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
1531 Remove ptr_pthread_self.
1533 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
1535 * posix/regcomp.c: Fix spelling in comments.
1536 * posix/regex.h: Likewise.
1537 * posix/regex_internal.c: Likewise.
1538 * posix/regexec.c: Likewise.
1540 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1543 * math/Makefile [C++] (tests): Add test for iseqsig.
1544 * math/math.h [C++] (iseqsig): New implementation, which does
1545 not rely on __MATH_TG/__builtin_types_compatible_p.
1546 * math/test-math-iseqsig.cc: New file.
1547 * sysdeps/powerpc/powerpc64le/Makefile
1548 (CFLAGS-test-math-iseqsig.cc): New variable.
1550 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
1552 * elf/dl-load.c (is_trusted_path): Remove.
1553 (fillin_rpath): Remove check_trusted argument and its use,
1554 all callers changed.
1556 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
1559 * Makeconfig (link-pie-before-libc): Replace -pie with
1560 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
1561 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
1562 (tst-dlopen-aout-no-pie): New.
1563 (LDFLAGS-tst-prelink): Removed.
1564 (tst-prelink-no-pie): New.
1565 (LDFLAGS-tst-main1): Removed.
1566 (tst-main1-no-pie): New.
1567 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
1568 (tst-gmon-no-pie): New.
1570 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
1572 * manual/install.texi: Document that --enable-static-pie
1574 * INSTALL: Regenerated.
1576 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
1579 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
1582 2017-12-19 Joseph Myers <joseph@codesourcery.com>
1586 2017-12-19 Joseph Myers <joseph@codesourcery.com>
1588 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1590 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
1592 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
1593 <errno.h>. Include "eexp.tbl".
1594 (half): New constant.
1596 (__ieee754_exp): Rewrite.
1597 (__slowexp): Remove prototype.
1598 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
1599 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
1600 * sysdeps/i386/fpu/slowexp.c: Likewise.
1601 * sysdeps/ia64/fpu/slowexp.c: Likewise.
1602 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
1603 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
1604 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
1605 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
1606 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
1607 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
1609 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
1610 (CPPFLAGS-slowexp.c): Remove variable.
1611 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
1612 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
1613 (CFLAGS-slowexp-fma.c): Remove variable.
1614 (CFLAGS-slowexp-fma4.c): Likewise.
1615 (CFLAGS-slowexp-avx.c): Likewise.
1616 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
1618 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
1619 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
1620 * math/Makefile (type-double-routines): Remove slowexp.
1621 * manual/probes.texi (slowexp_p6): Remove.
1622 (slowexp_p32): Likewise.
1624 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1626 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
1629 * lib/glob.c (glob): Do not pass NULL to mempcpy.
1631 2017-12-19 Joseph Myers <joseph@codesourcery.com>
1633 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1635 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
1637 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
1638 <errno.h>. Include "eexp.tbl".
1639 (half): New constant.
1641 (__ieee754_exp): Rewrite.
1642 (__slowexp): Remove prototype.
1643 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
1644 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
1645 * sysdeps/i386/fpu/slowexp.c: Likewise.
1646 * sysdeps/ia64/fpu/slowexp.c: Likewise.
1647 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
1648 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
1649 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
1650 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
1651 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
1652 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
1654 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
1655 (CPPFLAGS-slowexp.c): Remove variable.
1656 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
1657 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
1658 (CFLAGS-slowexp-fma.c): Remove variable.
1659 (CFLAGS-slowexp-fma4.c): Likewise.
1660 (CFLAGS-slowexp-avx.c): Likewise.
1661 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
1663 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
1664 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
1665 * math/Makefile (type-double-routines): Remove slowexp.
1666 * manual/probes.texi (slowexp_p6): Remove.
1667 (slowexp_p32): Likewise.
1669 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1670 James Clarke <jrtc27@jrtc27.com>
1673 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
1676 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1679 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
1682 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
1685 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
1686 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
1687 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
1688 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
1691 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
1694 * bits/types/__cancel_jmp_buf_tag.h: New file.
1695 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
1696 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
1697 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
1698 * nptl/Makefile (headers): Add
1699 bits/types/__cancel_jmp_buf_tag.h.
1700 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
1701 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
1702 * sysdeps/nptl/pthread.h: Include
1703 <bits/types/__cancel_jmp_buf_tag.h>.
1704 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
1706 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
1708 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
1710 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
1711 --enable-static-pie variants to x86_64, x32 and i686.
1713 2017-12-19 Joseph Myers <joseph@codesourcery.com>
1716 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
1717 argument for attrubutes. All callers changed.
1718 (__inline_mathop1): Likewise. All callers changed.
1719 (__inline_mathop): Likewise. All callers changed.
1720 [__USE_MISC] (scalbn): Use __inline_forward instead of
1722 [__USE_ISOC99] (scalbln): Likewise.
1723 [__USE_ISOC99] (nearbyint): Likewise.
1724 [__USE_ISOC99] (lrint): Likewise.
1725 [__USE_MISC] (scalbnf): Likewise.
1726 [__USE_ISOC99] (scalblnf): Likewise.
1727 [__USE_ISOC99] (nearbyintf): Likewise.
1728 [__USE_ISOC99] (lrintf): Likewise.
1729 [__USE_MISC] (scalbnl): Likewise.
1730 [__USE_ISOC99] (scalblnl): Likewise.
1731 [__USE_ISOC99] (nearbyintl): Likewise.
1732 [__USE_ISOC99] (lrintl): Likewise.
1733 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
1734 __inline_mathop and __m81_defun changed.
1736 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
1737 CPU or FPU for ARM hard-float configurations.
1739 2017-12-18 Joseph Myers <joseph@codesourcery.com>
1741 * nptl/tst-attr3.c: Include <libc-diag.h>.
1742 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
1744 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
1746 * string/tester.c (test_strncat): Also disable -Warray-bounds
1747 warnings for two tests.
1749 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
1752 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
1753 $(cc-pie-default) == yes.
1754 * config.make.in (cc-pie-default): New.
1755 * configure.ac (libc_cv_pie_default): Renamed to ...
1756 (libc_cv_cc_pie_default): This.
1757 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
1758 * configure: Regenerated.
1760 2017-12-18 Florian Weimer <fweimer@redhat.com>
1763 ld.so: Harden dl-libc/libdl hooks.
1764 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
1765 (rtld_active): New function.
1766 * dlfcn/dladdr.c (__dladdr): Call it.
1767 * dlfcn/dladdr1.c (__dladdr1): Likewise.
1768 * dlfcn/dlclose.c (__dlcose): Likewise.
1769 * dlfcn/dlerror.c (__dlerror): Likewise.
1770 * dlfcn/dlinfo.c (__dlinfo): Likewise.
1771 * dlfcn/dlmopen.c (__dlmopen): Likewise.
1772 * dlfcn/dlopen.c (__dlopen): Likewise.
1773 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
1774 * dlfcn/dlsym.c (__dlsym): Likewise.
1775 * dlfcn/dlvsym.c (__dlvsym): Likewise.
1776 * libio/vtables.c (_IO_vtable_check): Likewise.
1777 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
1778 (__libc_dlclose): Likewise.
1779 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
1782 2017-12-18 Joseph Myers <joseph@codesourcery.com>
1785 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
1786 buffers for readlink input and output.
1788 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
1791 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
1792 inhibit_stack_protector.
1795 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
1796 inhibit_stack_protector.
1798 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
1801 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
1802 code and invocation.
1804 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
1806 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
1808 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
1811 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
1813 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1815 * sysdeps/s390/fpu/libm-test-ulps: Update.
1817 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1819 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1821 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1823 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
1824 constants to s_sincosf.h file.
1825 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
1826 * sysdeps/ieee754/flt-32/s_sincosf.c: New
1828 * sysdeps/ieee754/flt-32/s_sincosf.h:
1831 2017-12-12 Carlos O'Donell <carlos@redhat.com>
1834 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
1837 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
1840 * INSTALL: Regenerated.
1841 * Makeconfig (real-static-start-installed-name): New.
1842 (pic-default): Updated for --enable-static-pie.
1843 (pie-default): New for --enable-static-pie.
1844 (default-pie-ldflag): Likewise.
1845 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
1846 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
1847 Replace $(static-start-installed-name) with
1848 $(real-static-start-installed-name).
1849 (+prectorT): Updated for --enable-static-pie.
1850 (+postctorT): Likewise.
1851 (CFLAGS-.o): Add $(pie-default).
1852 (CFLAGS-.op): Likewise.
1853 * NEWS: Mention --enable-static-pie.
1854 * config.h.in (ENABLE_STATIC_PIE): New.
1855 * configure.ac (--enable-static-pie): New configure option.
1856 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
1857 (have-static-pie): Likewise.
1858 Enable static PIE if linker supports --no-dynamic-linker.
1859 (ENABLE_STATIC_PIE): New AC_DEFINE.
1860 (enable-static-pie): New LIBC_CONFIG_VAR.
1861 * configure: Regenerated.
1862 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
1863 gr$(start-installed-name) for --enable-static-pie.
1864 (extra-objs): Likewise.
1865 (install-lib): Likewise.
1866 (extra-objs): Add static-reloc.o and static-reloc.os
1867 ($(objpfx)$(start-installed-name)): Also depend on
1868 $(objpfx)static-reloc.o.
1869 ($(objpfx)r$(start-installed-name)): New.
1870 ($(objpfx)g$(start-installed-name)): Also depend on
1871 $(objpfx)static-reloc.os.
1872 ($(objpfx)gr$(start-installed-name)): New.
1873 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
1875 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
1877 * csu/static-reloc.c: New file.
1878 * elf/Makefile (routines): Add dl-reloc-static-pie.
1879 (elide-routines.os): Likewise.
1880 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
1881 (tst-tls1-static-non-pie-no-pie): New.
1882 * elf/dl-reloc-static-pie.c: New file.
1883 * elf/dl-support.c (_dl_get_dl_main_map): New function.
1884 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
1885 STATIC_PIE_BOOTSTRAP.
1886 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
1887 * gmon/Makefile (tests): Add tst-gmon-static-pie.
1888 (tests-static): Likewise.
1889 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
1890 (tst-gmon-static-no-pie): New.
1891 (CFLAGS-tst-gmon-static-pie.c): Likewise.
1892 (CRT-tst-gmon-static-pie): Likewise.
1893 (tst-gmon-static-pie-ENV): Likewise.
1894 (tests-special): Likewise.
1895 ($(objpfx)tst-gmon-static-pie.out): Likewise.
1896 (clean-tst-gmon-static-pie-data): Likewise.
1897 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
1898 * gmon/tst-gmon-static-pie.c: New file.
1899 * manual/install.texi: Document --enable-static-pie.
1900 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
1901 (_dl_get_dl_main_map): Likewise.
1902 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
1903 * sysdeps/x86_64/configure.ac: Likewise.
1904 * sysdeps/i386/configure: Regenerated.
1905 * sysdeps/x86_64/configure: Likewise.
1906 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
1907 (ASFLAGS-.op): Likewise.
1909 2017-12-15 Joseph Myers <joseph@codesourcery.com>
1911 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
1912 * posix/tst-mmap-offset.c (fname): Use /tmp.
1913 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
1915 2017-12-15 Steve Ellcey <sellcey@cavium.com>
1917 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
1919 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
1921 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
1924 2017-12-15 Joseph Myers <joseph@codesourcery.com>
1926 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
1927 --with-float=hard for arm-linux-gnueabihf configurations.
1930 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
1931 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
1932 ($(mo-installed)): Use $(objpfx)%.mo.
1933 (realclean): Remove rule.
1935 * po/Makefile (linguas): Remove rule and dependencies.
1936 (linguas.mo): Likewise.
1937 (.PHONY): Do not depend on linguas and linguas.mo.
1938 (podir): Remove variable.
1939 (pofiles): Likewise.
1940 [$(pofiles)] (%.po): Remove rule.
1942 * sysdeps/sparc/sparc32/Makefile
1943 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
1944 start-of-line whitespace in argument of echo.
1945 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
1946 with whitespace. Generate __wrap_.udiv alias.
1947 * sysdeps/sparc/sparc32/rem.S: Regenerated.
1948 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
1949 * sysdeps/sparc/sparc32/udiv.S: Likewise.
1950 * sysdeps/sparc/sparc32/urem.S: Likewise.
1952 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1954 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
1957 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
1959 * benchtests/bench-strcmp.c: Print output in JSON format.
1961 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
1963 2017-12-14 Florian Weimer <fweimer@redhat.com>
1967 * elf/dl-load.c (_dl_init_paths): Compute number of components in
1968 the expanded path string.
1970 2017-12-14 Florian Weimer <fweimer@redhat.com>
1974 * elf/dl-load.c (system_dirs): Update comment.
1975 (nsystem_dirs_len): Use array_length.
1976 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
1978 2017-12-14 Florian Weimer <fweimer@redhat.com>
1980 Simplify compiling most of support/ outside of glibc.
1981 * support/check_addrinfo.c: Include <string.h>.
1982 * support/check_dns_packet.c: Likewise.
1983 * support/check_hostent.c: Likewise.
1984 * support/support_can_chroot.c: Include <support/xunistd.h>.
1985 * support/support_format_addrinfo.c: Include <stdlib.h>
1986 * support/support_format_dns_packet.c: Include <stdbool.h>.
1987 * support/support_format_hostent.c: Include <stdlib.h>.
1988 * support/support_format_netent.c: Likewise.
1989 * support/support_write_string.c: Include <support/xunistd.h>.
1990 * support/xdlfcn.c: Include <stddef.h>.
1992 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
1994 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
1996 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
1997 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1999 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
2000 (sysdeps_routines): Add memset-niagara7.
2001 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
2003 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
2005 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
2006 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
2007 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
2008 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
2009 Add niagara7 option.
2010 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
2013 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
2014 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
2015 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
2017 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
2019 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
2020 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
2021 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
2022 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
2023 and __memmove_niagara7.
2024 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
2025 Add niagara7 option.
2026 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
2027 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
2028 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
2029 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
2030 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
2032 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
2034 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
2035 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
2036 * sysdeps/sparc/sparc64/memmove.S: Likewise.
2037 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
2039 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
2040 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
2041 _dl_sparc_cap_flags array.
2042 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
2044 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
2046 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
2047 time whenever possible.
2049 2017-12-12 Carlos O'Donell <carlos@redhat.com>
2051 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
2052 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
2054 2017-12-12 Joseph Myers <joseph@codesourcery.com>
2056 * soft-fp/fmadf4.c: Move to ....
2057 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
2058 * soft-fp/fmasf4.c: Move to ....
2059 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
2060 * soft-fp/fmatf4.c: Move to ....
2061 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
2062 * sysdeps/ieee754/soft-fp/Makefile: New file.
2063 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
2064 * sysdeps/arm/preconfigure: Regenerated.
2065 * sysdeps/arm/nofpu/Implies: New file.
2066 * sysdeps/arm/s_fma.c: Remove file.
2067 * sysdeps/arm/s_fmaf.c: Likewise.
2068 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
2069 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
2070 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
2071 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
2072 * sysdeps/microblaze/s_fma.c: Remove file.
2073 * sysdeps/microblaze/s_fmaf.c: Likewise.
2074 * sysdeps/mips/mips32/nofpu/Implies: New file.
2075 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
2076 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
2077 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
2078 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
2079 * sysdeps/mips/ieee754/s_fma.c: Remove file.
2080 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
2081 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
2083 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
2084 * sysdeps/nios2/s_fma.c: Remove file.
2085 * sysdeps/nios2/s_fmaf.c: Likewise.
2086 * sysdeps/sh/nofpu/Implies: New file.
2087 * sysdeps/sh/s_fma.c: Remove file.
2088 * sysdeps/sh/s_fmaf.c: Likewise.
2089 * sysdeps/tile/Implies: Add ieee754/soft-fp.
2090 * sysdeps/tile/s_fma.c: Remove file.
2091 * sysdeps/tile/s_fmaf.c: Likewise.
2093 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
2095 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2096 Add s_cosf-sse2 and s_cosf-fma.
2097 (CFLAGS-s_cosf-fma.c): New.
2098 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
2099 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
2100 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
2102 2017-12-12 Steve Ellcey <sellcey@cavium.com>
2104 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
2106 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2108 * libio/Makefile (tests): Add tst-bz22415.
2109 (tst-bz22415-ENV): New rule.
2110 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
2111 (tests-special): Add tst-bz22415-mem.out.
2112 ($(objpfx)tst-bz22415-mem.out): New rule.
2113 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
2114 in case of a successful seek operation.
2115 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
2116 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
2118 * libio/tst-bz22415.c: New test.
2120 * sysdeps/ia64/fpu/libm-test-ulps: Update.
2122 2017-12-12 James Clarke <jrtc27@jrtc27.com>
2124 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
2125 __IPC_64 to 0 to avoid IPC_64 being set.
2127 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
2130 * math/bits/mathcalls.h (nextafter): Remove const.
2131 (nexttoward): Likewise.
2133 2017-12-12 Joseph Myers <joseph@codesourcery.com>
2135 * configure.ac (--with-fp): Remove configure option.
2136 (with_fp_cond): New variable.
2137 (libc_cv_with_fp): New configure test. Use this variable instead
2139 * configure: Regenerated.
2140 * config.make.in (with-fp): Use @libc_cv_with_fp@.
2141 * manual/install.texi (Configuring and compiling): Remove
2143 * INSTALL: Regenerated.
2144 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
2145 * sysdeps/mips/preconfigure (with_fp_cond): Define.
2146 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
2147 * sysdeps/sh/preconfigure (with_fp_cond): Define.
2148 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
2149 use --without-fp to configure glibc.
2151 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
2153 * manual/locale.texi (nl_langinfo): Fix a typo.
2155 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
2158 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
2160 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
2162 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
2163 (CFLAGS-argp-parse.c): Likewise.
2164 (CFLAGS-argp-fmtstream.c): Likewise.
2165 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
2166 (CPPFLAGS-sha512-crypt.c): Likewise.
2167 (CPPFLAGS-md5-crypt.c): Likewise.
2168 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
2169 (CFLAGS-stack_chk_fail_local.c): Likewise.
2170 (CFLAGS-backtrace.c): Likewise.
2171 (CFLAGS-sprintf_chk.c): Likewise.
2172 (CFLAGS-snprintf_chk.c): Likewise.
2173 (CFLAGS-vsprintf_chk.c): Likewise.
2174 (CFLAGS-vsnprintf_chk.c): Likewise.
2175 (CFLAGS-asprintf_chk.c): Likewise.
2176 (CFLAGS-vasprintf_chk.c): Likewise.
2177 (CFLAGS-obprintf_chk.c): Likewise.
2178 (CFLAGS-dprintf_chk.c): Likewise.
2179 (CFLAGS-vdprintf_chk.c): Likewise.
2180 (CFLAGS-printf_chk.c): Likewise.
2181 (CFLAGS-fprintf_chk.c): Likewise.
2182 (CFLAGS-vprintf_chk.c): Likewise.
2183 (CFLAGS-vfprintf_chk.c): Likewise.
2184 (CFLAGS-gets_chk.c): Likewise.
2185 (CFLAGS-fgets_chk.c): Likewise.
2186 (CFLAGS-fgets_u_chk.c): Likewise.
2187 (CFLAGS-fread_chk.c): Likewise.
2188 (CFLAGS-fread_u_chk.c): Likewise.
2189 (CFLAGS-swprintf_chk.c): Likewise.
2190 (CFLAGS-vswprintf_chk.c): Likewise.
2191 (CFLAGS-wprintf_chk.c): Likewise.
2192 (CFLAGS-fwprintf_chk.c): Likewise.
2193 (CFLAGS-vwprintf_chk.c): Likewise.
2194 (CFLAGS-vfwprintf_chk.c): Likewise.
2195 (CFLAGS-fgetws_chk.c): Likewise.
2196 (CFLAGS-fgetws_u_chk.c): Likewise.
2197 (CFLAGS-read_chk.c): Likewise.
2198 (CFLAGS-pread_chk.c): Likewise.
2199 (CFLAGS-pread64_chk.c): Likewise.
2200 (CFLAGS-recv_chk.c): Likewise.
2201 (CFLAGS-recvfrom_chk.c): Likewise.
2202 (CFLAGS-tst-longjmp_chk.c): Likewise.
2203 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
2204 (CFLAGS-tst-longjmp_chk2.c): Likewise.
2205 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
2206 (CFLAGS-tst-longjmp_chk3.c): Likewise.
2207 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
2208 (CFLAGS-tst-chk1.c): Likewise.
2209 (CFLAGS-tst-chk2.c): Likewise.
2210 (CFLAGS-tst-chk3.c): Likewise.
2211 (CFLAGS-tst-chk4.cc): Likewise.
2212 (CFLAGS-tst-chk5.cc): Likewise.
2213 (CFLAGS-tst-chk6.cc): Likewise.
2214 (CFLAGS-tst-lfschk1.c): Likewise.
2215 (CFLAGS-tst-lfschk2.c): Likewise.
2216 (CFLAGS-tst-lfschk3.c): Likewise.
2217 (CFLAGS-tst-lfschk4.cc): Likewise.
2218 (CFLAGS-tst-lfschk5.cc): Likewise.
2219 (CFLAGS-tst-lfschk6.cc): Likewise.
2220 (CFLAGS-tst-ssp-1.c): Likewise.
2221 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
2222 (CFLAGS-scandir64.c): Likewise.
2223 (CFLAGS-scandir-tail.c): Likewise.
2224 (CFLAGS-scandir64-tail.c): Likewise.
2225 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
2226 (CFLAGS-dl-tunables.c): Likewise.
2227 (CFLAGS-dl-runtime.c): Likewise.
2228 (CFLAGS-dl-lookup.c): Likewise.
2229 (CFLAGS-dl-iterate-phdr.c): Likewise.
2230 (CFLAGS-vismain.c): Likewise.
2231 (CFLAGS-tst-linkall-static.c): Likewise.
2232 (CFLAGS-tst-linkall-static.c): Likewise.
2233 (CPPFLAGS-dl-load.c): Likewise.
2234 (CFLAGS-ldconfig.c): Likewise.
2235 (CFLAGS-dl-cache.c): Likewise.
2236 (CFLAGS-cache.c): Likewise.
2237 (CFLAGS-rtld.c): Likewise.
2238 (CFLAGS-multiload.c): Likewise.
2239 (CFLAGS-filtmod1.c): Likewise.
2240 (CFLAGS-tst-align.c): Likewise.
2241 (CFLAGS-tst-align2.c): Likewise.
2242 (CFLAGS-tst-alignmod.c): Likewise.
2243 (CFLAGS-tst-alignmod2.c): Likewise.
2244 (CPPFLAGS-tst-execstack.c): Likewise.
2245 (CFLAGS-tst-ptrguard1-static.c): Likewise.
2246 (CFLAGS-tst-latepthreadmod.c): Likewise.
2247 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
2248 (CFLAGS-getgrnam_r.c): Likewise.
2249 (CFLAGS-getgrent_r.c): Likewise.
2250 (CFLAGS-getgrent.c): Likewise.
2251 (CFLAGS-fgetgrent.c): Likewise.
2252 (CFLAGS-fgetgrent_r.c): Likewise.
2253 (CFLAGS-putgrent.c): Likewise.
2254 (CFLAGS-initgroups.c): Likewise.
2255 (CFLAGS-getgrgid.c): Likewise.
2256 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
2257 (CFLAGS-getsgent.c): Likewise.
2258 (CFLAGS-fgetsgent.c): Likewise.
2259 (CFLAGS-fgetsgent_r.c): Likewise.
2260 (CFLAGS-putsgent.c): Likewise.
2261 (CFLAGS-getsgnam.c): Likewise.
2262 (CFLAGS-getsgnam_r.c): Likewise.
2263 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
2264 (CFLAGS-iconv_charmap.c): Likewise.
2265 (CFLAGS-dummy-repertoire.c): Likewise.
2266 (CFLAGS-charmap.c): Likewise.
2267 (CFLAGS-linereader.c): Likewise.
2268 (CFLAGS-simple-hash.c): Likewise.
2269 (CFLAGS-gconv_conf.c): Likewise.
2270 (CFLAGS-iconvconfig.c): Likewise.
2271 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
2272 (CFLAGS-gethstbyad.c): Likewise.
2273 (CFLAGS-gethstbynm_r.c): Likewise.
2274 (CFLAGS-gethstbynm.c): Likewise.
2275 (CFLAGS-gethstbynm2_r.c): Likewise.
2276 (CFLAGS-gethstbynm2.c): Likewise.
2277 (CFLAGS-gethstent_r.c): Likewise.
2278 (CFLAGS-gethstent.c): Likewise.
2279 (CFLAGS-rcmd.c): Likewise.
2280 (CFLAGS-getnetbynm_r.c): Likewise.
2281 (CFLAGS-getnetbynm.c): Likewise.
2282 (CFLAGS-getnetbyad_r.c): Likewise.
2283 (CFLAGS-getnetbyad.c): Likewise.
2284 (CFLAGS-getnetent_r.c): Likewise.
2285 (CFLAGS-getnetent.c): Likewise.
2286 (CFLAGS-getaliasent_r.c): Likewise.
2287 (CFLAGS-getaliasent.c): Likewise.
2288 (CFLAGS-getrpcent_r.c): Likewise.
2289 (CFLAGS-getrpcent.c): Likewise.
2290 (CFLAGS-getservent_r.c): Likewise.
2291 (CFLAGS-getservent.c): Likewise.
2292 (CFLAGS-getprtent_r.c): Likewise.
2293 (CFLAGS-getprtent.c): Likewise.
2294 (CFLAGS-either_ntoh.c): Likewise.
2295 (CFLAGS-either_hton.c): Likewise.
2296 (CFLAGS-getnetgrent.c): Likewise.
2297 (CFLAGS-getnetgrent_r.c): Likewise.
2298 (CFLAGS-tst-checks-posix.c): Likewise.
2299 (CFLAGS-tst-sockaddr.c): Likewise.
2300 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
2301 (CFLAGS-tst-translit.c): Likewise.
2302 (CFLAGS-tst-gettext2.c): Likewise.
2303 (CFLAGS-tst-codeset.c): Likewise.
2304 (CFLAGS-tst-gettext3.c): Likewise.
2305 (CFLAGS-tst-gettext4.c): Likewise.
2306 (CFLAGS-tst-gettext5.c): Likewise.
2307 (CFLAGS-tst-gettext6.c): Likewise.
2308 * io/Makefile (CFLAGS-open.c): Likewise.
2309 (CFLAGS-open64.c): Likewise.
2310 (CFLAGS-creat.c): Likewise.
2311 (CFLAGS-creat64.c): Likewise.
2312 (CFLAGS-fcntl.c): Likewise.
2313 (CFLAGS-poll.c): Likewise.
2314 (CFLAGS-ppoll.c): Likewise.
2315 (CFLAGS-lockf.c): Likewise.
2316 (CFLAGS-statfs.c): Likewise.
2317 (CFLAGS-fstatfs.c): Likewise.
2318 (CFLAGS-statvfs.c): Likewise.
2319 (CFLAGS-fstatvfs.c): Likewise.
2320 (CFLAGS-fts.c): Likewise.
2321 (CFLAGS-fts64.c): Likewise.
2322 (CFLAGS-ftw.c): Likewise.
2323 (CFLAGS-ftw64.c): Likewise.
2324 (CFLAGS-lockf.c): Likewise.
2325 (CFLAGS-posix_fallocate.c): Likewise.
2326 (CFLAGS-posix_fallocate64.c): Likewise.
2327 (CFLAGS-fallocate.c): Likewise.
2328 (CFLAGS-fallocate64.c): Likewise.
2329 (CFLAGS-read.c): Likewise.
2330 (CFLAGS-write.c): Likewise.
2331 (CFLAGS-test-stat.c): Likewise.
2332 (CFLAGS-test-lfs.c): Likewise.
2333 * libio/Makefile (CFLAGS-fileops.c): Likewise.
2334 (CFLAGS-fputc.c): Likewise.
2335 (CFLAGS-fputwc.c): Likewise.
2336 (CFLAGS-freopen64.c): Likewise.
2337 (CFLAGS-freopen.c): Likewise.
2338 (CFLAGS-fseek.c): Likewise.
2339 (CFLAGS-fseeko64.c): Likewise.
2340 (CFLAGS-fseeko.c): Likewise.
2341 (CFLAGS-ftello64.c): Likewise.
2342 (CFLAGS-ftello.c): Likewise.
2343 (CFLAGS-fwide.c): Likewise.
2344 (CFLAGS-genops.c): Likewise.
2345 (CFLAGS-getc.c): Likewise.
2346 (CFLAGS-getchar.c): Likewise.
2347 (CFLAGS-getwc.c): Likewise.
2348 (CFLAGS-getwchar.c): Likewise.
2349 (CFLAGS-iofclose.c): Likewise.
2350 (CFLAGS-iofflush.c): Likewise.
2351 (CFLAGS-iofgetpos64.c): Likewise.
2352 (CFLAGS-iofgetpos.c): Likewise.
2353 (CFLAGS-iofgets.c): Likewise.
2354 (CFLAGS-iofgetws.c): Likewise.
2355 (CFLAGS-iofputs.c): Likewise.
2356 (CFLAGS-iofputws.c): Likewise.
2357 (CFLAGS-iofread.c): Likewise.
2358 (CFLAGS-iofsetpos64.c): Likewise.
2359 (CFLAGS-iofsetpos.c): Likewise.
2360 (CFLAGS-ioftell.c): Likewise.
2361 (CFLAGS-iofwrite.c): Likewise.
2362 (CFLAGS-iogetdelim.c): Likewise.
2363 (CFLAGS-iogetline.c): Likewise.
2364 (CFLAGS-iogets.c): Likewise.
2365 (CFLAGS-iogetwline.c): Likewise.
2366 (CFLAGS-ioputs.c): Likewise.
2367 (CFLAGS-ioseekoff.c): Likewise.
2368 (CFLAGS-ioseekpos.c): Likewise.
2369 (CFLAGS-iosetbuffer.c): Likewise.
2370 (CFLAGS-iosetvbuf.c): Likewise.
2371 (CFLAGS-ioungetc.c): Likewise.
2372 (CFLAGS-ioungetwc.c): Likewise.
2373 (CFLAGS-oldfileops.c): Likewise.
2374 (CFLAGS-oldiofclose.c): Likewise.
2375 (CFLAGS-oldiofgetpos64.c): Likewise.
2376 (CFLAGS-oldiofgetpos.c): Likewise.
2377 (CFLAGS-oldiofsetpos64.c): Likewise.
2378 (CFLAGS-oldiofsetpos.c): Likewise.
2379 (CFLAGS-peekc.c): Likewise.
2380 (CFLAGS-putc.c): Likewise.
2381 (CFLAGS-putchar.c): Likewise.
2382 (CFLAGS-putwc.c): Likewise.
2383 (CFLAGS-putwchar.c): Likewise.
2384 (CFLAGS-rewind.c): Likewise.
2385 (CFLAGS-wfileops.c): Likewise.
2386 (CFLAGS-wgenops.c): Likewise.
2387 (CFLAGS-oldiofopen.c): Likewise.
2388 (CFLAGS-iofopen.c): Likewise.
2389 (CFLAGS-iofopen64.c): Likewise.
2390 (CFLAGS-oldtmpfile.c): Likewise.
2391 (CFLAGS-tst_putwc.c): Likewise.
2392 * locale/Makefile (CFLAGS-md5.c): Likewise.
2393 (CFLAGS-charmap.c): Likewise.
2394 (CFLAGS-locfile.c): Likewise.
2395 (CFLAGS-charmap-dir.c): Likewise.
2396 * login/Makefile (CFLAGS-grantpt.c): Likewise.
2397 (CFLAGS-getpt.c): Likewise.
2398 (CFLAGS-pt_chown.c): Likewise.
2399 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
2400 (CFLAGS-obstack.c): Likewise.
2401 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
2402 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
2403 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
2404 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
2405 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
2406 (CFLAGS-test-tgmath.c): Likewise.
2407 (CFLAGS-test-tgmath2.c): Likewise.
2408 (CFLAGS-test-tgmath-ret.c): Likewise.
2409 (CFLAGS-test-powl.c): Likewise.
2410 (CFLAGS-test-snan.c): Likewise.
2411 (CFLAGS-test-signgam-finite.c): Likewise.
2412 (CFLAGS-test-signgam-finite-c99.c): Likewise.
2413 (CFLAGS-test-signgam-finite-c11.c): Likewise.
2414 (CFLAGS-test-signgam-uchar.c): Likewise.
2415 (CFLAGS-test-signgam-uchar-init.c): Likewise.
2416 (CFLAGS-test-signgam-uchar-static.c): Likewise.
2417 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
2418 (CFLAGS-test-signgam-uint.c): Likewise.
2419 (CFLAGS-test-signgam-uint-init.c): Likewise.
2420 (CFLAGS-test-signgam-uint-static.c): Likewise.
2421 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
2422 (CFLAGS-test-signgam-ullong.c): Likewise.
2423 (CFLAGS-test-signgam-ullong-init.c): Likewise.
2424 (CFLAGS-test-signgam-ullong-static.c): Likewise.
2425 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
2426 (CFLAGS-test-math-cxx11.cc): Likewise.
2427 (CFLAGS-test-math-isinff.cc): Likewise.
2428 (CFLAGS-test-math-iszero.cc): Likewise.
2429 (CFLAGS-test-math-issignaling.cc): Likewise.
2430 (CFLAGS-test-math-iscanonical.cc): Likewise.
2431 (CFLAGS-test-iszero-excess-precision.c): Likewise.
2432 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
2433 (CFLAGS-test-flt-eval-method.c): Likewise.
2434 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
2435 (CFLAGS-test-finite-macros.c): Likewise.
2436 * misc/Makefile (CFLAGS-select.c): Likewise.
2437 (CFLAGS-tsearch.c): Likewise.
2438 (CFLAGS-lsearch.c): Likewise.
2439 (CFLAGS-pselect.c): Likewise.
2440 (CFLAGS-readv.c): Likewise.
2441 (CFLAGS-writev.c): Likewise.
2442 (CFLAGS-preadv.c): Likewise.
2443 (CFLAGS-preadv64.c): Likewise.
2444 (CFLAGS-pwritev.c): Likewise.
2445 (CFLAGS-pwritev64.c): Likewise.
2446 (CFLAGS-preadv2.c): Likewise.
2447 (CFLAGS-preadv64v2.c): Likewise.
2448 (CFLAGS-pwritev2.c): Likewise.
2449 (CFLAGS-pwritev64v2.c): Likewise.
2450 (CFLAGS-usleep.c): Likewise.
2451 (CFLAGS-syslog.c): Likewise.
2452 (CFLAGS-error.c): Likewise.
2453 (CFLAGS-getpass.c): Likewise.
2454 (CFLAGS-mkstemp.c): Likewise.
2455 (CFLAGS-mkstemp64.c): Likewise.
2456 (CFLAGS-getsysstats.c): Likewise.
2457 (CFLAGS-getusershell.c): Likewise.
2458 (CFLAGS-err.c): Likewise.
2459 (CFLAGS-tst-tsearch.c): Likewise.
2460 (CFLAGS-msync.c): Likewise.
2461 (CFLAGS-fdatasync.c): Likewise.
2462 (CFLAGS-fsync.c): Likewise.
2463 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
2464 (CFLAGS-unwind.c): Likewise.
2465 (CFLAGS-unwind-forcedunwind.c): Likewise.
2466 (CFLAGS-pthread_cancel.c): Likewise.
2467 (CFLAGS-pthread_setcancelstate.c): Likewise.
2468 (CFLAGS-pthread_setcanceltype.c): Likewise.
2469 (CFLAGS-cancellation.c): Likewise.
2470 (CFLAGS-libc-cancellation.c): Likewise.
2471 (CFLAGS-pthread_exit.c): Likewise.
2472 (CFLAGS-forward.c): Likewise.
2473 (CFLAGS-pthread_testcancel.c): Likewise.
2474 (CFLAGS-pthread_join.c): Likewise.
2475 (CFLAGS-pthread_timedjoin.c): Likewise.
2476 (CFLAGS-pthread_once.c): Likewise.
2477 (CFLAGS-pthread_cond_wait.c): Likewise.
2478 (CFLAGS-sem_wait.c): Likewise.
2479 (CFLAGS-sem_timedwait.c): Likewise.
2480 (CFLAGS-fcntl.c): Likewise.
2481 (CFLAGS-lockf.c): Likewise.
2482 (CFLAGS-pread.c): Likewise.
2483 (CFLAGS-pread64.c): Likewise.
2484 (CFLAGS-pwrite.c): Likewise.
2485 (CFLAGS-pwrite64.c): Likewise.
2486 (CFLAGS-wait.c): Likewise.
2487 (CFLAGS-waitpid.c): Likewise.
2488 (CFLAGS-sigwait.c): Likewise.
2489 (CFLAGS-msgrcv.c): Likewise.
2490 (CFLAGS-msgsnd.c): Likewise.
2491 (CFLAGS-tcdrain.c): Likewise.
2492 (CFLAGS-open.c): Likewise.
2493 (CFLAGS-open64.c): Likewise.
2494 (CFLAGS-pause.c): Likewise.
2495 (CFLAGS-recv.c): Likewise.
2496 (CFLAGS-send.c): Likewise.
2497 (CFLAGS-accept.c): Likewise.
2498 (CFLAGS-sendto.c): Likewise.
2499 (CFLAGS-connect.c): Likewise.
2500 (CFLAGS-recvfrom.c): Likewise.
2501 (CFLAGS-recvmsg.c): Likewise.
2502 (CFLAGS-sendmsg.c): Likewise.
2503 (CFLAGS-close.c): Likewise.
2504 (CFLAGS-read.c): Likewise.
2505 (CFLAGS-write.c): Likewise.
2506 (CFLAGS-nanosleep.c): Likewise.
2507 (CFLAGS-sigsuspend.c): Likewise.
2508 (CFLAGS-msync.c): Likewise.
2509 (CFLAGS-fdatasync.c): Likewise.
2510 (CFLAGS-fsync.c): Likewise.
2511 (CFLAGS-pt-system.c): Likewise.
2512 (CFLAGS-tst-cleanup2.c): Likewise.
2513 (CFLAGS-tst-cleanupx2.c): Likewise.
2514 (CFLAGS-flockfile.c): Likewise.
2515 (CFLAGS-ftrylockfile.c): Likewise.
2516 (CFLAGS-funlockfile.c): Likewise.
2517 (CFLAGS-tst-initializers1.c): Likewise.
2518 (CFLAGS-tst-initializers1-c89.c): Likewise.
2519 (CFLAGS-tst-initializers1-c99.c): Likewise.
2520 (CFLAGS-tst-initializers1-c11.c): Likewise.
2521 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
2522 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
2523 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
2524 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
2525 (CFLAGS-nscd_getgr_r.c): Likewise.
2526 (CFLAGS-nscd_gethst_r.c): Likewise.
2527 (CFLAGS-nscd_getai.c): Likewise.
2528 (CFLAGS-nscd_initgroups.c): Likewise.
2529 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
2530 (CFLAGS-pause.c): Likewise.
2531 (CFLAGS-pread.c): Likewise.
2532 (CFLAGS-pread64.c): Likewise.
2533 (CFLAGS-pwrite.c): Likewise.
2534 (CFLAGS-pwrite64.c): Likewise.
2535 (CFLAGS-sleep.c): Likewise.
2536 (CFLAGS-wait.c): Likewise.
2537 (CFLAGS-waitid.c): Likewise.
2538 (CFLAGS-waitpid.c): Likewise.
2539 (CFLAGS-getopt.c): Likewise.
2540 (CFLAGS-wordexp.c): Likewise.
2541 (CFLAGS-sysconf.c): Likewise.
2542 (CFLAGS-pathconf.c): Likewise.
2543 (CFLAGS-fpathconf.c): Likewise.
2544 (CFLAGS-spawn.c): Likewise.
2545 (CFLAGS-spawnp.c): Likewise.
2546 (CFLAGS-spawni.c): Likewise.
2547 (CFLAGS-glob.c): Likewise.
2548 (CFLAGS-glob64.c): Likewise.
2549 (CFLAGS-getconf.c): Likewise.
2550 (CFLAGS-nanosleep.c): Likewise.
2551 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
2552 (CFLAGS-getpwent.c): Likewise.
2553 (CFLAGS-getpw.c): Likewise.
2554 (CFLAGS-fgetpwent_r.c): Likewise.
2555 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
2556 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
2557 (CFLAGS-mq_timedreceive.c): Likewise.
2558 (CFLAGS-mq_timedsend.c): Likewise.
2559 (CFLAGS-clock_nanosleep.c): Likewise.
2560 (CFLAGS-librt-cancellation.c): Likewise.
2561 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
2562 (CFLAGS-getspent.c): Likewise.
2563 (CFLAGS-fgetspent.c): Likewise.
2564 (CFLAGS-fgetspent_r.c): Likewise.
2565 (CFLAGS-putspent.c): Likewise.
2566 (CFLAGS-getspnam.c): Likewise.
2567 (CFLAGS-getspnam_r.c): Likewise.
2568 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
2569 (CFLAGS-sigsuspend.c): Likewise.
2570 (CFLAGS-sigtimedwait.c): Likewise.
2571 (CFLAGS-sigwait.c): Likewise.
2572 (CFLAGS-sigwaitinfo.c): Likewise.
2573 (CFLAGS-sigreturn.c): Likewise.
2574 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
2575 (CFLAGS-vfwprintf.c): Likewise.
2576 (CFLAGS-tmpfile.c): Likewise.
2577 (CFLAGS-tmpfile64.c): Likewise.
2578 (CFLAGS-tempname.c): Likewise.
2579 (CFLAGS-psignal.c): Likewise.
2580 (CFLAGS-vprintf.c): Likewise.
2581 (CFLAGS-cuserid.c): Likewise.
2582 (CFLAGS-errlist.c): Likewise.
2583 (CFLAGS-siglist.c): Likewise.
2584 (CFLAGS-scanf15.c): Likewise.
2585 (CFLAGS-scanf17.c): Likewise.
2586 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
2587 (CFLAGS-msort.c): Likewise.
2588 (CFLAGS-qsort.c): Likewise.
2589 (CFLAGS-system.c): Likewise.
2590 (CFLAGS-fmtmsg.c): Likewise.
2591 (CFLAGS-strfmon.c): Likewise.
2592 (CFLAGS-strfmon_l.c): Likewise.
2593 (CFLAGS-strfromd.c): Likewise.
2594 (CFLAGS-strfromf.c): Likewise.
2595 (CFLAGS-strfroml.c): Likewise.
2596 (CFLAGS-tst-bsearch.c): Likewise.
2597 (CFLAGS-tst-qsort.c): Likewise.
2598 (CFLAGS-tst-makecontext2.c): Likewise.
2599 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
2600 (CFLAGS-xnlm_prot.c): Likewise.
2601 (CFLAGS-xrstat.c): Likewise.
2602 (CFLAGS-xyppasswd.c): Likewise.
2603 (CFLAGS-xklm_prot.c): Likewise.
2604 (CFLAGS-xrex.c): Likewise.
2605 (CFLAGS-xsm_inter.c): Likewise.
2606 (CFLAGS-xmount.c): Likewise.
2607 (CFLAGS-xrusers.c): Likewise.
2608 (CFLAGS-xspray.c): Likewise.
2609 (CFLAGS-xnfs_prot.c): Likewise.
2610 (CFLAGS-xrquota.c): Likewise.
2611 (CFLAGS-xkey_prot.c): Likewise.
2612 (CFLAGS-auth_unix.c): Likewise.
2613 (CFLAGS-key_call.c): Likewise.
2614 (CFLAGS-pmap_rmt.c): Likewise.
2615 (CFLAGS-clnt_perr.c): Likewise.
2616 (CFLAGS-openchild.c): Likewise.
2617 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
2618 (CFLAGS-msgsnd.c): Likewise.
2619 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
2620 * time/Makefile (CFLAGS-tzfile.c): Likewise.
2621 (CFLAGS-tzset.c): Likewise.
2622 (CFLAGS-getdate.c): Likewise.
2623 (CFLAGS-test_time.c): Likewise.
2624 (CPPFLAGS-tst-tzname.c): Likewise.
2625 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
2626 (CFLAGS-zic.c): Likewise.
2627 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
2628 (CFLAGS-wcswidth.c): Likewise.
2629 (CFLAGS-wcstol.c): Likewise.
2630 (CFLAGS-wcstoul.c): Likewise.
2631 (CFLAGS-wcstoll.c): Likewise.
2632 (CFLAGS-wcstoull.c): Likewise.
2633 (CFLAGS-wcstod.c): Likewise.
2634 (CFLAGS-wcstold.c): Likewise.
2635 (CFLAGS-wcstof128.c): Likewise.
2636 (CFLAGS-wcstof.c): Likewise.
2637 (CFLAGS-wcstol_l.c): Likewise.
2638 (CFLAGS-wcstoul_l.c): Likewise.
2639 (CFLAGS-wcstoll_l.c): Likewise.
2640 (CFLAGS-wcstoull_l.c): Likewise.
2641 (CFLAGS-wcstod_l.c): Likewise.
2642 (CFLAGS-wcstold_l.c): Likewise.
2643 (CFLAGS-wcstof128_l.c): Likewise.
2644 (CFLAGS-wcstof_l.c): Likewise.
2645 (CPPFLAGS-tst-wchar-h.c): Likewise.
2646 (CPPFLAGS-wcstold_l.c): Likewise.
2648 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
2650 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
2652 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2653 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2655 * manual/tunables.texi (Hardware Capability Tunables): Document
2656 glibc.tune.cached_memopt.
2657 * sysdeps/powerpc/cpu-features.c: New file.
2658 * sysdeps/powerpc/cpu-features.h: New file.
2659 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
2660 _dl_powerpc_cpu_features.
2661 * sysdeps/powerpc/dl-tunables.list: New file.
2662 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
2663 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
2664 (INIT_ARCH): Initialize use_aligned_memopt.
2665 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
2666 IS_IN(rtld))]: Restrict dl_platform_init availability and
2667 initialize CPU features used by tunables.
2668 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
2669 Add memcpy-power8-cached.
2670 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
2671 __memcpy_power8_cached.
2672 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
2673 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
2676 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
2678 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
2679 (CFLAGS-noinl-tester.c): Likewise.
2680 (CFLAGS-tst-strlen.c): Likewise.
2681 (CFLAGS-stratcliff.c): Likewise.
2682 (CFLAGS-test-ffs.c): Likewise.
2683 (CFLAGS-tst-inlcall.c): Likewise.
2684 (CFLAGS-tst-xbzero-opt.c): Likewise.
2685 (CFLAGS-memcpy.c): Likewise.
2686 (CFLAGS-wordcopy.c): Likewise.
2688 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2690 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
2691 Store r15 on stack and add cfi rule.
2692 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
2695 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
2698 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
2701 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
2703 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2704 Add s_sinf-sse2 and s_sinf-fma.
2705 (CFLAGS-s_sinf-fma.c): New.
2706 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
2707 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
2708 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
2710 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
2712 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
2714 2017-12-07 Joseph Myers <joseph@codesourcery.com>
2717 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
2718 part of result to imaginary part of argument if it is zero and the
2719 real part of the argument is not finite.
2720 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
2721 of result to real part of argument if it is zero and the imaginary
2722 part of the argument is not finite.
2724 2017-12-07 Mike FABIAN <mfabian@redhat.com>
2727 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
2728 and to the list of locales to be built for testing.
2729 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
2730 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
2731 and build the collation rules upon that.
2733 2017-12-07 Joseph Myers <joseph@codesourcery.com>
2735 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
2736 * manual/math.texi (Mathematics): Document support for _Float32.
2737 * math/Makefile (test-types): Add float32.
2738 * math/Versions (GLIBC_2.27): Add _Float32 functions.
2739 * stdlib/Versions (GLIBC_2.27): Likewise.
2740 * wcsmbs/Versions (GLIBC_2.27): Likewise.
2741 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
2742 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2743 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2744 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2745 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2746 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2747 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2748 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2749 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2750 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2751 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2752 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2753 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2754 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2755 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2756 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2757 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2758 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2759 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2760 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2761 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
2763 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2764 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2765 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2766 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2767 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2785 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2786 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2787 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2788 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2789 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2790 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2791 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2792 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2793 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2794 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2795 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
2797 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2799 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
2801 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2803 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2804 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2805 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2806 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2807 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2808 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2809 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
2810 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
2812 2017-12-06 Joseph Myers <joseph@codesourcery.com>
2814 * stdlib/strtof.c: Include <bits/floatn.h>
2815 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
2816 and later undefine as macro. Define as weak alias if
2818 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
2819 and later undefine as macro. Define as weak alias if
2821 * stdlib/strtof_l.c: Include <bits/floatn.h>
2822 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
2823 and later undefine as macro. Define as weak alias if
2825 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
2826 and later undefine as macro. Define as weak alias if
2829 * stdlib/strfromf.c: Include <bits/floatn.h>.
2830 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
2831 and later undefine as macro and define as weak alias.
2833 * math/test-float32.h: New file.
2835 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
2836 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
2837 (libm_alias_float_other_r): Create f32 alias.
2838 (libm_alias_float_r): Use semicolon before call to
2839 libm_alias_float_other_r.
2841 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
2842 second argument to libm_alias_float_other.
2843 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
2844 second argument to libm_alias_float_other.
2845 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
2846 argument to libm_alias_float_other.
2849 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
2850 real part of result for argument 0 + i * NaN.
2851 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
2852 results for tests of 0 + i * NaN.
2854 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2856 * sysdeps/alpha/fpu/libm-test-ulps: Update.
2858 2017-12-06 David S. Miller <davem@davemloft.net>
2860 * sysdeps/sparc/fpu/libm-test-ulps: Update
2861 exp_{downward,towardzero,upward} ulps.
2863 2017-12-06 Joseph Myers <joseph@codesourcery.com>
2865 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
2868 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
2870 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
2872 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
2874 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
2877 2017-12-06 Mike FABIAN <mfabian@redhat.com>
2880 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
2881 and to the list of locales to be built for testing.
2882 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
2883 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
2884 and build the collation rules upon that.
2886 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2888 * NEWS: Add sinf to list of optimized functions.
2890 2017-12-06 Joseph Myers <joseph@codesourcery.com>
2892 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
2893 (__HAVE_FLOAT32X): Likewise.
2894 * manual/math.texi (Mathematics): Document support for _Float64
2896 * math/Makefile (test-types): Add float64 and float32x.
2897 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
2899 * stdlib/Versions (GLIBC_2.27): Likewise.
2900 * wcsmbs/Versions (GLIBC_2.27): Likewise.
2901 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
2902 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2903 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2904 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2905 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2906 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2907 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2908 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2909 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2910 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2911 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2912 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2913 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2914 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2915 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2916 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2917 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2918 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2919 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2920 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2921 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
2923 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2924 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2925 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2926 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2927 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2944 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2945 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2946 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2947 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2948 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2949 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2950 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2951 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2952 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2953 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2954 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
2956 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2958 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
2960 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2962 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2963 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2964 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2965 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2966 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2967 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2968 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
2969 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
2971 2017-12-05 Joseph Myers <joseph@codesourcery.com>
2973 * bits/floatn-common.h: Include <bits/long-double.h>.
2974 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
2975 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
2976 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
2977 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
2978 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
2979 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
2980 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
2981 (__builtin_huge_valf64): Use __builtin_huge_vall.
2982 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
2983 (__builtin_inff64): Use __builtin_infl.
2984 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
2985 (__builtin_nanf64): Use __builtin_nanl.
2986 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
2987 (__builtin_nansf64): Use __builtin_nansl.
2989 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>,
2990 Paul E. Murphy <murphyp@linux.vnet.ibm.com>,
2991 Carlos O'Donnell <carlos@redhat.com>
2993 * elf/dl-tunables.list: Add elision parameters.
2994 * manual/tunables.texi: Add entries about elision tunable.
2995 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
2996 Add callback functions to dynamically enable/disable elision.
2997 Add multiple callbacks functions to set elision parameters.
2998 Deleted __libc_enable_secure check.
2999 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
3000 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
3001 * configure: Regenerated.
3002 * configure.ac: Option enable_lock_elision was deleted.
3003 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
3004 * config.make.in: Remove references to enable_lock_elision.
3005 * manual/install.texi: Elision configure option was removed.
3006 * INSTALL: Regenerated to remove enable_lock_elision.
3008 Disable elision so it can verify error case for destroying a mutex.
3009 * sysdeps/powerpc/nptl/elide.h:
3010 Cleanup ENABLE_LOCK_ELISION check.
3011 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
3012 * sysdeps/s390/configure: Regenerated.
3013 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
3014 * nptl/tst-mutex8.c:
3015 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
3016 * sysdeps/powerpc/powerpc32/sysdep.h:
3017 Deleted all ENABLE_LOCK_ELISION checks.
3018 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
3019 * sysdeps/powerpc/sysdep.h: Likewise.
3020 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
3021 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
3022 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
3023 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
3024 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3025 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
3026 enable-lock-elision.
3028 2017-12-05 Joseph Myers <joseph@codesourcery.com>
3030 * stdlib/strtod.c: Include <bits/floatn.h>.
3031 (BUILD_DOUBLE): New macro.
3032 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
3033 (strtof64): Define and later undefine as macro. Define as weak
3034 alias if [!USE_WIDE_CHAR].
3035 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
3036 (wcstof64): Define and later undefine as macro. Define as weak
3037 alias if [USE_WIDE_CHAR].
3038 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
3039 (strtof32x): Define and later undefine as macro. Define as weak
3040 alias if [!USE_WIDE_CHAR].
3041 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
3042 (wcstof32x): Define and later undefine as macro. Define as weak
3043 alias if [USE_WIDE_CHAR].
3044 * stdlib/strtod_l.c: Include <bits/floatn.h>.
3045 (BUILD_DOUBLE): New macro.
3046 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
3047 (strtof64_l): Define and later undefine as macro. Define as weak
3048 alias if [!USE_WIDE_CHAR].
3049 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
3050 (wcstof64_l): Define and later undefine as macro. Define as weak
3051 alias if [USE_WIDE_CHAR].
3052 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
3053 (strtof32x_l): Define and later undefine as macro. Define as weak
3054 alias if [!USE_WIDE_CHAR].
3055 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
3056 (wcstof32x_l): Define and later undefine as macro. Define as weak
3057 alias if [USE_WIDE_CHAR].
3059 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3061 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
3062 (reduced): Use ones as double instead of integer.
3064 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
3066 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
3068 2017-12-05 Joseph Myers <joseph@codesourcery.com>
3070 * stdlib/strfromd.c: Include <bits/floatn.h>.
3071 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
3072 and later undefine as macro and define as weak alias.
3073 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
3076 * math/test-float32x.h: New file.
3077 * math/test-float64.h: Likewise.
3079 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
3080 (libm_alias_double_other_r_f64): New macro.
3081 (libm_alias_double_other_r_f32x): Likewise.
3082 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
3083 libm_alias_double_other_r_f32x.
3084 (libm_alias_double_r): Use semicolon before call to
3085 libm_alias_double_other_r.
3086 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
3088 (libm_alias_double_other_r_f64): New macro.
3089 (libm_alias_double_other_r_f32x): Likewise.
3090 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
3091 libm_alias_double_other_r_f32x.
3093 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
3095 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
3097 (SINF_FUNC): Likewise. Replace floor with simple casts.
3099 2017-12-05 Mike FABIAN <mfabian@redhat.com>
3102 * localedata/Makefile: Add et_EE.UTF-8 to test-input
3103 and to the list of locales to be built for testing.
3104 * localedata/et_EE.UTF-8.in: New file for testing the collation.
3105 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
3106 and build the collation rules upon that.
3108 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
3110 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
3111 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
3112 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
3113 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
3114 instead of __insn__xxx.
3115 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
3116 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
3117 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
3118 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
3119 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
3120 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
3122 2017-12-05 Florian Weimer <fweimer@redhat.com>
3124 Linux: Implement interfaces for memory protection keys
3125 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
3127 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
3128 * support/xunistd.h (xsysconf): Declare.
3129 * support/xraise.c: New file.
3130 * support/xsigaction.c: Likewise.
3131 * support/xsignal.c: Likewise.
3132 * support/xsysconf.c: Likewise.
3133 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
3134 pkey_set, pkey_get, pkey_mprotect.
3135 [misc] (tests): Add tst-pkey.
3136 (tst-pkey): Link with -lpthread.
3137 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
3138 pkey_free, pkey_set, pkey_get, pkey_mprotect.
3139 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
3140 (PKEY_DISABLE_WRITE): Define.
3141 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
3143 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
3145 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
3146 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
3147 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
3148 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
3150 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
3151 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
3152 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
3153 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
3154 * sysdeps/unix/sysv/linux/**.abilist: Update.
3156 2017-12-05 Florian Weimer <fweimer@redhat.com>
3158 * support/tst-test_compare.c (subprocess): Use long long instead
3159 of long argument for consistent type width across 32-bit and
3160 64-bit architectures.
3161 (do_test): Adjust expected output.
3163 2017-12-05 Joseph Myers <joseph@codesourcery.com>
3165 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
3166 (cosf): Define using libm_alias_float.
3167 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
3168 (fabsf): Define using libm_alias_float.
3169 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
3170 (fmaf): Define using libm_alias_float.
3171 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
3172 (rintf): Define using libm_alias_float.
3173 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
3174 (sinf): Define using libm_alias_float.
3175 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
3176 <libm-alias-float.h>.
3177 (modff): Define using libm_alias_float.
3178 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
3179 <libm-alias-float.h>.
3180 (logbf): Define using libm_alias_float.
3181 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
3182 <libm-alias-float.h>.
3183 (ceilf): Define using libm_alias_float.
3184 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
3185 <libm-alias-float.h>.
3186 (copysignf): Define using libm_alias_float.
3187 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
3188 <libm-alias-float.h>.
3189 (floorf): Define using libm_alias_float.
3190 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
3191 <libm-alias-float.h>.
3192 (llrintf): Define using libm_alias_float.
3193 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
3194 <libm-alias-float.h>.
3195 (llroundf): Define using libm_alias_float.
3196 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
3197 <libm-alias-float.h>.
3198 (lrintf): Define using libm_alias_float.
3199 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
3200 <libm-alias-float.h>.
3201 (lroundf): Define using libm_alias_float.
3202 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
3203 <libm-alias-float.h>.
3204 (nearbyintf): Define using libm_alias_float.
3205 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
3206 <libm-alias-float.h>.
3207 (rintf): Define using libm_alias_float.
3208 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
3209 <libm-alias-float.h>.
3210 (roundf): Define using libm_alias_float.
3211 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
3212 <libm-alias-float.h>.
3213 (truncf): Define using libm_alias_float.
3214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
3215 Include <libm-alias-float.h>.
3216 (ceilf): Define using libm_alias_float.
3217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
3218 Include <libm-alias-float.h>.
3219 (copysignf): Define using libm_alias_float.
3220 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
3221 Include <libm-alias-float.h>.
3222 (floorf): Define using libm_alias_float.
3223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
3224 Include <libm-alias-float.h>.
3225 (llrintf): Define using libm_alias_float.
3226 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
3227 Include <libm-alias-float.h>.
3228 (llroundf): Define using libm_alias_float.
3229 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
3230 Include <libm-alias-float.h>.
3231 (logbf): Define using libm_alias_float.
3232 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
3233 Include <libm-alias-float.h>.
3234 (lrintf): Define using libm_alias_float.
3235 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
3236 Include <libm-alias-float.h>.
3237 (lroundf): Define using libm_alias_float.
3238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
3239 Include <libm-alias-float.h>.
3240 (modff): Define using libm_alias_float.
3241 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
3242 Include <libm-alias-float.h>.
3243 (roundf): Define using libm_alias_float.
3244 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
3245 Include <libm-alias-float.h>.
3246 (truncf): Define using libm_alias_float.
3247 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
3248 <libm-alias-float.h>.
3249 (llrintf): Define using libm_alias_float.
3250 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
3251 <libm-alias-float.h>.
3252 (llroundf): Define using libm_alias_float.
3253 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
3254 <libm-alias-float.h>.
3255 (ceilf): Define using libm_alias_float.
3256 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
3257 <libm-alias-float.h>.
3258 (floorf): Define using libm_alias_float.
3259 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
3260 <libm-alias-float.h>.
3261 (llroundf): Define using libm_alias_float.
3262 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
3263 <libm-alias-float.h>.
3264 (lroundf): Define using libm_alias_float.
3265 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
3266 <libm-alias-float.h>.
3267 (roundf): Define using libm_alias_float.
3268 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
3269 <libm-alias-float.h>.
3270 (truncf): Define using libm_alias_float.
3271 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
3272 <libm-alias-float.h>.
3273 (copysignf): Define using libm_alias_float.
3274 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
3275 <libm-alias-float.h>.
3276 (llrintf): Define using libm_alias_float.
3277 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
3278 <libm-alias-float.h>.
3279 (llroundf): Define using libm_alias_float.
3280 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
3281 <libm-alias-float.h>.
3282 (lrintf): Define using libm_alias_float.
3283 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
3284 <libm-alias-float.h>.
3285 (lroundf): Define using libm_alias_float.
3286 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
3287 <libm-alias-float.h>.
3288 (ceilf): Define using libm_alias_float.
3289 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
3290 <libm-alias-float.h>.
3291 (copysignf): Define using libm_alias_float.
3292 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
3293 <libm-alias-float.h>.
3294 (cosf): Define using libm_alias_float.
3295 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
3296 <libm-alias-float.h>.
3297 (floorf): Define using libm_alias_float.
3298 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
3299 <libm-alias-float.h>.
3300 (llrintf): Define using libm_alias_float.
3301 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
3302 <libm-alias-float.h>.
3303 (llroundf): Define using libm_alias_float.
3304 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
3305 <libm-alias-float.h>.
3306 (logbf): Define using libm_alias_float.
3307 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
3308 <libm-alias-float.h>.
3309 (modff): Define using libm_alias_float.
3310 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
3311 <libm-alias-float.h>.
3312 (roundf): Define using libm_alias_float.
3313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
3314 <libm-alias-float.h>.
3315 (sinf): Define using libm_alias_float.
3316 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
3317 <libm-alias-float.h>.
3318 (truncf): Define using libm_alias_float.
3319 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
3320 <libm-alias-float.h>.
3321 (ceilf): Define using libm_alias_float.
3322 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
3323 <libm-alias-float.h>.
3324 (copysignf): Define using libm_alias_float.
3325 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
3326 <libm-alias-float.h>.
3327 (floorf): Define using libm_alias_float.
3328 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
3329 <libm-alias-float.h>.
3330 (llrintf): Define using libm_alias_float.
3331 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
3332 <libm-alias-float.h>.
3333 (llroundf): Define using libm_alias_float.
3334 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
3335 <libm-alias-float.h>.
3336 (nearbyintf): Define using libm_alias_float.
3337 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
3338 <libm-alias-float.h>.
3339 (rintf): Define using libm_alias_float.
3340 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
3341 <libm-alias-float.h>.
3342 (roundf): Define using libm_alias_float.
3343 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
3344 <libm-alias-float.h>.
3345 (truncf): Define using libm_alias_float.
3346 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
3347 <libm-alias-float.h>.
3348 (ceilf): Define using libm_alias_float.
3349 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
3350 <libm-alias-float.h>.
3351 (floorf): Define using libm_alias_float.
3352 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
3353 <libm-alias-float.h>.
3354 (llroundf): Define using libm_alias_float.
3355 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
3356 <libm-alias-float.h>.
3357 (roundf): Define using libm_alias_float.
3358 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
3359 <libm-alias-float.h>.
3360 (truncf): Define using libm_alias_float.
3361 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
3362 <libm-alias-float.h>.
3363 (copysignf): Define using libm_alias_float.
3364 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
3365 <libm-alias-float.h>.
3366 (llrintf): Define using libm_alias_float.
3367 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
3368 <libm-alias-float.h>.
3369 (llroundf): Define using libm_alias_float.
3370 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
3371 <libm-alias-float.h>.
3372 (cosf): Define using libm_alias_float.
3373 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
3374 <libm-alias-float.h>.
3375 (llrintf): Define using libm_alias_float.
3376 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
3377 <libm-alias-float.h>.
3378 (llroundf): Define using libm_alias_float.
3379 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
3380 <libm-alias-float.h>.
3381 (sinf): Define using libm_alias_float.
3383 2017-12-04 Florian Weimer <fweimer@redhat.com>
3385 * support/check.h (TEST_COMPARE): Define.
3386 (support_test_compare_failure): Declare.
3387 * support/Makefile (libsupport-routines): Add
3388 support_test_compare_failure.
3389 (tests): Add tst-test_compare.
3390 * support /support_test_compare_failure.c: New file.
3391 * support/tst-test_compare.c: Likewise.
3393 2017-12-04 Mike FABIAN <mfabian@redhat.com>
3396 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
3397 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
3398 available, this rewrite of the collation rules does reproduce
3399 the test file in the same order.
3401 2017-12-04 Mike FABIAN <mfabian@redhat.com>
3404 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
3405 digraphs in the month and day names. Using single code points for
3406 digraphs is deprecated. While there are dedicated Unicode
3407 codepoints, for the digraphs, these are included for backwards
3408 compatibility and modern texts use a sequence of Basic Latin
3409 characters. See: https://www.unicode.org/faq/ligature_digraph.html
3410 This makes the month and day names agree exactly with CLDR now,
3411 CLDR does not use the single code points for the digraphs either.
3413 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
3415 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
3417 2017-12-04 Joseph Myers <joseph@codesourcery.com>
3419 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
3422 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
3424 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
3425 Define only for libc.so.
3427 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
3429 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
3430 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
3431 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
3432 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
3433 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3435 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3438 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
3440 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
3443 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
3444 PREINIT_FUNCTION_WEAK is nonzero.
3445 (gmon_initializer): New function. Put procedure label for it in
3446 .init_array section.
3447 (_init): Don't call PREINIT_FUNCTION.
3448 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
3449 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
3450 value when map argument is null.
3452 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
3453 depi instruction from PIC pc-relative sequence.
3454 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
3455 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
3456 (elf_machine_load_address): Likewise.
3457 (elf_machine_runtime_setup): Likewise.
3459 2017-12-02 Joseph Myers <joseph@codesourcery.com>
3461 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
3462 <libm-alias-double.h>.
3463 (logb): Define using libm_alias_double.
3464 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
3465 <libm-alias-double.h>.
3466 (copysign): Define using libm_alias_double.
3467 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
3468 <libm-alias-double.h>.
3469 (llrint): Define using libm_alias_double.
3470 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
3471 <libm-alias-double.h>.
3472 (llround): Define using libm_alias_double.
3473 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
3474 <libm-alias-double.h>.
3475 (lrint): Define using libm_alias_double.
3476 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
3477 <libm-alias-double.h>.
3478 (lround): Define using libm_alias_double.
3479 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
3480 Include <libm-alias-double.h>.
3481 (copysign): Define using libm_alias_double.
3482 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
3483 Include <libm-alias-double.h>.
3484 (llrint): Define using libm_alias_double.
3485 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
3486 Include <libm-alias-double.h>.
3487 (llround): Define using libm_alias_double.
3488 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
3489 <libm-alias-double.h>.
3490 (logb): Define using libm_alias_double.
3491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
3492 Include <libm-alias-double.h>.
3493 (lrint): Define using libm_alias_double.
3494 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
3495 Include <libm-alias-double.h>.
3496 (lround): Define using libm_alias_double.
3497 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
3498 <libm-alias-double.h>.
3499 (llrint): Define using libm_alias_double.
3500 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
3501 <libm-alias-double.h>.
3502 (llround): Define using libm_alias_double.
3503 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
3504 <libm-alias-double.h>.
3505 (llround): Define using libm_alias_double.
3506 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
3507 <libm-alias-double.h>.
3508 (lround): Define using libm_alias_double.
3509 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
3510 <libm-alias-double.h>.
3511 (copysign): Define using libm_alias_double.
3512 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
3513 <libm-alias-double.h>.
3514 (llrint): Define using libm_alias_double.
3515 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
3516 <libm-alias-double.h>.
3517 (llround): Define using libm_alias_double.
3518 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
3519 <libm-alias-double.h>.
3520 (lrint): Define using libm_alias_double.
3521 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
3522 <libm-alias-double.h>.
3523 (lround): Define using libm_alias_double.
3524 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
3525 <libm-alias-double.h>.
3526 (copysign): Define using libm_alias_double.
3527 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
3528 <libm-alias-double.h>.
3529 (llrint): Define using libm_alias_double.
3531 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
3532 <libm-alias-double.h>.
3533 (llround): Define using libm_alias_double.
3535 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
3536 <libm-alias-double.h>.
3537 (logb): Define using libm_alias_double.
3538 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
3539 <libm-alias-double.h>.
3540 (copysign): Define using libm_alias_double.
3541 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
3542 <libm-alias-double.h>.
3543 (llrint): Define using libm_alias_double.
3545 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
3546 <libm-alias-double.h>.
3547 (llround): Define using libm_alias_double.
3549 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
3550 <libm-alias-double.h>.
3551 (llround): Define using libm_alias_double.
3553 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
3554 <libm-alias-double.h>.
3555 (copysign): Define using libm_alias_double.
3556 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
3557 <libm-alias-double.h>.
3558 (llrint): Define using libm_alias_double.
3560 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
3561 <libm-alias-double.h>.
3562 (llround): Define using libm_alias_double.
3564 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
3565 <libm-alias-double.h>.
3566 (llrint): Define using libm_alias_double.
3568 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
3569 <libm-alias-double.h>.
3570 (llround): Define using libm_alias_double.
3573 2017-12-01 Joseph Myers <joseph@codesourcery.com>
3575 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
3576 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
3577 compat symbol based on llround.
3579 * sysdeps/powerpc/power7/fpu/s_logb.c
3580 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
3581 symbol based on __logb, not on logb.
3582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
3583 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
3584 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
3585 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
3587 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
3588 (rint): Define using libm_alias_double.
3589 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
3590 <libm-alias-double.h>.
3591 (modf): Define using libm_alias_double.
3592 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
3593 <libm-alias-double.h>.
3594 (ceil): Define using libm_alias_double.
3595 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
3596 <libm-alias-double.h>.
3597 (floor): Define using libm_alias_double.
3598 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
3599 <libm-alias-double.h>.
3600 (nearbyint): Define using libm_alias_double.
3601 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
3602 <libm-alias-double.h>.
3603 (rint): Define using libm_alias_double.
3604 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
3605 <libm-alias-double.h>.
3606 (round): Define using libm_alias_double.
3607 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
3608 <libm-alias-double.h>.
3609 (trunc): Define using libm_alias_double.
3610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
3611 <libm-alias-double.h>.
3612 (ceil): Define using libm_alias_double.
3613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
3614 Include <libm-alias-double.h>.
3615 (floor): Define using libm_alias_double.
3616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
3617 <libm-alias-double.h>.
3618 (modf): Define using libm_alias_double.
3619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
3620 Include <libm-alias-double.h>.
3621 (round): Define using libm_alias_double.
3622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
3623 Include <libm-alias-double.h>.
3624 (trunc): Define using libm_alias_double.
3625 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
3626 <libm-alias-double.h>.
3627 (ceil): Define using libm_alias_double.
3628 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
3629 <libm-alias-double.h>.
3630 (floor): Define using libm_alias_double.
3631 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
3632 <libm-alias-double.h>.
3633 (round): Define using libm_alias_double.
3634 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
3635 <libm-alias-double.h>.
3636 (trunc): Define using libm_alias_double.
3637 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
3638 <libm-alias-double.h>.
3639 (ceil): Define using libm_alias_double.
3640 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
3641 <libm-alias-double.h>.
3642 (floor): Define using libm_alias_double.
3643 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
3644 <libm-alias-double.h>.
3645 (modf): Define using libm_alias_double.
3646 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
3647 <libm-alias-double.h>.
3648 (round): Define using libm_alias_double.
3649 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
3650 <libm-alias-double.h>.
3651 (trunc): Define using libm_alias_double.
3652 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
3653 <libm-alias-double.h>.
3654 (ceil): Define using libm_alias_double.
3655 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
3656 <libm-alias-double.h>.
3657 (floor): Define using libm_alias_double.
3658 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
3659 <libm-alias-double.h>.
3660 (nearbyint): Define using libm_alias_double.
3661 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
3662 <libm-alias-double.h>.
3663 (rint): Define using libm_alias_double.
3664 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
3665 <libm-alias-double.h>.
3666 (round): Define using libm_alias_double.
3667 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
3668 <libm-alias-double.h>.
3669 (trunc): Define using libm_alias_double.
3670 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
3671 <libm-alias-double.h>.
3672 (ceil): Define using libm_alias_double.
3673 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
3674 <libm-alias-double.h>.
3675 (floor): Define using libm_alias_double.
3676 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
3677 <libm-alias-double.h>.
3678 (round): Define using libm_alias_double.
3679 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
3680 <libm-alias-double.h>.
3681 (trunc): Define using libm_alias_double.
3683 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
3684 (fabs): Define using libm_alias_double.
3685 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
3686 (fma): Define using libm_alias_double.
3687 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
3688 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
3689 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
3690 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
3692 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3694 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
3696 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
3697 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
3698 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
3700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
3703 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
3705 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
3707 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3709 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
3710 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
3711 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
3712 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
3714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
3715 (libm-sysdep_routines): Add s_nearbyintf-generic and
3716 s_nearbyint-generic.
3717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
3719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
3720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
3722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
3724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
3726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
3729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
3730 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
3731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
3733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
3734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
3736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
3737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
3738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
3740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
3741 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
3742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
3744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
3745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
3747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
3748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
3749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
3751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
3752 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
3753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
3755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
3756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
3758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
3759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
3760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
3762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
3763 (sysdep_calls): New rule.
3764 (sysdep_routines): Use sysdep_calls as base.
3765 (libm-sysdep_routines): Add generic rule for symbols shared with
3766 libc. Add s_copysign-generic and s_copysign-generic objects.
3767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
3769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
3770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
3772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
3773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
3774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
3776 2017-12-01 Mike FABIAN <mfabian@redhat.com>
3779 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
3780 the list of locales to be built for testing.
3781 * localedata/is_IS.UTF-8.in: New file.
3782 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
3785 2017-12-01 Joseph Myers <joseph@codesourcery.com>
3787 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
3788 <libm-alias-float.h>.
3789 (fabsf): Define using libm_alias_float.
3791 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
3793 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
3795 2017-11-30 Joseph Myers <joseph@codesourcery.com>
3797 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
3798 <libm-alias-float.h>.
3799 (fabsf): Define using libm_alias_float.
3800 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
3801 <libm-alias-float.h>.
3802 (lrintf): Define using libm_alias_float.
3803 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
3804 <libm-alias-float.h>.
3805 (rintf): Define using libm_alias_float.
3807 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
3808 <libm-alias-double.h>.
3809 (fabs): Define using libm_alias_double.
3810 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
3811 <libm-alias-double.h>.
3812 (lrint): Define using libm_alias_double.
3813 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
3814 <libm-alias-double.h>.
3815 (rint): Define using libm_alias_double.
3817 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
3818 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
3819 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
3820 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
3821 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
3822 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
3823 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
3824 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
3825 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
3826 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
3827 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
3828 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
3829 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
3830 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
3831 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
3832 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
3833 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
3834 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
3836 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
3837 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
3838 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
3840 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
3841 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
3842 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
3844 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
3845 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
3846 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
3848 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
3849 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
3850 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
3852 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
3853 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
3854 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
3856 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
3857 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
3858 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
3860 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
3861 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
3863 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
3864 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
3865 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
3867 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
3868 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
3869 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
3870 s_nearbyint_template.c.
3871 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
3872 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
3873 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
3874 s_remquo_template.c.
3875 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
3876 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
3877 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
3879 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
3880 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
3881 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
3883 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
3884 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
3885 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
3886 s_sincos_template.c.
3887 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
3888 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
3889 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
3891 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
3892 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
3893 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
3895 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
3896 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
3897 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
3899 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
3900 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
3901 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
3902 s_atan.c instead of including s_atan.c.
3903 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
3904 s_atanf.c instead of including s_atanf.c.
3905 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
3906 s_atanl.c instead of including s_atanl.c.
3907 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
3908 instead of s_atan.c.
3909 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
3910 instead of s_atanf.c.
3911 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
3912 instead of s_atanl.c.
3914 * scripts/update-copyrights: Do not handle intl/plural.c
3917 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
3920 * configure.ac (BISON): Require to be present.
3921 * configure: Regenerated.
3922 * intl/Makefile (generated): Add plural.c.
3923 [$(BISON) != no]: Make code unconditional.
3924 (plural.c): Change rule to $(objpfx)plural.c.
3925 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
3926 * intl/plural.c: Remove.
3927 * manual/install.texi (Tools for Compilation): Document bison as
3929 * INSTALL: Regenerated.
3931 2017-11-30 Joseph Myers <joseph@codesourcery.com>
3933 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
3934 <libm-alias-double.h>.
3935 (llrint): Define using libm_alias_double.
3936 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
3937 <libm-alias-float.h>.
3938 (llrintf): Define using libm_alias_float.
3939 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
3940 <libm-alias-ldouble.h>.
3941 (llrintl): Define using libm_alias_ldouble.
3943 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
3944 declare_mgen_alias instead of weak_alias.
3945 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
3946 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
3947 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
3949 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3951 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
3953 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
3954 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
3955 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
3957 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
3958 Add submul_1-generic.
3959 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
3960 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
3961 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
3963 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
3964 Add addmul_1-generic.
3965 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
3966 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
3967 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
3969 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
3971 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
3972 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
3973 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
3975 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
3977 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
3978 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
3979 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
3981 2017-11-30 Mike FABIAN <mfabian@redhat.com>
3983 According to CLDR, collation rules for Serbian and Bosnian
3984 should be the same as for Croatian.
3987 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
3988 and to the list of locales to be built for testing.
3989 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
3990 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
3991 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
3992 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
3994 2017-11-30 Mike FABIAN <mfabian@redhat.com>
3996 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
3997 to make test case pass.
3998 * localedata/hr_HR.UTF-8.in: Add more test strings.
4000 2017-11-30 Mike FABIAN <mfabian@redhat.com>
4002 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
4004 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
4006 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
4007 the list of locales to built for testing.
4008 * localedata/hr_HR.UTF-8.in: New file.
4010 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
4013 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
4015 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
4016 CLDR (except use ligatures for the digraphs, CLDR does not use
4017 the ligatures), add first_workday, some fixes in the date and time
4019 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
4021 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
4022 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
4023 Add int_p_cs_precedes and int_n_cs_precedes.
4024 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
4025 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
4027 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
4028 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
4030 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
4031 and lang_lib. Change postal_fmt.
4033 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
4035 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
4037 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
4038 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
4039 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
4040 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
4041 * sysdeps/generic/setjmpP.h: New file.
4042 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
4043 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
4044 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
4045 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
4046 Add jmp_buf-ssp.sym.
4047 (tests): Add tst-saved_mask-1.
4049 2017-11-30 Arjun Shankar <arjun@redhat.com>
4053 * malloc/malloc.c (__libc_malloc): Use checked_request2size
4054 instead of request2size.
4056 2017-11-30 Joseph Myers <joseph@codesourcery.com>
4058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
4059 (__lllrint): Remove alias.
4060 (lllrint): Likewise.
4061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
4062 (__lllrintf): Likewise.
4063 (lllrintf): Likewise.
4065 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
4066 <libm-alias-float.h>.
4067 (copysignf): Define using libm_alias_float.
4068 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
4069 <libm-alias-float.h>.
4070 (fabsf): Define using libm_alias_float.
4071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
4072 Include <libm-alias-float.h>.
4073 (copysignf): Define using libm_alias_float.
4074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
4075 <libm-alias-float.h>.
4076 (fabsf): Define using libm_alias_float.
4077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
4078 <libm-alias-float.h>.
4079 (fdimf): Define using libm_alias_float.
4080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
4081 <libm-alias-float.h>.
4082 (fmaf): Define using libm_alias_float.
4083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
4084 <libm-alias-float.h>.
4085 (llrintf): Define using libm_alias_float.
4086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
4087 Include <libm-alias-float.h>.
4088 (nearbyintf): Define using libm_alias_float.
4089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
4090 <libm-alias-float.h>.
4091 (rintf): Define using libm_alias_float.
4092 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
4093 <libm-alias-float.h>.
4094 (llrintf): Define using libm_alias_float.
4095 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
4096 <libm-alias-float.h>.
4097 (lrintf): Define using libm_alias_float.
4098 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
4099 <libm-alias-float.h>.
4100 (nearbyintf): Define using libm_alias_float.
4101 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
4102 <libm-alias-float.h>.
4103 (rintf): Define using libm_alias_float.
4104 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
4105 <libm-alias-float.h>.
4106 (ceilf): Define using libm_alias_float.
4107 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
4108 <libm-alias-float.h>.
4109 (floorf): Define using libm_alias_float.
4110 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
4111 <libm-alias-float.h>.
4112 (fmaf): Define using libm_alias_float.
4113 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
4114 <libm-alias-float.h>.
4115 (lrintf): Define using libm_alias_float.
4116 (llrintf): Likewise.
4117 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
4118 <libm-alias-float.h>.
4119 (nearbyintf): Define using libm_alias_float.
4120 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
4121 <libm-alias-float.h>.
4122 (rintf): Define using libm_alias_float.
4123 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
4124 <libm-alias-float.h>.
4125 (truncf): Define using libm_alias_float.
4126 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
4127 <libm-alias-float.h>.
4128 (copysignf): Define using libm_alias_float.
4129 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
4130 <libm-alias-float.h>.
4131 (fabsf): Define using libm_alias_float.
4132 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
4133 <libm-alias-float.h>.
4134 (lrintf): Define using libm_alias_float.
4135 (llrintf): Likewise.
4136 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
4137 <libm-alias-float.h>.
4138 (nearbyintf): Define using libm_alias_float.
4139 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
4140 <libm-alias-float.h>.
4141 (rintf): Define using libm_alias_float.
4143 2017-11-29 Joseph Myers <joseph@codesourcery.com>
4145 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
4146 <libm-alias-double.h>.
4147 (copysign): Define using libm_alias_double.
4148 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
4149 <libm-alias-double.h>.
4150 (fabs): Define using libm_alias_double.
4151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
4152 Include <libm-alias-double.h>.
4153 (copysign): Define using libm_alias_double.
4154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
4155 <libm-alias-double.h>.
4156 (fabs): Define using libm_alias_double.
4157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
4158 <libm-alias-double.h>.
4159 (fdim): Define using libm_alias_double.
4160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
4161 <libm-alias-double.h>.
4162 (fma): Define using libm_alias_double.
4163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
4164 <libm-alias-double.h>.
4165 (llrint): Define using libm_alias_double.
4166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
4167 Include <libm-alias-double.h>.
4168 (nearbyint): Define using libm_alias_double.
4169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
4170 <libm-alias-double.h>.
4171 (rint): Define using libm_alias_double.
4172 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
4173 <libm-alias-double.h>.
4174 (fabs): Define using libm_alias_double.
4175 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
4176 <libm-alias-double.h>.
4177 (llrint): Define using libm_alias_double.
4178 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
4179 <libm-alias-double.h>.
4180 (nearbyint): Define using libm_alias_double.
4181 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
4182 <libm-alias-double.h>.
4183 (rint): Define using libm_alias_double.
4184 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
4185 <libm-alias-double.h>.
4186 (ceil): Define using libm_alias_double.
4187 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
4188 <libm-alias-double.h>.
4189 (floor): Define using libm_alias_double.
4190 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
4191 <libm-alias-double.h>.
4192 (fma): Define using libm_alias_double.
4193 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
4194 <libm-alias-double.h>.
4195 (lrint): Define using libm_alias_double.
4197 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
4198 <libm-alias-double.h>.
4199 (nearbyint): Define using libm_alias_double.
4200 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
4201 <libm-alias-double.h>.
4202 (rint): Define using libm_alias_double.
4203 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
4204 <libm-alias-double.h>.
4205 (trunc): Define using libm_alias_double.
4206 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
4207 <libm-alias-double.h>.
4208 (copysign): Define using libm_alias_double.
4209 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
4210 <libm-alias-double.h>.
4211 (fabs): Define using libm_alias_double.
4212 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
4213 <libm-alias-double.h>.
4214 (lrint): Define using libm_alias_double.
4216 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
4217 <libm-alias-double.h>.
4218 (nearbyint): Define using libm_alias_double.
4219 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
4220 <libm-alias-double.h>.
4221 (rint): Define using libm_alias_double.
4224 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
4226 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
4228 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
4229 SPARC --disable-multi-arch glibc variants.
4231 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
4232 <libm-alias-float.h>.
4233 (exp2f): Define using libm_alias_float, or libm_alias_float_other
4235 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
4236 <libm-alias-float.h>.
4237 (exp2f): Define using libm_alias_float, or libm_alias_float_other
4239 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
4240 <libm-alias-float.h>.
4241 (exp2f): Define using libm_alias_float, or libm_alias_float_other
4243 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
4244 <libm-alias-float.h>.
4245 (exp2f): Define using libm_alias_float, or libm_alias_float_other
4247 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
4248 <libm-alias-float.h>.
4249 (exp2f): Define using libm_alias_float, or libm_alias_float_other
4251 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
4252 <libm-alias-float.h>.
4253 (ceilf): Define using libm_alias_float.
4254 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
4255 <libm-alias-float.h>.
4256 (floorf): Define using libm_alias_float.
4257 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
4258 <libm-alias-float.h>.
4259 (fmaf): Define using libm_alias_float.
4260 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
4261 <libm-alias-float.h>.
4262 (nearbyintf): Define using libm_alias_float.
4263 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
4264 <libm-alias-float.h>.
4265 (rintf): Define using libm_alias_float.
4266 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
4267 <libm-alias-float.h>.
4268 (truncf): Define using libm_alias_float.
4269 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
4270 (copysignf): Define using libm_alias_float.
4271 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
4272 (cosf): Define using libm_alias_float.
4273 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
4274 (fabsf): Define using libm_alias_float.
4275 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
4276 (fmaxf): Define using libm_alias_float.
4277 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
4278 (fminf): Define using libm_alias_float.
4279 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
4280 (llrintf): Define using libm_alias_float.
4281 [!__ILP32__] (lrintf): Likewise.
4282 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
4283 (sincosf): Define using libm_alias_float.
4284 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
4285 (sinf): Define using libm_alias_float.
4286 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
4287 (lrintf): Define using libm_alias_float.
4289 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
4290 <libm-alias-double.h>.
4291 (atan): Define using libm_alias_double.
4292 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
4293 <libm-alias-double.h>.
4294 (ceil): Define using libm_alias_double.
4295 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
4296 <libm-alias-double.h>.
4297 (floor): Define using libm_alias_double.
4298 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
4299 <libm-alias-double.h>.
4300 (fma): Define using libm_alias_double.
4301 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
4302 <libm-alias-double.h>.
4303 (nearbyint): Define using libm_alias_double.
4304 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
4305 <libm-alias-double.h>.
4306 (rint): Define using libm_alias_double.
4307 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
4308 <libm-alias-double.h>.
4309 (sin): Define using libm_alias_double.
4311 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
4312 <libm-alias-double.h>.
4313 (tan): Define using libm_alias_double.
4314 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
4315 <libm-alias-double.h>.
4316 (trunc): Define using libm_alias_double.
4317 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
4318 (copysign): Define using libm_alias_double.
4319 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
4320 (fabs): Define using libm_alias_double.
4321 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
4322 (fmax): Define using libm_alias_double.
4323 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
4324 (fmin): Define using libm_alias_double.
4325 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
4326 (llrint): Define using libm_alias_double.
4327 [!__ILP32__] (lrint): Likewise.
4328 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
4329 (lrint): Define using libm_alias_double.
4331 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4333 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
4334 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
4336 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
4337 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
4338 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
4339 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
4340 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
4341 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
4343 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
4344 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
4346 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
4347 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
4348 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
4349 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
4350 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
4351 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
4353 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
4354 (libm-sysdep_routines): Add s_nearbyint-generic and
4355 s_nearbyintf-generic objects.
4356 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
4357 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
4358 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
4359 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
4360 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
4361 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
4363 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
4364 Add s_finitef-generic and s_finite-generic objects.
4365 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
4366 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
4367 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
4368 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
4369 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
4370 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
4372 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
4373 Add s_isinff-generic and s_isinf-generic objects.
4374 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
4375 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
4376 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
4377 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
4378 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
4379 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
4381 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
4382 Add s_isnanf-generic and s_isnan-generic objects.
4383 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
4384 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
4385 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
4386 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
4387 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
4388 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
4390 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
4392 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
4394 (sysdep_routines): Use sysdep_calls as base.
4395 (libm-sysdep_routines): Add generic rule for symbols shared with
4396 libc. Add s_signbit-generic and s_signbitf-generic objects.
4397 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
4398 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
4399 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
4400 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
4401 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
4402 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
4404 2017-11-29 Joseph Myers <joseph@codesourcery.com>
4406 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
4407 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
4408 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
4409 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
4410 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
4411 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
4412 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
4413 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
4414 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
4415 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
4416 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
4417 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
4418 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
4420 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
4421 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
4423 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
4424 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
4425 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
4426 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
4427 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
4428 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
4429 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
4430 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
4431 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
4432 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
4434 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
4436 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
4437 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
4438 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
4439 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
4440 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
4441 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
4442 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
4443 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
4444 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
4445 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
4446 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
4447 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
4448 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
4449 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
4450 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
4451 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
4452 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
4453 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
4454 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
4456 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
4457 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
4458 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
4459 * sysdeps/ia64/fpu/w_lgammaf_main.c
4460 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
4461 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
4463 2017-11-28 Mike FABIAN <mfabian@redhat.com>, Alexandre Oliva <aoliva@redhat.com>
4466 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
4467 * localedata/fr_CA.UTF-8.in: New file with test data for backward
4469 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
4471 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
4472 * localedata/locales/de_DE (LC_COLLATE): Likewise.
4473 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
4474 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
4475 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
4476 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
4477 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
4478 instead of “ifdef DIACRIT_BACKWARD”.
4480 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4482 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
4483 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
4484 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
4485 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
4486 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
4487 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
4488 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
4489 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
4490 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
4491 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
4492 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
4493 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
4494 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
4495 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
4496 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
4497 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
4498 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
4499 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
4500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
4501 ($(have-as-vis3) == yes): Remove conditional.
4502 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
4504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
4506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
4508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
4510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
4512 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
4513 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
4514 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
4515 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
4516 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
4517 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
4518 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
4519 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
4521 2017-11-29 Joseph Myers <joseph@codesourcery.com>
4523 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
4524 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
4525 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
4526 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
4527 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
4528 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
4529 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
4530 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
4531 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
4532 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
4533 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
4534 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
4535 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
4536 libm_alias_double_r.
4537 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
4539 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
4540 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
4541 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
4542 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
4543 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
4544 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
4545 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
4546 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
4547 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
4548 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
4549 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
4551 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
4553 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
4554 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
4555 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
4556 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
4557 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
4558 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
4559 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
4560 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
4561 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
4562 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
4563 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
4564 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
4565 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
4566 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
4567 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
4568 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
4569 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
4570 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
4572 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
4573 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
4574 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
4575 * sysdeps/ia64/fpu/w_lgamma_main.c
4576 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
4577 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
4579 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
4581 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
4582 address of $global$ into %dp register earlier. Use pc-relative
4583 instruction sequence for PIC case.
4585 2017-11-28 Joseph Myers <joseph@codesourcery.com>
4587 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
4588 (asinhf): Define using libm_alias_float.
4589 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
4590 (atanf): Define using libm_alias_float.
4591 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
4592 (cbrtf): Define using libm_alias_float.
4593 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
4594 (ceilf): Define using libm_alias_float.
4595 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
4596 (copysignf): Define using libm_alias_float.
4597 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
4598 (expm1f): Define using libm_alias_float.
4599 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
4600 (fabsf): Define using libm_alias_float.
4601 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
4602 (floorf): Define using libm_alias_float.
4603 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
4604 (fmaxf): Define using libm_alias_float.
4605 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
4606 (fminf): Define using libm_alias_float.
4607 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
4608 (frexpf): Define using libm_alias_float.
4609 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
4610 (llrintf): Define using libm_alias_float.
4611 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
4612 (logbf): Define using libm_alias_float.
4613 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
4614 (lrintf): Define using libm_alias_float.
4615 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
4616 (nearbyintf): Define using libm_alias_float.
4617 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
4618 (remquof): Define using libm_alias_float.
4619 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
4620 (rintf): Define using libm_alias_float.
4621 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
4622 (truncf): Define using libm_alias_float.
4623 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
4624 <libm-alias-float.h>.
4625 (exp2f): Define using libm_alias_float, or libm_alias_float_other
4627 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
4628 <libm-alias-float.h>.
4629 (expf): Define using libm_alias_float, or libm_alias_float_other
4631 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
4632 <libm-alias-float.h>.
4633 (log2f): Define using libm_alias_float, or libm_alias_float_other
4635 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
4636 <libm-alias-float.h>.
4637 (logf): Define using libm_alias_float, or libm_alias_float_other
4639 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
4640 <libm-alias-float.h>.
4641 (powf): Define using libm_alias_float, or libm_alias_float_other
4643 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
4644 <libm-alias-float.h>.
4645 (cosf): Define using libm_alias_float.
4646 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
4647 <libm-alias-float.h>.
4648 (sincosf): Define using libm_alias_float.
4649 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
4650 <libm-alias-float.h>.
4651 (sinf): Define using libm_alias_float.
4652 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
4653 (fmaxf): Define using libm_alias_float.
4654 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
4655 (fminf): Define using libm_alias_float.
4656 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
4657 <libm-alias-float.h>.
4658 (fmaf): Define using libm_alias_float.
4660 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
4661 (asinh): Define using libm_alias_double.
4662 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
4663 (atan): Define using libm_alias_double.
4664 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
4665 (cbrt): Define using libm_alias_double.
4666 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
4667 (ceil): Define using libm_alias_double.
4668 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
4669 (copysign): Define using libm_alias_double.
4670 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
4671 (expm1): Define using libm_alias_double.
4672 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
4673 (fabs): Define using libm_alias_double.
4674 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
4675 (fdim): Define using libm_alias_double.
4676 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
4677 (floor): Define using libm_alias_double.
4678 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
4679 (fmax): Define using libm_alias_double.
4680 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
4681 (fmin): Define using libm_alias_double.
4682 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
4683 (frexp): Define using libm_alias_double.
4684 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
4685 (llrint): Define using libm_alias_double.
4686 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
4687 (logb): Define using libm_alias_double.
4688 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
4689 (lrint): Define using libm_alias_double.
4690 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
4691 (nearbyint): Define using libm_alias_double.
4692 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
4693 (remquo): Define using libm_alias_double.
4694 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
4695 (rint): Define using libm_alias_double.
4696 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
4697 (trunc): Define using libm_alias_double.
4698 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
4699 (fmax): Define using libm_alias_double.
4700 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
4701 (fmin): Define using libm_alias_double.
4702 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
4703 (fma): Define using libm_alias_double.
4705 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
4708 * elf/dl-hwcaps.c (ROUND): Removed.
4709 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
4710 and ELF_NOTE_NEXT_OFFSET.
4711 * elf/dl-load.c (ROUND): Removed.
4712 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
4713 * elf/readelflib.c (ROUND): Removed.
4714 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
4715 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
4716 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
4717 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
4719 2017-11-28 Joseph Myers <joseph@codesourcery.com>
4721 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
4722 [!__fmaf] (fmaf): Define using libm_alias_float.
4724 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
4725 [!__fma] (fma): Define using libm_alias_double.
4726 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
4728 2017-11-28 Mike FABIAN <mfabian@redhat.com>
4731 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
4732 and implement the collation rules for cs from CLDR on top of that.
4733 * Makefile: Add cs_CZ.UTF-8 to test-input.
4734 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
4736 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
4738 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
4740 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
4741 Icarus Sparry <icarus.w.sparry@intel.com>
4743 * benchtests/Makefile:Add BENCHSET to allow subsets of
4744 benchmarks to be run.
4745 * benchtests/README: Add documentation for: Running subsets of
4748 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
4750 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
4751 range of tests names.
4753 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
4754 result from property and remove "max", min" and "mean" from
4755 required properties based on benchtests/bench-skeleton.c.
4757 2017-11-28 Florian Weimer <fweimer@redhat.com>
4760 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
4761 due to Internet requirement.
4762 * posix/Makefile (tests): Remove tst-getaddrinfo4,
4764 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
4766 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4768 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
4769 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
4770 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
4771 (sysdep_routines): Add memset-ultra1.
4772 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
4774 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
4775 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
4776 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
4777 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
4778 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
4779 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
4780 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
4781 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4783 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
4785 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
4786 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
4787 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
4788 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
4789 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
4790 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
4791 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
4793 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
4794 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
4795 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
4796 (sysdep_routines): Add memcpy-ultra1.
4797 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
4798 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
4800 2017-11-28 Joseph Myers <joseph@codesourcery.com>
4802 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
4803 (cfloat_versions): Take function argument without trailing 'f'.
4804 Call libm_alias_float_other.
4805 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
4806 * sysdeps/alpha/fpu/cargf.c: Likewise.
4807 * sysdeps/alpha/fpu/cimagf.c: Likewise.
4808 * sysdeps/alpha/fpu/conjf.c: Likewise.
4809 * sysdeps/alpha/fpu/crealf.c: Likewise.
4810 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
4811 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
4812 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
4813 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
4814 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
4815 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
4816 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
4817 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
4818 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
4819 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
4820 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
4821 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
4822 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
4823 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
4824 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
4825 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
4826 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
4827 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
4828 (clog10f): Use libm_alias_float_other.
4829 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
4830 (ceilf): Define using libm_alias_float.
4831 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
4832 (copysignf): Define using libm_alias_float.
4833 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
4834 (fabsf): Define using libm_alias_float.
4835 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
4836 (floorf): Define using libm_alias_float.
4837 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
4838 (fmaxf): Define using libm_alias_float.
4839 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
4840 (fminf): Define using libm_alias_float.
4841 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
4842 (lrintf): Define using libm_alias_float.
4843 (llrintf): Likewise.
4844 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
4845 (lroundf): Define using libm_alias_float.
4846 (llroundf): Likewise.
4847 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
4848 (rintf): Define using libm_alias_float.
4849 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
4850 (truncf): Define using libm_alias_float.
4852 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
4853 (ceilf): Define using libm_alias_float.
4854 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
4855 (floorf): Define using libm_alias_float.
4856 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
4857 (fmaf): Define using libm_alias_float.
4858 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
4859 (fmaxf): Define using libm_alias_float.
4860 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
4861 (fminf): Define using libm_alias_float.
4862 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
4863 (llrintf): Define using libm_alias_float.
4864 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
4865 (llroundf): Define using libm_alias_float.
4866 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
4867 (lrintf): Define using libm_alias_float.
4868 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
4869 (lroundf): Define using libm_alias_float.
4870 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
4871 <libm-alias-float.h>.
4872 (nearbyintf): Define using libm_alias_float.
4873 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
4874 (rintf): Define using libm_alias_float.
4875 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
4876 (roundf): Define using libm_alias_float.
4877 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
4878 (truncf): Define using libm_alias_float.
4880 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
4881 (ceil): Define using libm_alias_double.
4882 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
4883 (copysign): Define using libm_alias_double.
4884 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
4885 (fabs): Define using libm_alias_double.
4886 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
4887 (floor): Define using libm_alias_double.
4888 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
4889 (fmax): Define using libm_alias_double.
4890 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
4891 (fmin): Define using libm_alias_double.
4892 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
4893 (lrint): Define using libm_alias_double.
4895 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
4896 (lround): Define using libm_alias_double.
4897 (llround): Likewise.
4898 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
4899 (rint): Define using libm_alias_double.
4900 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
4901 (trunc): Define using libm_alias_double.
4903 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
4904 (libm_alias_double_r): Add semicolon after weak_alias call.
4906 2017-11-27 Joseph Myers <joseph@codesourcery.com>
4908 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
4909 (ceil): Define using libm_alias_double.
4910 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
4911 (floor): Define using libm_alias_double.
4912 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
4913 (fma): Define using libm_alias_double.
4914 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
4915 (fmax): Define using libm_alias_double.
4916 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
4917 (fmin): Define using libm_alias_double.
4918 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
4919 (llrint): Define using libm_alias_double.
4920 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
4921 (llround): Define using libm_alias_double.
4922 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
4923 (lrint): Define using libm_alias_double.
4924 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
4925 (lround): Define using libm_alias_double.
4926 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
4927 (nearbyint): Define using libm_alias_double.
4928 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
4929 (rint): Define using libm_alias_double.
4930 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
4931 (round): Define using libm_alias_double.
4932 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
4933 (trunc): Define using libm_alias_double.
4935 2017-11-27 Florian Weimer <fweimer@redhat.com>
4937 * sysdeps/unix/sysv/linux/mlock2.c: New file.
4938 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
4939 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
4940 (tests): Add tst-mlock2.
4941 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
4942 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
4943 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
4944 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
4945 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
4946 for mlock. Document mlock2.
4948 2017-11-27 Joseph Myers <joseph@codesourcery.com>
4950 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
4951 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
4953 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
4955 * sysdeps/x86/Makeconfig: New file.
4956 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
4957 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
4958 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
4959 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
4960 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
4961 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
4962 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
4964 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
4965 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
4966 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
4967 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
4968 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
4969 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
4970 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
4971 * manual/math.texi (Mathematics): Document support for _Float64x.
4972 * math/Versions (GLIBC_2.27): Add _Float64x functions.
4973 * stdlib/Versions (GLIBC_2.27): Likewise.
4974 * wcsmbs/Versions (GLIBC_2.27): Likewise.
4975 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
4976 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4977 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4978 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4979 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4980 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4981 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4982 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4983 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4984 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4985 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
4988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4990 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4991 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4992 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4993 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4994 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4995 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4996 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4997 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4998 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4999 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5000 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5001 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5002 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
5003 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
5005 2017-11-27 Andreas Schwab <schwab@suse.de>
5007 * elf/Makefile (dl-routines): Add dl-sort-maps.
5008 * elf/dl-sort-maps.c: New file.
5009 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
5010 (_dl_sort_maps): Declare.
5011 * elf/dl-fini.c (_dl_sort_fini): Remove.
5012 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
5013 * elf/dl-close.c (_dl_close_worker): Likewise.
5014 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
5016 * elf/dl-open.c (dl_open_worker): Likewise.
5018 2017-11-24 Joseph Myers <joseph@codesourcery.com>
5020 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
5021 using libm_alias_float128.
5022 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
5024 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
5026 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
5027 (setpayloadsigf128): Likewise.
5028 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
5030 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
5033 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
5034 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
5035 -mfloat128 to CFLAGS.
5037 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
5039 (CFLAGS-libm-test-support-float64x.c): New variable.
5040 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
5041 $(f128-loader-link) to gnulib-tests.
5043 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
5044 (libm_alias_float128_other_r): If
5045 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
5047 (libm_alias_float128_r): Add semicolon after weak_alias call.
5048 * sysdeps/generic/libm-alias-ldouble.h
5049 (libm_alias_ldouble_other_r_f128): New macro.
5050 (libm_alias_ldouble_other_r_f64x): Likewise.
5051 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
5052 and libm_alias_ldouble_other_r_f64x.
5053 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
5054 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
5055 (libm_alias_ldouble_other_r_f128): New macro.
5056 (libm_alias_ldouble_other_r_f64x): Likewise.
5057 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
5058 and libm_alias_ldouble_other_r_f64x.
5060 * stdlib/strfroml.c: Always include <stdlib.h>.
5061 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
5062 undefine as macro and define as weak alias.
5063 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
5064 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
5066 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
5067 Define and later undefine as macro and define as weak alias.
5069 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
5070 Define and later undefine as macro. Define as weak alias if
5072 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
5073 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
5074 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
5075 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
5076 Define and later undefine as macro. Define as weak alias if
5078 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
5079 Define and later undefine as macro. Define as weak alias if
5081 * sysdeps/ieee754/float128/strtof128_l.c
5082 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
5083 Define and later undefine as macro. Define as weak alias if
5085 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
5086 Define and later undefine as macro. Define as weak alias if
5088 * sysdeps/ieee754/ldbl-128/strtold_l.c
5089 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
5090 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
5091 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
5092 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
5093 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
5094 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
5095 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
5096 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
5097 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
5098 * sysdeps/ieee754/ldbl-96/strtold_l.c
5099 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
5100 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
5101 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
5102 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
5104 * math/test-float64x.h: New file.
5105 * math/Makefile (type-float64x-yes): New variable.
5106 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
5108 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
5109 function-like macro.
5110 (min_of_type_): Likewise.
5111 (min_of_type_l): Likewise.
5112 (min_of_type_f128): Likewise.
5113 (min_of_type): Pass () as last argument of __MATH_TG.
5115 * stdlib/tst-strtod-round-skeleton.c
5116 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
5119 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
5120 for combinations of long double with _Float64 and _Float64x.
5122 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
5123 (__DECL_SIMD_cosf32): Likewise.
5124 (__DECL_SIMD_cosf64): Likewise.
5125 (__DECL_SIMD_cosf32x): Likewise.
5126 (__DECL_SIMD_cosf64x): Likewise.
5127 (__DECL_SIMD_cosf128x): Likewise.
5128 (__DECL_SIMD_sinf16): Likewise.
5129 (__DECL_SIMD_sinf32): Likewise.
5130 (__DECL_SIMD_sinf64): Likewise.
5131 (__DECL_SIMD_sinf32x): Likewise.
5132 (__DECL_SIMD_sinf64x): Likewise.
5133 (__DECL_SIMD_sinf128x): Likewise.
5134 (__DECL_SIMD_sincosf16): Likewise.
5135 (__DECL_SIMD_sincosf32): Likewise.
5136 (__DECL_SIMD_sincosf64): Likewise.
5137 (__DECL_SIMD_sincosf32x): Likewise.
5138 (__DECL_SIMD_sincosf64x): Likewise.
5139 (__DECL_SIMD_sincosf128x): Likewise.
5140 (__DECL_SIMD_logf16): Likewise.
5141 (__DECL_SIMD_logf32): Likewise.
5142 (__DECL_SIMD_logf64): Likewise.
5143 (__DECL_SIMD_logf32x): Likewise.
5144 (__DECL_SIMD_logf64x): Likewise.
5145 (__DECL_SIMD_logf128x): Likewise.
5146 (__DECL_SIMD_expf16): Likewise.
5147 (__DECL_SIMD_expf32): Likewise.
5148 (__DECL_SIMD_expf64): Likewise.
5149 (__DECL_SIMD_expf32x): Likewise.
5150 (__DECL_SIMD_expf64x): Likewise.
5151 (__DECL_SIMD_expf128x): Likewise.
5152 (__DECL_SIMD_powf16): Likewise.
5153 (__DECL_SIMD_powf32): Likewise.
5154 (__DECL_SIMD_powf64): Likewise.
5155 (__DECL_SIMD_powf32x): Likewise.
5156 (__DECL_SIMD_powf64x): Likewise.
5157 (__DECL_SIMD_powf128x): Likewise.
5159 * stdlib/Versions (libc): Move entries for wcstof128 and
5161 * wcsmbs/Versions (libc): ... here.
5162 Include <float128-abi.h>.
5164 2017-11-24 Florian Weimer <fweimer@redhat.com>
5166 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5168 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
5169 <bits/mman-shared.h>.
5170 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
5172 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
5173 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
5174 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
5175 <bits/mman-shared.h>.
5177 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5180 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
5181 posix_memalign/free.
5182 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
5184 2017-11-22 Mike FABIAN <mfabian@redhat.com>
5187 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
5188 and implement the collation rules for pl from CLDR on top of that.
5189 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
5190 of locales to be built for testing.
5191 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
5193 2017-11-23 Joseph Myers <joseph@codesourcery.com>
5195 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
5196 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
5197 libm_alias_ldouble_other.
5198 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
5199 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
5200 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
5201 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
5202 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
5203 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
5204 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
5205 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
5206 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
5207 libm_alias_ldouble_r.
5208 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
5209 libm_alias_ldouble_other.
5210 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
5212 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
5213 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
5214 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
5215 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
5216 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
5217 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
5218 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
5220 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
5221 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
5222 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
5224 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
5226 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
5227 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
5228 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
5230 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
5231 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
5232 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
5233 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
5234 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
5235 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
5236 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
5237 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
5238 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
5239 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
5240 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
5242 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
5243 libm_alias_ldouble_other.
5244 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
5245 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
5246 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
5248 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
5249 libm_alias_ldouble_other.
5250 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
5251 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
5252 * sysdeps/ia64/fpu/w_lgammal_main.c
5253 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
5254 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
5256 2017-11-23 Florian Weimer <fweimer@redhat.com>
5258 * malloc/malloc.c (tcache_thread_shutdown): Rename from
5259 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
5260 alike. Remove freeres marker.
5261 * malloc/arena.c (arena_thread_freeres): Call
5262 tcache_thread_shutdown.
5264 2017-11-23 Florian Weimer <fweimer@redhat.com>
5267 Export nscd hash function as __nss_hash.
5268 * include/nss.h (__nss_hash): Declare.
5269 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
5271 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
5272 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
5274 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
5275 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
5276 * nss/Makefiles (routines): Add nss_hash.
5277 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
5278 * nss/nss_hash.c: Rename from nis/nis_hash.c.
5279 (__nss_hash): Rename from __nis_hash. Define hidden alias.
5280 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
5282 2017-11-23 Florian Weimer <fweimer@redhat.com>
5285 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
5286 Return error code, not -1.
5287 * signal/tst-sigwait-eintr.c: New file.
5288 * signal/Makefile (tests): Add tst-sigwait-eintr.
5290 2017-11-23 Florian Weimer <fweimer@redhat.com>
5292 Linux: Add memfd_create system call wrapper
5293 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
5295 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
5296 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
5297 [__USE_GNU] (memfd_create): Declare.
5298 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
5299 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
5300 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
5301 * sysdeps/unix/sysv/linux/**.abilist: Update.
5302 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
5304 2017-11-22 Joseph Myers <joseph@codesourcery.com>
5306 * localedata/gen-locale.sh: Fix typo in variable name.
5308 * resolv/res_debug.c (p_secstodate): Condition definition on
5309 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
5310 directly as __p_secstodate, and as a compat symbol. Do not use
5311 libresolv_hidden_def.
5312 * resolv/resolv.h (p_secstodate): Remove macro and function
5314 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
5316 * include/resolv.h (__p_secstodate): Do not use
5317 libresolv_hidden_proto.
5318 * resolv/Makefile (tests): Move tst-p_secstodate to ....
5319 (tests-internal): ... here.
5320 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
5321 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
5322 and declare and use __p_secstodate and use compat_symbol_reference
5324 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
5325 implementation returning 77.
5328 * resolv/res_debug.c: Include <libc-diag.h>.
5329 (p_secstodate): Assert time_t at least as wide as u_long. On
5330 overflow, use integer seconds since the epoch as output, or use
5331 "<overflow>" as output and set errno to EOVERFLOW if integer
5332 seconds since the epoch would be 14 or more characters.
5333 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
5335 * resolv/tst-p_secstodate.c: New file.
5336 * resolv/Makefile (tests): Add tst-p_secstodate.
5337 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
5339 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
5340 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
5341 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
5343 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
5345 * posix/regcomp.c (init_word_char): Add comments.
5347 2017-11-22 Joseph Myers <joseph@codesourcery.com>
5350 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
5351 strlen to compute length of ut_user and set trailing NUL byte of
5354 2017-11-21 Mike FABIAN <mfabian@redhat.com>
5357 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
5358 using “copy "iso14651_t1"” and then implementing the
5359 collation rules for lv from CLDR on top of that.
5360 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
5361 of locales to be built for testing.
5362 * lv_LV.UTF-8.in: New file with test data to test the Latvian
5365 2017-11-21 Joseph Myers <joseph@codesourcery.com>
5367 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
5368 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
5369 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
5370 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
5371 [__USE_MISC] (MADV_HWPOISON): New macro.
5372 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
5374 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5376 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
5377 -Wmissing-braces on GCC 4.9.
5379 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
5381 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
5382 * sysdeps/s390/s390-32/start.S (_start): Likewise
5383 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
5384 (thread_start): Likewise.
5385 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
5386 (thread_start): Likewise.
5387 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
5388 (__makecontext_ret): Likewise.
5389 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
5390 (__makecontext_ret): Likewise.
5392 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
5394 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
5395 __wcschrnul): Remove attribute_hidden.
5397 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
5399 regex: don't assume uint64_t or uint32_t
5400 This avoids -Werror=overflow errors for 32-bit systems in
5401 the 64-bit case. Problem reported by Joseph Myers in:
5402 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
5403 Also, when this code is used in Gnulib it ports to platforms
5404 that lack uint64_t and uint32_t. The C standard doesn't guarantee
5405 them, and on some 32-bit compilers there is no uint64_t.
5406 Problem reported by Gianluigi Tiesi in:
5407 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
5408 * posix/regcomp.c (init_word_char): Don't assume that the types
5409 uint64_t and uint32_t exist. Adapted from Gnulib patch
5410 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
5411 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
5413 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
5415 * sysdeps/aarch64/memset-reg.h: New file.
5416 * sysdeps/aarch64/memset.S: Use it.
5417 (__memset): Rename to MEMSET macro.
5418 [ZVA_MACRO]: Use zva_macro.
5419 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
5420 Add memset_generic and memset_falkor.
5421 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
5422 (__libc_ifunc_impl_list): Add memset ifuncs.
5423 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
5424 local variable zva_size.
5425 * sysdeps/aarch64/multiarch/memset.c: New file.
5426 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
5427 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
5428 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
5429 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
5430 (DCZID_DZP_MASK): New macro.
5431 (DCZID_BS_MASK): Likewise.
5432 (init_cpu_features): Read and set zva_size.
5433 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
5434 (struct cpu_features): New member zva_size.
5436 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
5437 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
5438 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
5440 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
5441 backwards. Fix timing computation.
5442 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
5443 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
5444 on memset by N at a time. Fix timing computation.
5446 2017-11-20 Florian Weimer <fweimer@redhat.com>
5448 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
5449 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
5451 2017-11-19 Florian Weimer <fweimer@redhat.com>
5453 manual: Document mprotect
5454 * manual/memory.texi (Memory Protection): New section.
5455 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
5456 documentation of PROT_* flags and reference the Memory Protection
5459 2017-11-19 Florian Weimer <fweimer@redhat.com>
5461 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
5462 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
5463 (Scatter-Gather): ... to here. Remove misleading comment.
5465 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
5467 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
5470 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
5471 when /proc/<pid>/setgroups does not exist.
5473 2017-11-18 Florian Weimer <fweimer@redhat.com>
5475 * sysdeps/unix/sysv/linux/tst-ttyname.c
5476 (become_root_in_mount_ns): Remove.
5477 (do_in_chroot_1): Call support_enter_mount_namespace.
5478 (do_in_chroot_2): Likewise.
5479 (do_test): Call support_become_root early.
5481 2017-11-18 Florian Weimer <fweimer@redhat.com>
5483 * support/namespace.h (support_enter_mount_namespace): Declare.
5484 * support/support_enter_mount_namespace.c: New file.
5485 * support/Makefile (libsupport-routines): Add
5486 support_enter_mount_namespace.
5488 2017-11-18 Florian Weimer <fweimer@redhat.com>
5490 * support/temp_file.c (support_create_temp_directory): Use
5491 test_dir and do not rely on the presence of the XXXXXX suffix.
5492 * support/temp_file.h (support_create_temp_directory): Update
5494 * support/tst-xreadlink.c (do_test): Adjust.
5495 * support/support_chroot.c (support_chroot_create): Likewise.
5497 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5499 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
5501 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
5504 2017-11-17 Joseph Myers <joseph@codesourcery.com>
5506 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
5507 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
5508 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
5509 (ceill): Define using libm_alias_ldouble.
5510 * sysdeps/x86_64/fpu/s_copysignl.S: Include
5511 <libm-alias-ldouble.h>.
5512 (copysignl): Define using libm_alias_ldouble.
5513 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
5514 (fabsl): Define using libm_alias_ldouble.
5515 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
5516 (floorl): Define using libm_alias_ldouble.
5517 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
5518 (fmaxl): Define using libm_alias_ldouble.
5519 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
5520 (fminl): Define using libm_alias_ldouble.
5521 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
5522 (llrintl): Define using libm_alias_ldouble.
5524 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
5525 <libm-alias-ldouble.h>.
5526 (nearbyintl): Define using libm_alias_ldouble.
5527 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
5528 (truncl): Define using libm_alias_ldouble.
5529 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
5530 <libm-alias-ldouble.h>.
5531 (lrintl): Define using libm_alias_ldouble.
5533 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
5534 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
5535 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
5536 (asinhl): Define using libm_alias_ldouble.
5537 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
5538 (atanl): Define using libm_alias_ldouble.
5539 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
5540 (cbrtl): Define using libm_alias_ldouble.
5541 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
5542 (ceill): Define using libm_alias_ldouble.
5543 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
5544 (copysignl): Define using libm_alias_ldouble.
5545 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
5546 (fabsl): Define using libm_alias_ldouble.
5547 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
5548 (floorl): Define using libm_alias_ldouble.
5549 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
5550 (fmaxl): Define using libm_alias_ldouble.
5551 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
5552 (fminl): Define using libm_alias_ldouble.
5553 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
5554 (frexpl): Define using libm_alias_ldouble.
5555 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
5556 (llrintl): Define using libm_alias_ldouble.
5557 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
5558 (logbl): Define using libm_alias_ldouble.
5559 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
5560 (lrintl): Define using libm_alias_ldouble.
5561 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
5562 (nearbyintl): Define using libm_alias_ldouble.
5563 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
5564 (nextafterl): Define using libm_alias_ldouble.
5565 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
5566 (remquol): Define using libm_alias_ldouble.
5567 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
5568 (rintl): Define using libm_alias_ldouble.
5569 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
5570 (truncl): Define using libm_alias_ldouble.
5571 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
5572 (fmaxl): Define using libm_alias_ldouble.
5573 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
5574 (fminl): Define using libm_alias_ldouble.
5576 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
5577 to C syntax instead of availability and properties of types.
5578 * bits/floatn.h [!__ASSEMBLER]: Likewise.
5579 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
5580 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
5581 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
5582 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
5583 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
5585 2017-11-17 Florian Weimer <fweimer@redhat.com>
5587 support_become_root: Enable file creation in namespaces.
5588 * support/support_become_root.c (setup_mapping): New function.
5589 (support_become_root): Call it.
5591 2017-11-17 Joseph Myers <joseph@codesourcery.com>
5593 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
5596 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5598 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
5599 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
5601 2017-11-16 Joseph Myers <joseph@codesourcery.com>
5603 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
5605 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
5608 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
5610 * INSTALL: Fix botched up regeneration.
5612 * NEWS: Update sourceare link to https.
5613 * configure.ac: Likewise.
5614 * crypt/md5test-giant.c: Likewise.
5615 * dlfcn/bug-atexit1.c: Likewise.
5616 * dlfcn/bug-atexit2.c: Likewise.
5617 * localedata/README: Likewise.
5618 * malloc/tst-mallocfork.c: Likewise.
5619 * manual/install.texi: Likewise.
5620 * nptl/tst-pthread-getattr.c: Likewise.
5621 * stdio-common/tst-fgets.c: Likewise.
5622 * stdio-common/tst-fwrite.c: Likewise.
5623 * sunrpc/Makefile: Likewise.
5624 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
5625 * wcsmbs/tst-mbrtowc2.c: Likewise.
5626 * configure: Regenerate.
5627 * INSTALL: Regenerate.
5629 2017-11-15 Martin Sebor <msebor@redhat.com>
5631 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
5632 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
5633 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
5635 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
5638 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
5639 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
5642 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
5643 Defer is_pty check until end of the function.
5644 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
5647 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
5648 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
5649 (ttyname): Likewise.
5650 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
5651 (__ttyname_r): Likewise.
5653 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
5656 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
5658 * manual/terminal.texi (Is It a Terminal):
5659 Mention ENODEV for ttyname and ttyname_r.
5661 2017-11-15 Joseph Myers <joseph@codesourcery.com>
5663 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
5666 * sysdeps/unix/sysv/linux/bits/mman-linux.h
5667 [__USE_MISC] (MADV_WIPEONFORK): New macro.
5668 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
5669 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
5670 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
5671 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
5673 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5675 * signal/sigrelse.c (sigrelse): Optimize implementation.
5677 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
5678 (__sigpause): Rely on __sigsuspend to implement single thread
5679 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
5681 2017-11-15 Joseph Myers <joseph@codesourcery.com>
5683 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5684 kernel version to 4.14.
5686 2017-11-15 Steve Ellcey <sellcey@cavium.com>
5689 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
5690 Check if ifname is too long.
5692 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
5694 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
5696 2017-11-15 Mike FABIAN <mfabian@redhat.com>
5698 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
5699 was accidentally lost.
5701 2017-11-15 Mike FABIAN <mfabian@redhat.com>
5703 * localedata/locales/az_IR: Add standard copyright header.
5705 2017-11-15 Florian Weimer <fweimer@redhat.com>
5708 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
5709 not just the top one. Output a new "subheaps" statistic.
5711 2017-11-15 Florian Weimer <fweimer@redhat.com>
5714 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
5715 under the per-arena lock.
5716 * malloc/Makefile (tests): Add tst-malloc_info.
5717 (tst-malloc_info): Link with libpthread.
5718 * malloc/tst-malloc_info.c: New file.
5720 2017-11-15 Joseph Myers <joseph@codesourcery.com>
5723 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
5724 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
5725 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
5726 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
5727 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
5728 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
5729 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
5730 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
5731 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
5732 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
5733 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
5734 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
5735 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
5736 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
5737 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
5738 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
5739 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
5740 (__floating_type): Likewise.
5741 (__real_integer_type): Likewise.
5742 (__complex_integer_type): Likewise.
5743 (__expr_is_real): Likewise.
5744 (__tgmath_real_type_sub): Likewise.
5745 (__tgmath_real_type): Likewise.
5746 (__tgmath_complex_type_sub): Likewise.
5747 (__tgmath_complex_type): Likewise.
5748 (__TGMATH_F128): Likewise.
5749 (__TGMATH_CF128): Likewise.
5750 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
5752 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
5753 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
5755 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
5757 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
5758 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
5759 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
5760 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
5762 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
5763 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
5765 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
5766 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
5767 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
5769 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
5770 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
5771 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
5775 2017-11-14 Joseph Myers <joseph@codesourcery.com>
5777 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
5778 for stpncpy calls for GCC 8.
5779 (test_strncat): Disable -Wstringop-truncation warning for strncat
5780 calls for GCC 8. Disable -Wstringop-overflow= warning for one
5781 strncat call for GCC 7.
5782 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
5784 (test_memcmp): Use memcpy instead of strncpy for calls not copying
5787 * string/bug-strncat1.c: Include <libc-diag.h>.
5788 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
5790 2017-11-13 Claude Paroz <claude@2xlibre.net>
5793 * localedata/locales/aa_DJ: Improved readibility by replacing
5794 <Uxxxx> sequences in the ASCII printable range by their ASCII
5795 character equivalents.
5796 * localedata/locales/aa_ER: Likewise.
5797 * localedata/locales/aa_ER@saaho: Likewise.
5798 * localedata/locales/aa_ET: Likewise.
5799 * localedata/locales/af_ZA: Likewise.
5800 * localedata/locales/agr_PE: Likewise.
5801 * localedata/locales/ak_GH: Likewise.
5802 * localedata/locales/am_ET: Likewise.
5803 * localedata/locales/anp_IN: Likewise.
5804 * localedata/locales/ar_AE: Likewise.
5805 * localedata/locales/ar_BH: Likewise.
5806 * localedata/locales/ar_DZ: Likewise.
5807 * localedata/locales/ar_EG: Likewise.
5808 * localedata/locales/ar_IN: Likewise.
5809 * localedata/locales/ar_IQ: Likewise.
5810 * localedata/locales/ar_JO: Likewise.
5811 * localedata/locales/ar_KW: Likewise.
5812 * localedata/locales/ar_LB: Likewise.
5813 * localedata/locales/ar_LY: Likewise.
5814 * localedata/locales/ar_MA: Likewise.
5815 * localedata/locales/ar_OM: Likewise.
5816 * localedata/locales/ar_QA: Likewise.
5817 * localedata/locales/ar_SA: Likewise.
5818 * localedata/locales/ar_SD: Likewise.
5819 * localedata/locales/ar_SS: Likewise.
5820 * localedata/locales/ar_SY: Likewise.
5821 * localedata/locales/ar_TN: Likewise.
5822 * localedata/locales/ar_YE: Likewise.
5823 * localedata/locales/as_IN: Likewise.
5824 * localedata/locales/ast_ES: Likewise.
5825 * localedata/locales/ayc_PE: Likewise.
5826 * localedata/locales/az_AZ: Likewise.
5827 * localedata/locales/az_IR: Likewise.
5828 * localedata/locales/be_BY: Likewise.
5829 * localedata/locales/be_BY@latin: Likewise.
5830 * localedata/locales/bem_ZM: Likewise.
5831 * localedata/locales/ber_DZ: Likewise.
5832 * localedata/locales/ber_MA: Likewise.
5833 * localedata/locales/bg_BG: Likewise.
5834 * localedata/locales/bhb_IN: Likewise.
5835 * localedata/locales/bho_IN: Likewise.
5836 * localedata/locales/bi_VU: Likewise.
5837 * localedata/locales/bn_BD: Likewise.
5838 * localedata/locales/bn_IN: Likewise.
5839 * localedata/locales/bo_CN: Likewise.
5840 * localedata/locales/bo_IN: Likewise.
5841 * localedata/locales/br_FR: Likewise.
5842 * localedata/locales/brx_IN: Likewise.
5843 * localedata/locales/bs_BA: Likewise.
5844 * localedata/locales/byn_ER: Likewise.
5845 * localedata/locales/ca_AD: Likewise.
5846 * localedata/locales/ca_ES: Likewise.
5847 * localedata/locales/ca_FR: Likewise.
5848 * localedata/locales/ca_IT: Likewise.
5849 * localedata/locales/ce_RU: Likewise.
5850 * localedata/locales/chr_US: Likewise.
5851 * localedata/locales/cmn_TW: Likewise.
5852 * localedata/locales/crh_UA: Likewise.
5853 * localedata/locales/cs_CZ: Likewise.
5854 * localedata/locales/csb_PL: Likewise.
5855 * localedata/locales/cv_RU: Likewise.
5856 * localedata/locales/cy_GB: Likewise.
5857 * localedata/locales/da_DK: Likewise.
5858 * localedata/locales/de_AT: Likewise.
5859 * localedata/locales/de_BE: Likewise.
5860 * localedata/locales/de_CH: Likewise.
5861 * localedata/locales/de_DE: Likewise.
5862 * localedata/locales/de_IT: Likewise.
5863 * localedata/locales/de_LI: Likewise.
5864 * localedata/locales/de_LU: Likewise.
5865 * localedata/locales/doi_IN: Likewise.
5866 * localedata/locales/dv_MV: Likewise.
5867 * localedata/locales/dz_BT: Likewise.
5868 * localedata/locales/el_CY: Likewise.
5869 * localedata/locales/el_GR: Likewise.
5870 * localedata/locales/en_AG: Likewise.
5871 * localedata/locales/en_AU: Likewise.
5872 * localedata/locales/en_BW: Likewise.
5873 * localedata/locales/en_CA: Likewise.
5874 * localedata/locales/en_DK: Likewise.
5875 * localedata/locales/en_GB: Likewise.
5876 * localedata/locales/en_HK: Likewise.
5877 * localedata/locales/en_IE: Likewise.
5878 * localedata/locales/en_IL: Likewise.
5879 * localedata/locales/en_IN: Likewise.
5880 * localedata/locales/en_NG: Likewise.
5881 * localedata/locales/en_NZ: Likewise.
5882 * localedata/locales/en_PH: Likewise.
5883 * localedata/locales/en_SG: Likewise.
5884 * localedata/locales/en_US: Likewise.
5885 * localedata/locales/en_ZA: Likewise.
5886 * localedata/locales/en_ZM: Likewise.
5887 * localedata/locales/en_ZW: Likewise.
5888 * localedata/locales/eo: Likewise.
5889 * localedata/locales/es_AR: Likewise.
5890 * localedata/locales/es_BO: Likewise.
5891 * localedata/locales/es_CL: Likewise.
5892 * localedata/locales/es_CO: Likewise.
5893 * localedata/locales/es_CR: Likewise.
5894 * localedata/locales/es_CU: Likewise.
5895 * localedata/locales/es_DO: Likewise.
5896 * localedata/locales/es_EC: Likewise.
5897 * localedata/locales/es_ES: Likewise.
5898 * localedata/locales/es_GT: Likewise.
5899 * localedata/locales/es_HN: Likewise.
5900 * localedata/locales/es_MX: Likewise.
5901 * localedata/locales/es_NI: Likewise.
5902 * localedata/locales/es_PA: Likewise.
5903 * localedata/locales/es_PE: Likewise.
5904 * localedata/locales/es_PR: Likewise.
5905 * localedata/locales/es_PY: Likewise.
5906 * localedata/locales/es_SV: Likewise.
5907 * localedata/locales/es_US: Likewise.
5908 * localedata/locales/es_UY: Likewise.
5909 * localedata/locales/es_VE: Likewise.
5910 * localedata/locales/et_EE: Likewise.
5911 * localedata/locales/eu_ES: Likewise.
5912 * localedata/locales/eu_ES@euro: Likewise.
5913 * localedata/locales/fa_IR: Likewise.
5914 * localedata/locales/ff_SN: Likewise.
5915 * localedata/locales/fi_FI: Likewise.
5916 * localedata/locales/fil_PH: Likewise.
5917 * localedata/locales/fo_FO: Likewise.
5918 * localedata/locales/fr_BE: Likewise.
5919 * localedata/locales/fr_CA: Likewise.
5920 * localedata/locales/fr_CH: Likewise.
5921 * localedata/locales/fr_FR: Likewise.
5922 * localedata/locales/fr_LU: Likewise.
5923 * localedata/locales/fur_IT: Likewise.
5924 * localedata/locales/fy_DE: Likewise.
5925 * localedata/locales/fy_NL: Likewise.
5926 * localedata/locales/ga_IE: Likewise.
5927 * localedata/locales/gd_GB: Likewise.
5928 * localedata/locales/gez_ER: Likewise.
5929 * localedata/locales/gez_ET: Likewise.
5930 * localedata/locales/gl_ES: Likewise.
5931 * localedata/locales/gu_IN: Likewise.
5932 * localedata/locales/gv_GB: Likewise.
5933 * localedata/locales/ha_NG: Likewise.
5934 * localedata/locales/hak_TW: Likewise.
5935 * localedata/locales/he_IL: Likewise.
5936 * localedata/locales/hi_IN: Likewise.
5937 * localedata/locales/hif_FJ: Likewise.
5938 * localedata/locales/hne_IN: Likewise.
5939 * localedata/locales/hr_HR: Likewise.
5940 * localedata/locales/hsb_DE: Likewise.
5941 * localedata/locales/ht_HT: Likewise.
5942 * localedata/locales/hu_HU: Likewise.
5943 * localedata/locales/hy_AM: Likewise.
5944 * localedata/locales/i18n: Likewise.
5945 * localedata/locales/ia_FR: Likewise.
5946 * localedata/locales/id_ID: Likewise.
5947 * localedata/locales/ig_NG: Likewise.
5948 * localedata/locales/ik_CA: Likewise.
5949 * localedata/locales/is_IS: Likewise.
5950 * localedata/locales/it_CH: Likewise.
5951 * localedata/locales/it_IT: Likewise.
5952 * localedata/locales/iu_CA: Likewise.
5953 * localedata/locales/ja_JP: Likewise.
5954 * localedata/locales/ka_GE: Likewise.
5955 * localedata/locales/kk_KZ: Likewise.
5956 * localedata/locales/kl_GL: Likewise.
5957 * localedata/locales/kn_IN: Likewise.
5958 * localedata/locales/ko_KR: Likewise.
5959 * localedata/locales/kok_IN: Likewise.
5960 * localedata/locales/ks_IN: Likewise.
5961 * localedata/locales/ks_IN@devanagari: Likewise.
5962 * localedata/locales/ku_TR: Likewise.
5963 * localedata/locales/kw_GB: Likewise.
5964 * localedata/locales/ky_KG: Likewise.
5965 * localedata/locales/lb_LU: Likewise.
5966 * localedata/locales/lg_UG: Likewise.
5967 * localedata/locales/li_BE: Likewise.
5968 * localedata/locales/li_NL: Likewise.
5969 * localedata/locales/lij_IT: Likewise.
5970 * localedata/locales/ln_CD: Likewise.
5971 * localedata/locales/lo_LA: Likewise.
5972 * localedata/locales/lt_LT: Likewise.
5973 * localedata/locales/lv_LV: Likewise.
5974 * localedata/locales/lzh_TW: Likewise.
5975 * localedata/locales/mag_IN: Likewise.
5976 * localedata/locales/mai_IN: Likewise.
5977 * localedata/locales/mg_MG: Likewise.
5978 * localedata/locales/mhr_RU: Likewise.
5979 * localedata/locales/mi_NZ: Likewise.
5980 * localedata/locales/mk_MK: Likewise.
5981 * localedata/locales/ml_IN: Likewise.
5982 * localedata/locales/mn_MN: Likewise.
5983 * localedata/locales/mni_IN: Likewise.
5984 * localedata/locales/mr_IN: Likewise.
5985 * localedata/locales/ms_MY: Likewise.
5986 * localedata/locales/mt_MT: Likewise.
5987 * localedata/locales/my_MM: Likewise.
5988 * localedata/locales/nan_TW: Likewise.
5989 * localedata/locales/nan_TW@latin: Likewise.
5990 * localedata/locales/nb_NO: Likewise.
5991 * localedata/locales/nds_DE: Likewise.
5992 * localedata/locales/nds_NL: Likewise.
5993 * localedata/locales/ne_NP: Likewise.
5994 * localedata/locales/nhn_MX: Likewise.
5995 * localedata/locales/niu_NU: Likewise.
5996 * localedata/locales/niu_NZ: Likewise.
5997 * localedata/locales/nl_AW: Likewise.
5998 * localedata/locales/nl_BE: Likewise.
5999 * localedata/locales/nl_NL: Likewise.
6000 * localedata/locales/nn_NO: Likewise.
6001 * localedata/locales/nr_ZA: Likewise.
6002 * localedata/locales/nso_ZA: Likewise.
6003 * localedata/locales/oc_FR: Likewise.
6004 * localedata/locales/om_ET: Likewise.
6005 * localedata/locales/om_KE: Likewise.
6006 * localedata/locales/or_IN: Likewise.
6007 * localedata/locales/os_RU: Likewise.
6008 * localedata/locales/pa_IN: Likewise.
6009 * localedata/locales/pa_PK: Likewise.
6010 * localedata/locales/pap_AW: Likewise.
6011 * localedata/locales/pap_CW: Likewise.
6012 * localedata/locales/pl_PL: Likewise.
6013 * localedata/locales/ps_AF: Likewise.
6014 * localedata/locales/pt_BR: Likewise.
6015 * localedata/locales/pt_PT: Likewise.
6016 * localedata/locales/quz_PE: Likewise.
6017 * localedata/locales/raj_IN: Likewise.
6018 * localedata/locales/ro_RO: Likewise.
6019 * localedata/locales/ru_RU: Likewise.
6020 * localedata/locales/ru_UA: Likewise.
6021 * localedata/locales/rw_RW: Likewise.
6022 * localedata/locales/sa_IN: Likewise.
6023 * localedata/locales/sat_IN: Likewise.
6024 * localedata/locales/sc_IT: Likewise.
6025 * localedata/locales/sd_IN: Likewise.
6026 * localedata/locales/sd_IN@devanagari: Likewise.
6027 * localedata/locales/se_NO: Likewise.
6028 * localedata/locales/sgs_LT: Likewise.
6029 * localedata/locales/shs_CA: Likewise.
6030 * localedata/locales/si_LK: Likewise.
6031 * localedata/locales/sid_ET: Likewise.
6032 * localedata/locales/sk_SK: Likewise.
6033 * localedata/locales/sl_SI: Likewise.
6034 * localedata/locales/sm_WS: Likewise.
6035 * localedata/locales/so_DJ: Likewise.
6036 * localedata/locales/so_ET: Likewise.
6037 * localedata/locales/so_KE: Likewise.
6038 * localedata/locales/so_SO: Likewise.
6039 * localedata/locales/sq_AL: Likewise.
6040 * localedata/locales/sq_MK: Likewise.
6041 * localedata/locales/sr_ME: Likewise.
6042 * localedata/locales/sr_RS: Likewise.
6043 * localedata/locales/sr_RS@latin: Likewise.
6044 * localedata/locales/ss_ZA: Likewise.
6045 * localedata/locales/st_ZA: Likewise.
6046 * localedata/locales/sv_FI: Likewise.
6047 * localedata/locales/sv_SE: Likewise.
6048 * localedata/locales/sw_KE: Likewise.
6049 * localedata/locales/sw_TZ: Likewise.
6050 * localedata/locales/szl_PL: Likewise.
6051 * localedata/locales/ta_IN: Likewise.
6052 * localedata/locales/ta_LK: Likewise.
6053 * localedata/locales/tcy_IN: Likewise.
6054 * localedata/locales/te_IN: Likewise.
6055 * localedata/locales/tg_TJ: Likewise.
6056 * localedata/locales/th_TH: Likewise.
6057 * localedata/locales/the_NP: Likewise.
6058 * localedata/locales/ti_ER: Likewise.
6059 * localedata/locales/ti_ET: Likewise.
6060 * localedata/locales/tig_ER: Likewise.
6061 * localedata/locales/tk_TM: Likewise.
6062 * localedata/locales/tl_PH: Likewise.
6063 * localedata/locales/tn_ZA: Likewise.
6064 * localedata/locales/to_TO: Likewise.
6065 * localedata/locales/tpi_PG: Likewise.
6066 * localedata/locales/tr_CY: Likewise.
6067 * localedata/locales/tr_TR: Likewise.
6068 * localedata/locales/ts_ZA: Likewise.
6069 * localedata/locales/tt_RU: Likewise.
6070 * localedata/locales/tt_RU@iqtelif: Likewise.
6071 * localedata/locales/ug_CN: Likewise.
6072 * localedata/locales/uk_UA: Likewise.
6073 * localedata/locales/unm_US: Likewise.
6074 * localedata/locales/ur_IN: Likewise.
6075 * localedata/locales/ur_PK: Likewise.
6076 * localedata/locales/uz_UZ: Likewise.
6077 * localedata/locales/uz_UZ@cyrillic: Likewise.
6078 * localedata/locales/ve_ZA: Likewise.
6079 * localedata/locales/vi_VN: Likewise.
6080 * localedata/locales/wa_BE: Likewise.
6081 * localedata/locales/wae_CH: Likewise.
6082 * localedata/locales/wal_ET: Likewise.
6083 * localedata/locales/wo_SN: Likewise.
6084 * localedata/locales/xh_ZA: Likewise.
6085 * localedata/locales/yi_US: Likewise.
6086 * localedata/locales/yo_NG: Likewise.
6087 * localedata/locales/yue_HK: Likewise.
6088 * localedata/locales/yuw_PG: Likewise.
6089 * localedata/locales/zh_CN: Likewise.
6090 * localedata/locales/zh_HK: Likewise.
6091 * localedata/locales/zh_SG: Likewise.
6092 * localedata/locales/zh_TW: Likewise.
6093 * localedata/locales/zu_ZA: Likewise.
6095 2017-11-13 Florian Weimer <fweimer@redhat.com>
6097 * support/next_to_fault.h, support/next_to_fault.c: New files.
6098 * support/Makefile (libsupport-routines): Add next_to_fault.
6099 * resolv/tst-inet_pton.c (struct next_to_fault)
6100 (next_to_fault_allocate, next_to_fault_free): Remove.
6101 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
6103 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
6105 * elf/dl-support.c: Include <dl-procruntime.c>.
6106 * include/link.h: Include <link_map.h>.
6107 * sysdeps/generic/dl-procruntime.c: New file.
6108 * sysdeps/generic/link_map.h: Likewise.
6109 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
6110 the writable ld.so namespace.
6112 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
6114 timezone: pacify GCC -Wstringop-truncation
6115 Problem reported by Martin Sebor in:
6116 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
6117 * timezone/zic.c (writezone): Use memcpy, not strncpy.
6119 2017-11-12 Florian Weimer <fweimer@redhat.com>
6121 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
6123 (tests): Add tst-xreadlink.
6124 * support/support.h (xstrndup): Declare.
6125 * support/xunistd.h (xunlink, xreadlink): Declare.
6126 * support/temp_file.h (support_create_temp_directory): Declare.
6127 * support/temp_file.c (support_create_temp_directory): New function.
6128 * support/support_chroot.c (support_chroot_create): Use it.
6129 * support/xreadlink.c: New file.
6130 * support/xstrndup.c: Likewise.
6131 * support/xunlink.c: Likewise.
6132 * support/tst-xreadlink.c: Likewise.
6134 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
6136 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
6138 2017-11-11 Florian Weimer <fweimer@redhat.com>
6142 * resolv/res_comp.c (printable_string, binary_hnok)
6143 (binary_leading_dash): New functions.
6144 (res_hnok): Reimplement using these functions and ns_name_pton.
6145 (res_ownok): Likewise.
6146 (res_mailok): Reimplement using printable_string, ns_name_pton and
6148 (res_dnok): Reimplement using printable_string and ns_name_pton.
6149 * resolv/tst-res_hnok.c (tests): Add additional tests.
6150 (LETTERDIGITS, PRINTABLE): Define.
6151 (do_test): Adjust one_char results.
6153 2017-11-11 Florian Weimer <fweimer@redhat.com>
6156 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
6157 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
6159 2017-11-11 Florian Weimer <fweimer@redhat.com>
6161 * resolv/tst-ns_name_pton.c: New file.
6162 * resolv/Makefile (tests): Add tst-ns_name_pton.
6163 (tst-ns_name_pton): Link against libresolv.
6165 2017-11-11 Florian Weimer <fweimer@redhat.com>
6167 * resolv/tst-res_hnok.c: New file.
6168 * resolv/Makefile (tests): Add tst-res_hnok.
6169 (tst-res_hnok): Link against libresolv.
6171 2017-11-11 Florian Weimer <fweimer@redhat.com>
6173 * resolv/tst-resolv-network.c: Use test framework instead explicit
6176 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
6178 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
6180 [!_ISOMAC] (STR_HELPER): New.
6181 [!_ISOMAC] (STR): Likewise.
6182 [!_ISOMAC] (TEST_SIZE): Likewise.
6183 [!_ISOMAC] (TEST_ALIGN): Likewise.
6184 [!_ISOMAC] (TEST_OFFSET): Likewise.
6185 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
6186 field offsets of jmp_buf as well as sigjmp_buf.
6187 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
6188 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
6189 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
6190 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
6191 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
6192 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
6193 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
6194 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
6195 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
6196 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
6198 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
6200 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
6201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
6203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
6205 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
6206 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
6207 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
6208 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
6209 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
6210 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
6212 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
6214 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
6215 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
6216 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
6218 2017-11-07 Joseph Myers <joseph@codesourcery.com>
6221 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6222 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
6223 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6224 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
6225 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6226 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
6227 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6228 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
6229 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6230 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
6231 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6232 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
6233 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6234 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
6235 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6236 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
6237 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6238 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
6239 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6240 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
6241 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6242 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
6243 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6244 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
6245 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6246 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
6247 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6248 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
6249 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6250 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
6251 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6252 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
6253 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6254 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
6255 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6256 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
6257 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6258 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
6259 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6260 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
6261 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6262 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
6263 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6264 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
6265 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6266 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
6267 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6268 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
6269 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6270 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
6271 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6272 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
6273 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6274 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
6275 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6276 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
6277 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6278 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
6279 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6280 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
6281 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6282 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
6283 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6284 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
6285 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6286 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
6287 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6288 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
6289 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6290 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
6291 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6292 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
6293 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6294 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
6295 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6296 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
6297 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6298 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
6299 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6300 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
6301 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6302 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
6303 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6304 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
6305 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6306 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
6307 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6308 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
6310 * stdlib/tst-strtod.h (F16): New macro.
6316 (IF_FLOAT16): Likewise.
6317 (IF_FLOAT32): Likewise.
6318 (IF_FLOAT64): Likewise.
6319 (IF_FLOAT32X): Likewise.
6320 (IF_FLOAT64X): Likewise.
6321 (IF_FLOAT128X): Likewise.
6322 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
6323 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
6324 (STRTOD_TEST_FOREACH): Likewise.
6325 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
6326 (CHOOSE_f64): Likewise.
6327 (CHOOSE_f32x): Likewise.
6328 (CHOOSE_f64x): Likewise.
6330 2017-11-07 Andreas Schwab <schwab@suse.de>
6332 * nptl/Makefile (tests-internal): Remove tst-typesizes.
6334 2017-11-07 Mike FABIAN <mfabian@redhat.com>
6337 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
6339 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
6342 2017-11-07 Claude Paroz <claude@2xlibre.net>
6345 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
6347 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
6349 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
6352 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6355 * nptl/allocatestack.c (allocate_stack): Check if
6356 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
6357 __PTHREAD_MUTEX_HAVE_PREV is defined.
6358 * nptl/descr.h (pthread): Likewise.
6359 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
6361 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
6362 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
6363 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
6364 * sysdeps/nptl/bits/thread-shared-types.h
6365 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
6367 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
6368 of __WORDSIZE for internal layout.
6369 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
6370 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
6371 instead of __WORDSIZE whether to use an union for __spins and __list
6373 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
6375 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
6376 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
6378 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
6379 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
6381 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
6382 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
6384 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
6385 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
6387 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
6388 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
6390 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
6391 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
6393 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
6394 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
6396 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
6397 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
6399 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
6400 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
6402 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
6403 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
6405 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
6406 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
6408 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
6409 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
6411 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
6412 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
6414 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
6415 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
6417 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
6418 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
6421 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
6423 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
6424 checks for expected input type size.
6425 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
6426 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
6428 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
6429 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
6430 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
6431 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
6432 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
6433 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
6434 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
6435 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
6436 superflous runtime assert check.
6437 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
6439 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
6441 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
6443 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
6445 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
6447 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
6449 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
6450 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
6451 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
6453 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
6455 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
6457 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
6459 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
6461 * nptl/pthread_attr_setinheritsched.c
6462 (__pthread_attr_setinheritsched): Likewise.
6463 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
6465 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
6467 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
6468 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
6469 __old_pthread_attr_setstack): Likewise.
6470 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
6472 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
6474 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
6476 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
6477 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
6479 * nptl/tst-typesizes.c: Remove file.
6481 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
6482 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
6483 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
6484 checks for internal pthread_mutex_t offsets.
6485 * sysdeps/aarch64/nptl/pthread-offsets.h
6486 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
6487 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
6488 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
6489 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
6490 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
6491 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
6492 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
6493 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
6494 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
6495 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
6496 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
6497 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
6498 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
6499 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
6500 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
6501 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
6502 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
6503 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
6505 2017-11-07 Florian Weimer <fweimer@redhat.com>
6507 * bits/mman-linux.h: Move ...
6508 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
6510 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
6513 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6515 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
6516 Redefine STRNLEN as __strnlen_power8.
6518 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6520 * signal/sighold.c (sighold): Optimize implementation.
6522 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
6523 __NR_rt_sigqueueinfo.
6525 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
6527 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
6528 assume __NR_rt_sigtimedwait.
6529 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
6530 and add LIBC_CANCEL_HANDLED for cancellation marking.
6531 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
6533 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
6534 (sysdeps_routines): Add memchr_noneon.
6535 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
6536 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
6537 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
6538 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
6539 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
6540 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
6541 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
6543 * sysdeps/arm/arm-ifunc.h: New file.
6544 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
6545 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
6546 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
6547 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
6548 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
6549 (__memcpy_neon): Avoid create hidden alias.
6550 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
6551 (__memcpy_vfp): Likewise.
6552 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
6553 (sysdep_routines): Add memcpy_arm.
6554 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
6556 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
6559 * Makerules (make-link-multidir): New.
6560 * config.make.in (multidir): New.
6561 * configure.ac (libc_cv_multidir): New. AC_SUBST.
6562 * configure: Regenerated.
6563 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
6564 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
6565 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
6568 2017-11-06 Joseph Myers <joseph@codesourcery.com>
6571 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
6572 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
6574 2017-11-04 Mike FABIAN <mfabian@redhat.com>
6576 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
6579 2017-11-04 Florian Weimer <fweimer@redhat.com>
6581 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
6583 2017-11-03 Joseph Myers <joseph@codesourcery.com>
6585 * math/math.h [__HAVE_DISTINCT_FLOAT16
6586 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
6587 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
6588 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
6589 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
6590 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
6591 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
6592 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
6593 (__MATH_TG_F32): New macro.
6594 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
6595 (__MATH_TG_F64X): Likewise.
6596 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
6597 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
6599 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
6601 * po/de.po: Update translations.
6602 * po/ru.po: Likewise.
6604 2017-11-03 Florian Weimer <fweimer@redhat.com>
6606 * manual/filesys.texi (Hard Links): Document linkat.
6608 2017-11-03 Joseph Myers <joseph@codesourcery.com>
6610 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
6611 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
6612 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
6613 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
6614 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
6615 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
6616 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
6617 the same as _Float128.
6618 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
6619 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
6620 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
6623 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
6625 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
6627 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
6629 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
6630 (strtof32x): Likewise.
6631 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
6632 (strtof64x): Likewise.
6633 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
6634 (strtof128x): Likewise.
6635 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
6636 (strfromf16): Likewise.
6637 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
6638 (strfromf32): Likewise.
6639 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
6640 (strfromf64): Likewise.
6641 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
6642 (strfromf32x): Likewise.
6643 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
6644 (strfromf64x): Likewise.
6645 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
6646 (strfromf128x): Likewise.
6647 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
6648 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
6649 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
6650 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
6651 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
6652 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
6654 2017-11-03 Richard Henderson <rth@twiddle.net>
6656 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
6658 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
6660 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
6662 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
6664 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
6665 DT_TLSDESC_GOT initialization.
6666 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
6667 (_dl_tlsdesc_resolve_hold): Likewise.
6668 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
6669 (_dl_tlsdesc_resolve_hold): Likewise.
6670 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
6671 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
6673 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
6675 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
6677 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
6680 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
6681 non-lazily for R_ARM_TLS_DESC.
6683 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
6686 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
6687 R_ARM_TLS_DESC case.
6688 (elf_machine_lazy_rel): Remove the prelink check.
6690 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
6692 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
6693 DT_TLSDESC_GOT initialization.
6694 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
6695 (_dl_tlsdesc_resolve_rela): Likewise.
6696 (_dl_tlsdesc_resolve_hold): Likewise.
6697 (_dl_tlsdesc_undefweak): Remove ldar.
6698 (_dl_tlsdesc_dynamic): Likewise.
6699 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
6700 (_dl_tlsdesc_resolve_rela): Likewise.
6701 (_dl_tlsdesc_resolve_hold): Likewise.
6702 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
6703 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
6704 (_dl_tlsdesc_resolve_rela): Likewise.
6705 (_dl_tlsdesc_resolve_hold): Likewise.
6707 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
6709 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
6710 binding and initialization non-lazily for R_AARCH64_TLSDESC.
6712 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
6714 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
6715 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
6717 2017-11-02 Joseph Myers <joseph@codesourcery.com>
6719 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
6721 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
6722 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
6723 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
6724 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
6725 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
6726 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
6727 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
6728 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
6729 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
6730 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
6731 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
6733 2017-11-02 Mike FABIAN <mfabian@redhat.com>
6736 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
6737 * localedata/locales/tpi_PG: Add standard header.
6739 2017-11-02 Florian Weimer <fweimer@redhat.com>
6741 test-errno-linux: quotactl can fail with EPERM in containers.
6742 * sysdeps/unix/sysv/linux/test-errno-linux.c
6743 (LIST, LIST_FORWARD): New macros.
6744 (check_error_in_list): New function.
6745 (test_wrp_rv): Accept list of permitted error codes.
6746 (test_wrp_rv2): Remove.
6747 (test_wrp): Call test_wrp_rv with list of error codes.
6748 (test_wrp2): Accept list of error codes.
6749 (do_test): Adjust. Allow EPERM for quotactl.
6751 2017-11-02 Florian Weimer <fweimer@redhat.com>
6753 * stdio-common/bug16.c (do_test): Use array_length.
6754 * stdio-common/errlist.c (_sys_nerr): Likewise.
6755 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
6756 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
6757 * stdio-common/psiginfo.c (psiginfo): Use array_length.
6758 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
6759 (do_test): Use array_length.
6760 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
6761 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
6762 * stdio-common/tst-printf-round.c (do_test): Likewise.
6763 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
6764 (CHECK): Use array_length.
6765 * stdio-common/tstdiomisc.c (t3, F): Likewise.
6766 * stdio-common/tstscanf.c (main): Likewise.
6767 * stdio-common/vfprintf.c (process_string_arg): Likewise.
6769 2017-11-02 Florian Weimer <fweimer@redhat.com>
6771 Add array_length and array_end macros.
6772 * include/array_length.h: New file.
6774 2017-11-02 Florian Weimer <fweimer@redhat.com>
6777 * posix/tst-glob-tilde.c (do_noescape): New variable.
6778 (one_test): Process it.
6779 (do_test): Set do_noescape. Add unescaping test case.
6781 2017-11-01 Joseph Myers <joseph@codesourcery.com>
6784 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
6785 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
6786 with appropriate macros defined and undefined.
6787 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
6788 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
6789 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
6790 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
6791 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
6792 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
6793 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
6794 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
6795 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
6796 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
6799 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
6800 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
6801 that for long double. Do not condition define and undefine of
6802 _Mdouble_complex_ on [__CFLOAT128].
6804 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
6806 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
6807 of <sysdeps/generic/sysdep.h>.
6808 (ALIGNARG): Removed.
6809 (ASM_SIZE_DIRECTIVE): Likewise.
6812 (ENTRY_CHK): Likewise.
6813 (END_CHK): Likewise.
6814 (syscall_error): Likewise.
6816 (PSEUDO_END): Likewise.
6818 (atom_text_section): Likewise.
6819 * sysdeps/x86/sysdep.h: New file.
6820 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
6821 of <sysdeps/generic/sysdep.h>.
6822 (ALIGNARG): Removed.
6823 (ASM_SIZE_DIRECTIVE): Likewise.
6826 (ENTRY_CHK): Likewise.
6827 (END_CHK): Likewise.
6828 (syscall_error): Likewise.
6830 (PSEUDO_END): Likewise.
6832 (atom_text_section): Likewise.
6834 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
6836 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
6837 category of LC_CTYPE set to "i18n:2012".
6838 * localedata/locales/i18n_ctype: Regenerate.
6840 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
6842 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
6843 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
6844 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
6845 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
6847 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
6848 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
6849 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
6850 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
6852 2017-10-31 Joseph Myers <joseph@codesourcery.com>
6855 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
6857 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
6859 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
6861 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
6862 (CMPLXF32X): Likewise.
6863 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
6864 (CMPLXF64X): Likewise.
6865 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
6866 (CMPLXF128X): Likewise.
6869 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
6870 (__MATH_EVAL_FMT2): Define to add 0.0f.
6872 2017-10-31 Alan Modra <amodra@gmail.com>
6874 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
6876 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
6877 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
6878 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
6879 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
6880 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
6881 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
6882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
6883 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
6884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
6885 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
6886 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
6887 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
6888 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
6889 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
6890 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
6891 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
6892 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
6893 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
6894 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
6895 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
6896 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
6897 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
6898 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
6899 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
6900 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
6901 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
6902 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
6903 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
6904 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
6905 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
6906 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
6907 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
6908 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
6909 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
6910 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
6911 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
6912 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
6913 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
6914 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
6915 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
6916 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
6917 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
6918 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
6919 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
6920 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
6921 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
6922 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
6923 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
6924 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
6925 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
6926 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
6927 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
6928 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
6929 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
6930 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
6931 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
6932 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
6933 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
6934 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
6935 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
6936 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
6937 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
6938 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
6939 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
6940 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
6941 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
6942 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
6943 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
6944 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
6946 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
6947 include sysdep.h and math_ldbl_opt.h.
6949 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
6950 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
6951 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
6952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
6953 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
6954 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
6955 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
6956 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
6957 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
6958 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
6959 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
6960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
6961 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
6962 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
6963 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
6964 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
6965 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
6966 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
6967 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
6968 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
6969 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
6970 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
6971 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
6972 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
6973 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
6974 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
6976 2017-10-31 Alan Modra <amodra@gmail.com>
6978 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
6979 string/strncase_l.c, not string/strncase.c.
6980 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
6981 (libc_hidden_def): Redefine.
6983 2017-10-31 Alan Modra <amodra@gmail.com>
6985 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
6986 (__STRCMP, STRCMP, __strcasecmp_l): Define.
6987 (__strcasecmp): Don't define.
6989 2017-10-31 Alan Modra <amodra@gmail.com>
6991 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
6993 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
6994 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
6995 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
6997 2017-10-31 Alan Modra <amodra@gmail.com>
6999 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
7002 2017-10-31 Alan Modra <amodra@gmail.com>
7004 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
7005 Redefine only when SHARED.
7007 2017-10-30 Joseph Myers <joseph@codesourcery.com>
7009 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
7010 Include <bits/math-finite.h> with appropriate macros defined and
7012 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
7013 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
7014 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
7015 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
7016 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
7018 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
7019 [!_Mlong_double_] (_Mlong_double_): Likewise.
7020 [!_Mfloat16_] (_Mfloat16_): Likewise.
7021 [!_Mfloat32_] (_Mfloat32_): Likewise.
7022 [!_Mfloat64_] (_Mfloat64_): Likewise.
7023 [!_Mfloat128_] (_Mfloat128_): Likewise.
7024 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
7025 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
7026 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
7027 (_Mdouble_): Define without indirection through those macros.
7028 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
7029 [!_Mfloat128_] (_Mfloat128_): Likewise.
7030 [_Mlong_double_] (_Mlong_double_): Likewise.
7031 (_Mdouble_): Define without indirection through those macros.
7032 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
7033 not add -D_Mlong_double_=double.
7034 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
7035 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
7037 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
7039 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
7041 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
7043 * sysdeps/x86/libc-start.c: Reformat.
7045 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
7048 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
7052 (L(Src2)): Likewise.
7053 (L(1)): Renamed to ...
7056 2017-10-30 Joseph Myers <joseph@codesourcery.com>
7058 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
7059 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
7060 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
7061 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
7062 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
7063 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
7064 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
7065 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
7066 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
7067 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
7068 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
7069 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
7070 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
7071 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
7072 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
7073 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
7074 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
7075 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
7076 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
7077 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
7078 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
7079 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
7080 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
7081 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
7082 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
7083 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
7084 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
7085 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
7086 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
7087 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
7088 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
7089 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
7090 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
7091 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
7092 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
7093 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
7094 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
7095 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
7096 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
7097 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
7098 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
7099 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
7100 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
7101 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
7102 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
7103 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
7104 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
7105 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
7106 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
7107 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
7108 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
7109 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
7110 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
7111 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
7112 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
7113 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
7114 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
7115 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
7116 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
7117 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
7118 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
7119 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
7120 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
7121 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
7122 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
7123 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
7125 2017-10-30 Florian Weimer <fweimer@redhat.com>
7127 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
7129 * io/tst-mkdirat.c (do_test): Likewise.
7130 * io/tst-mkfifoat.c (do_test): Likewise.
7131 * io/tst-mknodat.c (do_test): Likewise.
7132 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
7133 * locale/programs/locale.c (select_dirs): Likewise.
7134 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
7135 * posix/bug-glob2.c (my_readdir): Likewise.
7136 * posix/tst-dir.c (main): Likewise.
7137 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
7138 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
7140 2017-10-30 Florian Weimer <fweimer@redhat.com>
7142 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
7145 2017-10-30 Florian Weimer <fweimer@redhat.com>
7147 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
7148 Convert to support/test-driver.c.
7149 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
7150 New macro parameters.
7151 (PRINTF): Remove macro. Use test_verbose conditionals instead.
7152 * posix/tst-gnuglob.c: New file.
7153 * posix/tst-gnuglob64.c: Likewise.
7154 * posix/Makefile (tests): Add tst-gnuglob64.
7156 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
7159 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
7160 and use a better translation for March in “mon”.
7161 * localedata/locales/csb_PL: Use more ASCII to improve the
7162 readability of the source.
7164 2017-10-30 Mike FABIAN <mfabian@redhat.com>
7167 * localedata/locales/km_KH: Use ASCII as much
7168 as possible for better readability of the source and
7169 remove useless comments.
7170 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
7171 was commented out and apparently wrong anyway because it was
7172 using Lao characters. If Buddhist era should be used
7173 for km_KH, a native speaker should write the correct formaat
7175 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
7176 (According to CLDR, the first weekday for Cambodia is Sunday).
7177 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
7178 (These were using Lao characters which must be wrong. If we get
7179 the correct data from a native speaker, we could add it back, until
7180 then it is better not to have name_mr and name_mrs at all than
7183 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
7185 * locale/loadlocale.c: Correct size of
7186 _nl_value_type_LC_<category> arrays.
7188 2017-10-27 Joseph Myers <joseph@codesourcery.com>
7190 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
7191 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
7192 with appropriate macros defined and undefined.
7193 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
7194 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
7195 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
7196 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
7197 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
7199 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
7201 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
7204 2017-10-27 Mike FABIAN <mfabian@redhat.com>
7206 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
7207 with lowercase letters to make it agree with CLDR.
7209 2017-10-27 Mike FABIAN <mfabian@redhat.com>
7212 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
7213 first letters of yesstr and nostr in yesexpr and noexpr,
7214 not for the full words.
7215 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
7216 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
7217 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
7218 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
7219 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
7220 first letters of yesstr and nostr in yesexpr and noexpr,
7221 until now only English was matched in yesexpr and noexpr.
7222 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
7223 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
7224 fil but not for tl. As tl and fil are very similar, using fil
7225 is probably better than using English.
7227 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
7230 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
7231 in yesstr and nostr.
7233 2017-10-26 Joseph Myers <joseph@codesourcery.com>
7235 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
7236 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
7237 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
7239 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
7241 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
7243 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
7245 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
7246 (SNANF128X): Likewise.
7248 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
7249 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
7250 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
7251 (HUGE_VAL_F32): Likewise.
7252 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
7253 (HUGE_VAL_F64): Likewise.
7254 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
7255 (HUGE_VAL_F32X): Likewise.
7256 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
7257 (HUGE_VAL_F64X): Likewise.
7258 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
7259 (HUGE_VAL_F128X): Likewise.
7261 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
7263 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
7264 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
7265 for the br_FR locale.
7267 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
7270 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
7272 2017-10-25 Carlos O'Donell <carlos@redhat.com>
7274 * locale/programs/record-status.h: Define globals, and function
7275 prototypes. Move function bodies...
7276 * locale/programs/record-status.c: ... to here. New file.
7277 * iconv/Makefile (iconv_prog-modules): Add record-status.
7278 * locale/Makefile (lib-modules): Likewise.
7279 * iconv/iconv_prog.c: Remove verbose.
7280 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
7281 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
7282 record a warning about ASCII compatibility.
7283 * locale/programs/ld-monetary.c (monetary_finish): If
7284 warn_int_curr_symbol is true then record a warning about the symbol
7285 not being in our ISO 4217 list.
7286 * locale/programs/locale.c: Include record-status.h. Remove verbose.
7287 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
7288 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
7289 (OPT_NO_WARN): Define.
7291 (options): Add entry for --no-warnings, and --warnings.
7292 (set_warnings): New function to enable/disable warnings.
7293 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
7294 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
7295 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
7296 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
7297 Pass flags to generate_locale.
7298 (generate_locale): Accept new flag argument and pass it to localedef
7300 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
7301 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
7303 * localedata/Makefile (test-input-data): Use full file name.
7304 * localedata/da_DK.in: Rename to...
7305 * localedata/da_DK.ISO-8859-1.in: ...this.
7306 * localedata/de_DE.in: Rename to...
7307 * localedata/de_DE.ISO-8859-1.in: ...this.
7308 * localedata/en_US.in: Rename to...
7309 * localedata/en_US.ISO-8859-1.in: ...this.
7310 * localedata/fr_FR.in: Rename to...
7311 * localedata/fr_FR.UTF-8.in: ... this.
7312 * localedata/hr_HR.in: Rename to...
7313 * localedata/hr_HR.ISO-8859-2.in: ...this.
7314 * localedata/hu_HU.in: Rename to...
7315 * localedata/hu_HU.UTF-8.in: ...this.
7316 * localedata/si_LK.in: Rename to...
7317 * localedata/si_LK.UTF-8.in: ...this.
7318 * localedata/sv_SE.in: Rename to...
7319 * localedata/sv_SE.ISO-8859-1.in: ...this.
7320 * localedata/tr_TR.in: Rename to...
7321 * localedata/tr_TR.UTF-8.in: ...this.
7322 * localedata/uk_UA.in: Rename to...
7323 * localedata/uk_UA.UTF-8.in: ...this.
7324 * localedata/sort-test.sh: Test file is locale name with the
7327 * localedata/unicode-gen/Makefile (check_i18n): Rename to
7328 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
7330 * localedata/locales/i18n_ctype: Regenerate.
7331 * localedata/locales/tr_TR: Likewise.
7332 * localedata/locales/translit_circle: Likewise.
7333 * localedata/locales/translit_cjk_compat: Likewise.
7334 * localedata/locales/translit_combining: Likewise.
7335 * localedata/locales/translit_compat: Likewise.
7336 * localedata/locales/translit_font: Likewise.
7337 * localedata/locales/translit_fraction: Likewise.
7339 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7341 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
7342 lxvd2x/stxvd2x with lvx/stvx.
7343 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
7345 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
7347 * include/alloc_buffer.h: Replace "if if " with "if " in
7349 * sysdeps/mips/memcpy.S: Likkewise.
7350 * sysdeps/mips/memset.S: Likewise.
7351 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
7353 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
7355 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
7358 2017-10-25 Mike FABIAN <mfabian@redhat.com>
7361 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
7363 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
7364 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
7365 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
7366 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
7367 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
7368 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
7369 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
7371 2017-10-25 Mike FABIAN <mfabian@redhat.com>
7373 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
7374 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
7375 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
7376 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
7377 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
7378 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
7379 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
7380 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
7381 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
7382 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
7383 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
7384 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
7386 2017-10-25 Mike FABIAN <mfabian@redhat.com>
7388 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
7389 as possible for better readability of the source.
7390 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
7391 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
7392 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
7393 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
7394 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
7395 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
7396 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
7397 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
7398 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
7399 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
7400 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
7401 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
7402 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
7403 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
7404 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
7405 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
7406 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
7407 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
7408 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
7409 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
7410 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
7411 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
7412 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
7413 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
7414 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
7415 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
7416 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
7417 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
7418 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
7419 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
7420 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
7421 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
7422 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
7423 * localedata/locales/en_US (LC_MESSAGES): Likewise.
7424 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
7425 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
7426 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
7427 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
7428 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
7429 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
7430 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
7431 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
7432 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
7433 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
7434 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
7435 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
7436 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
7437 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
7438 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
7439 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
7440 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
7441 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
7442 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
7443 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
7444 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
7445 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
7446 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
7447 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
7448 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
7449 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
7450 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
7451 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
7452 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
7453 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
7454 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
7455 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
7456 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
7457 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
7458 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
7459 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
7460 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
7461 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
7462 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
7463 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
7464 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
7465 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
7466 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
7467 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
7468 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
7469 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
7470 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
7471 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
7472 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
7473 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
7474 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
7475 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
7476 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
7477 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
7478 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
7479 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
7480 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
7481 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
7482 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
7483 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
7484 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
7485 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
7486 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
7487 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
7488 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
7489 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
7490 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
7491 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
7492 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
7493 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
7494 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
7495 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
7496 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
7497 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
7498 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
7499 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
7500 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
7501 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
7502 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
7503 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
7504 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
7505 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
7506 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
7507 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
7508 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
7509 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
7510 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
7511 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
7512 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
7513 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
7514 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
7515 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
7516 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
7517 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
7518 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
7519 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
7520 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
7521 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
7522 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
7523 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
7524 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
7525 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
7526 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
7527 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
7528 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
7529 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
7530 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
7531 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
7532 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
7533 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
7534 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
7535 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
7536 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
7537 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
7538 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
7539 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
7540 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
7541 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
7542 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
7543 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
7544 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
7545 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
7546 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
7547 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
7548 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
7549 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
7550 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
7551 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
7552 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
7553 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
7554 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
7555 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
7556 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
7557 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
7558 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
7559 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
7560 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
7561 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
7562 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
7563 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
7565 2017-10-25 Mike FABIAN <mfabian@redhat.com>
7567 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
7568 (Use first letters of yesstr and nostr correctly instead of using
7571 2017-10-25 Mike FABIAN <mfabian@redhat.com>
7573 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
7574 (Use first letters of yesstr and nostr correctly).
7576 2017-10-25 Mike FABIAN <mfabian@redhat.com>
7578 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
7579 also check for the first characters of yesstr and nostr.
7580 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
7581 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
7583 2017-10-25 Mike FABIAN <mfabian@redhat.com>
7585 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
7586 also check for Chinese characters.
7588 2017-10-25 Mike FABIAN <mfabian@redhat.com>
7590 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
7591 match also for the contents of yesstr and nostr. As the first letter
7592 of yesstr and nostr is equal, checking only for the first letter
7595 2017-10-25 Mike FABIAN <mfabian@redhat.com>
7597 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
7598 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
7600 2017-10-25 Mike FABIAN <mfabian@redhat.com>
7602 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
7603 of main contributor.
7605 2017-10-25 Mike FABIAN <mfabian@redhat.com>
7607 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
7608 instead of using English.
7610 2017-10-25 Mike FABIAN <mfabian@redhat.com>
7612 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
7613 by including the first letters of nostr and yesexpr in the regexp.
7614 Also make it more readable by using ASCII where possible.
7616 2017-10-25 Mike FABIAN <mfabian@redhat.com>
7618 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
7619 the first letter of nostr in the regexp. It agrees with CLDR now.
7620 Also make it more readable by using ASCII where possible.
7622 2017-10-24 Mike FABIAN <mfabian@redhat.com>
7624 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
7625 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
7626 these strings contain a U+17D6 (which somewhat looks like a colon)
7627 instead of a real colon to separate the full words for “yes”
7628 and “no” from the single letter responses.
7630 2017-10-24 Mike FABIAN <mfabian@redhat.com>
7632 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
7633 it agree with CLDR (include the first letter of yesstr).
7634 Also make it more readable by using ASCII where possible.
7636 2017-10-24 Mike FABIAN <mfabian@redhat.com>
7638 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
7639 and improve yesexpr and noexpr. The yesstr and nostr apparently
7640 came from CLDR. And CLDR has a bug there: these strings contain
7641 a U+0903 (which looks like a colon) instead of a real colon
7642 to separate the full words for “yes” and “no” from the single
7645 2017-10-24 Mike FABIAN <mfabian@redhat.com>
7647 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
7648 letters of the full yesstr and nostr in yesexpr and noexpr.
7650 2017-10-24 Mike FABIAN <mfabian@redhat.com>
7652 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
7653 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
7654 * localedata/locales/an_ES: Make source more readable by using ASCII
7657 2017-10-24 Mike FABIAN <mfabian@redhat.com>
7660 * localedata/locales/yuw_PG: New file.
7661 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
7662 * locale/iso-639.def: Add Yau (Uruwa).
7664 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
7666 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
7668 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
7670 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
7671 (__libc_realloc): Likewise.
7672 (_mid_memalign): Likewise.
7673 (__libc_calloc): Likewise.
7675 2017-10-23 Mike FABIAN <mfabian@redhat.com>
7677 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
7678 by adding the generic +1 and -0 as in all other locales.
7679 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
7680 day names and make it more readable by using ASCII where possible.
7682 2017-10-24 Joseph Myers <joseph@codesourcery.com>
7684 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
7685 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
7687 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7689 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
7690 WNOHANG in waitpid call.
7692 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
7694 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
7695 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
7697 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
7698 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
7699 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
7700 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
7701 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
7702 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
7703 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
7704 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
7707 2017-10-23 Michael Collison <michael.collison@arm.com>
7709 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
7710 with __builtin_sqrt.
7711 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
7712 with __builtin_sqrtf.
7713 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
7714 with __builtin_ceil.
7715 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
7716 with __builtin_ceilf.
7717 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
7718 with __builtin_floor.
7719 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
7720 with __builtin_floorf.
7721 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
7723 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
7724 with __builtin_fmaf.
7725 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
7726 with __builtin_fmax.
7727 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
7728 with __builtin_fmaxf.
7729 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
7730 with __builtin_fmin.
7731 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
7732 with __builtin_fminf.
7733 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
7734 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
7735 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
7736 with builtin_rint and conversion to int.
7737 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
7738 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
7739 with builtin_llround.
7740 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
7741 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
7742 with builtin_rint and conversion to long int.
7743 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
7744 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
7745 with builtin_lround.
7746 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
7747 with builtin_lroundf.
7748 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
7749 statements with __builtin_nearbyint.
7750 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
7751 statements with __builtin_nearbyintf.
7752 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
7753 with __builtin_rint.
7754 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
7755 with __builtin_rintf.
7756 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
7757 with __builtin_round.
7758 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
7759 with __builtin_roundf.
7760 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
7761 with __builtin_trunc.
7762 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
7763 with __builtin_truncf.
7764 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
7765 and s_l[l]round[f].c too.
7767 2017-10-23 Alan Modra <amodra@gmail.com>
7769 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
7770 Adjust stack after restoring regs. Add missing LR cfi_restore.
7772 2017-10-23 Alan Modra <amodra@gmail.com>
7774 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
7775 Move LR save and frame setup/teardown and LR restore to
7776 immediately around memset call. Provide cfi.
7778 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
7780 * sysdeps/i386/fpu/e_powf.S: Removed.
7781 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
7782 * sysdeps/i386/fpu/w_powf.c: Likewise.
7783 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
7784 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
7785 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
7787 (CFLAGS-e_powf-sse2.c): New.
7788 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
7789 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
7791 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
7793 * sysdeps/i386/fpu/e_log2f.S: Removed.
7794 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
7795 * sysdeps/i386/fpu/w_log2f.c: Likewise.
7796 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
7797 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
7798 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
7800 (CFLAGS-e_log2f-sse2.c): New.
7801 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
7802 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
7804 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
7806 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
7808 (CFLAGS-e_powf-fma.c): New.
7809 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
7810 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
7812 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
7814 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
7816 (CFLAGS-e_log2f-fma.c): New.
7817 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
7818 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
7820 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
7822 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
7824 (CFLAGS-e_logf-fma.c): New.
7825 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
7826 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
7828 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
7830 * sysdeps/i386/fpu/e_logf.S: Removed.
7831 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
7832 * sysdeps/i386/fpu/w_logf.c: Likewise.
7833 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
7834 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
7835 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
7836 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
7838 (CFLAGS-e_logf-sse2.c): New.
7839 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
7840 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
7842 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
7844 * sysdeps/i386/fpu/e_exp2f.S: Removed.
7845 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
7846 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
7847 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
7848 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
7850 (CFLAGS-e_exp2f-sse2.c): New.
7851 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
7852 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
7854 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
7856 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
7858 (CFLAGS-e_exp2f-fma.c): New.
7859 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
7860 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
7862 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
7864 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
7865 * sysdeps/i386/fpu/e_expf.S: Likewise.
7866 * sysdeps/i386/fpu/math_errf.c: Likewise.
7867 * sysdeps/i386/fpu/w_expf.c: Likewise.
7868 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
7869 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
7870 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
7871 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
7872 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
7873 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
7875 (CFLAGS-e_expf-sse2.c): New.
7876 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
7877 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
7879 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
7881 * sysdeps/x86_64/fpu/e_expf.S: Removed.
7882 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
7883 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
7884 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
7886 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
7888 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
7889 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
7891 (__redirect_expf): This.
7892 (SYMBOL_NAME): Changed to expf.
7893 (__ieee754_expf): Renamed to ...
7895 (__GI___expf): This.
7896 (__ieee754_expf): Add strong_alias.
7897 (__expf_finite): Likewise.
7899 Include <sysdeps/ieee754/flt-32/e_expf.c>.
7901 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
7904 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
7907 2017-10-21 Florian Weimer <fweimer@redhat.com>
7909 * posix/Makefile (tests): Add tst-glob-tilde.
7910 (tests-special): Add tst-glob-tilde-mem.out
7911 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
7912 (tst-glob-tilde-mem.out): Add mtrace check.
7913 * posix/tst-glob-tilde.c: New file.
7915 2017-10-20 Joseph Myers <joseph@codesourcery.com>
7917 * bits/floatn-common.h: New file.
7918 * math/Makefile (headers): Add bits/floatn-common.h.
7919 * bits/floatn.h: Include <bits/floatn-common.h>.
7920 * sysdeps/ia64/bits/floatn.h: Likewise.
7921 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
7922 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
7923 * sysdeps/powerpc/bits/floatn.h: Likewise.
7924 * sysdeps/x86/bits/floatn.h: Likewise.
7926 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7928 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
7929 indicates whether compiler emits an warning for alias for
7930 functions with incompatible types.
7933 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
7934 the auxiliary process is terminated by a signal before calling _exit
7937 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
7940 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
7942 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
7943 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
7944 and bit_arch_XSAVEC_Usable if needed.
7945 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
7946 and bit_arch_Use_dl_runtime_resolve_opt.
7947 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
7949 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
7950 (bit_arch_Prefer_No_AVX512): Updated.
7951 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
7952 (bit_arch_XSAVEC_Usable): New.
7953 (STATE_SAVE_OFFSET): Likewise.
7954 (STATE_SAVE_MASK): Likewise.
7955 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
7956 (cpu_features): Add xsave_state_size and xsave_state_full_size.
7957 (index_arch_Use_dl_runtime_resolve_opt): Removed.
7958 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
7959 (index_arch_XSAVEC_Usable): New.
7960 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
7961 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
7962 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
7964 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
7965 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
7966 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
7967 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
7968 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
7969 _dl_runtime_resolve_xsavec.
7970 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
7972 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
7973 instead of VEC_SIZE.
7974 (REGISTER_SAVE_BND0): Removed.
7975 (REGISTER_SAVE_BND1): Likewise.
7976 (REGISTER_SAVE_BND3): Likewise.
7977 (REGISTER_SAVE_RAX): Always defined to 0.
7979 (_dl_runtime_resolve_avx): Likewise.
7980 (_dl_runtime_resolve_avx_slow): Likewise.
7981 (_dl_runtime_resolve_avx_opt): Likewise.
7982 (_dl_runtime_resolve_avx512): Likewise.
7983 (_dl_runtime_resolve_avx512_opt): Likewise.
7984 (_dl_runtime_resolve_sse): Likewise.
7985 (_dl_runtime_resolve_sse_vex): Likewise.
7987 (_dl_runtime_resolve_fxsave): Likewise.
7988 (USE_XSAVE): Likewise.
7989 (_dl_runtime_resolve_xsave): Likewise.
7990 (USE_XSAVEC): Likewise.
7991 (_dl_runtime_resolve_xsavec): Likewise.
7992 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
7994 (_dl_runtime_resolve_avx512_opt): Likewise.
7995 (_dl_runtime_resolve_avx): Likewise.
7996 (_dl_runtime_resolve_avx_opt): Likewise.
7997 (_dl_runtime_resolve_sse): Likewise.
7998 (_dl_runtime_resolve_sse_vex): Likewise.
7999 (_dl_runtime_resolve_fxsave): New.
8000 (_dl_runtime_resolve_xsave): Likewise.
8001 (_dl_runtime_resolve_xsavec): Likewise.
8003 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
8007 * posix/glob.c (__glob): Fix one-byte overflow.
8009 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
8011 * malloc/malloc.c (sysdep-cancel.h): Add include.
8013 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
8015 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
8017 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
8019 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
8020 (tests): Remove $(objpfx)ga_test depdendency.
8021 * resolv/ga_test.c: Remove file.
8023 2017-10-20 Mike FABIAN <mfabian@redhat.com>
8026 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
8027 * localedata/locales/kab_DZ: New file.
8029 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
8031 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
8032 _dl_relocate_static_pie instead of _dl_start to compute load
8033 address in static PIE.
8035 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
8037 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
8039 2017-10-20 Mike FABIAN <mfabian@redhat.com>
8042 * localedata/SUPPORTED: Add shn_MM/UTF-8.
8043 * localedata/locales/shn_MM: New file.
8045 2017-10-20 Florian Weimer <fweimer@redhat.com>
8048 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
8049 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
8050 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
8051 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
8052 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
8053 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
8055 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
8057 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8059 2017-10-19 Joseph Myers <joseph@codesourcery.com>
8061 * sysdeps/mips/ieee754/bits/floatn.h: New file.
8064 * sysdeps/mips/bits/long-double.h: Move to ....
8065 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
8067 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
8069 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
8071 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
8072 H.J. Lu <hongjiu.lu@intel.com>
8075 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
8076 GLRO(dl_platform) to NULL.
8077 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
8078 (modules-names): Add tst-platformmod-1 and
8079 x86_64/tst-platformmod-2.
8080 (CFLAGS-tst-platform-1.c): New.
8081 (CFLAGS-tst-platformmod-1.c): Likewise.
8082 (CFLAGS-tst-platformmod-2.c): Likewise.
8083 (LDFLAGS-tst-platformmod-2.so): Likewise.
8084 ($(objpfx)tst-platform-1): Likewise.
8085 ($(objpfx)tst-platform-1.out): Likewise.
8086 (tst-platform-1-ENV): Likewise.
8087 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
8088 * sysdeps/x86_64/tst-platform-1.c: New file.
8089 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
8090 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
8092 2017-10-19 Mike FABIAN <mfabian@redhat.com>
8095 * locale/iso-639.def: Add Karbi.
8096 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
8097 * localedata/locales/mjw_IN: New file.
8099 2017-10-18 Joseph Myers <joseph@codesourcery.com>
8101 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
8102 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
8103 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
8104 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
8105 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
8106 (libm_alias_ldouble_other_r): Also create _Float128 alias.
8107 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
8109 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
8110 (libm_alias_ldouble_other_r): Also create _Float128 alias.
8111 * manual/math.texi (Mathematics): Document additional architecture
8112 support for _Float128.
8113 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
8114 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8115 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8116 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8117 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8118 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8119 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8120 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8121 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8122 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8123 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8124 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8125 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8126 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8127 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8129 2017-10-18 Renlin Li <renlin.li@arm.com>
8131 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
8132 _DYNAMIC symbol to calculate load address.
8134 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
8136 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
8137 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
8139 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
8140 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
8142 2017-10-18 Mike FABIAN <mfabian@redhat.com>
8145 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
8146 and improve readability by using more ASCII.
8147 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
8148 and improve readability by using more ASCII.
8150 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
8152 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
8153 not all targets support atomics on bool.
8155 2017-10-17 Joseph Myers <joseph@codesourcery.com>
8157 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
8158 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
8160 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
8161 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
8162 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
8163 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
8164 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
8165 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
8167 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8169 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
8172 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
8175 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
8176 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
8177 (do_check_remalloced_chunk): Fix build bug.
8178 (do_check_malloc_state): Add assert that checks arena->top.
8179 (malloc_consolidate): Remove initialization.
8180 (int_mallinfo): Remove call to malloc_consolidate.
8181 (__libc_mallopt): Clarify why malloc_consolidate is needed.
8183 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
8185 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
8186 (have_fastchunks): Remove.
8187 (clear_fastchunks): Remove.
8188 (set_fastchunks): Remove.
8189 (malloc_state): Add have_fastchunks.
8190 (malloc_init_state): Use have_fastchunks.
8191 (do_check_malloc_state): Remove incorrect invariant checks.
8192 (_int_malloc): Use have_fastchunks.
8193 (_int_free): Likewise.
8194 (malloc_consolidate): Likewise.
8196 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
8198 * malloc/malloc.c (tcache_put): Inline.
8199 (tcache_get): Inline.
8201 2017-10-17 Jordi Mallach <jordi@gnu.org>
8203 Aurelien Jarno <aurelien@aurel32.net>
8205 * localedata/locales/ca_ES@valencia: New file.
8206 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
8208 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
8211 * math/math.h: Let signbit use the builtin in C++ mode with gcc
8214 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8216 * scripts/build-many-glibcs.py (Context.add_all_configs):
8217 Add arm-linux-gnueabihf multiarch extra_glibcs.
8219 * sysdeps/generic/ifunc-init.h: New file.
8220 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
8222 2017-10-17 Mike FABIAN <mfabian@redhat.com>
8225 * localedata/locales/el_GR: Set n_cs_precedes to 0.
8226 * localedata/locales/el_CY: copy "el_GR" because it is identical.
8227 * stdlib/tst-strfmon_l.c: adapt test case.
8229 2017-10-16 Joseph Myers <joseph@codesourcery.com>
8231 * sysdeps/generic/float128-abi.h: New file.
8232 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
8233 non-__prefixed symbols to ....
8234 * math/Versions: ... here. Include <float128-abi.h>.
8235 * stdlib/Versions ... and here. Include <float128-abi.h>
8237 2017-10-16 Florian Weimer <fweimer@redhat.com>
8239 * version.h (VERSION): Switch to ".9000" as the development
8242 2017-10-16 Florian Weimer <fweimer@redhat.com>
8245 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
8246 compat_symbol_reference to access non-default version.
8248 2017-10-16 Florian Weimer <fweimer@redhat.com>
8250 * malloc/Makefile (others-extras): Set to mcheck-init.o.
8252 2017-10-16 Carlos O'Donell <carlos@redhat.com>
8254 * include/shlib-compat.h (compat_symbol_reference): Update
8257 2017-10-16 Joseph Myers <joseph@codesourcery.com>
8259 * math/Makefile (test-types): Add
8260 $(type-float128-$(float128-alias-fcts)).
8261 * math/test-float128.h (TYPE_STR): Define conditional on
8262 [FLT128_MANT_DIG == LDBL_MANT_DIG].
8263 (ULP_IDX): Likewise.
8264 (ULP_I_IDX): Likewise.
8266 * stdlib/strtold.c: Include <bits/floatn.h>
8267 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
8268 and later undefine as macro. Define as weak alias if
8270 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
8271 and later undefine as macro. Define as weak alias if
8273 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
8274 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
8275 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
8276 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
8277 Define and later undefine as macro. Define as weak alias if
8279 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
8281 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
8282 Define and later undefine as macro. Define as weak alias if
8284 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
8285 Define and later undefine as macro. Define as weak alias if
8288 2017-10-15 Carlos O'Donell <carlos@redhat.com>
8290 * localedata/collate-test.c (allocate_arrays): Don't use \n in
8291 record_verbose messages.
8293 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
8296 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
8297 to silence -O3 -Wall warning with GCC 7.
8299 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
8301 * Makeconfig (+link-static-before-libc): Use the first of
8302 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
8303 * gmon/Makefile (tests): Add tst-gmon-static.
8304 (tests-static): Likewise.
8305 (CFLAGS-tst-gmon-static.c): New.
8306 (CRT-tst-gmon-static): Likewise.
8307 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
8308 (tst-gmon-static-ENV): Likewise.
8309 (tests-special): Likewise.
8310 ($(objpfx)tst-gmon-static.out): Likewise.
8311 (clean-tst-gmon-static-data): Likewise.
8312 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
8313 * gmon/tst-gmon-static-gprof.sh: New file.
8314 * gmon/tst-gmon-static.c: Likewise.
8316 2017-10-13 Carlos O'Donell <carlos@redhat.com>
8319 * locale/programs/linereader.c (get_string): Don't warn on
8320 non-symbolic character.
8323 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
8327 * locale/programs/record-status.h: New file
8328 * locale/programs/locale.c: Add comment.
8329 * locale/programs/charmap-dir.c: Don't include error.h.
8330 (charmap_opendir): Use record_error.
8331 * locale/programs/charmap.c: Don't include error.h.
8332 (charmap_read): Use record_error, and record_warning.
8333 (parse_charmap): Likewise.
8334 * locale/programs/ld-address.c: Don't include error.h.
8335 (address_finish): Use record_error, and record_warning.
8336 * locale/programs/ld-collate.c: Don't include error.h.
8337 (collate_finish): Use record_error, and record_error_at_line.
8338 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
8339 (ctype_class_new): Likewise.
8340 (ctype_map_new): Likewise.
8341 (set_one_default): Likewise.
8342 (set_class_defaults): Likewise.
8343 (translit_flatten): Likewise.
8344 (allocate_arrays): Use record_error, and record_verbose.
8345 * locale/programs/ld-identification.c: Don't include error.h.
8346 (indentation_finish): Use record_error and record_warning.
8347 * locale/programs/ld-measurement.c: Don't include error.h.
8348 (measurement_finish): Use record_error.
8349 * locale/programs/ld-messages.c
8350 (message_finish): Likewise.
8351 * locale/programs/ld-monetary.c
8352 (monetary_finish): Likewise.
8353 * locale/programs/ld-name.c (name_finish): Use record_error
8355 * locale/programs/ld-numeric.c
8356 (numeric_finish): Use record_error.
8357 * locale/programs/ld-paper.c: Don't include error.h.
8358 (paper_finish): Use record_error.
8359 * locale/programs/ld-telephone.c: Don't include error.h.
8360 (telephone_finish): Use record_error.
8361 * locale/programs/ld-time.c (time_finish): Likewise.
8362 * locale/programs/linereader.h (lr_error): Make inline func.
8363 * locale/programs/localedef.c: Define recorded_warning_count,
8364 and recorded_error_count.
8365 (main): Use record_error. Use recorded_error_count and
8366 recorded_warning_count to issue correct error returns.
8367 (add_to_readlist): Use record_error.
8368 (find_locale): Likewise.
8369 (load_locale): Likewise.
8370 * locale/programs/localedef.h: Remove be_quiet
8371 and WITH_CUR_LOCALE.
8372 * locale/programs/locarchive.c (compare_from_file): Use
8374 * locale/programs/locfile.c (write_locale_data): Use
8376 * locale/programs/repertoire.c: Dont include error.h.
8377 (repertoire_complain): Use record_error.
8378 * localedata/tst-fmon.sh: Expect failures from localedef.
8379 * localedata/tst-locale.sh: Likewise.
8380 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
8382 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
8383 (REPORTS): Likewise.
8385 (i18n): Rename to...
8386 (i18n_ctype): ...this.
8387 (i18n-report): Rename to...
8388 (i18n_ctype-report): ...this.
8389 * localedata/locales/i18n_ctype: Regenerate.
8390 * localedata/locales/i18n: copy i18n_ctype.
8392 2017-10-13 Joseph Myers <joseph@codesourcery.com>
8394 * stdlib/strfroml.c: Include <bits/floatn.h>.
8395 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
8396 Define before include of <stdlib.h> and undefine afterwards, then
8397 define as weak alias.
8399 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
8400 Undefine and restore default definition. Use
8401 libm_alias_ldouble_other.
8403 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
8406 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
8409 2017-10-13 James Clarke <jrtc27@jrtc27.com>
8411 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
8412 Assign sym_map to be map for local symbols, as TLS relocations
8413 use sym_map to determine whether the symbol is defined and to
8414 extract the TLS information.
8415 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
8416 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
8418 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8421 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
8422 (math_force_eval): Add powerpc version.
8425 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
8427 (do_test): Likewise.
8428 * stdio-common/tst-printf.sh: Likewise.
8429 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
8430 ifdef clause in order to set the carry bit right. Replace r0 by
8431 0 without changing the behavior.
8433 2017-10-13 Joseph Myers <joseph@codesourcery.com>
8435 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
8436 <libm-alias-ldouble.h>.
8437 (fabsl): Define using libm_alias_ldouble.
8438 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
8439 <libm-alias-ldouble.h>.
8440 (fabsl): Define using libm_alias_ldouble.
8442 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
8443 Remove conditional code.
8445 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
8446 Rename to __clog10_internal_l.
8447 (__clog10_internal_l): Define aliases using
8448 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
8451 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8453 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
8454 * benchtests/sincosf-inputs: New file.
8455 * benchtests/cosf-inputs: New file.
8456 * benchtests/sinf-inputs: New file.
8458 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
8460 * posix/tst-spawn.c (do_test): Wait for both children.
8462 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
8465 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
8466 tests-pie): Add tst-gmon-pie.
8467 (CFLAGS-tst-gmon-pie.c): New.
8468 (CRT-tst-gmon-pie): Likewise.
8469 (tst-gmon-pie-ENV): Likewise.
8470 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
8471 ($(objpfx)tst-gmon-pie.out): Likewise.
8472 (clean-tst-gmon-pie-data): Likewise.
8473 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
8474 * gmon/gmon.c [PIC]: Include <link.h>.
8475 [PIC] (callback): New function.
8476 (write_hist): Add an argument for load address. Subtract load
8478 (write_call_graph): Likewise.
8479 (write_gmon): Call __dl_iterate_phdr to get load address, pass
8480 it to write_hist and write_call_graph.
8481 * gmon/tst-gmon-pie.c: New file.
8483 2017-10-11 Joseph Myers <joseph@codesourcery.com>
8485 * math/Makefile (test-types-basic): New variable.
8486 (test-types): Likewise.
8487 (libm-test-support): Use $(test-types) instead of $(types).
8488 (libm-tests-base-normal): Likewise.
8489 (libm-tests-base-finite): Likewise.
8490 (libm-tests-base-inline): Likewise.
8491 (generated): Likewise.
8492 ($(objpfx)libm-test-support-$(t).c): Likewise.
8493 (libm-tests-for-type iterator): Likewise.
8494 (libm-test-support iterator): Likewise.
8495 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
8496 (ulp_idx): Use ULP_IDX.
8497 * math/test-ldouble.h: Include <float.h>.
8498 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
8499 (ULP_IDX): New macro.
8500 (ULP_I_IDX): Likewise.
8501 * math/test-double.h (ULP_IDX): Likewise.
8502 (ULP_I_IDX): Likewise.
8503 * math/test-float.h (ULP_IDX): Likewise.
8504 (ULP_I_IDX): Likewise.
8505 * math/test-float128.h (ULP_IDX): Likewise.
8506 (ULP_I_IDX): Likewise.
8508 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8510 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
8511 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
8512 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
8513 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
8514 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
8515 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
8516 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
8517 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
8518 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
8519 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
8520 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
8521 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
8522 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
8523 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
8524 (SINGLE_THREAD_BY_GLOBAL): Define.
8525 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
8527 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
8529 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
8531 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
8533 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
8534 (SINGLE_THREAD_BY_GLOBAL): Likewise.
8535 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
8538 2017-10-11 Andreas Schwab <schwab@suse.de>
8540 * nis/Makefile (aux): Remove.
8541 * nscd/Makefile (aux): Add nscd_hash.
8542 (nscd-modules): Likewise.
8543 ($(objpfx)nscd): Don't depend on libnsl.
8544 * nscd/nscd_hash.c: New file.
8545 * nscd/nscd_hash.h: Likewise.
8546 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
8547 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
8548 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
8549 instead of <nis/rpcsvc/nis.h>.
8550 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
8552 2017-10-11 Florian Weimer <fweimer@redhat.com>
8555 Avoid large NSS buffers with many addresses, aliases.
8556 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
8557 using dynarrays and struct alloc_buffer.
8558 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
8559 (tst-nss-files-hosts-multi): Link with -ldl.
8560 * nss/tst-nss-files-hosts-multi.c: New file.
8562 2017-10-11 Florian Weimer <fweimer@redhat.com>
8565 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
8566 scratch_buffer. Eliminate gotos.
8568 2017-10-11 Joseph Myers <joseph@codesourcery.com>
8570 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
8571 libm_alias_ldouble_other.
8572 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
8573 undefine and redefine.
8574 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
8575 (exp10l): Do not define here.
8576 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
8577 (weak_alias): Undefine and redefine.
8578 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
8579 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
8580 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
8581 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
8583 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
8584 [!__fma] (fma): Define using libm_alias_double.
8585 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
8586 [!__fmaf] (fmaf): Define using libm_alias_float.
8587 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
8588 (fmal): Define using libm_alias_ldouble.
8590 2017-10-10 Joseph Myers <joseph@codesourcery.com>
8592 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
8594 (libm_alias_double_other): Likewise.
8595 (libm_alias_double_r): Use libm_alias_double_other_r.
8596 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
8598 (libm_alias_float_other): Likewise.
8599 (libm_alias_float_r): Use libm_alias_float_other_r.
8600 * sysdeps/generic/libm-alias-float128.h
8601 (libm_alias_float128_other_r): New macro.
8602 (libm_alias_float128_other): Likewise.
8603 (libm_alias_float128_r): Use libm_alias_float128_other_r.
8604 * sysdeps/generic/libm-alias-ldouble.h
8605 (libm_alias_ldouble_other_r): New macro.
8606 (libm_alias_ldouble_other): Likewise.
8607 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
8608 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
8609 (libm_alias_double_other_r): New macro.
8610 (libm_alias_double_other): Likewise.
8611 (libm_alias_double_r): Use libm_alias_double_other_r.
8612 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
8613 (libm_alias_ldouble_other_r): New macro.
8614 (libm_alias_ldouble_other): Likewise.
8615 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
8616 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
8617 [!USE_AS_COMPAT]: Use libm_alias_double_other.
8618 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
8619 [!USE_AS_COMPAT]: Use libm_alias_float_other.
8620 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
8621 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
8622 * math/w_exp2f.c: Use libm_alias_float_other.
8623 * math/w_expf.c: Likewise.
8624 * math/w_log2f.c: Likewise.
8625 * math/w_logf.c: Likewise.
8626 * math/w_powf.c: Likewise.
8627 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
8628 [!__exp2f]: Use libm_alias_float_other.
8629 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
8630 [!__expf]: Use libm_alias_float_other.
8631 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
8632 [!__log2f]: Use libm_alias_float_other.
8633 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
8634 [!__logf]: Use libm_alias_float_other.
8635 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
8636 [!__powf]: Use libm_alias_float_other.
8638 2017-10-10 Florian Weimer <fweimer@redhat.com>
8640 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
8642 (_nss_files_gethostbyname3_r): Call it.
8644 2017-10-09 Joseph Myers <joseph@codesourcery.com>
8646 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
8647 error. Remove default definition of declare_mgen_alias.
8648 [!declare_mgen_alias_r]: Likewise.
8649 * sysdeps/generic/math-type-macros-double.h
8650 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
8651 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
8652 (declare_mgen_alias_r): Likewise.
8653 * sysdeps/generic/math-type-macros-float128.h
8654 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
8655 * sysdeps/generic/math-type-macros-ldouble.h
8656 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
8657 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
8659 (declare_mgen_alias_r_s): Likewise.
8660 (declare_mgen_alias_r): Likewise.
8661 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
8662 (lgamma_r): Define using libm_alias_double_r.
8663 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
8664 (lgammaf_r): Define using libm_alias_float_r.
8665 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
8666 (lgammal_r): Define using libm_alias_ldouble_r.
8667 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
8668 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
8670 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8672 * lib/glob.c (__glob_pattern_type): Remove now-spurious
8675 2017-10-09 Joseph Myers <joseph@codesourcery.com>
8677 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
8679 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
8682 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
8683 [__cplusplus >= 201103] (__USE_ISOC99): Define.
8684 * math/Makefile (test-math-cxx11): New test.
8685 * math/test-math-cxx11.cc: New file.
8687 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
8689 * login/openpty.c (openpty): Close slave pty file descriptor on error.
8691 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
8692 call to allocate the slave pty file descriptor.
8694 2017-10-06 Joseph Myers <joseph@codesourcery.com>
8696 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
8697 [!__fma] (fma): Define using libm_alias_double.
8698 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
8699 [!__fma] (fma): Define using libm_alias_double.
8701 * sysdeps/ieee754/float128/float128_private.h: Include
8702 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
8703 (libm_alias_ldouble_r): Undefine and redefine.
8704 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
8705 <libm-alias-ldouble.h>.
8706 (asinhl): Define using libm_alias_ldouble.
8707 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
8708 <libm-alias-ldouble.h>.
8709 (atanl): Define using libm_alias_ldouble.
8710 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
8711 <libm-alias-ldouble.h>.
8712 (cbrtl): Define using libm_alias_ldouble.
8713 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
8714 <libm-alias-ldouble.h>.
8715 (ceill): Define using libm_alias_ldouble.
8716 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
8717 <libm-alias-ldouble.h>.
8718 (copysignl): Define using libm_alias_ldouble.
8719 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
8720 <libm-alias-ldouble.h>.
8721 (cosl): Define using libm_alias_ldouble.
8722 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
8723 <libm-alias-ldouble.h>.
8724 (erfl): Define using libm_alias_ldouble.
8726 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
8727 <libm-alias-ldouble.h>.
8728 (expm1l): Define using libm_alias_ldouble.
8729 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
8730 <libm-alias-ldouble.h>.
8731 (fabsl): Define using libm_alias_ldouble.
8732 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
8733 <libm-alias-ldouble.h>.
8734 (floorl): Define using libm_alias_ldouble.
8735 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
8736 <libm-alias-ldouble.h>.
8737 (fmal): Define using libm_alias_ldouble.
8738 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
8739 <libm-alias-ldouble.h>.
8740 (frexpl): Define using libm_alias_ldouble.
8741 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
8743 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
8744 <libm-alias-ldouble.h>.
8745 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
8747 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
8748 <libm-alias-ldouble.h>.
8749 (getpayloadl): Define using libm_alias_ldouble.
8750 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
8751 <libm-alias-ldouble.h>.
8752 (llrintl): Define using libm_alias_ldouble.
8753 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
8754 <libm-alias-ldouble.h>.
8755 (llroundl): Define using libm_alias_ldouble.
8756 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
8757 <libm-alias-ldouble.h>.
8758 (logbl): Define using libm_alias_ldouble.
8759 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
8760 <libm-alias-ldouble.h>.
8761 (lrintl): Define using libm_alias_ldouble.
8762 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
8763 <libm-alias-ldouble.h>.
8764 (lroundl): Define using libm_alias_ldouble.
8765 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
8766 <libm-alias-ldouble.h>.
8767 (modfl): Define using libm_alias_ldouble.
8768 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
8769 <libm-alias-ldouble.h>.
8770 (nearbyintl): Define using libm_alias_ldouble.
8771 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
8772 <libm-alias-ldouble.h>.
8773 (nextafterl): Define using libm_alias_ldouble.
8774 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
8775 <libm-alias-ldouble.h>.
8776 (nextupl): Define using libm_alias_ldouble.
8777 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
8778 <libm-alias-ldouble.h>.
8779 (remquol): Define using libm_alias_ldouble.
8780 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
8781 <libm-alias-ldouble.h>.
8782 (rintl): Define using libm_alias_ldouble.
8783 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
8784 <libm-alias-ldouble.h>.
8785 (roundevenl): Define using libm_alias_ldouble.
8786 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
8787 <libm-alias-ldouble.h>.
8788 (roundl): Define using libm_alias_ldouble.
8789 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
8790 using libm_alias_ldouble.
8791 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
8792 <libm-alias-ldouble.h>.
8793 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
8794 Define using libm_alias_ldouble.
8795 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
8796 <libm-alias-ldouble.h>.
8797 (sincosl): Define using libm_alias_ldouble.
8798 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
8799 <libm-alias-ldouble.h>.
8800 (sinl): Define using libm_alias_ldouble.
8801 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
8802 <libm-alias-ldouble.h>.
8803 (tanhl): Define using libm_alias_ldouble.
8804 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
8805 <libm-alias-ldouble.h>.
8806 (tanl): Define using libm_alias_ldouble.
8807 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
8808 <libm-alias-ldouble.h>.
8809 (totalorderl): Define using libm_alias_ldouble.
8810 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
8811 <libm-alias-ldouble.h>.
8812 (totalordermagl): Define using libm_alias_ldouble.
8813 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
8814 <libm-alias-ldouble.h>.
8815 (truncl): Define using libm_alias_ldouble.
8816 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
8818 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
8820 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
8821 <libm-alias-ldouble.h>.
8822 (weak_alias): Do not undefine and redefine.
8823 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
8824 (copysignl): Define with long_double_symbol only if [IS_IN
8826 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
8827 <libm-alias-ldouble.h>.
8828 (weak_alias): Do not undefine and redefine.
8829 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
8830 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
8831 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
8832 <libm-alias-ldouble.h>.
8833 (weak_alias): Do not undefine and redefine.
8834 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
8835 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
8836 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
8837 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
8838 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
8839 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
8840 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
8841 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
8842 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
8843 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
8844 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
8845 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
8846 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
8847 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
8848 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
8849 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
8850 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
8851 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
8852 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
8853 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
8854 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
8855 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
8856 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
8857 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
8858 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
8859 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
8861 2017-10-06 Carlos O'Donell <carlos@redhat.com>
8864 * malloc/malloc.c (tcache_shutting_down): Use bool type.
8865 (tcache_thread_freeres): Set tcache_shutting_down before
8867 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
8868 * malloc/tst-malloc-tcache-leak.c: New file.
8870 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8872 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
8873 back to powerpc32 file.
8874 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
8875 (memrchr): Add __memrchr_power8 to ifunc list.
8876 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
8877 extra bytes for unaligned inputs.
8879 2017-10-06 Joseph Myers <joseph@codesourcery.com>
8881 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
8882 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
8883 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
8884 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
8885 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
8887 2017-10-05 Joseph Myers <joseph@codesourcery.com>
8889 * sysdeps/arm/libm-test-ulps: Update.
8891 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
8892 <libm-alias-ldouble.h>.
8893 (asinhl): Define using libm_alias_ldouble.
8894 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
8895 <libm-alias-ldouble.h>.
8896 (cbrtl): Define using libm_alias_ldouble.
8897 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
8898 <libm-alias-ldouble.h>.
8899 (copysignl): Define using libm_alias_ldouble.
8900 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
8901 <libm-alias-ldouble.h>.
8902 (cosl): Define using libm_alias_ldouble.
8903 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
8904 <libm-alias-ldouble.h>.
8905 (erfl): Define using libm_alias_ldouble.
8907 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
8908 <libm-alias-ldouble.h>.
8909 (fmal): Define using libm_alias_ldouble.
8910 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
8911 <libm-alias-ldouble.h>.
8912 (frexpl): Define using libm_alias_ldouble.
8913 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
8915 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
8916 <libm-alias-ldouble.h>.
8917 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
8919 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
8920 <libm-alias-ldouble.h>.
8921 (getpayloadl): Define using libm_alias_ldouble.
8922 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
8923 <libm-alias-ldouble.h>.
8924 (llrintl): Define using libm_alias_ldouble.
8925 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
8926 <libm-alias-ldouble.h>.
8927 (llroundl): Define using libm_alias_ldouble.
8928 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
8929 <libm-alias-ldouble.h>.
8930 (lrintl): Define using libm_alias_ldouble.
8931 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
8932 <libm-alias-ldouble.h>.
8933 (lroundl): Define using libm_alias_ldouble.
8934 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
8935 <libm-alias-ldouble.h>.
8936 (modfl): Define using libm_alias_ldouble.
8937 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
8938 <libm-alias-ldouble.h>.
8939 (nextupl): Define using libm_alias_ldouble.
8940 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
8941 <libm-alias-ldouble.h>.
8942 (remquol): Define using libm_alias_ldouble.
8943 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
8944 <libm-alias-ldouble.h>.
8945 (roundevenl): Define using libm_alias_ldouble.
8946 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
8947 <libm-alias-ldouble.h>.
8948 (roundl): Define using libm_alias_ldouble.
8949 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
8950 using libm_alias_ldouble.
8951 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
8952 <libm-alias-ldouble.h>.
8953 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
8954 <libm-alias-ldouble.h>.
8955 (setpayloadsigl): Define using libm_alias_ldouble.
8956 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
8957 <libm-alias-ldouble.h>.
8958 (sincosl): Define using libm_alias_ldouble.
8959 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
8960 <libm-alias-ldouble.h>.
8961 (sinl): Define using libm_alias_ldouble.
8962 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
8963 <libm-alias-ldouble.h>.
8964 (tanhl): Define using libm_alias_ldouble.
8965 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
8966 <libm-alias-ldouble.h>.
8967 (tanl): Define using libm_alias_ldouble.
8968 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
8969 <libm-alias-ldouble.h>.
8970 (totalorderl): Define using libm_alias_ldouble.
8971 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
8972 <libm-alias-ldouble.h>.
8973 (totalordermagl): Define using libm_alias_ldouble.
8974 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
8976 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
8979 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
8981 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
8983 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
8984 (__libc_ifunc_impl_list): Likewise.
8985 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
8986 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
8988 * benchtests/bench-memmove-walk.c: New file.
8989 * benchtests/Makefile (string-benchset): Add it.
8991 * benchtests/bench-memset-walk.c: New file.
8992 * benchtests/Makefile (string-benchset): Add it.
8994 * benchtests/bench-memcpy-walk.c: New file.
8995 * benchtests/Makefile (string-benchset): Add it.
8997 2017-10-05 Florian Weimer <fweimer@redhat.com>
8999 nscd: Eliminate compilation time dependency in the build output.
9000 * nscd/nscd_stat.c (STATDATA_VERSION)
9001 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
9002 (STATDATA_VERSION_FULL): New macro definitions.
9003 (compilation): Remove.
9004 (struct statdata): Adjust version member.
9005 (send_stats): Set version from STATDATA_VERSION_FULL.
9006 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
9008 2017-10-05 Joseph Myers <joseph@codesourcery.com>
9010 * configure.ac (--enable-add-ons): Remove option.
9011 (machine): Do not mention add-ons in comment.
9012 (LIBC_PRECONFIGURE): Likewise.
9013 (add_ons): Remove variable and sanity checks and logic to locate
9015 (add_ons_automatic): Remove variable.
9016 (configured_add_ons): Likewise.
9017 (add_ons_sfx): Likewise.
9018 (add_ons_pfx): Likewise.
9019 (add_on_subdirs): Likewise.
9020 (sysnames_add_ons): Likewise. Remove loop over add-ons and
9021 consideration of add-ons in Implies handling.
9022 (sysdeps_add_ons): Likewise.
9023 * configure: Regenerated.
9024 * libidn/configure.ac: Remove.
9025 * libidn/configure: Likewise.
9026 * sysdeps/unix/inet/configure.ac: New file.
9027 * sysdeps/unix/inet/configure: New generated file.
9028 * sysdeps/unix/inet/Subdirs: Add libidn.
9029 * Makeconfig (sysdeps-srcdirs): Remove variable.
9030 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
9031 ($(common-objpfx)config.status): Do not depend on add-on files.
9032 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
9034 (all-subdirs): Do not include $(add-on-subdirs).
9035 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
9036 * config.make.in (add-ons): Remove variable.
9037 (add-on-subdirs): Likewise.
9038 (sysdeps-add-ons): Likewise.
9039 * manual/Makefile (add-chapters): Remove.
9040 ($(objpfx)texis): Do not depend on $(add-chapters).
9041 (nonexamples): Do not handle $(add-chapters).
9042 (examples): Do not handle $(add-ons).
9043 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
9045 * manual/install.texi (Installation): Do not mention add-ons.
9046 (--enable-add-ons): Do not document configure option.
9047 * INSTALL: Regenerated.
9048 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
9049 * manual/maint.texi (Hierarchy Conventions): Do not mention
9051 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
9053 * scripts/gen-sorted.awk: Do not handle Subdirs files from
9055 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
9056 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
9058 2017-10-05 Andreas Schwab <schwab@suse.de>
9061 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
9062 (_IO_flush_all_lockp): Always lock list_all_lock.
9063 (_IO_flush_all_linebuffered): Likewise.
9064 (_IO_unbuffer_all): Likewise.
9066 2017-10-05 Florian Weimer <fweimer@redhat.com>
9069 Do not flush stdio streams on abort.
9070 * stdlib/abort.c (fflush): Remove macro definition.
9071 (abort): Remove stages related to stdio flushing.
9073 2017-10-05 Florian Weimer <fweimer@redhat.com>
9075 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
9077 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
9079 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9081 2017-10-05 Florian Weimer <fweimer@redhat.com>
9083 * support/support_format_hostent.c (support_format_hostent): Add
9084 more error information for NETDB_INTERNAL.
9086 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
9088 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
9089 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
9090 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
9091 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
9092 AC_DEFINE if multi-arch is enabled.
9093 * sysdeps/i386/configure: Regenerated.
9095 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
9097 * Makeconfig (+link-static-before-libc): Use
9098 $(DEFAULT-LDFLAGS-$(@F)).
9099 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
9100 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
9101 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
9103 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
9105 * elf/Makefile (tests): Add tst-main1.
9106 (modules-names): Add tst-main1mod.
9107 ($(objpfx)tst-main1): New.
9108 (CRT-tst-main1): Likewise.
9109 (LDFLAGS-tst-main1): Likewise.
9110 (LDLIBS-tst-main1): Likewise.
9111 (tst-main1mod.so-no-z-defs): Likewise.
9112 * elf/tst-main1.c: New file.
9113 * elf/tst-main1mod.c: Likewise.
9115 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
9117 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
9119 2017-10-04 Joseph Myers <joseph@codesourcery.com>
9121 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
9122 (fma): Define using libm_alias_double.
9123 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
9124 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
9126 (fmal): Do not define as compat symbol here.
9127 * sysdeps/alpha/fpu/s_fma.c: New file.
9129 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
9131 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
9133 2017-10-04 Joseph Myers <joseph@codesourcery.com>
9136 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
9138 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
9140 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
9141 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
9142 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
9143 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
9144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
9145 Include <math_ldbl_opt.h>
9146 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
9148 (compat_symbol): Undefine and redefine.
9149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
9151 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
9152 (compat_symbol): Undefine and redefine.
9153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
9154 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
9155 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
9157 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
9158 GLIBC_2.0 copysignl symbol.
9159 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
9160 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
9162 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
9164 2017-10-04 Florian Weimer <fweimer@redhat.com>
9166 * scripts/check-local-headers.sh: Ignore nspr4 header file
9167 directory in addition to nspr.
9169 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
9172 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
9173 * configure: Regenerate.
9174 * crypt/Makefile (nss-cpp-flags): New variable.
9175 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
9176 (CPPFLAGS-md5-crypt.c): Use it.
9177 * scripts/check-local-headers.sh: Ignore nspr header file
9180 2017-10-04 Andreas Schwab <schwab@suse.de>
9182 * nis/Makefile (services): Remove compat.
9183 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
9184 ($(objpfx)libnss_compat.so): Remove rule.
9185 * nis/Versions (libnss_compat): Remove.
9186 * nss/Makefile (services): Add compat.
9187 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
9188 * nss/Versions (libnss_compat): Define.
9189 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
9190 Don't include <rpc/types.h>. Replace bool_t by bool.
9191 * nss/nss_compat/compat-initgroups.c: Likewise.
9192 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
9193 instead of <rpcsrv/ypclnt.h>.
9194 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
9195 yp_get_default_domain.
9196 * nss/nss_compat/compat-pwd.c: Likewise.
9197 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
9198 yp_get_default_domain.
9199 * nss/nss_compat/nisdomain.c: New file.
9200 * nss/nss_compat/nisdomain.h: Likewise.
9202 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
9205 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
9206 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
9208 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
9211 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
9212 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
9214 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
9216 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
9217 "movl main@GOTOFF(%ebx), %eax".
9219 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
9221 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
9222 allow undefined _DYNAMIC in PIE libc.a.
9223 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
9226 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
9228 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
9231 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
9233 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
9236 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
9238 * math/test-math-iscanonical.cc (error): Replace bool with int.
9240 2017-10-03 Joseph Myers <joseph@codesourcery.com>
9242 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
9243 (modf): Define using libm_alias_double, only if [!__modf].
9244 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
9245 <libm-alias-double.h>.
9246 (modf): Define using libm_alias_double, only if [!__modf].
9247 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
9249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
9250 (weak_alias): Do not undefine and redefine.
9251 (strong_alias): Likewise.
9252 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
9253 (weak_alias): Likewise.
9254 (strong_alias): Likewise.
9256 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
9257 (logb): Define using libm_alias_double, only if [!__logb].
9258 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
9259 <libm-alias-double.h>.
9260 (logb): Define using libm_alias_double, only if [!__logb].
9261 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
9262 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
9263 (weak_alias): Do not undefine and redefine.
9264 (strong_alias): Likewise.
9265 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
9266 (weak_alias): Likewise.
9267 (strong_alias): Likewise.
9269 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
9271 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
9272 Check SHARED instead PIC.
9274 2017-10-03 Joseph Myers <joseph@codesourcery.com>
9276 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
9277 [!__fmaf] (fmaf): Define using libm_alias_float.
9279 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
9280 (frexp): Define using libm_alias_double.
9281 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
9282 <libm-alias-double.h>.
9283 (frexp): Define using libm_alias_double.
9284 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
9287 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9290 * math/math.h: Trivial fix for unbalanced parentheses in comment.
9291 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
9292 (CFLAGS-test-math-iscanonical.cc): New variable.
9293 * math/test-math-iscanonical.cc: New file.
9294 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
9295 Provide a C++ implementation based on function overloading,
9296 rather than using __MATH_TG, which uses C-only builtins.
9297 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
9299 * sysdeps/powerpc/powerpc64le/Makefile
9300 (CFLAGS-test-math-iscanonical.cc): New variable.
9302 2017-10-03 Joseph Myers <joseph@codesourcery.com>
9304 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
9305 (ceil): Define using libm_alias_double.
9306 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
9307 (floor): Define using libm_alias_double.
9308 * sysdeps/ieee754/dbl-64/s_llround.c: Include
9309 <libm-alias-double.h>.
9310 (llround): Define using libm_alias_double.
9311 * sysdeps/ieee754/dbl-64/s_lround.c: Include
9312 <libm-alias-double.h>.
9313 (lround): Define using libm_alias_double.
9314 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
9315 <libm-alias-double.h>.
9316 (nearbyint): Define using libm_alias_double.
9317 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
9318 <libm-alias-double.h>.
9319 (remquo): Define using libm_alias_double.
9320 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
9321 (rint): Define using libm_alias_double.
9322 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
9323 (round): Define using libm_alias_double.
9324 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
9325 (trunc): Define using libm_alias_double.
9326 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
9327 <libm-alias-double.h>.
9328 (ceil): Define using libm_alias_double.
9329 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
9330 <libm-alias-double.h>.
9331 (floor): Define using libm_alias_double.
9332 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
9333 <libm-alias-double.h>.
9334 (llround): Define using libm_alias_double.
9335 [_LP64] (lround): Likewise.
9336 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
9337 <libm-alias-double.h>.
9338 [!_LP64] (lround): Define using libm_alias_double.
9339 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
9340 <libm-alias-double.h>.
9341 (nearbyint): Define using libm_alias_double.
9342 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
9343 <libm-alias-double.h>.
9344 (remquo): Define using libm_alias_double.
9345 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
9346 <libm-alias-double.h>.
9347 (rint): Define using libm_alias_double.
9348 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
9349 <libm-alias-double.h>.
9350 (round): Define using libm_alias_double.
9351 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
9352 <libm-alias-double.h>.
9353 (trunc): Define using libm_alias_double.
9354 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
9355 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
9356 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
9357 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
9358 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
9359 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
9360 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
9361 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
9362 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
9364 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
9366 * math/w_remainder.c: New file.
9367 * math/w_remainderf.c: New file.
9368 * math/w_remainderl.c: New file.
9370 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
9372 * elf/rtld.c (BOOTSTRAP_MAP): New.
9373 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
9374 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
9376 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
9378 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
9381 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
9383 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
9384 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
9385 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
9386 rtld_hidden_data_ver): Define to empty.
9387 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
9388 __assert_perror_fail): Likewise.
9389 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
9390 (__rewinddir): Likewise.
9391 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
9392 (__profile_frequency): Likewise.
9393 * include/setjmp.h (__sigsetjmp): Likewise.
9394 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
9395 __libc_sigaction): Likewise.
9396 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
9397 not set hidden attribute.
9398 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
9399 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
9400 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
9401 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
9402 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
9403 __fxstatat64): Likewise.
9404 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
9405 (__uname): Likewise.
9406 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
9407 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
9408 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
9409 (NO_RTLD_HIDDEN): Set.
9410 * sysdeps/mach/hurd/configure: Refresh.
9411 * config.h.in: Refresh.
9413 2017-10-02 Joseph Myers <joseph@codesourcery.com>
9415 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
9416 (atan): Define using libm_alias_double.
9417 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
9418 (tan): Define using libm_alias_double.
9419 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
9420 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
9422 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
9423 define as weak alias of __atan. Do not define any aliases if
9425 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
9426 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
9427 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
9428 as weak alias of __tan. Do not define any aliases if [__tan].
9429 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
9430 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
9431 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
9433 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
9434 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
9435 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
9436 and define as weak alias of __atan.
9437 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
9439 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
9440 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
9441 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
9442 define as weak alias of __tan.
9444 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
9446 * math/w_lgamma.c: New file.
9447 * math/w_lgammaf.c: New file.
9448 * math/w_lgammal.c: New file.
9450 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
9452 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
9453 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
9454 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
9455 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
9456 * sysdeps/ieee754/flt-32/w_logf.c: New file.
9457 * sysdeps/ieee754/flt-32/w_powf.c: New file.
9458 * sysdeps/i386/fpu/w_log2f.c: New file.
9459 * sysdeps/i386/fpu/w_logf.c: New file.
9460 * sysdeps/i386/fpu/w_powf.c: New file.
9461 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
9462 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
9463 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
9465 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
9466 H.J. Lu <hongjiu.lu@intel.com>
9468 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
9469 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
9470 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
9471 * sysdeps/ieee754/flt-32/w_expf.c: New file.
9472 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
9474 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
9475 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
9476 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
9477 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
9478 * sysdeps/i386/fpu/w_exp2f.c: New file.
9479 * sysdeps/i386/fpu/w_expf.c: New file.
9480 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
9481 * sysdeps/x86_64/fpu/w_expf.c: New file.
9483 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
9485 * math/Versions (logf): New libm symbol at GLIBC_2.27.
9488 * math/w_log2f.c: New file.
9489 * math/w_logf.c: New file.
9490 * math/w_powf.c: New file.
9491 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
9492 * math/w_logf_compat.c (__logf_compat): Likewise.
9493 * math/w_powf_compat.c (__powf_compat): Likewise.
9494 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
9495 * sysdeps/ia64/fpu/e_logf.S: Likewise.
9496 * sysdeps/ia64/fpu/e_powf.S: Likewise.
9497 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
9498 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9499 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9500 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9501 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9502 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9503 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9504 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9505 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9506 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9507 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9508 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9517 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9518 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9519 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9520 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9521 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9522 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9524 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9526 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9527 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9528 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9530 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9532 * sysdeps/powerpc/powerpc64/multiarch/Makefile
9533 (sysdep_routines): Add memrchr_power8.
9534 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9535 (memrchr): Add __memrchr_power8 to list of memrchr functions.
9536 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
9538 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
9539 (memrchr): Add __memrchr_power8 to ifunc list.
9540 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
9542 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9545 * sysdeps/unix/sysv/linux/posix_fadvise64.c
9546 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
9548 * sysdeps/unix/sysv/linux/posix_fallocate64.c
9549 (__posix_fallocate64_l64): Likewise.
9551 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9554 * sysdeps/unix/sysv/linux/sched_setaffinity.c
9555 (__sched_setaffinity_new): Add libc_hidden_proto and
9558 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9561 * include/glob.h (__glob64): Add libc_hidden_proto.
9562 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
9565 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9568 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
9571 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9574 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
9576 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9579 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
9582 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9585 * csu/version.c (__libc_print_version): Add attribute_hidden.
9587 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9590 * include/libc-internal.h (__init_misc): Add attribute_hidden.
9592 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9595 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
9597 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9600 * nscd/nscd_helper.c (__nis_hash): New prototype.
9602 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9605 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
9606 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
9608 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
9609 * termios/tcgetattr.c (__tcgetattr): Likewise.
9611 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9614 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
9615 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
9616 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
9617 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
9618 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
9620 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9623 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
9625 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9628 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
9629 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
9631 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9634 * intl/hash-string.h (__hash_string): Add attribute_hidden.
9636 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9639 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
9640 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
9642 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9645 * include/ifreq.h: New file.
9646 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
9647 (__ifreq): Likewise.
9648 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
9649 (__ifreq): Likewise.
9651 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9654 * include/idna.h: New file.
9655 * inet/getnameinfo.c: Include <idna.h> instead of
9657 (__idna_to_unicode_lzlz): Removed.
9658 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
9660 (__idna_to_ascii_lz): Removed.
9661 (__idna_to_unicode_lzlz): Likewise.
9663 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9666 * include/plural-exp.h: New file.
9667 * intl/plural-exp.c: Include <plural-exp.h> instead of
9670 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9673 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
9674 "getsourcefilter.h".
9675 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
9676 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
9677 "getsourcefilter.h".
9678 (__get_sol): Removed.
9680 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9683 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
9685 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
9687 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9690 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
9693 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9696 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
9698 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9701 * include/search.h (__tdestroy): Add libc_hidden_proto.
9702 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
9704 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9707 * include/assert.h (__assert_fail_base): Add attribute_hidden.
9709 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9712 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
9715 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9718 * include/signal.h (__kill): Add libc_hidden_proto.
9719 (__sigblock): Likewise.
9720 (__sigprocmask): Likewise.
9721 (__sigaltstack): Likewise.
9722 * signal/kill.c (__kill): Add libc_hidden_def.
9723 * signal/sigblock.c (__sigblock): Likewise.
9724 * signal/sigprocmask.c (__sigprocmask): Likewise.
9725 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
9726 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
9727 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
9728 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
9729 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
9731 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
9733 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
9734 (__sigprocmask): Likewise.
9735 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
9737 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
9738 (__sigprocmask): Likewise.
9739 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
9742 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9745 * include/string.h (__strsep): Add libc_hidden_proto.
9746 * string/strsep.c (__strsep): Add libc_hidden_def.
9748 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9751 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
9753 (__spawni): Likewise.
9755 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9758 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
9759 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
9762 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9765 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
9767 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9770 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
9771 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
9772 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
9773 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
9774 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
9776 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
9777 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
9779 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9782 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
9783 (__dcigettext): Likewise.
9785 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9788 * include/sys/sysinfo.h (__get_nprocs_conf): Add
9790 (__get_nprocs): Likewise.
9791 (__get_phys_pages): Likewise.
9792 (__get_avphys_pages): Likewise.
9793 (__get_child_max): Add attribute_hidden.
9794 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
9795 (__get_nprocs): Likewise.
9796 (__get_phys_pages): Likewise.
9797 (__get_avphys_pages): Likewise.
9798 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
9800 (__get_nprocs): Likewise.
9801 (__get_phys_pages): Likewise.
9802 (__get_avphys_pages): Likewise.
9803 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
9805 (__get_nprocs_conf): Likewise.
9806 (__get_phys_pages): Likewise.
9807 (__get_avphys_pages): Likewise.
9809 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9812 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
9814 (__netlink_close): Likewise.
9815 (__netlink_free_handle): Likewise.
9816 (__netlink_request): Likewise.
9818 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9821 * include/rpc/rpc.h (__rpc_thread_variables): Add
9823 (__rpc_thread_svc_cleanup): Likewise.
9824 (__rpc_thread_clnt_cleanup): Likewise.
9825 (__rpc_thread_key_cleanup): Likewise.
9827 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9830 * include/sys/uio.h (__readv): Add libc_hidden_proto.
9831 (__writev): Likewise.
9832 * misc/readv.c (__readv): Add libc_hidden_def.
9833 * misc/writev.c (__writev): Likewise.
9834 * sysdeps/posix/readv.c (__readv): Likewise.
9835 * sysdeps/posix/writev.c (__writev): Likewise.
9836 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
9837 (__readv): Likewise.
9838 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
9839 (__writev): Likewise.
9841 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9844 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
9845 (__regcomp): Add libc_hidden_proto.
9846 (__regexec): Likewise.
9847 (__regfree): Likewise.
9848 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
9849 (__regfree): Likewise.
9850 * posix/regexec.c (__regexec): Likewise.
9852 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9855 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
9856 (__getutent): Likewise.
9857 (__getutid): Likewise.
9858 (__getutline): Likewise.
9859 (__pututline): Likewise.
9860 (__getutent_r): Likewise.
9861 (__getutid_r): Likewise.
9862 (__getutline_r): Likewise.
9863 (__utmpname): Add attribute_hidden.
9864 (__setutent): Likewise.
9865 (__endutent): Likewise.
9866 * login/getutent.c (__getutent): Add libc_hidden_def.
9867 * login/getutent_r.c (__getutent_r): Likewise.
9868 (__pututline): Likewise.
9869 * login/getutid.c (__getutid): Likewise.
9870 * login/getutid_r.c (__getutid_r): Likewise.
9871 * login/getutline.c (__getutline): Likewise.
9872 * login/getutline_r.c (__getutline_r): Likewise.
9873 * login/updwtmp.c (__updwtmp): Likewise.
9875 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9878 * include/dirent.h (__opendir): Always add attribute_hidden.
9879 (__fdopendir): Likewise.
9880 (__closedir): Likewise.
9881 (__readdir): Likewise.
9882 (__readdir64): Add libc_hidden_proto.
9883 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
9884 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
9885 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
9886 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
9889 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9892 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
9893 * include/netdb.h (__gethostbyaddr_r): Likewise.
9894 (__gethostbyname_r): Likewise.
9895 (__gethostbyname2_r): Likewise.
9896 (__getnetbyaddr_r): Likewise.
9897 (__getnetbyname_r): Likewise.
9898 (__getservbyname_r): Likewise.
9899 (__getservbyport_r): Likewise.
9900 (__getprotobyname_r): Likewise.
9901 (__getprotobynumber_r): Likewise.
9902 (__getnetgrent_r): Likewise.
9903 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
9904 (__getrpcbynumber_r): Likewise.
9905 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
9907 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9910 * include/stdio.h (__fcloseall): Add attribute_hidden.
9911 (__getline): Likewise.
9912 (__path_search): Likewise.
9913 (__gen_tempname): Likewise.
9914 (__libc_message): Likewise.
9915 (__flockfile): Likewise.
9916 (__funlockfile): Likewise.
9917 (__fxprintf): Likewise.
9918 (__fxprintf_nocancel): Likewise.
9920 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9923 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
9924 (__sgetsgent_r): Likewise.
9926 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9929 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
9930 (__statfs64): Likewise.
9931 (__fstatfs64): Likewise.
9932 * include/sys/statvfs.h (__statvfs64): Likewise.
9933 (__fstatvfs64): Likewise.
9934 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
9935 (__statfs_filesize_max): Likewise.
9936 (__statfs_symlinks): Likewise.
9937 (__statfs_chown_restricted): Likewise.
9939 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9942 * include/time.h (__tzstring): Add attribute_hidden.
9943 (__tzfile_read): Likewise.
9944 (__tzfile_compute): Likewise.
9945 (__tzfile_default): Likewise.
9946 (__tzset_parse_tz): Likewise.
9947 (__offtime): Likewise.
9948 (__asctime_r): Likewise.
9949 (__tzset): Likewise.
9950 (__tz_convert): Likewise.
9951 (__getdate_r): Likewise.
9952 (__getclktck): Likewise.
9954 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9957 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
9958 (__nscd_unmap): Likewise.
9959 (__nscd_cache_search): Likewise.
9960 (__nscd_get_nl_timestamp): Likewise.
9961 (__nscd_getpwnam_r): Likewise.
9962 (__nscd_getpwuid_r): Likewise.
9963 (__nscd_getgrnam_r): Likewise.
9964 (__nscd_getgrgid_r): Likewise.
9965 (__nscd_gethostbyname_r): Likewise.
9966 (__nscd_gethostbyname2_r): Likewise.
9967 (__nscd_gethostbyaddr_r): Likewise.
9968 (__nscd_getai): Likewise.
9969 (__nscd_getgrouplist): Likewise.
9970 (__nscd_getservbyname_r): Likewise.
9971 (__nscd_getservbyport_r): Likewise.
9972 (__nscd_innetgr): Likewise.
9973 (__nscd_setnetgrent): Likewise.
9975 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9978 * include/gmp.h: Declare internal functions only if _ISOMAC is
9980 (__mpn_extract_double): Add attribute_hidden.
9981 (__mpn_extract_long_double): Likewise.
9982 (__mpn_extract_float128): Likewise.
9983 (__mpn_construct_float): Likewise.
9984 (__mpn_construct_double): Likewise.
9985 (__mpn_construct_long_double): Likewise.
9986 (__mpn_construct_float128): Likewise.
9987 (mpn_add_1): Likewise.
9988 (mpn_addmul_1): Likewise.
9989 (mpn_add_n): Likewise.
9990 (mpn_cmp): Likewise.
9991 (mpn_divrem): Likewise.
9992 (mpn_lshift): Likewise.
9993 (mpn_mul): Likewise.
9994 (mpn_mul_1): Likewise.
9995 (mpn_rshift): Likewise.
9996 (mpn_sub_1): Likewise.
9997 (mpn_submul_1): Likewise.
9998 (mpn_sub_n): Likewise.
10000 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
10003 * include/wchar.h (__wcsnlen): Add attribute_hidden.
10004 (__wcscat): Likewise.
10005 (__btowc): Likewise.
10006 (__wcrtomb): Likewise.
10007 (__mbsrtowcs): Likewise.
10008 (__wcsrtombs): Likewise.
10009 (__mbsnrtowcs): Likewise.
10010 (__wcsnrtombs): Likewise.
10011 (__wcsncpy): Likewise.
10012 (__wcpncpy): Likewise.
10013 (__wmemcpy): Likewise.
10014 (__wmempcpy): Likewise.
10015 (__wmemmove): Likewise.
10016 (__wcschrnul): Likewise.
10017 (__vfwscanf): Likewise.
10018 (__vswprintf): Likewise.
10019 (__fwprintf): Likewise.
10020 (__vfwprintf): Likewise.
10022 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
10025 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
10026 (__getgrgid_r): Likewise.
10027 (__getgrnam_r): Likewise.
10028 * include/pwd.h (__getpwuid_r): Likewise.
10029 (__getpwnam_r): Likewise.
10030 (__fgetpwent_r): Likewise.
10031 * include/shadow.h (__getspnam_r): Likewise.
10032 (__sgetspent_r): Likewise.
10033 (__fgetspent_r): Likewise.
10035 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
10038 * include/unistd.h (__access): Add attribute_hidden.
10039 (__lseek64): Likewise.
10040 (__libc_pread64): Likewise.
10041 (__pipe2): Likewise.
10042 (__sleep): Likewise.
10043 (__chdir): Likewise.
10044 (__fchdir): Likewise.
10045 (__getcwd): Likewise.
10046 (__rmdir): Likewise.
10047 (__execvpe): Likewise.
10048 (__execve): Likewise.
10049 (__setsid): Likewise.
10050 (__getuid): Likewise.
10051 (__geteuid): Likewise.
10052 (__getgid): Likewise.
10053 (__getegid): Likewise.
10054 (__getgroups): Likewise.
10055 (__group_member): Likewise.
10056 (__ttyname_r): Likewise.
10057 (__isatty): Likewise.
10058 (__readlink): Likewise.
10059 (__unlink): Likewise.
10060 (__gethostname): Likewise.
10061 (__profil): Likewise.
10062 (__getdtablesize): Likewise.
10064 (__ftruncate): Likewise.
10065 (__ftruncate64): Likewise.
10067 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
10070 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
10071 * argp/argp-fs-xinl.c: Likewise.
10072 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
10073 * argp/argp-parse.c: Include <argp.h>.
10074 * argp/argp-xinl.c: Likewise.
10075 * include/argp-fmtstream.h: New file.
10076 * include/argp.h (__argp_error): Add attribute_hidden.
10077 (__argp_failure): Likewise.
10078 (__argp_input): Likewise.
10079 (__argp_state_help): Likewise.
10081 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
10084 * include/wchar.h (____wcstof_l_internal): New prototype.
10085 (____wcstod_l_internal): Likewise.
10086 (____wcstold_l_internal): Likewise.
10087 (____wcstol_l_internal): Likewise.
10088 (____wcstoul_l_internal): Likewise.
10089 (____wcstoll_l_internal): Likewise.
10090 (____wcstoull_l_internal): Likewise.
10091 (____wcstof128_l_internal): Likewise.
10092 * sysdeps/ieee754/float128/wcstof128.c
10093 (____wcstof128_l_internal): Removed.
10094 * sysdeps/ieee754/float128/wcstof128_l.c
10095 (____wcstof128_l_internal): Likewise.
10096 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
10097 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
10098 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
10099 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
10100 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
10101 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
10102 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
10103 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
10104 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
10105 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
10107 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
10110 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
10111 instead of <sys/statvfs.h>.
10112 (__internal_statvfs): Removed.
10113 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
10114 instead of <sys/statvfs.h>.
10115 (__internal_statvfs64): Removed.
10116 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
10117 "internal_statvfs.h" instead of <sys/statvfs.h>.
10118 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
10119 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
10120 instead of <sys/statvfs.h>.
10121 (__internal_statvfs): Removed.
10122 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
10123 instead of <sys/statvfs.h>.
10124 (__internal_statvfs64): Removed.
10126 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
10129 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
10130 (__gconv_close): Likewise.
10131 (__gconv): Likewise.
10132 (__gconv_find_transform): Likewise.
10133 (__gconv_lookup_cache): Likewise.
10134 (__gconv_compare_alias_cache): Likewise.
10135 (__gconv_load_cache): Likewise.
10136 (__gconv_get_path): Likewise.
10137 (__gconv_close_transform): Likewise.
10138 (__gconv_release_cache): Likewise.
10139 (__gconv_find_shlib): Likewise.
10140 (__gconv_release_shlib): Likewise.
10141 (__gconv_get_builtin_trans): Likewise.
10142 (__gconv_compare_alias): Likewise.
10143 * include/dlfcn.h (_dlerror_run): Likewise.
10144 * include/stdio.h (__fortify_fail_abort): Likewise.
10145 * include/time.h (__tz_compute): Likewise.
10146 (__strptime_internal): Likewise.
10147 * intl/gettextP.h (_nl_find_domain): Likewise.
10148 (_nl_load_domain): Likewise.
10149 (_nl_find_msg): Likewise.
10150 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
10151 (EXTRACT_PLURAL_EXPRESSION): Likewise.
10152 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
10153 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
10154 (__gai_find_request): Likewise.
10155 (__gai_remove_request): Likewise.
10156 (__gai_notify): Likewise.
10157 (__gai_notify_only): Likewise.
10158 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
10159 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
10160 (_dl_non_dynamic_init): Likewise.
10161 (_dl_aux_init): Likewise.
10162 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
10163 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
10165 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
10166 (__wcsmbs_clone_conv): Likewise.
10167 (__wcsmbs_named_conv): Likewise.
10169 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
10172 * include/stdlib.h (__random): Add attribute_hidden.
10173 (__random_r): Likewise.
10174 (__srandom_r): Likewise.
10175 (__initstate_r): Likewise.
10176 (__setstate_r): Likewise.
10177 (__erand48_r): Likewise.
10178 (__nrand48_r): Likewise.
10179 (__jrand48_r): Likewise.
10180 (__srand48_r): Likewise.
10181 (__seed48_r): Likewise.
10182 (__lcong48_r): Likewise.
10183 (__drand48_iterate): Likewise.
10184 (__setenv): Likewise.
10185 (__unsetenv): Likewise.
10186 (__clearenv): Likewise.
10187 (__ptsname_r): Likewise.
10188 (__posix_openpt): Likewise.
10189 (__add_to_environ): Likewise.
10190 (__realpath): Add libc_hidden_proto.
10191 (__ecvt_r): Likewise.
10192 (__fcvt_r): Likewise.
10193 (__qecvt_r): Likewise.
10194 (__qfcvt_r): Likewise.
10195 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
10196 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
10198 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
10201 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
10202 * include/time.h (__mktime_internal): Likewise.
10203 * libio/iolibio.h (__fopen_internal): Likewise.
10205 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
10207 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
10209 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
10210 Correct offset used to restore PIC register.
10212 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
10215 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
10216 code to load address of __getcontext_ret when generating PIC code.
10218 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
10220 * elf/Makefile (tests-static-internal): Add
10221 tst-tls1-static-non-pie.
10222 (LDFLAGS-tst-tls1-static-non-pie): New.
10223 * elf/tst-tls1-static-non-pie.c: New file.
10225 2017-09-29 Joseph Myers <joseph@codesourcery.com>
10227 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
10228 (asinh): Define using libm_alias_double.
10229 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
10230 (cbrt): Define using libm_alias_double.
10231 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
10232 <libm-alias-double.h>.
10233 (copysign): Define using libm_alias_double.
10234 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
10235 (erf): Define using libm_alias_double.
10237 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
10238 (expm1): Define using libm_alias_double.
10239 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
10240 (fabs): Define using libm_alias_double.
10241 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
10243 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
10244 <libm-alias-double.h>.
10245 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
10247 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
10248 <libm-alias-double.h>.
10249 (getpayload): Define using libm_alias_double.
10250 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
10251 <libm-alias-double.h>.
10252 (llrint): Define using libm_alias_double.
10253 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
10254 (lrint): Define using libm_alias_double.
10255 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
10256 <libm-alias-double.h>.
10257 (nextup): Define using libm_alias_double.
10258 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
10259 <libm-alias-double.h>.
10260 (roundeven): Define using libm_alias_double.
10261 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
10263 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
10264 <libm-alias-double.h>.
10265 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
10266 using libm_alias_double.
10267 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
10268 (cos): Define using libm_alias_double.
10270 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
10271 <libm-alias-double.h>.
10272 (sincos): Define using libm_alias_double.
10273 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
10274 (tanh): Define using libm_alias_double.
10275 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
10276 <libm-alias-double.h>.
10277 (totalorder): Define using libm_alias_double.
10278 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
10279 <libm-alias-double.h>.
10280 (totalordermag): Define using libm_alias_double.
10281 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
10283 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
10285 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
10286 <libm-alias-double.h>.
10287 (getpayload): Define using libm_alias_double.
10288 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
10289 <libm-alias-double.h>.
10290 (roundeven): Define using libm_alias_double.
10291 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
10292 <libm-alias-double.h>.
10293 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
10294 <libm-alias-double.h>.
10295 (totalorder): Define using libm_alias_double.
10296 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
10297 <libm-alias-double.h>.
10298 (totalordermag): Define using libm_alias_double.
10299 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
10300 libc compat symbol here.
10301 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
10302 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
10303 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
10304 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
10305 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
10306 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
10307 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
10308 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
10309 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
10310 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
10312 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
10314 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
10315 _dl_relocate_static_pie instead of _dl_start to compute load
10316 address in static PIE. Return 0 if _DYNAMIC is undefined for
10319 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
10321 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
10322 _DYNAMIC is undefined for static executable.
10324 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
10326 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
10328 2017-09-29 Joseph Myers <joseph@codesourcery.com>
10330 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10332 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
10334 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
10335 (__ieee754_lgamma_r): Use fabs rather than __fabs.
10336 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
10337 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
10338 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
10339 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
10340 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
10341 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
10342 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
10343 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
10344 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
10345 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
10346 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
10347 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
10348 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
10349 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
10350 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
10352 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
10354 * math/bits/cmathcalls.h (cimag): Remove inline.
10355 (creal): Remove inline.
10356 (conj): Remove inline.
10358 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
10360 * math/Makefile (type-float-routines): Add e_powf_log2_data.
10361 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
10362 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
10363 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
10364 (issignalingf_inline): Likewise.
10365 (POWF_LOG2_TABLE_BITS): Likewise.
10366 (POWF_LOG2_POLY_ORDER): Likewise.
10367 (POWF_SCALE_BITS): Likewise.
10368 (POWF_SCALE): Likewise.
10369 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
10370 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
10371 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
10373 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
10375 * math/Makefile (type-float-routines): Add e_log2f_data.
10376 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
10377 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
10378 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
10379 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
10380 * sysdeps/i386/fpu/e_log2f_data.c: New file.
10381 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
10382 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
10384 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
10386 * math/Makefile (type-float-routines): Add e_logf_data.
10387 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
10388 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
10389 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
10390 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
10391 * sysdeps/i386/fpu/e_logf_data.c: New file.
10392 * sysdeps/ia64/fpu/e_logf_data.c: New file.
10393 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
10395 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
10397 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
10398 undefined _DYNAMIC in PIE libc.a.
10399 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
10402 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
10404 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
10405 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
10406 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
10407 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
10408 (__signbit): Remove.
10409 (__signbitl): Remove.
10410 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
10411 (__signbit): Remove.
10412 (__signbitl): Remove.
10413 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
10414 (__signbit): Remove.
10415 (__signbitl): Remove.
10416 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
10417 (__signbit): Remove.
10418 (__signbitl): Remove.
10419 * sysdeps/tile/bits/mathinline.h: Delete file.
10420 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
10421 (__signbit): Remove.
10422 (__signbitl): Remove.
10424 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
10426 * math/math.h: Improve handling of C99 isgreater macros.
10427 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
10428 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
10429 * sysdeps/powerpc/bits/mathinline.h: Likewise.
10430 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
10431 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
10433 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
10435 * sysdeps/aarch64/libm-test-ulps: Update.
10437 2017-09-28 Joseph Myers <joseph@codesourcery.com>
10440 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
10441 math_opt_barrier on argument when doing arithmetic on it.
10442 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
10443 Likewise. Use math_force_eval not math_opt_barrier after
10445 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
10446 math_opt_barrier on argument when doing arithmetic on it.
10447 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
10450 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
10452 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
10454 (__freeifaddrs): Likewise.
10456 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
10458 * include/dirent.h (__dirfd): New declaration.
10459 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
10461 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
10462 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
10463 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
10464 * include/unistd.h (__revoke): New declaration.
10465 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
10467 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
10468 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
10470 * include/dirent.h (__seekdir): New declaration.
10471 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
10472 redefine as weak alias.
10473 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
10475 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
10476 and use libc_hidden_def on them.
10477 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
10479 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
10480 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
10481 instead of getifaddrs and freeifaddrs.
10483 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
10486 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
10487 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
10488 (__dso_handle): Remove declaration.
10489 * dlfcn/tstatexit.c (__dso_handle): Removed.
10490 (main): Don't check __dso_handle.
10491 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
10492 (main): Don't check __dso_handle.
10493 * include/dso_handle.h: New file.
10494 * malloc/mtrace.c: Include <dso_handle.h>.
10495 (mtrace): Pass __dso_handle directly.
10496 * nptl/pthread_atfork.c: Include <dso_handle.h>.
10497 (__dso_handle): Remove declaration.
10498 (__pthread_atfork): Pass __dso_handle directly.
10499 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
10500 (__dso_handle): Removed.
10501 * posix/wordexp-test.c: Include <dso_handle.h>.
10502 (__dso_handle): Remove declaration.
10503 (__app_register_atfork): Pass __dso_handle directly.
10504 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
10505 (__dso_handle): Remove declaration.
10506 (at_quick_exit): Pass __dso_handle directly.
10507 * stdlib/atexit.c: Include <dso_handle.h>.
10508 (__dso_handle): Remove declaration.
10509 (atexit): Pass __dso_handle directly.
10510 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
10511 (__dso_handle): Removed.
10513 2017-09-26 Joseph Myers <joseph@codesourcery.com>
10515 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
10518 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
10520 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
10521 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
10522 values to correct default value for given type.
10524 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
10527 * elf/Makefile (tests): Add tst-debug1.
10528 ($(objpfx)tst-debug1): New.
10529 ($(objpfx)tst-debug1.out): Likewise.
10530 ($(objpfx)tst-debug1mod1.so): Likewise.
10531 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
10532 with p_filesz == 0.
10533 * elf/tst-debug1.c: New file.
10535 2017-09-26 Joseph Myers <joseph@codesourcery.com>
10537 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
10538 Define using __ifunc.
10540 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10542 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
10545 2017-09-26 Joseph Myers <joseph@codesourcery.com>
10548 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
10550 2017-09-26 Florian Weimer <fweimer@redhat.com>
10552 * resolv/Makefile (tests-internal): Fix typo in comment.
10554 2017-09-26 Florian Weimer <fweimer@redhat.com>
10556 * resolv/nss_dns/dns-host.c: Fix typo in comment.
10558 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10560 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
10561 Use an union instead of a max_align_t array for __space,
10562 so that __space is the same size on all platforms.
10563 * malloc/scratch_buffer_grow_preserve.c
10564 (__libc_scratch_buffer_grow_preserve): Likewise.
10567 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
10569 * posix/Makefile (routines): Add glob-lstat-compat and
10570 glob64-lstat-compat.
10571 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
10572 * posix/glob-lstat-compat.c: New file.
10573 * posix/glob64-lstat-compat.c: Likewise.
10574 * posix/tst-glob_lstat_compat.c: Likewise.
10575 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
10576 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
10577 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
10578 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
10580 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
10581 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
10582 * posix/glob.c (glob_lstat): New function.
10583 (glob): Rename to __glob and add versioned symbol to 2.27.
10584 (glob_in_dir): Use glob_lstat.
10585 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
10586 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
10587 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
10589 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
10590 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
10591 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
10592 gl_lstat on glob call.
10593 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
10594 and glob64 symbols.
10595 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10596 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10597 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
10598 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10599 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10600 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10601 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10602 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10603 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
10604 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10605 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10606 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10609 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
10610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10611 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10612 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10613 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10614 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10615 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10616 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
10617 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
10618 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
10619 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10620 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10622 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
10624 * configure.ac (AS): Require binutils 2.25 or later.
10625 * configure: Regenerated.
10627 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
10630 * stdlib/test-atexit-race-common.c (do_test): Minimize required
10633 2017-09-25 DJ Delorie <dj@redhat.com>
10636 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
10639 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10641 * sysdeps/ieee754/dbl-64/sincos32.h
10642 [SINCCOS32_H]: Remove define.
10643 [SINCOS32_H]: Define.
10645 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
10647 * math/Versions (expf): New libm symbol at GLIBC_2.27.
10649 * math/w_exp2f.c: New file.
10650 * math/w_expf.c: New file.
10651 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
10652 * math/w_expf_compat.c (__expf_compat): Likewise.
10653 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
10654 * sysdeps/ia64/fpu/e_expf.S: Likewise.
10655 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
10656 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10657 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10658 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10659 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10660 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10661 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10662 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10663 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10664 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10665 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10666 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10675 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10676 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10677 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10678 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10679 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10680 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10682 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10684 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10685 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10686 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10688 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
10690 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
10691 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
10692 (roundtoint, converttoint): Likewise.
10693 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
10694 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
10695 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
10696 * sysdeps/ieee754/flt-32/math_config.h: New file.
10697 * sysdeps/ieee754/flt-32/math_errf.c: New file.
10698 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
10699 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
10700 * sysdeps/i386/fpu/math_errf.c: New file.
10701 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
10702 * sysdeps/ia64/fpu/math_errf.c: New file.
10703 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
10704 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
10706 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
10708 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
10709 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
10710 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
10711 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
10712 to make sure that these symbols are defined.
10713 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
10715 (__need_NULL): Do not define.
10716 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
10718 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
10719 CMGROUP_MAX, cmsgcred): Do not define.
10720 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
10722 * bits/socket.h: Likewise.
10723 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
10724 __gettimeofday instead of gettimeofday.
10725 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
10726 instead of settimeofday.
10728 2017-09-22 Joseph Myers <joseph@codesourcery.com>
10730 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
10731 (asinhf): Define using libm_alias_float.
10732 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
10733 (atanf): Define using libm_alias_float.
10734 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
10735 (cbrtf): Define using libm_alias_float.
10736 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
10737 (ceilf): Define using libm_alias_float.
10738 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
10739 <libm-alias-float.h>.
10740 (copysignf): Define using libm_alias_float.
10741 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
10742 (cosf): Define using libm_alias_float.
10743 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
10744 (erff): Define using libm_alias_float.
10746 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
10747 (expm1f): Define using libm_alias_float.
10748 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
10749 (fabsf): Define using libm_alias_float.
10750 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
10751 (floorf): Define using libm_alias_float.
10752 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
10753 (frexpf): Define using libm_alias_float.
10754 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
10756 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
10757 <libm-alias-float.h>.
10758 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
10760 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
10761 <libm-alias-float.h>.
10762 (getpayloadf): Define using libm_alias_float.
10763 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
10764 <libm-alias-float.h>.
10765 (llrintf): Define using libm_alias_float.
10766 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
10767 <libm-alias-float.h>.
10768 (llroundf): Define using libm_alias_float.
10769 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
10770 (logbf): Define using libm_alias_float.
10771 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
10772 (lrintf): Define using libm_alias_float.
10773 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
10774 (lroundf): Define using libm_alias_float.
10775 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
10776 (modff): Define using libm_alias_float.
10777 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
10778 <libm-alias-float.h>.
10779 (nearbyintf): Define using libm_alias_float.
10780 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
10781 <libm-alias-float.h>.
10782 (nextafterf): Define using libm_alias_float.
10783 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
10784 <libm-alias-float.h>.
10785 (nextupf): Define using libm_alias_float.
10786 * sysdeps/ieee754/flt-32/s_remquof.c: Include
10787 <libm-alias-float.h>.
10788 (remquof): Define using libm_alias_float.
10789 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
10790 (rintf): Define using libm_alias_float.
10791 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
10792 <libm-alias-float.h>.
10793 (roundevenf): Define using libm_alias_float.
10794 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
10795 (roundf): Define using libm_alias_float.
10796 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
10797 using libm_alias_float.
10798 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
10799 <libm-alias-float.h>.
10800 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
10801 Define using libm_alias_float.
10802 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
10803 <libm-alias-float.h>.
10804 (sincosf): Define using libm_alias_float.
10805 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
10806 (sinf): Define using libm_alias_float.
10807 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
10808 (tanf): Define using libm_alias_float.
10809 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
10810 (tanhf): Define using libm_alias_float.
10811 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
10812 <libm-alias-float.h>.
10813 (totalorderf): Define using libm_alias_float.
10814 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
10815 <libm-alias-float.h>.
10816 (totalordermagf): Define using libm_alias_float.
10817 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
10818 (truncf): Define using libm_alias_float.
10819 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
10821 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
10824 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10827 math/math.h: Let fpclassify use the builtin in C++ mode, even
10828 when optimazing for size.
10830 2017-09-22 Joseph Myers <joseph@codesourcery.com>
10832 * csu/Makefile (generated): Do not add version-info.h.
10833 (before-compile): Likewise.
10834 (all-Banner-files): Remove variable.
10835 ($(objpfx)version-info.h): Remove rule.
10836 * csu/version.c (banner): Do not include "version-info.h".
10837 * libidn/Banner: Remove.
10838 * manual/contrib.texi (Simon Josefsson): New entry.
10840 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10842 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10843 Remove conditionals on LDBL_MANT_DIG.
10844 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
10845 (__ieee754_lgammal_r): Likewise.
10847 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10849 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
10851 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
10852 _Float128 and L(). Replace _Float128 with long double and L(x)
10853 with xL, throughout the file.
10854 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
10855 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
10856 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
10857 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
10859 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10861 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
10862 sysdeps/ieee754/ldbl-128ibm.
10863 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
10864 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
10865 of including it. Keep _Float128 and L() intact. These will be
10866 reviewed by a separate patch.
10867 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
10868 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
10869 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
10870 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
10872 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10874 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
10875 (__finitef128): Define to __redirect___finitef128.
10876 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
10877 (__isinff128): Define to __redirect___isinff128.
10878 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
10879 (__isnanf128): Define to __redirect___isnanf128.
10881 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10883 * sysdeps/powerpc/powerpc64le/Makefile
10884 (CFLAGS-tst-strtod-nan-locale.c): New variable.
10885 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
10887 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
10888 Carlos O'Donell <carlos@redhat.com>
10891 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
10892 * stdlib/test-dlclose-exit-race.c: New file.
10893 * stdlib/test-dlclose-exit-race-helper.c: New file.
10894 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
10896 2017-09-21 Joseph Myers <joseph@codesourcery.com>
10898 * crypt/Banner: Remove file.
10899 * nptl/Banner: Likewise.
10900 * resolv/Banner: Likewise.
10901 * soft-fp/Banner: Likewise.
10902 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
10903 ($(objpfx)version.d): Remove dependency on banner.h.
10904 ($(objpfx)version.os): Likewise.
10905 * nptl/version.c (banner): Do not include banner.h.
10906 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
10907 Jelinek and BIND code.
10909 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
10910 Carlos O'Donell <carlos@redhat.com>
10912 * support/xdlfcn.h: New file.
10913 * support/xdlfcn.c: New file.
10914 * support/Makefile (libsupport-routines): Add xdlfcn.
10915 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
10917 2017-09-20 Joseph Myers <joseph@codesourcery.com>
10920 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
10921 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
10922 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
10923 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
10924 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
10925 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
10926 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
10927 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
10929 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
10930 Ricky Zhou <rickyz@google.com>
10931 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
10934 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
10936 (__new_exitfn): Fail registration when we finished at_exit processing.
10937 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
10938 * stdlib/on_exit.c (__on_exit): Likewise.
10939 * stdlib/exit.c (__exit_funcs_done): New variable.
10940 (__run_exit_handlers): Use __exit_funcs_lock.
10941 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
10943 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
10944 (test-cxa_atexit-race, test-on_exit-race): New tests.
10945 * stdlib/test-atexit-race-common.c: New file.
10946 * stdlib/test-atexit-race.c: New file.
10947 * stdlib/test-at_quick_exit-race.c: New file.
10948 * stdlib/test-cxa_atexit-race.c: New file.
10949 * stdlib/test-on_exit-race.c: New file.
10951 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
10953 * benchtests/Makefile: Add exp2f and log2f benchmarks.
10954 * benchtests/exp2f-inputs: Copy of expf-inputs.
10955 * benchtests/log2f-inputs: Copy of logf-inputs.
10957 2017-09-19 Joseph Myers <joseph@codesourcery.com>
10959 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
10960 Explicitly take address of first element of array arguments in
10961 call to INLINE_SYSCALL.
10963 2017-09-19 Andreas Schwab <schwab@suse.de>
10966 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
10968 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
10970 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
10971 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
10972 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10973 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
10974 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
10975 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
10976 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10977 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
10978 * posix/Makefile (tests): Add tst-fexecve.
10979 * posix/tst-fexecve.c: New file.
10981 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
10983 * benchtests/Makefile: Add logf benchmark.
10984 * benchtests/logf-inputs: Add reduced trace from wrf_r.
10986 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
10988 * benchtests/Makefile: Add expf benchmark.
10989 * benchtests/expf-inputs: Add reduced trace from wrf_r.
10991 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
10993 * csu/Makefile: Add -funwind-tables to libc-start.c.
10994 * debug/Makefile: Add -funwind-tables to backtrace.c.
10995 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
10996 * sysdeps/arm/Makefile: Likewise.
10997 * sysdeps/i386/Makefile: Likewise.
10998 * sysdeps/m68k/Makefile: Likewise.
10999 * sysdeps/mips/Makefile: Likewise.
11000 * sysdeps/nios2/Makefile: Likewise.
11001 * sysdeps/sh/Makefile: Likewise.
11002 * sysdeps/sparc/Makefile: Likewise.
11004 2017-09-19 Joseph Myers <joseph@codesourcery.com>
11006 * benchtests/Makefile (bench-math): Add trunc and truncf.
11007 (CFLAGS-bench-trunc.c): New variable.
11008 (CFLAGS-bench-truncf.c): Likewise.
11009 * benchtests/trunc-inputs: New file.
11010 * benchtests/truncf-inputs: Likewise.
11012 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11014 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
11016 2017-09-18 Joseph Myers <joseph@codesourcery.com>
11018 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
11019 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
11021 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
11022 (exp10l): Define as weak alias.
11023 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
11024 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
11026 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
11027 (remainderl): Define as weak alias.
11029 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
11030 (fmal): Define using libm_alias_ldouble.
11031 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
11032 (acoshl): Define using libm_alias_ldouble.
11033 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
11034 (acosl): Define using libm_alias_ldouble.
11035 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
11036 (asinl): Define using libm_alias_ldouble.
11037 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
11038 (atan2l): Define using libm_alias_ldouble.
11039 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
11040 (atanhl): Define using libm_alias_ldouble.
11041 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
11042 (coshl): Define using libm_alias_ldouble.
11043 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
11044 (exp10l): Define using libm_alias_ldouble.
11045 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
11046 (exp2l): Define using libm_alias_ldouble.
11047 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
11048 (expl): Define using libm_alias_ldouble.
11049 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
11050 (fmodl): Define using libm_alias_ldouble.
11051 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
11052 (hypotl): Define using libm_alias_ldouble.
11053 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
11054 (j0l): Define using libm_alias_ldouble.
11056 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
11057 (j1l): Define using libm_alias_ldouble.
11059 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
11060 (jnl): Define using libm_alias_ldouble.
11062 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
11063 (log10l): Define using libm_alias_ldouble.
11064 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
11065 (log2l): Define using libm_alias_ldouble.
11066 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
11067 (logl): Define using libm_alias_ldouble.
11068 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
11069 (powl): Define using libm_alias_ldouble.
11070 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
11071 (remainderl): Define using libm_alias_ldouble.
11072 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
11073 (sinhl): Define using libm_alias_ldouble.
11074 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
11075 (sqrtl): Define using libm_alias_ldouble.
11076 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
11077 (tgammal): Define using libm_alias_ldouble.
11078 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
11079 (exp10l): Do not use long_double_symbol here.
11080 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
11081 [LIBM_SVID_COMPAT] (remainderl): Likewise.
11082 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
11083 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
11084 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
11085 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
11086 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
11087 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
11088 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
11089 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
11090 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
11091 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
11092 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
11093 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
11094 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
11095 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
11096 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
11097 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
11098 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
11099 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
11100 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
11101 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
11103 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
11105 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
11106 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
11108 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
11110 * io/read.c (read): Add libc_hidden_weak.
11111 * sysdeps/mach/hurd/read.c (read): Likewise.
11112 * io/write.c (write): Likewise.
11113 * sysdeps/mach/hurd/write.c (write): Likewise.
11114 * io/pread64.c (__pread64): Likewise.
11115 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
11116 * posix/pread64.c (__pread64): Add libc_hidden_def.
11118 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
11120 * benchtests/scripts/compare_strings.py: New option -g.
11121 (draw_graph): Print a message that a graph is being generated.
11122 (process_results): Generate graph only if -g is passed.
11123 (main): Process option -g.
11125 * benchtests/scripts/compare_strings.py (process_results):
11126 Better spacing for output.
11128 * benchtests/scripts/compare_strings.py: Use argparse.
11129 * benchtests/README: Document existence of compare_strings.py.
11131 2017-09-15 Joseph Myers <joseph@codesourcery.com>
11133 * math/s_fma.c: Include <libm-alias-double.h>.
11134 (fma): Define using libm_alias_double.
11135 * math/s_nextafter.c: Include <libm-alias-double.h>.
11136 (nextafter): Define using libm_alias_double.
11137 * math/w_acos_compat.c: Include <libm-alias-double.h>.
11138 (acos): Define using libm_alias_double.
11139 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
11140 (aocsh): Define using libm_alias_double.
11141 * math/w_asin_compat.c: Include <libm-alias-double.h>.
11142 (asin): Define using libm_alias_double.
11143 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
11144 (atan2): Define using libm_alias_double.
11145 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
11146 (atanh): Define using libm_alias_double.
11147 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
11148 (cosh): Define using libm_alias_double.
11149 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
11150 (exp10): Define using libm_alias_double.
11151 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
11152 (exp2): Define using libm_alias_double.
11153 * math/w_exp_compat.c: Include <libm-alias-double.h>.
11154 (exp): Define using libm_alias_double.
11155 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
11156 (fmod): Define using libm_alias_double.
11157 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
11158 (hypot): Define using libm_alias_double.
11159 * math/w_j0_compat.c: Include <libm-alias-double.h>.
11160 (j0): Define using libm_alias_double.
11162 * math/w_j1_compat.c: Include <libm-alias-double.h>.
11163 (j1): Define using libm_alias_double.
11165 * math/w_jn_compat.c: Include <libm-alias-double.h>.
11166 (jn): Define using libm_alias_double.
11168 * math/w_log10_compat.c: Include <libm-alias-double.h>.
11169 (log10): Define using libm_alias_double.
11170 * math/w_log2_compat.c: Include <libm-alias-double.h>.
11171 (log2): Define using libm_alias_double.
11172 * math/w_log_compat.c: Include <libm-alias-double.h>.
11173 (log): Define using libm_alias_double.
11174 * math/w_pow_compat.c: Include <libm-alias-double.h>.
11175 (pow): Define using libm_alias_double.
11176 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
11177 (remainder): Define using libm_alias_double.
11178 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
11179 (sinh): Define using libm_alias_double.
11180 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
11181 (sqrt): Define using libm_alias_double.
11182 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
11183 (tgamma): Define using libm_alias_double.
11184 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
11185 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
11186 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
11187 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
11188 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
11189 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
11190 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
11191 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
11192 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
11193 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
11194 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
11195 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
11196 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
11197 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
11198 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
11199 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
11200 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
11201 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
11202 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
11203 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
11204 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
11205 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
11206 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
11207 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
11208 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
11210 * math/e_acoshl.c: Remove.
11211 * math/e_acosl.c: Likewise.
11212 * math/e_asinl.c: Likewise.
11213 * math/e_atan2l.c: Likewise.
11214 * math/e_atanhl.c: Likewise.
11215 * math/e_coshl.c: Likewise.
11216 * math/e_expl.c: Likewise.
11217 * math/e_fmodl.c: Likewise.
11218 * math/e_gammal_r.c: Likewise.
11219 * math/e_hypotl.c: Likewise.
11220 * math/e_j0l.c: Likewise.
11221 * math/e_j1l.c: Likewise.
11222 * math/e_jnl.c: Likewise.
11223 * math/e_lgammal_r.c: Likewise.
11224 * math/e_log10l.c: Likewise.
11225 * math/e_log2l.c: Likewise.
11226 * math/e_logl.c: Likewise.
11227 * math/e_powl.c: Likewise.
11228 * math/e_rem_pio2l.c: Likewise.
11229 * math/e_sinhl.c: Likewise.
11230 * math/e_sqrtf128.c: Likewise.
11231 * math/e_sqrtl.c: Likewise.
11232 * math/k_cosl.c: Likewise.
11233 * math/k_sinl.c: Likewise.
11234 * math/k_tanl.c: Likewise.
11235 * math/s_asinhl.c: Likewise.
11236 * math/s_atanl.c: Likewise.
11237 * math/s_cbrtl.c: Likewise.
11238 * math/s_erfl.c: Likewise.
11239 * math/s_expm1l.c: Likewise.
11240 * math/s_log1pl.c: Likewise.
11241 * math/s_tanhl.c: Likewise.
11243 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11246 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
11247 [$(subdir) = math] (sysdep_calls): New variable. Has the
11248 previous contents of sysdep_routines, but re-sorted..
11249 [$(subdir) = math] (sysdep_routines): Re-use the contents from
11251 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
11252 defined in sysdep_calls and replace by the respective m_* names.
11253 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
11254 (compat_symbol): Undefine to avoid duplicated compat symbols in
11257 2017-09-15 Joseph Myers <joseph@codesourcery.com>
11259 * math/s_fmaf.c: Include <libm-alias-float.h>.
11260 (fmaf): Define using libm_alias_float.
11261 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
11262 (acosf): Define using libm_alias_float.
11263 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
11264 (acoshf): Define using libm_alias_float.
11265 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
11266 (asinf): Define using libm_alias_float.
11267 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
11268 (atan2f): Define using libm_alias_float.
11269 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
11270 (atanhf): Define using libm_alias_float.
11271 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
11272 (coshf): Define using libm_alias_float.
11273 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
11274 (exp10f): Define using libm_alias_float.
11275 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
11276 (fmodf): Define using libm_alias_float.
11277 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
11278 (hypotf): Define using libm_alias_float.
11279 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
11280 (j0f): Define using libm_alias_float.
11282 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
11283 (j1f): Define using libm_alias_float.
11285 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
11286 (jnf): Define using libm_alias_float.
11288 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
11289 (log10f): Define using libm_alias_float.
11290 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
11291 (log2f): Define using libm_alias_float.
11292 * math/w_logf_compat.c: Include <libm-alias-float.h>.
11293 (logf): Define using libm_alias_float.
11294 * math/w_powf_compat.c: Include <libm-alias-float.h>.
11295 (powf): Define using libm_alias_float.
11296 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
11297 (remainderf): Define using libm_alias_float.
11298 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
11299 (sinhf): Define using libm_alias_float.
11300 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
11301 (sqrtf): Define using libm_alias_float.
11302 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
11303 (tgammaf): Define using libm_alias_float.
11305 2017-09-14 Joseph Myers <joseph@codesourcery.com>
11307 * include/math.h (roundeven): Change hidden_proto call to
11309 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
11311 [NO_LONG_DOUBLE] (__j0l): New strong alias.
11312 (y0): Rename to __y0 and define as weak alias.
11313 [NO_LONG_DOUBLE] (__y0l): New strong alias.
11314 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
11316 (y0f): Rename to __y0f and define as weak alias.
11317 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
11319 [NO_LONG_DOUBLE] (__j1l): New strong alias.
11320 (y1): Rename to __y1 and define as weak alias.
11321 [NO_LONG_DOUBLE] (__y1l): New strong alias.
11322 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
11324 (y1f): Rename to __y1f and define as weak alias.
11325 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
11327 [NO_LONG_DOUBLE] (__jnl): New strong alias.
11328 (yn): Rename to __yn and define as weak alias.
11329 [NO_LONG_DOUBLE] (__ynl): New strong alias.
11330 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
11332 (ynf): Rename to __ynf and define as weak alias.
11333 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
11334 (fromfp): Define as weak alias.
11335 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
11336 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
11337 (fromfpx): Define as weak alias.
11338 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
11339 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
11340 __getpayload and define as weak alias.
11341 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
11342 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
11343 __roundeven and define as weak alias.
11344 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
11345 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
11347 (setpayload): Define as weak alias.
11348 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
11349 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
11351 (setpayloadsig): Define as weak alias.
11352 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
11353 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
11354 __totalorder and define as weak alias.
11355 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
11356 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
11357 to __totalordermag and define as weak alias.
11358 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
11359 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
11360 (ufromfp): Define as weak alias.
11361 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
11362 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
11364 (ufromfpx): Define as weak alias.
11365 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
11366 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
11367 Rename to __getpayload and define as weak alias.
11368 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
11369 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
11370 Rename to __roundeven and define as weak alias.
11371 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
11372 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
11373 Rename to __totalorder and define as weak alias.
11374 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
11375 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
11376 (totalordermag): Rename to __totalordermag and define as weak
11378 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
11379 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
11381 (__roundevenl): Likewise.
11382 (__totalorderl): Likewise.
11383 (__totalordermagl): Likewise
11384 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
11386 (fromfpf128): Define as weak alias.
11387 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
11389 (fromfpxf128): Define as weak alias.
11390 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
11392 (setpayloadf128): Define as weak alias.
11393 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
11394 __setpayloadsigf128.
11395 (setpayloadsigf128): Define as weak alias.
11396 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
11398 (ufromfpf128): Define as weak alias.
11399 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
11401 (ufromfpxf128): Define as weak alias.
11402 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
11403 (fromfpf): Define as weak alias.
11404 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
11406 (fromfpxf): Define as weak alias.
11407 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
11408 __getpayloadf and define as weak alias.
11409 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
11410 __roundevenf and define as weak alias.
11411 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
11413 (setpayloadf): Define as weak alias.
11414 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
11416 (setpayloadsigf): Define as weak alias.
11417 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
11418 __totalorderf and define as weak alias.
11419 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
11420 Rename to __totalordermagf and define as weak alias.
11421 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
11423 (ufromfpf): Define as weak alias.
11424 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
11426 (ufromfpxf): Define as weak alias.
11427 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
11429 (fromfpl): Define as weak alias.
11430 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
11432 (fromfpxl): Define as weak alias.
11433 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
11434 to __getpayloadl and define as weak alias.
11435 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
11436 __roundevenl and define as weak alias.
11437 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
11439 (setpayloadl): Define as weak alias.
11440 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
11442 (setpayloadsigl): Define as weak alias.
11443 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
11444 to __totalorderl and define as weak alias.
11445 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
11446 Rename to __totalordermagl and define as weak alias.
11447 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
11449 (ufromfpl): Define as weak alias.
11450 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
11452 (ufromfpxl): Define as weak alias.
11453 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
11455 (fromfpl): Define as weak alias.
11456 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
11458 (fromfpxl): Define as weak alias.
11459 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
11460 Rename to __getpayloadl and define as weak alias.
11461 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
11462 to __roundevenl and define as weak alias. Call __roundeven
11463 instead of roundeven.
11464 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
11466 (setpayloadl): Define as weak alias.
11467 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
11469 (setpayloadsigl): Define as weak alias.
11470 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
11471 Rename to __totalorderl and define as weak alias.
11472 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
11473 Rename to __totalordermagl and define as weak alias.
11474 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
11476 (ufromfpl): Define as weak alias.
11477 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
11479 (ufromfpxl): Define as weak alias.
11480 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
11482 (fromfpl): Define as weak alias.
11483 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
11485 (fromfpxl): Define as weak alias.
11486 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
11487 __getpayloadl and define as weak alias.
11488 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
11489 __roundevenl and define as weak alias.
11490 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
11492 (setpayloadl): Define as weak alias.
11493 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
11495 (setpayloadsigl): Define as weak alias.
11496 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
11497 __totalorderl and define as weak alias.
11498 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
11499 Rename to __totalordermagl and define as weak alias.
11500 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
11502 (ufromfpl): Define as weak alias.
11503 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
11505 (ufromfpxl): Define as weak alias.
11507 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
11509 * benchtests/bench-string.h (realloc_bufs): New function.
11510 (test_init): Call it.
11511 * benchtests/bench-memset-large.c (do_test): Likewise.
11512 * benchtests/bench-memset.c (do_test): Likewise.
11514 * benchtests/bench-memset-large.c: Print output in JSON
11516 * benchtests/bench-memset.c: Likewise.
11518 2017-09-14 Mike FABIAN <mfabian@redhat.com>
11521 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
11522 * iconvdata/Makefile: Add IBM858.
11523 * iconvdata/gconv-modules: Likewise.
11524 * iconvdata/tst-tables.sh: Likewise.
11525 * iconvdata/ibm858.c: New file.
11526 * localedata/charmaps/IBM858: Likewise.
11528 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
11531 * locales/niu_NZ (LC_TIME): copy "niu_NU".
11532 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
11534 2017-09-14 Mike FABIAN <mfabian@redhat.com>
11537 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
11538 and add tel_int_fmt.
11540 2017-09-14 Joseph Myers <joseph@codesourcery.com>
11542 * sysdeps/generic/libm-alias-float128.h: New file.
11543 * sysdeps/generic/math-type-macros-float128.h: Include
11544 <libm-alias-float128.h>.
11545 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
11547 2017-09-13 Joseph Myers <joseph@codesourcery.com>
11549 * sysdeps/generic/libm-alias-ldouble.h: New file.
11550 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
11551 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
11552 * sysdeps/generic/math-type-macros-ldouble.h: Include
11553 <libm-alias-ldouble.h>.
11554 [!declare_mgen_alias] (declare_mgen_alias): Define to use
11555 libm_alias_ldouble.
11557 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
11559 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
11560 * math/w_exp_compat.c: ... here.
11561 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
11562 * math/w_expf_compat.c: ... here.
11563 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
11564 * math/w_expl_compat.c: ... here.
11565 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
11566 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
11567 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
11568 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
11570 2017-09-13 Joseph Myers <joseph@codesourcery.com>
11572 * math/w_scalbln_template.c (strong_alias): Do not undefine and
11574 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
11576 (ldexpl): Only define as compat symbol for libc, not libm.
11577 (scalbnl): Define as compat symbol for libc here.
11578 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
11579 define for [IS_IN (libc)].
11580 (__ldexpl_2): Remove alias.
11581 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
11582 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
11583 name in long_double_symbol call.
11584 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
11585 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
11586 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
11587 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
11588 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
11590 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
11591 Define as compat symbol.
11593 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11595 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
11596 * sysdeps/unix/sysv/linux/alpha/Makefile
11597 [$(subdir) = csu] (sysdep_routines): Remove rule.
11599 2017-09-13 Joseph Myers <joseph@codesourcery.com>
11601 * sysdeps/generic/libm-alias-double.h: New file.
11602 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
11603 * sysdeps/generic/math-type-macros-double.h: Include
11604 <libm-alias-double.h>.
11605 [declare_mgen_alias] (declare_mgen_alias): Define to use
11607 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
11608 (M_LIBM_NEED_COMPAT): Remove macro.
11609 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
11610 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
11611 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
11613 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11614 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11615 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11616 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11617 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11618 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11619 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11620 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11621 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11622 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11623 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11624 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11625 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11626 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11627 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11628 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11629 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11630 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11631 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11632 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11633 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11634 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11635 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11636 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11637 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11638 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11639 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11640 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
11641 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
11643 (declare_mgen_alias): New macro.
11644 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
11645 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
11646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
11647 (M_LIBM_NEED_COMPAT): Remove macro.
11648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
11649 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
11650 <first-versions.h>.
11651 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
11652 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
11654 2017-09-12 Joseph Myers <joseph@codesourcery.com>
11656 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
11657 (declare_mgen_alias_2): Remove.
11658 * sysdeps/generic/math-type-macros-double.h
11659 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
11661 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
11663 (ldexp): Define with declare_mgen_alias.
11664 (scalbn): Likewise.
11666 2017-09-12 Steve Ellcey <sellcey@cavium.com>
11668 * grp/initgroups.c: Include config.h.
11669 (DEFAULT_CONFIG): New macro.
11670 (internal_getgrouplist): Use DEFAULT_CONFIG.
11671 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11672 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
11673 (DEFAULT_DEFCONFIG): New macro.
11674 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
11675 * nss/grp-lookup.c: Include config.h
11676 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
11677 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
11678 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
11679 * manual/nss.texi: Update default values section.
11681 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
11684 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
11686 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
11687 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
11688 Handle MathVec_Prefer_No_AVX512.
11689 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
11690 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
11693 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
11695 * posix/sched_primax.c (__sched_get_priority_max): Add
11697 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
11698 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
11699 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
11700 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
11701 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
11702 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
11703 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
11704 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
11707 2017-09-11 Joseph Myers <joseph@codesourcery.com>
11709 * sysdeps/generic/libm-alias-float.h: New file.
11710 * sysdeps/generic/math-type-macros-float.h: Include
11711 <libm-alias-float.h>.
11712 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
11714 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
11717 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
11718 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
11719 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
11720 (HWCAP_IMPORTANT): Likewise.
11721 (HWCAP_X86_64): New enum.
11722 (HWCAP_X86_AVX512_1): Updated.
11723 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
11724 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
11725 (modules-names): Add x86_64/tst-x86_64mod-1.
11726 (LDFLAGS-tst-x86_64mod-1.so): New.
11727 ($(objpfx)tst-x86_64-1): Likewise.
11728 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
11729 (tst-x86_64-1-clean): Likewise.
11730 * sysdeps/x86_64/tst-x86_64-1.c: New file.
11731 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
11733 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
11735 * po/sv.po: Update translations.
11736 * po/fr.po: Likewise.
11738 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11740 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
11742 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
11744 * elf/rtld-Rules: Fix $(error) use.
11746 2017-09-09 Mike FABIAN <mfabian@redhat.com>
11749 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
11750 * locale/iso-639.def: Change “Bengali” to “Bangla”.
11751 * localedata/locales/bn_BD: “Bengali” was still used in some
11752 comments. Change it to “Bangla”.
11754 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
11756 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
11758 2017-09-08 Steve Ellcey <sellcey@cavium.com>
11760 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
11761 thunderx2t99p1 to list of cpu names.
11762 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
11763 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
11765 2017-09-08 Steve Ellcey <sellcey@cavium.com>
11767 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
11768 Use strcmp instead of tunable_is_name.
11770 2017-09-08 Joseph Myers <joseph@codesourcery.com>
11772 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
11773 (F_GET_RW_HINT): New macro.
11774 [__USE_GNU] (F_SET_RW_HINT): Likewise.
11775 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
11776 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
11777 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
11778 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
11779 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
11780 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
11781 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
11782 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
11784 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
11785 (F_ADD_SEALS): New macro.
11786 [__USE_GNU] (F_GET_SEALS): Likewise.
11787 [__USE_GNU] (F_SEAL_SEAL): Likewise.
11788 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
11789 [__USE_GNU] (F_SEAL_GROW): Likewise.
11790 [__USE_GNU] (F_SEAL_WRITE): Likewise.
11792 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11794 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
11795 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
11796 * posix/glob_internal.h (__glob_pattern_type):
11797 * posix/glob.c (glob):
11798 * posix/glob_pattern_p.c (__glob_pattern_p):
11801 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
11802 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
11803 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
11804 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
11805 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
11806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
11807 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
11808 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
11809 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
11810 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
11811 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
11812 * sysdeps/wordsize-64/glob.c: Likewise.
11813 * sysdeps/wordsize-64/glob64.c: Likewise.
11814 * sysdeps/wordsize-64/globfree.c: Likewise.
11815 * sysdeps/wordsize-64/globfree64.c: Likewise.
11816 * sysdeps/unix/sysv/linux/glob.c: New file.
11817 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
11818 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
11819 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
11820 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
11821 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
11822 adds !GLOB_NO_OLD_VERSION as an extra condition.
11823 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
11824 using relative path instead of absolute one.
11825 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
11826 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
11827 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11828 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
11829 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
11830 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
11833 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
11834 (glob): Use the same scratch buffer for both getlogin_r and
11835 getpwnam_r. Don’t require preallocation of the login name. This
11836 simplifies storage allocation, and corrects the handling of
11840 * posix/glob.c (glob): Port recent patches to platforms
11841 lacking getpwnam_r.
11842 (glob): Fix longstanding misuse of errno after getpwnam_r, which
11843 returns an error number rather than setting errno.
11845 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
11846 instead of GCC extension.
11847 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
11848 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
11849 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
11853 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
11854 * posix/bug-glob1.c: Remove file.
11855 * posix/tst-glob_symlinks.c: New file.
11856 * posix/glob.c (__lstat64): New macro.
11857 (is_dir): New function.
11858 (glob, glob_in_dir): Match symlinks even if they are dangling.
11859 (link_stat, link_exists_p): Remove. All uses removed.
11863 * posix/glob.c (struct readdir_result): Remove skip_entry member.
11864 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
11869 * posix/Makefile (routines): Add globfree, globfree64, and
11871 * posix/flexmember.h: New file.
11872 * posix/glob_internal.h: Likewise.
11873 * posix/glob_pattern_p.c: Likewise.
11874 * posix/globfree.c: Likewise.
11875 * posix/globfree64.c: Likewise.
11876 * sysdeps/gnu/globfree64.c: Likewise.
11877 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
11878 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
11879 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
11880 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
11881 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
11882 * sysdeps/wordsize-64/globfree.c: Likewise.
11883 * sysdeps/wordsize-64/globfree64.c: Likewise.
11884 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
11885 [NDEBUG): Remove comments.
11886 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
11887 (dirent_type): New type. Use uint_fast8_t not
11888 uint8_t, as C99 does not require uint8_t.
11889 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
11890 (struct readdir_result): Use dirent_type. Do not define skip_entry
11891 unless it is needed; this saves a byte on platforms lacking d_ino.
11892 (readdir_result_type, readdir_result_skip_entry):
11893 New functions, replacing ...
11894 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
11895 these functions, which were removed. This makes the callers
11896 easier to read. All callers changed.
11897 (D_INO_TO_RESULT): Now empty if there is no d_ino.
11898 (size_add_wrapv, glob_use_alloca): New static functions.
11899 (glob, glob_in_dir): Check for size_t overflow in several places,
11900 and fix some size_t checks that were not quite right.
11901 Remove old code using SHELL since Bash no longer
11903 (glob, prefix_array): Separate MS code better.
11904 (glob_in_dir): Remove old Amiga and VMS code.
11905 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
11907 (glob_in_dir): Do not rely on undefined behavior in accessing
11908 struct members beyond their bounds. Use a flexible array member
11910 (link_stat): Rename from link_exists2_p and return -1/0 instead of
11911 0/1. Caller changed.
11912 (glob): Fix memory leaks.
11913 * posix/glob64 (globfree64): Move to separate file.
11914 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
11915 (globfree64): Remove hidden alias.
11916 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
11918 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
11920 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
11922 Move compat code to separate file.
11923 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
11926 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
11928 * resolv/tst-resolv-qtypes.c (domain): Changed to
11929 "const char domain[] =".
11931 2017-09-07 Joseph Myers <joseph@codesourcery.com>
11933 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
11936 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
11937 (TCP_MD5SIG_EXT): Likewise.
11938 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
11939 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
11940 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
11942 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
11944 2017-09-07 Mike FABIAN <mfabian@redhat.com>
11946 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
11948 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
11951 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
11953 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
11955 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
11956 before assuming that the file is empty. Avoid testing buffer content
11959 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11962 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
11964 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
11966 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
11968 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
11970 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
11972 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
11974 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
11977 2017-09-06 Florian Weimer <fweimer@redhat.com>
11979 * malloc/dynarray_emplace_enlarge.c
11980 (__libc_dynarray_emplace_enlarge): Add missing else.
11982 2017-09-06 Florian Weimer <fweimer@redhat.com>
11985 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
11986 case of failure to obtain the global conf object.
11988 2017-09-06 Florian Weimer <fweimer@redhat.com>
11991 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
11992 dynarray allocation failure.
11994 2017-09-06 Florian Weimer <fweimer@redhat.com>
11996 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
11997 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
11998 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
12000 (response): Call them. Add 'p', '6' flag processing.
12001 (test_reverse): New function.
12002 (test_get2_any): Call it.
12003 (test_no_inet6): Add 'p' test.
12004 (test_inet6): Likewise.
12006 2017-09-06 Florian Weimer <fweimer@redhat.com>
12008 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
12009 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
12011 (test_gai): Adjust query names. Add additional tests.
12012 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
12013 test_get2. Adjust query names. Add additional tests.
12014 (test_no_inet6): New function, extracted from threadfunc.
12015 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
12016 Add additional tests.
12018 2017-09-06 Mike FABIAN <mfabian@redhat.com>
12021 * localedata/unicode-gen/utf8_gen.py: Set the width for
12022 characters with Prepended_Concatenation_Mark property to 1
12023 * localedata/charmaps/UTF-8: Updated using the improved script.
12025 2017-09-06 Mike FABIAN <mfabian@redhat.com>
12028 * localedata/unicode-gen/utf8_gen.py: Improve the script to
12029 use the range notation for all ranges of neighbouring characters
12030 with the same width.
12032 2017-09-05 Joseph Myers <joseph@codesourcery.com>
12034 * sysdeps/generic/math-type-macros-double.h: Include
12035 <math-svid-compat.h>.
12036 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
12037 * sysdeps/generic/math-type-macros-float.h: Include
12038 <math-svid-compat.h>.
12039 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
12040 * sysdeps/generic/math-type-macros-ldouble.h: Include
12041 <math-svid-compat.h>.
12042 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
12043 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
12045 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
12046 * math/w_acosf_compat.c: Likewise.
12047 * math/w_acosh_compat.c: Likewise.
12048 * math/w_acoshf_compat.c: Likewise.
12049 * math/w_acoshl_compat.c: Likewise.
12050 * math/w_acosl_compat.c: Likewise.
12051 * math/w_asin_compat.c: Likewise.
12052 * math/w_asinf_compat.c: Likewise.
12053 * math/w_asinl_compat.c: Likewise.
12054 * math/w_atan2_compat.c: Likewise.
12055 * math/w_atan2f_compat.c: Likewise.
12056 * math/w_atan2l_compat.c: Likewise.
12057 * math/w_atanh_compat.c: Likewise.
12058 * math/w_atanhf_compat.c: Likewise.
12059 * math/w_atanhl_compat.c: Likewise.
12060 * math/w_cosh_compat.c: Likewise.
12061 * math/w_coshf_compat.c: Likewise.
12062 * math/w_coshl_compat.c: Likewise.
12063 * math/w_exp10_compat.c: Likewise.
12064 * math/w_exp10f_compat.c: Likewise.
12065 * math/w_exp10l_compat.c: Likewise.
12066 * math/w_exp2_compat.c: Likewise.
12067 * math/w_exp2f_compat.c: Likewise.
12068 * math/w_exp2l_compat.c: Likewise.
12069 * math/w_fmod_compat.c: Likewise.
12070 * math/w_fmodf_compat.c: Likewise.
12071 * math/w_fmodl_compat.c: Likewise.
12072 * math/w_hypot_compat.c: Likewise.
12073 * math/w_hypotf_compat.c: Likewise.
12074 * math/w_hypotl_compat.c: Likewise.
12075 * math/w_j0_compat.c: Likewise.
12076 * math/w_j0f_compat.c: Likewise.
12077 * math/w_j0l_compat.c: Likewise.
12078 * math/w_j1_compat.c: Likewise.
12079 * math/w_j1f_compat.c: Likewise.
12080 * math/w_j1l_compat.c: Likewise.
12081 * math/w_jn_compat.c: Likewise.
12082 * math/w_jnf_compat.c: Likewise.
12083 * math/w_jnl_compat.c: Likewise.
12084 * math/w_lgamma_r_compat.c: Likewise.
12085 * math/w_lgammaf_r_compat.c: Likewise.
12086 * math/w_lgammal_r_compat.c: Likewise.
12087 * math/w_log10_compat.c: Likewise.
12088 * math/w_log10f_compat.c: Likewise.
12089 * math/w_log10l_compat.c: Likewise.
12090 * math/w_log2_compat.c: Likewise.
12091 * math/w_log2f_compat.c: Likewise.
12092 * math/w_log2l_compat.c: Likewise.
12093 * math/w_log_compat.c: Likewise.
12094 * math/w_logf_compat.c: Likewise.
12095 * math/w_logl_compat.c: Likewise.
12096 * math/w_pow_compat.c: Likewise.
12097 * math/w_powf_compat.c: Likewise.
12098 * math/w_powl_compat.c: Likewise.
12099 * math/w_remainder_compat.c: Likewise.
12100 * math/w_remainderf_compat.c: Likewise.
12101 * math/w_remainderl_compat.c: Likewise.
12102 * math/w_sinh_compat.c: Likewise.
12103 * math/w_sinhf_compat.c: Likewise.
12104 * math/w_sinhl_compat.c: Likewise.
12105 * math/w_sqrt_compat.c: Likewise.
12106 * math/w_sqrtf_compat.c: Likewise.
12107 * math/w_sqrtl_compat.c: Likewise.
12108 * math/w_tgamma_compat.c: Likewise.
12109 * math/w_tgammaf_compat.c: Likewise.
12110 * math/w_tgammal_compat.c: Likewise.
12111 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
12112 [LIBM_SVID_COMPAT].
12113 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
12114 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
12115 [LIBM_SVID_COMPAT].
12116 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
12117 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
12118 [LIBM_SVID_COMPAT].
12119 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
12120 * sysdeps/i386/fpu/w_sqrt.c: New file.
12121 * sysdeps/ia64/fpu/w_acos.c: Likewise.
12122 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
12123 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
12124 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
12125 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
12126 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
12127 * sysdeps/ia64/fpu/w_asin.c: Likewise.
12128 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
12129 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
12130 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
12131 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
12132 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
12133 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
12134 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
12135 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
12136 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
12137 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
12138 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
12139 * sysdeps/ia64/fpu/w_exp.c: Likewise.
12140 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
12141 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
12142 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
12143 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
12144 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
12145 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
12146 * sysdeps/ia64/fpu/w_expf.c: Likewise.
12147 * sysdeps/ia64/fpu/w_expl.c: Likewise.
12148 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
12149 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
12150 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
12151 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
12152 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
12153 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
12154 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
12155 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
12156 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
12157 * sysdeps/ia64/fpu/w_log.c: Likewise.
12158 * sysdeps/ia64/fpu/w_log10.c: Likewise.
12159 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
12160 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
12161 * sysdeps/ia64/fpu/w_log2.c: Likewise.
12162 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
12163 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
12164 * sysdeps/ia64/fpu/w_logf.c: Likewise.
12165 * sysdeps/ia64/fpu/w_logl.c: Likewise.
12166 * sysdeps/ia64/fpu/w_pow.c: Likewise.
12167 * sysdeps/ia64/fpu/w_powf.c: Likewise.
12168 * sysdeps/ia64/fpu/w_powl.c: Likewise.
12169 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
12170 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
12171 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
12172 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
12173 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
12174 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
12175 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
12176 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
12177 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
12178 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
12179 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
12180 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
12181 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
12182 [LIBM_SVID_COMPAT].
12183 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
12184 * sysdeps/ieee754/k_standard.c: Likewise.
12185 * sysdeps/ieee754/k_standardf.c: Likewise.
12186 * sysdeps/ieee754/k_standardl.c: Likewise.
12187 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
12188 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
12189 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
12190 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
12191 long_double_symbol call on [LIBM_SVID_COMPAT].
12192 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
12193 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
12194 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
12195 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
12196 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
12197 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
12198 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
12199 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
12200 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
12201 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
12202 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
12203 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
12204 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
12205 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
12206 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
12207 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
12208 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
12209 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
12210 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
12211 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
12212 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
12213 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
12215 2017-09-05 Steve Ellcey <sellcey@cavium.com>
12217 * include/shlib-compat.h (TEST_COMPAT): New Macro.
12218 * malloc/tst-mallocstate.c: Convert from test-skeleton
12219 to test-driver. Ifdef code using TEST_COMPAT macro.
12220 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
12221 * math/test-matherr.c: Likewise.
12223 2017-09-05 Joseph Myers <joseph@codesourcery.com>
12226 * debug/pcprofiledump.c (main): Use byte-swapped mask when
12227 comparing word with byte-swapped constant.
12229 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
12232 * locale/iso-639.def: add Miskito.
12233 * localedata/SUPPORTED: Add miq_NI/UTF-8.
12234 * localedata/locales/miq_NI: New file.
12236 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
12239 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
12240 (__mkdir): Likewise.
12241 * io/chmod.c (__chmod): Add libc_hidden_def.
12242 * io/mkdir.c (__mkdir): Likewise.
12243 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
12244 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
12245 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
12246 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
12248 2017-09-04 Joseph Myers <joseph@codesourcery.com>
12250 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
12254 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
12255 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
12257 2017-09-04 Florian Weimer <fweimer@redhat.com>
12259 * math/math.h: Issue warning if log is defined.
12261 2017-09-04 Joseph Myers <joseph@codesourcery.com>
12263 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
12264 kernel version to 4.13.
12266 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
12268 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
12269 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
12271 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
12272 just <bits/types.h>.
12273 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
12274 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
12275 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
12276 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
12277 * misc/preadv2.c: Include <errno.h>.
12278 * misc/preadv64v2.c: Include <errno.h>.
12279 * misc/pwritev2.c: Include <errno.h>.
12280 * misc/pwritev64v2.c: Include <errno.h>.
12281 * sysdeps/posix/preadv2.c: Include <errno.h>.
12282 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
12283 Fix <unistd.h> inclusion.
12284 * sysdeps/posix/pwritev2.c: Include <errno.h>.
12285 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
12286 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
12287 __strtoul_internal): New functions.
12288 * sysdeps/posix/pause.c: Include <sigsetops.h>.
12289 * sysdeps/posix/system.c: Include <sigsetops.h>.
12290 * sysdeps/mach/hurd/i386/Makefile
12291 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
12292 [$(subdir) = csu] (sysdep-only-routines): Likewise.
12293 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
12294 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
12295 __feraiseexcept_renamed to feraiseexcept instead of
12296 __GI_feraiseexcept.
12297 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
12298 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
12299 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
12300 RWF_NOWAIT): Define to 0 if undefined already.
12301 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
12303 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
12304 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
12306 2017-09-01 Joseph Myers <joseph@codesourcery.com>
12308 * manual/math.texi (pow10): Do not document.
12309 (pow10f): Likewise.
12310 (pow10l): Likewise.
12311 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
12312 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
12313 * math/libm-test-exp10.inc (pow10_test): Remove.
12314 (do_test): Do not call pow10.
12315 * math/w_exp10_compat.c (pow10): Make into compat symbol.
12316 [NO_LONG_DOUBLE] (pow10l): Likewise.
12317 * math/w_exp10f_compat.c (pow10f): Likewise.
12318 * math/w_exp10l_compat.c (pow10l): Likewise.
12319 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
12320 (pow10): Make into compat symbol.
12321 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
12322 (pow10f): Make into compat symbol.
12323 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
12324 (pow10l): Make into compat symbol.
12325 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
12327 (CFLAGS-nldbl-pow10.c): Remove variable..
12328 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
12329 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
12330 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
12331 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
12332 Undefine and redefine.
12333 (pow10l): Make into compat symbol.
12334 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
12335 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
12336 * sysdeps/arm/libm-test-ulps: Likewise.
12337 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
12338 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
12339 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
12340 * sysdeps/microblaze/libm-test-ulps: Likewise.
12341 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
12342 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12343 * sysdeps/nios2/libm-test-ulps: Likewise.
12344 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12345 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
12346 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12347 * sysdeps/sh/libm-test-ulps: Likewise.
12348 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12349 * sysdeps/tile/libm-test-ulps: Likewise.
12350 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12352 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
12354 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
12356 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
12358 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
12359 "../ChangeLog.old/ChangeLog.8".
12360 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
12361 "../ChangeLog.old/ChangeLog.14".
12363 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
12365 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
12368 2017-09-01 Joseph Myers <joseph@codesourcery.com>
12370 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
12372 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
12374 * csu/version.c (banner): Remove "by Roland McGrath et al.".
12375 * nptl/Banner: Remove "by Ulrich Drepper et al.".
12377 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
12379 * stdlib/tst-atexit-common.c (do_test): Test support for at least
12380 32 atexit handlers.
12382 2017-09-01 Zack Weinberg <zackw@panix.com>
12384 * math/math.h (HUGE_VAL): Improve commentary.
12386 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12387 Andreas Schwab <schwab@suse.de>
12390 * include/stdio.h (__gen_tempfd): New function.
12391 * stdio-common/Makefile (routines): Add gentempfd.
12392 * stdio-common/gentempfd.c: New file.
12393 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
12394 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
12395 unnamed file first.
12397 2017-09-01 Florian Weimer <fweimer@redhat.com>
12401 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
12402 result to determine success or failure, not the errno value.
12403 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
12404 (tst-nss-files-hosts-erange): Link with -ldl.
12405 * nss/tst-nss-files-hosts-erange.c: New file.
12406 * nss/tst-resolv-basic.c (response): Handle nodata.example.
12407 (do_test): Add NO_DATA tests.
12408 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
12409 (do_test): Call it.
12411 2017-09-01 Florian Weimer <fweimer@redhat.com>
12414 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
12415 coming from gethostbyname2_r.
12417 2017-09-01 Florian Weimer <fweimer@redhat.com>
12419 * support/namespace.h (struct support_chroot_configuration): Add
12421 (struct support_chroot): Add path_hosts, path_host_conf.
12422 * support/support_chroot.c (write_file): New function.
12423 (support_chroot_create): Call it to process /etc/resolv.conf,
12424 /etc/hosts, /etc/host.conf.
12425 (support_chroot_free): Update.
12427 2017-09-01 Florian Weimer <fweimer@redhat.com>
12429 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
12430 status indicates it is set.
12432 2017-09-01 Florian Weimer <fweimer@redhat.com>
12435 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
12436 function lookup failures more reliable.
12438 2017-09-01 Florian Weimer <fweimer@redhat.com>
12440 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
12441 (getcanonname): Likewise.
12442 (gaih_inet): Likewise.
12444 2017-09-01 Florian Weimer <fweimer@redhat.com>
12446 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
12447 (getcanonname): Likewise.
12448 (gaih_inet): Likewise.
12450 2017-08-31 Steve Ellcey <sellcey@cavium.com>
12451 Richard Henderson <rth@twiddle.net>
12453 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
12454 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
12455 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
12456 (IREG_SIZE, OREG_SIZE): New macros.
12457 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
12458 (IREG_SIZE, OREG_SIZE): New macros.
12459 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
12460 (IREG_SIZE): New macro.
12461 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
12462 (IREG_SIZE): New macro.
12463 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
12465 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
12466 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
12467 (__CONCATX): Handle exceptions correctly on large values that may
12469 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
12470 Initialize if not already set.
12471 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
12473 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12475 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
12476 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
12478 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
12480 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
12482 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
12484 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
12486 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
12488 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
12490 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
12491 (NO_CANCELLATION): Likewise.
12492 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
12494 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
12496 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
12498 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
12499 (NO_CANCELLATION): Likewise.
12500 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
12501 (NO_CANCELLATION): Likewise.
12502 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
12504 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
12506 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
12508 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
12510 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
12512 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
12513 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
12515 2017-08-31 Steve Ellcey <sellcey@cavium.com>
12517 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
12520 2017-08-31 Florian Weimer <fweimer@redhat.com>
12522 * include/libc-symbols.h (internal_function): Remove.
12524 2017-08-31 Florian Weimer <fweimer@redhat.com>
12526 * stdlib/fmtmsg.c (internal_addseverity): Remove
12529 2017-08-31 Florian Weimer <fweimer@redhat.com>
12531 * stdio-common/printf_fp.c (group_number): Remove
12533 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
12535 2017-08-31 Florian Weimer <fweimer@redhat.com>
12537 * posix/fnmatch.c (internal_function): Remove definition.
12538 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
12539 * posix/regcomp.c (peek_token, init_word_char)
12540 (duplicate_node_closure, fetch_token, peek_token)
12541 (peek_token_bracket, build_range_exp, build_collating_symbol):
12543 * posix/regex_internal.c (re_string_construct_common)
12544 (create_ci_newstate, create_cd_newstate, re_string_allocate)
12545 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
12546 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
12547 (re_string_translate_buffer, re_string_reconstruct)
12548 (re_string_peek_byte_case, re_string_fetch_byte_case)
12549 (re_string_destruct, re_string_context_at, re_node_set_alloc)
12550 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
12551 (re_node_set_add_intersect, re_node_set_init_union)
12552 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
12553 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
12554 (re_dfa_add_node, calc_state_hash, re_acquire_state)
12555 (re_acquire_state_context): Likewise.
12556 * posix/regex_internal.h (internal_function): Remove definition.
12557 (re_string_realloc_buffers, build_wcs_buffer)
12558 (build_wcs_upper_buffer, build_upper_buffer)
12559 (re_string_translate_buffer, re_string_context_at)
12560 (re_string_char_size_at, re_string_wchar_at)
12561 (re_string_elem_size_at): Likewise.
12562 * posix/regexec.c (match_ctx_init, match_ctx_clean)
12563 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
12564 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
12565 (re_search_internal, re_search_2_stub, re_search_stub)
12566 (re_copy_regs, prune_impossible_nodes, check_matching)
12567 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
12568 (free_fail_stack_return, sift_states_iter_mb)
12569 (sift_states_backward, build_sifted_states)
12570 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
12571 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
12572 (check_subexp_limits, sift_states_bkref, merge_state_array)
12573 (find_recover_state, transit_state, merge_state_with_log)
12574 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
12575 (transit_state_mb, transit_state_bkref, get_subexp)
12576 (get_subexp_sub, find_subexp_node, check_arrival)
12577 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
12578 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
12579 (check_node_accept_bytes, find_collation_sequence_value)
12580 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
12581 (acquire_init_state_context, check_halt_node_context)
12582 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
12583 (sub_epsilon_src_nodes): Likewise.
12584 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
12585 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
12586 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
12587 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
12588 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
12589 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
12590 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
12591 * sysdeps/posix/ttyname.c (getttyname): Likewise.
12592 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
12593 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
12594 (PREADV): Likewise.
12595 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
12596 (PREADV): Likewise.
12597 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
12598 (PWRITEV): Likewise.
12599 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
12600 (PWRITEV): Likewise.
12601 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
12602 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
12604 2017-08-31 Florian Weimer <fweimer@redhat.com>
12606 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
12607 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
12608 Remove internal_function.
12609 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
12610 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
12611 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
12612 (__deallocate_stack, __libc_pthread_init)
12613 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
12614 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
12615 (__libc_disable_asynccancel, __librt_disable_asynccancel):
12617 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
12618 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
12619 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
12621 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
12622 (__pthread_mutex_unlock_usercnt): Likewise.
12624 2017-08-31 Florian Weimer <fweimer@redhat.com>
12626 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
12627 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
12628 (fts_safe_changedir): Remove internal_function.
12629 * io/ftw.c (internal_function): Remove definition.
12630 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
12632 2017-08-31 Florian Weimer <fweimer@redhat.com>
12634 * inet/deadline.c (__deadline_current_time)
12635 (__deadline_from_timeval, __deadline_to_ms): Remove
12637 * inet/getnameinfo.c (nrl_domainname): Likewise.
12638 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
12639 * inet/inet6_option.c (add_pad): Likewise.
12640 * inet/net-internal.h (__deadline_current_time)
12641 (__deadline_from_timeval, __deadline_to_ms): Likewise.
12642 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
12643 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
12644 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
12646 2017-08-31 Joseph Myers <joseph@codesourcery.com>
12648 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
12649 include <bits/nan.h>.
12650 * math/Makefile (headers): Remove bits/nan.h.
12651 * bits/nan.h: Remove.
12652 * sysdeps/ieee754/bits/nan.h: Likewise.
12653 * sysdeps/mips/bits/nan.h: Likewise.
12655 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
12656 not include <bits/inf.h>.
12657 * math/Makefile (headers): Remove bits/inf.h.
12658 * bits/inf.h: Remove.
12659 * sysdeps/ieee754/bits/inf.h: Likewise.
12661 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
12662 bits/huge_vall.h or bits/huge_val_flt128.h.
12663 (HUGE_VAL): Define directly here.
12664 [__USE_ISOC99] (HUGE_VALF): Likewise.
12665 [__USE_ISOC99] (HUGE_VALL): Likewise.
12666 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
12667 (HUGE_VAL_F128): Likewise.
12668 * math/Makefile (headers): Remove bits/huge_val.h,
12669 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
12670 * bits/huge_val.h: Remove.
12671 * bits/huge_val_flt128.h: Likewise.
12672 * bits/huge_valf.h: Likewise.
12673 * bits/huge_vall.h: Likewise.
12674 * sysdeps/ia64/bits/huge_vall.h: Likewise.
12675 * sysdeps/ieee754/bits/huge_val.h: Likewise.
12676 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
12677 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
12678 * sysdeps/sh/bits/huge_val.h: Likewise.
12679 * sysdeps/sparc/bits/huge_vall.h: Likewise.
12680 * sysdeps/x86/bits/huge_vall.h: Likewise.
12682 2017-08-31 Florian Weimer <fweimer@redhat.com>
12684 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
12686 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
12688 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
12689 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
12690 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
12691 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
12692 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12693 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
12694 * elf/dl-libc.c (dlerror_run): Likewise.
12695 * elf/dl-load.c (add_name_to_object, decompose_rpath)
12696 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
12697 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
12698 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
12700 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
12701 (_dl_higher_prime_number, _dl_strtoul): Likewise.
12702 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
12703 * elf/dl-profile.c (_dl_start_profile): Likewise.
12704 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
12705 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
12707 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
12708 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
12709 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
12710 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
12711 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
12712 (_dl_allocate_tls_storage): Likewise.
12713 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
12714 (_dl_check_all_versions): Likewise.
12715 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
12716 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
12717 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
12718 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
12719 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
12720 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
12721 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
12722 internal_function from __dl_start.
12723 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
12724 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
12725 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
12726 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
12727 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
12728 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
12729 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
12730 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
12731 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
12732 (_dl_next_ld_env_entry, _dl_important_hwcaps)
12733 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
12734 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
12735 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
12736 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
12737 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
12739 (struct rtld_global_ro): Remove internal_function from the
12740 _dl_lookup_symbol_x member.
12741 (_dl_symbol_value): Remove. No longer defined anywhere.
12742 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
12744 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
12745 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
12746 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
12747 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
12748 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
12749 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
12750 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
12751 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
12752 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
12753 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
12754 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
12755 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
12757 2017-08-31 Florian Weimer <fweimer@redhat.com>
12759 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
12760 Remove internal_function.
12761 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
12763 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
12766 2017-08-31 Florian Weimer <fweimer@redhat.com>
12768 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
12769 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
12770 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
12772 2017-08-31 Florian Weimer <fweimer@redhat.com>
12774 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
12775 (__gai_enqueue_request): Remove internal_function.
12776 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
12777 (__gai_remove_request, __gai_notify, __gai_notify_only)
12778 (__gai_sigqueue): Likewise.
12779 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
12780 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
12781 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
12782 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
12785 2017-08-31 Florian Weimer <fweimer@redhat.com>
12787 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
12788 * include/dirent.h (__opendirat, __getdents, __getdents64)
12789 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
12790 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
12791 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
12792 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
12794 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
12796 2017-08-31 Florian Weimer <fweimer@redhat.com>
12798 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
12800 (GETCWD_RETURN_TYPE): Likewise.
12802 2017-08-31 Florian Weimer <fweimer@redhat.com>
12804 * include/time.h (__tz_compute, __strptime_internal): Remove
12806 * time/strptime_l.c (__strptime_internal): Likewise.
12807 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
12809 2017-08-31 Florian Weimer <fweimer@redhat.com>
12811 * iconv/gconv.c (__gconv): Remove internal_function.
12812 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
12813 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
12814 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
12815 (__gconv_release_cache): Likewise.
12816 * iconv/gconv_close.c (__gconv_close): Likewise.
12817 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
12818 (read_conf_file, __gconv_get_path): Likewise.
12819 * iconv/gconv_db.c (derivation_lookup, add_derivation)
12820 (__gconv_release_step, gen_steps, increment_counter)
12821 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
12822 (__gconv_close_transform, free_modules_db): Likewise.
12823 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
12825 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
12826 (__gconv_find_transform, __gconv_lookup_cache)
12827 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
12828 (__gconv_close_transform, __gconv_release_cache)
12829 (__gconv_loaded_object, __gconv_release_shlib)
12830 (__gconv_compare_alias): Likewise.
12831 * iconv/gconv_open.c (__gconv_open): Likewise.
12832 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
12833 * iconv/iconvconfig.c (add_module): Likewise.
12834 * intl/dcigettext.c (plural_lookup, guess_category_value)
12835 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
12836 * intl/eval-plural.h (plural_eval): Likewise.
12837 * intl/finddomain.c (_nl_find_domain): Likewise.
12838 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
12839 (_nl_load_domain, _nl_find_msg): Likewise.
12840 (internal_function): Remove definition.
12841 * intl/loadinfo.h (internal_function): Likewise.
12842 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
12844 * intl/localealias.c (internal_function): Remove definition.
12845 (read_alias_file): Remove internal_function.
12846 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
12847 * intl/plural-exp.h (internal_function): Remove definition.
12848 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
12850 * intl/plural.c: Regenerate.
12851 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
12852 * locale/coll-lookup.c (__collidx_table_lookup)
12853 (__collseq_table_lookup): Likewise.
12854 * locale/coll-lookup.h (__collidx_table_lookup)
12855 (__collseq_table_lookup): Likewise.
12856 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
12857 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
12858 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
12859 (_nl_unload_locale): Likewise.
12860 * locale/localeinfo.h (struct __locale_data): Remove
12861 internal_function from cleanup member.
12862 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
12863 (_nl_remove_locale, _nl_load_locale_from_archive)
12864 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
12865 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
12866 (_nl_cleanup_time): Remove internal_function.
12867 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
12868 (_nl_parse_alt_digit): Likewise.
12869 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
12870 (_nl_select_era_entry): Likewise.
12871 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
12872 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
12873 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
12874 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
12875 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
12877 2017-08-31 Florian Weimer <fweimer@redhat.com>
12879 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
12880 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
12881 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
12882 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
12884 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
12885 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
12886 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
12887 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
12889 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
12891 2017-08-31 Florian Weimer <fweimer@redhat.com>
12893 * misc/getttyent.c (skip, value): Remove internal_function.
12894 * misc/syslog.c (openlog_internal): Likewise.
12895 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
12897 2017-08-31 Florian Weimer <fweimer@redhat.com>
12899 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
12900 (__nss_rewrite_field): Remove internal_function.
12901 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
12902 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
12903 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
12904 * nss/nsswitch.c (nss_parse_file, nss_getline)
12905 (nss_parse_service_list, nss_new_service): Likewise.
12906 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
12907 * nss/valid_field.c (__nss_valid_field): Likewise.
12908 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
12910 2017-08-31 Florian Weimer <fweimer@redhat.com>
12912 * malloc/arena.c (__malloc_fork_lock_parent)
12913 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
12914 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
12915 internal_function from defintions.
12916 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
12917 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
12918 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
12919 internal_function from declarations.
12920 * malloc/malloc.c (internal_function): Do not define.
12921 (mem2mem_check): Remove internal_function from declaration.
12922 (munmap_chunk, mremap_chunk): Remove internal_function.
12923 * malloc/mtrace.c (tr_where): Likewise.
12925 2017-08-31 Florian Weimer <fweimer@redhat.com>
12927 * include/rpc/pmap_clnt.h (__get_socket): Remove
12929 * sunrpc/auth_des.c (synchronize): Likewise.
12930 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
12931 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
12932 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
12933 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
12934 (key_call): Likewise.
12935 * sunrpc/pm_getport.c (__get_socket): Likewise.
12936 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
12937 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
12938 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
12939 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
12940 (invalidate): Likewise.
12941 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
12942 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
12943 (set_input_fragment, get_input_bytes): Likewise.
12945 2017-08-31 Florian Weimer <fweimer@redhat.com>
12947 * malloc/malloc.c (_int_free): Remove locked variable and related
12950 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
12953 * Makerules (build-module-helper-objlist): Filter out
12954 $(elf-objpfx)sofini.os.
12955 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
12958 2017-08-31 Florian Weimer <fweimer@redhat.com>
12960 * libio/fcloseall.c: Assume weak_alias is defined.
12961 * libio/feof.c: Likewise.
12962 * libio/fileno.c: Likewise.
12963 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
12964 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
12966 (_IO_file_open): Call __open directly.
12967 (_IO_new_file_sync): Assume ESPIPE is defined.
12968 (_IO_file_seekoff_maybe_mmap): Call __read directly.
12969 (_IO_new_file_write): Call __write directly.
12970 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
12971 * libio/ftello64.c (__ftello64): Assume EIO is defined.
12972 * libio/genops.c: Assume _LIBC is defined.
12973 (save_for_backup): Remove internal_function.
12974 * libio/getc.c: Assume weak_alias is defined.
12975 * libio/getwc.c: Likewise.
12976 * libio/iofclose.c: Assume _LIBC is defined.
12977 * libio/iofdopen.c: Likewise.
12978 (_IO_fcntl): Remove macro definition.
12979 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
12980 Call __fcntl directly.
12981 * libio/iofflush.c: Assume weak_alias is defined.
12982 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
12984 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
12985 * libio/iofgets.c: Likewise.
12986 * libio/iofopen.c: Assume _LIBC is defined.
12987 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
12988 * libio/iofputs.c: Assume weak_alias is defined.
12989 * libio/iofread.c: Likewise.
12990 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
12991 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
12992 * libio/ioftell.c: Assume weak_alias is defined.
12993 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
12994 * libio/iofwide.c: Assume _LIBC is defined.
12995 (_IO_fwide): Drop SHARED conditional because it is implied by
12997 * libio/iofwrite.c: Assume weak_alias is defined.
12998 * libio/iogetdelim.c: Likewise.
12999 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
13000 * libio/iogetwline.c (wmemcpy): Remove macro definition.
13001 (_IO_getwline): Call __wmemcpy directly.
13002 * libio/iopopen.c: Assume _LIBC is defined.
13003 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
13004 (_IO_close): Remove macro definitions.
13005 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
13007 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
13009 * libio/ioputs.c: Assume weak_alias is defined.
13010 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
13011 * libio/iosetbuffer.c: Assume weak_alias is defined.
13012 * libio/iosetvbuf.c: Likewise.
13013 * libio/ioungetc.c: Likewise.
13014 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
13015 libc_hidden_def, libc_hidden_weak, NULL are defined.
13016 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
13017 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
13019 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
13021 (_IO_old_file_init_internal): Drop SHARED conditional because it
13022 is implied by SHLIB_COMPAT.
13023 (_IO_old_file_fopen): Call __open directly.
13024 (_IO_old_file_sync): Assume ESPIPE is defined.
13025 (_IO_old_file_write): Call __write directly.
13026 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
13027 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
13028 Call __fcntl directly.
13029 * libio/oldiofgetpos.c: Assume weak_alias is defined.
13030 (_IO_old_fgetpos): Assume EIO is defined.
13031 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
13032 (_IO_old_fgetpos64): Assume EIO is defined.
13033 * libio/oldiofsetpos.c: Assume weak_alias is defined.
13034 (_IO_old_fsetpos): Assume EIO is defined.
13035 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
13036 (_IO_old_fsetpos64): Assume EIO is defined.
13037 * libio/oldiopopen.c: Assume _LIBC is defined.
13038 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
13039 (_IO_close): Remove macro definitions.
13040 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
13042 (_IO_old_proc_close): Call __close, __waitpid directly.
13043 * libio/put.c: Assume weak_alias is defined.
13044 * libio/stdfiles.c: Assume _LIBC is defined.
13045 * libio/stdio.c: Likewise.
13046 * libio/wfileops.c: Likewise.
13047 (_IO_wfile_sync): Assume ESPIPE is defined.
13048 * libio/wgenops.c: Assume _LIBC is defined.
13049 (save_for_wbackup): Remove internal_function.
13051 2017-08-31 Florian Weimer <fweimer@redhat.com>
13053 * malloc/malloc.c (top_check): Change return type to void. Remove
13055 * malloc/hooks.c (top_check): Likewise.
13056 (malloc_check, realloc_check, memalign_check): Adjust.
13058 2017-08-30 Joseph Myers <joseph@codesourcery.com>
13061 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
13062 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
13063 sigcontext and namespace requirements.
13064 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
13065 * sysdeps/m68k/sys/ucontext.h: Likewise.
13066 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
13067 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
13068 <bits/sigcontext.h>.
13069 (__ctx): Define earlier.
13070 (mcontext_t): Define structure contents rather than using struct
13072 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
13073 __glibc_reserved1 instead of __reserved.
13074 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
13075 <bits/sigcontext.h>.
13076 (__ctx): Define earlier.
13077 (mcontext_t): Define structure contents rather than using struct
13079 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
13080 mcontext_t instead of struct sigcontext.
13081 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
13082 <bits/sigcontext.h>.
13083 (__ctx): Define earlier.
13084 (mcontext_t): Define structure contents rather than using struct
13086 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
13087 <bits/sigcontext.h>.
13088 (__ctx): Define earlier.
13089 (mcontext_t): Define structure contents rather than using struct
13091 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
13092 mcontext_t instead of struct sigcontext.
13093 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
13094 mcontext_t instead of struct sigcontext.
13095 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
13096 <bits/sigcontext.h>.
13097 (__ctx): New macro.
13098 (struct __ia64_fpreg_mcontext): New type.
13099 (mcontext_t): Define structure contents rather than using struct
13101 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
13102 (uc_sigmask): Define using __ctx.
13103 (uc_stack): Likewise.
13104 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
13105 <bits/sigcontext.h>.
13106 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
13107 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
13108 <bits/sigcontext.h>.
13109 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
13110 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
13111 <bits/sigcontext.h>.
13112 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
13113 <bits/sigcontext.h>.
13114 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
13115 <bits/sigcontext.h>.
13116 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
13117 <bits/sigcontext.h>.
13118 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
13119 <bits/sigcontext.h>.
13120 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
13121 <bits/sigcontext.h>.
13122 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
13123 <bits/sigcontext.h>.
13124 (__ctx): Define earlier.
13125 (mcontext_t): Define structure contents rather than using struct
13127 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
13128 <bits/sigcontext.h>. Include <bits/types.h>.
13129 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
13130 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
13131 (test-xfail-XPG42/ucontext.h/conform): Likewise.
13132 (test-xfail-UNIX98/signal.h/conform): Likewise.
13133 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
13134 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
13135 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
13136 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
13137 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
13138 (test-xfail-POSIX2008/signal.h/conform): Likewise.
13139 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
13140 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
13141 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
13143 2017-08-30 Florian Weimer <fweimer@redhat.com>
13145 * malloc/dynarray_emplace_enlarge.c
13146 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
13147 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
13148 * malloc/tst-dynarray.c (test_long_overflow): New function.
13149 (do_test): Call it.
13151 2017-08-30 Florian Weimer <fweimer@redhat.com>
13153 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
13154 (set_arena_corrupt): Remove definitions.
13155 (mtrim): Do not check for corrupt arena.
13156 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
13159 2017-08-30 Florian Weimer <fweimer@redhat.com>
13162 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
13164 (ptmalloc_init): Do not set or use check_action.
13165 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
13166 call to malloc_printerr. Remove return statement.
13167 (free_check): Likewise. Remove arena unlock.
13168 (top_check): Update comment. Adjust call to malloc_printerr.
13169 Remove heap repair code.
13170 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
13171 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
13172 (sysmalloc): Adjust call to malloc_printerr.
13173 (munmap_chunk, __libc_realloc): Likewise. Remove return
13175 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
13176 Remove errout label and corresponding gotos.
13177 (_int_free): Likewise. Remove arena unlock.
13178 (do_set_mallopt_check): Do not set check_action.
13179 (malloc_printerr): Adjust parameter list. Do not mark arena as
13181 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
13183 * manual/probes.texi (Memory Allocation Probes): Remove
13184 memory_mallopt_check_action.
13186 2017-08-30 Steve Ellcey <sellcey@cavium.com>
13188 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
13189 Use pointer to uint64_t instead of long int for sp.
13191 2017-08-30 Florian Weimer <fweimer@redhat.com>
13194 * malloc/malloc.c (malloc_printerr): Always terminate the process,
13195 without printing a backtrace. Do not leak any information in the
13197 * manual/memory.texi (Heap Consistency Checking): Update.
13198 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
13200 2017-08-30 Florian Weimer <fweimer@redhat.com>
13202 Do not scale NPTL tests with available number of CPUs.
13203 * nptl/tst-cond16.c (count): Set to constant value of 8.
13204 * nptl/tst-cond18.c (count): Likewise.
13206 2017-08-29 Joseph Myers <joseph@codesourcery.com>
13209 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
13210 Define to take a second argument that is a macro that
13211 concatentates a suffix, not the suffix itself.
13212 (__CONCAT_d): New macro.
13213 (__CONCAT_f): Likewise.
13214 (__CONCAT_l): Likewise.
13216 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
13218 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
13221 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13222 Aurelien Jarno <aurelien@aurel32.net>
13223 Maciej W. Rozycki <macro@imgtec.com>
13226 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
13227 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
13228 `mips16-syscall6' and `mips16-syscall7'.
13229 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
13230 (CFLAGS-mips16-syscall7.c): Remove.
13231 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
13232 Remove `__mips16_syscall5', `__mips16_syscall6' and
13233 `__mips16_syscall7'.
13234 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
13235 (__mips16_syscall0): Rename `__mips16_syscall_return' to
13236 `__mips_syscall_return'.
13237 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
13238 (__mips16_syscall1): Likewise.
13239 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
13240 (__mips16_syscall2): Likewise.
13241 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
13242 (__mips16_syscall3): Likewise.
13243 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
13244 (__mips16_syscall4): Likewise.
13245 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
13247 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
13249 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
13251 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
13252 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
13253 `__mips16_syscall5'. Remove prototype.
13254 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
13255 `__mips16_syscall6'. Remove prototype.
13256 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
13257 `__mips16_syscall7'. Remove prototype.
13258 (__nomips16, __mips16_syscall_return): Move to...
13259 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
13260 (__nomips16, __mips_syscall_return): ... here.
13261 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
13262 `__mips16_syscall_return' to `__mips_syscall_return'.
13263 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
13264 `internal_syscall##nr'.
13265 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
13266 `internal_syscall##nr'.
13267 (FORCE_FRAME_POINTER): Remove.
13268 (__mips_syscall5): New prototype.
13269 (internal_syscall5): Rewrite to call `__mips_syscall5'.
13270 (__mips_syscall6): New prototype.
13271 (internal_syscall6): Rewrite to call `__mips_syscall6'.
13272 (__mips_syscall7): New prototype.
13273 (internal_syscall7): Rewrite to call `__mips_syscall7'.
13274 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
13275 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
13276 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
13277 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
13278 (sysdep_routines): Add libc-do-syscall.
13279 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
13280 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
13282 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13285 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
13286 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
13287 (advise_stack_range): New function.
13288 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
13289 stack non required to advise_stack_range at allocatestack.c
13291 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
13293 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
13295 2017-08-29 Florian Weimer <fweimer@redhat.com>
13298 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
13299 __end_fct. Mangle __end_fct after setting it to NULL.
13300 * iconv/Makefile (tests): Add tst-gconv-init-failure.
13301 (modules-names, modules-names-tests): Add
13302 tst-gconv-init-failure-mod.
13303 (gconv-modules): New target.
13304 (tst-gconv-init-failure-mod.so): Link against libsupport.
13305 (tst-gconv-init-failure): Depend on gconv-modules,
13306 tst-gconv-init-failure-mod.so.
13307 * iconv/tst-gconv-init-failure-mod.c: New file.
13308 * iconv/tst-gconv-init-failure.c: Likewise.
13309 * iconv/test-gconv-modules: Likewise.
13311 2017-08-29 Florian Weimer <fweimer@redhat.com>
13314 * iconv/gconv_db.c (free_derivation): Remove redundant
13316 (gen_steps): Unconditionally mangle __btowc_fct after
13318 (increment_counter): Likewise. Do not call init_fct for internal
13321 2017-08-29 Joseph Myers <joseph@codesourcery.com>
13324 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
13325 (_MSUF_): Remove macro.
13326 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
13328 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
13329 (__REDIRFROM_X): New macro.
13330 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
13332 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
13333 (__REDIRTO_X): Likewise.
13334 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
13336 (__MATH_REDIRCALL_2): Likewise.
13337 (__MATH_REDIRCALL_INTERNAL): Likewise.
13338 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
13339 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
13340 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
13341 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
13342 * math/test-finite-macros.c: New file.
13343 * math/Makefile (tests): Add test-finite-macros.
13344 (CFLAGS-test-finite-macros.c): New variable.
13346 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
13347 Jeff Law <law@redhat.com>
13350 Mangle NULL pointers in iconv/gconv.
13351 * iconv/gconv_cache.c (find_module): Demangle init_fct before
13352 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
13353 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
13354 is non-NULL before demangling the end_fct. Check for NULL
13355 end_fct after demangling.
13356 (__gconv_release_step): Demangle the end_fct before checking
13357 it for NULL. Remove assert on __shlibc_handle != NULL.
13358 (gen_steps): Don't check btowc_fct for NULL before mangling.
13359 Demangle init_fct before checking for NULL.
13360 (increment_counter): Likewise.
13361 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
13362 end_fct for NULL before mangling.
13363 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
13366 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
13369 * locale/iso-639.def: add Morisyen.
13371 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
13374 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
13375 (iszero): New C++ implementation that does not use
13376 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
13377 signaling nans are enabled, since __builtin_types_compatible_p
13378 is a C-only feature.
13379 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
13380 defined, include ieee754_float128.h for access to the union and
13381 member ieee854_float128.ieee.
13382 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
13383 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
13384 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
13385 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
13386 options of test-math-zero on powerpc64le.
13388 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
13390 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
13391 Change double to float.
13393 2017-08-28 Joseph Myers <joseph@codesourcery.com>
13395 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
13397 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
13398 conditional code; define contents only for [LIBM_SVID_COMPAT].
13400 2017-08-28 Florian Weimer <fweimer@redhat.com>
13402 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
13403 (abi-lp64_be-options): Remove.
13404 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
13405 (abi-hard-options): Likewise.
13406 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
13407 (abi-o32_hard-options, abi-o32_soft_2008-options)
13408 (abi-o32_hard_2008-options, abi-n32_soft-options)
13409 (abi-n32_hard-options, abi-n32_soft_2008-options)
13410 (abi-n32_hard_2008-options, abi-n64_soft-options)
13411 (abi-n64_hard-options, abi-n64_soft_2008-options)
13412 (abi-n64_hard_2008-options): Likewise.
13413 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
13414 (abi-64-v1-options, abi-64-v2-options): Likewise.
13415 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
13416 (abi-64-options): Likewise.
13417 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
13418 (abi-64-options): Likewise.
13419 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
13420 (abi-64-options): Likewise.
13421 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
13422 (abi-64-options, abi-x32-options): Likewise.
13424 2017-08-28 Florian Weimer <fweimer@redhat.com>
13426 Store supported list of SYS_* system calls in the source tree.
13427 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
13428 (bits/syscall.h): Generate from list file.
13429 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
13430 [$(subdir) = misc] (tests): Add tst-syscall-list.
13431 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
13432 [$(subdir) = misc] (tst-syscall-list-macros.list)
13433 [$(subdir) = misc] (tst-syscall-list-nr.list)
13434 (tst-syscall-list-sys.list): Helper targets for new
13435 tst-syscall-list test.
13436 [$(subdir) = misc] (tst-syscall-list.out): Run test script
13437 tst-syscall-list.sh.
13438 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
13439 target. Do not include bits/syscall.d.
13440 [$(subdir) = misc] (generated): Do not update.
13441 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
13442 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
13443 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
13444 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
13446 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
13448 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
13449 (tst-cxa_atexit, tst-on_exit): Likewise.
13450 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
13451 tst-cxa_atexit, and tst-on_exit.
13452 * stdlib/tst-atexit-common.c: New file.
13453 * stdlib/tst-atexit.c: New file.
13454 * stdlib/tst-at_quick_exit.c: New file.
13455 * stdlib/tst-cxa_atexit.c: New file.
13456 * stdlib/tst-on_exit.c: New file.
13458 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
13460 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
13461 * mach/stack_chk_fail_local.c: New file.
13462 * hurd/stack_chk_fail_local.c: New file.
13463 * mach/Machrules ($(interface-library)-routines): Add
13464 stack_chk_fail_local.
13465 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
13466 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
13467 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
13468 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
13469 * hurd/Makefile (CFLAGS-hurdstartup.o,
13470 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
13472 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
13474 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
13475 (index_cpu_*, index_arch_*): Removed.
13477 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
13479 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
13480 Use uint64_t instead of unsigned long.
13482 2017-08-25 Joseph Myers <joseph@codesourcery.com>
13484 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
13485 [__HAVE_DISTINCT_FLOAT128].
13487 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
13488 of <bits/math-finite.h>.
13489 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
13490 inclusion of <bits/math-finite.h>.
13491 * math/bits/math-finite.h (__REDIRTO_X): Do not define
13492 conditionally on [__MATH_DECLARING_LDOUBLE && defined
13493 __NO_LONG_DOUBLE_MATH].
13494 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
13495 (__MATH_REDIRCALL_2): Likewise.
13496 (__MATH_REDIRCALL_INTERNAL): Likewise.
13497 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
13498 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
13499 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
13501 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
13503 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
13505 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
13507 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
13509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
13511 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
13513 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
13514 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
13515 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
13516 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
13517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
13518 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
13519 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
13520 w_sqrtf_compat-ppc32.
13522 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
13524 * math/math.h [defined __cplusplus] (issignaling): In the long
13525 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
13526 is not defined. Call __issignaling, otherwise.
13528 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13530 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
13531 syscall definitions and replace __builtin_expect with __glibc_likely.
13532 * sysdeps/unix/syscall-template.S: Update comment about cancellable
13534 (SYSCALL_CANCELLABLE): Removedefinition
13535 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
13537 (PSEUDO_END): Likewise.
13538 [IS_IN (libpthread)] (CENABLE): Likewise.
13539 [IS_IN (libpthread)] (CDISABLE): Likewise.
13540 [IS_IN (libc)] (CENABLE): Likewise.
13541 [IS_IN (libc)] (CENABLE): Likewise.
13542 [IS_IN (librt)] (CDISABLE): Likewise.
13543 [IS_IN (librt)] (CDISABLE): Likewise.
13544 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
13545 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
13547 (PSEUDO_END): Likewise.
13548 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
13549 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
13550 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
13551 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
13552 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
13553 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
13554 (CENABLE): Likewise.
13555 (CDISABLE): Likewise.
13556 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
13557 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
13559 (PSEUDO_END): Likewise.
13560 [IS_IN (libpthread)] (CENABLE): Likewise.
13561 [IS_IN (libpthread)] (CDISABLE): Likewise.
13562 [IS_IN (libc)] (CENABLE): Likewise.
13563 [IS_IN (libc)] (CENABLE): Likewise.
13564 [IS_IN (librt)] (CDISABLE): Likewise.
13565 [IS_IN (librt)] (CDISABLE): Likewise.
13566 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
13567 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
13569 (PSEUDO_END): Likewise.
13570 [IS_IN (libpthread)] (CENABLE): Likewise.
13571 [IS_IN (libpthread)] (CDISABLE): Likewise.
13572 [IS_IN (libc)] (CENABLE): Likewise.
13573 [IS_IN (libc)] (CENABLE): Likewise.
13574 [IS_IN (librt)] (CDISABLE): Likewise.
13575 [IS_IN (librt)] (CDISABLE): Likewise.
13576 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
13577 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
13579 (PSEUDO_END): Likewise.
13580 [IS_IN (libpthread)] (CENABLE): Likewise.
13581 [IS_IN (libpthread)] (CDISABLE): Likewise.
13582 [IS_IN (libc)] (CENABLE): Likewise.
13583 [IS_IN (libc)] (CENABLE): Likewise.
13584 [IS_IN (librt)] (CDISABLE): Likewise.
13585 [IS_IN (librt)] (CDISABLE): Likewise.
13586 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
13587 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
13589 (PSEUDO_END): Likewise.
13590 [IS_IN (libpthread)] (CENABLE): Likewise.
13591 [IS_IN (libpthread)] (CDISABLE): Likewise.
13592 [IS_IN (libc)] (CENABLE): Likewise.
13593 [IS_IN (libc)] (CENABLE): Likewise.
13594 [IS_IN (librt)] (CDISABLE): Likewise.
13595 [IS_IN (librt)] (CDISABLE): Likewise.
13596 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
13597 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
13599 (PSEUDO_END): Likewise.
13600 [IS_IN (libpthread)] (CENABLE): Likewise.
13601 [IS_IN (libpthread)] (CDISABLE): Likewise.
13602 [IS_IN (libc)] (CENABLE): Likewise.
13603 [IS_IN (libc)] (CENABLE): Likewise.
13604 [IS_IN (librt)] (CDISABLE): Likewise.
13605 [IS_IN (librt)] (CDISABLE): Likewise.
13606 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
13607 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
13609 (PSEUDO_END): Likewise.
13610 [IS_IN (libpthread)] (CENABLE): Likewise.
13611 [IS_IN (libpthread)] (CDISABLE): Likewise.
13612 [IS_IN (libc)] (CENABLE): Likewise.
13613 [IS_IN (libc)] (CENABLE): Likewise.
13614 [IS_IN (librt)] (CDISABLE): Likewise.
13615 [IS_IN (librt)] (CDISABLE): Likewise.
13616 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
13617 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
13619 (PSEUDO_END): Likewise.
13620 [IS_IN (libpthread)] (CENABLE): Likewise.
13621 [IS_IN (libpthread)] (CDISABLE): Likewise.
13622 [IS_IN (libc)] (CENABLE): Likewise.
13623 [IS_IN (libc)] (CENABLE): Likewise.
13624 [IS_IN (librt)] (CDISABLE): Likewise.
13625 [IS_IN (librt)] (CDISABLE): Likewise.
13626 (SINGLE_THREAD_P): Likewise.
13627 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
13629 (PSEUDO_END): Likewise.
13630 [IS_IN (libpthread)] (CENABLE): Likewise.
13631 [IS_IN (libpthread)] (CDISABLE): Likewise.
13632 [IS_IN (libc)] (CENABLE): Likewise.
13633 [IS_IN (libc)] (CENABLE): Likewise.
13634 [IS_IN (librt)] (CDISABLE): Likewise.
13635 [IS_IN (librt)] (CDISABLE): Likewise.
13636 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
13637 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
13639 (PSEUDO_END): Likewise.
13640 [IS_IN (libpthread)] (CENABLE): Likewise.
13641 [IS_IN (libpthread)] (CDISABLE): Likewise.
13642 [IS_IN (libc)] (CENABLE): Likewise.
13643 [IS_IN (libc)] (CENABLE): Likewise.
13644 [IS_IN (librt)] (CDISABLE): Likewise.
13645 [IS_IN (librt)] (CDISABLE): Likewise.
13646 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
13647 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
13648 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
13649 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
13650 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
13652 (PSEUDO_END): Likewise.
13653 [IS_IN (libpthread)] (CENABLE): Likewise.
13654 [IS_IN (libpthread)] (CDISABLE): Likewise.
13655 [IS_IN (libc)] (CENABLE): Likewise.
13656 [IS_IN (libc)] (CENABLE): Likewise.
13657 [IS_IN (librt)] (CDISABLE): Likewise.
13658 [IS_IN (librt)] (CDISABLE): Likewise.
13659 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
13660 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
13662 (PSEUDO_END): Likewise.
13663 [IS_IN (libpthread)] (CENABLE): Likewise.
13664 [IS_IN (libpthread)] (CDISABLE): Likewise.
13665 [IS_IN (libc)] (CENABLE): Likewise.
13666 [IS_IN (libc)] (CENABLE): Likewise.
13667 [IS_IN (librt)] (CDISABLE): Likewise.
13668 [IS_IN (librt)] (CDISABLE): Likewise.
13669 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
13670 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
13672 (PSEUDO_END): Likewise.
13673 [IS_IN (libpthread)] (CENABLE): Likewise.
13674 [IS_IN (libpthread)] (CDISABLE): Likewise.
13675 [IS_IN (libc)] (CENABLE): Likewise.
13676 [IS_IN (libc)] (CENABLE): Likewise.
13677 [IS_IN (librt)] (CDISABLE): Likewise.
13678 [IS_IN (librt)] (CDISABLE): Likewise.
13679 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
13680 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
13681 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
13682 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
13683 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
13685 (PSEUDO_END): Likewise.
13686 [IS_IN (libpthread)] (CENABLE): Likewise.
13687 [IS_IN (libpthread)] (CDISABLE): Likewise.
13688 [IS_IN (libc)] (CENABLE): Likewise.
13689 [IS_IN (libc)] (CENABLE): Likewise.
13690 [IS_IN (librt)] (CDISABLE): Likewise.
13691 [IS_IN (librt)] (CDISABLE): Likewise.
13692 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
13693 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
13695 (PSEUDO_END): Likewise.
13696 [IS_IN (libpthread)] (CENABLE): Likewise.
13697 [IS_IN (libpthread)] (CDISABLE): Likewise.
13698 [IS_IN (libc)] (CENABLE): Likewise.
13699 [IS_IN (libc)] (CENABLE): Likewise.
13700 [IS_IN (librt)] (CDISABLE): Likewise.
13701 [IS_IN (librt)] (CDISABLE): Likewise.
13702 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
13704 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
13706 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
13708 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
13710 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13712 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
13715 * string/stratcliff.c (do_test): Declare size, nchars, inner,
13716 middle and outer with size_t instead of int. Repleace %d and
13717 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
13718 "MAX (outer, nchars - 64)" to support unsigned outer and
13719 nchars. Also exit loop when outer == 0.
13721 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13723 * include/fcntl.h (__fcntl_nocancel): Remove definition.
13724 * include/signal.h (__sigsuspend_nocancel): Likewise.
13725 * include/time.h (__nanosleep_nocancel): Likewise.
13726 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
13727 * login/utmp_file.c: Include non cancellable syscall header.
13728 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
13731 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
13733 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
13734 .byte sequences with AVX512F instructions.
13735 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
13736 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
13737 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
13738 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
13740 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
13743 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
13744 Steve Ellcey <sellcey@cavium.com>
13746 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
13747 Use PTR_REG macro in cmp instruction.
13749 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
13751 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
13752 Change the return type of the ifunc resolver to match the return
13753 type of the target function.
13755 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13757 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
13758 (preadv64): Likewise.
13759 (pwrite64(: Likewise.
13760 (pwritev64): Likewise.
13762 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
13763 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
13764 (LOAD_ARGS_0): Likewise.
13765 (LOAD_ARGS_1): Likewise.
13766 (LOAD_ARGS_2): Likewise.
13767 (LOAD_ARGS_3): Likewise.
13768 (LOAD_ARGS_4): Likewise.
13769 (LOAD_ARGS_5): Likewise.
13770 (LOAD_ARGS_6): Likewise.
13771 (LOAD_REGS_0): Likewise.
13772 (LOAD_REGS_1): Likewise.
13773 (LOAD_REGS_2): Likewise.
13774 (LOAD_REGS_3): Likewise.
13775 (LOAD_REGS_4): Likewise.
13776 (LOAD_REGS_5): Likewise.
13777 (LOAD_REGS_6): Likewise.
13778 (ASM_ARGS_0): Likewise.
13779 (ASM_ARGS_1): Likewise.
13780 (ASM_ARGS_2): Likewise.
13781 (ASM_ARGS_3): Likewise.
13782 (ASM_ARGS_4): Likewise.
13783 (ASM_ARGS_5): Likewise.
13784 (ASM_ARGS_6): Likewise.
13785 (LOAD_ARGS_TYPES_1): Likewise.
13786 (LOAD_ARGS_TYPES_2): Likewise.
13787 (LOAD_ARGS_TYPES_3): Likewise.
13788 (LOAD_ARGS_TYPES_4): Likewise.
13789 (LOAD_ARGS_TYPES_5): Likewise.
13790 (LOAD_ARGS_TYPES_6): Likewise.
13791 (LOAD_REGS_TYPES_1): Likewise.
13792 (LOAD_REGS_TYPES_2): Likewise.
13793 (LOAD_REGS_TYPES_3): Likewise.
13794 (LOAD_REGS_TYPES_4): Likewise.
13795 (LOAD_REGS_TYPES_5): Likewise.
13796 (LOAD_REGS_TYPES_6): Likewise.
13797 (TYPEFY): New define.
13798 (ARGIFY): Likewise.
13799 (internal_syscall0): Likewise.
13800 (internal_syscall1): Likewise.
13801 (internal_syscall2): Likewise.
13802 (internal_syscall3): Likewise.
13803 (internal_syscall4): Likewise.
13804 (internal_syscall5): Likewise.
13805 (internal_syscall6): Likewise.
13806 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
13807 (INTERNAL_SYSCALL_NCS): Remove define.
13808 (internal_syscall1): Add define.
13810 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
13812 * math/w_remainder_compat.c: Remove duplicate inclusion of
13813 math-svid-compat.h.
13814 * math/w_remainderf_compat.c: Likewise.
13815 * math/w_remainderl_compat.c: Likewise.
13817 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
13819 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13821 2017-08-22 Joseph Myers <joseph@codesourcery.com>
13824 * math/tgmath.h (__floating_type): Simplify definitions.
13825 (__real_integer_type): New macro.
13826 (__complex_integer_type): Likewise.
13827 (__expr_is_real): Likewise.
13828 (__tgmath_real_type_sub): Update comment to describe handling of
13830 (__tgmath_complex_type_sub): New macro.
13831 (__tgmath_complex_type): Likewise.
13832 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
13833 (__TGMATH_CF128): Use __expr_is_real.
13834 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
13836 (__TGMATH_BINARY_REAL_IMAG): Likewise.
13837 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
13838 * math/gen-tgmath-tests.py (Type.create_type): Create complex
13841 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13843 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
13845 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
13847 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
13850 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
13851 nanosleep_not_cancel with __nanosleep_nocancel.
13852 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
13853 (__nanosleep_nocancel): New macro.
13854 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
13856 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
13858 (__nanosleep_nocancel): New prototype.
13860 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
13861 pause_not_cancel with __pause_nocancel.
13862 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
13863 (__pause_nocancel): New macro.
13864 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
13866 (__pause_nocancel): New prototype.
13867 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
13869 2017-08-22 Martin Sebor <msebor@redhat.com>
13871 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
13872 to return a pointer to the same type as the target function.
13874 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
13878 * include/printf.h (__printf_fphex): Add attribute_hidden.
13879 (__guess_grouping): New prototype.
13880 * stdio-common/printf_fp.c (__guess_grouping): Removed.
13881 * stdio-common/reg-printf.c (__register_printf_specifier): Add
13882 libc_hidden_proto and libc_hidden_def.
13883 * stdlib/strfmon_l.c (__guess_grouping): Removed.
13884 (__vstrfmon_l): Remove the third argument passed to
13887 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
13889 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
13890 definition for issignaling that does not rely on __MATH_TG,
13891 since __MATH_TG uses __builtin_types_compatible_p, which is only
13892 available in C mode.
13893 (CFLAGS-test-math-issignaling.cc): New variable.
13894 * math/Makefile [CXX] (tests): Add test-math-issignaling.
13895 * math/test-math-issignaling.cc: New test for C++ implementation
13896 of type-generic issignaling.
13897 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
13898 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
13899 options of test-math-issignaling on powerpc64le.
13901 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
13903 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
13905 (hidden_proto): Likewise.
13906 (hidden_tls_proto): Likewise.
13907 (__hidden_proto): Likewise.
13909 2017-08-22 Florian Weimer <fweimer@redhat.com>
13911 math: Statically link tests of internal functionality.
13912 * math/Makefile (tests): Remove atest-exp, atest-sincos,
13914 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
13915 (gmp-objs): Remove assignment.
13916 (atest-exp, atest-sincos, atest-exp2): Remove targets.
13918 2017-08-22 Joseph Myers <joseph@codesourcery.com>
13921 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
13923 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
13925 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
13928 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
13929 variable definitions above inclusion of ../Rules.
13931 2017-08-21 Joseph Myers <joseph@codesourcery.com>
13933 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
13934 case calling __builtin_unreachable.
13936 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13938 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
13939 __waitpid_nocancel.
13940 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
13941 (__waitpid_nocancel): New macro.
13942 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
13944 (__waitpid_nocancel): Replace macro with a function.
13945 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
13948 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
13950 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
13951 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
13953 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
13954 __writev_nocancel_nostatus.
13955 (write_call_graph): Likewise.
13956 (write_bb_counts): Likewise.
13957 * resolv/herror.c (herror): Likewise.
13958 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
13960 (__writev_nocancel_nostatus): New macro.
13961 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
13963 (__writev_nocancel_nostatus): New function.
13965 2017-08-21 Joseph Myers <joseph@codesourcery.com>
13968 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
13970 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
13972 (hidden_proto): Likewise.
13973 (hidden_tls_proto): Likewise.
13974 (__hidden_proto): Likewise.
13977 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
13978 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
13979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
13981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
13983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
13985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
13987 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
13988 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
13989 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
13990 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
13991 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
13992 GLIBC_2.0 sqrtl symbol.
13994 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
13995 [__USE_MISC] (_LIB_VERSION): Likewise.
13996 [__USE_MISC] (struct exception): Likewise.
13997 [__USE_MISC] (matherr): Likewise.
13998 [__USE_MISC] (DOMAIN): Likewise.
13999 [__USE_MISC] (SING): Likewise.
14000 [__USE_MISC] (OVERFLOW): Likewise.
14001 [__USE_MISC] (UNDERFLOW): Likewise.
14002 [__USE_MISC] (TLOSS): Likewise.
14003 [__USE_MISC] (PLOSS): Likewise.
14004 [__USE_MISC] (HUGE): Likewise.
14005 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
14006 * math/math-svid-compat.h: New file.
14007 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
14009 * include/math.h [!_ISOMAC] (__matherr): Remove.
14010 * manual/arith.texi (FP Exceptions): Do not document matherr.
14011 * math/Makefile (tests): Change test-matherr to test-matherr-3.
14012 (tests-internal): New variable.
14013 (install-lib): Do not add libieee.a.
14014 (non-lib.a): Likewise.
14015 (extra-objs): Do not add libieee.a and ieee-math.o.
14016 (CPPFLAGS-s_lib_version.c): Remove variable.
14017 ($(objpfx)libieee.a): Remove rule.
14018 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
14019 * math/ieee-math.c: Remove.
14020 * math/libm-test-support.c (matherr): Remove.
14021 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
14022 and license notices. Include <math-svid-compat.h> and
14024 (matherr): Undefine as macro. Use compat_symbol_reference.
14025 (_LIB_VERSION): Likewise.
14026 * math/test-matherr-2.c: New file.
14027 * math/test-matherr-3.c: Likewise.
14028 * sysdeps/generic/math_private.h (__kernel_standard): Remove
14030 (__kernel_standard_f): Likewise.
14031 (__kernel_standard_l): Likewise.
14032 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
14033 <math_private.h>. Include <math-svid-compat.h>.
14034 (_LIB_VERSION): Undefine as macro.
14035 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
14036 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
14037 [LIBM_SVID_COMPAT], use compat_symbol.
14038 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
14039 <math_private.h>. Include <math-svid-compat.h>.
14040 (matherr): Undefine as macro.
14041 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
14043 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
14044 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
14045 compat_symbol_reference.
14046 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
14047 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
14048 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
14049 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
14050 (MATHERR_D): Remove declaration.
14051 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
14052 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
14053 [LIBM_BUILD] (pmatherrf): Likewise.
14054 [LIBM_BUILD] (pmatherr): Likewise.
14055 [LIBM_BUILD] (pmatherrl): Likewise.
14056 (DOMAIN): Likewise.
14058 (OVERFLOW): Likewise.
14059 (UNDERFLOW): Likewise.
14062 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
14063 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
14065 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
14066 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
14068 * math/lgamma-compat.h: Include <math-svid-compat.h>.
14069 * math/w_acos_compat.c: Likewise.
14070 * math/w_acosf_compat.c: Likewise.
14071 * math/w_acosh_compat.c: Likewise.
14072 * math/w_acoshf_compat.c: Likewise.
14073 * math/w_acoshl_compat.c: Likewise.
14074 * math/w_acosl_compat.c: Likewise.
14075 * math/w_asin_compat.c: Likewise.
14076 * math/w_asinf_compat.c: Likewise.
14077 * math/w_asinl_compat.c: Likewise.
14078 * math/w_atan2_compat.c: Likewise.
14079 * math/w_atan2f_compat.c: Likewise.
14080 * math/w_atan2l_compat.c: Likewise.
14081 * math/w_atanh_compat.c: Likewise.
14082 * math/w_atanhf_compat.c: Likewise.
14083 * math/w_atanhl_compat.c: Likewise.
14084 * math/w_cosh_compat.c: Likewise.
14085 * math/w_coshf_compat.c: Likewise.
14086 * math/w_coshl_compat.c: Likewise.
14087 * math/w_exp10_compat.c: Likewise.
14088 * math/w_exp10f_compat.c: Likewise.
14089 * math/w_exp10l_compat.c: Likewise.
14090 * math/w_exp2_compat.c: Likewise.
14091 * math/w_exp2f_compat.c: Likewise.
14092 * math/w_exp2l_compat.c: Likewise.
14093 * math/w_fmod_compat.c: Likewise.
14094 * math/w_fmodf_compat.c: Likewise.
14095 * math/w_fmodl_compat.c: Likewise.
14096 * math/w_hypot_compat.c: Likewise.
14097 * math/w_hypotf_compat.c: Likewise.
14098 * math/w_hypotl_compat.c: Likewise.
14099 * math/w_j0_compat.c: Likewise.
14100 * math/w_j0f_compat.c: Likewise.
14101 * math/w_j0l_compat.c: Likewise.
14102 * math/w_j1_compat.c: Likewise.
14103 * math/w_j1f_compat.c: Likewise.
14104 * math/w_j1l_compat.c: Likewise.
14105 * math/w_jn_compat.c: Likewise.
14106 * math/w_jnf_compat.c: Likewise.
14107 * math/w_jnl_compat.c: Likewise.
14108 * math/w_lgamma_main.c: Likewise.
14109 * math/w_lgamma_r_compat.c: Likewise.
14110 * math/w_lgammaf_main.c: Likewise.
14111 * math/w_lgammaf_r_compat.c: Likewise.
14112 * math/w_lgammal_main.c: Likewise.
14113 * math/w_lgammal_r_compat.c: Likewise.
14114 * math/w_log10_compat.c: Likewise.
14115 * math/w_log10f_compat.c: Likewise.
14116 * math/w_log10l_compat.c: Likewise.
14117 * math/w_log2_compat.c: Likewise.
14118 * math/w_log2f_compat.c: Likewise.
14119 * math/w_log2l_compat.c: Likewise.
14120 * math/w_log_compat.c: Likewise.
14121 * math/w_logf_compat.c: Likewise.
14122 * math/w_logl_compat.c: Likewise.
14123 * math/w_pow_compat.c: Likewise.
14124 * math/w_powf_compat.c: Likewise.
14125 * math/w_powl_compat.c: Likewise.
14126 * math/w_remainder_compat.c: Likewise.
14127 * math/w_remainderf_compat.c: Likewise.
14128 * math/w_remainderl_compat.c: Likewise.
14129 * math/w_scalb_compat.c: Likewise.
14130 * math/w_scalbf_compat.c: Likewise.
14131 * math/w_scalbl_compat.c: Likewise.
14132 * math/w_sinh_compat.c: Likewise.
14133 * math/w_sinhf_compat.c: Likewise.
14134 * math/w_sinhl_compat.c: Likewise.
14135 * math/w_sqrt_compat.c: Likewise.
14136 * math/w_sqrtf_compat.c: Likewise.
14137 * math/w_sqrtl_compat.c: Likewise.
14138 * math/w_tgamma_compat.c: Likewise.
14139 * math/w_tgammaf_compat.c: Likewise.
14140 * math/w_tgammal_compat.c: Likewise.
14141 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
14142 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
14143 * sysdeps/ieee754/k_standard.c: Likewise.
14144 * sysdeps/ieee754/k_standardf.c: Likewise.
14145 * sysdeps/ieee754/k_standardl.c: Likewise.
14146 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
14147 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
14148 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
14149 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
14150 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
14151 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
14152 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
14153 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
14154 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
14155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
14157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
14159 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
14160 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
14161 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
14162 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
14164 2017-08-21 Florian Weimer <fweimer@redhat.com>
14167 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
14168 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
14169 Move before inclusion of ../Rules.
14171 2017-08-21 Florian Weimer <fweimer@redhat.com>
14174 * assert/assert.h (assert): Use static_cast (bool) for C++.
14175 Use the ternary operator in the warning branch for GNU C.
14176 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
14177 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
14178 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
14179 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
14180 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
14182 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
14185 * sysdeps/unix/sysv/linux/x86_64/init-first.c
14186 (__syscall_clock_gettime): Add attribute_hidden.
14187 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
14188 (__start_context): Likewise.
14190 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
14192 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
14194 (hidden_proto): Likewise.
14195 (hidden_tls_proto): Likewise.
14196 (__hidden_proto): Likewise.
14198 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
14200 * include/libc-symbols.h (attribute_hidden): Enable hidden
14201 visibility in libc.a compiled with PIE.
14203 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
14206 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
14207 Add attribute_hidden.
14209 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
14212 * Makerules (all-nonlib): Add $(others-extras).
14213 * catgets/Makefile (others-extras): New.
14214 * elf/Makefile (others-extras): Likewise.
14215 * nss/Makefile (others-extras): Likewise.
14217 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
14220 * csu/libc-start.c (__libc_multiple_libcs): Removed.
14221 * elf/dl-open.c: Include <libc-internal.h>.
14222 (__libc_multiple_libcs): Removed.
14223 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
14225 * include/libc-internal.h (__libc_multiple_libcs): New.
14226 * misc/sbrk.c: Include <libc-internal.h>.
14227 (__libc_multiple_libcs): Removed.
14229 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
14232 * grp/initgroups.c (__nss_group_database): Removed.
14233 (__nss_initgroups_database): Likewise.
14234 * nscd/gai.c (__nss_hosts_database): Likewise.
14235 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
14236 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
14237 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
14238 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
14239 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
14240 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
14242 * nss/nsswitch.c (__nss_database_custom): Define only if
14243 USE_NSCD is defined.
14244 (__nss_configure_lookup): Use __nss_database_custom only if
14245 USE_NSCD is defined.
14246 * nss/nsswitch.h (__nss_database_custom): Declare only if
14247 USE_NSCD is defined. Add attribute_hidden.
14248 (__nss_setent): Add attribute_hidden.
14249 (__nss_endent): Likewise.
14250 (__nss_getent_r): Likewise.
14251 (__nss_getent): Likewise.
14252 (DEFINE_DATABASE): Declare __nss_##arg##_database.
14254 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
14257 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
14258 libc_hidden_proto and libc_hidden_def.
14260 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
14263 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
14264 Add libc_hidden_proto.
14265 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
14266 Add libc_hidden_def.
14268 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
14271 * gmon/Makefile (routines): Remove bb_init_func and
14273 (elide-routines.os): Removed.
14274 * gmon/bb_exit_func.c: Likewise.
14275 * gmon/bb_init_func.c: Likewise.
14276 * include/sys/gmon.h (__bb): Likewise.
14277 (__bb_init_func): Likewise.
14278 (__bb_exit_func): Likewise.
14279 * sysdeps/alpha/bb_init_func.S: Likewise.
14281 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
14283 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
14284 * include/setjmp.h (____longjmp_chk): Here. Add
14287 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
14290 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
14292 (__strspn_sse2): Likewise.
14294 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14296 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
14297 (close_not_cancel_no_status): Likewise.
14298 (__close_nocancel): New macro.
14299 (__close_nocancel_nostatus): Likewise.
14300 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
14302 (close_not_cancel): Likewise.
14303 (close_not_cancel_no_status): Likewise.
14304 (__close_nocancel): New prototype.
14305 (__close_nocancel_nostatus): New function.
14306 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
14307 * catgets/open_catalog.c (__open_catalog): Replace
14308 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
14309 * gmon/gmon.c (write_gmon): Likewise.
14310 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
14311 * intl/loadmsgcat.c (close): Likewise.
14312 * io/ftw.c (open_dir_stream): Likewise.
14313 (ftw_startup): Likewise.
14314 * libio/fileops.c (_IO_file_open): Likewise.
14315 (_IO_file_close_mmap): Likewise.
14316 (_IO_file_close): Likewise.
14317 * libio/iopopen.c (_IO_dup2): Likewise.
14318 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
14319 * locale/loadlocale.c (_nl_load_locale): Likewise.
14320 * login/utmp_file.c (pututline_file): Likewise.
14321 (endutent_file): Likewise.
14322 * misc/daemon.c (daemon): Likewise.
14323 * nscd/nscd_getai.c (__nscd_getai): Likewise.
14324 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
14325 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
14326 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
14327 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
14328 * nscd/nscd_helper.c (open_socket): Likewise.
14329 (__nscd_open_socket): Likewise.
14330 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
14331 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
14332 (__nscd_innetgr): Likewise.
14333 * nss/nss_db/db-open.c (internal_setent): Likewise.
14334 * resolv/res-close.c (__res_iclose): Likewise.
14335 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
14336 * sysdeps/posix/closedir.c (__closedir): Likewise.
14337 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
14338 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
14339 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
14340 (opendir_tail): Likewise.
14341 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
14342 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
14343 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
14344 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
14345 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
14346 (gethostid): Likewise.
14347 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
14348 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14350 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
14351 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
14352 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
14353 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
14355 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
14356 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
14357 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
14359 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
14360 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
14362 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
14364 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
14365 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
14366 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
14369 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
14370 (openat_not_cancel_3): Likewise.
14371 (openat64_not_cancel_3): Likewise).
14372 (openat_not_cancel_3): Likewise).
14373 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
14375 (openat_not_cancel_3): Likewise.
14376 (openat64_not_cancel): Likewise.
14377 (openat64_not_cancel_3): Likewise.
14378 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
14379 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
14380 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
14381 __open{64}_nocancel.
14382 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
14383 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
14384 * sysdeps/posix/opendir.c (__opendirat): Likewise.
14386 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
14389 * include/argz.h (__argz_create_sep): New function prototype.
14390 (__argz_append): Likewise.
14391 (__argz_add): Likewise.
14392 (__argz_add_sep): Likewise.
14393 (__argz_delete): Likewise.
14394 (__argz_insert): Likewise.
14395 (__argz_replace): Likewise.
14396 * string/argz.h (__argz_create_sep): Removed.
14397 (__argz_append): Likewise.
14398 (__argz_add): Likewise.
14399 (__argz_add_sep): Likewise.
14400 (__argz_delete): Likewise.
14401 (__argz_insert): Likewise.
14402 (__argz_replace): Likewise.
14404 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
14406 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
14407 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
14408 (GNU_PROPERTY_STACK_SIZE): Likewie.
14409 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
14410 (GNU_PROPERTY_LOPROC): Likewise.
14411 (GNU_PROPERTY_HIPROC): Likewise.
14412 (GNU_PROPERTY_LOUSER): Likewise.
14413 (GNU_PROPERTY_HIUSER): Likewise.
14414 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
14415 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
14416 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
14417 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
14418 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
14419 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
14420 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
14421 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
14422 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
14423 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
14424 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
14425 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
14426 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
14427 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
14428 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
14429 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
14430 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
14431 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
14432 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
14433 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
14434 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
14435 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
14436 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
14438 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
14440 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
14443 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
14446 * math/math.h (isinf): Check if in C or C++ mode before using
14447 __builtin_types_compatible_p, since this is a C mode feature.
14449 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14451 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
14452 (__write_nocancel): New macro.
14453 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
14454 Rewrite as a function prototype.
14455 (write_not_cancel): Remove macro.
14456 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
14457 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
14458 (write_gmon): Likewise.
14459 * libio/fileops.c (_IO_new_file_write): Likewise.
14460 * login/utmp_file.c (pututline_file): Likewise.
14461 (updwtmp_file): Likewise.
14462 * stdio-common/psiginfo.c (psiginfo): Likewise.
14463 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
14464 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
14465 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
14467 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
14470 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
14471 (__read_nocancel): New macro.
14472 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
14474 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
14476 (__read_nocancel): New prototype.
14477 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
14478 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
14479 with __read_nocancel.
14480 * intl/loadmsgcat.c (read): Likewise.
14481 * libio/fileops.c (_IO_file_read): Likewise.
14482 * locale/loadlocale.c (_nl_load_locale): Likewise.
14483 * login/utmp_file.c (getutent_r_file): Likewise.
14484 (internal_getut_r): Likewise.
14485 (getutline_r_file): Likewise.
14486 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
14487 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
14488 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
14489 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14491 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
14492 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
14493 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
14495 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
14497 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
14499 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
14501 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
14503 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
14506 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
14507 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
14510 2017-08-17 DJ Delorie <dj@redhat.com>
14512 * bug17079.c: Update to new test harness.
14513 * test-digits-dots.c: Likewise.
14514 * test-netdb.c: Likewise.
14515 * tst-field.c: Likewise.
14516 * tst-nss-getpwent.c: Likewise.
14517 * tst-nss-static.c: Likewise.
14518 * tst-nss-test1.c: Likewise.
14519 * tst-nss-test2.c: Likewise.
14520 * tst-nss-test3.c: Likewise.
14521 * tst-nss-test4.c: Likewise.
14522 * tst-nss-test5.c: Likewise.
14524 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14526 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
14527 (open_not_cancel_2): Likewise.
14528 (open_nocancel): New macro.
14529 (open64_nocancel): Likewise.
14530 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
14531 (open_not_cancel_2): Likewise.
14532 (__open_nocancel): New prototype.
14533 (__open64_nocancel): Likewise.
14534 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
14536 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
14537 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
14538 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
14539 with __open_nocancel.
14540 * csu/check_fds.c (check_one_fd): Likewise.
14541 * gmon/gmon.c (write_gmon): Likewise.
14542 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
14543 * intl/loadmsgcat.c (open): Likewise.
14544 * libio/fileops.c (_IO_file_open): Likewise.
14545 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
14546 * locale/loadlocale.c (_nl_load_locale): Likewise.
14547 * login/utmp_file.c (setutent_file): Likewise.
14548 * misc/daemon.c (daemon): Likewise.
14549 * nss/nss_db/db-open.c (internal_setent): Likewise.
14550 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
14551 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
14552 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
14553 (__opendir): Likewise.
14554 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
14555 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
14556 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
14557 (gethostid): Likewise.
14558 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
14559 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14561 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
14562 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
14563 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
14564 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
14566 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
14568 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
14570 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
14572 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
14574 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
14576 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
14577 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
14579 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
14581 * benchtests/bench-skeleton.c (main): Add support for
14582 latency benchmarking.
14583 * benchtests/scripts/bench.py: Add support for latency benchmarking.
14585 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
14587 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
14588 the startup object.
14590 2017-08-17 Florian Weimer <fweimer@redhat.com>
14592 * include/sys/socket.h (__opensock): Remove internal_function.
14593 * socket/opensock.c (__opensock): Likewise.
14594 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
14596 2017-08-16 Joseph Myers <joseph@codesourcery.com>
14599 * signal/bits/types/__sigval_t.h: New file.
14600 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
14601 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
14602 and define sigval_t using __sigval_t.
14603 * include/bits/types/__sigval_t.h: New file.
14604 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
14605 instead of <bits/types/__sigval_t.h>.
14606 (struct sigevent): Use __sigval_t instead of sigval_t.
14607 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
14608 instead of <bits/types/__sigval_t.h>.
14609 (siginfo_t): Use __sigval_t instead of sigval_t.
14610 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
14611 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
14612 (struct sigevent): Use __sigval_t instead of sigval_t.
14613 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
14614 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
14615 (siginfo_t): Use __sigval_t instead of sigval_t.
14616 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
14618 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
14620 * NEWS: Remove "[Add new features here]" for 2.27.
14622 2017-08-16 Joseph Myers <joseph@codesourcery.com>
14624 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
14627 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
14629 * NEWS: Mention x86-64 FMA optimization.
14631 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
14634 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
14636 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
14637 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
14638 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
14640 2017-08-16 Andreas Schwab <schwab@suse.de>
14644 * elf/ldd.bash.in: Never run file directly.
14646 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
14649 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
14650 (L(SP_INF_0)): Likewise.
14652 2017-08-15 Florian Weimer <fweimer@redhat.com>
14654 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
14657 2017-08-15 Florian Weimer <fweimer@redhat.com>
14659 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
14660 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
14661 BROKEN_THREAD_SIGNALS code.
14662 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
14663 request_list): Remove caller_pid member used for
14664 BROKEN_THREAD_SIGNALS.
14665 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
14666 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
14667 Remove BROKEN_THREAD_SIGNALS support.
14668 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
14669 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
14671 2017-08-15 Florian Weimer <fweimer@redhat.com>
14673 * gmon/Makefile (tests): Add tst-gmon.
14674 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
14676 (tests-special): Add tst-gmon-prof.out.
14677 (tst-gmon.out): Depend on clean-tst-gmon-data.
14678 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
14679 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
14680 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
14682 * aclocal.m4 (GPROF): Set and substitute.
14683 * config.amke.in (GPROF): Set.
14684 * configure: Regenerate.
14686 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
14688 * elf/elf.h A (NT_PPC_TAR): New macro.
14689 (NT_PPC_PPR): Likewise.
14690 (NT_PPC_DSCR): Likewise.
14691 (NT_PPC_EBB): Likewise.
14692 (NT_PPC_PMU): Likewise.
14693 (NT_PPC_TM_CGPR): Likewise.
14694 (NT_PPC_TM_CFPR): Likewise.
14695 (NT_PPC_TM_CVMX): Likewise.
14696 (NT_PPC_TM_CVSX): Likewise.
14697 (NT_PPC_TM_SPR): Likewise.
14698 (NT_PPC_TM_CTAR): Likewise.
14699 (NT_PPC_TM_CPPR): Likewise.
14700 (NT_PPC_TM_CDSCR): Likewise.
14702 2017-08-15 Florian Weimer <fweimer@redhat.com>
14704 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
14705 regparm (2) instead of internal_function.
14706 (_MCOUNT_DECL): Adjust.
14708 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
14710 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
14711 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
14713 2017-08-14 Joseph Myers <joseph@codesourcery.com>
14715 * conform/data/sys/wait.h-data (si_value): Do not expect for
14718 2017-08-14 Florian Weimer <fweimer@redhat.com>
14721 NSS: Create stubs for accidentally exported lookup functions.
14722 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
14723 Remove declaration.
14724 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
14725 (ether_hostton): Call __nss_ethers_lookup2 instead.
14726 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
14727 (ether_ntohost): Call __nss_ethers_lookup2 instead.
14728 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
14729 (setup): Call __nss_netgroup_lookup2 instead.
14730 * nss/Makefile (routines): Add compat-lookup.
14731 * nss/Versions (GLIBC_2.27): Add symbol version.
14732 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
14733 (DB_COMPAT_FCT): Remove.
14734 * nss/compat-lookup.c: New file.
14735 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
14736 from databases.def.
14737 * nss/service-lookup.c (NO_COMPAT): Remove definition.
14738 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
14739 (netname2user): Call __nss_publickey_lookup2 instead.
14740 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
14741 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
14744 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14745 Sergei Trofimovich <slyfox@inbox.ru>
14748 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
14749 Rename to MMAP2_PAGE_UNIT.
14750 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
14751 __OFF_T_MATCHES_OFF64_T is not defined.
14752 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
14754 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
14755 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
14757 2017-08-14 Florian Weimer <fweimer@redhat.com>
14759 i386: Do not set internal_function.
14760 * config.h.in (USE_REGPARMS, internal_function): Remove.
14761 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
14762 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
14764 2017-08-14 Florian Weimer <fweimer@redhat.com>
14766 * elf/dl-init.c (_dl_init): Remove internal_function.
14767 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
14768 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
14770 2017-08-14 Florian Weimer <fweimer@redhat.com>
14772 * elf/rtld.c (_dl_start): Remove internal_function.
14773 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
14776 2017-08-14 Florian Weimer <fweimer@redhat.com>
14778 * elf/dl-fini.c (_dl_fini): Remove internal_function
14779 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
14781 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
14783 * sysdeps/x86/cpu-features.h (bit_cpu_BIT): New.
14784 (bit_cpu_SHSTK): Likewise.
14785 (index_cpu_IBT): Likewise.
14786 (index_cpu_SHSTK): Likewise.
14787 (reg_IBT): Likewise.
14788 (reg_SHSTK): Likewise.
14789 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
14790 Handle index_cpu_IBT and index_cpu_SHSTK.
14792 2017-08-14 Mike FABIAN <mfabian@redhat.com>
14795 * po/fr.po: Fix spelling mistake.
14797 2017-08-13 Florian Weimer <fweimer@redhat.com>
14799 * elf/dl-addr.c (_dl_addr): Remove internal_function.
14800 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
14801 (_dl_catch_error, _dl_receive_error): Likewise.
14802 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
14803 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
14804 (_dl_deallocate_tls): Likewise.
14805 * include/dlfcn.h (_dl_addr): Likewise.
14806 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
14807 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
14808 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
14811 2017-08-13 Florian Weimer <fweimer@redhat.com>
14813 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
14814 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
14816 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
14818 2017-08-13 Florian Weimer <fweimer@redhat.com>
14820 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
14822 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
14823 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
14824 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
14825 internal_function from _dl_make_stack_executable_hook member.
14826 (_dl_make_stack_executable): Remove internal_function.
14827 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
14829 * sysdeps/unix/sysv/linux/dl-execstack.c
14830 (_dl_make_stack_executable): Likewise.
14832 2017-08-13 Florian Weimer <fweimer@redhat.com>
14834 * sysdeps/unix/sysv/linux/netlinkaccess.h
14835 (__netlink_assert_response): Remove internal_function.
14836 * sysdeps/unix/sysv/linux/netlink_assert_response.c
14837 (__netlink_assert_response): Likewise.
14839 2017-08-13 Florian Weimer <fweimer@redhat.com>
14841 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
14843 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
14845 2017-08-13 Florian Weimer <fweimer@redhat.com>
14847 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
14849 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
14850 * inet/netgroup.h (__internal_setnetgrent)
14851 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
14852 * inet/getnetgrent_r.c (__internal_setnetgrent)
14853 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
14854 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
14855 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
14856 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
14857 * nss/nsswitch.h (db_lookup_function): Likewise.
14859 2017-08-13 Florian Weimer <fweimer@redhat.com>
14861 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
14862 Remove internal_function.
14863 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
14864 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
14865 message argument on the stack.
14866 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
14869 2017-08-12 Mike FABIAN <mfabian@redhat.com>
14871 Adapt test case data to the changes in the thousands
14875 * localedata/tst-langinfo.sh: Adapt test case data.
14876 * stdlib/tst-strfmon_l.c: Likewise.
14877 * stdlib/tst-strtod4.c: Likewise.
14878 * stdlib/tst-strtod5i.c: Likewise.
14880 2017-08-11 Florian Weimer <fweimer@redhat.com>
14883 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
14884 Suppress pedantic warning resulting from statement expression.
14885 (__ASSERT_FUNCTION): Add missing __extension__.
14887 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
14889 * benchtests/bench-memmove-large.c: Print output in JSON
14891 * benchtests/bench-memmove.c: Likewise.
14893 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
14894 * benchtests/bench-memchr.c (do_one_test): Likewise.
14895 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
14896 * benchtests/bench-memcpy.c (do_one_test): Likewise.
14897 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
14898 * benchtests/bench-memmove.c (do_one_test): Likewise.
14899 * benchtests/bench-memset-large.c (do_one_test): Likewise.
14900 * benchtests/bench-memset.c (do_one_test): Likewise.
14901 * benchtests/bench-string.h (test_init): Remove memsets.
14903 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
14906 (Computing the Width of an Integer Data Type): Rename section to
14907 "Width of an Integer Type". Remove inaccurate statement regarding
14908 lack of C language facilities for determining width of integer
14909 types, and reorder content to improve flow and context of
14912 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
14914 * lang.texi (va_copy): Change standard from ISO to C99.
14915 (__va_copy): Add standard and header annotation.
14916 Update description for clarity of origins and current use.
14918 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
14921 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
14922 xssqrtqp requires operands to be in Vector Registers
14923 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
14924 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
14925 (__ieee754_sqrtf128): Likewise.
14927 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
14929 * sysdeps/aarch64/memcmp.S (memcmp):
14930 Rewrite of optimized memcmp.
14932 2017-08-10 Florian Weimer <fweimer@redhat.com>
14934 Introduce ld.so exceptions.
14935 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
14936 (_dl_exception_create, _dl_exception_create_format)
14937 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
14938 (_dl_catch_exception): Declare.
14939 (_dl_catch_error): Update comment.
14940 * elf/dl-error-skeleton.c (struct catch): Replace objname,
14941 errstring, malloced members with exception member.
14942 (_dl_out_of_memory): Remove.
14943 (fatal_error): New function, extracted from _dl_signal_error.
14944 (_dl_signal_exception, _dl_signal_cexception): New functions.
14945 (_dl_signal_error): Call _dl_exception_create to allocate an
14947 (_dl_catch_exception): New function, based on _dl_catch_error.
14948 (_dl_catch_error): Implement using _dl_catch_exception.
14949 * elf/dl-exception.c: New file.
14950 * elf/Makefile (dl-routines): Add dl-exception.
14951 (elide-routines.os): Likewise.
14952 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
14953 _dl_exception_create_format, _dl_exception_free.
14954 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
14955 _dl_signal_exception.
14956 * elf/dl-lookup.c (make_string): Remove.
14957 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
14958 _dl_signal_cexception, _dl_exception_free.
14959 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
14960 _dl_signal_exception.
14961 * elf/dl-sym.c (do_sym): Likewise.
14962 * elf/dl-version.c (make_string): Remove.
14963 (match_symbol): Use _dl_exception_create_format,
14964 _dl_signal_cexception, _dl_exception_free.
14965 (_dl_check_map_versions): Likewise.
14966 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
14967 _dl_catch_exception.
14968 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
14969 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
14970 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
14971 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
14972 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
14973 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
14974 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
14975 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
14977 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
14978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
14980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
14982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
14984 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
14985 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
14986 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
14988 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
14990 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
14992 2017-08-10 Florian Weimer <fweimer@redhat.com>
14994 * inet/net-internal.h (__inet6_scopeid_pton): Remove
14995 attribute_hidden, internal_function.
14996 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
14999 2017-08-10 Florian Weimer <fweimer@redhat.com>
15001 * malloc/malloc.c (get_max_fast): Reimplement as an inline
15002 function which calls __builtin_unreachable.
15004 2017-08-10 Mike FABIAN <mfabian@redhat.com>
15006 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
15007 Indian monetary formatting
15008 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
15011 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
15013 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
15014 Fix typo in comment.
15017 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
15018 PTRACE_SEIZE_DEVEL): Remove.
15019 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
15020 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
15021 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15022 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15023 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15025 2017-08-09 Joseph Myers <joseph@codesourcery.com>
15027 * posix/bits/types.h (__qaddr_t): Remove.
15030 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
15031 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
15033 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
15034 (ucontext_t): Use __ctx with uc_flags.
15035 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
15036 (__ctxt): Likewise.
15037 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
15039 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
15040 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
15042 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
15043 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
15045 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
15047 (ucontext_t): Use __ctx with uc_flags.
15048 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
15049 (ucontext_t): Use __ctx with uc_flags.
15050 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
15051 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
15052 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
15053 (ucontext_t): Use __ctx with uc_flags.
15054 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
15055 undefine further down.
15056 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
15058 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
15059 undefine further down.
15060 (ucontext_t): Use __ctx with uc_flags.
15061 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
15062 undefine further down.
15063 (ucontext_t): Use __ctx with uc_flags.
15064 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
15065 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
15066 Rename uc_pad to __glibc_reserved1.
15067 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
15068 undefine further down.
15069 (ucontext_t): Use __ctx with uc_flags.
15070 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
15072 (ucontext_t): Use __ctx with uc_flags.
15073 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
15074 __ctx with uc_flags.
15075 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
15076 (ucontext_t): Use __ctx with uc_flags.
15077 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
15078 __ctx with uc_flags.
15080 2017-08-09 Florian Weimer <fweimer@redhat.com>
15083 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
15084 before early return.
15086 2017-08-09 Andreas Schwab <schwab@suse.de>
15089 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
15093 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
15094 tst-compat-forwarder.
15095 (modules-names): Add tst-compat-forwarder-mod.
15096 ($(objpfx)tst-compat-forwarder): Depend on
15097 $(objpfx)tst-compat-forwarder-mod.so.
15098 * nptl/tst-compat-forwarder.c: New file.
15099 * nptl/tst-compat-forwarder-mod.c: New file.
15101 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
15103 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
15106 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
15107 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
15109 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
15111 (__libc_ifunc_impl_list): Add __memcpy_falkor.
15112 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
15113 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
15114 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
15116 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
15119 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15122 * manual/setjmp.texi (getcontex): Document uc_stack value
15123 compatibility differences.
15125 2017-08-08 Joseph Myers <joseph@codesourcery.com>
15127 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
15128 (old_malloc_hook): Likewise.
15129 (old_memalign_hook): Likewise.
15130 (old_realloc_hook): Likewise.
15131 (struct hdr): Likewise.
15133 (freehook): Likewise.
15134 (mallochook): Likewise.
15135 (memalignhook): Likewise.
15136 (reallochook): Likewise.
15137 (mprobe): Likewise.
15138 * malloc/mtrace.c (mallwatch): Likewise.
15139 (tr_old_free_hook): Likewise.
15140 (tr_old_malloc_hook): Likewise.
15141 (tr_old_realloc_hook): Likewise.
15142 (tr_old_memalign_hook): Likewise.
15143 (tr_where): Likewise.
15144 (lock_and_info): Likewise.
15145 (tr_freehook): Likewise.
15146 (tr_mallochook): Likewise.
15147 (tr_reallochook): Likewise.
15148 (tr_memalignhook): Likewise.
15149 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
15150 * misc/mmap.c (__mmap): Likewise.
15151 * misc/mmap64.c (__mmap64): Likewise.
15152 * misc/mprotect.c (__mprotect): Likewise.
15153 * misc/msync.c (msync): Likewise.
15154 * misc/munmap.c (__munmap): Likewise.
15155 * posix/posix_madvise.c (posix_madvise): Likewise.
15156 * socket/send.c (__send): Likewise.
15157 * socket/sendto.c (__sendto): Likewise.
15158 * socket/setsockopt.c (__setsockopt): Likewise.
15159 * string/memcmp.c (__ptr_t): Remove macro.
15160 (MEMCMP): Use void * instead of ptr_t.
15161 * string/memrchr.c (__ptr_t): Remove macro.
15162 (__memrchr): Use void * instead of ptr_t.
15163 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
15164 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
15165 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
15166 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
15167 * sysdeps/mach/msync.c (msync): Likewise.
15168 * sysdeps/mach/munmap.c (__munmap): Likewise.
15169 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
15171 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
15172 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
15173 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
15174 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
15175 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
15176 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
15177 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
15178 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
15180 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
15181 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
15182 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
15183 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
15184 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
15185 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
15186 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
15187 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
15188 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
15190 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
15191 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
15192 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
15193 (MEMCMP): Use void * instead of ptr_t.
15194 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
15195 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
15197 2017-08-08 Florian Weimer <fweimer@redhat.com>
15199 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
15202 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
15205 * csu/libc-tls.c: Include <startup.h> first.
15206 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
15207 * elf/dl-tunables.c: Include <startup.h> first.
15208 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
15209 * sysdeps/generic/startup.h: New file.
15210 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
15211 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
15212 (I386_USE_SYSENTER): New. Defined to 0.
15214 2017-08-08 Andreas Schwab <schwab@suse.de>
15217 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
15218 * nptl/pt-system.c (system): Likewise.
15220 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15223 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
15225 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
15226 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
15227 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
15228 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
15229 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
15230 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
15231 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
15233 2017-08-07 Joseph Myers <joseph@codesourcery.com>
15236 * bits/sigaction.h (struct sigaction): Define sa_handler and
15237 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
15238 (SA_ONSTACK): Change [__USE_UNIX98] condition to
15239 [__USE_XOPEN_EXTENDED].
15240 (SA_RESTART): Likewise.
15241 (SA_NODEFER): Likewise.
15242 (SA_RESETHAND): Likewise.
15243 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
15244 (struct sigaction): Define sa_handler and sa_sigaction using union
15245 also for [__USE_XOPEN_EXTENDED].
15246 (SA_ONSTACK): Change [__USE_UNIX98] condition to
15247 [__USE_XOPEN_EXTENDED].
15248 (SA_RESTART): Likewise.
15249 (SA_NODEFER): Likewise.
15250 (SA_RESETHAND): Likewise.
15251 * sysdeps/unix/sysv/linux/bits/sigaction.h
15252 (struct sigaction): Define sa_handler and sa_sigaction using union
15253 also for [__USE_XOPEN_EXTENDED].
15254 (SA_ONSTACK): Change [__USE_UNIX98] condition to
15255 [__USE_XOPEN_EXTENDED].
15256 (SA_RESTART): Likewise.
15257 (SA_NODEFER): Likewise.
15258 (SA_RESETHAND): Likewise.
15259 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
15260 (struct sigaction): Define sa_handler and sa_sigaction using union
15261 also for [__USE_XOPEN_EXTENDED].
15262 (SA_ONSTACK): Change [__USE_UNIX98] condition to
15263 [__USE_XOPEN_EXTENDED].
15264 (SA_RESTART): Likewise.
15265 (SA_NODEFER): Likewise.
15266 (SA_RESETHAND): Likewise.
15267 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
15268 (struct sigaction): Define sa_handler and sa_sigaction using union
15269 also for [__USE_XOPEN_EXTENDED].
15270 (SA_ONSTACK): Change [__USE_UNIX98] condition to
15271 [__USE_XOPEN_EXTENDED].
15272 (SA_RESTART): Likewise.
15273 (SA_NODEFER): Likewise.
15274 (SA_RESETHAND): Likewise.
15275 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
15276 (struct sigaction): Define sa_handler and sa_sigaction using union
15277 also for [__USE_XOPEN_EXTENDED].
15278 (SA_ONSTACK): Change [__USE_UNIX98] condition to
15279 [__USE_XOPEN_EXTENDED].
15280 (SA_RESTART): Likewise.
15281 (SA_NODEFER): Likewise.
15282 (SA_RESETHAND): Likewise.
15283 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
15284 (struct sigaction): Define sa_handler and sa_sigaction using union
15285 also for [__USE_XOPEN_EXTENDED].
15286 (SA_ONSTACK): Change [__USE_UNIX98] condition to
15287 [__USE_XOPEN_EXTENDED].
15288 (SA_RESTART): Likewise.
15289 (SA_NODEFER): Likewise.
15290 (SA_RESETHAND): Likewise.
15291 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
15292 (struct sigaction): Define sa_handler and sa_sigaction using union
15293 also for [__USE_XOPEN_EXTENDED].
15294 (SA_ONSTACK): Change [__USE_UNIX98] condition to
15295 [__USE_XOPEN_EXTENDED].
15296 (SA_RESTART): Likewise.
15297 (SA_NODEFER): Likewise. Define directly rather than as alias.
15298 (SA_RESETHAND): Likewise.
15299 (SA_INTERRUPT): Define only for [__USE_MISC].
15300 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
15301 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
15303 (SA_STACK): Define only for [__USE_MISC].
15304 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
15305 (struct sigaction): Define sa_handler and sa_sigaction using union
15306 also for [__USE_XOPEN_EXTENDED].
15307 (SA_ONSTACK): Change [__USE_UNIX98] condition to
15308 [__USE_XOPEN_EXTENDED].
15309 (SA_RESTART): Likewise.
15310 (SA_NODEFER): Likewise.
15311 (SA_RESETHAND): Likewise.
15312 (SA_NOPTRACE): Define only for [__USE_MISC].
15314 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
15315 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
15316 (struct catalog_info): Likewise.
15317 * inet/htontest.c (lo): Likewise.
15319 * inet/inet_lnaof.c (inet_lnaof): Likewise.
15320 * inet/inet_net.c (inet_network): Likewise.
15321 * inet/inet_netof.c (inet_netof): Likewise.
15322 * inet/rcmd.c (__ivaliduser): Likewise.
15323 (iruserok): Likewise.
15324 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
15325 * locale/programs/locale-spec.c (locale_special): Likewise.
15326 * nis/nis_findserv.c (struct findserv_req): Likewise.
15327 (__nis_findfastest_with_timeout): Likewise.
15328 * nss/test-netdb.c (test_network): Likewise.
15329 * resolv/inet_neta.c (inet_neta): Likewise.
15330 * resolv/ns_date.c (ns_datetosecs): Likewise.
15331 (SECS_PER_DAY): Likewise.
15332 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
15334 * resolv/res_comp.c (__putlong): Likewise.
15335 (__putshort): Likewise.
15336 (_getlong): Likewise.
15337 (_getshort): Likewise.
15338 * resolv/res_debug.c (p_time): Likewise.
15339 (precsize_ntoa): Likewise.
15340 (precsize_aton): Likewise.
15341 (latlon2ul): Likewise.
15342 (loc_aton): Likewise.
15343 (loc_ntoa): Likewise.
15344 * resolv/res_hconf.c (struct netaddr): Likewise.
15345 (_res_hconf_reorder_addrs): Likewise.
15346 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
15347 (clnttcp_control): Likewise.
15348 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
15349 (clntudp_control): Likewise.
15350 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
15351 (clntunix_control): Likewise.
15352 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
15353 * sunrpc/rpc/auth.h (union des_block): Likewise.
15354 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
15355 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
15356 (xdrrec_create): Likewise.
15357 (xdrrec_endofrecord): Likewise.
15358 (flush_out): Likewise.
15359 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
15360 (xdrstdio_putlong): Likewise.
15361 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
15364 * misc/sys/cdefs.h (__long_double_t): Remove.
15365 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
15366 instead of __long_double_t,
15367 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
15369 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
15371 * benchtests/scripts/compare_strings.py: Avoid display error when
15372 running on a text terminal.
15374 * benchtests/scripts/compare_strings.py (main): Add an
15375 optional -base option.
15376 (process_results): New argument base_func.
15378 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
15380 * benchtests/bench-memcpy-large.c (test_name): Likewise.
15381 * benchtests/bench-memcpy-random.c (test_name): Likewise.
15383 2017-08-07 Andreas Schwab <schwab@suse.de>
15385 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
15386 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
15387 * intl/Makefile ($(objpfx)tst-gettext.out)
15388 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
15389 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
15390 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
15391 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
15392 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
15393 * posix/Makefile ($(objpfx)globtest.out)
15394 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
15395 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
15396 ($(objpfx)tst-printf.out): Likewise.
15397 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
15398 ($(objpfx)tst-setcontext3.out): Likewise.
15400 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
15402 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
15403 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
15404 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
15405 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
15406 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
15408 (CFLAGS-doasin-fma.c): New.
15409 (CFLAGS-dosincos-fma.c): Likewise.
15410 (CFLAGS-e_asin-fma.c): Likewise.
15411 (CFLAGS-e_atan2-fma.c): Likewise.
15412 (CFLAGS-e_exp-fma.c): Likewise.
15413 (CFLAGS-e_log-fma.c): Likewise.
15414 (CFLAGS-e_pow-fma.c): Likewise.
15415 (CFLAGS-halfulp-fma.c): Likewise.
15416 (CFLAGS-mpa-fma.c): Likewise.
15417 (CFLAGS-mpatan-fma.c): Likewise.
15418 (CFLAGS-mpatan2-fma.c): Likewise.
15419 (CFLAGS-mpexp-fma.c): Likewise.
15420 (CFLAGS-mplog-fma.c): Likewise.
15421 (CFLAGS-mpsqrt-fma.c): Likewise.
15422 (CFLAGS-mptan-fma.c): Likewise.
15423 (CFLAGS-s_atan-fma.c): Likewise.
15424 (CFLAGS-sincos32-fma.c): Likewise.
15425 (CFLAGS-slowexp-fma.c): Likewise.
15426 (CFLAGS-slowpow-fma.c): Likewise.
15427 (CFLAGS-s_sin-fma.c): Likewise.
15428 (CFLAGS-s_tan-fma.c): Likewise.
15429 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
15430 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
15431 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
15432 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
15433 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
15434 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
15435 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
15436 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
15437 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
15438 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
15439 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
15440 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
15441 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
15442 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
15443 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
15444 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
15445 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
15446 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
15447 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
15448 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
15449 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
15450 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
15451 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
15452 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
15453 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
15454 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15455 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15456 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
15457 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15458 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15459 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15461 2017-08-04 Joseph Myers <joseph@codesourcery.com>
15463 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
15464 (min_of_type_f): New macro.
15465 (min_of_type_): Likewise.
15466 (min_of_type_l): Likewise.
15467 (min_of_type_f128): Likewise.
15468 (min_of_type): Define using __MATH_TG and taking an expression
15470 (math_check_force_underflow): Pass expression instead of type to
15472 (math_check_force_underflow_nonneg): Likewise.
15474 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
15476 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
15477 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
15478 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
15480 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
15482 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15483 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
15484 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
15485 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
15486 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
15487 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
15488 memcpy_chk-nonshared, mempcpy_chk-nonshared,
15489 memmove_chk-nonshared and memset_chk-nonshared
15490 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
15491 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
15492 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
15493 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
15494 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
15495 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
15496 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
15497 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
15498 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
15499 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
15500 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
15501 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
15502 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
15503 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
15504 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
15505 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
15506 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
15507 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
15508 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
15509 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
15510 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
15511 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
15512 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
15513 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
15514 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
15515 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
15516 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
15517 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
15518 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
15519 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
15520 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
15521 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
15522 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
15523 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
15524 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
15525 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
15526 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
15527 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
15528 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
15529 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
15530 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
15531 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
15532 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
15533 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
15534 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
15535 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
15536 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
15537 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
15538 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
15539 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
15540 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
15541 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
15542 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
15543 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
15544 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
15545 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
15546 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
15547 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
15548 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
15549 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
15550 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
15551 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
15552 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
15553 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
15554 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
15555 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
15556 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
15557 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
15558 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
15559 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
15560 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
15561 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15562 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15563 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15564 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15565 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15566 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15567 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15568 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15569 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15570 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15571 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15572 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15573 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15574 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
15575 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
15576 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15577 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
15578 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15579 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15580 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15581 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15582 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15583 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15584 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
15585 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
15586 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
15587 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
15588 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15589 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
15590 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15591 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15592 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15593 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15594 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15595 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15596 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15597 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15599 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
15601 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
15602 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
15603 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
15604 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
15605 svml_d_log2_core-sse2, svml_d_log4_core-sse,
15606 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
15607 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
15608 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
15609 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
15610 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
15611 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
15612 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
15613 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
15614 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
15615 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
15616 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
15617 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
15618 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
15619 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
15620 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
15621 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
15622 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
15623 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
15624 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
15625 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
15626 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
15627 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
15628 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
15629 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
15630 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
15631 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
15632 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
15633 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
15634 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
15635 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
15636 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
15637 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
15638 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
15639 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
15640 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
15641 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
15642 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
15643 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
15644 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
15645 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
15646 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
15647 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
15648 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
15649 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
15650 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
15651 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
15652 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
15653 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
15654 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
15655 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
15656 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
15657 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
15658 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
15659 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
15661 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
15662 Don't include <sysdep.h> nor <init-arch.h>.
15663 (_ZGVbN2v_cos): Removed.
15664 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
15666 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
15667 Don't include <sysdep.h> nor <init-arch.h>.
15668 (_ZGVdN4v_cos): Removed.
15669 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
15671 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
15672 Don't include <sysdep.h> nor <init-arch.h>.
15673 (_ZGVeN8v_cos): Removed.
15674 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
15676 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
15677 Don't include <sysdep.h> nor <init-arch.h>.
15678 (_ZGVbN2v_exp): Removed.
15679 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
15681 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
15682 Don't include <sysdep.h> nor <init-arch.h>.
15683 (_ZGVdN4v_exp): Removed.
15684 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
15686 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
15687 Don't include <sysdep.h> nor <init-arch.h>.
15688 (_ZGVeN8v_exp): Removed.
15689 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
15691 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
15692 Don't include <sysdep.h> nor <init-arch.h>.
15693 (_ZGVbN2v_log): Removed.
15694 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
15696 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
15697 Don't include <sysdep.h> nor <init-arch.h>.
15698 (_ZGVdN4v_log): Removed.
15699 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
15701 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
15702 Don't include <sysdep.h> nor <init-arch.h>.
15703 (_ZGVeN8v_log): Removed.
15704 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
15706 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
15707 Don't include <sysdep.h> nor <init-arch.h>.
15708 (_ZGVbN2vv_pow): Removed.
15709 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
15711 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
15712 Don't include <sysdep.h> nor <init-arch.h>.
15713 (_ZGVdN4vv_pow): Removed.
15714 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
15716 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
15717 Don't include <sysdep.h> nor <init-arch.h>.
15718 (_ZGVeN8vv_pow): Removed.
15719 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
15721 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
15722 Don't include <sysdep.h> nor <init-arch.h>.
15723 (_ZGVbN2v_sin): Removed.
15724 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
15726 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
15727 Don't include <sysdep.h> nor <init-arch.h>.
15728 (_ZGVbN4v_sin): Removed.
15729 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
15731 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
15732 Don't include <sysdep.h> nor <init-arch.h>.
15733 (_ZGVbN8v_sin): Removed.
15734 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
15736 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
15737 Don't include <sysdep.h> nor <init-arch.h>.
15738 (_ZGVbN2vvv_sincos): Removed.
15739 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
15741 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
15742 Don't include <sysdep.h> nor <init-arch.h>.
15743 (_ZGVdN4vvv_sincos): Removed.
15744 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
15746 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
15747 Don't include <sysdep.h> nor <init-arch.h>.
15748 (_ZGVeN8vvv_sincos): Removed.
15749 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
15751 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
15752 Don't include <sysdep.h> nor <init-arch.h>.
15753 (_ZGVeN16v_cosf): Removed.
15754 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
15756 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
15757 Don't include <sysdep.h> nor <init-arch.h>.
15758 (_ZGVbN4v_cosf): Removed.
15759 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
15761 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
15762 Don't include <sysdep.h> nor <init-arch.h>.
15763 (_ZGVdN8v_cosf): Removed.
15764 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
15766 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
15767 Don't include <sysdep.h> nor <init-arch.h>.
15768 (_ZGVeN16v_expf): Removed.
15769 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
15771 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
15772 Don't include <sysdep.h> nor <init-arch.h>.
15773 (_ZGVbN4v_expf): Removed.
15774 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
15776 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
15777 Don't include <sysdep.h> nor <init-arch.h>.
15778 (_ZGVdN8v_expf): Removed.
15779 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
15781 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
15782 Don't include <sysdep.h> nor <init-arch.h>.
15783 (_ZGVeN16v_logf): Removed.
15784 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
15786 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
15787 Don't include <sysdep.h> nor <init-arch.h>.
15788 (_ZGVbN4v_logf): Removed.
15789 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
15791 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
15792 Don't include <sysdep.h> nor <init-arch.h>.
15793 (_ZGVdN8v_logf): Removed.
15794 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
15796 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
15797 Don't include <sysdep.h> nor <init-arch.h>.
15798 (_ZGVeN16vv_powf): Removed.
15799 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
15801 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
15802 Don't include <sysdep.h> nor <init-arch.h>.
15803 (_ZGVbN4vv_powf): Removed.
15804 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
15806 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
15807 Don't include <sysdep.h> nor <init-arch.h>.
15808 (_ZGVdN8vv_powf): Removed.
15809 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
15811 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
15812 Don't include <sysdep.h> nor <init-arch.h>.
15813 (_ZGVeN16vvv_sincosf): Removed.
15814 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
15816 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
15817 Don't include <sysdep.h> nor <init-arch.h>.
15818 (_ZGVbN4vvv_sincosf): Removed.
15819 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
15821 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
15822 Don't include <sysdep.h> nor <init-arch.h>.
15823 (_ZGVdN8vvv_sincosf): Removed.
15824 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
15826 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
15827 Don't include <sysdep.h> nor <init-arch.h>.
15828 (_ZGVeN16v_sinf): Removed.
15829 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
15831 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
15832 Don't include <sysdep.h> nor <init-arch.h>.
15833 (_ZGVbN4v_sinf): Removed.
15834 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
15836 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
15837 Don't include <sysdep.h> nor <init-arch.h>.
15838 (_ZGVdN8v_sinf): Removed.
15840 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
15842 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
15843 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
15844 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
15845 s_rint-sse4_1 and s_rintf-sse4_1.
15846 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
15847 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
15848 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
15849 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
15850 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
15851 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
15852 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
15853 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
15854 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
15855 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
15856 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
15857 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
15859 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
15860 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
15861 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
15862 (__ceilf): Removed.
15863 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
15864 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
15865 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
15866 (__floor): Removed.
15867 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
15868 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
15869 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
15870 (__floorf): Removed.
15871 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
15872 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
15873 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
15874 (__nearbyint): Removed.
15875 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
15876 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
15877 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
15878 (__nearbyintf): Removed.
15879 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
15880 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
15881 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
15883 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
15884 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
15885 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
15886 (__rintf): Removed.
15888 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
15890 * sysdeps/i386/start.S (_start): Check Check PIC instead of
15891 SHARED. Avoid dynamic relocation against main in static PIE.
15893 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
15896 * elf/Makefile (CFLAGS-tst-prelink.c): New.
15897 (LDFLAGS-tst-prelink): Likewise.
15899 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
15901 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
15902 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
15903 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
15904 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
15905 (INTERNAL_SYSCALL_NCS): Likewise.
15906 (LOADARGS_1): Likewise.
15907 (LOADARGS_5): Likewise.
15908 (RESTOREARGS_1): Likewise.
15909 (RESTOREARGS_5): Likewise.
15911 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
15913 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
15914 (MEMPCPY_SYMBOL): Likewise.
15915 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15916 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
15917 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
15919 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15920 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
15922 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
15923 (__hidden_ver1): Don't use in libc.a.
15924 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
15925 (__mempcpy): Don't create a weak alias in libc.a.
15926 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
15928 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
15929 (__hidden_ver1): Don't use in libc.a.
15931 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
15933 * config.make.in (have-insert): New.
15934 * configure.ac (libc_cv_insert): New. Set to yes if linker
15935 supports INSERT in linker script.
15936 (AC_SUBST(libc_cv_insert): New.
15937 * configure: Regenerated.
15938 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
15939 if $(have-insert) == yes.
15941 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
15943 * elf/Makefile (tests): Add vismain only if
15944 $(have-protected-data) == yes.
15945 (tests-pie): Likewise.
15947 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
15950 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
15951 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
15953 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
15956 * sysdeps/i386/i586/memset.S
15957 (__memset_zero_constant_len_parameter): Removed.
15958 * sysdeps/i386/i686/memset.S
15959 (__memset_zero_constant_len_parameter): Likewise.
15960 * sysdeps/i386/i686/multiarch/memset_chk.S
15961 (__memset_zero_constant_len_parameter): Likewise.
15962 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
15965 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
15967 * stdlib/getentropy.c (getentropy): Change return type to int.
15969 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
15971 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
15973 2017-08-03 Joseph Myers <joseph@codesourcery.com>
15975 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
15977 * math/s_nexttowardf.c (__nexttowardf): Likewise.
15978 * sysdeps/generic/math_private.h (ieee_double_shape_type):
15980 (ieee_float_shape_type): Likewise.
15981 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
15982 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
15983 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
15984 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
15985 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
15986 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
15987 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
15988 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
15989 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
15991 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
15992 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
15993 (__ieee754_yn): Likewise.
15994 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
15995 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
15996 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
15998 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
15999 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
16000 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
16001 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
16002 (__erfc): Likewise.
16003 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
16004 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
16005 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
16006 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
16007 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
16008 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
16010 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
16011 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
16012 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
16013 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
16014 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
16015 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
16016 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
16017 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
16018 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
16019 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
16020 (__issignaling): Likewise.
16021 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
16022 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
16023 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
16025 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
16026 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
16027 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
16028 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
16030 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
16032 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
16033 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
16034 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
16035 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
16036 (__erfcf): Likewise.
16037 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
16038 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
16039 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
16040 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
16042 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
16043 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
16045 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
16046 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
16047 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
16048 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
16049 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
16050 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
16051 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
16052 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
16054 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
16056 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
16058 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
16059 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
16061 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
16063 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
16064 (__ieee754_ynl): Likewise.
16065 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
16066 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
16068 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
16070 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
16071 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
16072 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
16074 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
16075 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
16076 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
16077 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
16078 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
16079 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
16080 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
16081 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
16083 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
16084 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
16085 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
16087 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
16088 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
16089 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
16090 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
16091 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
16092 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
16094 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
16096 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
16098 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
16100 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
16101 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
16102 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
16103 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
16104 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
16105 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
16106 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
16108 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
16110 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
16111 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
16113 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
16114 (__ieee754_remainderl): Likewise.
16115 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16116 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16117 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
16118 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
16120 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
16121 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16123 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16124 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
16125 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
16126 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
16127 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
16128 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
16130 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
16131 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
16132 (__ieee754_y0l): Likewise.
16135 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
16136 (__ieee754_y1l): Likewise.
16139 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
16140 (__ieee754_ynl): Likewise.
16141 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
16142 (__ieee754_lgammal_r): Likewise.
16143 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
16145 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
16146 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
16147 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
16148 (__erfcl): Likewise.
16149 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
16150 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
16152 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
16153 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
16154 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
16155 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
16156 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
16157 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
16158 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
16160 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
16161 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
16162 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
16163 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
16164 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
16166 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
16167 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
16169 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
16170 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
16171 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
16172 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
16173 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
16175 2017-08-03 Florian Weimer <fweimer@redhat.com>
16178 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
16179 on memory allocation failure.
16181 2017-08-03 Alan Modra <amodra@gmail.com>
16183 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
16184 tst-tlsopt-powerpc.c with function name change and no test harness.
16185 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
16186 Call tls_get_addr_opt_test.
16187 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
16188 (modules-names): Add mod-tlsopt-powerpc.
16189 (mod-tlsopt-powerpc.so-no-z-defs): Define.
16190 (tst-tlsopt-powerpc): Depend on .so.
16191 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
16192 define. Expand use in TLS_GD and TLS_LD.
16194 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
16196 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
16198 * sysdeps/posix/shm_open.c: Include <pthread.h>.
16200 2017-08-02 Joseph Myers <joseph@codesourcery.com>
16203 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
16204 comparing size with that of double.
16205 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
16206 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
16207 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
16208 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
16209 (__TGMATH_BINARY_REAL_IMAG): Likewise.
16210 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
16211 unsigned __int128 types.
16213 2017-08-02 Steve Ellcey <sellcey@cavium.com>
16215 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
16216 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
16217 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
16218 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
16219 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
16221 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
16223 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
16225 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
16227 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
16229 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
16230 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
16231 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16232 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16233 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16234 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16235 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16237 2017-08-02 Joseph Myers <joseph@codesourcery.com>
16240 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
16241 bit-field expressions passed to sizeof or typeof.
16242 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
16243 (__TGMATH_F128): Likewise.
16244 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
16245 (__TGMATH_CF128): Likewise.
16246 (__TGMATH_UNARY_REAL_ONLY): Likewise.
16247 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
16248 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
16249 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
16250 (__TGMATH_BINARY_REAL_ONLY): Likewise.
16251 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
16252 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
16253 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
16254 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
16255 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
16256 (__TGMATH_UNARY_REAL_IMAG): Likewise.
16257 (__TGMATH_UNARY_IMAG): Likewise.
16258 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
16259 (__TGMATH_BINARY_REAL_IMAG): Likewise.
16260 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
16262 (define_vars_for_type): Handle bit_field type specially.
16263 (Tests.__init__): Declare structure with bit-field element.
16265 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
16268 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
16269 (MEMCPY_CHK): Define only if SHARED is defined.
16270 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
16272 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
16275 See ChangeLog.18 for earlier changes.