1 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
4 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
6 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
8 * manual/install.texi (Tools for Compilation): Update the newest
9 versions of gcc, binutils, texinfo, gawk, bison, and sed.
10 * INSTALL: Regenerated.
12 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org
14 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
15 instead of __builtin_expect.
17 2018-01-30 Florian Weimer <fweimer@redhat.com>
19 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
21 * nss/tst-nss-getpwent.c (do_test): Likewise.
23 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
26 * localedata/locales/hr_HR (mon): Rename to...
28 (mon): Import from CLDR (genitive case).
29 (d_t_fmt): Update the comment.
31 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
33 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
34 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
35 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
37 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
39 * mach/Versions: Fix version when __mach_host_self_ was added.
40 * hurd/Versions: Fix version when _hurd_exec_paths was added.
41 * sysdeps/mach/hurd/i386/ld.abilist: New file.
42 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
43 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
44 * sysdeps/mach/hurd/i386/libc.abilist: New file.
45 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
46 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
47 * sysdeps/mach/hurd/i386/libm.abilist: New file.
48 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
49 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
50 * sysdeps/mach/hurd/i386/librt.abilist: New file.
51 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
52 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
53 || to respect codestyle.
54 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
55 (do_test_bz20181): Rename accordingly.
56 * malloc/malloc.c: Include <assert.h>.
57 (assert): Do not define.
58 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
59 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
60 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
61 * sysdeps/mach/hurd/hp-timing.h: New file.
62 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
64 2018-01-29 Darius Rad <darius@bluespec.com>
66 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
68 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
70 * sysdeps/init_array/crti.S (.section .init_array): Add
71 PREINIT_FUNCTION when defined.
72 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
73 * config.h.in: Regenerate.
74 * manual/platform.texi: Add RISC-V documenation for
76 * sysdeps/riscv/__longjmp.S: New file.
77 * sysdeps/riscv/backtrace.c: Likewise.
78 * sysdeps/riscv/bits/endian.h: Likewise.
79 * sysdeps/riscv/bits/setjmp.h: Likewise.
80 * sysdeps/riscv/bits/wordsize.h: Likewise.
81 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
82 * sysdeps/riscv/bsd-setjmp.c: Likewise.
83 * sysdeps/riscv/dl-trampoline.S: Likewise.
84 * sysdeps/riscv/gccframe.h: Likewise.
85 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
86 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
87 * sysdeps/riscv/machine-gmon.h: Likewise.
88 * sysdeps/riscv/memusage.h: Likewise.
89 * sysdeps/riscv/setjmp.S: Likewise.
90 * sysdeps/riscv/sys/asm.h: Likewise.
91 * sysdeps/riscv/tls-macros.h: Likewise.
92 * sysdeps/riscv/dl-tls.h: New file.
93 * sysdeps/riscv/libc-tls.c: Likewise.
94 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
95 * sysdeps/riscv/nptl/tls.h: Likewise.
96 * sysdeps/riscv/stackinfo.h: Likewise.
97 * sysdeps/riscv/bits/fenv.h: New file.
98 * sysdeps/riscv/e_sqrtl.c: Likewise.
99 * sysdeps/riscv/fpu_control.h: Likewise.
100 * sysdeps/riscv/math-tests.h: Likewise.
101 * sysdeps/riscv/nofpu/Implies: Likewise.
102 * sysdeps/riscv/sfp-machine.h: Likewise.
103 * sysdeps/riscv/tininess.h: Likewise.
104 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
105 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
106 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
107 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
108 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
109 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
110 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
111 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
112 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
113 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
114 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
115 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
116 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
117 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
118 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
119 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
120 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
121 * sysdeps/riscv/rvd/s_finite.c: Likewise.
122 * sysdeps/riscv/rvd/s_fma.c: Likewise.
123 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
124 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
125 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
126 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
127 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
128 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
129 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
130 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
131 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
132 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
133 * sysdeps/riscv/rvf/fegetround.c: Likewise.
134 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
135 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
136 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
137 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
138 * sysdeps/riscv/rvf/fesetround.c: Likewise.
139 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
140 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
141 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
142 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
143 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
144 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
145 * sysdeps/riscv/rvf/math_private.h: Likewise.
146 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
147 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
148 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
149 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
150 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
151 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
152 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
153 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
154 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
155 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
156 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
157 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
158 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
159 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
160 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
161 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
162 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
163 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
164 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
165 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
166 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
167 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
168 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
169 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
170 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
171 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
172 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
173 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
174 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
175 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
176 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
177 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
178 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
179 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
180 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
181 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
182 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
183 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
184 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
185 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
186 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
187 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
188 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
189 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
190 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
191 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
192 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
193 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
194 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
195 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
196 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
197 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
198 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
199 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
200 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
201 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
202 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
203 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
204 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
205 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
206 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
207 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
208 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
209 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
210 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
211 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
212 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
213 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
214 * sysdeps/riscv/Implies: New file.
215 * sysdeps/riscv/Makefile: Likewise.
216 * sysdeps/riscv/configure: Likewise.
217 * sysdeps/riscv/configure.ac: Likewise.
218 * sysdeps/riscv/nptl/Makefile: Likewise.
219 * sysdeps/riscv/preconfigure: Likewise.
220 * sysdeps/riscv/rv64/Implies-after: Likewise.
221 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
222 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
223 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
224 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
225 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
226 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
227 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
228 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
229 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
230 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
231 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
232 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
235 2018-01-29 Florian Weimer <fweimer@redhat.com>
238 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
240 * include/rpcsvc/yp.h (yp_xdrall): Declare with
242 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
243 * nis/Makefile (libnsl-routines): Add nss-default only for
245 * nis/nis_defaults.c (__nis_default_ttl): Add
246 libnsl_hidden_nolink_def.
247 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
249 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
250 * nis/ypclnt.c (yp_maplist): Likewise.
252 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
254 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
255 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
257 2018-01-29 Joseph Myers <joseph@codesourcery.com>
259 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
260 clean -dxfq for git updates when replacing sources.
262 * scripts/build-many-glibcs.py (Config.build_gcc): Use
263 --disable-libcilkrts unconditionally, not just for the final GCC
266 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
269 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
272 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
275 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
278 * localedata/locales/be_BY (mon): Rename to...
279 (alt_mon): This, then synchronize with CLDR (nominative case).
280 (abmon): Rename to...
281 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
282 (mon): Import from CLDR (genitive case).
284 * localedata/locales/be_BY@latin (mon): Rename to...
286 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
288 * localedata/locales/be_BY@latin (lang_name): Reworded to
291 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
294 * localedata/locales/el_CY (mon): Renamed to...
296 (mon): Import from CLDR (genitive case).
297 * localedata/locales/el_GR: Likewise.
299 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
302 * localedata/locales/ru_RU (mon): Rename to...
304 (abmon): Rename to...
306 (mon): Import from CLDR (genitive case).
307 (abmon): Copy from the old content except the 5th month which is
308 now in the genitive case, even when abbreviated.
309 * localedata/locales/ru_UA: Likewise.
310 * time/tst-strptime.c (day_tests): Add an actual example of
311 a difference between %b and %Ob in Russian.
313 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
315 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
316 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
318 * resolv/res-close.c: Include <stdlib.h>.
319 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
320 <sys/wait.h>, <time.h>, <sys/uio.h>.
321 (NOT_CANCEL_H): Add inclusion guard.
322 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
323 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
324 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
326 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
327 vm_address_t * to ElfW(Addr) * for dl_main parameter.
328 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
330 * sysdeps/pthread/timer_create.c (timer_create): Do not use
331 timer_ptr2id to cast struct timer_node * to void *.
332 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
333 --disable-libcilkrts to gcc configure.
334 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
335 and make them the default for now.
336 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
337 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
338 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
339 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
340 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
342 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
343 __task_terminate would ever return successfully.
344 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
346 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
347 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
348 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
349 critical section to make code simpler and avoid warning.
350 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
351 critical section to make code simpler and avoid warning.
352 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
353 const char * instead of char *.
354 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
355 __hurd_file_name_split, hurd_file_name_split,
356 __hurd_directory_name_split, hurd_directory_name_split,
357 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
358 hurd_file_name_path_lookup): Make lookup function parameter take a
359 const char *name instead of char *name.
360 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
361 __hurd_directory_name_split): Likewise.
362 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
363 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
364 * sysdeps/mach/hurd/check_native.c: New file.
365 * sysdeps/mach/hurd/check_pf.c: New file.
366 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
367 (__freeifaddrs): Define macro to freeifaddrs.
368 * sysdeps/mach/hurd/libhurduser.abilist: New file.
369 * sysdeps/mach/libmachuser.abilist: New file.
370 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
371 (do_test_bz20181): Rename accordingly.
372 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
373 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
375 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
376 version only if __USE_EXTERN_INLINES is defined.
377 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
378 __hurd_sockfail): Likewise.
379 (_hurd_fd_get): Always declare functions, and provide inline versions
380 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
381 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
382 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
383 _hurd_port_set): Always declare functions, and provide inline versions
384 only if __USE_EXTERN_INLINES and _LIBC are defined and
386 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
387 _hurd_critical_section_unlock): Likewise.
388 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
389 * __hurd_threadvar_location): Likewise.
390 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
391 _hurd_userlink_clear): Likewise.
392 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
393 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
394 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
395 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
396 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
397 __spin_lock_locked): Likewise.
398 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
399 __spin_lock_locked): Likewise.
400 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
401 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
402 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
403 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
404 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
405 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
406 _POSIX_NO_TRUNC): Define to 0.
407 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
408 check size against PTHREAD_STACK_MIN.
409 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
410 IS_IN(libpthread)]: Include <sigsetops.h>.
411 * mach/Makefile (user-interfaces): Add mach/gnumach.
412 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
413 * sysdeps/mach/configure (mach_interface_list): Regenerate.
414 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
415 instead of invalid -1.
416 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
417 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
418 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
421 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
423 * hurd/fcntl-internal.h: New file.
425 2018-01-27 James Clarke <jrtc27@jrtc27.com>
427 * sysdeps/hppa/fpu/libm-test-ulps: Update.
429 * sysdeps/alpha/fpu/libm-test-ulps: Update.
431 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
434 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
435 Build only shared objects.
437 2018-01-26 Carlos O'Donell <carlos@redhat.com>
439 * README: Update for hppa.
441 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
443 * sysdeps/sparc/fpu/libm-test-ulps: Update
444 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
446 2018-01-26 Carlos O'Donell <carlos@redhat.com>
450 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
453 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
454 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
455 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
456 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
459 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
462 * bits/types/__cancel_jmp_buf_tag.h: New file.
463 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
464 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
465 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
466 * nptl/Makefile (headers): Add
467 bits/types/__cancel_jmp_buf_tag.h.
468 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
469 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
470 * sysdeps/nptl/pthread.h: Include
471 <bits/types/__cancel_jmp_buf_tag.h>.
472 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
474 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
476 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
479 * localedata/locales/uk_UA (mon): Renamed to...
481 (alt_digits): "0" removed and then renamed to...
483 (date_fmt): Definition changed not to use the alternative
486 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
488 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
489 FLAG_RISCV_FLOAT_ABI_DOUBLE.
490 * elf/elf.h (EF_RISCV_RVC): New define.
491 (EF_RISCV_FLOAT_ABI): Likewise.
492 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
493 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
494 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
495 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
496 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
498 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
500 2018-01-25 Andreas Schwab <schwab@suse.de>
502 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
504 * sysdeps/gnu/configure: Regenerate.
505 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
506 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
508 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
509 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
510 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
511 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
512 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
514 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
516 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
517 URL, and run autoconf, make it the default for now.
519 2018-01-24 Joseph Myers <joseph@codesourcery.com>
521 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
522 soft-float ColdFire configuration.
524 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
525 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
526 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
528 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
531 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
533 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
535 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
538 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
539 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
540 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
543 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
546 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
547 Rename to __reserved and add comment.
548 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
549 Rename to __reserved.
551 2018-01-24 Joseph Myers <joseph@codesourcery.com>
553 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
554 i686-gnu configurations.
555 (Context.run_builds): Include mig, gnumach and hurd in components
557 (Context.checkout): Add mig, gnumach and hurd to components.
558 (Context.checkout_tar): Add URL mappings for mig, gnumach and
560 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
561 (Config.build): Install gnumach headers, build mig and install
562 hurd headers for 'gnu' OS.
563 (Config.install_gnumach_headers): New function.
564 (Config.install_hurd_headers): Likewise.
565 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
566 when building for 'gnu' OS.
568 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
570 * manual/tunables.texi (Hardware Capability Tunables): Fix
573 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
575 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
576 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
577 (ALTMON_11, ALTMON_12): Improve documentation.
578 * manual/time.texi (strftime): Likewise.
580 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
583 * localedata/locales/pl_PL: Alternative month names added,
584 primary month names are genitive now.
585 * time/tst-strptime.c (day_tests): Actually use a genitive case
586 of a month name in Polish language.
588 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
591 * manual/locale.texi: Document ALTMON_1..12 constants for
592 nl_langinfo. Specify when to use ALTMON instead of MON.
593 * manual/time.texi (strftime, strptime): Document GNU extension
594 permitting O modifier with %B and %b. Specify when to use
597 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
600 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
601 names, define them as the same as abbreviated month names explicitly.
602 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
603 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
604 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
605 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
606 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
607 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
608 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
609 _NL_WABALTMON_12): New enum constants.
610 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
611 wab_alt_mon, and ab_alt_mon_defined members.
612 (time_output): Output ab_alt_mon and wab_alt_mon members.
613 (time_read): Read them, initialize them as copies of abmon and wabmon
614 respectively if they are missing, initialize ab_alt_mon_defined.
615 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
616 * locale/programs/locfile-kw.h: Regenerate.
617 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
618 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
620 * time/strftime_l.c (a_altmonth, aam_len): New macros.
621 [!COMPILE_WIDE] (ABALTMON_1): New macro.
622 (__strftime_internal): Handle %Ob and %Oh formats.
623 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
624 (__strptime_internal): Handle %Ob and %Oh formats.
625 * time/tst-strptime.c (day_tests): Add more tests to parse different
626 forms of month names including the new %Ob format specifier.
628 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
631 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
632 define them as the same as primary full month names explicitly.
633 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
634 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
635 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
636 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
637 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
638 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
639 _NL_WALTMON_12): New enum constants.
640 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
641 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
643 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
644 walt_mon, and alt_mon_defined members.
645 (time_output): Output alt_mon and walt_mon members.
646 (time_read): Read them, initialize them as copies of mon and wmon
647 respectively if they are missing, initialize alt_mon_defined.
648 * locale/programs/locfile-kw.gperf (alt_mon): Define.
649 * locale/programs/locfile-kw.h: Regenerate.
650 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
651 * localedata/tst-langinfo.c (map): Add tests for the new constants
652 ALTMON_1 .. ALTMON_12.
653 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
655 * time/strftime_l.c (f_altmonth): New macro.
656 (__strftime_internal): Handle %OB format.
657 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
658 (__strptime_internal): Handle %OB format.
659 * time/tst-strptime.c (day_tests): Add tests to parse different forms
660 of month names including the new %OB format specifier.
662 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
665 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
666 from ABORT_TRANSACTION.
667 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
668 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
669 ABORT_TRANSACTION_IMPL): Likewise.
670 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
671 Linux code, but remove the code that aborts transactions.
673 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
675 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
677 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
679 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
680 in date: "2004-14-09" should be "2004-09-14".
681 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
682 "2003-15-09" should be "2003-09-15".
684 2018-01-18 Arjun Shankar <arjun@redhat.com>
687 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
689 (_int_memalign): check for integer overflow before calling
691 * malloc/tst-malloc-too-large.c: New test.
692 * malloc/Makefile: Add tst-malloc-too-large.
694 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
696 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
697 in date: "2017-24-07" should be "2017-07-24".
698 * localedata/locales/mai_IN: Likewise.
699 * localedata/locales/mai_NP: Likewise.
701 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
703 * po/ru.po: Update translations.
705 2018-01-17 Joseph Myers <joseph@codesourcery.com>
708 * sysdeps/hppa/backtrace.c: New file.
710 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
713 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
714 align La_x86_64_retval to VEC_SIZE.
716 2018-01-16 Joseph Myers <joseph@codesourcery.com>
718 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
719 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
721 2018-01-16 Florian Weimer <fweimer@redhat.com>
723 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
724 Move tst-thread-exit-clobber ...
725 [$(CXX)] (tests-unsupported): ... to here.
727 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
729 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
730 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
731 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
732 (_dl_aarch64_cap_flags): Update.
733 (_DL_HWCAP_COUNT): Update.
735 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
737 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
738 (_DL_HWCAP_LAST): Remove.
739 (_DL_HWCAP_COUNT): Move to ...
740 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
741 (_DL_HWCAP_COUNT): ... here.
743 2018-01-16 Florian Weimer <fweimer@redhat.com>
745 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
746 mode with GNU extensions.
748 2018-01-15 Alan Hayward <alan.hayward@arm.com>
750 * elf/elf.h (NT_ARM_SVE): Define.
752 2018-01-15 Florian Weimer <fweimer@redhat.com>
755 * nptl/tst-minstack-throw.cc: New file.
756 * nptl/Makefile (tests): Add tst-minstack-throw.
757 (LDLIBS-tst-minstack-throw): Link with libstdc++.
758 [!CXX] (tests-unsupported): Add tst-minstack-throw.
760 2018-01-15 Joseph Myers <joseph@codesourcery.com>
762 * scripts/build-many-glibcs.py (Context.checkout): Default
763 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
766 2018-01-13 Carlos O'Donell <carlos@redhat.com>
769 * elf/elf.h (DF_1_STUB): Define.
772 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
775 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
776 Do not add 0.5 to integer or out-of-range arguments.
778 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
780 * po/bg.po: Update translations.
781 * po/cs.po: Likewise.
782 * po/de.po: Likewise.
783 * po/ko.po: Likewise.
784 * po/pl.po: Likewise.
785 * po/sv.po: Likewise.
786 * po/uk.po: Likewise.
787 * po/vi.po: Likewise.
789 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
791 * aarch64/start.S (_start): Use __wrap_main.
792 (__wrap_main): New local symbol.
794 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
798 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
799 generic_getcwd if the path returned by getcwd syscall is not absolute.
800 * io/tst-getcwd-abspath.c: New test.
801 * io/Makefile (tests): Add tst-getcwd-abspath.
803 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
805 * malloc/malloc.c (malloc_consolidate): Add size check.
807 2018-01-12 Florian Weimer <fweimer@redhat.com>
809 * support/write_message.c (write_message): Preserve errno.
810 * support/check.c (print_failure): Likewise.
811 * support/support_test_verify_impl.c (support_test_verify_impl):
813 * support/support_test_compare_failure.c
814 (support_test_compare_failure): Likewise.
816 2018-01-12 Florian Weimer <fweimer@redhat.com>
819 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
820 Prevent installation of libnsl.so.
821 (libnsl-inhibit-o): Do not build (or install) static libraries.
823 2018-01-12 Egmont Koblinger <egmont@gmail.com>
826 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
827 before the day number which may produce a double space.
828 (date_fmt): Likewise.
830 2018-01-12 Joseph Myers <joseph@codesourcery.com>
832 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
835 2018-01-11 Joseph Myers <joseph@codesourcery.com>
838 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
839 comment to say exceptions are discarded.
840 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
842 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
845 2018-01-11 Florian Weimer <fweimer@redhat.com>
847 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
850 2018-01-11 Florian Weimer <fweimer@redhat.com>
853 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
854 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
856 2018-01-10 Joseph Myers <joseph@codesourcery.com>
859 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
860 negative arguments in test for NaN or infinity argument.
862 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
864 * po/libc.pot: Regenerate.
866 2018-01-10 Florian Weimer <fweimer@redhat.com>
869 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
870 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
872 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
874 * hurd/hurd/fd.h: Include <fcntl.h>
875 (__hurd_at_flags): New function.
876 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
877 with call to __hurd_at_flags.
878 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
879 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
881 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
882 (__access_noerrno): Use __faccessat_common instead of access_common.
883 (__access): Likewise.
884 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
885 with a call to __faccessat.
886 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
887 (__faccessat_common): ... this. Move implementation of __access into it when
888 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
889 reauthenticate_cwdir_at helper to implement AT mechanism.
890 (__faccessat_noerrno): New function, just calls __faccessat_common.
891 (__faccessat): New function, just calls __faccessat_common.
892 (faccessat): Define weak alias.
894 2018-01-10 Joseph Myers <joseph@codesourcery.com>
897 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
898 (CFLAGS-s_fmaxmagl.c): New variable.
899 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
902 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
903 long int for arguments of possibly overflowing addition or
905 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
907 2018-01-09 Joseph Myers <joseph@codesourcery.com>
910 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
911 (CFLAGS-e_remainderl.c): New variable.
914 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
916 (CFLAGS-s_cacoshl.c): Likewise.
917 (CFLAGS-s_casinhl.c): Likewise.
918 (CFLAGS-s_catanl.c): Likewise.
919 (CFLAGS-s_catanhl.c): Likewise.
920 (CFLAGS-s_cexpl.c): Likewise.
921 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
922 (CFLAGS-s_csinhl.c): Likewise.
923 (CFLAGS-s_clogl.c): Likewise.
924 (CFLAGS-s_clog10l.c): Likewise.
925 (CFLAGS-s_csinl.c): Likewise.
926 (CFLAGS-s_csqrtl.c): Likewise.
928 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
929 2017-01-09 Svante Signell <svante.signell@gmail.com>
931 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
932 (_hurd_exec_paths): New function.
933 * hurd/hurd.h (_hurd_exec): Deprecate function.
934 (_hurd_exec_paths): Declare function.
935 * hurd/Versions: Export _hurd_exec_paths.
936 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
937 (__execve): Use __getcwd to build absolute path, and use
938 _hurd_exec_paths instead of _hurd_exec.
939 * sysdeps/mach/hurd/spawni.c: Likewise.
940 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
943 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
945 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
946 test instead of failing in case of ENOENT returned by posix_openpt.
948 2018-01-08 Florian Weimer <fweimer@redhat.com>
950 resolv: Support binary labels in test framework.
951 * support/resolv_test.c (struct to_be_freed): Remove.
952 (struct compressed_name): New.
953 (allocate_compressed_name, ascii_tolower)
954 (compare_compressed_name): New functions.
955 (struct resolv_response_builder): Update type of
956 compression_offsets for use with tsearch. Rempve to_be_freed.
957 (response_push_pointer_to_free): Remove function.
958 (resolv_response_add_name): Rewrite using struct compressed_name
959 and tsearch instead of hsearch_r.
960 (response_builder_allocate): Remove initialization of
962 (response_builder_free): Update for removal of to_be_freed. Use
963 tdestroy instead of hdestroy_r.
964 * resolv/Makefile (tests): Add tst-resolv-binary.
965 (tst-resolv-binary): Link with -lresolv -lpthread.
967 2018-01-08 Florian Weimer <fweimer@redhat.com>
969 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
970 time. Pass positive flag instead of negative flag to
971 support_test_compare_failure.
972 (support_test_compare_failure): Change negative parameter to
974 * support/support_test_compare_failure.c (report)
975 (support_test_compare_failure): Likewise.
976 * support/tst-test_compare.c (return_ssize_t, return_int): New.
977 (do_test): Check int/size_t, ssize_t/size_t comparisons.
979 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
982 * nptl/descr.h (stackblock, stackblock_size): Update comments.
983 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
984 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
986 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
988 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
990 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
991 Add s_sincosf-sse2 and s_sincosf-fma.
992 (CFLAGS-s_sincosf-fma.c): New.
993 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
994 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
995 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
996 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
997 __sincosf is defined.
999 2018-01-08 Florian Weimer <fweimer@redhat.com>
1001 * nptl/tst-thread-exit-clobber.cc: New file.
1002 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
1004 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
1005 (tests): Add tst-thread-exit-clobber.
1006 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
1008 2018-01-08 Florian Weimer <fweimer@redhat.com>
1010 * support/check.h (support_static_assert): Define.
1011 (TEST_COMPARE): Use it.
1013 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
1015 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
1016 [!__RLIM_T_MATCHES_RLIM64_T]
1017 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
1018 __getrlimit64. Add libc_hidden_weak.
1020 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
1022 * elf/elf.h (R_RISCV_NONE): New define.
1023 (R_RISCV_32): Likewise.
1024 (R_RISCV_64): Likewise.
1025 (R_RISCV_RELATIVE): Likewise.
1026 (R_RISCV_COPY): Likewise.
1027 (R_RISCV_JUMP_SLOT): Likewise.
1028 (R_RISCV_TLS_DTPMOD32): Likewise.
1029 (R_RISCV_TLS_DTPMOD64): Likewise.
1030 (R_RISCV_TLS_DTPREL32): Likewise.
1031 (R_RISCV_TLS_DTPREL64): Likewise.
1032 (R_RISCV_TLS_TPREL32): Likewise.
1033 (R_RISCV_TLS_TPREL64): Likewise.
1034 * Makerules (make-link-multidir): Make directories before linking into
1036 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
1038 (VDSO_HASH_LINUX_4_15): Likewise.
1039 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
1040 in subdirectories of lib.
1041 * nptl/Makefile (/librt.so): Always depend on
1042 "$(shared-thread-library)".
1044 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
1046 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
1047 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
1048 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
1050 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
1051 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
1053 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
1054 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
1055 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
1056 * sysdeps/gnu/glob-lstat-compat.c: New file.
1057 * sysdeps/gnu/glob64-lstat-compat.c: New file.
1058 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
1060 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1062 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
1063 Reserve 16 chars to reloc_addr before calling _itoa_word.
1065 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
1068 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
1069 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
1071 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
1072 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
1074 * resource/tst-getrlimit.c: Add copyright header.
1076 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
1077 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1079 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
1080 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
1081 Define __GI_getrlimit64 as weak alias of __getrlimit64.
1082 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
1084 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
1085 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
1086 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
1087 RLIM64_INFINITY): Fix values to match the kernel ones.
1088 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
1089 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
1090 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
1091 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
1092 getrlimit64@@GLIBC_2_27.
1093 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
1095 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
1096 getrlimit, setrlimit, getrlimit64 and setrlimit64.
1097 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
1098 setrlimit, getrlimit64 and setrlimit64.
1100 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
1103 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
1104 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
1106 2018-01-04 Joseph Myers <joseph@codesourcery.com>
1108 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
1109 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
1110 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
1112 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1116 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
1117 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
1121 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
1122 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
1123 * sysdeps/alpha/fpu/s_floor.c: Likewise.
1124 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
1126 2018-01-04 Florian Weimer <fweimer@redhat.com>
1129 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
1130 Align the stack before calling exit.
1131 * stdlib/tst-makecontext-align.c: New file.
1132 * stdlib/Makefile (tests): Add tst-makecontext-align.
1134 2018-01-04 Florian Weimer <fweimer@redhat.com>
1136 Add support for calling dlvsym from libc.so.
1137 * include/dlfcn.h (__libc_dlvsym): Declare.
1138 * elf/Makefile (tests-static-internal): Add
1139 tst-libc_dlvsym-static.
1140 (tests-internal): Add tst-libc_dlvsym.
1141 (modules-names): Add tst-libc_dlvsym-dso.
1142 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
1143 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
1144 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
1145 object tst-libc_dlvsym-dso.so needs to be built before running
1147 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
1148 * elf/Versions: Export __libc_dlvsym.
1149 * elf/dl-libc.c (struct do_dlvsym_args): New.
1150 (do_dlvsym, __libc_dlvsym): New functions.
1151 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
1152 (_dl_open_hook2): New variable.
1153 (__libc_register_dl_open_hook): Set it.
1154 * elf/tst-libc_dlvsym-dso.c: New file.
1155 * elf/tst-libc_dlvsym-static.c: Likewise.
1156 * elf/tst-libc_dlvsym.c: Likewise.
1157 * elf/tst-libc_dlvsym.h: Likewise.
1159 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
1161 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
1162 include <sys/mount.h>.
1164 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
1166 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
1167 Add __NO_MATH_ERRNO__ check.
1169 2018-01-02 Joseph Myers <joseph@codesourcery.com>
1171 * sysdeps/mips/mips32/libm-test-ulps: Update.
1172 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1174 2018-01-02 Florian Weimer <fweimer@redhat.com>
1176 * misc/tst-pselect.c: Add copyright header.
1178 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
1180 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
1182 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
1184 (settrlimit): Rename into setrlimit.
1185 (__sttrlimit): Rename into __setrlimit.
1187 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
1188 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
1189 never defined in that case.
1191 2018-01-02 Joseph Myers <joseph@codesourcery.com>
1193 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
1195 * sysdeps/arm/libm-test-ulps: Update.
1197 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
1198 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
1200 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1202 * NEWS: Add cosf and sincosf to list of optimized functions.
1204 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
1207 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
1208 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
1209 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
1210 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
1212 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
1215 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
1217 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
1218 making a copy of it.
1220 2018-01-01 Joseph Myers <joseph@codesourcery.com>
1222 * manual/texinfo.tex: Update to version 2017-12-26.21 with
1223 trailing whitespace removed.
1224 * scripts/config.guess: Update to version 2018-01-01.
1225 * scripts/config.sub: Update to version 2018-01-01.
1226 * scripts/move-if-change: Update from gnulib.
1228 * NEWS: Update copyright dates.
1229 * catgets/gencat.c (print_version): Likewise.
1230 * csu/version.c (banner): Likewise.
1231 * debug/catchsegv.sh: Likewise.
1232 * debug/pcprofiledump.c (print_version): Likewise.
1233 * debug/xtrace.sh (do_version): Likewise.
1234 * elf/ldconfig.c (print_version): Likewise.
1235 * elf/ldd.bash.in: Likewise.
1236 * elf/pldd.c (print_version): Likewise.
1237 * elf/sotruss.sh: Likewise.
1238 * elf/sprof.c (print_version): Likewise.
1239 * iconv/iconv_prog.c (print_version): Likewise.
1240 * iconv/iconvconfig.c (print_version): Likewise.
1241 * locale/programs/locale.c (print_version): Likewise.
1242 * locale/programs/localedef.c (print_version): Likewise.
1243 * login/programs/pt_chown.c (print_version): Likewise.
1244 * malloc/memusage.sh (do_version): Likewise.
1245 * malloc/memusagestat.c (print_version): Likewise.
1246 * malloc/mtrace.pl: Likewise.
1247 * manual/libc.texinfo: Likewise.
1248 * nptl/version.c (banner): Likewise.
1249 * nscd/nscd.c (print_version): Likewise.
1250 * nss/getent.c (print_version): Likewise.
1251 * nss/makedb.c (print_version): Likewise.
1252 * posix/getconf.c (main): Likewise.
1253 * scripts/test-installation.pl: Likewise.
1254 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
1256 * All files with FSF copyright notices: Update copyright dates
1257 using scripts/update-copyrights.
1258 * locale/programs/charmap-kw.h: Regenerated.
1259 * locale/programs/locfile-kw.h: Likewise.
1261 2017-12-31 Zack Weinberg <zackw@panix.com>
1263 * libio/bits/libio-ldbl.h: Correct check for improper
1264 inclusion. Add own multiple include guard.
1266 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
1267 Dmitry V. Levin <ldv@altlinux.org>
1271 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
1272 string token expansion. Check for NULL pointer or empty string possibly
1273 returned by expand_dynamic_string_token.
1274 (decompose_rpath): Check for empty path after dynamic string
1277 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
1280 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
1282 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
1283 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
1284 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
1286 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
1287 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
1288 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1289 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1290 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1291 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
1293 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
1294 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
1295 __ptrace_peeksiginfo_flags, ptrace): Move to ...
1296 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
1297 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1298 bits/ptrace-shared.h.
1299 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
1300 <bits/ptrace-shared.h>.
1301 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
1302 __ptrace_peeksiginfo_flags, ptrace): Remove.
1303 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
1304 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1305 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1306 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1307 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
1309 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
1312 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
1313 end of the loop. Improve comments.
1315 2017-12-29 Zack Weinberg <zackw@panix.com>
1318 * manual/errno.texi (Checking for Errors): Explicitly say that errno
1319 might be set on success.
1321 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
1324 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
1325 is unchanged on success.
1327 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
1329 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
1331 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
1332 expand_dynamic_string_token): Likewise.
1333 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
1336 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
1339 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
1340 is set and name contains ':', and all code depending on these checks.
1342 2017-12-24 Zack Weinberg <zackw@panix.com>
1344 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
1345 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
1347 * libio/libio.h: Rename the original version of this file to
1348 libio/bits/libio.h. Error out if not included by stdio.h or the
1350 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
1351 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
1352 if not included by bits/libio.h or the stub _G_config.h.
1353 * sysdeps/unix/sysv/linux/_G_config.h: Move to
1354 sysdeps/unix/sysv/linux/bits. Error out if not included by
1355 bits/libio.h or the stub _G_config.h.
1356 * libio/stdio.h: Include bits/libio.h, not libio.h.
1357 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
1358 well as libio.h and _G_config.h.
1360 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
1361 * libio/strfile.h, stdio-common/vfscanf.c
1362 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
1363 Include stdio.h, not _G_config.h nor libio.h.
1364 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
1365 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
1367 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
1369 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
1372 * stdlib/getrandom.c (getrandom): Fix comment.
1373 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
1375 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
1378 * manual/arith.texi (strtoul): Fix a typo.
1381 * manual/arith.texi (finite): Fix the description of the return
1384 2017-12-22 Eric Blake <ebb9@byu.net>
1386 Avoid gcc warnings on cygwin
1387 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
1388 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
1389 Avoid unused variable.
1391 2017-12-22 Florian Weimer <fweimer@redhat.com>
1393 * io/Makefile (routines): Add copy_file_range.
1394 (tests): Add tst-copy_file_range.
1395 (tests-static, tests-internal): Add tst-copy_file_range-compat.
1396 * io/Versions (GLIBC_2.27): Export copy_file_range.
1397 * io/copy_file_range-compat.c: New file.
1398 * io/copy_file_range.c: Likewise.
1399 * io/tst-copy_file_range-compat.c: Likewise.
1400 * io/tst-copy_file_range.c: Likewise.
1401 * manual/llio.texi (Copying File Data): New section.
1402 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
1403 * support/Makefile (libsupport-routines): Add support-xfstat,
1405 * support/support-xfstat.c: New file.
1406 * support/xftruncate.c: Likewise.
1407 * support/xlseek.c: Likewise.
1408 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
1409 * sysdeps/unix/sysv/linux/**.abilist: Update.
1410 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
1412 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
1414 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
1415 disable-multi-arch variant to aarch64-linux-gnu.
1417 2017-12-20 Joseph Myers <joseph@codesourcery.com>
1419 * manual/texinfo.tex: Update to version 2017-12-18.20 with
1420 trailing whitespace removed.
1421 * scripts/config.guess: Update to version 2017-12-17.
1422 * scripts/config.sub: Update to version 2017-11-23.
1423 * scripts/install-sh: Update to version 2017-09-23.17.
1424 * scripts/move-if-change: Update to version 2017-09-13 06:45.
1426 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1428 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
1429 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
1430 * sysdeps/tile/_mcount.S (__mcount): Likewise.
1431 * sysdeps/tile/crti.S (_init, _fini): Likewise.
1432 * sysdeps/tile/crtn.S: Likewise.
1433 * sysdeps/tile/dl-start.S (_start): Likewise.
1434 * sysdeps/tile/dl-trampoline.S: Likewise.
1435 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
1436 * sysdeps/tile/start.S (_start): Likewise.
1437 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
1438 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
1439 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
1440 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
1441 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
1442 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
1443 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
1445 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
1447 * sysdeps/tile/preconfigure: Remove tilegx folder.
1448 * sysdeps/tile/tilegx/Implies: Move definitions to ...
1449 * sysdeps/tile/Implies: ... here.
1450 * sysdeps/tile/tilegx/Makefile: Move rules to ...
1451 * sysdeps/tile/Makefile: ... here.
1452 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
1453 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
1454 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
1455 * sysdeps/tile/bits/wordsize.h: ... here.
1456 * sysdeps/tile/tilegx/*: Move to ...
1457 * sysdeps/tile/*: ... here.
1458 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
1459 * sysdeps/tile/tilegx32/Implies: ... here.
1460 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
1461 * sysdeps/tile/tilegx64/Implies: ... here.
1462 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
1464 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
1465 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
1466 * sysdeps/unix/sysv/linux/tile/*: ... here.
1467 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
1468 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
1469 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
1470 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
1472 * README: Remove tilepro-*-linux-gnu from supported architecture.
1473 * scripts/build-many-glibcs.py: Likewise.
1474 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
1475 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
1476 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
1477 elf_machine_matches_host, elf_machine_dynamic,
1478 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
1479 howto, elf_machine_rela): Likewise.
1480 * sysdeps/tile/dl-start.S (_start): Likewise.
1481 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
1482 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
1483 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
1484 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
1485 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
1486 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
1488 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
1489 * sysdeps/tile/preconfigure: Likewise.
1490 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
1491 POINTER_CHK_GUARD): Likewise.
1492 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
1493 * sysdeps/tile/start.S (_start): Likewise.
1494 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
1496 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
1497 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
1499 * sysdeps/unix/sysv/linux/tile/bits/environments.h
1500 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
1501 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
1503 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
1504 * sysdeps/tile/tilepro/Implies: Remove file.
1505 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
1506 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
1507 * sysdeps/tile/tilepro/memchr.c: Likewise.
1508 * sysdeps/tile/tilepro/memcpy.S: Likewise.
1509 * sysdeps/tile/tilepro/memset.c: Likewise.
1510 * sysdeps/tile/tilepro/memusage.h: Likewise.
1511 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
1512 * sysdeps/tile/tilepro/strchr.c: Likewise.
1513 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
1514 * sysdeps/tile/tilepro/strlen.c: Likewise.
1515 * sysdeps/tile/tilepro/strrchr.c: Likewise.
1516 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
1517 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
1518 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
1519 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
1520 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
1521 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
1523 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
1524 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1525 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
1526 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
1527 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1528 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
1529 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
1530 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
1531 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
1532 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
1533 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
1534 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
1535 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
1536 tilepro mention in comment.
1538 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
1539 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
1540 * nptl/pthread_join_common.c: New file: common function used on
1541 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
1542 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
1543 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
1544 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
1545 (cleanup): Move definition to pthread_join_common.c.
1546 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
1547 Remove superflous checks.
1548 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
1551 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
1553 * sysdeps/aarch64/libm-test-ulps: Update.
1555 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1557 * sysdeps/aarch64/memset.S (MEMSET): Define.
1559 2017-12-20 Florian Weimer <fweimer@redhat.com>
1562 nptl: Provide full implementation of pthread_self in libc.so.
1563 * nptl/Makefile (routines): Add pthread_self.
1564 (libpthread-routines): Replace pthread_self with
1565 compat-pthread_self.
1566 * nptl/forward.c (pthread_self): Remove.
1567 * nptl/nptl-init.c (pthread_functions): Do not initialize
1569 * nptl/pthread_self.c (pthread_self): Remove weak alias.
1570 * nptl/compat-pthread_self.c: New file.
1571 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
1572 Remove ptr_pthread_self.
1574 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
1576 * posix/regcomp.c: Fix spelling in comments.
1577 * posix/regex.h: Likewise.
1578 * posix/regex_internal.c: Likewise.
1579 * posix/regexec.c: Likewise.
1581 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1584 * math/Makefile [C++] (tests): Add test for iseqsig.
1585 * math/math.h [C++] (iseqsig): New implementation, which does
1586 not rely on __MATH_TG/__builtin_types_compatible_p.
1587 * math/test-math-iseqsig.cc: New file.
1588 * sysdeps/powerpc/powerpc64le/Makefile
1589 (CFLAGS-test-math-iseqsig.cc): New variable.
1591 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
1593 * elf/dl-load.c (is_trusted_path): Remove.
1594 (fillin_rpath): Remove check_trusted argument and its use,
1595 all callers changed.
1597 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
1600 * Makeconfig (link-pie-before-libc): Replace -pie with
1601 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
1602 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
1603 (tst-dlopen-aout-no-pie): New.
1604 (LDFLAGS-tst-prelink): Removed.
1605 (tst-prelink-no-pie): New.
1606 (LDFLAGS-tst-main1): Removed.
1607 (tst-main1-no-pie): New.
1608 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
1609 (tst-gmon-no-pie): New.
1611 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
1613 * manual/install.texi: Document that --enable-static-pie
1615 * INSTALL: Regenerated.
1617 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
1620 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
1623 2017-12-19 Joseph Myers <joseph@codesourcery.com>
1627 2017-12-19 Joseph Myers <joseph@codesourcery.com>
1629 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1631 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
1633 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
1634 <errno.h>. Include "eexp.tbl".
1635 (half): New constant.
1637 (__ieee754_exp): Rewrite.
1638 (__slowexp): Remove prototype.
1639 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
1640 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
1641 * sysdeps/i386/fpu/slowexp.c: Likewise.
1642 * sysdeps/ia64/fpu/slowexp.c: Likewise.
1643 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
1644 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
1645 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
1646 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
1647 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
1648 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
1650 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
1651 (CPPFLAGS-slowexp.c): Remove variable.
1652 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
1653 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
1654 (CFLAGS-slowexp-fma.c): Remove variable.
1655 (CFLAGS-slowexp-fma4.c): Likewise.
1656 (CFLAGS-slowexp-avx.c): Likewise.
1657 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
1659 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
1660 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
1661 * math/Makefile (type-double-routines): Remove slowexp.
1662 * manual/probes.texi (slowexp_p6): Remove.
1663 (slowexp_p32): Likewise.
1665 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1667 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
1670 * lib/glob.c (glob): Do not pass NULL to mempcpy.
1672 2017-12-19 Joseph Myers <joseph@codesourcery.com>
1674 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1676 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
1678 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
1679 <errno.h>. Include "eexp.tbl".
1680 (half): New constant.
1682 (__ieee754_exp): Rewrite.
1683 (__slowexp): Remove prototype.
1684 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
1685 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
1686 * sysdeps/i386/fpu/slowexp.c: Likewise.
1687 * sysdeps/ia64/fpu/slowexp.c: Likewise.
1688 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
1689 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
1690 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
1691 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
1692 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
1693 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
1695 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
1696 (CPPFLAGS-slowexp.c): Remove variable.
1697 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
1698 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
1699 (CFLAGS-slowexp-fma.c): Remove variable.
1700 (CFLAGS-slowexp-fma4.c): Likewise.
1701 (CFLAGS-slowexp-avx.c): Likewise.
1702 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
1704 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
1705 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
1706 * math/Makefile (type-double-routines): Remove slowexp.
1707 * manual/probes.texi (slowexp_p6): Remove.
1708 (slowexp_p32): Likewise.
1710 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1711 James Clarke <jrtc27@jrtc27.com>
1714 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
1717 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1720 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
1723 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
1726 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
1727 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
1728 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
1729 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
1732 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
1735 * bits/types/__cancel_jmp_buf_tag.h: New file.
1736 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
1737 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
1738 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
1739 * nptl/Makefile (headers): Add
1740 bits/types/__cancel_jmp_buf_tag.h.
1741 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
1742 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
1743 * sysdeps/nptl/pthread.h: Include
1744 <bits/types/__cancel_jmp_buf_tag.h>.
1745 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
1747 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
1749 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
1751 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
1752 --enable-static-pie variants to x86_64, x32 and i686.
1754 2017-12-19 Joseph Myers <joseph@codesourcery.com>
1757 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
1758 argument for attrubutes. All callers changed.
1759 (__inline_mathop1): Likewise. All callers changed.
1760 (__inline_mathop): Likewise. All callers changed.
1761 [__USE_MISC] (scalbn): Use __inline_forward instead of
1763 [__USE_ISOC99] (scalbln): Likewise.
1764 [__USE_ISOC99] (nearbyint): Likewise.
1765 [__USE_ISOC99] (lrint): Likewise.
1766 [__USE_MISC] (scalbnf): Likewise.
1767 [__USE_ISOC99] (scalblnf): Likewise.
1768 [__USE_ISOC99] (nearbyintf): Likewise.
1769 [__USE_ISOC99] (lrintf): Likewise.
1770 [__USE_MISC] (scalbnl): Likewise.
1771 [__USE_ISOC99] (scalblnl): Likewise.
1772 [__USE_ISOC99] (nearbyintl): Likewise.
1773 [__USE_ISOC99] (lrintl): Likewise.
1774 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
1775 __inline_mathop and __m81_defun changed.
1777 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
1778 CPU or FPU for ARM hard-float configurations.
1780 2017-12-18 Joseph Myers <joseph@codesourcery.com>
1782 * nptl/tst-attr3.c: Include <libc-diag.h>.
1783 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
1785 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
1787 * string/tester.c (test_strncat): Also disable -Warray-bounds
1788 warnings for two tests.
1790 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
1793 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
1794 $(cc-pie-default) == yes.
1795 * config.make.in (cc-pie-default): New.
1796 * configure.ac (libc_cv_pie_default): Renamed to ...
1797 (libc_cv_cc_pie_default): This.
1798 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
1799 * configure: Regenerated.
1801 2017-12-18 Florian Weimer <fweimer@redhat.com>
1804 ld.so: Harden dl-libc/libdl hooks.
1805 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
1806 (rtld_active): New function.
1807 * dlfcn/dladdr.c (__dladdr): Call it.
1808 * dlfcn/dladdr1.c (__dladdr1): Likewise.
1809 * dlfcn/dlclose.c (__dlcose): Likewise.
1810 * dlfcn/dlerror.c (__dlerror): Likewise.
1811 * dlfcn/dlinfo.c (__dlinfo): Likewise.
1812 * dlfcn/dlmopen.c (__dlmopen): Likewise.
1813 * dlfcn/dlopen.c (__dlopen): Likewise.
1814 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
1815 * dlfcn/dlsym.c (__dlsym): Likewise.
1816 * dlfcn/dlvsym.c (__dlvsym): Likewise.
1817 * libio/vtables.c (_IO_vtable_check): Likewise.
1818 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
1819 (__libc_dlclose): Likewise.
1820 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
1823 2017-12-18 Joseph Myers <joseph@codesourcery.com>
1826 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
1827 buffers for readlink input and output.
1829 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
1832 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
1833 inhibit_stack_protector.
1836 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
1837 inhibit_stack_protector.
1839 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
1842 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
1843 code and invocation.
1845 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
1847 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
1849 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
1852 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
1854 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1856 * sysdeps/s390/fpu/libm-test-ulps: Update.
1858 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1860 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1862 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1864 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
1865 constants to s_sincosf.h file.
1866 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
1867 * sysdeps/ieee754/flt-32/s_sincosf.c: New
1869 * sysdeps/ieee754/flt-32/s_sincosf.h:
1872 2017-12-12 Carlos O'Donell <carlos@redhat.com>
1875 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
1878 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
1881 * INSTALL: Regenerated.
1882 * Makeconfig (real-static-start-installed-name): New.
1883 (pic-default): Updated for --enable-static-pie.
1884 (pie-default): New for --enable-static-pie.
1885 (default-pie-ldflag): Likewise.
1886 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
1887 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
1888 Replace $(static-start-installed-name) with
1889 $(real-static-start-installed-name).
1890 (+prectorT): Updated for --enable-static-pie.
1891 (+postctorT): Likewise.
1892 (CFLAGS-.o): Add $(pie-default).
1893 (CFLAGS-.op): Likewise.
1894 * NEWS: Mention --enable-static-pie.
1895 * config.h.in (ENABLE_STATIC_PIE): New.
1896 * configure.ac (--enable-static-pie): New configure option.
1897 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
1898 (have-static-pie): Likewise.
1899 Enable static PIE if linker supports --no-dynamic-linker.
1900 (ENABLE_STATIC_PIE): New AC_DEFINE.
1901 (enable-static-pie): New LIBC_CONFIG_VAR.
1902 * configure: Regenerated.
1903 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
1904 gr$(start-installed-name) for --enable-static-pie.
1905 (extra-objs): Likewise.
1906 (install-lib): Likewise.
1907 (extra-objs): Add static-reloc.o and static-reloc.os
1908 ($(objpfx)$(start-installed-name)): Also depend on
1909 $(objpfx)static-reloc.o.
1910 ($(objpfx)r$(start-installed-name)): New.
1911 ($(objpfx)g$(start-installed-name)): Also depend on
1912 $(objpfx)static-reloc.os.
1913 ($(objpfx)gr$(start-installed-name)): New.
1914 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
1916 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
1918 * csu/static-reloc.c: New file.
1919 * elf/Makefile (routines): Add dl-reloc-static-pie.
1920 (elide-routines.os): Likewise.
1921 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
1922 (tst-tls1-static-non-pie-no-pie): New.
1923 * elf/dl-reloc-static-pie.c: New file.
1924 * elf/dl-support.c (_dl_get_dl_main_map): New function.
1925 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
1926 STATIC_PIE_BOOTSTRAP.
1927 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
1928 * gmon/Makefile (tests): Add tst-gmon-static-pie.
1929 (tests-static): Likewise.
1930 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
1931 (tst-gmon-static-no-pie): New.
1932 (CFLAGS-tst-gmon-static-pie.c): Likewise.
1933 (CRT-tst-gmon-static-pie): Likewise.
1934 (tst-gmon-static-pie-ENV): Likewise.
1935 (tests-special): Likewise.
1936 ($(objpfx)tst-gmon-static-pie.out): Likewise.
1937 (clean-tst-gmon-static-pie-data): Likewise.
1938 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
1939 * gmon/tst-gmon-static-pie.c: New file.
1940 * manual/install.texi: Document --enable-static-pie.
1941 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
1942 (_dl_get_dl_main_map): Likewise.
1943 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
1944 * sysdeps/x86_64/configure.ac: Likewise.
1945 * sysdeps/i386/configure: Regenerated.
1946 * sysdeps/x86_64/configure: Likewise.
1947 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
1948 (ASFLAGS-.op): Likewise.
1950 2017-12-15 Joseph Myers <joseph@codesourcery.com>
1952 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
1953 * posix/tst-mmap-offset.c (fname): Use /tmp.
1954 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
1956 2017-12-15 Steve Ellcey <sellcey@cavium.com>
1958 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
1960 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
1962 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
1965 2017-12-15 Joseph Myers <joseph@codesourcery.com>
1967 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
1968 --with-float=hard for arm-linux-gnueabihf configurations.
1971 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
1972 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
1973 ($(mo-installed)): Use $(objpfx)%.mo.
1974 (realclean): Remove rule.
1976 * po/Makefile (linguas): Remove rule and dependencies.
1977 (linguas.mo): Likewise.
1978 (.PHONY): Do not depend on linguas and linguas.mo.
1979 (podir): Remove variable.
1980 (pofiles): Likewise.
1981 [$(pofiles)] (%.po): Remove rule.
1983 * sysdeps/sparc/sparc32/Makefile
1984 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
1985 start-of-line whitespace in argument of echo.
1986 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
1987 with whitespace. Generate __wrap_.udiv alias.
1988 * sysdeps/sparc/sparc32/rem.S: Regenerated.
1989 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
1990 * sysdeps/sparc/sparc32/udiv.S: Likewise.
1991 * sysdeps/sparc/sparc32/urem.S: Likewise.
1993 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1995 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
1998 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
2000 * benchtests/bench-strcmp.c: Print output in JSON format.
2002 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
2004 2017-12-14 Florian Weimer <fweimer@redhat.com>
2008 * elf/dl-load.c (_dl_init_paths): Compute number of components in
2009 the expanded path string.
2011 2017-12-14 Florian Weimer <fweimer@redhat.com>
2015 * elf/dl-load.c (system_dirs): Update comment.
2016 (nsystem_dirs_len): Use array_length.
2017 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
2019 2017-12-14 Florian Weimer <fweimer@redhat.com>
2021 Simplify compiling most of support/ outside of glibc.
2022 * support/check_addrinfo.c: Include <string.h>.
2023 * support/check_dns_packet.c: Likewise.
2024 * support/check_hostent.c: Likewise.
2025 * support/support_can_chroot.c: Include <support/xunistd.h>.
2026 * support/support_format_addrinfo.c: Include <stdlib.h>
2027 * support/support_format_dns_packet.c: Include <stdbool.h>.
2028 * support/support_format_hostent.c: Include <stdlib.h>.
2029 * support/support_format_netent.c: Likewise.
2030 * support/support_write_string.c: Include <support/xunistd.h>.
2031 * support/xdlfcn.c: Include <stddef.h>.
2033 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
2035 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
2037 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
2038 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2040 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
2041 (sysdeps_routines): Add memset-niagara7.
2042 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
2044 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
2046 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
2047 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
2048 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
2049 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
2050 Add niagara7 option.
2051 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
2054 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
2055 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
2056 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
2058 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
2060 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
2061 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
2062 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
2063 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
2064 and __memmove_niagara7.
2065 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
2066 Add niagara7 option.
2067 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
2068 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
2069 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
2070 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
2071 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
2073 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
2075 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
2076 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
2077 * sysdeps/sparc/sparc64/memmove.S: Likewise.
2078 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
2080 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
2081 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
2082 _dl_sparc_cap_flags array.
2083 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
2085 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
2087 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
2088 time whenever possible.
2090 2017-12-12 Carlos O'Donell <carlos@redhat.com>
2092 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
2093 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
2095 2017-12-12 Joseph Myers <joseph@codesourcery.com>
2097 * soft-fp/fmadf4.c: Move to ....
2098 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
2099 * soft-fp/fmasf4.c: Move to ....
2100 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
2101 * soft-fp/fmatf4.c: Move to ....
2102 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
2103 * sysdeps/ieee754/soft-fp/Makefile: New file.
2104 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
2105 * sysdeps/arm/preconfigure: Regenerated.
2106 * sysdeps/arm/nofpu/Implies: New file.
2107 * sysdeps/arm/s_fma.c: Remove file.
2108 * sysdeps/arm/s_fmaf.c: Likewise.
2109 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
2110 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
2111 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
2112 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
2113 * sysdeps/microblaze/s_fma.c: Remove file.
2114 * sysdeps/microblaze/s_fmaf.c: Likewise.
2115 * sysdeps/mips/mips32/nofpu/Implies: New file.
2116 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
2117 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
2118 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
2119 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
2120 * sysdeps/mips/ieee754/s_fma.c: Remove file.
2121 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
2122 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
2124 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
2125 * sysdeps/nios2/s_fma.c: Remove file.
2126 * sysdeps/nios2/s_fmaf.c: Likewise.
2127 * sysdeps/sh/nofpu/Implies: New file.
2128 * sysdeps/sh/s_fma.c: Remove file.
2129 * sysdeps/sh/s_fmaf.c: Likewise.
2130 * sysdeps/tile/Implies: Add ieee754/soft-fp.
2131 * sysdeps/tile/s_fma.c: Remove file.
2132 * sysdeps/tile/s_fmaf.c: Likewise.
2134 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
2136 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2137 Add s_cosf-sse2 and s_cosf-fma.
2138 (CFLAGS-s_cosf-fma.c): New.
2139 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
2140 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
2141 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
2143 2017-12-12 Steve Ellcey <sellcey@cavium.com>
2145 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
2147 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2149 * libio/Makefile (tests): Add tst-bz22415.
2150 (tst-bz22415-ENV): New rule.
2151 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
2152 (tests-special): Add tst-bz22415-mem.out.
2153 ($(objpfx)tst-bz22415-mem.out): New rule.
2154 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
2155 in case of a successful seek operation.
2156 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
2157 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
2159 * libio/tst-bz22415.c: New test.
2161 * sysdeps/ia64/fpu/libm-test-ulps: Update.
2163 2017-12-12 James Clarke <jrtc27@jrtc27.com>
2165 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
2166 __IPC_64 to 0 to avoid IPC_64 being set.
2168 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
2171 * math/bits/mathcalls.h (nextafter): Remove const.
2172 (nexttoward): Likewise.
2174 2017-12-12 Joseph Myers <joseph@codesourcery.com>
2176 * configure.ac (--with-fp): Remove configure option.
2177 (with_fp_cond): New variable.
2178 (libc_cv_with_fp): New configure test. Use this variable instead
2180 * configure: Regenerated.
2181 * config.make.in (with-fp): Use @libc_cv_with_fp@.
2182 * manual/install.texi (Configuring and compiling): Remove
2184 * INSTALL: Regenerated.
2185 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
2186 * sysdeps/mips/preconfigure (with_fp_cond): Define.
2187 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
2188 * sysdeps/sh/preconfigure (with_fp_cond): Define.
2189 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
2190 use --without-fp to configure glibc.
2192 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
2194 * manual/locale.texi (nl_langinfo): Fix a typo.
2196 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
2199 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
2201 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
2203 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
2204 (CFLAGS-argp-parse.c): Likewise.
2205 (CFLAGS-argp-fmtstream.c): Likewise.
2206 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
2207 (CPPFLAGS-sha512-crypt.c): Likewise.
2208 (CPPFLAGS-md5-crypt.c): Likewise.
2209 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
2210 (CFLAGS-stack_chk_fail_local.c): Likewise.
2211 (CFLAGS-backtrace.c): Likewise.
2212 (CFLAGS-sprintf_chk.c): Likewise.
2213 (CFLAGS-snprintf_chk.c): Likewise.
2214 (CFLAGS-vsprintf_chk.c): Likewise.
2215 (CFLAGS-vsnprintf_chk.c): Likewise.
2216 (CFLAGS-asprintf_chk.c): Likewise.
2217 (CFLAGS-vasprintf_chk.c): Likewise.
2218 (CFLAGS-obprintf_chk.c): Likewise.
2219 (CFLAGS-dprintf_chk.c): Likewise.
2220 (CFLAGS-vdprintf_chk.c): Likewise.
2221 (CFLAGS-printf_chk.c): Likewise.
2222 (CFLAGS-fprintf_chk.c): Likewise.
2223 (CFLAGS-vprintf_chk.c): Likewise.
2224 (CFLAGS-vfprintf_chk.c): Likewise.
2225 (CFLAGS-gets_chk.c): Likewise.
2226 (CFLAGS-fgets_chk.c): Likewise.
2227 (CFLAGS-fgets_u_chk.c): Likewise.
2228 (CFLAGS-fread_chk.c): Likewise.
2229 (CFLAGS-fread_u_chk.c): Likewise.
2230 (CFLAGS-swprintf_chk.c): Likewise.
2231 (CFLAGS-vswprintf_chk.c): Likewise.
2232 (CFLAGS-wprintf_chk.c): Likewise.
2233 (CFLAGS-fwprintf_chk.c): Likewise.
2234 (CFLAGS-vwprintf_chk.c): Likewise.
2235 (CFLAGS-vfwprintf_chk.c): Likewise.
2236 (CFLAGS-fgetws_chk.c): Likewise.
2237 (CFLAGS-fgetws_u_chk.c): Likewise.
2238 (CFLAGS-read_chk.c): Likewise.
2239 (CFLAGS-pread_chk.c): Likewise.
2240 (CFLAGS-pread64_chk.c): Likewise.
2241 (CFLAGS-recv_chk.c): Likewise.
2242 (CFLAGS-recvfrom_chk.c): Likewise.
2243 (CFLAGS-tst-longjmp_chk.c): Likewise.
2244 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
2245 (CFLAGS-tst-longjmp_chk2.c): Likewise.
2246 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
2247 (CFLAGS-tst-longjmp_chk3.c): Likewise.
2248 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
2249 (CFLAGS-tst-chk1.c): Likewise.
2250 (CFLAGS-tst-chk2.c): Likewise.
2251 (CFLAGS-tst-chk3.c): Likewise.
2252 (CFLAGS-tst-chk4.cc): Likewise.
2253 (CFLAGS-tst-chk5.cc): Likewise.
2254 (CFLAGS-tst-chk6.cc): Likewise.
2255 (CFLAGS-tst-lfschk1.c): Likewise.
2256 (CFLAGS-tst-lfschk2.c): Likewise.
2257 (CFLAGS-tst-lfschk3.c): Likewise.
2258 (CFLAGS-tst-lfschk4.cc): Likewise.
2259 (CFLAGS-tst-lfschk5.cc): Likewise.
2260 (CFLAGS-tst-lfschk6.cc): Likewise.
2261 (CFLAGS-tst-ssp-1.c): Likewise.
2262 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
2263 (CFLAGS-scandir64.c): Likewise.
2264 (CFLAGS-scandir-tail.c): Likewise.
2265 (CFLAGS-scandir64-tail.c): Likewise.
2266 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
2267 (CFLAGS-dl-tunables.c): Likewise.
2268 (CFLAGS-dl-runtime.c): Likewise.
2269 (CFLAGS-dl-lookup.c): Likewise.
2270 (CFLAGS-dl-iterate-phdr.c): Likewise.
2271 (CFLAGS-vismain.c): Likewise.
2272 (CFLAGS-tst-linkall-static.c): Likewise.
2273 (CFLAGS-tst-linkall-static.c): Likewise.
2274 (CPPFLAGS-dl-load.c): Likewise.
2275 (CFLAGS-ldconfig.c): Likewise.
2276 (CFLAGS-dl-cache.c): Likewise.
2277 (CFLAGS-cache.c): Likewise.
2278 (CFLAGS-rtld.c): Likewise.
2279 (CFLAGS-multiload.c): Likewise.
2280 (CFLAGS-filtmod1.c): Likewise.
2281 (CFLAGS-tst-align.c): Likewise.
2282 (CFLAGS-tst-align2.c): Likewise.
2283 (CFLAGS-tst-alignmod.c): Likewise.
2284 (CFLAGS-tst-alignmod2.c): Likewise.
2285 (CPPFLAGS-tst-execstack.c): Likewise.
2286 (CFLAGS-tst-ptrguard1-static.c): Likewise.
2287 (CFLAGS-tst-latepthreadmod.c): Likewise.
2288 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
2289 (CFLAGS-getgrnam_r.c): Likewise.
2290 (CFLAGS-getgrent_r.c): Likewise.
2291 (CFLAGS-getgrent.c): Likewise.
2292 (CFLAGS-fgetgrent.c): Likewise.
2293 (CFLAGS-fgetgrent_r.c): Likewise.
2294 (CFLAGS-putgrent.c): Likewise.
2295 (CFLAGS-initgroups.c): Likewise.
2296 (CFLAGS-getgrgid.c): Likewise.
2297 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
2298 (CFLAGS-getsgent.c): Likewise.
2299 (CFLAGS-fgetsgent.c): Likewise.
2300 (CFLAGS-fgetsgent_r.c): Likewise.
2301 (CFLAGS-putsgent.c): Likewise.
2302 (CFLAGS-getsgnam.c): Likewise.
2303 (CFLAGS-getsgnam_r.c): Likewise.
2304 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
2305 (CFLAGS-iconv_charmap.c): Likewise.
2306 (CFLAGS-dummy-repertoire.c): Likewise.
2307 (CFLAGS-charmap.c): Likewise.
2308 (CFLAGS-linereader.c): Likewise.
2309 (CFLAGS-simple-hash.c): Likewise.
2310 (CFLAGS-gconv_conf.c): Likewise.
2311 (CFLAGS-iconvconfig.c): Likewise.
2312 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
2313 (CFLAGS-gethstbyad.c): Likewise.
2314 (CFLAGS-gethstbynm_r.c): Likewise.
2315 (CFLAGS-gethstbynm.c): Likewise.
2316 (CFLAGS-gethstbynm2_r.c): Likewise.
2317 (CFLAGS-gethstbynm2.c): Likewise.
2318 (CFLAGS-gethstent_r.c): Likewise.
2319 (CFLAGS-gethstent.c): Likewise.
2320 (CFLAGS-rcmd.c): Likewise.
2321 (CFLAGS-getnetbynm_r.c): Likewise.
2322 (CFLAGS-getnetbynm.c): Likewise.
2323 (CFLAGS-getnetbyad_r.c): Likewise.
2324 (CFLAGS-getnetbyad.c): Likewise.
2325 (CFLAGS-getnetent_r.c): Likewise.
2326 (CFLAGS-getnetent.c): Likewise.
2327 (CFLAGS-getaliasent_r.c): Likewise.
2328 (CFLAGS-getaliasent.c): Likewise.
2329 (CFLAGS-getrpcent_r.c): Likewise.
2330 (CFLAGS-getrpcent.c): Likewise.
2331 (CFLAGS-getservent_r.c): Likewise.
2332 (CFLAGS-getservent.c): Likewise.
2333 (CFLAGS-getprtent_r.c): Likewise.
2334 (CFLAGS-getprtent.c): Likewise.
2335 (CFLAGS-either_ntoh.c): Likewise.
2336 (CFLAGS-either_hton.c): Likewise.
2337 (CFLAGS-getnetgrent.c): Likewise.
2338 (CFLAGS-getnetgrent_r.c): Likewise.
2339 (CFLAGS-tst-checks-posix.c): Likewise.
2340 (CFLAGS-tst-sockaddr.c): Likewise.
2341 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
2342 (CFLAGS-tst-translit.c): Likewise.
2343 (CFLAGS-tst-gettext2.c): Likewise.
2344 (CFLAGS-tst-codeset.c): Likewise.
2345 (CFLAGS-tst-gettext3.c): Likewise.
2346 (CFLAGS-tst-gettext4.c): Likewise.
2347 (CFLAGS-tst-gettext5.c): Likewise.
2348 (CFLAGS-tst-gettext6.c): Likewise.
2349 * io/Makefile (CFLAGS-open.c): Likewise.
2350 (CFLAGS-open64.c): Likewise.
2351 (CFLAGS-creat.c): Likewise.
2352 (CFLAGS-creat64.c): Likewise.
2353 (CFLAGS-fcntl.c): Likewise.
2354 (CFLAGS-poll.c): Likewise.
2355 (CFLAGS-ppoll.c): Likewise.
2356 (CFLAGS-lockf.c): Likewise.
2357 (CFLAGS-statfs.c): Likewise.
2358 (CFLAGS-fstatfs.c): Likewise.
2359 (CFLAGS-statvfs.c): Likewise.
2360 (CFLAGS-fstatvfs.c): Likewise.
2361 (CFLAGS-fts.c): Likewise.
2362 (CFLAGS-fts64.c): Likewise.
2363 (CFLAGS-ftw.c): Likewise.
2364 (CFLAGS-ftw64.c): Likewise.
2365 (CFLAGS-lockf.c): Likewise.
2366 (CFLAGS-posix_fallocate.c): Likewise.
2367 (CFLAGS-posix_fallocate64.c): Likewise.
2368 (CFLAGS-fallocate.c): Likewise.
2369 (CFLAGS-fallocate64.c): Likewise.
2370 (CFLAGS-read.c): Likewise.
2371 (CFLAGS-write.c): Likewise.
2372 (CFLAGS-test-stat.c): Likewise.
2373 (CFLAGS-test-lfs.c): Likewise.
2374 * libio/Makefile (CFLAGS-fileops.c): Likewise.
2375 (CFLAGS-fputc.c): Likewise.
2376 (CFLAGS-fputwc.c): Likewise.
2377 (CFLAGS-freopen64.c): Likewise.
2378 (CFLAGS-freopen.c): Likewise.
2379 (CFLAGS-fseek.c): Likewise.
2380 (CFLAGS-fseeko64.c): Likewise.
2381 (CFLAGS-fseeko.c): Likewise.
2382 (CFLAGS-ftello64.c): Likewise.
2383 (CFLAGS-ftello.c): Likewise.
2384 (CFLAGS-fwide.c): Likewise.
2385 (CFLAGS-genops.c): Likewise.
2386 (CFLAGS-getc.c): Likewise.
2387 (CFLAGS-getchar.c): Likewise.
2388 (CFLAGS-getwc.c): Likewise.
2389 (CFLAGS-getwchar.c): Likewise.
2390 (CFLAGS-iofclose.c): Likewise.
2391 (CFLAGS-iofflush.c): Likewise.
2392 (CFLAGS-iofgetpos64.c): Likewise.
2393 (CFLAGS-iofgetpos.c): Likewise.
2394 (CFLAGS-iofgets.c): Likewise.
2395 (CFLAGS-iofgetws.c): Likewise.
2396 (CFLAGS-iofputs.c): Likewise.
2397 (CFLAGS-iofputws.c): Likewise.
2398 (CFLAGS-iofread.c): Likewise.
2399 (CFLAGS-iofsetpos64.c): Likewise.
2400 (CFLAGS-iofsetpos.c): Likewise.
2401 (CFLAGS-ioftell.c): Likewise.
2402 (CFLAGS-iofwrite.c): Likewise.
2403 (CFLAGS-iogetdelim.c): Likewise.
2404 (CFLAGS-iogetline.c): Likewise.
2405 (CFLAGS-iogets.c): Likewise.
2406 (CFLAGS-iogetwline.c): Likewise.
2407 (CFLAGS-ioputs.c): Likewise.
2408 (CFLAGS-ioseekoff.c): Likewise.
2409 (CFLAGS-ioseekpos.c): Likewise.
2410 (CFLAGS-iosetbuffer.c): Likewise.
2411 (CFLAGS-iosetvbuf.c): Likewise.
2412 (CFLAGS-ioungetc.c): Likewise.
2413 (CFLAGS-ioungetwc.c): Likewise.
2414 (CFLAGS-oldfileops.c): Likewise.
2415 (CFLAGS-oldiofclose.c): Likewise.
2416 (CFLAGS-oldiofgetpos64.c): Likewise.
2417 (CFLAGS-oldiofgetpos.c): Likewise.
2418 (CFLAGS-oldiofsetpos64.c): Likewise.
2419 (CFLAGS-oldiofsetpos.c): Likewise.
2420 (CFLAGS-peekc.c): Likewise.
2421 (CFLAGS-putc.c): Likewise.
2422 (CFLAGS-putchar.c): Likewise.
2423 (CFLAGS-putwc.c): Likewise.
2424 (CFLAGS-putwchar.c): Likewise.
2425 (CFLAGS-rewind.c): Likewise.
2426 (CFLAGS-wfileops.c): Likewise.
2427 (CFLAGS-wgenops.c): Likewise.
2428 (CFLAGS-oldiofopen.c): Likewise.
2429 (CFLAGS-iofopen.c): Likewise.
2430 (CFLAGS-iofopen64.c): Likewise.
2431 (CFLAGS-oldtmpfile.c): Likewise.
2432 (CFLAGS-tst_putwc.c): Likewise.
2433 * locale/Makefile (CFLAGS-md5.c): Likewise.
2434 (CFLAGS-charmap.c): Likewise.
2435 (CFLAGS-locfile.c): Likewise.
2436 (CFLAGS-charmap-dir.c): Likewise.
2437 * login/Makefile (CFLAGS-grantpt.c): Likewise.
2438 (CFLAGS-getpt.c): Likewise.
2439 (CFLAGS-pt_chown.c): Likewise.
2440 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
2441 (CFLAGS-obstack.c): Likewise.
2442 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
2443 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
2444 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
2445 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
2446 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
2447 (CFLAGS-test-tgmath.c): Likewise.
2448 (CFLAGS-test-tgmath2.c): Likewise.
2449 (CFLAGS-test-tgmath-ret.c): Likewise.
2450 (CFLAGS-test-powl.c): Likewise.
2451 (CFLAGS-test-snan.c): Likewise.
2452 (CFLAGS-test-signgam-finite.c): Likewise.
2453 (CFLAGS-test-signgam-finite-c99.c): Likewise.
2454 (CFLAGS-test-signgam-finite-c11.c): Likewise.
2455 (CFLAGS-test-signgam-uchar.c): Likewise.
2456 (CFLAGS-test-signgam-uchar-init.c): Likewise.
2457 (CFLAGS-test-signgam-uchar-static.c): Likewise.
2458 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
2459 (CFLAGS-test-signgam-uint.c): Likewise.
2460 (CFLAGS-test-signgam-uint-init.c): Likewise.
2461 (CFLAGS-test-signgam-uint-static.c): Likewise.
2462 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
2463 (CFLAGS-test-signgam-ullong.c): Likewise.
2464 (CFLAGS-test-signgam-ullong-init.c): Likewise.
2465 (CFLAGS-test-signgam-ullong-static.c): Likewise.
2466 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
2467 (CFLAGS-test-math-cxx11.cc): Likewise.
2468 (CFLAGS-test-math-isinff.cc): Likewise.
2469 (CFLAGS-test-math-iszero.cc): Likewise.
2470 (CFLAGS-test-math-issignaling.cc): Likewise.
2471 (CFLAGS-test-math-iscanonical.cc): Likewise.
2472 (CFLAGS-test-iszero-excess-precision.c): Likewise.
2473 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
2474 (CFLAGS-test-flt-eval-method.c): Likewise.
2475 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
2476 (CFLAGS-test-finite-macros.c): Likewise.
2477 * misc/Makefile (CFLAGS-select.c): Likewise.
2478 (CFLAGS-tsearch.c): Likewise.
2479 (CFLAGS-lsearch.c): Likewise.
2480 (CFLAGS-pselect.c): Likewise.
2481 (CFLAGS-readv.c): Likewise.
2482 (CFLAGS-writev.c): Likewise.
2483 (CFLAGS-preadv.c): Likewise.
2484 (CFLAGS-preadv64.c): Likewise.
2485 (CFLAGS-pwritev.c): Likewise.
2486 (CFLAGS-pwritev64.c): Likewise.
2487 (CFLAGS-preadv2.c): Likewise.
2488 (CFLAGS-preadv64v2.c): Likewise.
2489 (CFLAGS-pwritev2.c): Likewise.
2490 (CFLAGS-pwritev64v2.c): Likewise.
2491 (CFLAGS-usleep.c): Likewise.
2492 (CFLAGS-syslog.c): Likewise.
2493 (CFLAGS-error.c): Likewise.
2494 (CFLAGS-getpass.c): Likewise.
2495 (CFLAGS-mkstemp.c): Likewise.
2496 (CFLAGS-mkstemp64.c): Likewise.
2497 (CFLAGS-getsysstats.c): Likewise.
2498 (CFLAGS-getusershell.c): Likewise.
2499 (CFLAGS-err.c): Likewise.
2500 (CFLAGS-tst-tsearch.c): Likewise.
2501 (CFLAGS-msync.c): Likewise.
2502 (CFLAGS-fdatasync.c): Likewise.
2503 (CFLAGS-fsync.c): Likewise.
2504 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
2505 (CFLAGS-unwind.c): Likewise.
2506 (CFLAGS-unwind-forcedunwind.c): Likewise.
2507 (CFLAGS-pthread_cancel.c): Likewise.
2508 (CFLAGS-pthread_setcancelstate.c): Likewise.
2509 (CFLAGS-pthread_setcanceltype.c): Likewise.
2510 (CFLAGS-cancellation.c): Likewise.
2511 (CFLAGS-libc-cancellation.c): Likewise.
2512 (CFLAGS-pthread_exit.c): Likewise.
2513 (CFLAGS-forward.c): Likewise.
2514 (CFLAGS-pthread_testcancel.c): Likewise.
2515 (CFLAGS-pthread_join.c): Likewise.
2516 (CFLAGS-pthread_timedjoin.c): Likewise.
2517 (CFLAGS-pthread_once.c): Likewise.
2518 (CFLAGS-pthread_cond_wait.c): Likewise.
2519 (CFLAGS-sem_wait.c): Likewise.
2520 (CFLAGS-sem_timedwait.c): Likewise.
2521 (CFLAGS-fcntl.c): Likewise.
2522 (CFLAGS-lockf.c): Likewise.
2523 (CFLAGS-pread.c): Likewise.
2524 (CFLAGS-pread64.c): Likewise.
2525 (CFLAGS-pwrite.c): Likewise.
2526 (CFLAGS-pwrite64.c): Likewise.
2527 (CFLAGS-wait.c): Likewise.
2528 (CFLAGS-waitpid.c): Likewise.
2529 (CFLAGS-sigwait.c): Likewise.
2530 (CFLAGS-msgrcv.c): Likewise.
2531 (CFLAGS-msgsnd.c): Likewise.
2532 (CFLAGS-tcdrain.c): Likewise.
2533 (CFLAGS-open.c): Likewise.
2534 (CFLAGS-open64.c): Likewise.
2535 (CFLAGS-pause.c): Likewise.
2536 (CFLAGS-recv.c): Likewise.
2537 (CFLAGS-send.c): Likewise.
2538 (CFLAGS-accept.c): Likewise.
2539 (CFLAGS-sendto.c): Likewise.
2540 (CFLAGS-connect.c): Likewise.
2541 (CFLAGS-recvfrom.c): Likewise.
2542 (CFLAGS-recvmsg.c): Likewise.
2543 (CFLAGS-sendmsg.c): Likewise.
2544 (CFLAGS-close.c): Likewise.
2545 (CFLAGS-read.c): Likewise.
2546 (CFLAGS-write.c): Likewise.
2547 (CFLAGS-nanosleep.c): Likewise.
2548 (CFLAGS-sigsuspend.c): Likewise.
2549 (CFLAGS-msync.c): Likewise.
2550 (CFLAGS-fdatasync.c): Likewise.
2551 (CFLAGS-fsync.c): Likewise.
2552 (CFLAGS-pt-system.c): Likewise.
2553 (CFLAGS-tst-cleanup2.c): Likewise.
2554 (CFLAGS-tst-cleanupx2.c): Likewise.
2555 (CFLAGS-flockfile.c): Likewise.
2556 (CFLAGS-ftrylockfile.c): Likewise.
2557 (CFLAGS-funlockfile.c): Likewise.
2558 (CFLAGS-tst-initializers1.c): Likewise.
2559 (CFLAGS-tst-initializers1-c89.c): Likewise.
2560 (CFLAGS-tst-initializers1-c99.c): Likewise.
2561 (CFLAGS-tst-initializers1-c11.c): Likewise.
2562 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
2563 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
2564 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
2565 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
2566 (CFLAGS-nscd_getgr_r.c): Likewise.
2567 (CFLAGS-nscd_gethst_r.c): Likewise.
2568 (CFLAGS-nscd_getai.c): Likewise.
2569 (CFLAGS-nscd_initgroups.c): Likewise.
2570 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
2571 (CFLAGS-pause.c): Likewise.
2572 (CFLAGS-pread.c): Likewise.
2573 (CFLAGS-pread64.c): Likewise.
2574 (CFLAGS-pwrite.c): Likewise.
2575 (CFLAGS-pwrite64.c): Likewise.
2576 (CFLAGS-sleep.c): Likewise.
2577 (CFLAGS-wait.c): Likewise.
2578 (CFLAGS-waitid.c): Likewise.
2579 (CFLAGS-waitpid.c): Likewise.
2580 (CFLAGS-getopt.c): Likewise.
2581 (CFLAGS-wordexp.c): Likewise.
2582 (CFLAGS-sysconf.c): Likewise.
2583 (CFLAGS-pathconf.c): Likewise.
2584 (CFLAGS-fpathconf.c): Likewise.
2585 (CFLAGS-spawn.c): Likewise.
2586 (CFLAGS-spawnp.c): Likewise.
2587 (CFLAGS-spawni.c): Likewise.
2588 (CFLAGS-glob.c): Likewise.
2589 (CFLAGS-glob64.c): Likewise.
2590 (CFLAGS-getconf.c): Likewise.
2591 (CFLAGS-nanosleep.c): Likewise.
2592 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
2593 (CFLAGS-getpwent.c): Likewise.
2594 (CFLAGS-getpw.c): Likewise.
2595 (CFLAGS-fgetpwent_r.c): Likewise.
2596 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
2597 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
2598 (CFLAGS-mq_timedreceive.c): Likewise.
2599 (CFLAGS-mq_timedsend.c): Likewise.
2600 (CFLAGS-clock_nanosleep.c): Likewise.
2601 (CFLAGS-librt-cancellation.c): Likewise.
2602 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
2603 (CFLAGS-getspent.c): Likewise.
2604 (CFLAGS-fgetspent.c): Likewise.
2605 (CFLAGS-fgetspent_r.c): Likewise.
2606 (CFLAGS-putspent.c): Likewise.
2607 (CFLAGS-getspnam.c): Likewise.
2608 (CFLAGS-getspnam_r.c): Likewise.
2609 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
2610 (CFLAGS-sigsuspend.c): Likewise.
2611 (CFLAGS-sigtimedwait.c): Likewise.
2612 (CFLAGS-sigwait.c): Likewise.
2613 (CFLAGS-sigwaitinfo.c): Likewise.
2614 (CFLAGS-sigreturn.c): Likewise.
2615 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
2616 (CFLAGS-vfwprintf.c): Likewise.
2617 (CFLAGS-tmpfile.c): Likewise.
2618 (CFLAGS-tmpfile64.c): Likewise.
2619 (CFLAGS-tempname.c): Likewise.
2620 (CFLAGS-psignal.c): Likewise.
2621 (CFLAGS-vprintf.c): Likewise.
2622 (CFLAGS-cuserid.c): Likewise.
2623 (CFLAGS-errlist.c): Likewise.
2624 (CFLAGS-siglist.c): Likewise.
2625 (CFLAGS-scanf15.c): Likewise.
2626 (CFLAGS-scanf17.c): Likewise.
2627 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
2628 (CFLAGS-msort.c): Likewise.
2629 (CFLAGS-qsort.c): Likewise.
2630 (CFLAGS-system.c): Likewise.
2631 (CFLAGS-fmtmsg.c): Likewise.
2632 (CFLAGS-strfmon.c): Likewise.
2633 (CFLAGS-strfmon_l.c): Likewise.
2634 (CFLAGS-strfromd.c): Likewise.
2635 (CFLAGS-strfromf.c): Likewise.
2636 (CFLAGS-strfroml.c): Likewise.
2637 (CFLAGS-tst-bsearch.c): Likewise.
2638 (CFLAGS-tst-qsort.c): Likewise.
2639 (CFLAGS-tst-makecontext2.c): Likewise.
2640 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
2641 (CFLAGS-xnlm_prot.c): Likewise.
2642 (CFLAGS-xrstat.c): Likewise.
2643 (CFLAGS-xyppasswd.c): Likewise.
2644 (CFLAGS-xklm_prot.c): Likewise.
2645 (CFLAGS-xrex.c): Likewise.
2646 (CFLAGS-xsm_inter.c): Likewise.
2647 (CFLAGS-xmount.c): Likewise.
2648 (CFLAGS-xrusers.c): Likewise.
2649 (CFLAGS-xspray.c): Likewise.
2650 (CFLAGS-xnfs_prot.c): Likewise.
2651 (CFLAGS-xrquota.c): Likewise.
2652 (CFLAGS-xkey_prot.c): Likewise.
2653 (CFLAGS-auth_unix.c): Likewise.
2654 (CFLAGS-key_call.c): Likewise.
2655 (CFLAGS-pmap_rmt.c): Likewise.
2656 (CFLAGS-clnt_perr.c): Likewise.
2657 (CFLAGS-openchild.c): Likewise.
2658 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
2659 (CFLAGS-msgsnd.c): Likewise.
2660 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
2661 * time/Makefile (CFLAGS-tzfile.c): Likewise.
2662 (CFLAGS-tzset.c): Likewise.
2663 (CFLAGS-getdate.c): Likewise.
2664 (CFLAGS-test_time.c): Likewise.
2665 (CPPFLAGS-tst-tzname.c): Likewise.
2666 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
2667 (CFLAGS-zic.c): Likewise.
2668 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
2669 (CFLAGS-wcswidth.c): Likewise.
2670 (CFLAGS-wcstol.c): Likewise.
2671 (CFLAGS-wcstoul.c): Likewise.
2672 (CFLAGS-wcstoll.c): Likewise.
2673 (CFLAGS-wcstoull.c): Likewise.
2674 (CFLAGS-wcstod.c): Likewise.
2675 (CFLAGS-wcstold.c): Likewise.
2676 (CFLAGS-wcstof128.c): Likewise.
2677 (CFLAGS-wcstof.c): Likewise.
2678 (CFLAGS-wcstol_l.c): Likewise.
2679 (CFLAGS-wcstoul_l.c): Likewise.
2680 (CFLAGS-wcstoll_l.c): Likewise.
2681 (CFLAGS-wcstoull_l.c): Likewise.
2682 (CFLAGS-wcstod_l.c): Likewise.
2683 (CFLAGS-wcstold_l.c): Likewise.
2684 (CFLAGS-wcstof128_l.c): Likewise.
2685 (CFLAGS-wcstof_l.c): Likewise.
2686 (CPPFLAGS-tst-wchar-h.c): Likewise.
2687 (CPPFLAGS-wcstold_l.c): Likewise.
2689 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
2691 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
2693 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2694 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2696 * manual/tunables.texi (Hardware Capability Tunables): Document
2697 glibc.tune.cached_memopt.
2698 * sysdeps/powerpc/cpu-features.c: New file.
2699 * sysdeps/powerpc/cpu-features.h: New file.
2700 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
2701 _dl_powerpc_cpu_features.
2702 * sysdeps/powerpc/dl-tunables.list: New file.
2703 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
2704 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
2705 (INIT_ARCH): Initialize use_aligned_memopt.
2706 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
2707 IS_IN(rtld))]: Restrict dl_platform_init availability and
2708 initialize CPU features used by tunables.
2709 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
2710 Add memcpy-power8-cached.
2711 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
2712 __memcpy_power8_cached.
2713 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
2714 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
2717 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
2719 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
2720 (CFLAGS-noinl-tester.c): Likewise.
2721 (CFLAGS-tst-strlen.c): Likewise.
2722 (CFLAGS-stratcliff.c): Likewise.
2723 (CFLAGS-test-ffs.c): Likewise.
2724 (CFLAGS-tst-inlcall.c): Likewise.
2725 (CFLAGS-tst-xbzero-opt.c): Likewise.
2726 (CFLAGS-memcpy.c): Likewise.
2727 (CFLAGS-wordcopy.c): Likewise.
2729 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2731 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
2732 Store r15 on stack and add cfi rule.
2733 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
2736 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
2739 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
2742 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
2744 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2745 Add s_sinf-sse2 and s_sinf-fma.
2746 (CFLAGS-s_sinf-fma.c): New.
2747 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
2748 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
2749 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
2751 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
2753 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
2755 2017-12-07 Joseph Myers <joseph@codesourcery.com>
2758 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
2759 part of result to imaginary part of argument if it is zero and the
2760 real part of the argument is not finite.
2761 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
2762 of result to real part of argument if it is zero and the imaginary
2763 part of the argument is not finite.
2765 2017-12-07 Mike FABIAN <mfabian@redhat.com>
2768 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
2769 and to the list of locales to be built for testing.
2770 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
2771 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
2772 and build the collation rules upon that.
2774 2017-12-07 Joseph Myers <joseph@codesourcery.com>
2776 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
2777 * manual/math.texi (Mathematics): Document support for _Float32.
2778 * math/Makefile (test-types): Add float32.
2779 * math/Versions (GLIBC_2.27): Add _Float32 functions.
2780 * stdlib/Versions (GLIBC_2.27): Likewise.
2781 * wcsmbs/Versions (GLIBC_2.27): Likewise.
2782 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
2783 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2784 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2785 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2786 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2787 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2788 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2789 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2790 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2791 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2792 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2793 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2794 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2795 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2796 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2797 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2798 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2799 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2800 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2801 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2802 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
2804 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2805 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2806 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2807 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2808 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2826 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2827 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2828 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2829 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2830 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2831 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2832 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2833 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2834 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2835 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2836 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
2838 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2840 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
2842 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2844 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2845 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2846 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2847 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2848 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2849 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2850 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
2851 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
2853 2017-12-06 Joseph Myers <joseph@codesourcery.com>
2855 * stdlib/strtof.c: Include <bits/floatn.h>
2856 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
2857 and later undefine as macro. Define as weak alias if
2859 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
2860 and later undefine as macro. Define as weak alias if
2862 * stdlib/strtof_l.c: Include <bits/floatn.h>
2863 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
2864 and later undefine as macro. Define as weak alias if
2866 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
2867 and later undefine as macro. Define as weak alias if
2870 * stdlib/strfromf.c: Include <bits/floatn.h>.
2871 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
2872 and later undefine as macro and define as weak alias.
2874 * math/test-float32.h: New file.
2876 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
2877 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
2878 (libm_alias_float_other_r): Create f32 alias.
2879 (libm_alias_float_r): Use semicolon before call to
2880 libm_alias_float_other_r.
2882 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
2883 second argument to libm_alias_float_other.
2884 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
2885 second argument to libm_alias_float_other.
2886 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
2887 argument to libm_alias_float_other.
2890 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
2891 real part of result for argument 0 + i * NaN.
2892 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
2893 results for tests of 0 + i * NaN.
2895 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2897 * sysdeps/alpha/fpu/libm-test-ulps: Update.
2899 2017-12-06 David S. Miller <davem@davemloft.net>
2901 * sysdeps/sparc/fpu/libm-test-ulps: Update
2902 exp_{downward,towardzero,upward} ulps.
2904 2017-12-06 Joseph Myers <joseph@codesourcery.com>
2906 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
2909 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
2911 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
2913 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
2915 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
2918 2017-12-06 Mike FABIAN <mfabian@redhat.com>
2921 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
2922 and to the list of locales to be built for testing.
2923 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
2924 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
2925 and build the collation rules upon that.
2927 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2929 * NEWS: Add sinf to list of optimized functions.
2931 2017-12-06 Joseph Myers <joseph@codesourcery.com>
2933 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
2934 (__HAVE_FLOAT32X): Likewise.
2935 * manual/math.texi (Mathematics): Document support for _Float64
2937 * math/Makefile (test-types): Add float64 and float32x.
2938 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
2940 * stdlib/Versions (GLIBC_2.27): Likewise.
2941 * wcsmbs/Versions (GLIBC_2.27): Likewise.
2942 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
2943 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2944 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2945 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2946 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2947 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2948 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2949 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2950 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2951 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2952 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2953 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2954 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2955 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2956 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2957 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2958 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2959 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2960 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2961 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2962 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
2964 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2965 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2966 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2967 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2968 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2985 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2986 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2987 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2988 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2989 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2990 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2991 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2992 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2993 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2994 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2995 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
2997 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2999 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
3001 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3003 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
3004 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3005 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3006 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3007 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3008 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3009 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
3010 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
3012 2017-12-05 Joseph Myers <joseph@codesourcery.com>
3014 * bits/floatn-common.h: Include <bits/long-double.h>.
3015 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
3016 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
3017 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
3018 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
3019 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
3020 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
3021 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
3022 (__builtin_huge_valf64): Use __builtin_huge_vall.
3023 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
3024 (__builtin_inff64): Use __builtin_infl.
3025 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
3026 (__builtin_nanf64): Use __builtin_nanl.
3027 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
3028 (__builtin_nansf64): Use __builtin_nansl.
3030 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>,
3031 Paul E. Murphy <murphyp@linux.vnet.ibm.com>,
3032 Carlos O'Donnell <carlos@redhat.com>
3034 * elf/dl-tunables.list: Add elision parameters.
3035 * manual/tunables.texi: Add entries about elision tunable.
3036 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
3037 Add callback functions to dynamically enable/disable elision.
3038 Add multiple callbacks functions to set elision parameters.
3039 Deleted __libc_enable_secure check.
3040 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
3041 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
3042 * configure: Regenerated.
3043 * configure.ac: Option enable_lock_elision was deleted.
3044 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
3045 * config.make.in: Remove references to enable_lock_elision.
3046 * manual/install.texi: Elision configure option was removed.
3047 * INSTALL: Regenerated to remove enable_lock_elision.
3049 Disable elision so it can verify error case for destroying a mutex.
3050 * sysdeps/powerpc/nptl/elide.h:
3051 Cleanup ENABLE_LOCK_ELISION check.
3052 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
3053 * sysdeps/s390/configure: Regenerated.
3054 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
3055 * nptl/tst-mutex8.c:
3056 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
3057 * sysdeps/powerpc/powerpc32/sysdep.h:
3058 Deleted all ENABLE_LOCK_ELISION checks.
3059 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
3060 * sysdeps/powerpc/sysdep.h: Likewise.
3061 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
3062 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
3063 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
3064 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
3065 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3066 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
3067 enable-lock-elision.
3069 2017-12-05 Joseph Myers <joseph@codesourcery.com>
3071 * stdlib/strtod.c: Include <bits/floatn.h>.
3072 (BUILD_DOUBLE): New macro.
3073 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
3074 (strtof64): Define and later undefine as macro. Define as weak
3075 alias if [!USE_WIDE_CHAR].
3076 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
3077 (wcstof64): Define and later undefine as macro. Define as weak
3078 alias if [USE_WIDE_CHAR].
3079 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
3080 (strtof32x): Define and later undefine as macro. Define as weak
3081 alias if [!USE_WIDE_CHAR].
3082 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
3083 (wcstof32x): Define and later undefine as macro. Define as weak
3084 alias if [USE_WIDE_CHAR].
3085 * stdlib/strtod_l.c: Include <bits/floatn.h>.
3086 (BUILD_DOUBLE): New macro.
3087 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
3088 (strtof64_l): Define and later undefine as macro. Define as weak
3089 alias if [!USE_WIDE_CHAR].
3090 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
3091 (wcstof64_l): Define and later undefine as macro. Define as weak
3092 alias if [USE_WIDE_CHAR].
3093 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
3094 (strtof32x_l): Define and later undefine as macro. Define as weak
3095 alias if [!USE_WIDE_CHAR].
3096 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
3097 (wcstof32x_l): Define and later undefine as macro. Define as weak
3098 alias if [USE_WIDE_CHAR].
3100 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3102 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
3103 (reduced): Use ones as double instead of integer.
3105 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
3107 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
3109 2017-12-05 Joseph Myers <joseph@codesourcery.com>
3111 * stdlib/strfromd.c: Include <bits/floatn.h>.
3112 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
3113 and later undefine as macro and define as weak alias.
3114 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
3117 * math/test-float32x.h: New file.
3118 * math/test-float64.h: Likewise.
3120 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
3121 (libm_alias_double_other_r_f64): New macro.
3122 (libm_alias_double_other_r_f32x): Likewise.
3123 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
3124 libm_alias_double_other_r_f32x.
3125 (libm_alias_double_r): Use semicolon before call to
3126 libm_alias_double_other_r.
3127 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
3129 (libm_alias_double_other_r_f64): New macro.
3130 (libm_alias_double_other_r_f32x): Likewise.
3131 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
3132 libm_alias_double_other_r_f32x.
3134 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
3136 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
3138 (SINF_FUNC): Likewise. Replace floor with simple casts.
3140 2017-12-05 Mike FABIAN <mfabian@redhat.com>
3143 * localedata/Makefile: Add et_EE.UTF-8 to test-input
3144 and to the list of locales to be built for testing.
3145 * localedata/et_EE.UTF-8.in: New file for testing the collation.
3146 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
3147 and build the collation rules upon that.
3149 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
3151 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
3152 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
3153 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
3154 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
3155 instead of __insn__xxx.
3156 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
3157 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
3158 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
3159 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
3160 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
3161 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
3163 2017-12-05 Florian Weimer <fweimer@redhat.com>
3165 Linux: Implement interfaces for memory protection keys
3166 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
3168 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
3169 * support/xunistd.h (xsysconf): Declare.
3170 * support/xraise.c: New file.
3171 * support/xsigaction.c: Likewise.
3172 * support/xsignal.c: Likewise.
3173 * support/xsysconf.c: Likewise.
3174 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
3175 pkey_set, pkey_get, pkey_mprotect.
3176 [misc] (tests): Add tst-pkey.
3177 (tst-pkey): Link with -lpthread.
3178 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
3179 pkey_free, pkey_set, pkey_get, pkey_mprotect.
3180 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
3181 (PKEY_DISABLE_WRITE): Define.
3182 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
3184 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
3186 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
3187 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
3188 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
3189 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
3191 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
3192 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
3193 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
3194 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
3195 * sysdeps/unix/sysv/linux/**.abilist: Update.
3197 2017-12-05 Florian Weimer <fweimer@redhat.com>
3199 * support/tst-test_compare.c (subprocess): Use long long instead
3200 of long argument for consistent type width across 32-bit and
3201 64-bit architectures.
3202 (do_test): Adjust expected output.
3204 2017-12-05 Joseph Myers <joseph@codesourcery.com>
3206 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
3207 (cosf): Define using libm_alias_float.
3208 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
3209 (fabsf): Define using libm_alias_float.
3210 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
3211 (fmaf): Define using libm_alias_float.
3212 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
3213 (rintf): Define using libm_alias_float.
3214 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
3215 (sinf): Define using libm_alias_float.
3216 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
3217 <libm-alias-float.h>.
3218 (modff): Define using libm_alias_float.
3219 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
3220 <libm-alias-float.h>.
3221 (logbf): Define using libm_alias_float.
3222 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
3223 <libm-alias-float.h>.
3224 (ceilf): Define using libm_alias_float.
3225 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
3226 <libm-alias-float.h>.
3227 (copysignf): Define using libm_alias_float.
3228 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
3229 <libm-alias-float.h>.
3230 (floorf): Define using libm_alias_float.
3231 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
3232 <libm-alias-float.h>.
3233 (llrintf): Define using libm_alias_float.
3234 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
3235 <libm-alias-float.h>.
3236 (llroundf): Define using libm_alias_float.
3237 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
3238 <libm-alias-float.h>.
3239 (lrintf): Define using libm_alias_float.
3240 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
3241 <libm-alias-float.h>.
3242 (lroundf): Define using libm_alias_float.
3243 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
3244 <libm-alias-float.h>.
3245 (nearbyintf): Define using libm_alias_float.
3246 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
3247 <libm-alias-float.h>.
3248 (rintf): Define using libm_alias_float.
3249 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
3250 <libm-alias-float.h>.
3251 (roundf): Define using libm_alias_float.
3252 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
3253 <libm-alias-float.h>.
3254 (truncf): Define using libm_alias_float.
3255 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
3256 Include <libm-alias-float.h>.
3257 (ceilf): Define using libm_alias_float.
3258 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
3259 Include <libm-alias-float.h>.
3260 (copysignf): Define using libm_alias_float.
3261 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
3262 Include <libm-alias-float.h>.
3263 (floorf): Define using libm_alias_float.
3264 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
3265 Include <libm-alias-float.h>.
3266 (llrintf): Define using libm_alias_float.
3267 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
3268 Include <libm-alias-float.h>.
3269 (llroundf): Define using libm_alias_float.
3270 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
3271 Include <libm-alias-float.h>.
3272 (logbf): Define using libm_alias_float.
3273 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
3274 Include <libm-alias-float.h>.
3275 (lrintf): Define using libm_alias_float.
3276 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
3277 Include <libm-alias-float.h>.
3278 (lroundf): Define using libm_alias_float.
3279 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
3280 Include <libm-alias-float.h>.
3281 (modff): Define using libm_alias_float.
3282 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
3283 Include <libm-alias-float.h>.
3284 (roundf): Define using libm_alias_float.
3285 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
3286 Include <libm-alias-float.h>.
3287 (truncf): Define using libm_alias_float.
3288 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
3289 <libm-alias-float.h>.
3290 (llrintf): Define using libm_alias_float.
3291 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
3292 <libm-alias-float.h>.
3293 (llroundf): Define using libm_alias_float.
3294 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
3295 <libm-alias-float.h>.
3296 (ceilf): Define using libm_alias_float.
3297 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
3298 <libm-alias-float.h>.
3299 (floorf): Define using libm_alias_float.
3300 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
3301 <libm-alias-float.h>.
3302 (llroundf): Define using libm_alias_float.
3303 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
3304 <libm-alias-float.h>.
3305 (lroundf): Define using libm_alias_float.
3306 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
3307 <libm-alias-float.h>.
3308 (roundf): Define using libm_alias_float.
3309 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
3310 <libm-alias-float.h>.
3311 (truncf): Define using libm_alias_float.
3312 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
3313 <libm-alias-float.h>.
3314 (copysignf): Define using libm_alias_float.
3315 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
3316 <libm-alias-float.h>.
3317 (llrintf): Define using libm_alias_float.
3318 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
3319 <libm-alias-float.h>.
3320 (llroundf): Define using libm_alias_float.
3321 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
3322 <libm-alias-float.h>.
3323 (lrintf): Define using libm_alias_float.
3324 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
3325 <libm-alias-float.h>.
3326 (lroundf): Define using libm_alias_float.
3327 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
3328 <libm-alias-float.h>.
3329 (ceilf): Define using libm_alias_float.
3330 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
3331 <libm-alias-float.h>.
3332 (copysignf): Define using libm_alias_float.
3333 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
3334 <libm-alias-float.h>.
3335 (cosf): Define using libm_alias_float.
3336 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
3337 <libm-alias-float.h>.
3338 (floorf): Define using libm_alias_float.
3339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
3340 <libm-alias-float.h>.
3341 (llrintf): Define using libm_alias_float.
3342 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
3343 <libm-alias-float.h>.
3344 (llroundf): Define using libm_alias_float.
3345 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
3346 <libm-alias-float.h>.
3347 (logbf): Define using libm_alias_float.
3348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
3349 <libm-alias-float.h>.
3350 (modff): Define using libm_alias_float.
3351 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
3352 <libm-alias-float.h>.
3353 (roundf): Define using libm_alias_float.
3354 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
3355 <libm-alias-float.h>.
3356 (sinf): Define using libm_alias_float.
3357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
3358 <libm-alias-float.h>.
3359 (truncf): Define using libm_alias_float.
3360 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
3361 <libm-alias-float.h>.
3362 (ceilf): Define using libm_alias_float.
3363 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
3364 <libm-alias-float.h>.
3365 (copysignf): Define using libm_alias_float.
3366 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
3367 <libm-alias-float.h>.
3368 (floorf): Define using libm_alias_float.
3369 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
3370 <libm-alias-float.h>.
3371 (llrintf): Define using libm_alias_float.
3372 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
3373 <libm-alias-float.h>.
3374 (llroundf): Define using libm_alias_float.
3375 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
3376 <libm-alias-float.h>.
3377 (nearbyintf): Define using libm_alias_float.
3378 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
3379 <libm-alias-float.h>.
3380 (rintf): Define using libm_alias_float.
3381 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
3382 <libm-alias-float.h>.
3383 (roundf): Define using libm_alias_float.
3384 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
3385 <libm-alias-float.h>.
3386 (truncf): Define using libm_alias_float.
3387 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
3388 <libm-alias-float.h>.
3389 (ceilf): Define using libm_alias_float.
3390 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
3391 <libm-alias-float.h>.
3392 (floorf): Define using libm_alias_float.
3393 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
3394 <libm-alias-float.h>.
3395 (llroundf): Define using libm_alias_float.
3396 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
3397 <libm-alias-float.h>.
3398 (roundf): Define using libm_alias_float.
3399 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
3400 <libm-alias-float.h>.
3401 (truncf): Define using libm_alias_float.
3402 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
3403 <libm-alias-float.h>.
3404 (copysignf): Define using libm_alias_float.
3405 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
3406 <libm-alias-float.h>.
3407 (llrintf): Define using libm_alias_float.
3408 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
3409 <libm-alias-float.h>.
3410 (llroundf): Define using libm_alias_float.
3411 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
3412 <libm-alias-float.h>.
3413 (cosf): Define using libm_alias_float.
3414 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
3415 <libm-alias-float.h>.
3416 (llrintf): Define using libm_alias_float.
3417 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
3418 <libm-alias-float.h>.
3419 (llroundf): Define using libm_alias_float.
3420 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
3421 <libm-alias-float.h>.
3422 (sinf): Define using libm_alias_float.
3424 2017-12-04 Florian Weimer <fweimer@redhat.com>
3426 * support/check.h (TEST_COMPARE): Define.
3427 (support_test_compare_failure): Declare.
3428 * support/Makefile (libsupport-routines): Add
3429 support_test_compare_failure.
3430 (tests): Add tst-test_compare.
3431 * support /support_test_compare_failure.c: New file.
3432 * support/tst-test_compare.c: Likewise.
3434 2017-12-04 Mike FABIAN <mfabian@redhat.com>
3437 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
3438 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
3439 available, this rewrite of the collation rules does reproduce
3440 the test file in the same order.
3442 2017-12-04 Mike FABIAN <mfabian@redhat.com>
3445 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
3446 digraphs in the month and day names. Using single code points for
3447 digraphs is deprecated. While there are dedicated Unicode
3448 codepoints, for the digraphs, these are included for backwards
3449 compatibility and modern texts use a sequence of Basic Latin
3450 characters. See: https://www.unicode.org/faq/ligature_digraph.html
3451 This makes the month and day names agree exactly with CLDR now,
3452 CLDR does not use the single code points for the digraphs either.
3454 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
3456 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
3458 2017-12-04 Joseph Myers <joseph@codesourcery.com>
3460 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
3463 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
3465 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
3466 Define only for libc.so.
3468 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
3470 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
3471 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
3472 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
3473 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
3474 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3476 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3479 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
3481 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
3484 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
3485 PREINIT_FUNCTION_WEAK is nonzero.
3486 (gmon_initializer): New function. Put procedure label for it in
3487 .init_array section.
3488 (_init): Don't call PREINIT_FUNCTION.
3489 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
3490 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
3491 value when map argument is null.
3493 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
3494 depi instruction from PIC pc-relative sequence.
3495 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
3496 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
3497 (elf_machine_load_address): Likewise.
3498 (elf_machine_runtime_setup): Likewise.
3500 2017-12-02 Joseph Myers <joseph@codesourcery.com>
3502 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
3503 <libm-alias-double.h>.
3504 (logb): Define using libm_alias_double.
3505 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
3506 <libm-alias-double.h>.
3507 (copysign): Define using libm_alias_double.
3508 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
3509 <libm-alias-double.h>.
3510 (llrint): Define using libm_alias_double.
3511 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
3512 <libm-alias-double.h>.
3513 (llround): Define using libm_alias_double.
3514 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
3515 <libm-alias-double.h>.
3516 (lrint): Define using libm_alias_double.
3517 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
3518 <libm-alias-double.h>.
3519 (lround): Define using libm_alias_double.
3520 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
3521 Include <libm-alias-double.h>.
3522 (copysign): Define using libm_alias_double.
3523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
3524 Include <libm-alias-double.h>.
3525 (llrint): Define using libm_alias_double.
3526 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
3527 Include <libm-alias-double.h>.
3528 (llround): Define using libm_alias_double.
3529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
3530 <libm-alias-double.h>.
3531 (logb): Define using libm_alias_double.
3532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
3533 Include <libm-alias-double.h>.
3534 (lrint): Define using libm_alias_double.
3535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
3536 Include <libm-alias-double.h>.
3537 (lround): Define using libm_alias_double.
3538 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
3539 <libm-alias-double.h>.
3540 (llrint): Define using libm_alias_double.
3541 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
3542 <libm-alias-double.h>.
3543 (llround): Define using libm_alias_double.
3544 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
3545 <libm-alias-double.h>.
3546 (llround): Define using libm_alias_double.
3547 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
3548 <libm-alias-double.h>.
3549 (lround): Define using libm_alias_double.
3550 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
3551 <libm-alias-double.h>.
3552 (copysign): Define using libm_alias_double.
3553 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
3554 <libm-alias-double.h>.
3555 (llrint): Define using libm_alias_double.
3556 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
3557 <libm-alias-double.h>.
3558 (llround): Define using libm_alias_double.
3559 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
3560 <libm-alias-double.h>.
3561 (lrint): Define using libm_alias_double.
3562 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
3563 <libm-alias-double.h>.
3564 (lround): Define using libm_alias_double.
3565 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
3566 <libm-alias-double.h>.
3567 (copysign): Define using libm_alias_double.
3568 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
3569 <libm-alias-double.h>.
3570 (llrint): Define using libm_alias_double.
3572 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
3573 <libm-alias-double.h>.
3574 (llround): Define using libm_alias_double.
3576 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
3577 <libm-alias-double.h>.
3578 (logb): Define using libm_alias_double.
3579 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
3580 <libm-alias-double.h>.
3581 (copysign): Define using libm_alias_double.
3582 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
3583 <libm-alias-double.h>.
3584 (llrint): Define using libm_alias_double.
3586 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
3587 <libm-alias-double.h>.
3588 (llround): Define using libm_alias_double.
3590 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
3591 <libm-alias-double.h>.
3592 (llround): Define using libm_alias_double.
3594 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
3595 <libm-alias-double.h>.
3596 (copysign): Define using libm_alias_double.
3597 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
3598 <libm-alias-double.h>.
3599 (llrint): Define using libm_alias_double.
3601 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
3602 <libm-alias-double.h>.
3603 (llround): Define using libm_alias_double.
3605 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
3606 <libm-alias-double.h>.
3607 (llrint): Define using libm_alias_double.
3609 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
3610 <libm-alias-double.h>.
3611 (llround): Define using libm_alias_double.
3614 2017-12-01 Joseph Myers <joseph@codesourcery.com>
3616 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
3617 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
3618 compat symbol based on llround.
3620 * sysdeps/powerpc/power7/fpu/s_logb.c
3621 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
3622 symbol based on __logb, not on logb.
3623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
3624 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
3625 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
3626 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
3628 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
3629 (rint): Define using libm_alias_double.
3630 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
3631 <libm-alias-double.h>.
3632 (modf): Define using libm_alias_double.
3633 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
3634 <libm-alias-double.h>.
3635 (ceil): Define using libm_alias_double.
3636 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
3637 <libm-alias-double.h>.
3638 (floor): Define using libm_alias_double.
3639 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
3640 <libm-alias-double.h>.
3641 (nearbyint): Define using libm_alias_double.
3642 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
3643 <libm-alias-double.h>.
3644 (rint): Define using libm_alias_double.
3645 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
3646 <libm-alias-double.h>.
3647 (round): Define using libm_alias_double.
3648 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
3649 <libm-alias-double.h>.
3650 (trunc): Define using libm_alias_double.
3651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
3652 <libm-alias-double.h>.
3653 (ceil): Define using libm_alias_double.
3654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
3655 Include <libm-alias-double.h>.
3656 (floor): Define using libm_alias_double.
3657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
3658 <libm-alias-double.h>.
3659 (modf): Define using libm_alias_double.
3660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
3661 Include <libm-alias-double.h>.
3662 (round): Define using libm_alias_double.
3663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
3664 Include <libm-alias-double.h>.
3665 (trunc): Define using libm_alias_double.
3666 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
3667 <libm-alias-double.h>.
3668 (ceil): Define using libm_alias_double.
3669 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
3670 <libm-alias-double.h>.
3671 (floor): Define using libm_alias_double.
3672 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
3673 <libm-alias-double.h>.
3674 (round): Define using libm_alias_double.
3675 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
3676 <libm-alias-double.h>.
3677 (trunc): Define using libm_alias_double.
3678 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
3679 <libm-alias-double.h>.
3680 (ceil): Define using libm_alias_double.
3681 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
3682 <libm-alias-double.h>.
3683 (floor): Define using libm_alias_double.
3684 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
3685 <libm-alias-double.h>.
3686 (modf): Define using libm_alias_double.
3687 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
3688 <libm-alias-double.h>.
3689 (round): Define using libm_alias_double.
3690 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
3691 <libm-alias-double.h>.
3692 (trunc): Define using libm_alias_double.
3693 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
3694 <libm-alias-double.h>.
3695 (ceil): Define using libm_alias_double.
3696 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
3697 <libm-alias-double.h>.
3698 (floor): Define using libm_alias_double.
3699 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
3700 <libm-alias-double.h>.
3701 (nearbyint): Define using libm_alias_double.
3702 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
3703 <libm-alias-double.h>.
3704 (rint): Define using libm_alias_double.
3705 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
3706 <libm-alias-double.h>.
3707 (round): Define using libm_alias_double.
3708 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
3709 <libm-alias-double.h>.
3710 (trunc): Define using libm_alias_double.
3711 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
3712 <libm-alias-double.h>.
3713 (ceil): Define using libm_alias_double.
3714 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
3715 <libm-alias-double.h>.
3716 (floor): Define using libm_alias_double.
3717 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
3718 <libm-alias-double.h>.
3719 (round): Define using libm_alias_double.
3720 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
3721 <libm-alias-double.h>.
3722 (trunc): Define using libm_alias_double.
3724 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
3725 (fabs): Define using libm_alias_double.
3726 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
3727 (fma): Define using libm_alias_double.
3728 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
3729 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
3730 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
3731 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
3733 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3735 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
3737 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
3738 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
3739 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
3741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
3744 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
3746 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
3748 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3750 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
3751 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
3752 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
3753 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
3755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
3756 (libm-sysdep_routines): Add s_nearbyintf-generic and
3757 s_nearbyint-generic.
3758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
3760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
3761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
3763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
3765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
3767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
3770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
3771 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
3772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
3774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
3775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
3777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
3778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
3779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
3781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
3782 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
3783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
3785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
3786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
3788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
3789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
3790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
3792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
3793 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
3794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
3796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
3797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
3799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
3800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
3801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
3803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
3804 (sysdep_calls): New rule.
3805 (sysdep_routines): Use sysdep_calls as base.
3806 (libm-sysdep_routines): Add generic rule for symbols shared with
3807 libc. Add s_copysign-generic and s_copysign-generic objects.
3808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
3810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
3811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
3813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
3814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
3815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
3817 2017-12-01 Mike FABIAN <mfabian@redhat.com>
3820 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
3821 the list of locales to be built for testing.
3822 * localedata/is_IS.UTF-8.in: New file.
3823 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
3826 2017-12-01 Joseph Myers <joseph@codesourcery.com>
3828 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
3829 <libm-alias-float.h>.
3830 (fabsf): Define using libm_alias_float.
3832 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
3834 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
3836 2017-11-30 Joseph Myers <joseph@codesourcery.com>
3838 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
3839 <libm-alias-float.h>.
3840 (fabsf): Define using libm_alias_float.
3841 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
3842 <libm-alias-float.h>.
3843 (lrintf): Define using libm_alias_float.
3844 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
3845 <libm-alias-float.h>.
3846 (rintf): Define using libm_alias_float.
3848 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
3849 <libm-alias-double.h>.
3850 (fabs): Define using libm_alias_double.
3851 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
3852 <libm-alias-double.h>.
3853 (lrint): Define using libm_alias_double.
3854 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
3855 <libm-alias-double.h>.
3856 (rint): Define using libm_alias_double.
3858 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
3859 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
3860 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
3861 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
3862 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
3863 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
3864 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
3865 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
3866 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
3867 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
3868 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
3869 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
3870 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
3871 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
3872 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
3873 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
3874 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
3875 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
3877 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
3878 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
3879 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
3881 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
3882 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
3883 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
3885 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
3886 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
3887 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
3889 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
3890 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
3891 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
3893 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
3894 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
3895 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
3897 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
3898 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
3899 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
3901 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
3902 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
3904 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
3905 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
3906 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
3908 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
3909 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
3910 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
3911 s_nearbyint_template.c.
3912 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
3913 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
3914 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
3915 s_remquo_template.c.
3916 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
3917 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
3918 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
3920 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
3921 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
3922 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
3924 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
3925 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
3926 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
3927 s_sincos_template.c.
3928 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
3929 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
3930 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
3932 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
3933 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
3934 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
3936 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
3937 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
3938 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
3940 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
3941 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
3942 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
3943 s_atan.c instead of including s_atan.c.
3944 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
3945 s_atanf.c instead of including s_atanf.c.
3946 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
3947 s_atanl.c instead of including s_atanl.c.
3948 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
3949 instead of s_atan.c.
3950 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
3951 instead of s_atanf.c.
3952 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
3953 instead of s_atanl.c.
3955 * scripts/update-copyrights: Do not handle intl/plural.c
3958 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
3961 * configure.ac (BISON): Require to be present.
3962 * configure: Regenerated.
3963 * intl/Makefile (generated): Add plural.c.
3964 [$(BISON) != no]: Make code unconditional.
3965 (plural.c): Change rule to $(objpfx)plural.c.
3966 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
3967 * intl/plural.c: Remove.
3968 * manual/install.texi (Tools for Compilation): Document bison as
3970 * INSTALL: Regenerated.
3972 2017-11-30 Joseph Myers <joseph@codesourcery.com>
3974 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
3975 <libm-alias-double.h>.
3976 (llrint): Define using libm_alias_double.
3977 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
3978 <libm-alias-float.h>.
3979 (llrintf): Define using libm_alias_float.
3980 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
3981 <libm-alias-ldouble.h>.
3982 (llrintl): Define using libm_alias_ldouble.
3984 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
3985 declare_mgen_alias instead of weak_alias.
3986 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
3987 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
3988 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
3990 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3992 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
3994 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
3995 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
3996 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
3998 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
3999 Add submul_1-generic.
4000 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
4001 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
4002 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
4004 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
4005 Add addmul_1-generic.
4006 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
4007 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
4008 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
4010 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
4012 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
4013 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
4014 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
4016 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
4018 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
4019 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
4020 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
4022 2017-11-30 Mike FABIAN <mfabian@redhat.com>
4024 According to CLDR, collation rules for Serbian and Bosnian
4025 should be the same as for Croatian.
4028 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
4029 and to the list of locales to be built for testing.
4030 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
4031 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
4032 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
4033 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
4035 2017-11-30 Mike FABIAN <mfabian@redhat.com>
4037 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
4038 to make test case pass.
4039 * localedata/hr_HR.UTF-8.in: Add more test strings.
4041 2017-11-30 Mike FABIAN <mfabian@redhat.com>
4043 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
4045 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
4047 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
4048 the list of locales to built for testing.
4049 * localedata/hr_HR.UTF-8.in: New file.
4051 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
4054 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
4056 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
4057 CLDR (except use ligatures for the digraphs, CLDR does not use
4058 the ligatures), add first_workday, some fixes in the date and time
4060 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
4062 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
4063 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
4064 Add int_p_cs_precedes and int_n_cs_precedes.
4065 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
4066 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
4068 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
4069 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
4071 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
4072 and lang_lib. Change postal_fmt.
4074 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
4076 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
4078 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
4079 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
4080 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
4081 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
4082 * sysdeps/generic/setjmpP.h: New file.
4083 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
4084 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
4085 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
4086 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
4087 Add jmp_buf-ssp.sym.
4088 (tests): Add tst-saved_mask-1.
4090 2017-11-30 Arjun Shankar <arjun@redhat.com>
4094 * malloc/malloc.c (__libc_malloc): Use checked_request2size
4095 instead of request2size.
4097 2017-11-30 Joseph Myers <joseph@codesourcery.com>
4099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
4100 (__lllrint): Remove alias.
4101 (lllrint): Likewise.
4102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
4103 (__lllrintf): Likewise.
4104 (lllrintf): Likewise.
4106 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
4107 <libm-alias-float.h>.
4108 (copysignf): Define using libm_alias_float.
4109 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
4110 <libm-alias-float.h>.
4111 (fabsf): Define using libm_alias_float.
4112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
4113 Include <libm-alias-float.h>.
4114 (copysignf): Define using libm_alias_float.
4115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
4116 <libm-alias-float.h>.
4117 (fabsf): Define using libm_alias_float.
4118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
4119 <libm-alias-float.h>.
4120 (fdimf): Define using libm_alias_float.
4121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
4122 <libm-alias-float.h>.
4123 (fmaf): Define using libm_alias_float.
4124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
4125 <libm-alias-float.h>.
4126 (llrintf): Define using libm_alias_float.
4127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
4128 Include <libm-alias-float.h>.
4129 (nearbyintf): Define using libm_alias_float.
4130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
4131 <libm-alias-float.h>.
4132 (rintf): Define using libm_alias_float.
4133 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
4134 <libm-alias-float.h>.
4135 (llrintf): Define using libm_alias_float.
4136 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
4137 <libm-alias-float.h>.
4138 (lrintf): Define using libm_alias_float.
4139 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
4140 <libm-alias-float.h>.
4141 (nearbyintf): Define using libm_alias_float.
4142 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
4143 <libm-alias-float.h>.
4144 (rintf): Define using libm_alias_float.
4145 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
4146 <libm-alias-float.h>.
4147 (ceilf): Define using libm_alias_float.
4148 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
4149 <libm-alias-float.h>.
4150 (floorf): Define using libm_alias_float.
4151 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
4152 <libm-alias-float.h>.
4153 (fmaf): Define using libm_alias_float.
4154 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
4155 <libm-alias-float.h>.
4156 (lrintf): Define using libm_alias_float.
4157 (llrintf): Likewise.
4158 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
4159 <libm-alias-float.h>.
4160 (nearbyintf): Define using libm_alias_float.
4161 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
4162 <libm-alias-float.h>.
4163 (rintf): Define using libm_alias_float.
4164 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
4165 <libm-alias-float.h>.
4166 (truncf): Define using libm_alias_float.
4167 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
4168 <libm-alias-float.h>.
4169 (copysignf): Define using libm_alias_float.
4170 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
4171 <libm-alias-float.h>.
4172 (fabsf): Define using libm_alias_float.
4173 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
4174 <libm-alias-float.h>.
4175 (lrintf): Define using libm_alias_float.
4176 (llrintf): Likewise.
4177 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
4178 <libm-alias-float.h>.
4179 (nearbyintf): Define using libm_alias_float.
4180 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
4181 <libm-alias-float.h>.
4182 (rintf): Define using libm_alias_float.
4184 2017-11-29 Joseph Myers <joseph@codesourcery.com>
4186 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
4187 <libm-alias-double.h>.
4188 (copysign): Define using libm_alias_double.
4189 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
4190 <libm-alias-double.h>.
4191 (fabs): Define using libm_alias_double.
4192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
4193 Include <libm-alias-double.h>.
4194 (copysign): Define using libm_alias_double.
4195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
4196 <libm-alias-double.h>.
4197 (fabs): Define using libm_alias_double.
4198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
4199 <libm-alias-double.h>.
4200 (fdim): Define using libm_alias_double.
4201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
4202 <libm-alias-double.h>.
4203 (fma): Define using libm_alias_double.
4204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
4205 <libm-alias-double.h>.
4206 (llrint): Define using libm_alias_double.
4207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
4208 Include <libm-alias-double.h>.
4209 (nearbyint): Define using libm_alias_double.
4210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
4211 <libm-alias-double.h>.
4212 (rint): Define using libm_alias_double.
4213 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
4214 <libm-alias-double.h>.
4215 (fabs): Define using libm_alias_double.
4216 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
4217 <libm-alias-double.h>.
4218 (llrint): Define using libm_alias_double.
4219 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
4220 <libm-alias-double.h>.
4221 (nearbyint): Define using libm_alias_double.
4222 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
4223 <libm-alias-double.h>.
4224 (rint): Define using libm_alias_double.
4225 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
4226 <libm-alias-double.h>.
4227 (ceil): Define using libm_alias_double.
4228 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
4229 <libm-alias-double.h>.
4230 (floor): Define using libm_alias_double.
4231 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
4232 <libm-alias-double.h>.
4233 (fma): Define using libm_alias_double.
4234 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
4235 <libm-alias-double.h>.
4236 (lrint): Define using libm_alias_double.
4238 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
4239 <libm-alias-double.h>.
4240 (nearbyint): Define using libm_alias_double.
4241 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
4242 <libm-alias-double.h>.
4243 (rint): Define using libm_alias_double.
4244 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
4245 <libm-alias-double.h>.
4246 (trunc): Define using libm_alias_double.
4247 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
4248 <libm-alias-double.h>.
4249 (copysign): Define using libm_alias_double.
4250 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
4251 <libm-alias-double.h>.
4252 (fabs): Define using libm_alias_double.
4253 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
4254 <libm-alias-double.h>.
4255 (lrint): Define using libm_alias_double.
4257 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
4258 <libm-alias-double.h>.
4259 (nearbyint): Define using libm_alias_double.
4260 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
4261 <libm-alias-double.h>.
4262 (rint): Define using libm_alias_double.
4265 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
4267 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
4269 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
4270 SPARC --disable-multi-arch glibc variants.
4272 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
4273 <libm-alias-float.h>.
4274 (exp2f): Define using libm_alias_float, or libm_alias_float_other
4276 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
4277 <libm-alias-float.h>.
4278 (exp2f): Define using libm_alias_float, or libm_alias_float_other
4280 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
4281 <libm-alias-float.h>.
4282 (exp2f): Define using libm_alias_float, or libm_alias_float_other
4284 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
4285 <libm-alias-float.h>.
4286 (exp2f): Define using libm_alias_float, or libm_alias_float_other
4288 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
4289 <libm-alias-float.h>.
4290 (exp2f): Define using libm_alias_float, or libm_alias_float_other
4292 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
4293 <libm-alias-float.h>.
4294 (ceilf): Define using libm_alias_float.
4295 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
4296 <libm-alias-float.h>.
4297 (floorf): Define using libm_alias_float.
4298 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
4299 <libm-alias-float.h>.
4300 (fmaf): Define using libm_alias_float.
4301 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
4302 <libm-alias-float.h>.
4303 (nearbyintf): Define using libm_alias_float.
4304 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
4305 <libm-alias-float.h>.
4306 (rintf): Define using libm_alias_float.
4307 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
4308 <libm-alias-float.h>.
4309 (truncf): Define using libm_alias_float.
4310 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
4311 (copysignf): Define using libm_alias_float.
4312 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
4313 (cosf): Define using libm_alias_float.
4314 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
4315 (fabsf): Define using libm_alias_float.
4316 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
4317 (fmaxf): Define using libm_alias_float.
4318 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
4319 (fminf): Define using libm_alias_float.
4320 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
4321 (llrintf): Define using libm_alias_float.
4322 [!__ILP32__] (lrintf): Likewise.
4323 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
4324 (sincosf): Define using libm_alias_float.
4325 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
4326 (sinf): Define using libm_alias_float.
4327 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
4328 (lrintf): Define using libm_alias_float.
4330 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
4331 <libm-alias-double.h>.
4332 (atan): Define using libm_alias_double.
4333 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
4334 <libm-alias-double.h>.
4335 (ceil): Define using libm_alias_double.
4336 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
4337 <libm-alias-double.h>.
4338 (floor): Define using libm_alias_double.
4339 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
4340 <libm-alias-double.h>.
4341 (fma): Define using libm_alias_double.
4342 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
4343 <libm-alias-double.h>.
4344 (nearbyint): Define using libm_alias_double.
4345 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
4346 <libm-alias-double.h>.
4347 (rint): Define using libm_alias_double.
4348 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
4349 <libm-alias-double.h>.
4350 (sin): Define using libm_alias_double.
4352 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
4353 <libm-alias-double.h>.
4354 (tan): Define using libm_alias_double.
4355 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
4356 <libm-alias-double.h>.
4357 (trunc): Define using libm_alias_double.
4358 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
4359 (copysign): Define using libm_alias_double.
4360 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
4361 (fabs): Define using libm_alias_double.
4362 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
4363 (fmax): Define using libm_alias_double.
4364 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
4365 (fmin): Define using libm_alias_double.
4366 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
4367 (llrint): Define using libm_alias_double.
4368 [!__ILP32__] (lrint): Likewise.
4369 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
4370 (lrint): Define using libm_alias_double.
4372 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4374 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
4375 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
4377 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
4378 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
4379 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
4380 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
4381 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
4382 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
4384 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
4385 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
4387 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
4388 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
4389 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
4390 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
4391 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
4392 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
4394 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
4395 (libm-sysdep_routines): Add s_nearbyint-generic and
4396 s_nearbyintf-generic objects.
4397 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
4398 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
4399 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
4400 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
4401 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
4402 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
4404 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
4405 Add s_finitef-generic and s_finite-generic objects.
4406 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
4407 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
4408 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
4409 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
4410 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
4411 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
4413 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
4414 Add s_isinff-generic and s_isinf-generic objects.
4415 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
4416 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
4417 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
4418 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
4419 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
4420 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
4422 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
4423 Add s_isnanf-generic and s_isnan-generic objects.
4424 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
4425 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
4426 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
4427 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
4428 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
4429 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
4431 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
4433 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
4435 (sysdep_routines): Use sysdep_calls as base.
4436 (libm-sysdep_routines): Add generic rule for symbols shared with
4437 libc. Add s_signbit-generic and s_signbitf-generic objects.
4438 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
4439 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
4440 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
4441 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
4442 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
4443 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
4445 2017-11-29 Joseph Myers <joseph@codesourcery.com>
4447 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
4448 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
4449 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
4450 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
4451 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
4452 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
4453 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
4454 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
4455 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
4456 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
4457 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
4458 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
4459 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
4461 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
4462 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
4464 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
4465 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
4466 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
4467 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
4468 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
4469 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
4470 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
4471 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
4472 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
4473 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
4475 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
4477 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
4478 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
4479 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
4480 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
4481 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
4482 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
4483 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
4484 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
4485 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
4486 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
4487 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
4488 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
4489 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
4490 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
4491 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
4492 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
4493 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
4494 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
4495 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
4497 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
4498 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
4499 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
4500 * sysdeps/ia64/fpu/w_lgammaf_main.c
4501 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
4502 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
4504 2017-11-28 Mike FABIAN <mfabian@redhat.com>, Alexandre Oliva <aoliva@redhat.com>
4507 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
4508 * localedata/fr_CA.UTF-8.in: New file with test data for backward
4510 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
4512 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
4513 * localedata/locales/de_DE (LC_COLLATE): Likewise.
4514 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
4515 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
4516 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
4517 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
4518 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
4519 instead of “ifdef DIACRIT_BACKWARD”.
4521 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4523 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
4524 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
4525 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
4526 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
4527 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
4528 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
4529 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
4530 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
4531 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
4532 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
4533 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
4534 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
4535 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
4536 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
4537 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
4538 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
4539 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
4540 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
4541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
4542 ($(have-as-vis3) == yes): Remove conditional.
4543 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
4545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
4547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
4549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
4551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
4553 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
4554 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
4555 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
4556 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
4557 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
4558 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
4559 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
4560 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
4562 2017-11-29 Joseph Myers <joseph@codesourcery.com>
4564 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
4565 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
4566 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
4567 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
4568 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
4569 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
4570 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
4571 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
4572 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
4573 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
4574 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
4575 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
4576 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
4577 libm_alias_double_r.
4578 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
4580 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
4581 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
4582 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
4583 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
4584 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
4585 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
4586 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
4587 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
4588 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
4589 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
4590 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
4592 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
4594 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
4595 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
4596 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
4597 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
4598 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
4599 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
4600 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
4601 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
4602 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
4603 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
4604 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
4605 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
4606 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
4607 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
4608 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
4609 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
4610 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
4611 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
4613 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
4614 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
4615 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
4616 * sysdeps/ia64/fpu/w_lgamma_main.c
4617 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
4618 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
4620 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
4622 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
4623 address of $global$ into %dp register earlier. Use pc-relative
4624 instruction sequence for PIC case.
4626 2017-11-28 Joseph Myers <joseph@codesourcery.com>
4628 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
4629 (asinhf): Define using libm_alias_float.
4630 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
4631 (atanf): Define using libm_alias_float.
4632 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
4633 (cbrtf): Define using libm_alias_float.
4634 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
4635 (ceilf): Define using libm_alias_float.
4636 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
4637 (copysignf): Define using libm_alias_float.
4638 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
4639 (expm1f): Define using libm_alias_float.
4640 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
4641 (fabsf): Define using libm_alias_float.
4642 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
4643 (floorf): Define using libm_alias_float.
4644 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
4645 (fmaxf): Define using libm_alias_float.
4646 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
4647 (fminf): Define using libm_alias_float.
4648 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
4649 (frexpf): Define using libm_alias_float.
4650 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
4651 (llrintf): Define using libm_alias_float.
4652 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
4653 (logbf): Define using libm_alias_float.
4654 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
4655 (lrintf): Define using libm_alias_float.
4656 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
4657 (nearbyintf): Define using libm_alias_float.
4658 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
4659 (remquof): Define using libm_alias_float.
4660 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
4661 (rintf): Define using libm_alias_float.
4662 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
4663 (truncf): Define using libm_alias_float.
4664 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
4665 <libm-alias-float.h>.
4666 (exp2f): Define using libm_alias_float, or libm_alias_float_other
4668 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
4669 <libm-alias-float.h>.
4670 (expf): Define using libm_alias_float, or libm_alias_float_other
4672 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
4673 <libm-alias-float.h>.
4674 (log2f): Define using libm_alias_float, or libm_alias_float_other
4676 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
4677 <libm-alias-float.h>.
4678 (logf): Define using libm_alias_float, or libm_alias_float_other
4680 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
4681 <libm-alias-float.h>.
4682 (powf): Define using libm_alias_float, or libm_alias_float_other
4684 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
4685 <libm-alias-float.h>.
4686 (cosf): Define using libm_alias_float.
4687 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
4688 <libm-alias-float.h>.
4689 (sincosf): Define using libm_alias_float.
4690 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
4691 <libm-alias-float.h>.
4692 (sinf): Define using libm_alias_float.
4693 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
4694 (fmaxf): Define using libm_alias_float.
4695 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
4696 (fminf): Define using libm_alias_float.
4697 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
4698 <libm-alias-float.h>.
4699 (fmaf): Define using libm_alias_float.
4701 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
4702 (asinh): Define using libm_alias_double.
4703 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
4704 (atan): Define using libm_alias_double.
4705 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
4706 (cbrt): Define using libm_alias_double.
4707 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
4708 (ceil): Define using libm_alias_double.
4709 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
4710 (copysign): Define using libm_alias_double.
4711 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
4712 (expm1): Define using libm_alias_double.
4713 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
4714 (fabs): Define using libm_alias_double.
4715 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
4716 (fdim): Define using libm_alias_double.
4717 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
4718 (floor): Define using libm_alias_double.
4719 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
4720 (fmax): Define using libm_alias_double.
4721 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
4722 (fmin): Define using libm_alias_double.
4723 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
4724 (frexp): Define using libm_alias_double.
4725 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
4726 (llrint): Define using libm_alias_double.
4727 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
4728 (logb): Define using libm_alias_double.
4729 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
4730 (lrint): Define using libm_alias_double.
4731 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
4732 (nearbyint): Define using libm_alias_double.
4733 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
4734 (remquo): Define using libm_alias_double.
4735 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
4736 (rint): Define using libm_alias_double.
4737 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
4738 (trunc): Define using libm_alias_double.
4739 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
4740 (fmax): Define using libm_alias_double.
4741 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
4742 (fmin): Define using libm_alias_double.
4743 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
4744 (fma): Define using libm_alias_double.
4746 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
4749 * elf/dl-hwcaps.c (ROUND): Removed.
4750 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
4751 and ELF_NOTE_NEXT_OFFSET.
4752 * elf/dl-load.c (ROUND): Removed.
4753 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
4754 * elf/readelflib.c (ROUND): Removed.
4755 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
4756 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
4757 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
4758 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
4760 2017-11-28 Joseph Myers <joseph@codesourcery.com>
4762 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
4763 [!__fmaf] (fmaf): Define using libm_alias_float.
4765 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
4766 [!__fma] (fma): Define using libm_alias_double.
4767 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
4769 2017-11-28 Mike FABIAN <mfabian@redhat.com>
4772 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
4773 and implement the collation rules for cs from CLDR on top of that.
4774 * Makefile: Add cs_CZ.UTF-8 to test-input.
4775 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
4777 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
4779 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
4781 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
4782 Icarus Sparry <icarus.w.sparry@intel.com>
4784 * benchtests/Makefile:Add BENCHSET to allow subsets of
4785 benchmarks to be run.
4786 * benchtests/README: Add documentation for: Running subsets of
4789 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
4791 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
4792 range of tests names.
4794 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
4795 result from property and remove "max", min" and "mean" from
4796 required properties based on benchtests/bench-skeleton.c.
4798 2017-11-28 Florian Weimer <fweimer@redhat.com>
4801 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
4802 due to Internet requirement.
4803 * posix/Makefile (tests): Remove tst-getaddrinfo4,
4805 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
4807 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4809 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
4810 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
4811 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
4812 (sysdep_routines): Add memset-ultra1.
4813 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
4815 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
4816 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
4817 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
4818 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
4819 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
4820 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
4821 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
4822 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4824 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
4826 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
4827 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
4828 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
4829 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
4830 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
4831 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
4832 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
4834 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
4835 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
4836 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
4837 (sysdep_routines): Add memcpy-ultra1.
4838 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
4839 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
4841 2017-11-28 Joseph Myers <joseph@codesourcery.com>
4843 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
4844 (cfloat_versions): Take function argument without trailing 'f'.
4845 Call libm_alias_float_other.
4846 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
4847 * sysdeps/alpha/fpu/cargf.c: Likewise.
4848 * sysdeps/alpha/fpu/cimagf.c: Likewise.
4849 * sysdeps/alpha/fpu/conjf.c: Likewise.
4850 * sysdeps/alpha/fpu/crealf.c: Likewise.
4851 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
4852 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
4853 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
4854 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
4855 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
4856 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
4857 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
4858 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
4859 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
4860 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
4861 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
4862 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
4863 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
4864 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
4865 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
4866 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
4867 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
4868 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
4869 (clog10f): Use libm_alias_float_other.
4870 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
4871 (ceilf): Define using libm_alias_float.
4872 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
4873 (copysignf): Define using libm_alias_float.
4874 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
4875 (fabsf): Define using libm_alias_float.
4876 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
4877 (floorf): Define using libm_alias_float.
4878 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
4879 (fmaxf): Define using libm_alias_float.
4880 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
4881 (fminf): Define using libm_alias_float.
4882 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
4883 (lrintf): Define using libm_alias_float.
4884 (llrintf): Likewise.
4885 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
4886 (lroundf): Define using libm_alias_float.
4887 (llroundf): Likewise.
4888 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
4889 (rintf): Define using libm_alias_float.
4890 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
4891 (truncf): Define using libm_alias_float.
4893 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
4894 (ceilf): Define using libm_alias_float.
4895 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
4896 (floorf): Define using libm_alias_float.
4897 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
4898 (fmaf): Define using libm_alias_float.
4899 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
4900 (fmaxf): Define using libm_alias_float.
4901 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
4902 (fminf): Define using libm_alias_float.
4903 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
4904 (llrintf): Define using libm_alias_float.
4905 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
4906 (llroundf): Define using libm_alias_float.
4907 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
4908 (lrintf): Define using libm_alias_float.
4909 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
4910 (lroundf): Define using libm_alias_float.
4911 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
4912 <libm-alias-float.h>.
4913 (nearbyintf): Define using libm_alias_float.
4914 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
4915 (rintf): Define using libm_alias_float.
4916 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
4917 (roundf): Define using libm_alias_float.
4918 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
4919 (truncf): Define using libm_alias_float.
4921 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
4922 (ceil): Define using libm_alias_double.
4923 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
4924 (copysign): Define using libm_alias_double.
4925 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
4926 (fabs): Define using libm_alias_double.
4927 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
4928 (floor): Define using libm_alias_double.
4929 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
4930 (fmax): Define using libm_alias_double.
4931 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
4932 (fmin): Define using libm_alias_double.
4933 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
4934 (lrint): Define using libm_alias_double.
4936 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
4937 (lround): Define using libm_alias_double.
4938 (llround): Likewise.
4939 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
4940 (rint): Define using libm_alias_double.
4941 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
4942 (trunc): Define using libm_alias_double.
4944 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
4945 (libm_alias_double_r): Add semicolon after weak_alias call.
4947 2017-11-27 Joseph Myers <joseph@codesourcery.com>
4949 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
4950 (ceil): Define using libm_alias_double.
4951 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
4952 (floor): Define using libm_alias_double.
4953 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
4954 (fma): Define using libm_alias_double.
4955 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
4956 (fmax): Define using libm_alias_double.
4957 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
4958 (fmin): Define using libm_alias_double.
4959 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
4960 (llrint): Define using libm_alias_double.
4961 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
4962 (llround): Define using libm_alias_double.
4963 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
4964 (lrint): Define using libm_alias_double.
4965 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
4966 (lround): Define using libm_alias_double.
4967 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
4968 (nearbyint): Define using libm_alias_double.
4969 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
4970 (rint): Define using libm_alias_double.
4971 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
4972 (round): Define using libm_alias_double.
4973 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
4974 (trunc): Define using libm_alias_double.
4976 2017-11-27 Florian Weimer <fweimer@redhat.com>
4978 * sysdeps/unix/sysv/linux/mlock2.c: New file.
4979 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
4980 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
4981 (tests): Add tst-mlock2.
4982 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
4983 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
4984 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
4985 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
4986 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
4987 for mlock. Document mlock2.
4989 2017-11-27 Joseph Myers <joseph@codesourcery.com>
4991 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
4992 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
4994 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
4996 * sysdeps/x86/Makeconfig: New file.
4997 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
4998 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
4999 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
5000 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
5001 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
5002 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
5003 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
5005 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
5006 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
5007 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
5008 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
5009 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
5010 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
5011 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
5012 * manual/math.texi (Mathematics): Document support for _Float64x.
5013 * math/Versions (GLIBC_2.27): Add _Float64x functions.
5014 * stdlib/Versions (GLIBC_2.27): Likewise.
5015 * wcsmbs/Versions (GLIBC_2.27): Likewise.
5016 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
5017 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5018 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5019 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5020 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5021 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5022 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5023 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5024 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5025 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5026 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
5029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5031 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5032 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5033 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5034 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5035 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5036 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5037 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5038 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5039 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5040 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5041 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5042 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5043 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
5044 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
5046 2017-11-27 Andreas Schwab <schwab@suse.de>
5048 * elf/Makefile (dl-routines): Add dl-sort-maps.
5049 * elf/dl-sort-maps.c: New file.
5050 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
5051 (_dl_sort_maps): Declare.
5052 * elf/dl-fini.c (_dl_sort_fini): Remove.
5053 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
5054 * elf/dl-close.c (_dl_close_worker): Likewise.
5055 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
5057 * elf/dl-open.c (dl_open_worker): Likewise.
5059 2017-11-24 Joseph Myers <joseph@codesourcery.com>
5061 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
5062 using libm_alias_float128.
5063 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
5065 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
5067 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
5068 (setpayloadsigf128): Likewise.
5069 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
5071 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
5074 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
5075 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
5076 -mfloat128 to CFLAGS.
5078 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
5080 (CFLAGS-libm-test-support-float64x.c): New variable.
5081 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
5082 $(f128-loader-link) to gnulib-tests.
5084 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
5085 (libm_alias_float128_other_r): If
5086 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
5088 (libm_alias_float128_r): Add semicolon after weak_alias call.
5089 * sysdeps/generic/libm-alias-ldouble.h
5090 (libm_alias_ldouble_other_r_f128): New macro.
5091 (libm_alias_ldouble_other_r_f64x): Likewise.
5092 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
5093 and libm_alias_ldouble_other_r_f64x.
5094 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
5095 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
5096 (libm_alias_ldouble_other_r_f128): New macro.
5097 (libm_alias_ldouble_other_r_f64x): Likewise.
5098 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
5099 and libm_alias_ldouble_other_r_f64x.
5101 * stdlib/strfroml.c: Always include <stdlib.h>.
5102 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
5103 undefine as macro and define as weak alias.
5104 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
5105 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
5107 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
5108 Define and later undefine as macro and define as weak alias.
5110 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
5111 Define and later undefine as macro. Define as weak alias if
5113 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
5114 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
5115 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
5116 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
5117 Define and later undefine as macro. Define as weak alias if
5119 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
5120 Define and later undefine as macro. Define as weak alias if
5122 * sysdeps/ieee754/float128/strtof128_l.c
5123 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
5124 Define and later undefine as macro. Define as weak alias if
5126 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
5127 Define and later undefine as macro. Define as weak alias if
5129 * sysdeps/ieee754/ldbl-128/strtold_l.c
5130 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
5131 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
5132 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
5133 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
5134 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
5135 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
5136 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
5137 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
5138 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
5139 * sysdeps/ieee754/ldbl-96/strtold_l.c
5140 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
5141 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
5142 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
5143 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
5145 * math/test-float64x.h: New file.
5146 * math/Makefile (type-float64x-yes): New variable.
5147 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
5149 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
5150 function-like macro.
5151 (min_of_type_): Likewise.
5152 (min_of_type_l): Likewise.
5153 (min_of_type_f128): Likewise.
5154 (min_of_type): Pass () as last argument of __MATH_TG.
5156 * stdlib/tst-strtod-round-skeleton.c
5157 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
5160 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
5161 for combinations of long double with _Float64 and _Float64x.
5163 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
5164 (__DECL_SIMD_cosf32): Likewise.
5165 (__DECL_SIMD_cosf64): Likewise.
5166 (__DECL_SIMD_cosf32x): Likewise.
5167 (__DECL_SIMD_cosf64x): Likewise.
5168 (__DECL_SIMD_cosf128x): Likewise.
5169 (__DECL_SIMD_sinf16): Likewise.
5170 (__DECL_SIMD_sinf32): Likewise.
5171 (__DECL_SIMD_sinf64): Likewise.
5172 (__DECL_SIMD_sinf32x): Likewise.
5173 (__DECL_SIMD_sinf64x): Likewise.
5174 (__DECL_SIMD_sinf128x): Likewise.
5175 (__DECL_SIMD_sincosf16): Likewise.
5176 (__DECL_SIMD_sincosf32): Likewise.
5177 (__DECL_SIMD_sincosf64): Likewise.
5178 (__DECL_SIMD_sincosf32x): Likewise.
5179 (__DECL_SIMD_sincosf64x): Likewise.
5180 (__DECL_SIMD_sincosf128x): Likewise.
5181 (__DECL_SIMD_logf16): Likewise.
5182 (__DECL_SIMD_logf32): Likewise.
5183 (__DECL_SIMD_logf64): Likewise.
5184 (__DECL_SIMD_logf32x): Likewise.
5185 (__DECL_SIMD_logf64x): Likewise.
5186 (__DECL_SIMD_logf128x): Likewise.
5187 (__DECL_SIMD_expf16): Likewise.
5188 (__DECL_SIMD_expf32): Likewise.
5189 (__DECL_SIMD_expf64): Likewise.
5190 (__DECL_SIMD_expf32x): Likewise.
5191 (__DECL_SIMD_expf64x): Likewise.
5192 (__DECL_SIMD_expf128x): Likewise.
5193 (__DECL_SIMD_powf16): Likewise.
5194 (__DECL_SIMD_powf32): Likewise.
5195 (__DECL_SIMD_powf64): Likewise.
5196 (__DECL_SIMD_powf32x): Likewise.
5197 (__DECL_SIMD_powf64x): Likewise.
5198 (__DECL_SIMD_powf128x): Likewise.
5200 * stdlib/Versions (libc): Move entries for wcstof128 and
5202 * wcsmbs/Versions (libc): ... here.
5203 Include <float128-abi.h>.
5205 2017-11-24 Florian Weimer <fweimer@redhat.com>
5207 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5209 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
5210 <bits/mman-shared.h>.
5211 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
5213 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
5214 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
5215 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
5216 <bits/mman-shared.h>.
5218 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5221 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
5222 posix_memalign/free.
5223 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
5225 2017-11-22 Mike FABIAN <mfabian@redhat.com>
5228 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
5229 and implement the collation rules for pl from CLDR on top of that.
5230 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
5231 of locales to be built for testing.
5232 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
5234 2017-11-23 Joseph Myers <joseph@codesourcery.com>
5236 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
5237 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
5238 libm_alias_ldouble_other.
5239 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
5240 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
5241 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
5242 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
5243 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
5244 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
5245 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
5246 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
5247 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
5248 libm_alias_ldouble_r.
5249 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
5250 libm_alias_ldouble_other.
5251 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
5253 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
5254 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
5255 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
5256 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
5257 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
5258 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
5259 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
5261 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
5262 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
5263 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
5265 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
5267 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
5268 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
5269 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
5271 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
5272 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
5273 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
5274 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
5275 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
5276 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
5277 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
5278 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
5279 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
5280 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
5281 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
5283 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
5284 libm_alias_ldouble_other.
5285 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
5286 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
5287 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
5289 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
5290 libm_alias_ldouble_other.
5291 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
5292 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
5293 * sysdeps/ia64/fpu/w_lgammal_main.c
5294 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
5295 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
5297 2017-11-23 Florian Weimer <fweimer@redhat.com>
5299 * malloc/malloc.c (tcache_thread_shutdown): Rename from
5300 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
5301 alike. Remove freeres marker.
5302 * malloc/arena.c (arena_thread_freeres): Call
5303 tcache_thread_shutdown.
5305 2017-11-23 Florian Weimer <fweimer@redhat.com>
5308 Export nscd hash function as __nss_hash.
5309 * include/nss.h (__nss_hash): Declare.
5310 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
5312 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
5313 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
5315 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
5316 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
5317 * nss/Makefiles (routines): Add nss_hash.
5318 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
5319 * nss/nss_hash.c: Rename from nis/nis_hash.c.
5320 (__nss_hash): Rename from __nis_hash. Define hidden alias.
5321 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
5323 2017-11-23 Florian Weimer <fweimer@redhat.com>
5326 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
5327 Return error code, not -1.
5328 * signal/tst-sigwait-eintr.c: New file.
5329 * signal/Makefile (tests): Add tst-sigwait-eintr.
5331 2017-11-23 Florian Weimer <fweimer@redhat.com>
5333 Linux: Add memfd_create system call wrapper
5334 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
5336 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
5337 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
5338 [__USE_GNU] (memfd_create): Declare.
5339 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
5340 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
5341 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
5342 * sysdeps/unix/sysv/linux/**.abilist: Update.
5343 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
5345 2017-11-22 Joseph Myers <joseph@codesourcery.com>
5347 * localedata/gen-locale.sh: Fix typo in variable name.
5349 * resolv/res_debug.c (p_secstodate): Condition definition on
5350 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
5351 directly as __p_secstodate, and as a compat symbol. Do not use
5352 libresolv_hidden_def.
5353 * resolv/resolv.h (p_secstodate): Remove macro and function
5355 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
5357 * include/resolv.h (__p_secstodate): Do not use
5358 libresolv_hidden_proto.
5359 * resolv/Makefile (tests): Move tst-p_secstodate to ....
5360 (tests-internal): ... here.
5361 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
5362 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
5363 and declare and use __p_secstodate and use compat_symbol_reference
5365 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
5366 implementation returning 77.
5369 * resolv/res_debug.c: Include <libc-diag.h>.
5370 (p_secstodate): Assert time_t at least as wide as u_long. On
5371 overflow, use integer seconds since the epoch as output, or use
5372 "<overflow>" as output and set errno to EOVERFLOW if integer
5373 seconds since the epoch would be 14 or more characters.
5374 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
5376 * resolv/tst-p_secstodate.c: New file.
5377 * resolv/Makefile (tests): Add tst-p_secstodate.
5378 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
5380 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
5381 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
5382 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
5384 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
5386 * posix/regcomp.c (init_word_char): Add comments.
5388 2017-11-22 Joseph Myers <joseph@codesourcery.com>
5391 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
5392 strlen to compute length of ut_user and set trailing NUL byte of
5395 2017-11-21 Mike FABIAN <mfabian@redhat.com>
5398 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
5399 using “copy "iso14651_t1"” and then implementing the
5400 collation rules for lv from CLDR on top of that.
5401 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
5402 of locales to be built for testing.
5403 * lv_LV.UTF-8.in: New file with test data to test the Latvian
5406 2017-11-21 Joseph Myers <joseph@codesourcery.com>
5408 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
5409 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
5410 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
5411 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
5412 [__USE_MISC] (MADV_HWPOISON): New macro.
5413 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
5415 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5417 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
5418 -Wmissing-braces on GCC 4.9.
5420 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
5422 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
5423 * sysdeps/s390/s390-32/start.S (_start): Likewise
5424 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
5425 (thread_start): Likewise.
5426 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
5427 (thread_start): Likewise.
5428 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
5429 (__makecontext_ret): Likewise.
5430 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
5431 (__makecontext_ret): Likewise.
5433 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
5435 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
5436 __wcschrnul): Remove attribute_hidden.
5438 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
5440 regex: don't assume uint64_t or uint32_t
5441 This avoids -Werror=overflow errors for 32-bit systems in
5442 the 64-bit case. Problem reported by Joseph Myers in:
5443 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
5444 Also, when this code is used in Gnulib it ports to platforms
5445 that lack uint64_t and uint32_t. The C standard doesn't guarantee
5446 them, and on some 32-bit compilers there is no uint64_t.
5447 Problem reported by Gianluigi Tiesi in:
5448 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
5449 * posix/regcomp.c (init_word_char): Don't assume that the types
5450 uint64_t and uint32_t exist. Adapted from Gnulib patch
5451 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
5452 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
5454 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
5456 * sysdeps/aarch64/memset-reg.h: New file.
5457 * sysdeps/aarch64/memset.S: Use it.
5458 (__memset): Rename to MEMSET macro.
5459 [ZVA_MACRO]: Use zva_macro.
5460 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
5461 Add memset_generic and memset_falkor.
5462 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
5463 (__libc_ifunc_impl_list): Add memset ifuncs.
5464 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
5465 local variable zva_size.
5466 * sysdeps/aarch64/multiarch/memset.c: New file.
5467 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
5468 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
5469 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
5470 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
5471 (DCZID_DZP_MASK): New macro.
5472 (DCZID_BS_MASK): Likewise.
5473 (init_cpu_features): Read and set zva_size.
5474 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
5475 (struct cpu_features): New member zva_size.
5477 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
5478 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
5479 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
5481 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
5482 backwards. Fix timing computation.
5483 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
5484 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
5485 on memset by N at a time. Fix timing computation.
5487 2017-11-20 Florian Weimer <fweimer@redhat.com>
5489 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
5490 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
5492 2017-11-19 Florian Weimer <fweimer@redhat.com>
5494 manual: Document mprotect
5495 * manual/memory.texi (Memory Protection): New section.
5496 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
5497 documentation of PROT_* flags and reference the Memory Protection
5500 2017-11-19 Florian Weimer <fweimer@redhat.com>
5502 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
5503 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
5504 (Scatter-Gather): ... to here. Remove misleading comment.
5506 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
5508 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
5511 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
5512 when /proc/<pid>/setgroups does not exist.
5514 2017-11-18 Florian Weimer <fweimer@redhat.com>
5516 * sysdeps/unix/sysv/linux/tst-ttyname.c
5517 (become_root_in_mount_ns): Remove.
5518 (do_in_chroot_1): Call support_enter_mount_namespace.
5519 (do_in_chroot_2): Likewise.
5520 (do_test): Call support_become_root early.
5522 2017-11-18 Florian Weimer <fweimer@redhat.com>
5524 * support/namespace.h (support_enter_mount_namespace): Declare.
5525 * support/support_enter_mount_namespace.c: New file.
5526 * support/Makefile (libsupport-routines): Add
5527 support_enter_mount_namespace.
5529 2017-11-18 Florian Weimer <fweimer@redhat.com>
5531 * support/temp_file.c (support_create_temp_directory): Use
5532 test_dir and do not rely on the presence of the XXXXXX suffix.
5533 * support/temp_file.h (support_create_temp_directory): Update
5535 * support/tst-xreadlink.c (do_test): Adjust.
5536 * support/support_chroot.c (support_chroot_create): Likewise.
5538 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5540 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
5542 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
5545 2017-11-17 Joseph Myers <joseph@codesourcery.com>
5547 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
5548 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
5549 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
5550 (ceill): Define using libm_alias_ldouble.
5551 * sysdeps/x86_64/fpu/s_copysignl.S: Include
5552 <libm-alias-ldouble.h>.
5553 (copysignl): Define using libm_alias_ldouble.
5554 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
5555 (fabsl): Define using libm_alias_ldouble.
5556 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
5557 (floorl): Define using libm_alias_ldouble.
5558 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
5559 (fmaxl): Define using libm_alias_ldouble.
5560 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
5561 (fminl): Define using libm_alias_ldouble.
5562 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
5563 (llrintl): Define using libm_alias_ldouble.
5565 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
5566 <libm-alias-ldouble.h>.
5567 (nearbyintl): Define using libm_alias_ldouble.
5568 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
5569 (truncl): Define using libm_alias_ldouble.
5570 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
5571 <libm-alias-ldouble.h>.
5572 (lrintl): Define using libm_alias_ldouble.
5574 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
5575 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
5576 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
5577 (asinhl): Define using libm_alias_ldouble.
5578 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
5579 (atanl): Define using libm_alias_ldouble.
5580 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
5581 (cbrtl): Define using libm_alias_ldouble.
5582 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
5583 (ceill): Define using libm_alias_ldouble.
5584 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
5585 (copysignl): Define using libm_alias_ldouble.
5586 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
5587 (fabsl): Define using libm_alias_ldouble.
5588 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
5589 (floorl): Define using libm_alias_ldouble.
5590 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
5591 (fmaxl): Define using libm_alias_ldouble.
5592 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
5593 (fminl): Define using libm_alias_ldouble.
5594 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
5595 (frexpl): Define using libm_alias_ldouble.
5596 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
5597 (llrintl): Define using libm_alias_ldouble.
5598 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
5599 (logbl): Define using libm_alias_ldouble.
5600 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
5601 (lrintl): Define using libm_alias_ldouble.
5602 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
5603 (nearbyintl): Define using libm_alias_ldouble.
5604 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
5605 (nextafterl): Define using libm_alias_ldouble.
5606 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
5607 (remquol): Define using libm_alias_ldouble.
5608 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
5609 (rintl): Define using libm_alias_ldouble.
5610 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
5611 (truncl): Define using libm_alias_ldouble.
5612 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
5613 (fmaxl): Define using libm_alias_ldouble.
5614 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
5615 (fminl): Define using libm_alias_ldouble.
5617 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
5618 to C syntax instead of availability and properties of types.
5619 * bits/floatn.h [!__ASSEMBLER]: Likewise.
5620 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
5621 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
5622 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
5623 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
5624 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
5626 2017-11-17 Florian Weimer <fweimer@redhat.com>
5628 support_become_root: Enable file creation in namespaces.
5629 * support/support_become_root.c (setup_mapping): New function.
5630 (support_become_root): Call it.
5632 2017-11-17 Joseph Myers <joseph@codesourcery.com>
5634 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
5637 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5639 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
5640 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
5642 2017-11-16 Joseph Myers <joseph@codesourcery.com>
5644 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
5646 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
5649 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
5651 * INSTALL: Fix botched up regeneration.
5653 * NEWS: Update sourceare link to https.
5654 * configure.ac: Likewise.
5655 * crypt/md5test-giant.c: Likewise.
5656 * dlfcn/bug-atexit1.c: Likewise.
5657 * dlfcn/bug-atexit2.c: Likewise.
5658 * localedata/README: Likewise.
5659 * malloc/tst-mallocfork.c: Likewise.
5660 * manual/install.texi: Likewise.
5661 * nptl/tst-pthread-getattr.c: Likewise.
5662 * stdio-common/tst-fgets.c: Likewise.
5663 * stdio-common/tst-fwrite.c: Likewise.
5664 * sunrpc/Makefile: Likewise.
5665 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
5666 * wcsmbs/tst-mbrtowc2.c: Likewise.
5667 * configure: Regenerate.
5668 * INSTALL: Regenerate.
5670 2017-11-15 Martin Sebor <msebor@redhat.com>
5672 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
5673 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
5674 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
5676 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
5679 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
5680 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
5683 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
5684 Defer is_pty check until end of the function.
5685 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
5688 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
5689 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
5690 (ttyname): Likewise.
5691 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
5692 (__ttyname_r): Likewise.
5694 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
5697 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
5699 * manual/terminal.texi (Is It a Terminal):
5700 Mention ENODEV for ttyname and ttyname_r.
5702 2017-11-15 Joseph Myers <joseph@codesourcery.com>
5704 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
5707 * sysdeps/unix/sysv/linux/bits/mman-linux.h
5708 [__USE_MISC] (MADV_WIPEONFORK): New macro.
5709 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
5710 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
5711 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
5712 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
5714 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5716 * signal/sigrelse.c (sigrelse): Optimize implementation.
5718 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
5719 (__sigpause): Rely on __sigsuspend to implement single thread
5720 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
5722 2017-11-15 Joseph Myers <joseph@codesourcery.com>
5724 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5725 kernel version to 4.14.
5727 2017-11-15 Steve Ellcey <sellcey@cavium.com>
5730 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
5731 Check if ifname is too long.
5733 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
5735 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
5737 2017-11-15 Mike FABIAN <mfabian@redhat.com>
5739 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
5740 was accidentally lost.
5742 2017-11-15 Mike FABIAN <mfabian@redhat.com>
5744 * localedata/locales/az_IR: Add standard copyright header.
5746 2017-11-15 Florian Weimer <fweimer@redhat.com>
5749 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
5750 not just the top one. Output a new "subheaps" statistic.
5752 2017-11-15 Florian Weimer <fweimer@redhat.com>
5755 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
5756 under the per-arena lock.
5757 * malloc/Makefile (tests): Add tst-malloc_info.
5758 (tst-malloc_info): Link with libpthread.
5759 * malloc/tst-malloc_info.c: New file.
5761 2017-11-15 Joseph Myers <joseph@codesourcery.com>
5764 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
5765 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
5766 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
5767 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
5768 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
5769 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
5770 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
5771 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
5772 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
5773 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
5774 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
5775 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
5776 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
5777 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
5778 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
5779 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
5780 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
5781 (__floating_type): Likewise.
5782 (__real_integer_type): Likewise.
5783 (__complex_integer_type): Likewise.
5784 (__expr_is_real): Likewise.
5785 (__tgmath_real_type_sub): Likewise.
5786 (__tgmath_real_type): Likewise.
5787 (__tgmath_complex_type_sub): Likewise.
5788 (__tgmath_complex_type): Likewise.
5789 (__TGMATH_F128): Likewise.
5790 (__TGMATH_CF128): Likewise.
5791 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
5793 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
5794 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
5796 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
5798 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
5799 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
5800 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
5801 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
5803 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
5804 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
5806 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
5807 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
5808 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
5810 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
5811 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
5812 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
5816 2017-11-14 Joseph Myers <joseph@codesourcery.com>
5818 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
5819 for stpncpy calls for GCC 8.
5820 (test_strncat): Disable -Wstringop-truncation warning for strncat
5821 calls for GCC 8. Disable -Wstringop-overflow= warning for one
5822 strncat call for GCC 7.
5823 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
5825 (test_memcmp): Use memcpy instead of strncpy for calls not copying
5828 * string/bug-strncat1.c: Include <libc-diag.h>.
5829 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
5831 2017-11-13 Claude Paroz <claude@2xlibre.net>
5834 * localedata/locales/aa_DJ: Improved readibility by replacing
5835 <Uxxxx> sequences in the ASCII printable range by their ASCII
5836 character equivalents.
5837 * localedata/locales/aa_ER: Likewise.
5838 * localedata/locales/aa_ER@saaho: Likewise.
5839 * localedata/locales/aa_ET: Likewise.
5840 * localedata/locales/af_ZA: Likewise.
5841 * localedata/locales/agr_PE: Likewise.
5842 * localedata/locales/ak_GH: Likewise.
5843 * localedata/locales/am_ET: Likewise.
5844 * localedata/locales/anp_IN: Likewise.
5845 * localedata/locales/ar_AE: Likewise.
5846 * localedata/locales/ar_BH: Likewise.
5847 * localedata/locales/ar_DZ: Likewise.
5848 * localedata/locales/ar_EG: Likewise.
5849 * localedata/locales/ar_IN: Likewise.
5850 * localedata/locales/ar_IQ: Likewise.
5851 * localedata/locales/ar_JO: Likewise.
5852 * localedata/locales/ar_KW: Likewise.
5853 * localedata/locales/ar_LB: Likewise.
5854 * localedata/locales/ar_LY: Likewise.
5855 * localedata/locales/ar_MA: Likewise.
5856 * localedata/locales/ar_OM: Likewise.
5857 * localedata/locales/ar_QA: Likewise.
5858 * localedata/locales/ar_SA: Likewise.
5859 * localedata/locales/ar_SD: Likewise.
5860 * localedata/locales/ar_SS: Likewise.
5861 * localedata/locales/ar_SY: Likewise.
5862 * localedata/locales/ar_TN: Likewise.
5863 * localedata/locales/ar_YE: Likewise.
5864 * localedata/locales/as_IN: Likewise.
5865 * localedata/locales/ast_ES: Likewise.
5866 * localedata/locales/ayc_PE: Likewise.
5867 * localedata/locales/az_AZ: Likewise.
5868 * localedata/locales/az_IR: Likewise.
5869 * localedata/locales/be_BY: Likewise.
5870 * localedata/locales/be_BY@latin: Likewise.
5871 * localedata/locales/bem_ZM: Likewise.
5872 * localedata/locales/ber_DZ: Likewise.
5873 * localedata/locales/ber_MA: Likewise.
5874 * localedata/locales/bg_BG: Likewise.
5875 * localedata/locales/bhb_IN: Likewise.
5876 * localedata/locales/bho_IN: Likewise.
5877 * localedata/locales/bi_VU: Likewise.
5878 * localedata/locales/bn_BD: Likewise.
5879 * localedata/locales/bn_IN: Likewise.
5880 * localedata/locales/bo_CN: Likewise.
5881 * localedata/locales/bo_IN: Likewise.
5882 * localedata/locales/br_FR: Likewise.
5883 * localedata/locales/brx_IN: Likewise.
5884 * localedata/locales/bs_BA: Likewise.
5885 * localedata/locales/byn_ER: Likewise.
5886 * localedata/locales/ca_AD: Likewise.
5887 * localedata/locales/ca_ES: Likewise.
5888 * localedata/locales/ca_FR: Likewise.
5889 * localedata/locales/ca_IT: Likewise.
5890 * localedata/locales/ce_RU: Likewise.
5891 * localedata/locales/chr_US: Likewise.
5892 * localedata/locales/cmn_TW: Likewise.
5893 * localedata/locales/crh_UA: Likewise.
5894 * localedata/locales/cs_CZ: Likewise.
5895 * localedata/locales/csb_PL: Likewise.
5896 * localedata/locales/cv_RU: Likewise.
5897 * localedata/locales/cy_GB: Likewise.
5898 * localedata/locales/da_DK: Likewise.
5899 * localedata/locales/de_AT: Likewise.
5900 * localedata/locales/de_BE: Likewise.
5901 * localedata/locales/de_CH: Likewise.
5902 * localedata/locales/de_DE: Likewise.
5903 * localedata/locales/de_IT: Likewise.
5904 * localedata/locales/de_LI: Likewise.
5905 * localedata/locales/de_LU: Likewise.
5906 * localedata/locales/doi_IN: Likewise.
5907 * localedata/locales/dv_MV: Likewise.
5908 * localedata/locales/dz_BT: Likewise.
5909 * localedata/locales/el_CY: Likewise.
5910 * localedata/locales/el_GR: Likewise.
5911 * localedata/locales/en_AG: Likewise.
5912 * localedata/locales/en_AU: Likewise.
5913 * localedata/locales/en_BW: Likewise.
5914 * localedata/locales/en_CA: Likewise.
5915 * localedata/locales/en_DK: Likewise.
5916 * localedata/locales/en_GB: Likewise.
5917 * localedata/locales/en_HK: Likewise.
5918 * localedata/locales/en_IE: Likewise.
5919 * localedata/locales/en_IL: Likewise.
5920 * localedata/locales/en_IN: Likewise.
5921 * localedata/locales/en_NG: Likewise.
5922 * localedata/locales/en_NZ: Likewise.
5923 * localedata/locales/en_PH: Likewise.
5924 * localedata/locales/en_SG: Likewise.
5925 * localedata/locales/en_US: Likewise.
5926 * localedata/locales/en_ZA: Likewise.
5927 * localedata/locales/en_ZM: Likewise.
5928 * localedata/locales/en_ZW: Likewise.
5929 * localedata/locales/eo: Likewise.
5930 * localedata/locales/es_AR: Likewise.
5931 * localedata/locales/es_BO: Likewise.
5932 * localedata/locales/es_CL: Likewise.
5933 * localedata/locales/es_CO: Likewise.
5934 * localedata/locales/es_CR: Likewise.
5935 * localedata/locales/es_CU: Likewise.
5936 * localedata/locales/es_DO: Likewise.
5937 * localedata/locales/es_EC: Likewise.
5938 * localedata/locales/es_ES: Likewise.
5939 * localedata/locales/es_GT: Likewise.
5940 * localedata/locales/es_HN: Likewise.
5941 * localedata/locales/es_MX: Likewise.
5942 * localedata/locales/es_NI: Likewise.
5943 * localedata/locales/es_PA: Likewise.
5944 * localedata/locales/es_PE: Likewise.
5945 * localedata/locales/es_PR: Likewise.
5946 * localedata/locales/es_PY: Likewise.
5947 * localedata/locales/es_SV: Likewise.
5948 * localedata/locales/es_US: Likewise.
5949 * localedata/locales/es_UY: Likewise.
5950 * localedata/locales/es_VE: Likewise.
5951 * localedata/locales/et_EE: Likewise.
5952 * localedata/locales/eu_ES: Likewise.
5953 * localedata/locales/eu_ES@euro: Likewise.
5954 * localedata/locales/fa_IR: Likewise.
5955 * localedata/locales/ff_SN: Likewise.
5956 * localedata/locales/fi_FI: Likewise.
5957 * localedata/locales/fil_PH: Likewise.
5958 * localedata/locales/fo_FO: Likewise.
5959 * localedata/locales/fr_BE: Likewise.
5960 * localedata/locales/fr_CA: Likewise.
5961 * localedata/locales/fr_CH: Likewise.
5962 * localedata/locales/fr_FR: Likewise.
5963 * localedata/locales/fr_LU: Likewise.
5964 * localedata/locales/fur_IT: Likewise.
5965 * localedata/locales/fy_DE: Likewise.
5966 * localedata/locales/fy_NL: Likewise.
5967 * localedata/locales/ga_IE: Likewise.
5968 * localedata/locales/gd_GB: Likewise.
5969 * localedata/locales/gez_ER: Likewise.
5970 * localedata/locales/gez_ET: Likewise.
5971 * localedata/locales/gl_ES: Likewise.
5972 * localedata/locales/gu_IN: Likewise.
5973 * localedata/locales/gv_GB: Likewise.
5974 * localedata/locales/ha_NG: Likewise.
5975 * localedata/locales/hak_TW: Likewise.
5976 * localedata/locales/he_IL: Likewise.
5977 * localedata/locales/hi_IN: Likewise.
5978 * localedata/locales/hif_FJ: Likewise.
5979 * localedata/locales/hne_IN: Likewise.
5980 * localedata/locales/hr_HR: Likewise.
5981 * localedata/locales/hsb_DE: Likewise.
5982 * localedata/locales/ht_HT: Likewise.
5983 * localedata/locales/hu_HU: Likewise.
5984 * localedata/locales/hy_AM: Likewise.
5985 * localedata/locales/i18n: Likewise.
5986 * localedata/locales/ia_FR: Likewise.
5987 * localedata/locales/id_ID: Likewise.
5988 * localedata/locales/ig_NG: Likewise.
5989 * localedata/locales/ik_CA: Likewise.
5990 * localedata/locales/is_IS: Likewise.
5991 * localedata/locales/it_CH: Likewise.
5992 * localedata/locales/it_IT: Likewise.
5993 * localedata/locales/iu_CA: Likewise.
5994 * localedata/locales/ja_JP: Likewise.
5995 * localedata/locales/ka_GE: Likewise.
5996 * localedata/locales/kk_KZ: Likewise.
5997 * localedata/locales/kl_GL: Likewise.
5998 * localedata/locales/kn_IN: Likewise.
5999 * localedata/locales/ko_KR: Likewise.
6000 * localedata/locales/kok_IN: Likewise.
6001 * localedata/locales/ks_IN: Likewise.
6002 * localedata/locales/ks_IN@devanagari: Likewise.
6003 * localedata/locales/ku_TR: Likewise.
6004 * localedata/locales/kw_GB: Likewise.
6005 * localedata/locales/ky_KG: Likewise.
6006 * localedata/locales/lb_LU: Likewise.
6007 * localedata/locales/lg_UG: Likewise.
6008 * localedata/locales/li_BE: Likewise.
6009 * localedata/locales/li_NL: Likewise.
6010 * localedata/locales/lij_IT: Likewise.
6011 * localedata/locales/ln_CD: Likewise.
6012 * localedata/locales/lo_LA: Likewise.
6013 * localedata/locales/lt_LT: Likewise.
6014 * localedata/locales/lv_LV: Likewise.
6015 * localedata/locales/lzh_TW: Likewise.
6016 * localedata/locales/mag_IN: Likewise.
6017 * localedata/locales/mai_IN: Likewise.
6018 * localedata/locales/mg_MG: Likewise.
6019 * localedata/locales/mhr_RU: Likewise.
6020 * localedata/locales/mi_NZ: Likewise.
6021 * localedata/locales/mk_MK: Likewise.
6022 * localedata/locales/ml_IN: Likewise.
6023 * localedata/locales/mn_MN: Likewise.
6024 * localedata/locales/mni_IN: Likewise.
6025 * localedata/locales/mr_IN: Likewise.
6026 * localedata/locales/ms_MY: Likewise.
6027 * localedata/locales/mt_MT: Likewise.
6028 * localedata/locales/my_MM: Likewise.
6029 * localedata/locales/nan_TW: Likewise.
6030 * localedata/locales/nan_TW@latin: Likewise.
6031 * localedata/locales/nb_NO: Likewise.
6032 * localedata/locales/nds_DE: Likewise.
6033 * localedata/locales/nds_NL: Likewise.
6034 * localedata/locales/ne_NP: Likewise.
6035 * localedata/locales/nhn_MX: Likewise.
6036 * localedata/locales/niu_NU: Likewise.
6037 * localedata/locales/niu_NZ: Likewise.
6038 * localedata/locales/nl_AW: Likewise.
6039 * localedata/locales/nl_BE: Likewise.
6040 * localedata/locales/nl_NL: Likewise.
6041 * localedata/locales/nn_NO: Likewise.
6042 * localedata/locales/nr_ZA: Likewise.
6043 * localedata/locales/nso_ZA: Likewise.
6044 * localedata/locales/oc_FR: Likewise.
6045 * localedata/locales/om_ET: Likewise.
6046 * localedata/locales/om_KE: Likewise.
6047 * localedata/locales/or_IN: Likewise.
6048 * localedata/locales/os_RU: Likewise.
6049 * localedata/locales/pa_IN: Likewise.
6050 * localedata/locales/pa_PK: Likewise.
6051 * localedata/locales/pap_AW: Likewise.
6052 * localedata/locales/pap_CW: Likewise.
6053 * localedata/locales/pl_PL: Likewise.
6054 * localedata/locales/ps_AF: Likewise.
6055 * localedata/locales/pt_BR: Likewise.
6056 * localedata/locales/pt_PT: Likewise.
6057 * localedata/locales/quz_PE: Likewise.
6058 * localedata/locales/raj_IN: Likewise.
6059 * localedata/locales/ro_RO: Likewise.
6060 * localedata/locales/ru_RU: Likewise.
6061 * localedata/locales/ru_UA: Likewise.
6062 * localedata/locales/rw_RW: Likewise.
6063 * localedata/locales/sa_IN: Likewise.
6064 * localedata/locales/sat_IN: Likewise.
6065 * localedata/locales/sc_IT: Likewise.
6066 * localedata/locales/sd_IN: Likewise.
6067 * localedata/locales/sd_IN@devanagari: Likewise.
6068 * localedata/locales/se_NO: Likewise.
6069 * localedata/locales/sgs_LT: Likewise.
6070 * localedata/locales/shs_CA: Likewise.
6071 * localedata/locales/si_LK: Likewise.
6072 * localedata/locales/sid_ET: Likewise.
6073 * localedata/locales/sk_SK: Likewise.
6074 * localedata/locales/sl_SI: Likewise.
6075 * localedata/locales/sm_WS: Likewise.
6076 * localedata/locales/so_DJ: Likewise.
6077 * localedata/locales/so_ET: Likewise.
6078 * localedata/locales/so_KE: Likewise.
6079 * localedata/locales/so_SO: Likewise.
6080 * localedata/locales/sq_AL: Likewise.
6081 * localedata/locales/sq_MK: Likewise.
6082 * localedata/locales/sr_ME: Likewise.
6083 * localedata/locales/sr_RS: Likewise.
6084 * localedata/locales/sr_RS@latin: Likewise.
6085 * localedata/locales/ss_ZA: Likewise.
6086 * localedata/locales/st_ZA: Likewise.
6087 * localedata/locales/sv_FI: Likewise.
6088 * localedata/locales/sv_SE: Likewise.
6089 * localedata/locales/sw_KE: Likewise.
6090 * localedata/locales/sw_TZ: Likewise.
6091 * localedata/locales/szl_PL: Likewise.
6092 * localedata/locales/ta_IN: Likewise.
6093 * localedata/locales/ta_LK: Likewise.
6094 * localedata/locales/tcy_IN: Likewise.
6095 * localedata/locales/te_IN: Likewise.
6096 * localedata/locales/tg_TJ: Likewise.
6097 * localedata/locales/th_TH: Likewise.
6098 * localedata/locales/the_NP: Likewise.
6099 * localedata/locales/ti_ER: Likewise.
6100 * localedata/locales/ti_ET: Likewise.
6101 * localedata/locales/tig_ER: Likewise.
6102 * localedata/locales/tk_TM: Likewise.
6103 * localedata/locales/tl_PH: Likewise.
6104 * localedata/locales/tn_ZA: Likewise.
6105 * localedata/locales/to_TO: Likewise.
6106 * localedata/locales/tpi_PG: Likewise.
6107 * localedata/locales/tr_CY: Likewise.
6108 * localedata/locales/tr_TR: Likewise.
6109 * localedata/locales/ts_ZA: Likewise.
6110 * localedata/locales/tt_RU: Likewise.
6111 * localedata/locales/tt_RU@iqtelif: Likewise.
6112 * localedata/locales/ug_CN: Likewise.
6113 * localedata/locales/uk_UA: Likewise.
6114 * localedata/locales/unm_US: Likewise.
6115 * localedata/locales/ur_IN: Likewise.
6116 * localedata/locales/ur_PK: Likewise.
6117 * localedata/locales/uz_UZ: Likewise.
6118 * localedata/locales/uz_UZ@cyrillic: Likewise.
6119 * localedata/locales/ve_ZA: Likewise.
6120 * localedata/locales/vi_VN: Likewise.
6121 * localedata/locales/wa_BE: Likewise.
6122 * localedata/locales/wae_CH: Likewise.
6123 * localedata/locales/wal_ET: Likewise.
6124 * localedata/locales/wo_SN: Likewise.
6125 * localedata/locales/xh_ZA: Likewise.
6126 * localedata/locales/yi_US: Likewise.
6127 * localedata/locales/yo_NG: Likewise.
6128 * localedata/locales/yue_HK: Likewise.
6129 * localedata/locales/yuw_PG: Likewise.
6130 * localedata/locales/zh_CN: Likewise.
6131 * localedata/locales/zh_HK: Likewise.
6132 * localedata/locales/zh_SG: Likewise.
6133 * localedata/locales/zh_TW: Likewise.
6134 * localedata/locales/zu_ZA: Likewise.
6136 2017-11-13 Florian Weimer <fweimer@redhat.com>
6138 * support/next_to_fault.h, support/next_to_fault.c: New files.
6139 * support/Makefile (libsupport-routines): Add next_to_fault.
6140 * resolv/tst-inet_pton.c (struct next_to_fault)
6141 (next_to_fault_allocate, next_to_fault_free): Remove.
6142 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
6144 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
6146 * elf/dl-support.c: Include <dl-procruntime.c>.
6147 * include/link.h: Include <link_map.h>.
6148 * sysdeps/generic/dl-procruntime.c: New file.
6149 * sysdeps/generic/link_map.h: Likewise.
6150 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
6151 the writable ld.so namespace.
6153 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
6155 timezone: pacify GCC -Wstringop-truncation
6156 Problem reported by Martin Sebor in:
6157 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
6158 * timezone/zic.c (writezone): Use memcpy, not strncpy.
6160 2017-11-12 Florian Weimer <fweimer@redhat.com>
6162 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
6164 (tests): Add tst-xreadlink.
6165 * support/support.h (xstrndup): Declare.
6166 * support/xunistd.h (xunlink, xreadlink): Declare.
6167 * support/temp_file.h (support_create_temp_directory): Declare.
6168 * support/temp_file.c (support_create_temp_directory): New function.
6169 * support/support_chroot.c (support_chroot_create): Use it.
6170 * support/xreadlink.c: New file.
6171 * support/xstrndup.c: Likewise.
6172 * support/xunlink.c: Likewise.
6173 * support/tst-xreadlink.c: Likewise.
6175 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
6177 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
6179 2017-11-11 Florian Weimer <fweimer@redhat.com>
6183 * resolv/res_comp.c (printable_string, binary_hnok)
6184 (binary_leading_dash): New functions.
6185 (res_hnok): Reimplement using these functions and ns_name_pton.
6186 (res_ownok): Likewise.
6187 (res_mailok): Reimplement using printable_string, ns_name_pton and
6189 (res_dnok): Reimplement using printable_string and ns_name_pton.
6190 * resolv/tst-res_hnok.c (tests): Add additional tests.
6191 (LETTERDIGITS, PRINTABLE): Define.
6192 (do_test): Adjust one_char results.
6194 2017-11-11 Florian Weimer <fweimer@redhat.com>
6197 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
6198 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
6200 2017-11-11 Florian Weimer <fweimer@redhat.com>
6202 * resolv/tst-ns_name_pton.c: New file.
6203 * resolv/Makefile (tests): Add tst-ns_name_pton.
6204 (tst-ns_name_pton): Link against libresolv.
6206 2017-11-11 Florian Weimer <fweimer@redhat.com>
6208 * resolv/tst-res_hnok.c: New file.
6209 * resolv/Makefile (tests): Add tst-res_hnok.
6210 (tst-res_hnok): Link against libresolv.
6212 2017-11-11 Florian Weimer <fweimer@redhat.com>
6214 * resolv/tst-resolv-network.c: Use test framework instead explicit
6217 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
6219 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
6221 [!_ISOMAC] (STR_HELPER): New.
6222 [!_ISOMAC] (STR): Likewise.
6223 [!_ISOMAC] (TEST_SIZE): Likewise.
6224 [!_ISOMAC] (TEST_ALIGN): Likewise.
6225 [!_ISOMAC] (TEST_OFFSET): Likewise.
6226 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
6227 field offsets of jmp_buf as well as sigjmp_buf.
6228 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
6229 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
6230 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
6231 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
6232 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
6233 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
6234 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
6235 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
6236 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
6237 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
6239 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
6241 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
6242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
6244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
6246 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
6247 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
6248 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
6249 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
6250 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
6251 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
6253 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
6255 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
6256 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
6257 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
6259 2017-11-07 Joseph Myers <joseph@codesourcery.com>
6262 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6263 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
6264 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6265 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
6266 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6267 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
6268 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6269 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
6270 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6271 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
6272 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6273 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
6274 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6275 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
6276 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6277 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
6278 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6279 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
6280 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6281 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
6282 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6283 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
6284 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6285 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
6286 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6287 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
6288 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6289 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
6290 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6291 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
6292 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6293 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
6294 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6295 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
6296 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6297 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
6298 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6299 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
6300 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6301 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
6302 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6303 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
6304 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6305 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
6306 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6307 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
6308 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6309 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
6310 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6311 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
6312 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6313 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
6314 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6315 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
6316 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6317 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
6318 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6319 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
6320 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6321 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
6322 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6323 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
6324 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6325 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
6326 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6327 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
6328 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6329 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
6330 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6331 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
6332 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6333 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
6334 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6335 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
6336 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6337 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
6338 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6339 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
6340 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6341 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
6342 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6343 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
6344 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6345 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
6346 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6347 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
6348 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
6349 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
6351 * stdlib/tst-strtod.h (F16): New macro.
6357 (IF_FLOAT16): Likewise.
6358 (IF_FLOAT32): Likewise.
6359 (IF_FLOAT64): Likewise.
6360 (IF_FLOAT32X): Likewise.
6361 (IF_FLOAT64X): Likewise.
6362 (IF_FLOAT128X): Likewise.
6363 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
6364 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
6365 (STRTOD_TEST_FOREACH): Likewise.
6366 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
6367 (CHOOSE_f64): Likewise.
6368 (CHOOSE_f32x): Likewise.
6369 (CHOOSE_f64x): Likewise.
6371 2017-11-07 Andreas Schwab <schwab@suse.de>
6373 * nptl/Makefile (tests-internal): Remove tst-typesizes.
6375 2017-11-07 Mike FABIAN <mfabian@redhat.com>
6378 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
6380 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
6383 2017-11-07 Claude Paroz <claude@2xlibre.net>
6386 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
6388 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
6390 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
6393 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6396 * nptl/allocatestack.c (allocate_stack): Check if
6397 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
6398 __PTHREAD_MUTEX_HAVE_PREV is defined.
6399 * nptl/descr.h (pthread): Likewise.
6400 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
6402 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
6403 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
6404 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
6405 * sysdeps/nptl/bits/thread-shared-types.h
6406 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
6408 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
6409 of __WORDSIZE for internal layout.
6410 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
6411 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
6412 instead of __WORDSIZE whether to use an union for __spins and __list
6414 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
6416 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
6417 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
6419 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
6420 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
6422 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
6423 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
6425 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
6426 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
6428 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
6429 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
6431 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
6432 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
6434 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
6435 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
6437 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
6438 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
6440 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
6441 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
6443 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
6444 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
6446 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
6447 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
6449 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
6450 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
6452 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
6453 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
6455 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
6456 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
6458 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
6459 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
6462 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
6464 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
6465 checks for expected input type size.
6466 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
6467 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
6469 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
6470 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
6471 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
6472 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
6473 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
6474 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
6475 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
6476 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
6477 superflous runtime assert check.
6478 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
6480 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
6482 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
6484 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
6486 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
6488 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
6490 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
6491 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
6492 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
6494 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
6496 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
6498 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
6500 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
6502 * nptl/pthread_attr_setinheritsched.c
6503 (__pthread_attr_setinheritsched): Likewise.
6504 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
6506 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
6508 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
6509 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
6510 __old_pthread_attr_setstack): Likewise.
6511 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
6513 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
6515 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
6517 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
6518 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
6520 * nptl/tst-typesizes.c: Remove file.
6522 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
6523 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
6524 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
6525 checks for internal pthread_mutex_t offsets.
6526 * sysdeps/aarch64/nptl/pthread-offsets.h
6527 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
6528 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
6529 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
6530 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
6531 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
6532 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
6533 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
6534 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
6535 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
6536 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
6537 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
6538 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
6539 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
6540 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
6541 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
6542 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
6543 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
6544 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
6546 2017-11-07 Florian Weimer <fweimer@redhat.com>
6548 * bits/mman-linux.h: Move ...
6549 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
6551 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
6554 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6556 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
6557 Redefine STRNLEN as __strnlen_power8.
6559 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6561 * signal/sighold.c (sighold): Optimize implementation.
6563 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
6564 __NR_rt_sigqueueinfo.
6566 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
6568 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
6569 assume __NR_rt_sigtimedwait.
6570 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
6571 and add LIBC_CANCEL_HANDLED for cancellation marking.
6572 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
6574 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
6575 (sysdeps_routines): Add memchr_noneon.
6576 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
6577 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
6578 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
6579 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
6580 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
6581 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
6582 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
6584 * sysdeps/arm/arm-ifunc.h: New file.
6585 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
6586 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
6587 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
6588 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
6589 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
6590 (__memcpy_neon): Avoid create hidden alias.
6591 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
6592 (__memcpy_vfp): Likewise.
6593 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
6594 (sysdep_routines): Add memcpy_arm.
6595 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
6597 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
6600 * Makerules (make-link-multidir): New.
6601 * config.make.in (multidir): New.
6602 * configure.ac (libc_cv_multidir): New. AC_SUBST.
6603 * configure: Regenerated.
6604 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
6605 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
6606 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
6609 2017-11-06 Joseph Myers <joseph@codesourcery.com>
6612 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
6613 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
6615 2017-11-04 Mike FABIAN <mfabian@redhat.com>
6617 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
6620 2017-11-04 Florian Weimer <fweimer@redhat.com>
6622 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
6624 2017-11-03 Joseph Myers <joseph@codesourcery.com>
6626 * math/math.h [__HAVE_DISTINCT_FLOAT16
6627 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
6628 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
6629 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
6630 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
6631 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
6632 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
6633 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
6634 (__MATH_TG_F32): New macro.
6635 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
6636 (__MATH_TG_F64X): Likewise.
6637 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
6638 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
6640 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
6642 * po/de.po: Update translations.
6643 * po/ru.po: Likewise.
6645 2017-11-03 Florian Weimer <fweimer@redhat.com>
6647 * manual/filesys.texi (Hard Links): Document linkat.
6649 2017-11-03 Joseph Myers <joseph@codesourcery.com>
6651 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
6652 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
6653 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
6654 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
6655 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
6656 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
6657 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
6658 the same as _Float128.
6659 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
6660 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
6661 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
6664 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
6666 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
6668 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
6670 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
6671 (strtof32x): Likewise.
6672 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
6673 (strtof64x): Likewise.
6674 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
6675 (strtof128x): Likewise.
6676 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
6677 (strfromf16): Likewise.
6678 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
6679 (strfromf32): Likewise.
6680 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
6681 (strfromf64): Likewise.
6682 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
6683 (strfromf32x): Likewise.
6684 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
6685 (strfromf64x): Likewise.
6686 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
6687 (strfromf128x): Likewise.
6688 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
6689 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
6690 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
6691 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
6692 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
6693 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
6695 2017-11-03 Richard Henderson <rth@twiddle.net>
6697 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
6699 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
6701 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
6703 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
6705 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
6706 DT_TLSDESC_GOT initialization.
6707 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
6708 (_dl_tlsdesc_resolve_hold): Likewise.
6709 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
6710 (_dl_tlsdesc_resolve_hold): Likewise.
6711 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
6712 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
6714 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
6716 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
6718 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
6721 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
6722 non-lazily for R_ARM_TLS_DESC.
6724 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
6727 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
6728 R_ARM_TLS_DESC case.
6729 (elf_machine_lazy_rel): Remove the prelink check.
6731 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
6733 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
6734 DT_TLSDESC_GOT initialization.
6735 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
6736 (_dl_tlsdesc_resolve_rela): Likewise.
6737 (_dl_tlsdesc_resolve_hold): Likewise.
6738 (_dl_tlsdesc_undefweak): Remove ldar.
6739 (_dl_tlsdesc_dynamic): Likewise.
6740 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
6741 (_dl_tlsdesc_resolve_rela): Likewise.
6742 (_dl_tlsdesc_resolve_hold): Likewise.
6743 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
6744 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
6745 (_dl_tlsdesc_resolve_rela): Likewise.
6746 (_dl_tlsdesc_resolve_hold): Likewise.
6748 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
6750 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
6751 binding and initialization non-lazily for R_AARCH64_TLSDESC.
6753 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
6755 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
6756 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
6758 2017-11-02 Joseph Myers <joseph@codesourcery.com>
6760 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
6762 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
6763 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
6764 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
6765 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
6766 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
6767 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
6768 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
6769 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
6770 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
6771 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
6772 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
6774 2017-11-02 Mike FABIAN <mfabian@redhat.com>
6777 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
6778 * localedata/locales/tpi_PG: Add standard header.
6780 2017-11-02 Florian Weimer <fweimer@redhat.com>
6782 test-errno-linux: quotactl can fail with EPERM in containers.
6783 * sysdeps/unix/sysv/linux/test-errno-linux.c
6784 (LIST, LIST_FORWARD): New macros.
6785 (check_error_in_list): New function.
6786 (test_wrp_rv): Accept list of permitted error codes.
6787 (test_wrp_rv2): Remove.
6788 (test_wrp): Call test_wrp_rv with list of error codes.
6789 (test_wrp2): Accept list of error codes.
6790 (do_test): Adjust. Allow EPERM for quotactl.
6792 2017-11-02 Florian Weimer <fweimer@redhat.com>
6794 * stdio-common/bug16.c (do_test): Use array_length.
6795 * stdio-common/errlist.c (_sys_nerr): Likewise.
6796 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
6797 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
6798 * stdio-common/psiginfo.c (psiginfo): Use array_length.
6799 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
6800 (do_test): Use array_length.
6801 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
6802 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
6803 * stdio-common/tst-printf-round.c (do_test): Likewise.
6804 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
6805 (CHECK): Use array_length.
6806 * stdio-common/tstdiomisc.c (t3, F): Likewise.
6807 * stdio-common/tstscanf.c (main): Likewise.
6808 * stdio-common/vfprintf.c (process_string_arg): Likewise.
6810 2017-11-02 Florian Weimer <fweimer@redhat.com>
6812 Add array_length and array_end macros.
6813 * include/array_length.h: New file.
6815 2017-11-02 Florian Weimer <fweimer@redhat.com>
6818 * posix/tst-glob-tilde.c (do_noescape): New variable.
6819 (one_test): Process it.
6820 (do_test): Set do_noescape. Add unescaping test case.
6822 2017-11-01 Joseph Myers <joseph@codesourcery.com>
6825 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
6826 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
6827 with appropriate macros defined and undefined.
6828 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
6829 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
6830 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
6831 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
6832 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
6833 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
6834 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
6835 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
6836 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
6837 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
6840 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
6841 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
6842 that for long double. Do not condition define and undefine of
6843 _Mdouble_complex_ on [__CFLOAT128].
6845 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
6847 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
6848 of <sysdeps/generic/sysdep.h>.
6849 (ALIGNARG): Removed.
6850 (ASM_SIZE_DIRECTIVE): Likewise.
6853 (ENTRY_CHK): Likewise.
6854 (END_CHK): Likewise.
6855 (syscall_error): Likewise.
6857 (PSEUDO_END): Likewise.
6859 (atom_text_section): Likewise.
6860 * sysdeps/x86/sysdep.h: New file.
6861 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
6862 of <sysdeps/generic/sysdep.h>.
6863 (ALIGNARG): Removed.
6864 (ASM_SIZE_DIRECTIVE): Likewise.
6867 (ENTRY_CHK): Likewise.
6868 (END_CHK): Likewise.
6869 (syscall_error): Likewise.
6871 (PSEUDO_END): Likewise.
6873 (atom_text_section): Likewise.
6875 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
6877 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
6878 category of LC_CTYPE set to "i18n:2012".
6879 * localedata/locales/i18n_ctype: Regenerate.
6881 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
6883 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
6884 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
6885 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
6886 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
6888 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
6889 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
6890 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
6891 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
6893 2017-10-31 Joseph Myers <joseph@codesourcery.com>
6896 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
6898 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
6900 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
6902 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
6903 (CMPLXF32X): Likewise.
6904 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
6905 (CMPLXF64X): Likewise.
6906 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
6907 (CMPLXF128X): Likewise.
6910 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
6911 (__MATH_EVAL_FMT2): Define to add 0.0f.
6913 2017-10-31 Alan Modra <amodra@gmail.com>
6915 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
6917 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
6918 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
6919 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
6920 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
6921 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
6922 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
6923 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
6924 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
6925 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
6926 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
6927 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
6928 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
6929 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
6930 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
6931 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
6932 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
6933 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
6934 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
6935 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
6936 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
6937 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
6938 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
6939 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
6940 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
6941 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
6942 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
6943 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
6944 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
6945 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
6946 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
6947 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
6948 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
6949 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
6950 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
6951 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
6952 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
6953 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
6954 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
6955 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
6956 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
6957 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
6958 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
6959 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
6960 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
6961 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
6962 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
6963 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
6964 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
6965 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
6966 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
6967 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
6968 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
6969 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
6970 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
6971 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
6972 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
6973 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
6974 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
6975 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
6976 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
6977 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
6978 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
6979 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
6980 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
6981 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
6982 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
6983 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
6984 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
6985 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
6987 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
6988 include sysdep.h and math_ldbl_opt.h.
6990 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
6991 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
6992 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
6993 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
6994 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
6995 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
6996 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
6997 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
6998 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
6999 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
7000 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
7001 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
7002 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
7003 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
7004 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
7005 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
7006 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
7007 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
7008 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
7009 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
7010 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
7011 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
7012 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
7013 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
7014 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
7015 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
7017 2017-10-31 Alan Modra <amodra@gmail.com>
7019 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
7020 string/strncase_l.c, not string/strncase.c.
7021 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
7022 (libc_hidden_def): Redefine.
7024 2017-10-31 Alan Modra <amodra@gmail.com>
7026 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
7027 (__STRCMP, STRCMP, __strcasecmp_l): Define.
7028 (__strcasecmp): Don't define.
7030 2017-10-31 Alan Modra <amodra@gmail.com>
7032 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
7034 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
7035 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
7036 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
7038 2017-10-31 Alan Modra <amodra@gmail.com>
7040 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
7043 2017-10-31 Alan Modra <amodra@gmail.com>
7045 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
7046 Redefine only when SHARED.
7048 2017-10-30 Joseph Myers <joseph@codesourcery.com>
7050 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
7051 Include <bits/math-finite.h> with appropriate macros defined and
7053 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
7054 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
7055 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
7056 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
7057 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
7059 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
7060 [!_Mlong_double_] (_Mlong_double_): Likewise.
7061 [!_Mfloat16_] (_Mfloat16_): Likewise.
7062 [!_Mfloat32_] (_Mfloat32_): Likewise.
7063 [!_Mfloat64_] (_Mfloat64_): Likewise.
7064 [!_Mfloat128_] (_Mfloat128_): Likewise.
7065 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
7066 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
7067 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
7068 (_Mdouble_): Define without indirection through those macros.
7069 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
7070 [!_Mfloat128_] (_Mfloat128_): Likewise.
7071 [_Mlong_double_] (_Mlong_double_): Likewise.
7072 (_Mdouble_): Define without indirection through those macros.
7073 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
7074 not add -D_Mlong_double_=double.
7075 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
7076 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
7078 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
7080 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
7082 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
7084 * sysdeps/x86/libc-start.c: Reformat.
7086 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
7089 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
7093 (L(Src2)): Likewise.
7094 (L(1)): Renamed to ...
7097 2017-10-30 Joseph Myers <joseph@codesourcery.com>
7099 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
7100 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
7101 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
7102 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
7103 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
7104 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
7105 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
7106 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
7107 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
7108 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
7109 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
7110 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
7111 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
7112 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
7113 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
7114 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
7115 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
7116 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
7117 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
7118 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
7119 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
7120 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
7121 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
7122 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
7123 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
7124 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
7125 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
7126 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
7127 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
7128 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
7129 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
7130 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
7131 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
7132 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
7133 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
7134 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
7135 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
7136 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
7137 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
7138 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
7139 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
7140 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
7141 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
7142 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
7143 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
7144 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
7145 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
7146 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
7147 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
7148 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
7149 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
7150 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
7151 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
7152 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
7153 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
7154 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
7155 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
7156 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
7157 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
7158 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
7159 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
7160 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
7161 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
7162 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
7163 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
7164 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
7166 2017-10-30 Florian Weimer <fweimer@redhat.com>
7168 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
7170 * io/tst-mkdirat.c (do_test): Likewise.
7171 * io/tst-mkfifoat.c (do_test): Likewise.
7172 * io/tst-mknodat.c (do_test): Likewise.
7173 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
7174 * locale/programs/locale.c (select_dirs): Likewise.
7175 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
7176 * posix/bug-glob2.c (my_readdir): Likewise.
7177 * posix/tst-dir.c (main): Likewise.
7178 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
7179 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
7181 2017-10-30 Florian Weimer <fweimer@redhat.com>
7183 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
7186 2017-10-30 Florian Weimer <fweimer@redhat.com>
7188 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
7189 Convert to support/test-driver.c.
7190 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
7191 New macro parameters.
7192 (PRINTF): Remove macro. Use test_verbose conditionals instead.
7193 * posix/tst-gnuglob.c: New file.
7194 * posix/tst-gnuglob64.c: Likewise.
7195 * posix/Makefile (tests): Add tst-gnuglob64.
7197 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
7200 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
7201 and use a better translation for March in “mon”.
7202 * localedata/locales/csb_PL: Use more ASCII to improve the
7203 readability of the source.
7205 2017-10-30 Mike FABIAN <mfabian@redhat.com>
7208 * localedata/locales/km_KH: Use ASCII as much
7209 as possible for better readability of the source and
7210 remove useless comments.
7211 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
7212 was commented out and apparently wrong anyway because it was
7213 using Lao characters. If Buddhist era should be used
7214 for km_KH, a native speaker should write the correct formaat
7216 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
7217 (According to CLDR, the first weekday for Cambodia is Sunday).
7218 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
7219 (These were using Lao characters which must be wrong. If we get
7220 the correct data from a native speaker, we could add it back, until
7221 then it is better not to have name_mr and name_mrs at all than
7224 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
7226 * locale/loadlocale.c: Correct size of
7227 _nl_value_type_LC_<category> arrays.
7229 2017-10-27 Joseph Myers <joseph@codesourcery.com>
7231 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
7232 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
7233 with appropriate macros defined and undefined.
7234 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
7235 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
7236 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
7237 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
7238 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
7240 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
7242 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
7245 2017-10-27 Mike FABIAN <mfabian@redhat.com>
7247 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
7248 with lowercase letters to make it agree with CLDR.
7250 2017-10-27 Mike FABIAN <mfabian@redhat.com>
7253 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
7254 first letters of yesstr and nostr in yesexpr and noexpr,
7255 not for the full words.
7256 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
7257 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
7258 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
7259 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
7260 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
7261 first letters of yesstr and nostr in yesexpr and noexpr,
7262 until now only English was matched in yesexpr and noexpr.
7263 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
7264 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
7265 fil but not for tl. As tl and fil are very similar, using fil
7266 is probably better than using English.
7268 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
7271 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
7272 in yesstr and nostr.
7274 2017-10-26 Joseph Myers <joseph@codesourcery.com>
7276 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
7277 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
7278 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
7280 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
7282 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
7284 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
7286 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
7287 (SNANF128X): Likewise.
7289 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
7290 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
7291 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
7292 (HUGE_VAL_F32): Likewise.
7293 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
7294 (HUGE_VAL_F64): Likewise.
7295 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
7296 (HUGE_VAL_F32X): Likewise.
7297 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
7298 (HUGE_VAL_F64X): Likewise.
7299 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
7300 (HUGE_VAL_F128X): Likewise.
7302 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
7304 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
7305 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
7306 for the br_FR locale.
7308 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
7311 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
7313 2017-10-25 Carlos O'Donell <carlos@redhat.com>
7315 * locale/programs/record-status.h: Define globals, and function
7316 prototypes. Move function bodies...
7317 * locale/programs/record-status.c: ... to here. New file.
7318 * iconv/Makefile (iconv_prog-modules): Add record-status.
7319 * locale/Makefile (lib-modules): Likewise.
7320 * iconv/iconv_prog.c: Remove verbose.
7321 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
7322 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
7323 record a warning about ASCII compatibility.
7324 * locale/programs/ld-monetary.c (monetary_finish): If
7325 warn_int_curr_symbol is true then record a warning about the symbol
7326 not being in our ISO 4217 list.
7327 * locale/programs/locale.c: Include record-status.h. Remove verbose.
7328 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
7329 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
7330 (OPT_NO_WARN): Define.
7332 (options): Add entry for --no-warnings, and --warnings.
7333 (set_warnings): New function to enable/disable warnings.
7334 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
7335 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
7336 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
7337 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
7338 Pass flags to generate_locale.
7339 (generate_locale): Accept new flag argument and pass it to localedef
7341 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
7342 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
7344 * localedata/Makefile (test-input-data): Use full file name.
7345 * localedata/da_DK.in: Rename to...
7346 * localedata/da_DK.ISO-8859-1.in: ...this.
7347 * localedata/de_DE.in: Rename to...
7348 * localedata/de_DE.ISO-8859-1.in: ...this.
7349 * localedata/en_US.in: Rename to...
7350 * localedata/en_US.ISO-8859-1.in: ...this.
7351 * localedata/fr_FR.in: Rename to...
7352 * localedata/fr_FR.UTF-8.in: ... this.
7353 * localedata/hr_HR.in: Rename to...
7354 * localedata/hr_HR.ISO-8859-2.in: ...this.
7355 * localedata/hu_HU.in: Rename to...
7356 * localedata/hu_HU.UTF-8.in: ...this.
7357 * localedata/si_LK.in: Rename to...
7358 * localedata/si_LK.UTF-8.in: ...this.
7359 * localedata/sv_SE.in: Rename to...
7360 * localedata/sv_SE.ISO-8859-1.in: ...this.
7361 * localedata/tr_TR.in: Rename to...
7362 * localedata/tr_TR.UTF-8.in: ...this.
7363 * localedata/uk_UA.in: Rename to...
7364 * localedata/uk_UA.UTF-8.in: ...this.
7365 * localedata/sort-test.sh: Test file is locale name with the
7368 * localedata/unicode-gen/Makefile (check_i18n): Rename to
7369 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
7371 * localedata/locales/i18n_ctype: Regenerate.
7372 * localedata/locales/tr_TR: Likewise.
7373 * localedata/locales/translit_circle: Likewise.
7374 * localedata/locales/translit_cjk_compat: Likewise.
7375 * localedata/locales/translit_combining: Likewise.
7376 * localedata/locales/translit_compat: Likewise.
7377 * localedata/locales/translit_font: Likewise.
7378 * localedata/locales/translit_fraction: Likewise.
7380 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7382 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
7383 lxvd2x/stxvd2x with lvx/stvx.
7384 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
7386 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
7388 * include/alloc_buffer.h: Replace "if if " with "if " in
7390 * sysdeps/mips/memcpy.S: Likkewise.
7391 * sysdeps/mips/memset.S: Likewise.
7392 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
7394 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
7396 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
7399 2017-10-25 Mike FABIAN <mfabian@redhat.com>
7402 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
7404 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
7405 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
7406 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
7407 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
7408 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
7409 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
7410 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
7412 2017-10-25 Mike FABIAN <mfabian@redhat.com>
7414 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
7415 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
7416 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
7417 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
7418 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
7419 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
7420 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
7421 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
7422 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
7423 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
7424 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
7425 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
7427 2017-10-25 Mike FABIAN <mfabian@redhat.com>
7429 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
7430 as possible for better readability of the source.
7431 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
7432 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
7433 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
7434 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
7435 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
7436 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
7437 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
7438 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
7439 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
7440 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
7441 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
7442 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
7443 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
7444 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
7445 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
7446 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
7447 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
7448 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
7449 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
7450 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
7451 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
7452 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
7453 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
7454 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
7455 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
7456 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
7457 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
7458 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
7459 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
7460 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
7461 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
7462 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
7463 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
7464 * localedata/locales/en_US (LC_MESSAGES): Likewise.
7465 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
7466 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
7467 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
7468 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
7469 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
7470 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
7471 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
7472 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
7473 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
7474 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
7475 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
7476 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
7477 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
7478 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
7479 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
7480 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
7481 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
7482 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
7483 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
7484 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
7485 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
7486 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
7487 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
7488 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
7489 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
7490 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
7491 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
7492 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
7493 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
7494 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
7495 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
7496 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
7497 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
7498 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
7499 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
7500 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
7501 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
7502 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
7503 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
7504 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
7505 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
7506 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
7507 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
7508 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
7509 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
7510 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
7511 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
7512 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
7513 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
7514 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
7515 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
7516 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
7517 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
7518 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
7519 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
7520 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
7521 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
7522 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
7523 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
7524 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
7525 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
7526 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
7527 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
7528 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
7529 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
7530 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
7531 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
7532 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
7533 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
7534 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
7535 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
7536 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
7537 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
7538 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
7539 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
7540 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
7541 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
7542 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
7543 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
7544 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
7545 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
7546 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
7547 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
7548 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
7549 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
7550 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
7551 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
7552 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
7553 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
7554 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
7555 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
7556 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
7557 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
7558 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
7559 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
7560 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
7561 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
7562 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
7563 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
7564 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
7565 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
7566 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
7567 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
7568 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
7569 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
7570 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
7571 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
7572 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
7573 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
7574 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
7575 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
7576 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
7577 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
7578 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
7579 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
7580 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
7581 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
7582 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
7583 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
7584 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
7585 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
7586 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
7587 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
7588 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
7589 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
7590 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
7591 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
7592 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
7593 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
7594 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
7595 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
7596 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
7597 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
7598 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
7599 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
7600 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
7601 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
7602 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
7603 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
7604 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
7606 2017-10-25 Mike FABIAN <mfabian@redhat.com>
7608 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
7609 (Use first letters of yesstr and nostr correctly instead of using
7612 2017-10-25 Mike FABIAN <mfabian@redhat.com>
7614 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
7615 (Use first letters of yesstr and nostr correctly).
7617 2017-10-25 Mike FABIAN <mfabian@redhat.com>
7619 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
7620 also check for the first characters of yesstr and nostr.
7621 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
7622 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
7624 2017-10-25 Mike FABIAN <mfabian@redhat.com>
7626 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
7627 also check for Chinese characters.
7629 2017-10-25 Mike FABIAN <mfabian@redhat.com>
7631 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
7632 match also for the contents of yesstr and nostr. As the first letter
7633 of yesstr and nostr is equal, checking only for the first letter
7636 2017-10-25 Mike FABIAN <mfabian@redhat.com>
7638 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
7639 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
7641 2017-10-25 Mike FABIAN <mfabian@redhat.com>
7643 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
7644 of main contributor.
7646 2017-10-25 Mike FABIAN <mfabian@redhat.com>
7648 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
7649 instead of using English.
7651 2017-10-25 Mike FABIAN <mfabian@redhat.com>
7653 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
7654 by including the first letters of nostr and yesexpr in the regexp.
7655 Also make it more readable by using ASCII where possible.
7657 2017-10-25 Mike FABIAN <mfabian@redhat.com>
7659 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
7660 the first letter of nostr in the regexp. It agrees with CLDR now.
7661 Also make it more readable by using ASCII where possible.
7663 2017-10-24 Mike FABIAN <mfabian@redhat.com>
7665 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
7666 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
7667 these strings contain a U+17D6 (which somewhat looks like a colon)
7668 instead of a real colon to separate the full words for “yes”
7669 and “no” from the single letter responses.
7671 2017-10-24 Mike FABIAN <mfabian@redhat.com>
7673 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
7674 it agree with CLDR (include the first letter of yesstr).
7675 Also make it more readable by using ASCII where possible.
7677 2017-10-24 Mike FABIAN <mfabian@redhat.com>
7679 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
7680 and improve yesexpr and noexpr. The yesstr and nostr apparently
7681 came from CLDR. And CLDR has a bug there: these strings contain
7682 a U+0903 (which looks like a colon) instead of a real colon
7683 to separate the full words for “yes” and “no” from the single
7686 2017-10-24 Mike FABIAN <mfabian@redhat.com>
7688 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
7689 letters of the full yesstr and nostr in yesexpr and noexpr.
7691 2017-10-24 Mike FABIAN <mfabian@redhat.com>
7693 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
7694 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
7695 * localedata/locales/an_ES: Make source more readable by using ASCII
7698 2017-10-24 Mike FABIAN <mfabian@redhat.com>
7701 * localedata/locales/yuw_PG: New file.
7702 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
7703 * locale/iso-639.def: Add Yau (Uruwa).
7705 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
7707 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
7709 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
7711 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
7712 (__libc_realloc): Likewise.
7713 (_mid_memalign): Likewise.
7714 (__libc_calloc): Likewise.
7716 2017-10-23 Mike FABIAN <mfabian@redhat.com>
7718 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
7719 by adding the generic +1 and -0 as in all other locales.
7720 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
7721 day names and make it more readable by using ASCII where possible.
7723 2017-10-24 Joseph Myers <joseph@codesourcery.com>
7725 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
7726 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
7728 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7730 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
7731 WNOHANG in waitpid call.
7733 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
7735 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
7736 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
7738 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
7739 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
7740 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
7741 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
7742 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
7743 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
7744 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
7745 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
7748 2017-10-23 Michael Collison <michael.collison@arm.com>
7750 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
7751 with __builtin_sqrt.
7752 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
7753 with __builtin_sqrtf.
7754 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
7755 with __builtin_ceil.
7756 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
7757 with __builtin_ceilf.
7758 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
7759 with __builtin_floor.
7760 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
7761 with __builtin_floorf.
7762 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
7764 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
7765 with __builtin_fmaf.
7766 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
7767 with __builtin_fmax.
7768 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
7769 with __builtin_fmaxf.
7770 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
7771 with __builtin_fmin.
7772 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
7773 with __builtin_fminf.
7774 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
7775 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
7776 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
7777 with builtin_rint and conversion to int.
7778 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
7779 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
7780 with builtin_llround.
7781 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
7782 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
7783 with builtin_rint and conversion to long int.
7784 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
7785 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
7786 with builtin_lround.
7787 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
7788 with builtin_lroundf.
7789 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
7790 statements with __builtin_nearbyint.
7791 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
7792 statements with __builtin_nearbyintf.
7793 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
7794 with __builtin_rint.
7795 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
7796 with __builtin_rintf.
7797 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
7798 with __builtin_round.
7799 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
7800 with __builtin_roundf.
7801 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
7802 with __builtin_trunc.
7803 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
7804 with __builtin_truncf.
7805 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
7806 and s_l[l]round[f].c too.
7808 2017-10-23 Alan Modra <amodra@gmail.com>
7810 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
7811 Adjust stack after restoring regs. Add missing LR cfi_restore.
7813 2017-10-23 Alan Modra <amodra@gmail.com>
7815 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
7816 Move LR save and frame setup/teardown and LR restore to
7817 immediately around memset call. Provide cfi.
7819 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
7821 * sysdeps/i386/fpu/e_powf.S: Removed.
7822 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
7823 * sysdeps/i386/fpu/w_powf.c: Likewise.
7824 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
7825 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
7826 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
7828 (CFLAGS-e_powf-sse2.c): New.
7829 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
7830 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
7832 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
7834 * sysdeps/i386/fpu/e_log2f.S: Removed.
7835 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
7836 * sysdeps/i386/fpu/w_log2f.c: Likewise.
7837 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
7838 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
7839 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
7841 (CFLAGS-e_log2f-sse2.c): New.
7842 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
7843 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
7845 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
7847 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
7849 (CFLAGS-e_powf-fma.c): New.
7850 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
7851 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
7853 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
7855 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
7857 (CFLAGS-e_log2f-fma.c): New.
7858 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
7859 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
7861 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
7863 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
7865 (CFLAGS-e_logf-fma.c): New.
7866 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
7867 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
7869 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
7871 * sysdeps/i386/fpu/e_logf.S: Removed.
7872 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
7873 * sysdeps/i386/fpu/w_logf.c: Likewise.
7874 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
7875 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
7876 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
7877 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
7879 (CFLAGS-e_logf-sse2.c): New.
7880 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
7881 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
7883 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
7885 * sysdeps/i386/fpu/e_exp2f.S: Removed.
7886 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
7887 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
7888 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
7889 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
7891 (CFLAGS-e_exp2f-sse2.c): New.
7892 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
7893 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
7895 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
7897 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
7899 (CFLAGS-e_exp2f-fma.c): New.
7900 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
7901 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
7903 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
7905 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
7906 * sysdeps/i386/fpu/e_expf.S: Likewise.
7907 * sysdeps/i386/fpu/math_errf.c: Likewise.
7908 * sysdeps/i386/fpu/w_expf.c: Likewise.
7909 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
7910 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
7911 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
7912 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
7913 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
7914 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
7916 (CFLAGS-e_expf-sse2.c): New.
7917 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
7918 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
7920 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
7922 * sysdeps/x86_64/fpu/e_expf.S: Removed.
7923 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
7924 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
7925 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
7927 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
7929 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
7930 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
7932 (__redirect_expf): This.
7933 (SYMBOL_NAME): Changed to expf.
7934 (__ieee754_expf): Renamed to ...
7936 (__GI___expf): This.
7937 (__ieee754_expf): Add strong_alias.
7938 (__expf_finite): Likewise.
7940 Include <sysdeps/ieee754/flt-32/e_expf.c>.
7942 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
7945 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
7948 2017-10-21 Florian Weimer <fweimer@redhat.com>
7950 * posix/Makefile (tests): Add tst-glob-tilde.
7951 (tests-special): Add tst-glob-tilde-mem.out
7952 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
7953 (tst-glob-tilde-mem.out): Add mtrace check.
7954 * posix/tst-glob-tilde.c: New file.
7956 2017-10-20 Joseph Myers <joseph@codesourcery.com>
7958 * bits/floatn-common.h: New file.
7959 * math/Makefile (headers): Add bits/floatn-common.h.
7960 * bits/floatn.h: Include <bits/floatn-common.h>.
7961 * sysdeps/ia64/bits/floatn.h: Likewise.
7962 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
7963 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
7964 * sysdeps/powerpc/bits/floatn.h: Likewise.
7965 * sysdeps/x86/bits/floatn.h: Likewise.
7967 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7969 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
7970 indicates whether compiler emits an warning for alias for
7971 functions with incompatible types.
7974 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
7975 the auxiliary process is terminated by a signal before calling _exit
7978 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
7981 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
7983 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
7984 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
7985 and bit_arch_XSAVEC_Usable if needed.
7986 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
7987 and bit_arch_Use_dl_runtime_resolve_opt.
7988 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
7990 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
7991 (bit_arch_Prefer_No_AVX512): Updated.
7992 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
7993 (bit_arch_XSAVEC_Usable): New.
7994 (STATE_SAVE_OFFSET): Likewise.
7995 (STATE_SAVE_MASK): Likewise.
7996 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
7997 (cpu_features): Add xsave_state_size and xsave_state_full_size.
7998 (index_arch_Use_dl_runtime_resolve_opt): Removed.
7999 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
8000 (index_arch_XSAVEC_Usable): New.
8001 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
8002 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
8003 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
8005 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
8006 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
8007 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
8008 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
8009 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
8010 _dl_runtime_resolve_xsavec.
8011 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
8013 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
8014 instead of VEC_SIZE.
8015 (REGISTER_SAVE_BND0): Removed.
8016 (REGISTER_SAVE_BND1): Likewise.
8017 (REGISTER_SAVE_BND3): Likewise.
8018 (REGISTER_SAVE_RAX): Always defined to 0.
8020 (_dl_runtime_resolve_avx): Likewise.
8021 (_dl_runtime_resolve_avx_slow): Likewise.
8022 (_dl_runtime_resolve_avx_opt): Likewise.
8023 (_dl_runtime_resolve_avx512): Likewise.
8024 (_dl_runtime_resolve_avx512_opt): Likewise.
8025 (_dl_runtime_resolve_sse): Likewise.
8026 (_dl_runtime_resolve_sse_vex): Likewise.
8028 (_dl_runtime_resolve_fxsave): Likewise.
8029 (USE_XSAVE): Likewise.
8030 (_dl_runtime_resolve_xsave): Likewise.
8031 (USE_XSAVEC): Likewise.
8032 (_dl_runtime_resolve_xsavec): Likewise.
8033 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
8035 (_dl_runtime_resolve_avx512_opt): Likewise.
8036 (_dl_runtime_resolve_avx): Likewise.
8037 (_dl_runtime_resolve_avx_opt): Likewise.
8038 (_dl_runtime_resolve_sse): Likewise.
8039 (_dl_runtime_resolve_sse_vex): Likewise.
8040 (_dl_runtime_resolve_fxsave): New.
8041 (_dl_runtime_resolve_xsave): Likewise.
8042 (_dl_runtime_resolve_xsavec): Likewise.
8044 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
8048 * posix/glob.c (__glob): Fix one-byte overflow.
8050 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
8052 * malloc/malloc.c (sysdep-cancel.h): Add include.
8054 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
8056 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
8058 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
8060 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
8061 (tests): Remove $(objpfx)ga_test depdendency.
8062 * resolv/ga_test.c: Remove file.
8064 2017-10-20 Mike FABIAN <mfabian@redhat.com>
8067 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
8068 * localedata/locales/kab_DZ: New file.
8070 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
8072 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
8073 _dl_relocate_static_pie instead of _dl_start to compute load
8074 address in static PIE.
8076 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
8078 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
8080 2017-10-20 Mike FABIAN <mfabian@redhat.com>
8083 * localedata/SUPPORTED: Add shn_MM/UTF-8.
8084 * localedata/locales/shn_MM: New file.
8086 2017-10-20 Florian Weimer <fweimer@redhat.com>
8089 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
8090 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
8091 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
8092 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
8093 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
8094 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
8096 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
8098 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8100 2017-10-19 Joseph Myers <joseph@codesourcery.com>
8102 * sysdeps/mips/ieee754/bits/floatn.h: New file.
8105 * sysdeps/mips/bits/long-double.h: Move to ....
8106 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
8108 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
8110 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
8112 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
8113 H.J. Lu <hongjiu.lu@intel.com>
8116 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
8117 GLRO(dl_platform) to NULL.
8118 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
8119 (modules-names): Add tst-platformmod-1 and
8120 x86_64/tst-platformmod-2.
8121 (CFLAGS-tst-platform-1.c): New.
8122 (CFLAGS-tst-platformmod-1.c): Likewise.
8123 (CFLAGS-tst-platformmod-2.c): Likewise.
8124 (LDFLAGS-tst-platformmod-2.so): Likewise.
8125 ($(objpfx)tst-platform-1): Likewise.
8126 ($(objpfx)tst-platform-1.out): Likewise.
8127 (tst-platform-1-ENV): Likewise.
8128 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
8129 * sysdeps/x86_64/tst-platform-1.c: New file.
8130 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
8131 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
8133 2017-10-19 Mike FABIAN <mfabian@redhat.com>
8136 * locale/iso-639.def: Add Karbi.
8137 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
8138 * localedata/locales/mjw_IN: New file.
8140 2017-10-18 Joseph Myers <joseph@codesourcery.com>
8142 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
8143 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
8144 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
8145 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
8146 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
8147 (libm_alias_ldouble_other_r): Also create _Float128 alias.
8148 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
8150 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
8151 (libm_alias_ldouble_other_r): Also create _Float128 alias.
8152 * manual/math.texi (Mathematics): Document additional architecture
8153 support for _Float128.
8154 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
8155 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8156 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8157 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8158 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8159 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8160 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8161 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8162 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8163 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8164 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8165 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8166 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8167 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8168 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8170 2017-10-18 Renlin Li <renlin.li@arm.com>
8172 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
8173 _DYNAMIC symbol to calculate load address.
8175 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
8177 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
8178 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
8180 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
8181 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
8183 2017-10-18 Mike FABIAN <mfabian@redhat.com>
8186 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
8187 and improve readability by using more ASCII.
8188 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
8189 and improve readability by using more ASCII.
8191 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
8193 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
8194 not all targets support atomics on bool.
8196 2017-10-17 Joseph Myers <joseph@codesourcery.com>
8198 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
8199 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
8201 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
8202 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
8203 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
8204 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
8205 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
8206 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
8208 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8210 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
8213 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
8216 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
8217 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
8218 (do_check_remalloced_chunk): Fix build bug.
8219 (do_check_malloc_state): Add assert that checks arena->top.
8220 (malloc_consolidate): Remove initialization.
8221 (int_mallinfo): Remove call to malloc_consolidate.
8222 (__libc_mallopt): Clarify why malloc_consolidate is needed.
8224 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
8226 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
8227 (have_fastchunks): Remove.
8228 (clear_fastchunks): Remove.
8229 (set_fastchunks): Remove.
8230 (malloc_state): Add have_fastchunks.
8231 (malloc_init_state): Use have_fastchunks.
8232 (do_check_malloc_state): Remove incorrect invariant checks.
8233 (_int_malloc): Use have_fastchunks.
8234 (_int_free): Likewise.
8235 (malloc_consolidate): Likewise.
8237 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
8239 * malloc/malloc.c (tcache_put): Inline.
8240 (tcache_get): Inline.
8242 2017-10-17 Jordi Mallach <jordi@gnu.org>
8244 Aurelien Jarno <aurelien@aurel32.net>
8246 * localedata/locales/ca_ES@valencia: New file.
8247 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
8249 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
8252 * math/math.h: Let signbit use the builtin in C++ mode with gcc
8255 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8257 * scripts/build-many-glibcs.py (Context.add_all_configs):
8258 Add arm-linux-gnueabihf multiarch extra_glibcs.
8260 * sysdeps/generic/ifunc-init.h: New file.
8261 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
8263 2017-10-17 Mike FABIAN <mfabian@redhat.com>
8266 * localedata/locales/el_GR: Set n_cs_precedes to 0.
8267 * localedata/locales/el_CY: copy "el_GR" because it is identical.
8268 * stdlib/tst-strfmon_l.c: adapt test case.
8270 2017-10-16 Joseph Myers <joseph@codesourcery.com>
8272 * sysdeps/generic/float128-abi.h: New file.
8273 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
8274 non-__prefixed symbols to ....
8275 * math/Versions: ... here. Include <float128-abi.h>.
8276 * stdlib/Versions ... and here. Include <float128-abi.h>
8278 2017-10-16 Florian Weimer <fweimer@redhat.com>
8280 * version.h (VERSION): Switch to ".9000" as the development
8283 2017-10-16 Florian Weimer <fweimer@redhat.com>
8286 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
8287 compat_symbol_reference to access non-default version.
8289 2017-10-16 Florian Weimer <fweimer@redhat.com>
8291 * malloc/Makefile (others-extras): Set to mcheck-init.o.
8293 2017-10-16 Carlos O'Donell <carlos@redhat.com>
8295 * include/shlib-compat.h (compat_symbol_reference): Update
8298 2017-10-16 Joseph Myers <joseph@codesourcery.com>
8300 * math/Makefile (test-types): Add
8301 $(type-float128-$(float128-alias-fcts)).
8302 * math/test-float128.h (TYPE_STR): Define conditional on
8303 [FLT128_MANT_DIG == LDBL_MANT_DIG].
8304 (ULP_IDX): Likewise.
8305 (ULP_I_IDX): Likewise.
8307 * stdlib/strtold.c: Include <bits/floatn.h>
8308 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
8309 and later undefine as macro. Define as weak alias if
8311 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
8312 and later undefine as macro. Define as weak alias if
8314 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
8315 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
8316 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
8317 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
8318 Define and later undefine as macro. Define as weak alias if
8320 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
8322 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
8323 Define and later undefine as macro. Define as weak alias if
8325 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
8326 Define and later undefine as macro. Define as weak alias if
8329 2017-10-15 Carlos O'Donell <carlos@redhat.com>
8331 * localedata/collate-test.c (allocate_arrays): Don't use \n in
8332 record_verbose messages.
8334 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
8337 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
8338 to silence -O3 -Wall warning with GCC 7.
8340 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
8342 * Makeconfig (+link-static-before-libc): Use the first of
8343 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
8344 * gmon/Makefile (tests): Add tst-gmon-static.
8345 (tests-static): Likewise.
8346 (CFLAGS-tst-gmon-static.c): New.
8347 (CRT-tst-gmon-static): Likewise.
8348 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
8349 (tst-gmon-static-ENV): Likewise.
8350 (tests-special): Likewise.
8351 ($(objpfx)tst-gmon-static.out): Likewise.
8352 (clean-tst-gmon-static-data): Likewise.
8353 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
8354 * gmon/tst-gmon-static-gprof.sh: New file.
8355 * gmon/tst-gmon-static.c: Likewise.
8357 2017-10-13 Carlos O'Donell <carlos@redhat.com>
8360 * locale/programs/linereader.c (get_string): Don't warn on
8361 non-symbolic character.
8364 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
8368 * locale/programs/record-status.h: New file
8369 * locale/programs/locale.c: Add comment.
8370 * locale/programs/charmap-dir.c: Don't include error.h.
8371 (charmap_opendir): Use record_error.
8372 * locale/programs/charmap.c: Don't include error.h.
8373 (charmap_read): Use record_error, and record_warning.
8374 (parse_charmap): Likewise.
8375 * locale/programs/ld-address.c: Don't include error.h.
8376 (address_finish): Use record_error, and record_warning.
8377 * locale/programs/ld-collate.c: Don't include error.h.
8378 (collate_finish): Use record_error, and record_error_at_line.
8379 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
8380 (ctype_class_new): Likewise.
8381 (ctype_map_new): Likewise.
8382 (set_one_default): Likewise.
8383 (set_class_defaults): Likewise.
8384 (translit_flatten): Likewise.
8385 (allocate_arrays): Use record_error, and record_verbose.
8386 * locale/programs/ld-identification.c: Don't include error.h.
8387 (indentation_finish): Use record_error and record_warning.
8388 * locale/programs/ld-measurement.c: Don't include error.h.
8389 (measurement_finish): Use record_error.
8390 * locale/programs/ld-messages.c
8391 (message_finish): Likewise.
8392 * locale/programs/ld-monetary.c
8393 (monetary_finish): Likewise.
8394 * locale/programs/ld-name.c (name_finish): Use record_error
8396 * locale/programs/ld-numeric.c
8397 (numeric_finish): Use record_error.
8398 * locale/programs/ld-paper.c: Don't include error.h.
8399 (paper_finish): Use record_error.
8400 * locale/programs/ld-telephone.c: Don't include error.h.
8401 (telephone_finish): Use record_error.
8402 * locale/programs/ld-time.c (time_finish): Likewise.
8403 * locale/programs/linereader.h (lr_error): Make inline func.
8404 * locale/programs/localedef.c: Define recorded_warning_count,
8405 and recorded_error_count.
8406 (main): Use record_error. Use recorded_error_count and
8407 recorded_warning_count to issue correct error returns.
8408 (add_to_readlist): Use record_error.
8409 (find_locale): Likewise.
8410 (load_locale): Likewise.
8411 * locale/programs/localedef.h: Remove be_quiet
8412 and WITH_CUR_LOCALE.
8413 * locale/programs/locarchive.c (compare_from_file): Use
8415 * locale/programs/locfile.c (write_locale_data): Use
8417 * locale/programs/repertoire.c: Dont include error.h.
8418 (repertoire_complain): Use record_error.
8419 * localedata/tst-fmon.sh: Expect failures from localedef.
8420 * localedata/tst-locale.sh: Likewise.
8421 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
8423 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
8424 (REPORTS): Likewise.
8426 (i18n): Rename to...
8427 (i18n_ctype): ...this.
8428 (i18n-report): Rename to...
8429 (i18n_ctype-report): ...this.
8430 * localedata/locales/i18n_ctype: Regenerate.
8431 * localedata/locales/i18n: copy i18n_ctype.
8433 2017-10-13 Joseph Myers <joseph@codesourcery.com>
8435 * stdlib/strfroml.c: Include <bits/floatn.h>.
8436 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
8437 Define before include of <stdlib.h> and undefine afterwards, then
8438 define as weak alias.
8440 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
8441 Undefine and restore default definition. Use
8442 libm_alias_ldouble_other.
8444 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
8447 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
8450 2017-10-13 James Clarke <jrtc27@jrtc27.com>
8452 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
8453 Assign sym_map to be map for local symbols, as TLS relocations
8454 use sym_map to determine whether the symbol is defined and to
8455 extract the TLS information.
8456 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
8457 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
8459 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8462 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
8463 (math_force_eval): Add powerpc version.
8466 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
8468 (do_test): Likewise.
8469 * stdio-common/tst-printf.sh: Likewise.
8470 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
8471 ifdef clause in order to set the carry bit right. Replace r0 by
8472 0 without changing the behavior.
8474 2017-10-13 Joseph Myers <joseph@codesourcery.com>
8476 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
8477 <libm-alias-ldouble.h>.
8478 (fabsl): Define using libm_alias_ldouble.
8479 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
8480 <libm-alias-ldouble.h>.
8481 (fabsl): Define using libm_alias_ldouble.
8483 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
8484 Remove conditional code.
8486 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
8487 Rename to __clog10_internal_l.
8488 (__clog10_internal_l): Define aliases using
8489 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
8492 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8494 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
8495 * benchtests/sincosf-inputs: New file.
8496 * benchtests/cosf-inputs: New file.
8497 * benchtests/sinf-inputs: New file.
8499 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
8501 * posix/tst-spawn.c (do_test): Wait for both children.
8503 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
8506 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
8507 tests-pie): Add tst-gmon-pie.
8508 (CFLAGS-tst-gmon-pie.c): New.
8509 (CRT-tst-gmon-pie): Likewise.
8510 (tst-gmon-pie-ENV): Likewise.
8511 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
8512 ($(objpfx)tst-gmon-pie.out): Likewise.
8513 (clean-tst-gmon-pie-data): Likewise.
8514 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
8515 * gmon/gmon.c [PIC]: Include <link.h>.
8516 [PIC] (callback): New function.
8517 (write_hist): Add an argument for load address. Subtract load
8519 (write_call_graph): Likewise.
8520 (write_gmon): Call __dl_iterate_phdr to get load address, pass
8521 it to write_hist and write_call_graph.
8522 * gmon/tst-gmon-pie.c: New file.
8524 2017-10-11 Joseph Myers <joseph@codesourcery.com>
8526 * math/Makefile (test-types-basic): New variable.
8527 (test-types): Likewise.
8528 (libm-test-support): Use $(test-types) instead of $(types).
8529 (libm-tests-base-normal): Likewise.
8530 (libm-tests-base-finite): Likewise.
8531 (libm-tests-base-inline): Likewise.
8532 (generated): Likewise.
8533 ($(objpfx)libm-test-support-$(t).c): Likewise.
8534 (libm-tests-for-type iterator): Likewise.
8535 (libm-test-support iterator): Likewise.
8536 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
8537 (ulp_idx): Use ULP_IDX.
8538 * math/test-ldouble.h: Include <float.h>.
8539 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
8540 (ULP_IDX): New macro.
8541 (ULP_I_IDX): Likewise.
8542 * math/test-double.h (ULP_IDX): Likewise.
8543 (ULP_I_IDX): Likewise.
8544 * math/test-float.h (ULP_IDX): Likewise.
8545 (ULP_I_IDX): Likewise.
8546 * math/test-float128.h (ULP_IDX): Likewise.
8547 (ULP_I_IDX): Likewise.
8549 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8551 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
8552 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
8553 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
8554 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
8555 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
8556 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
8557 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
8558 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
8559 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
8560 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
8561 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
8562 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
8563 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
8564 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
8565 (SINGLE_THREAD_BY_GLOBAL): Define.
8566 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
8568 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
8570 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
8572 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
8574 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
8575 (SINGLE_THREAD_BY_GLOBAL): Likewise.
8576 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
8579 2017-10-11 Andreas Schwab <schwab@suse.de>
8581 * nis/Makefile (aux): Remove.
8582 * nscd/Makefile (aux): Add nscd_hash.
8583 (nscd-modules): Likewise.
8584 ($(objpfx)nscd): Don't depend on libnsl.
8585 * nscd/nscd_hash.c: New file.
8586 * nscd/nscd_hash.h: Likewise.
8587 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
8588 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
8589 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
8590 instead of <nis/rpcsvc/nis.h>.
8591 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
8593 2017-10-11 Florian Weimer <fweimer@redhat.com>
8596 Avoid large NSS buffers with many addresses, aliases.
8597 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
8598 using dynarrays and struct alloc_buffer.
8599 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
8600 (tst-nss-files-hosts-multi): Link with -ldl.
8601 * nss/tst-nss-files-hosts-multi.c: New file.
8603 2017-10-11 Florian Weimer <fweimer@redhat.com>
8606 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
8607 scratch_buffer. Eliminate gotos.
8609 2017-10-11 Joseph Myers <joseph@codesourcery.com>
8611 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
8612 libm_alias_ldouble_other.
8613 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
8614 undefine and redefine.
8615 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
8616 (exp10l): Do not define here.
8617 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
8618 (weak_alias): Undefine and redefine.
8619 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
8620 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
8621 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
8622 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
8624 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
8625 [!__fma] (fma): Define using libm_alias_double.
8626 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
8627 [!__fmaf] (fmaf): Define using libm_alias_float.
8628 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
8629 (fmal): Define using libm_alias_ldouble.
8631 2017-10-10 Joseph Myers <joseph@codesourcery.com>
8633 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
8635 (libm_alias_double_other): Likewise.
8636 (libm_alias_double_r): Use libm_alias_double_other_r.
8637 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
8639 (libm_alias_float_other): Likewise.
8640 (libm_alias_float_r): Use libm_alias_float_other_r.
8641 * sysdeps/generic/libm-alias-float128.h
8642 (libm_alias_float128_other_r): New macro.
8643 (libm_alias_float128_other): Likewise.
8644 (libm_alias_float128_r): Use libm_alias_float128_other_r.
8645 * sysdeps/generic/libm-alias-ldouble.h
8646 (libm_alias_ldouble_other_r): New macro.
8647 (libm_alias_ldouble_other): Likewise.
8648 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
8649 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
8650 (libm_alias_double_other_r): New macro.
8651 (libm_alias_double_other): Likewise.
8652 (libm_alias_double_r): Use libm_alias_double_other_r.
8653 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
8654 (libm_alias_ldouble_other_r): New macro.
8655 (libm_alias_ldouble_other): Likewise.
8656 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
8657 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
8658 [!USE_AS_COMPAT]: Use libm_alias_double_other.
8659 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
8660 [!USE_AS_COMPAT]: Use libm_alias_float_other.
8661 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
8662 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
8663 * math/w_exp2f.c: Use libm_alias_float_other.
8664 * math/w_expf.c: Likewise.
8665 * math/w_log2f.c: Likewise.
8666 * math/w_logf.c: Likewise.
8667 * math/w_powf.c: Likewise.
8668 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
8669 [!__exp2f]: Use libm_alias_float_other.
8670 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
8671 [!__expf]: Use libm_alias_float_other.
8672 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
8673 [!__log2f]: Use libm_alias_float_other.
8674 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
8675 [!__logf]: Use libm_alias_float_other.
8676 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
8677 [!__powf]: Use libm_alias_float_other.
8679 2017-10-10 Florian Weimer <fweimer@redhat.com>
8681 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
8683 (_nss_files_gethostbyname3_r): Call it.
8685 2017-10-09 Joseph Myers <joseph@codesourcery.com>
8687 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
8688 error. Remove default definition of declare_mgen_alias.
8689 [!declare_mgen_alias_r]: Likewise.
8690 * sysdeps/generic/math-type-macros-double.h
8691 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
8692 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
8693 (declare_mgen_alias_r): Likewise.
8694 * sysdeps/generic/math-type-macros-float128.h
8695 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
8696 * sysdeps/generic/math-type-macros-ldouble.h
8697 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
8698 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
8700 (declare_mgen_alias_r_s): Likewise.
8701 (declare_mgen_alias_r): Likewise.
8702 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
8703 (lgamma_r): Define using libm_alias_double_r.
8704 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
8705 (lgammaf_r): Define using libm_alias_float_r.
8706 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
8707 (lgammal_r): Define using libm_alias_ldouble_r.
8708 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
8709 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
8711 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8713 * lib/glob.c (__glob_pattern_type): Remove now-spurious
8716 2017-10-09 Joseph Myers <joseph@codesourcery.com>
8718 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
8720 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
8723 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
8724 [__cplusplus >= 201103] (__USE_ISOC99): Define.
8725 * math/Makefile (test-math-cxx11): New test.
8726 * math/test-math-cxx11.cc: New file.
8728 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
8730 * login/openpty.c (openpty): Close slave pty file descriptor on error.
8732 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
8733 call to allocate the slave pty file descriptor.
8735 2017-10-06 Joseph Myers <joseph@codesourcery.com>
8737 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
8738 [!__fma] (fma): Define using libm_alias_double.
8739 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
8740 [!__fma] (fma): Define using libm_alias_double.
8742 * sysdeps/ieee754/float128/float128_private.h: Include
8743 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
8744 (libm_alias_ldouble_r): Undefine and redefine.
8745 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
8746 <libm-alias-ldouble.h>.
8747 (asinhl): Define using libm_alias_ldouble.
8748 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
8749 <libm-alias-ldouble.h>.
8750 (atanl): Define using libm_alias_ldouble.
8751 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
8752 <libm-alias-ldouble.h>.
8753 (cbrtl): Define using libm_alias_ldouble.
8754 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
8755 <libm-alias-ldouble.h>.
8756 (ceill): Define using libm_alias_ldouble.
8757 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
8758 <libm-alias-ldouble.h>.
8759 (copysignl): Define using libm_alias_ldouble.
8760 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
8761 <libm-alias-ldouble.h>.
8762 (cosl): Define using libm_alias_ldouble.
8763 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
8764 <libm-alias-ldouble.h>.
8765 (erfl): Define using libm_alias_ldouble.
8767 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
8768 <libm-alias-ldouble.h>.
8769 (expm1l): Define using libm_alias_ldouble.
8770 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
8771 <libm-alias-ldouble.h>.
8772 (fabsl): Define using libm_alias_ldouble.
8773 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
8774 <libm-alias-ldouble.h>.
8775 (floorl): Define using libm_alias_ldouble.
8776 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
8777 <libm-alias-ldouble.h>.
8778 (fmal): Define using libm_alias_ldouble.
8779 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
8780 <libm-alias-ldouble.h>.
8781 (frexpl): Define using libm_alias_ldouble.
8782 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
8784 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
8785 <libm-alias-ldouble.h>.
8786 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
8788 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
8789 <libm-alias-ldouble.h>.
8790 (getpayloadl): Define using libm_alias_ldouble.
8791 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
8792 <libm-alias-ldouble.h>.
8793 (llrintl): Define using libm_alias_ldouble.
8794 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
8795 <libm-alias-ldouble.h>.
8796 (llroundl): Define using libm_alias_ldouble.
8797 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
8798 <libm-alias-ldouble.h>.
8799 (logbl): Define using libm_alias_ldouble.
8800 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
8801 <libm-alias-ldouble.h>.
8802 (lrintl): Define using libm_alias_ldouble.
8803 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
8804 <libm-alias-ldouble.h>.
8805 (lroundl): Define using libm_alias_ldouble.
8806 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
8807 <libm-alias-ldouble.h>.
8808 (modfl): Define using libm_alias_ldouble.
8809 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
8810 <libm-alias-ldouble.h>.
8811 (nearbyintl): Define using libm_alias_ldouble.
8812 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
8813 <libm-alias-ldouble.h>.
8814 (nextafterl): Define using libm_alias_ldouble.
8815 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
8816 <libm-alias-ldouble.h>.
8817 (nextupl): Define using libm_alias_ldouble.
8818 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
8819 <libm-alias-ldouble.h>.
8820 (remquol): Define using libm_alias_ldouble.
8821 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
8822 <libm-alias-ldouble.h>.
8823 (rintl): Define using libm_alias_ldouble.
8824 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
8825 <libm-alias-ldouble.h>.
8826 (roundevenl): Define using libm_alias_ldouble.
8827 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
8828 <libm-alias-ldouble.h>.
8829 (roundl): Define using libm_alias_ldouble.
8830 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
8831 using libm_alias_ldouble.
8832 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
8833 <libm-alias-ldouble.h>.
8834 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
8835 Define using libm_alias_ldouble.
8836 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
8837 <libm-alias-ldouble.h>.
8838 (sincosl): Define using libm_alias_ldouble.
8839 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
8840 <libm-alias-ldouble.h>.
8841 (sinl): Define using libm_alias_ldouble.
8842 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
8843 <libm-alias-ldouble.h>.
8844 (tanhl): Define using libm_alias_ldouble.
8845 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
8846 <libm-alias-ldouble.h>.
8847 (tanl): Define using libm_alias_ldouble.
8848 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
8849 <libm-alias-ldouble.h>.
8850 (totalorderl): Define using libm_alias_ldouble.
8851 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
8852 <libm-alias-ldouble.h>.
8853 (totalordermagl): Define using libm_alias_ldouble.
8854 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
8855 <libm-alias-ldouble.h>.
8856 (truncl): Define using libm_alias_ldouble.
8857 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
8859 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
8861 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
8862 <libm-alias-ldouble.h>.
8863 (weak_alias): Do not undefine and redefine.
8864 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
8865 (copysignl): Define with long_double_symbol only if [IS_IN
8867 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
8868 <libm-alias-ldouble.h>.
8869 (weak_alias): Do not undefine and redefine.
8870 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
8871 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
8872 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
8873 <libm-alias-ldouble.h>.
8874 (weak_alias): Do not undefine and redefine.
8875 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
8876 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
8877 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
8878 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
8879 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
8880 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
8881 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
8882 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
8883 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
8884 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
8885 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
8886 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
8887 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
8888 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
8889 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
8890 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
8891 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
8892 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
8893 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
8894 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
8895 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
8896 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
8897 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
8898 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
8899 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
8900 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
8902 2017-10-06 Carlos O'Donell <carlos@redhat.com>
8905 * malloc/malloc.c (tcache_shutting_down): Use bool type.
8906 (tcache_thread_freeres): Set tcache_shutting_down before
8908 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
8909 * malloc/tst-malloc-tcache-leak.c: New file.
8911 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8913 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
8914 back to powerpc32 file.
8915 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
8916 (memrchr): Add __memrchr_power8 to ifunc list.
8917 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
8918 extra bytes for unaligned inputs.
8920 2017-10-06 Joseph Myers <joseph@codesourcery.com>
8922 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
8923 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
8924 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
8925 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
8926 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
8928 2017-10-05 Joseph Myers <joseph@codesourcery.com>
8930 * sysdeps/arm/libm-test-ulps: Update.
8932 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
8933 <libm-alias-ldouble.h>.
8934 (asinhl): Define using libm_alias_ldouble.
8935 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
8936 <libm-alias-ldouble.h>.
8937 (cbrtl): Define using libm_alias_ldouble.
8938 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
8939 <libm-alias-ldouble.h>.
8940 (copysignl): Define using libm_alias_ldouble.
8941 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
8942 <libm-alias-ldouble.h>.
8943 (cosl): Define using libm_alias_ldouble.
8944 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
8945 <libm-alias-ldouble.h>.
8946 (erfl): Define using libm_alias_ldouble.
8948 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
8949 <libm-alias-ldouble.h>.
8950 (fmal): Define using libm_alias_ldouble.
8951 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
8952 <libm-alias-ldouble.h>.
8953 (frexpl): Define using libm_alias_ldouble.
8954 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
8956 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
8957 <libm-alias-ldouble.h>.
8958 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
8960 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
8961 <libm-alias-ldouble.h>.
8962 (getpayloadl): Define using libm_alias_ldouble.
8963 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
8964 <libm-alias-ldouble.h>.
8965 (llrintl): Define using libm_alias_ldouble.
8966 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
8967 <libm-alias-ldouble.h>.
8968 (llroundl): Define using libm_alias_ldouble.
8969 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
8970 <libm-alias-ldouble.h>.
8971 (lrintl): Define using libm_alias_ldouble.
8972 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
8973 <libm-alias-ldouble.h>.
8974 (lroundl): Define using libm_alias_ldouble.
8975 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
8976 <libm-alias-ldouble.h>.
8977 (modfl): Define using libm_alias_ldouble.
8978 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
8979 <libm-alias-ldouble.h>.
8980 (nextupl): Define using libm_alias_ldouble.
8981 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
8982 <libm-alias-ldouble.h>.
8983 (remquol): Define using libm_alias_ldouble.
8984 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
8985 <libm-alias-ldouble.h>.
8986 (roundevenl): Define using libm_alias_ldouble.
8987 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
8988 <libm-alias-ldouble.h>.
8989 (roundl): Define using libm_alias_ldouble.
8990 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
8991 using libm_alias_ldouble.
8992 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
8993 <libm-alias-ldouble.h>.
8994 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
8995 <libm-alias-ldouble.h>.
8996 (setpayloadsigl): Define using libm_alias_ldouble.
8997 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
8998 <libm-alias-ldouble.h>.
8999 (sincosl): Define using libm_alias_ldouble.
9000 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
9001 <libm-alias-ldouble.h>.
9002 (sinl): Define using libm_alias_ldouble.
9003 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
9004 <libm-alias-ldouble.h>.
9005 (tanhl): Define using libm_alias_ldouble.
9006 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
9007 <libm-alias-ldouble.h>.
9008 (tanl): Define using libm_alias_ldouble.
9009 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
9010 <libm-alias-ldouble.h>.
9011 (totalorderl): Define using libm_alias_ldouble.
9012 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
9013 <libm-alias-ldouble.h>.
9014 (totalordermagl): Define using libm_alias_ldouble.
9015 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
9017 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
9020 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
9022 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
9024 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
9025 (__libc_ifunc_impl_list): Likewise.
9026 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
9027 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
9029 * benchtests/bench-memmove-walk.c: New file.
9030 * benchtests/Makefile (string-benchset): Add it.
9032 * benchtests/bench-memset-walk.c: New file.
9033 * benchtests/Makefile (string-benchset): Add it.
9035 * benchtests/bench-memcpy-walk.c: New file.
9036 * benchtests/Makefile (string-benchset): Add it.
9038 2017-10-05 Florian Weimer <fweimer@redhat.com>
9040 nscd: Eliminate compilation time dependency in the build output.
9041 * nscd/nscd_stat.c (STATDATA_VERSION)
9042 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
9043 (STATDATA_VERSION_FULL): New macro definitions.
9044 (compilation): Remove.
9045 (struct statdata): Adjust version member.
9046 (send_stats): Set version from STATDATA_VERSION_FULL.
9047 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
9049 2017-10-05 Joseph Myers <joseph@codesourcery.com>
9051 * configure.ac (--enable-add-ons): Remove option.
9052 (machine): Do not mention add-ons in comment.
9053 (LIBC_PRECONFIGURE): Likewise.
9054 (add_ons): Remove variable and sanity checks and logic to locate
9056 (add_ons_automatic): Remove variable.
9057 (configured_add_ons): Likewise.
9058 (add_ons_sfx): Likewise.
9059 (add_ons_pfx): Likewise.
9060 (add_on_subdirs): Likewise.
9061 (sysnames_add_ons): Likewise. Remove loop over add-ons and
9062 consideration of add-ons in Implies handling.
9063 (sysdeps_add_ons): Likewise.
9064 * configure: Regenerated.
9065 * libidn/configure.ac: Remove.
9066 * libidn/configure: Likewise.
9067 * sysdeps/unix/inet/configure.ac: New file.
9068 * sysdeps/unix/inet/configure: New generated file.
9069 * sysdeps/unix/inet/Subdirs: Add libidn.
9070 * Makeconfig (sysdeps-srcdirs): Remove variable.
9071 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
9072 ($(common-objpfx)config.status): Do not depend on add-on files.
9073 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
9075 (all-subdirs): Do not include $(add-on-subdirs).
9076 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
9077 * config.make.in (add-ons): Remove variable.
9078 (add-on-subdirs): Likewise.
9079 (sysdeps-add-ons): Likewise.
9080 * manual/Makefile (add-chapters): Remove.
9081 ($(objpfx)texis): Do not depend on $(add-chapters).
9082 (nonexamples): Do not handle $(add-chapters).
9083 (examples): Do not handle $(add-ons).
9084 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
9086 * manual/install.texi (Installation): Do not mention add-ons.
9087 (--enable-add-ons): Do not document configure option.
9088 * INSTALL: Regenerated.
9089 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
9090 * manual/maint.texi (Hierarchy Conventions): Do not mention
9092 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
9094 * scripts/gen-sorted.awk: Do not handle Subdirs files from
9096 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
9097 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
9099 2017-10-05 Andreas Schwab <schwab@suse.de>
9102 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
9103 (_IO_flush_all_lockp): Always lock list_all_lock.
9104 (_IO_flush_all_linebuffered): Likewise.
9105 (_IO_unbuffer_all): Likewise.
9107 2017-10-05 Florian Weimer <fweimer@redhat.com>
9110 Do not flush stdio streams on abort.
9111 * stdlib/abort.c (fflush): Remove macro definition.
9112 (abort): Remove stages related to stdio flushing.
9114 2017-10-05 Florian Weimer <fweimer@redhat.com>
9116 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
9118 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
9120 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9122 2017-10-05 Florian Weimer <fweimer@redhat.com>
9124 * support/support_format_hostent.c (support_format_hostent): Add
9125 more error information for NETDB_INTERNAL.
9127 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
9129 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
9130 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
9131 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
9132 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
9133 AC_DEFINE if multi-arch is enabled.
9134 * sysdeps/i386/configure: Regenerated.
9136 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
9138 * Makeconfig (+link-static-before-libc): Use
9139 $(DEFAULT-LDFLAGS-$(@F)).
9140 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
9141 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
9142 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
9144 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
9146 * elf/Makefile (tests): Add tst-main1.
9147 (modules-names): Add tst-main1mod.
9148 ($(objpfx)tst-main1): New.
9149 (CRT-tst-main1): Likewise.
9150 (LDFLAGS-tst-main1): Likewise.
9151 (LDLIBS-tst-main1): Likewise.
9152 (tst-main1mod.so-no-z-defs): Likewise.
9153 * elf/tst-main1.c: New file.
9154 * elf/tst-main1mod.c: Likewise.
9156 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
9158 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
9160 2017-10-04 Joseph Myers <joseph@codesourcery.com>
9162 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
9163 (fma): Define using libm_alias_double.
9164 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
9165 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
9167 (fmal): Do not define as compat symbol here.
9168 * sysdeps/alpha/fpu/s_fma.c: New file.
9170 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
9172 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
9174 2017-10-04 Joseph Myers <joseph@codesourcery.com>
9177 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
9179 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
9181 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
9182 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
9183 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
9184 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
9185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
9186 Include <math_ldbl_opt.h>
9187 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
9189 (compat_symbol): Undefine and redefine.
9190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
9192 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
9193 (compat_symbol): Undefine and redefine.
9194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
9195 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
9196 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
9198 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
9199 GLIBC_2.0 copysignl symbol.
9200 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
9201 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
9203 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
9205 2017-10-04 Florian Weimer <fweimer@redhat.com>
9207 * scripts/check-local-headers.sh: Ignore nspr4 header file
9208 directory in addition to nspr.
9210 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
9213 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
9214 * configure: Regenerate.
9215 * crypt/Makefile (nss-cpp-flags): New variable.
9216 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
9217 (CPPFLAGS-md5-crypt.c): Use it.
9218 * scripts/check-local-headers.sh: Ignore nspr header file
9221 2017-10-04 Andreas Schwab <schwab@suse.de>
9223 * nis/Makefile (services): Remove compat.
9224 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
9225 ($(objpfx)libnss_compat.so): Remove rule.
9226 * nis/Versions (libnss_compat): Remove.
9227 * nss/Makefile (services): Add compat.
9228 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
9229 * nss/Versions (libnss_compat): Define.
9230 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
9231 Don't include <rpc/types.h>. Replace bool_t by bool.
9232 * nss/nss_compat/compat-initgroups.c: Likewise.
9233 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
9234 instead of <rpcsrv/ypclnt.h>.
9235 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
9236 yp_get_default_domain.
9237 * nss/nss_compat/compat-pwd.c: Likewise.
9238 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
9239 yp_get_default_domain.
9240 * nss/nss_compat/nisdomain.c: New file.
9241 * nss/nss_compat/nisdomain.h: Likewise.
9243 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
9246 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
9247 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
9249 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
9252 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
9253 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
9255 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
9257 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
9258 "movl main@GOTOFF(%ebx), %eax".
9260 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
9262 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
9263 allow undefined _DYNAMIC in PIE libc.a.
9264 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
9267 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
9269 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
9272 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
9274 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
9277 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
9279 * math/test-math-iscanonical.cc (error): Replace bool with int.
9281 2017-10-03 Joseph Myers <joseph@codesourcery.com>
9283 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
9284 (modf): Define using libm_alias_double, only if [!__modf].
9285 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
9286 <libm-alias-double.h>.
9287 (modf): Define using libm_alias_double, only if [!__modf].
9288 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
9290 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
9291 (weak_alias): Do not undefine and redefine.
9292 (strong_alias): Likewise.
9293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
9294 (weak_alias): Likewise.
9295 (strong_alias): Likewise.
9297 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
9298 (logb): Define using libm_alias_double, only if [!__logb].
9299 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
9300 <libm-alias-double.h>.
9301 (logb): Define using libm_alias_double, only if [!__logb].
9302 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
9303 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
9304 (weak_alias): Do not undefine and redefine.
9305 (strong_alias): Likewise.
9306 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
9307 (weak_alias): Likewise.
9308 (strong_alias): Likewise.
9310 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
9312 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
9313 Check SHARED instead PIC.
9315 2017-10-03 Joseph Myers <joseph@codesourcery.com>
9317 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
9318 [!__fmaf] (fmaf): Define using libm_alias_float.
9320 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
9321 (frexp): Define using libm_alias_double.
9322 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
9323 <libm-alias-double.h>.
9324 (frexp): Define using libm_alias_double.
9325 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
9328 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
9331 * math/math.h: Trivial fix for unbalanced parentheses in comment.
9332 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
9333 (CFLAGS-test-math-iscanonical.cc): New variable.
9334 * math/test-math-iscanonical.cc: New file.
9335 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
9336 Provide a C++ implementation based on function overloading,
9337 rather than using __MATH_TG, which uses C-only builtins.
9338 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
9340 * sysdeps/powerpc/powerpc64le/Makefile
9341 (CFLAGS-test-math-iscanonical.cc): New variable.
9343 2017-10-03 Joseph Myers <joseph@codesourcery.com>
9345 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
9346 (ceil): Define using libm_alias_double.
9347 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
9348 (floor): Define using libm_alias_double.
9349 * sysdeps/ieee754/dbl-64/s_llround.c: Include
9350 <libm-alias-double.h>.
9351 (llround): Define using libm_alias_double.
9352 * sysdeps/ieee754/dbl-64/s_lround.c: Include
9353 <libm-alias-double.h>.
9354 (lround): Define using libm_alias_double.
9355 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
9356 <libm-alias-double.h>.
9357 (nearbyint): Define using libm_alias_double.
9358 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
9359 <libm-alias-double.h>.
9360 (remquo): Define using libm_alias_double.
9361 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
9362 (rint): Define using libm_alias_double.
9363 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
9364 (round): Define using libm_alias_double.
9365 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
9366 (trunc): Define using libm_alias_double.
9367 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
9368 <libm-alias-double.h>.
9369 (ceil): Define using libm_alias_double.
9370 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
9371 <libm-alias-double.h>.
9372 (floor): Define using libm_alias_double.
9373 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
9374 <libm-alias-double.h>.
9375 (llround): Define using libm_alias_double.
9376 [_LP64] (lround): Likewise.
9377 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
9378 <libm-alias-double.h>.
9379 [!_LP64] (lround): Define using libm_alias_double.
9380 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
9381 <libm-alias-double.h>.
9382 (nearbyint): Define using libm_alias_double.
9383 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
9384 <libm-alias-double.h>.
9385 (remquo): Define using libm_alias_double.
9386 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
9387 <libm-alias-double.h>.
9388 (rint): Define using libm_alias_double.
9389 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
9390 <libm-alias-double.h>.
9391 (round): Define using libm_alias_double.
9392 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
9393 <libm-alias-double.h>.
9394 (trunc): Define using libm_alias_double.
9395 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
9396 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
9397 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
9398 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
9399 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
9400 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
9401 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
9402 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
9403 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
9405 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
9407 * math/w_remainder.c: New file.
9408 * math/w_remainderf.c: New file.
9409 * math/w_remainderl.c: New file.
9411 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
9413 * elf/rtld.c (BOOTSTRAP_MAP): New.
9414 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
9415 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
9417 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
9419 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
9422 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
9424 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
9425 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
9426 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
9427 rtld_hidden_data_ver): Define to empty.
9428 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
9429 __assert_perror_fail): Likewise.
9430 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
9431 (__rewinddir): Likewise.
9432 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
9433 (__profile_frequency): Likewise.
9434 * include/setjmp.h (__sigsetjmp): Likewise.
9435 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
9436 __libc_sigaction): Likewise.
9437 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
9438 not set hidden attribute.
9439 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
9440 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
9441 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
9442 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
9443 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
9444 __fxstatat64): Likewise.
9445 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
9446 (__uname): Likewise.
9447 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
9448 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
9449 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
9450 (NO_RTLD_HIDDEN): Set.
9451 * sysdeps/mach/hurd/configure: Refresh.
9452 * config.h.in: Refresh.
9454 2017-10-02 Joseph Myers <joseph@codesourcery.com>
9456 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
9457 (atan): Define using libm_alias_double.
9458 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
9459 (tan): Define using libm_alias_double.
9460 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
9461 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
9463 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
9464 define as weak alias of __atan. Do not define any aliases if
9466 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
9467 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
9468 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
9469 as weak alias of __tan. Do not define any aliases if [__tan].
9470 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
9471 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
9472 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
9474 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
9475 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
9476 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
9477 and define as weak alias of __atan.
9478 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
9480 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
9481 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
9482 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
9483 define as weak alias of __tan.
9485 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
9487 * math/w_lgamma.c: New file.
9488 * math/w_lgammaf.c: New file.
9489 * math/w_lgammal.c: New file.
9491 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
9493 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
9494 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
9495 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
9496 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
9497 * sysdeps/ieee754/flt-32/w_logf.c: New file.
9498 * sysdeps/ieee754/flt-32/w_powf.c: New file.
9499 * sysdeps/i386/fpu/w_log2f.c: New file.
9500 * sysdeps/i386/fpu/w_logf.c: New file.
9501 * sysdeps/i386/fpu/w_powf.c: New file.
9502 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
9503 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
9504 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
9506 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
9507 H.J. Lu <hongjiu.lu@intel.com>
9509 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
9510 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
9511 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
9512 * sysdeps/ieee754/flt-32/w_expf.c: New file.
9513 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
9515 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
9516 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
9517 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
9518 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
9519 * sysdeps/i386/fpu/w_exp2f.c: New file.
9520 * sysdeps/i386/fpu/w_expf.c: New file.
9521 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
9522 * sysdeps/x86_64/fpu/w_expf.c: New file.
9524 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
9526 * math/Versions (logf): New libm symbol at GLIBC_2.27.
9529 * math/w_log2f.c: New file.
9530 * math/w_logf.c: New file.
9531 * math/w_powf.c: New file.
9532 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
9533 * math/w_logf_compat.c (__logf_compat): Likewise.
9534 * math/w_powf_compat.c (__powf_compat): Likewise.
9535 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
9536 * sysdeps/ia64/fpu/e_logf.S: Likewise.
9537 * sysdeps/ia64/fpu/e_powf.S: Likewise.
9538 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
9539 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9540 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9541 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9542 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9543 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9544 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9545 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9546 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9547 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9548 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9549 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9558 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9559 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9560 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9561 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9562 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9563 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9565 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9567 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9568 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9569 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9571 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9573 * sysdeps/powerpc/powerpc64/multiarch/Makefile
9574 (sysdep_routines): Add memrchr_power8.
9575 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9576 (memrchr): Add __memrchr_power8 to list of memrchr functions.
9577 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
9579 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
9580 (memrchr): Add __memrchr_power8 to ifunc list.
9581 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
9583 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9586 * sysdeps/unix/sysv/linux/posix_fadvise64.c
9587 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
9589 * sysdeps/unix/sysv/linux/posix_fallocate64.c
9590 (__posix_fallocate64_l64): Likewise.
9592 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9595 * sysdeps/unix/sysv/linux/sched_setaffinity.c
9596 (__sched_setaffinity_new): Add libc_hidden_proto and
9599 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9602 * include/glob.h (__glob64): Add libc_hidden_proto.
9603 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
9606 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9609 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
9612 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9615 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
9617 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9620 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
9623 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9626 * csu/version.c (__libc_print_version): Add attribute_hidden.
9628 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9631 * include/libc-internal.h (__init_misc): Add attribute_hidden.
9633 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9636 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
9638 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9641 * nscd/nscd_helper.c (__nis_hash): New prototype.
9643 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9646 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
9647 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
9649 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
9650 * termios/tcgetattr.c (__tcgetattr): Likewise.
9652 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9655 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
9656 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
9657 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
9658 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
9659 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
9661 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9664 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
9666 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9669 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
9670 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
9672 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9675 * intl/hash-string.h (__hash_string): Add attribute_hidden.
9677 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9680 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
9681 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
9683 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9686 * include/ifreq.h: New file.
9687 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
9688 (__ifreq): Likewise.
9689 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
9690 (__ifreq): Likewise.
9692 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9695 * include/idna.h: New file.
9696 * inet/getnameinfo.c: Include <idna.h> instead of
9698 (__idna_to_unicode_lzlz): Removed.
9699 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
9701 (__idna_to_ascii_lz): Removed.
9702 (__idna_to_unicode_lzlz): Likewise.
9704 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9707 * include/plural-exp.h: New file.
9708 * intl/plural-exp.c: Include <plural-exp.h> instead of
9711 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9714 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
9715 "getsourcefilter.h".
9716 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
9717 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
9718 "getsourcefilter.h".
9719 (__get_sol): Removed.
9721 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9724 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
9726 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
9728 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9731 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
9734 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9737 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
9739 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9742 * include/search.h (__tdestroy): Add libc_hidden_proto.
9743 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
9745 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9748 * include/assert.h (__assert_fail_base): Add attribute_hidden.
9750 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9753 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
9756 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9759 * include/signal.h (__kill): Add libc_hidden_proto.
9760 (__sigblock): Likewise.
9761 (__sigprocmask): Likewise.
9762 (__sigaltstack): Likewise.
9763 * signal/kill.c (__kill): Add libc_hidden_def.
9764 * signal/sigblock.c (__sigblock): Likewise.
9765 * signal/sigprocmask.c (__sigprocmask): Likewise.
9766 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
9767 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
9768 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
9769 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
9770 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
9772 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
9774 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
9775 (__sigprocmask): Likewise.
9776 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
9778 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
9779 (__sigprocmask): Likewise.
9780 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
9783 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9786 * include/string.h (__strsep): Add libc_hidden_proto.
9787 * string/strsep.c (__strsep): Add libc_hidden_def.
9789 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9792 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
9794 (__spawni): Likewise.
9796 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9799 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
9800 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
9803 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9806 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
9808 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9811 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
9812 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
9813 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
9814 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
9815 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
9817 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
9818 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
9820 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9823 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
9824 (__dcigettext): Likewise.
9826 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9829 * include/sys/sysinfo.h (__get_nprocs_conf): Add
9831 (__get_nprocs): Likewise.
9832 (__get_phys_pages): Likewise.
9833 (__get_avphys_pages): Likewise.
9834 (__get_child_max): Add attribute_hidden.
9835 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
9836 (__get_nprocs): Likewise.
9837 (__get_phys_pages): Likewise.
9838 (__get_avphys_pages): Likewise.
9839 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
9841 (__get_nprocs): Likewise.
9842 (__get_phys_pages): Likewise.
9843 (__get_avphys_pages): Likewise.
9844 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
9846 (__get_nprocs_conf): Likewise.
9847 (__get_phys_pages): Likewise.
9848 (__get_avphys_pages): Likewise.
9850 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9853 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
9855 (__netlink_close): Likewise.
9856 (__netlink_free_handle): Likewise.
9857 (__netlink_request): Likewise.
9859 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9862 * include/rpc/rpc.h (__rpc_thread_variables): Add
9864 (__rpc_thread_svc_cleanup): Likewise.
9865 (__rpc_thread_clnt_cleanup): Likewise.
9866 (__rpc_thread_key_cleanup): Likewise.
9868 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9871 * include/sys/uio.h (__readv): Add libc_hidden_proto.
9872 (__writev): Likewise.
9873 * misc/readv.c (__readv): Add libc_hidden_def.
9874 * misc/writev.c (__writev): Likewise.
9875 * sysdeps/posix/readv.c (__readv): Likewise.
9876 * sysdeps/posix/writev.c (__writev): Likewise.
9877 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
9878 (__readv): Likewise.
9879 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
9880 (__writev): Likewise.
9882 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9885 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
9886 (__regcomp): Add libc_hidden_proto.
9887 (__regexec): Likewise.
9888 (__regfree): Likewise.
9889 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
9890 (__regfree): Likewise.
9891 * posix/regexec.c (__regexec): Likewise.
9893 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9896 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
9897 (__getutent): Likewise.
9898 (__getutid): Likewise.
9899 (__getutline): Likewise.
9900 (__pututline): Likewise.
9901 (__getutent_r): Likewise.
9902 (__getutid_r): Likewise.
9903 (__getutline_r): Likewise.
9904 (__utmpname): Add attribute_hidden.
9905 (__setutent): Likewise.
9906 (__endutent): Likewise.
9907 * login/getutent.c (__getutent): Add libc_hidden_def.
9908 * login/getutent_r.c (__getutent_r): Likewise.
9909 (__pututline): Likewise.
9910 * login/getutid.c (__getutid): Likewise.
9911 * login/getutid_r.c (__getutid_r): Likewise.
9912 * login/getutline.c (__getutline): Likewise.
9913 * login/getutline_r.c (__getutline_r): Likewise.
9914 * login/updwtmp.c (__updwtmp): Likewise.
9916 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9919 * include/dirent.h (__opendir): Always add attribute_hidden.
9920 (__fdopendir): Likewise.
9921 (__closedir): Likewise.
9922 (__readdir): Likewise.
9923 (__readdir64): Add libc_hidden_proto.
9924 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
9925 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
9926 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
9927 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
9930 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9933 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
9934 * include/netdb.h (__gethostbyaddr_r): Likewise.
9935 (__gethostbyname_r): Likewise.
9936 (__gethostbyname2_r): Likewise.
9937 (__getnetbyaddr_r): Likewise.
9938 (__getnetbyname_r): Likewise.
9939 (__getservbyname_r): Likewise.
9940 (__getservbyport_r): Likewise.
9941 (__getprotobyname_r): Likewise.
9942 (__getprotobynumber_r): Likewise.
9943 (__getnetgrent_r): Likewise.
9944 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
9945 (__getrpcbynumber_r): Likewise.
9946 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
9948 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9951 * include/stdio.h (__fcloseall): Add attribute_hidden.
9952 (__getline): Likewise.
9953 (__path_search): Likewise.
9954 (__gen_tempname): Likewise.
9955 (__libc_message): Likewise.
9956 (__flockfile): Likewise.
9957 (__funlockfile): Likewise.
9958 (__fxprintf): Likewise.
9959 (__fxprintf_nocancel): Likewise.
9961 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9964 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
9965 (__sgetsgent_r): Likewise.
9967 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9970 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
9971 (__statfs64): Likewise.
9972 (__fstatfs64): Likewise.
9973 * include/sys/statvfs.h (__statvfs64): Likewise.
9974 (__fstatvfs64): Likewise.
9975 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
9976 (__statfs_filesize_max): Likewise.
9977 (__statfs_symlinks): Likewise.
9978 (__statfs_chown_restricted): Likewise.
9980 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9983 * include/time.h (__tzstring): Add attribute_hidden.
9984 (__tzfile_read): Likewise.
9985 (__tzfile_compute): Likewise.
9986 (__tzfile_default): Likewise.
9987 (__tzset_parse_tz): Likewise.
9988 (__offtime): Likewise.
9989 (__asctime_r): Likewise.
9990 (__tzset): Likewise.
9991 (__tz_convert): Likewise.
9992 (__getdate_r): Likewise.
9993 (__getclktck): Likewise.
9995 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
9998 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
9999 (__nscd_unmap): Likewise.
10000 (__nscd_cache_search): Likewise.
10001 (__nscd_get_nl_timestamp): Likewise.
10002 (__nscd_getpwnam_r): Likewise.
10003 (__nscd_getpwuid_r): Likewise.
10004 (__nscd_getgrnam_r): Likewise.
10005 (__nscd_getgrgid_r): Likewise.
10006 (__nscd_gethostbyname_r): Likewise.
10007 (__nscd_gethostbyname2_r): Likewise.
10008 (__nscd_gethostbyaddr_r): Likewise.
10009 (__nscd_getai): Likewise.
10010 (__nscd_getgrouplist): Likewise.
10011 (__nscd_getservbyname_r): Likewise.
10012 (__nscd_getservbyport_r): Likewise.
10013 (__nscd_innetgr): Likewise.
10014 (__nscd_setnetgrent): Likewise.
10016 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
10019 * include/gmp.h: Declare internal functions only if _ISOMAC is
10021 (__mpn_extract_double): Add attribute_hidden.
10022 (__mpn_extract_long_double): Likewise.
10023 (__mpn_extract_float128): Likewise.
10024 (__mpn_construct_float): Likewise.
10025 (__mpn_construct_double): Likewise.
10026 (__mpn_construct_long_double): Likewise.
10027 (__mpn_construct_float128): Likewise.
10028 (mpn_add_1): Likewise.
10029 (mpn_addmul_1): Likewise.
10030 (mpn_add_n): Likewise.
10031 (mpn_cmp): Likewise.
10032 (mpn_divrem): Likewise.
10033 (mpn_lshift): Likewise.
10034 (mpn_mul): Likewise.
10035 (mpn_mul_1): Likewise.
10036 (mpn_rshift): Likewise.
10037 (mpn_sub_1): Likewise.
10038 (mpn_submul_1): Likewise.
10039 (mpn_sub_n): Likewise.
10041 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
10044 * include/wchar.h (__wcsnlen): Add attribute_hidden.
10045 (__wcscat): Likewise.
10046 (__btowc): Likewise.
10047 (__wcrtomb): Likewise.
10048 (__mbsrtowcs): Likewise.
10049 (__wcsrtombs): Likewise.
10050 (__mbsnrtowcs): Likewise.
10051 (__wcsnrtombs): Likewise.
10052 (__wcsncpy): Likewise.
10053 (__wcpncpy): Likewise.
10054 (__wmemcpy): Likewise.
10055 (__wmempcpy): Likewise.
10056 (__wmemmove): Likewise.
10057 (__wcschrnul): Likewise.
10058 (__vfwscanf): Likewise.
10059 (__vswprintf): Likewise.
10060 (__fwprintf): Likewise.
10061 (__vfwprintf): Likewise.
10063 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
10066 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
10067 (__getgrgid_r): Likewise.
10068 (__getgrnam_r): Likewise.
10069 * include/pwd.h (__getpwuid_r): Likewise.
10070 (__getpwnam_r): Likewise.
10071 (__fgetpwent_r): Likewise.
10072 * include/shadow.h (__getspnam_r): Likewise.
10073 (__sgetspent_r): Likewise.
10074 (__fgetspent_r): Likewise.
10076 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
10079 * include/unistd.h (__access): Add attribute_hidden.
10080 (__lseek64): Likewise.
10081 (__libc_pread64): Likewise.
10082 (__pipe2): Likewise.
10083 (__sleep): Likewise.
10084 (__chdir): Likewise.
10085 (__fchdir): Likewise.
10086 (__getcwd): Likewise.
10087 (__rmdir): Likewise.
10088 (__execvpe): Likewise.
10089 (__execve): Likewise.
10090 (__setsid): Likewise.
10091 (__getuid): Likewise.
10092 (__geteuid): Likewise.
10093 (__getgid): Likewise.
10094 (__getegid): Likewise.
10095 (__getgroups): Likewise.
10096 (__group_member): Likewise.
10097 (__ttyname_r): Likewise.
10098 (__isatty): Likewise.
10099 (__readlink): Likewise.
10100 (__unlink): Likewise.
10101 (__gethostname): Likewise.
10102 (__profil): Likewise.
10103 (__getdtablesize): Likewise.
10105 (__ftruncate): Likewise.
10106 (__ftruncate64): Likewise.
10108 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
10111 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
10112 * argp/argp-fs-xinl.c: Likewise.
10113 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
10114 * argp/argp-parse.c: Include <argp.h>.
10115 * argp/argp-xinl.c: Likewise.
10116 * include/argp-fmtstream.h: New file.
10117 * include/argp.h (__argp_error): Add attribute_hidden.
10118 (__argp_failure): Likewise.
10119 (__argp_input): Likewise.
10120 (__argp_state_help): Likewise.
10122 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
10125 * include/wchar.h (____wcstof_l_internal): New prototype.
10126 (____wcstod_l_internal): Likewise.
10127 (____wcstold_l_internal): Likewise.
10128 (____wcstol_l_internal): Likewise.
10129 (____wcstoul_l_internal): Likewise.
10130 (____wcstoll_l_internal): Likewise.
10131 (____wcstoull_l_internal): Likewise.
10132 (____wcstof128_l_internal): Likewise.
10133 * sysdeps/ieee754/float128/wcstof128.c
10134 (____wcstof128_l_internal): Removed.
10135 * sysdeps/ieee754/float128/wcstof128_l.c
10136 (____wcstof128_l_internal): Likewise.
10137 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
10138 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
10139 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
10140 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
10141 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
10142 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
10143 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
10144 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
10145 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
10146 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
10148 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
10151 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
10152 instead of <sys/statvfs.h>.
10153 (__internal_statvfs): Removed.
10154 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
10155 instead of <sys/statvfs.h>.
10156 (__internal_statvfs64): Removed.
10157 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
10158 "internal_statvfs.h" instead of <sys/statvfs.h>.
10159 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
10160 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
10161 instead of <sys/statvfs.h>.
10162 (__internal_statvfs): Removed.
10163 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
10164 instead of <sys/statvfs.h>.
10165 (__internal_statvfs64): Removed.
10167 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
10170 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
10171 (__gconv_close): Likewise.
10172 (__gconv): Likewise.
10173 (__gconv_find_transform): Likewise.
10174 (__gconv_lookup_cache): Likewise.
10175 (__gconv_compare_alias_cache): Likewise.
10176 (__gconv_load_cache): Likewise.
10177 (__gconv_get_path): Likewise.
10178 (__gconv_close_transform): Likewise.
10179 (__gconv_release_cache): Likewise.
10180 (__gconv_find_shlib): Likewise.
10181 (__gconv_release_shlib): Likewise.
10182 (__gconv_get_builtin_trans): Likewise.
10183 (__gconv_compare_alias): Likewise.
10184 * include/dlfcn.h (_dlerror_run): Likewise.
10185 * include/stdio.h (__fortify_fail_abort): Likewise.
10186 * include/time.h (__tz_compute): Likewise.
10187 (__strptime_internal): Likewise.
10188 * intl/gettextP.h (_nl_find_domain): Likewise.
10189 (_nl_load_domain): Likewise.
10190 (_nl_find_msg): Likewise.
10191 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
10192 (EXTRACT_PLURAL_EXPRESSION): Likewise.
10193 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
10194 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
10195 (__gai_find_request): Likewise.
10196 (__gai_remove_request): Likewise.
10197 (__gai_notify): Likewise.
10198 (__gai_notify_only): Likewise.
10199 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
10200 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
10201 (_dl_non_dynamic_init): Likewise.
10202 (_dl_aux_init): Likewise.
10203 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
10204 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
10206 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
10207 (__wcsmbs_clone_conv): Likewise.
10208 (__wcsmbs_named_conv): Likewise.
10210 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
10213 * include/stdlib.h (__random): Add attribute_hidden.
10214 (__random_r): Likewise.
10215 (__srandom_r): Likewise.
10216 (__initstate_r): Likewise.
10217 (__setstate_r): Likewise.
10218 (__erand48_r): Likewise.
10219 (__nrand48_r): Likewise.
10220 (__jrand48_r): Likewise.
10221 (__srand48_r): Likewise.
10222 (__seed48_r): Likewise.
10223 (__lcong48_r): Likewise.
10224 (__drand48_iterate): Likewise.
10225 (__setenv): Likewise.
10226 (__unsetenv): Likewise.
10227 (__clearenv): Likewise.
10228 (__ptsname_r): Likewise.
10229 (__posix_openpt): Likewise.
10230 (__add_to_environ): Likewise.
10231 (__realpath): Add libc_hidden_proto.
10232 (__ecvt_r): Likewise.
10233 (__fcvt_r): Likewise.
10234 (__qecvt_r): Likewise.
10235 (__qfcvt_r): Likewise.
10236 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
10237 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
10239 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
10242 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
10243 * include/time.h (__mktime_internal): Likewise.
10244 * libio/iolibio.h (__fopen_internal): Likewise.
10246 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
10248 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
10250 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
10251 Correct offset used to restore PIC register.
10253 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
10256 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
10257 code to load address of __getcontext_ret when generating PIC code.
10259 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
10261 * elf/Makefile (tests-static-internal): Add
10262 tst-tls1-static-non-pie.
10263 (LDFLAGS-tst-tls1-static-non-pie): New.
10264 * elf/tst-tls1-static-non-pie.c: New file.
10266 2017-09-29 Joseph Myers <joseph@codesourcery.com>
10268 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
10269 (asinh): Define using libm_alias_double.
10270 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
10271 (cbrt): Define using libm_alias_double.
10272 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
10273 <libm-alias-double.h>.
10274 (copysign): Define using libm_alias_double.
10275 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
10276 (erf): Define using libm_alias_double.
10278 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
10279 (expm1): Define using libm_alias_double.
10280 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
10281 (fabs): Define using libm_alias_double.
10282 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
10284 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
10285 <libm-alias-double.h>.
10286 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
10288 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
10289 <libm-alias-double.h>.
10290 (getpayload): Define using libm_alias_double.
10291 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
10292 <libm-alias-double.h>.
10293 (llrint): Define using libm_alias_double.
10294 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
10295 (lrint): Define using libm_alias_double.
10296 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
10297 <libm-alias-double.h>.
10298 (nextup): Define using libm_alias_double.
10299 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
10300 <libm-alias-double.h>.
10301 (roundeven): Define using libm_alias_double.
10302 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
10304 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
10305 <libm-alias-double.h>.
10306 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
10307 using libm_alias_double.
10308 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
10309 (cos): Define using libm_alias_double.
10311 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
10312 <libm-alias-double.h>.
10313 (sincos): Define using libm_alias_double.
10314 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
10315 (tanh): Define using libm_alias_double.
10316 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
10317 <libm-alias-double.h>.
10318 (totalorder): Define using libm_alias_double.
10319 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
10320 <libm-alias-double.h>.
10321 (totalordermag): Define using libm_alias_double.
10322 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
10324 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
10326 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
10327 <libm-alias-double.h>.
10328 (getpayload): Define using libm_alias_double.
10329 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
10330 <libm-alias-double.h>.
10331 (roundeven): Define using libm_alias_double.
10332 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
10333 <libm-alias-double.h>.
10334 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
10335 <libm-alias-double.h>.
10336 (totalorder): Define using libm_alias_double.
10337 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
10338 <libm-alias-double.h>.
10339 (totalordermag): Define using libm_alias_double.
10340 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
10341 libc compat symbol here.
10342 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
10343 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
10344 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
10345 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
10346 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
10347 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
10348 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
10349 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
10350 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
10351 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
10353 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
10355 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
10356 _dl_relocate_static_pie instead of _dl_start to compute load
10357 address in static PIE. Return 0 if _DYNAMIC is undefined for
10360 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
10362 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
10363 _DYNAMIC is undefined for static executable.
10365 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
10367 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
10369 2017-09-29 Joseph Myers <joseph@codesourcery.com>
10371 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10373 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
10375 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
10376 (__ieee754_lgamma_r): Use fabs rather than __fabs.
10377 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
10378 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
10379 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
10380 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
10381 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
10382 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
10383 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
10384 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
10385 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
10386 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
10387 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
10388 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
10389 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
10390 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
10391 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
10393 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
10395 * math/bits/cmathcalls.h (cimag): Remove inline.
10396 (creal): Remove inline.
10397 (conj): Remove inline.
10399 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
10401 * math/Makefile (type-float-routines): Add e_powf_log2_data.
10402 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
10403 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
10404 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
10405 (issignalingf_inline): Likewise.
10406 (POWF_LOG2_TABLE_BITS): Likewise.
10407 (POWF_LOG2_POLY_ORDER): Likewise.
10408 (POWF_SCALE_BITS): Likewise.
10409 (POWF_SCALE): Likewise.
10410 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
10411 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
10412 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
10414 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
10416 * math/Makefile (type-float-routines): Add e_log2f_data.
10417 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
10418 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
10419 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
10420 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
10421 * sysdeps/i386/fpu/e_log2f_data.c: New file.
10422 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
10423 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
10425 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
10427 * math/Makefile (type-float-routines): Add e_logf_data.
10428 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
10429 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
10430 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
10431 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
10432 * sysdeps/i386/fpu/e_logf_data.c: New file.
10433 * sysdeps/ia64/fpu/e_logf_data.c: New file.
10434 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
10436 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
10438 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
10439 undefined _DYNAMIC in PIE libc.a.
10440 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
10443 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
10445 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
10446 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
10447 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
10448 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
10449 (__signbit): Remove.
10450 (__signbitl): Remove.
10451 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
10452 (__signbit): Remove.
10453 (__signbitl): Remove.
10454 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
10455 (__signbit): Remove.
10456 (__signbitl): Remove.
10457 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
10458 (__signbit): Remove.
10459 (__signbitl): Remove.
10460 * sysdeps/tile/bits/mathinline.h: Delete file.
10461 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
10462 (__signbit): Remove.
10463 (__signbitl): Remove.
10465 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
10467 * math/math.h: Improve handling of C99 isgreater macros.
10468 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
10469 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
10470 * sysdeps/powerpc/bits/mathinline.h: Likewise.
10471 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
10472 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
10474 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
10476 * sysdeps/aarch64/libm-test-ulps: Update.
10478 2017-09-28 Joseph Myers <joseph@codesourcery.com>
10481 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
10482 math_opt_barrier on argument when doing arithmetic on it.
10483 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
10484 Likewise. Use math_force_eval not math_opt_barrier after
10486 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
10487 math_opt_barrier on argument when doing arithmetic on it.
10488 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
10491 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
10493 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
10495 (__freeifaddrs): Likewise.
10497 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
10499 * include/dirent.h (__dirfd): New declaration.
10500 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
10502 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
10503 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
10504 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
10505 * include/unistd.h (__revoke): New declaration.
10506 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
10508 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
10509 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
10511 * include/dirent.h (__seekdir): New declaration.
10512 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
10513 redefine as weak alias.
10514 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
10516 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
10517 and use libc_hidden_def on them.
10518 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
10520 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
10521 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
10522 instead of getifaddrs and freeifaddrs.
10524 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
10527 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
10528 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
10529 (__dso_handle): Remove declaration.
10530 * dlfcn/tstatexit.c (__dso_handle): Removed.
10531 (main): Don't check __dso_handle.
10532 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
10533 (main): Don't check __dso_handle.
10534 * include/dso_handle.h: New file.
10535 * malloc/mtrace.c: Include <dso_handle.h>.
10536 (mtrace): Pass __dso_handle directly.
10537 * nptl/pthread_atfork.c: Include <dso_handle.h>.
10538 (__dso_handle): Remove declaration.
10539 (__pthread_atfork): Pass __dso_handle directly.
10540 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
10541 (__dso_handle): Removed.
10542 * posix/wordexp-test.c: Include <dso_handle.h>.
10543 (__dso_handle): Remove declaration.
10544 (__app_register_atfork): Pass __dso_handle directly.
10545 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
10546 (__dso_handle): Remove declaration.
10547 (at_quick_exit): Pass __dso_handle directly.
10548 * stdlib/atexit.c: Include <dso_handle.h>.
10549 (__dso_handle): Remove declaration.
10550 (atexit): Pass __dso_handle directly.
10551 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
10552 (__dso_handle): Removed.
10554 2017-09-26 Joseph Myers <joseph@codesourcery.com>
10556 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
10559 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
10561 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
10562 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
10563 values to correct default value for given type.
10565 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
10568 * elf/Makefile (tests): Add tst-debug1.
10569 ($(objpfx)tst-debug1): New.
10570 ($(objpfx)tst-debug1.out): Likewise.
10571 ($(objpfx)tst-debug1mod1.so): Likewise.
10572 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
10573 with p_filesz == 0.
10574 * elf/tst-debug1.c: New file.
10576 2017-09-26 Joseph Myers <joseph@codesourcery.com>
10578 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
10579 Define using __ifunc.
10581 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10583 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
10586 2017-09-26 Joseph Myers <joseph@codesourcery.com>
10589 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
10591 2017-09-26 Florian Weimer <fweimer@redhat.com>
10593 * resolv/Makefile (tests-internal): Fix typo in comment.
10595 2017-09-26 Florian Weimer <fweimer@redhat.com>
10597 * resolv/nss_dns/dns-host.c: Fix typo in comment.
10599 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10601 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
10602 Use an union instead of a max_align_t array for __space,
10603 so that __space is the same size on all platforms.
10604 * malloc/scratch_buffer_grow_preserve.c
10605 (__libc_scratch_buffer_grow_preserve): Likewise.
10608 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
10610 * posix/Makefile (routines): Add glob-lstat-compat and
10611 glob64-lstat-compat.
10612 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
10613 * posix/glob-lstat-compat.c: New file.
10614 * posix/glob64-lstat-compat.c: Likewise.
10615 * posix/tst-glob_lstat_compat.c: Likewise.
10616 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
10617 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
10618 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
10619 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
10621 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
10622 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
10623 * posix/glob.c (glob_lstat): New function.
10624 (glob): Rename to __glob and add versioned symbol to 2.27.
10625 (glob_in_dir): Use glob_lstat.
10626 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
10627 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
10628 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
10630 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
10631 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
10632 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
10633 gl_lstat on glob call.
10634 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
10635 and glob64 symbols.
10636 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10637 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10638 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
10639 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10640 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10641 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10642 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10643 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10644 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
10645 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10646 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10647 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10650 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
10651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10652 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10653 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10654 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10655 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10656 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10657 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
10658 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
10659 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
10660 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10661 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10663 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
10665 * configure.ac (AS): Require binutils 2.25 or later.
10666 * configure: Regenerated.
10668 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
10671 * stdlib/test-atexit-race-common.c (do_test): Minimize required
10674 2017-09-25 DJ Delorie <dj@redhat.com>
10677 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
10680 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10682 * sysdeps/ieee754/dbl-64/sincos32.h
10683 [SINCCOS32_H]: Remove define.
10684 [SINCOS32_H]: Define.
10686 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
10688 * math/Versions (expf): New libm symbol at GLIBC_2.27.
10690 * math/w_exp2f.c: New file.
10691 * math/w_expf.c: New file.
10692 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
10693 * math/w_expf_compat.c (__expf_compat): Likewise.
10694 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
10695 * sysdeps/ia64/fpu/e_expf.S: Likewise.
10696 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
10697 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10698 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10699 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10700 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10701 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10702 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10703 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10704 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10705 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10706 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10707 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10716 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10717 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10718 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10719 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10720 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10721 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10723 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10725 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10726 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10727 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10729 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
10731 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
10732 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
10733 (roundtoint, converttoint): Likewise.
10734 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
10735 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
10736 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
10737 * sysdeps/ieee754/flt-32/math_config.h: New file.
10738 * sysdeps/ieee754/flt-32/math_errf.c: New file.
10739 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
10740 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
10741 * sysdeps/i386/fpu/math_errf.c: New file.
10742 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
10743 * sysdeps/ia64/fpu/math_errf.c: New file.
10744 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
10745 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
10747 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
10749 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
10750 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
10751 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
10752 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
10753 to make sure that these symbols are defined.
10754 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
10756 (__need_NULL): Do not define.
10757 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
10759 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
10760 CMGROUP_MAX, cmsgcred): Do not define.
10761 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
10763 * bits/socket.h: Likewise.
10764 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
10765 __gettimeofday instead of gettimeofday.
10766 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
10767 instead of settimeofday.
10769 2017-09-22 Joseph Myers <joseph@codesourcery.com>
10771 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
10772 (asinhf): Define using libm_alias_float.
10773 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
10774 (atanf): Define using libm_alias_float.
10775 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
10776 (cbrtf): Define using libm_alias_float.
10777 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
10778 (ceilf): Define using libm_alias_float.
10779 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
10780 <libm-alias-float.h>.
10781 (copysignf): Define using libm_alias_float.
10782 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
10783 (cosf): Define using libm_alias_float.
10784 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
10785 (erff): Define using libm_alias_float.
10787 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
10788 (expm1f): Define using libm_alias_float.
10789 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
10790 (fabsf): Define using libm_alias_float.
10791 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
10792 (floorf): Define using libm_alias_float.
10793 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
10794 (frexpf): Define using libm_alias_float.
10795 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
10797 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
10798 <libm-alias-float.h>.
10799 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
10801 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
10802 <libm-alias-float.h>.
10803 (getpayloadf): Define using libm_alias_float.
10804 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
10805 <libm-alias-float.h>.
10806 (llrintf): Define using libm_alias_float.
10807 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
10808 <libm-alias-float.h>.
10809 (llroundf): Define using libm_alias_float.
10810 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
10811 (logbf): Define using libm_alias_float.
10812 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
10813 (lrintf): Define using libm_alias_float.
10814 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
10815 (lroundf): Define using libm_alias_float.
10816 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
10817 (modff): Define using libm_alias_float.
10818 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
10819 <libm-alias-float.h>.
10820 (nearbyintf): Define using libm_alias_float.
10821 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
10822 <libm-alias-float.h>.
10823 (nextafterf): Define using libm_alias_float.
10824 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
10825 <libm-alias-float.h>.
10826 (nextupf): Define using libm_alias_float.
10827 * sysdeps/ieee754/flt-32/s_remquof.c: Include
10828 <libm-alias-float.h>.
10829 (remquof): Define using libm_alias_float.
10830 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
10831 (rintf): Define using libm_alias_float.
10832 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
10833 <libm-alias-float.h>.
10834 (roundevenf): Define using libm_alias_float.
10835 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
10836 (roundf): Define using libm_alias_float.
10837 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
10838 using libm_alias_float.
10839 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
10840 <libm-alias-float.h>.
10841 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
10842 Define using libm_alias_float.
10843 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
10844 <libm-alias-float.h>.
10845 (sincosf): Define using libm_alias_float.
10846 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
10847 (sinf): Define using libm_alias_float.
10848 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
10849 (tanf): Define using libm_alias_float.
10850 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
10851 (tanhf): Define using libm_alias_float.
10852 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
10853 <libm-alias-float.h>.
10854 (totalorderf): Define using libm_alias_float.
10855 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
10856 <libm-alias-float.h>.
10857 (totalordermagf): Define using libm_alias_float.
10858 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
10859 (truncf): Define using libm_alias_float.
10860 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
10862 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
10865 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10868 math/math.h: Let fpclassify use the builtin in C++ mode, even
10869 when optimazing for size.
10871 2017-09-22 Joseph Myers <joseph@codesourcery.com>
10873 * csu/Makefile (generated): Do not add version-info.h.
10874 (before-compile): Likewise.
10875 (all-Banner-files): Remove variable.
10876 ($(objpfx)version-info.h): Remove rule.
10877 * csu/version.c (banner): Do not include "version-info.h".
10878 * libidn/Banner: Remove.
10879 * manual/contrib.texi (Simon Josefsson): New entry.
10881 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10883 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10884 Remove conditionals on LDBL_MANT_DIG.
10885 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
10886 (__ieee754_lgammal_r): Likewise.
10888 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10890 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
10892 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
10893 _Float128 and L(). Replace _Float128 with long double and L(x)
10894 with xL, throughout the file.
10895 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
10896 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
10897 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
10898 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
10900 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10902 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
10903 sysdeps/ieee754/ldbl-128ibm.
10904 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
10905 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
10906 of including it. Keep _Float128 and L() intact. These will be
10907 reviewed by a separate patch.
10908 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
10909 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
10910 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
10911 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
10913 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10915 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
10916 (__finitef128): Define to __redirect___finitef128.
10917 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
10918 (__isinff128): Define to __redirect___isinff128.
10919 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
10920 (__isnanf128): Define to __redirect___isnanf128.
10922 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10924 * sysdeps/powerpc/powerpc64le/Makefile
10925 (CFLAGS-tst-strtod-nan-locale.c): New variable.
10926 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
10928 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
10929 Carlos O'Donell <carlos@redhat.com>
10932 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
10933 * stdlib/test-dlclose-exit-race.c: New file.
10934 * stdlib/test-dlclose-exit-race-helper.c: New file.
10935 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
10937 2017-09-21 Joseph Myers <joseph@codesourcery.com>
10939 * crypt/Banner: Remove file.
10940 * nptl/Banner: Likewise.
10941 * resolv/Banner: Likewise.
10942 * soft-fp/Banner: Likewise.
10943 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
10944 ($(objpfx)version.d): Remove dependency on banner.h.
10945 ($(objpfx)version.os): Likewise.
10946 * nptl/version.c (banner): Do not include banner.h.
10947 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
10948 Jelinek and BIND code.
10950 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
10951 Carlos O'Donell <carlos@redhat.com>
10953 * support/xdlfcn.h: New file.
10954 * support/xdlfcn.c: New file.
10955 * support/Makefile (libsupport-routines): Add xdlfcn.
10956 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
10958 2017-09-20 Joseph Myers <joseph@codesourcery.com>
10961 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
10962 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
10963 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
10964 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
10965 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
10966 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
10967 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
10968 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
10970 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
10971 Ricky Zhou <rickyz@google.com>
10972 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
10975 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
10977 (__new_exitfn): Fail registration when we finished at_exit processing.
10978 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
10979 * stdlib/on_exit.c (__on_exit): Likewise.
10980 * stdlib/exit.c (__exit_funcs_done): New variable.
10981 (__run_exit_handlers): Use __exit_funcs_lock.
10982 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
10984 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
10985 (test-cxa_atexit-race, test-on_exit-race): New tests.
10986 * stdlib/test-atexit-race-common.c: New file.
10987 * stdlib/test-atexit-race.c: New file.
10988 * stdlib/test-at_quick_exit-race.c: New file.
10989 * stdlib/test-cxa_atexit-race.c: New file.
10990 * stdlib/test-on_exit-race.c: New file.
10992 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
10994 * benchtests/Makefile: Add exp2f and log2f benchmarks.
10995 * benchtests/exp2f-inputs: Copy of expf-inputs.
10996 * benchtests/log2f-inputs: Copy of logf-inputs.
10998 2017-09-19 Joseph Myers <joseph@codesourcery.com>
11000 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
11001 Explicitly take address of first element of array arguments in
11002 call to INLINE_SYSCALL.
11004 2017-09-19 Andreas Schwab <schwab@suse.de>
11007 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
11009 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
11011 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
11012 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
11013 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11014 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
11015 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
11016 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
11017 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11018 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
11019 * posix/Makefile (tests): Add tst-fexecve.
11020 * posix/tst-fexecve.c: New file.
11022 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
11024 * benchtests/Makefile: Add logf benchmark.
11025 * benchtests/logf-inputs: Add reduced trace from wrf_r.
11027 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
11029 * benchtests/Makefile: Add expf benchmark.
11030 * benchtests/expf-inputs: Add reduced trace from wrf_r.
11032 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
11034 * csu/Makefile: Add -funwind-tables to libc-start.c.
11035 * debug/Makefile: Add -funwind-tables to backtrace.c.
11036 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
11037 * sysdeps/arm/Makefile: Likewise.
11038 * sysdeps/i386/Makefile: Likewise.
11039 * sysdeps/m68k/Makefile: Likewise.
11040 * sysdeps/mips/Makefile: Likewise.
11041 * sysdeps/nios2/Makefile: Likewise.
11042 * sysdeps/sh/Makefile: Likewise.
11043 * sysdeps/sparc/Makefile: Likewise.
11045 2017-09-19 Joseph Myers <joseph@codesourcery.com>
11047 * benchtests/Makefile (bench-math): Add trunc and truncf.
11048 (CFLAGS-bench-trunc.c): New variable.
11049 (CFLAGS-bench-truncf.c): Likewise.
11050 * benchtests/trunc-inputs: New file.
11051 * benchtests/truncf-inputs: Likewise.
11053 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11055 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
11057 2017-09-18 Joseph Myers <joseph@codesourcery.com>
11059 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
11060 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
11062 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
11063 (exp10l): Define as weak alias.
11064 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
11065 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
11067 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
11068 (remainderl): Define as weak alias.
11070 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
11071 (fmal): Define using libm_alias_ldouble.
11072 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
11073 (acoshl): Define using libm_alias_ldouble.
11074 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
11075 (acosl): Define using libm_alias_ldouble.
11076 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
11077 (asinl): Define using libm_alias_ldouble.
11078 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
11079 (atan2l): Define using libm_alias_ldouble.
11080 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
11081 (atanhl): Define using libm_alias_ldouble.
11082 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
11083 (coshl): Define using libm_alias_ldouble.
11084 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
11085 (exp10l): Define using libm_alias_ldouble.
11086 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
11087 (exp2l): Define using libm_alias_ldouble.
11088 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
11089 (expl): Define using libm_alias_ldouble.
11090 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
11091 (fmodl): Define using libm_alias_ldouble.
11092 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
11093 (hypotl): Define using libm_alias_ldouble.
11094 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
11095 (j0l): Define using libm_alias_ldouble.
11097 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
11098 (j1l): Define using libm_alias_ldouble.
11100 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
11101 (jnl): Define using libm_alias_ldouble.
11103 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
11104 (log10l): Define using libm_alias_ldouble.
11105 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
11106 (log2l): Define using libm_alias_ldouble.
11107 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
11108 (logl): Define using libm_alias_ldouble.
11109 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
11110 (powl): Define using libm_alias_ldouble.
11111 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
11112 (remainderl): Define using libm_alias_ldouble.
11113 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
11114 (sinhl): Define using libm_alias_ldouble.
11115 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
11116 (sqrtl): Define using libm_alias_ldouble.
11117 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
11118 (tgammal): Define using libm_alias_ldouble.
11119 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
11120 (exp10l): Do not use long_double_symbol here.
11121 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
11122 [LIBM_SVID_COMPAT] (remainderl): Likewise.
11123 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
11124 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
11125 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
11126 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
11127 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
11128 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
11129 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
11130 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
11131 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
11132 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
11133 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
11134 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
11135 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
11136 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
11137 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
11138 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
11139 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
11140 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
11141 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
11142 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
11144 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
11146 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
11147 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
11149 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
11151 * io/read.c (read): Add libc_hidden_weak.
11152 * sysdeps/mach/hurd/read.c (read): Likewise.
11153 * io/write.c (write): Likewise.
11154 * sysdeps/mach/hurd/write.c (write): Likewise.
11155 * io/pread64.c (__pread64): Likewise.
11156 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
11157 * posix/pread64.c (__pread64): Add libc_hidden_def.
11159 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
11161 * benchtests/scripts/compare_strings.py: New option -g.
11162 (draw_graph): Print a message that a graph is being generated.
11163 (process_results): Generate graph only if -g is passed.
11164 (main): Process option -g.
11166 * benchtests/scripts/compare_strings.py (process_results):
11167 Better spacing for output.
11169 * benchtests/scripts/compare_strings.py: Use argparse.
11170 * benchtests/README: Document existence of compare_strings.py.
11172 2017-09-15 Joseph Myers <joseph@codesourcery.com>
11174 * math/s_fma.c: Include <libm-alias-double.h>.
11175 (fma): Define using libm_alias_double.
11176 * math/s_nextafter.c: Include <libm-alias-double.h>.
11177 (nextafter): Define using libm_alias_double.
11178 * math/w_acos_compat.c: Include <libm-alias-double.h>.
11179 (acos): Define using libm_alias_double.
11180 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
11181 (aocsh): Define using libm_alias_double.
11182 * math/w_asin_compat.c: Include <libm-alias-double.h>.
11183 (asin): Define using libm_alias_double.
11184 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
11185 (atan2): Define using libm_alias_double.
11186 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
11187 (atanh): Define using libm_alias_double.
11188 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
11189 (cosh): Define using libm_alias_double.
11190 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
11191 (exp10): Define using libm_alias_double.
11192 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
11193 (exp2): Define using libm_alias_double.
11194 * math/w_exp_compat.c: Include <libm-alias-double.h>.
11195 (exp): Define using libm_alias_double.
11196 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
11197 (fmod): Define using libm_alias_double.
11198 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
11199 (hypot): Define using libm_alias_double.
11200 * math/w_j0_compat.c: Include <libm-alias-double.h>.
11201 (j0): Define using libm_alias_double.
11203 * math/w_j1_compat.c: Include <libm-alias-double.h>.
11204 (j1): Define using libm_alias_double.
11206 * math/w_jn_compat.c: Include <libm-alias-double.h>.
11207 (jn): Define using libm_alias_double.
11209 * math/w_log10_compat.c: Include <libm-alias-double.h>.
11210 (log10): Define using libm_alias_double.
11211 * math/w_log2_compat.c: Include <libm-alias-double.h>.
11212 (log2): Define using libm_alias_double.
11213 * math/w_log_compat.c: Include <libm-alias-double.h>.
11214 (log): Define using libm_alias_double.
11215 * math/w_pow_compat.c: Include <libm-alias-double.h>.
11216 (pow): Define using libm_alias_double.
11217 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
11218 (remainder): Define using libm_alias_double.
11219 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
11220 (sinh): Define using libm_alias_double.
11221 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
11222 (sqrt): Define using libm_alias_double.
11223 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
11224 (tgamma): Define using libm_alias_double.
11225 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
11226 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
11227 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
11228 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
11229 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
11230 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
11231 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
11232 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
11233 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
11234 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
11235 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
11236 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
11237 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
11238 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
11239 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
11240 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
11241 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
11242 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
11243 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
11244 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
11245 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
11246 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
11247 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
11248 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
11249 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
11251 * math/e_acoshl.c: Remove.
11252 * math/e_acosl.c: Likewise.
11253 * math/e_asinl.c: Likewise.
11254 * math/e_atan2l.c: Likewise.
11255 * math/e_atanhl.c: Likewise.
11256 * math/e_coshl.c: Likewise.
11257 * math/e_expl.c: Likewise.
11258 * math/e_fmodl.c: Likewise.
11259 * math/e_gammal_r.c: Likewise.
11260 * math/e_hypotl.c: Likewise.
11261 * math/e_j0l.c: Likewise.
11262 * math/e_j1l.c: Likewise.
11263 * math/e_jnl.c: Likewise.
11264 * math/e_lgammal_r.c: Likewise.
11265 * math/e_log10l.c: Likewise.
11266 * math/e_log2l.c: Likewise.
11267 * math/e_logl.c: Likewise.
11268 * math/e_powl.c: Likewise.
11269 * math/e_rem_pio2l.c: Likewise.
11270 * math/e_sinhl.c: Likewise.
11271 * math/e_sqrtf128.c: Likewise.
11272 * math/e_sqrtl.c: Likewise.
11273 * math/k_cosl.c: Likewise.
11274 * math/k_sinl.c: Likewise.
11275 * math/k_tanl.c: Likewise.
11276 * math/s_asinhl.c: Likewise.
11277 * math/s_atanl.c: Likewise.
11278 * math/s_cbrtl.c: Likewise.
11279 * math/s_erfl.c: Likewise.
11280 * math/s_expm1l.c: Likewise.
11281 * math/s_log1pl.c: Likewise.
11282 * math/s_tanhl.c: Likewise.
11284 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11287 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
11288 [$(subdir) = math] (sysdep_calls): New variable. Has the
11289 previous contents of sysdep_routines, but re-sorted..
11290 [$(subdir) = math] (sysdep_routines): Re-use the contents from
11292 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
11293 defined in sysdep_calls and replace by the respective m_* names.
11294 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
11295 (compat_symbol): Undefine to avoid duplicated compat symbols in
11298 2017-09-15 Joseph Myers <joseph@codesourcery.com>
11300 * math/s_fmaf.c: Include <libm-alias-float.h>.
11301 (fmaf): Define using libm_alias_float.
11302 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
11303 (acosf): Define using libm_alias_float.
11304 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
11305 (acoshf): Define using libm_alias_float.
11306 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
11307 (asinf): Define using libm_alias_float.
11308 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
11309 (atan2f): Define using libm_alias_float.
11310 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
11311 (atanhf): Define using libm_alias_float.
11312 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
11313 (coshf): Define using libm_alias_float.
11314 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
11315 (exp10f): Define using libm_alias_float.
11316 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
11317 (fmodf): Define using libm_alias_float.
11318 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
11319 (hypotf): Define using libm_alias_float.
11320 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
11321 (j0f): Define using libm_alias_float.
11323 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
11324 (j1f): Define using libm_alias_float.
11326 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
11327 (jnf): Define using libm_alias_float.
11329 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
11330 (log10f): Define using libm_alias_float.
11331 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
11332 (log2f): Define using libm_alias_float.
11333 * math/w_logf_compat.c: Include <libm-alias-float.h>.
11334 (logf): Define using libm_alias_float.
11335 * math/w_powf_compat.c: Include <libm-alias-float.h>.
11336 (powf): Define using libm_alias_float.
11337 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
11338 (remainderf): Define using libm_alias_float.
11339 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
11340 (sinhf): Define using libm_alias_float.
11341 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
11342 (sqrtf): Define using libm_alias_float.
11343 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
11344 (tgammaf): Define using libm_alias_float.
11346 2017-09-14 Joseph Myers <joseph@codesourcery.com>
11348 * include/math.h (roundeven): Change hidden_proto call to
11350 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
11352 [NO_LONG_DOUBLE] (__j0l): New strong alias.
11353 (y0): Rename to __y0 and define as weak alias.
11354 [NO_LONG_DOUBLE] (__y0l): New strong alias.
11355 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
11357 (y0f): Rename to __y0f and define as weak alias.
11358 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
11360 [NO_LONG_DOUBLE] (__j1l): New strong alias.
11361 (y1): Rename to __y1 and define as weak alias.
11362 [NO_LONG_DOUBLE] (__y1l): New strong alias.
11363 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
11365 (y1f): Rename to __y1f and define as weak alias.
11366 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
11368 [NO_LONG_DOUBLE] (__jnl): New strong alias.
11369 (yn): Rename to __yn and define as weak alias.
11370 [NO_LONG_DOUBLE] (__ynl): New strong alias.
11371 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
11373 (ynf): Rename to __ynf and define as weak alias.
11374 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
11375 (fromfp): Define as weak alias.
11376 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
11377 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
11378 (fromfpx): Define as weak alias.
11379 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
11380 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
11381 __getpayload and define as weak alias.
11382 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
11383 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
11384 __roundeven and define as weak alias.
11385 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
11386 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
11388 (setpayload): Define as weak alias.
11389 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
11390 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
11392 (setpayloadsig): Define as weak alias.
11393 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
11394 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
11395 __totalorder and define as weak alias.
11396 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
11397 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
11398 to __totalordermag and define as weak alias.
11399 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
11400 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
11401 (ufromfp): Define as weak alias.
11402 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
11403 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
11405 (ufromfpx): Define as weak alias.
11406 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
11407 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
11408 Rename to __getpayload and define as weak alias.
11409 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
11410 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
11411 Rename to __roundeven and define as weak alias.
11412 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
11413 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
11414 Rename to __totalorder and define as weak alias.
11415 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
11416 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
11417 (totalordermag): Rename to __totalordermag and define as weak
11419 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
11420 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
11422 (__roundevenl): Likewise.
11423 (__totalorderl): Likewise.
11424 (__totalordermagl): Likewise
11425 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
11427 (fromfpf128): Define as weak alias.
11428 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
11430 (fromfpxf128): Define as weak alias.
11431 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
11433 (setpayloadf128): Define as weak alias.
11434 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
11435 __setpayloadsigf128.
11436 (setpayloadsigf128): Define as weak alias.
11437 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
11439 (ufromfpf128): Define as weak alias.
11440 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
11442 (ufromfpxf128): Define as weak alias.
11443 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
11444 (fromfpf): Define as weak alias.
11445 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
11447 (fromfpxf): Define as weak alias.
11448 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
11449 __getpayloadf and define as weak alias.
11450 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
11451 __roundevenf and define as weak alias.
11452 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
11454 (setpayloadf): Define as weak alias.
11455 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
11457 (setpayloadsigf): Define as weak alias.
11458 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
11459 __totalorderf and define as weak alias.
11460 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
11461 Rename to __totalordermagf and define as weak alias.
11462 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
11464 (ufromfpf): Define as weak alias.
11465 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
11467 (ufromfpxf): Define as weak alias.
11468 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
11470 (fromfpl): Define as weak alias.
11471 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
11473 (fromfpxl): Define as weak alias.
11474 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
11475 to __getpayloadl and define as weak alias.
11476 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
11477 __roundevenl and define as weak alias.
11478 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
11480 (setpayloadl): Define as weak alias.
11481 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
11483 (setpayloadsigl): Define as weak alias.
11484 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
11485 to __totalorderl and define as weak alias.
11486 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
11487 Rename to __totalordermagl and define as weak alias.
11488 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
11490 (ufromfpl): Define as weak alias.
11491 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
11493 (ufromfpxl): Define as weak alias.
11494 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
11496 (fromfpl): Define as weak alias.
11497 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
11499 (fromfpxl): Define as weak alias.
11500 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
11501 Rename to __getpayloadl and define as weak alias.
11502 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
11503 to __roundevenl and define as weak alias. Call __roundeven
11504 instead of roundeven.
11505 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
11507 (setpayloadl): Define as weak alias.
11508 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
11510 (setpayloadsigl): Define as weak alias.
11511 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
11512 Rename to __totalorderl and define as weak alias.
11513 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
11514 Rename to __totalordermagl and define as weak alias.
11515 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
11517 (ufromfpl): Define as weak alias.
11518 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
11520 (ufromfpxl): Define as weak alias.
11521 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
11523 (fromfpl): Define as weak alias.
11524 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
11526 (fromfpxl): Define as weak alias.
11527 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
11528 __getpayloadl and define as weak alias.
11529 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
11530 __roundevenl and define as weak alias.
11531 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
11533 (setpayloadl): Define as weak alias.
11534 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
11536 (setpayloadsigl): Define as weak alias.
11537 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
11538 __totalorderl and define as weak alias.
11539 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
11540 Rename to __totalordermagl and define as weak alias.
11541 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
11543 (ufromfpl): Define as weak alias.
11544 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
11546 (ufromfpxl): Define as weak alias.
11548 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
11550 * benchtests/bench-string.h (realloc_bufs): New function.
11551 (test_init): Call it.
11552 * benchtests/bench-memset-large.c (do_test): Likewise.
11553 * benchtests/bench-memset.c (do_test): Likewise.
11555 * benchtests/bench-memset-large.c: Print output in JSON
11557 * benchtests/bench-memset.c: Likewise.
11559 2017-09-14 Mike FABIAN <mfabian@redhat.com>
11562 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
11563 * iconvdata/Makefile: Add IBM858.
11564 * iconvdata/gconv-modules: Likewise.
11565 * iconvdata/tst-tables.sh: Likewise.
11566 * iconvdata/ibm858.c: New file.
11567 * localedata/charmaps/IBM858: Likewise.
11569 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
11572 * locales/niu_NZ (LC_TIME): copy "niu_NU".
11573 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
11575 2017-09-14 Mike FABIAN <mfabian@redhat.com>
11578 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
11579 and add tel_int_fmt.
11581 2017-09-14 Joseph Myers <joseph@codesourcery.com>
11583 * sysdeps/generic/libm-alias-float128.h: New file.
11584 * sysdeps/generic/math-type-macros-float128.h: Include
11585 <libm-alias-float128.h>.
11586 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
11588 2017-09-13 Joseph Myers <joseph@codesourcery.com>
11590 * sysdeps/generic/libm-alias-ldouble.h: New file.
11591 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
11592 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
11593 * sysdeps/generic/math-type-macros-ldouble.h: Include
11594 <libm-alias-ldouble.h>.
11595 [!declare_mgen_alias] (declare_mgen_alias): Define to use
11596 libm_alias_ldouble.
11598 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
11600 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
11601 * math/w_exp_compat.c: ... here.
11602 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
11603 * math/w_expf_compat.c: ... here.
11604 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
11605 * math/w_expl_compat.c: ... here.
11606 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
11607 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
11608 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
11609 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
11611 2017-09-13 Joseph Myers <joseph@codesourcery.com>
11613 * math/w_scalbln_template.c (strong_alias): Do not undefine and
11615 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
11617 (ldexpl): Only define as compat symbol for libc, not libm.
11618 (scalbnl): Define as compat symbol for libc here.
11619 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
11620 define for [IS_IN (libc)].
11621 (__ldexpl_2): Remove alias.
11622 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
11623 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
11624 name in long_double_symbol call.
11625 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
11626 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
11627 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
11628 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
11629 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
11631 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
11632 Define as compat symbol.
11634 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11636 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
11637 * sysdeps/unix/sysv/linux/alpha/Makefile
11638 [$(subdir) = csu] (sysdep_routines): Remove rule.
11640 2017-09-13 Joseph Myers <joseph@codesourcery.com>
11642 * sysdeps/generic/libm-alias-double.h: New file.
11643 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
11644 * sysdeps/generic/math-type-macros-double.h: Include
11645 <libm-alias-double.h>.
11646 [declare_mgen_alias] (declare_mgen_alias): Define to use
11648 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
11649 (M_LIBM_NEED_COMPAT): Remove macro.
11650 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
11651 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
11652 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
11654 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11655 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11656 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11657 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11658 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11659 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11660 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11661 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11662 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11663 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11664 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11665 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11666 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11667 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11668 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11669 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11670 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11671 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11672 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11673 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11674 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11675 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11676 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11677 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11678 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11679 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11680 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
11681 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
11682 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
11684 (declare_mgen_alias): New macro.
11685 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
11686 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
11687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
11688 (M_LIBM_NEED_COMPAT): Remove macro.
11689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
11690 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
11691 <first-versions.h>.
11692 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
11693 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
11695 2017-09-12 Joseph Myers <joseph@codesourcery.com>
11697 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
11698 (declare_mgen_alias_2): Remove.
11699 * sysdeps/generic/math-type-macros-double.h
11700 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
11702 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
11704 (ldexp): Define with declare_mgen_alias.
11705 (scalbn): Likewise.
11707 2017-09-12 Steve Ellcey <sellcey@cavium.com>
11709 * grp/initgroups.c: Include config.h.
11710 (DEFAULT_CONFIG): New macro.
11711 (internal_getgrouplist): Use DEFAULT_CONFIG.
11712 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11713 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
11714 (DEFAULT_DEFCONFIG): New macro.
11715 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
11716 * nss/grp-lookup.c: Include config.h
11717 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
11718 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
11719 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
11720 * manual/nss.texi: Update default values section.
11722 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
11725 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
11727 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
11728 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
11729 Handle MathVec_Prefer_No_AVX512.
11730 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
11731 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
11734 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
11736 * posix/sched_primax.c (__sched_get_priority_max): Add
11738 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
11739 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
11740 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
11741 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
11742 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
11743 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
11744 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
11745 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
11748 2017-09-11 Joseph Myers <joseph@codesourcery.com>
11750 * sysdeps/generic/libm-alias-float.h: New file.
11751 * sysdeps/generic/math-type-macros-float.h: Include
11752 <libm-alias-float.h>.
11753 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
11755 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
11758 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
11759 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
11760 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
11761 (HWCAP_IMPORTANT): Likewise.
11762 (HWCAP_X86_64): New enum.
11763 (HWCAP_X86_AVX512_1): Updated.
11764 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
11765 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
11766 (modules-names): Add x86_64/tst-x86_64mod-1.
11767 (LDFLAGS-tst-x86_64mod-1.so): New.
11768 ($(objpfx)tst-x86_64-1): Likewise.
11769 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
11770 (tst-x86_64-1-clean): Likewise.
11771 * sysdeps/x86_64/tst-x86_64-1.c: New file.
11772 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
11774 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
11776 * po/sv.po: Update translations.
11777 * po/fr.po: Likewise.
11779 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11781 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
11783 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
11785 * elf/rtld-Rules: Fix $(error) use.
11787 2017-09-09 Mike FABIAN <mfabian@redhat.com>
11790 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
11791 * locale/iso-639.def: Change “Bengali” to “Bangla”.
11792 * localedata/locales/bn_BD: “Bengali” was still used in some
11793 comments. Change it to “Bangla”.
11795 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
11797 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
11799 2017-09-08 Steve Ellcey <sellcey@cavium.com>
11801 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
11802 thunderx2t99p1 to list of cpu names.
11803 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
11804 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
11806 2017-09-08 Steve Ellcey <sellcey@cavium.com>
11808 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
11809 Use strcmp instead of tunable_is_name.
11811 2017-09-08 Joseph Myers <joseph@codesourcery.com>
11813 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
11814 (F_GET_RW_HINT): New macro.
11815 [__USE_GNU] (F_SET_RW_HINT): Likewise.
11816 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
11817 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
11818 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
11819 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
11820 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
11821 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
11822 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
11823 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
11825 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
11826 (F_ADD_SEALS): New macro.
11827 [__USE_GNU] (F_GET_SEALS): Likewise.
11828 [__USE_GNU] (F_SEAL_SEAL): Likewise.
11829 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
11830 [__USE_GNU] (F_SEAL_GROW): Likewise.
11831 [__USE_GNU] (F_SEAL_WRITE): Likewise.
11833 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11835 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
11836 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
11837 * posix/glob_internal.h (__glob_pattern_type):
11838 * posix/glob.c (glob):
11839 * posix/glob_pattern_p.c (__glob_pattern_p):
11842 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
11843 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
11844 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
11845 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
11846 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
11847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
11848 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
11849 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
11850 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
11851 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
11852 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
11853 * sysdeps/wordsize-64/glob.c: Likewise.
11854 * sysdeps/wordsize-64/glob64.c: Likewise.
11855 * sysdeps/wordsize-64/globfree.c: Likewise.
11856 * sysdeps/wordsize-64/globfree64.c: Likewise.
11857 * sysdeps/unix/sysv/linux/glob.c: New file.
11858 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
11859 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
11860 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
11861 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
11862 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
11863 adds !GLOB_NO_OLD_VERSION as an extra condition.
11864 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
11865 using relative path instead of absolute one.
11866 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
11867 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
11868 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11869 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
11870 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
11871 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
11874 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
11875 (glob): Use the same scratch buffer for both getlogin_r and
11876 getpwnam_r. Don’t require preallocation of the login name. This
11877 simplifies storage allocation, and corrects the handling of
11881 * posix/glob.c (glob): Port recent patches to platforms
11882 lacking getpwnam_r.
11883 (glob): Fix longstanding misuse of errno after getpwnam_r, which
11884 returns an error number rather than setting errno.
11886 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
11887 instead of GCC extension.
11888 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
11889 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
11890 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
11894 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
11895 * posix/bug-glob1.c: Remove file.
11896 * posix/tst-glob_symlinks.c: New file.
11897 * posix/glob.c (__lstat64): New macro.
11898 (is_dir): New function.
11899 (glob, glob_in_dir): Match symlinks even if they are dangling.
11900 (link_stat, link_exists_p): Remove. All uses removed.
11904 * posix/glob.c (struct readdir_result): Remove skip_entry member.
11905 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
11910 * posix/Makefile (routines): Add globfree, globfree64, and
11912 * posix/flexmember.h: New file.
11913 * posix/glob_internal.h: Likewise.
11914 * posix/glob_pattern_p.c: Likewise.
11915 * posix/globfree.c: Likewise.
11916 * posix/globfree64.c: Likewise.
11917 * sysdeps/gnu/globfree64.c: Likewise.
11918 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
11919 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
11920 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
11921 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
11922 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
11923 * sysdeps/wordsize-64/globfree.c: Likewise.
11924 * sysdeps/wordsize-64/globfree64.c: Likewise.
11925 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
11926 [NDEBUG): Remove comments.
11927 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
11928 (dirent_type): New type. Use uint_fast8_t not
11929 uint8_t, as C99 does not require uint8_t.
11930 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
11931 (struct readdir_result): Use dirent_type. Do not define skip_entry
11932 unless it is needed; this saves a byte on platforms lacking d_ino.
11933 (readdir_result_type, readdir_result_skip_entry):
11934 New functions, replacing ...
11935 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
11936 these functions, which were removed. This makes the callers
11937 easier to read. All callers changed.
11938 (D_INO_TO_RESULT): Now empty if there is no d_ino.
11939 (size_add_wrapv, glob_use_alloca): New static functions.
11940 (glob, glob_in_dir): Check for size_t overflow in several places,
11941 and fix some size_t checks that were not quite right.
11942 Remove old code using SHELL since Bash no longer
11944 (glob, prefix_array): Separate MS code better.
11945 (glob_in_dir): Remove old Amiga and VMS code.
11946 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
11948 (glob_in_dir): Do not rely on undefined behavior in accessing
11949 struct members beyond their bounds. Use a flexible array member
11951 (link_stat): Rename from link_exists2_p and return -1/0 instead of
11952 0/1. Caller changed.
11953 (glob): Fix memory leaks.
11954 * posix/glob64 (globfree64): Move to separate file.
11955 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
11956 (globfree64): Remove hidden alias.
11957 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
11959 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
11961 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
11963 Move compat code to separate file.
11964 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
11967 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
11969 * resolv/tst-resolv-qtypes.c (domain): Changed to
11970 "const char domain[] =".
11972 2017-09-07 Joseph Myers <joseph@codesourcery.com>
11974 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
11977 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
11978 (TCP_MD5SIG_EXT): Likewise.
11979 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
11980 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
11981 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
11983 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
11985 2017-09-07 Mike FABIAN <mfabian@redhat.com>
11987 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
11989 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
11992 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
11994 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
11996 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
11997 before assuming that the file is empty. Avoid testing buffer content
12000 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12003 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
12005 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
12007 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
12009 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
12011 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
12013 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
12015 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
12018 2017-09-06 Florian Weimer <fweimer@redhat.com>
12020 * malloc/dynarray_emplace_enlarge.c
12021 (__libc_dynarray_emplace_enlarge): Add missing else.
12023 2017-09-06 Florian Weimer <fweimer@redhat.com>
12026 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
12027 case of failure to obtain the global conf object.
12029 2017-09-06 Florian Weimer <fweimer@redhat.com>
12032 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
12033 dynarray allocation failure.
12035 2017-09-06 Florian Weimer <fweimer@redhat.com>
12037 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
12038 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
12039 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
12041 (response): Call them. Add 'p', '6' flag processing.
12042 (test_reverse): New function.
12043 (test_get2_any): Call it.
12044 (test_no_inet6): Add 'p' test.
12045 (test_inet6): Likewise.
12047 2017-09-06 Florian Weimer <fweimer@redhat.com>
12049 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
12050 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
12052 (test_gai): Adjust query names. Add additional tests.
12053 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
12054 test_get2. Adjust query names. Add additional tests.
12055 (test_no_inet6): New function, extracted from threadfunc.
12056 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
12057 Add additional tests.
12059 2017-09-06 Mike FABIAN <mfabian@redhat.com>
12062 * localedata/unicode-gen/utf8_gen.py: Set the width for
12063 characters with Prepended_Concatenation_Mark property to 1
12064 * localedata/charmaps/UTF-8: Updated using the improved script.
12066 2017-09-06 Mike FABIAN <mfabian@redhat.com>
12069 * localedata/unicode-gen/utf8_gen.py: Improve the script to
12070 use the range notation for all ranges of neighbouring characters
12071 with the same width.
12073 2017-09-05 Joseph Myers <joseph@codesourcery.com>
12075 * sysdeps/generic/math-type-macros-double.h: Include
12076 <math-svid-compat.h>.
12077 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
12078 * sysdeps/generic/math-type-macros-float.h: Include
12079 <math-svid-compat.h>.
12080 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
12081 * sysdeps/generic/math-type-macros-ldouble.h: Include
12082 <math-svid-compat.h>.
12083 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
12084 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
12086 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
12087 * math/w_acosf_compat.c: Likewise.
12088 * math/w_acosh_compat.c: Likewise.
12089 * math/w_acoshf_compat.c: Likewise.
12090 * math/w_acoshl_compat.c: Likewise.
12091 * math/w_acosl_compat.c: Likewise.
12092 * math/w_asin_compat.c: Likewise.
12093 * math/w_asinf_compat.c: Likewise.
12094 * math/w_asinl_compat.c: Likewise.
12095 * math/w_atan2_compat.c: Likewise.
12096 * math/w_atan2f_compat.c: Likewise.
12097 * math/w_atan2l_compat.c: Likewise.
12098 * math/w_atanh_compat.c: Likewise.
12099 * math/w_atanhf_compat.c: Likewise.
12100 * math/w_atanhl_compat.c: Likewise.
12101 * math/w_cosh_compat.c: Likewise.
12102 * math/w_coshf_compat.c: Likewise.
12103 * math/w_coshl_compat.c: Likewise.
12104 * math/w_exp10_compat.c: Likewise.
12105 * math/w_exp10f_compat.c: Likewise.
12106 * math/w_exp10l_compat.c: Likewise.
12107 * math/w_exp2_compat.c: Likewise.
12108 * math/w_exp2f_compat.c: Likewise.
12109 * math/w_exp2l_compat.c: Likewise.
12110 * math/w_fmod_compat.c: Likewise.
12111 * math/w_fmodf_compat.c: Likewise.
12112 * math/w_fmodl_compat.c: Likewise.
12113 * math/w_hypot_compat.c: Likewise.
12114 * math/w_hypotf_compat.c: Likewise.
12115 * math/w_hypotl_compat.c: Likewise.
12116 * math/w_j0_compat.c: Likewise.
12117 * math/w_j0f_compat.c: Likewise.
12118 * math/w_j0l_compat.c: Likewise.
12119 * math/w_j1_compat.c: Likewise.
12120 * math/w_j1f_compat.c: Likewise.
12121 * math/w_j1l_compat.c: Likewise.
12122 * math/w_jn_compat.c: Likewise.
12123 * math/w_jnf_compat.c: Likewise.
12124 * math/w_jnl_compat.c: Likewise.
12125 * math/w_lgamma_r_compat.c: Likewise.
12126 * math/w_lgammaf_r_compat.c: Likewise.
12127 * math/w_lgammal_r_compat.c: Likewise.
12128 * math/w_log10_compat.c: Likewise.
12129 * math/w_log10f_compat.c: Likewise.
12130 * math/w_log10l_compat.c: Likewise.
12131 * math/w_log2_compat.c: Likewise.
12132 * math/w_log2f_compat.c: Likewise.
12133 * math/w_log2l_compat.c: Likewise.
12134 * math/w_log_compat.c: Likewise.
12135 * math/w_logf_compat.c: Likewise.
12136 * math/w_logl_compat.c: Likewise.
12137 * math/w_pow_compat.c: Likewise.
12138 * math/w_powf_compat.c: Likewise.
12139 * math/w_powl_compat.c: Likewise.
12140 * math/w_remainder_compat.c: Likewise.
12141 * math/w_remainderf_compat.c: Likewise.
12142 * math/w_remainderl_compat.c: Likewise.
12143 * math/w_sinh_compat.c: Likewise.
12144 * math/w_sinhf_compat.c: Likewise.
12145 * math/w_sinhl_compat.c: Likewise.
12146 * math/w_sqrt_compat.c: Likewise.
12147 * math/w_sqrtf_compat.c: Likewise.
12148 * math/w_sqrtl_compat.c: Likewise.
12149 * math/w_tgamma_compat.c: Likewise.
12150 * math/w_tgammaf_compat.c: Likewise.
12151 * math/w_tgammal_compat.c: Likewise.
12152 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
12153 [LIBM_SVID_COMPAT].
12154 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
12155 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
12156 [LIBM_SVID_COMPAT].
12157 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
12158 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
12159 [LIBM_SVID_COMPAT].
12160 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
12161 * sysdeps/i386/fpu/w_sqrt.c: New file.
12162 * sysdeps/ia64/fpu/w_acos.c: Likewise.
12163 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
12164 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
12165 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
12166 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
12167 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
12168 * sysdeps/ia64/fpu/w_asin.c: Likewise.
12169 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
12170 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
12171 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
12172 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
12173 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
12174 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
12175 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
12176 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
12177 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
12178 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
12179 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
12180 * sysdeps/ia64/fpu/w_exp.c: Likewise.
12181 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
12182 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
12183 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
12184 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
12185 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
12186 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
12187 * sysdeps/ia64/fpu/w_expf.c: Likewise.
12188 * sysdeps/ia64/fpu/w_expl.c: Likewise.
12189 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
12190 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
12191 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
12192 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
12193 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
12194 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
12195 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
12196 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
12197 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
12198 * sysdeps/ia64/fpu/w_log.c: Likewise.
12199 * sysdeps/ia64/fpu/w_log10.c: Likewise.
12200 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
12201 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
12202 * sysdeps/ia64/fpu/w_log2.c: Likewise.
12203 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
12204 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
12205 * sysdeps/ia64/fpu/w_logf.c: Likewise.
12206 * sysdeps/ia64/fpu/w_logl.c: Likewise.
12207 * sysdeps/ia64/fpu/w_pow.c: Likewise.
12208 * sysdeps/ia64/fpu/w_powf.c: Likewise.
12209 * sysdeps/ia64/fpu/w_powl.c: Likewise.
12210 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
12211 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
12212 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
12213 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
12214 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
12215 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
12216 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
12217 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
12218 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
12219 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
12220 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
12221 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
12222 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
12223 [LIBM_SVID_COMPAT].
12224 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
12225 * sysdeps/ieee754/k_standard.c: Likewise.
12226 * sysdeps/ieee754/k_standardf.c: Likewise.
12227 * sysdeps/ieee754/k_standardl.c: Likewise.
12228 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
12229 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
12230 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
12231 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
12232 long_double_symbol call on [LIBM_SVID_COMPAT].
12233 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
12234 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
12235 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
12236 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
12237 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
12238 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
12239 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
12240 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
12241 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
12242 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
12243 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
12244 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
12245 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
12246 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
12247 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
12248 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
12249 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
12250 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
12251 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
12252 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
12253 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
12254 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
12256 2017-09-05 Steve Ellcey <sellcey@cavium.com>
12258 * include/shlib-compat.h (TEST_COMPAT): New Macro.
12259 * malloc/tst-mallocstate.c: Convert from test-skeleton
12260 to test-driver. Ifdef code using TEST_COMPAT macro.
12261 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
12262 * math/test-matherr.c: Likewise.
12264 2017-09-05 Joseph Myers <joseph@codesourcery.com>
12267 * debug/pcprofiledump.c (main): Use byte-swapped mask when
12268 comparing word with byte-swapped constant.
12270 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
12273 * locale/iso-639.def: add Miskito.
12274 * localedata/SUPPORTED: Add miq_NI/UTF-8.
12275 * localedata/locales/miq_NI: New file.
12277 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
12280 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
12281 (__mkdir): Likewise.
12282 * io/chmod.c (__chmod): Add libc_hidden_def.
12283 * io/mkdir.c (__mkdir): Likewise.
12284 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
12285 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
12286 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
12287 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
12289 2017-09-04 Joseph Myers <joseph@codesourcery.com>
12291 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
12295 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
12296 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
12298 2017-09-04 Florian Weimer <fweimer@redhat.com>
12300 * math/math.h: Issue warning if log is defined.
12302 2017-09-04 Joseph Myers <joseph@codesourcery.com>
12304 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
12305 kernel version to 4.13.
12307 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
12309 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
12310 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
12312 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
12313 just <bits/types.h>.
12314 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
12315 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
12316 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
12317 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
12318 * misc/preadv2.c: Include <errno.h>.
12319 * misc/preadv64v2.c: Include <errno.h>.
12320 * misc/pwritev2.c: Include <errno.h>.
12321 * misc/pwritev64v2.c: Include <errno.h>.
12322 * sysdeps/posix/preadv2.c: Include <errno.h>.
12323 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
12324 Fix <unistd.h> inclusion.
12325 * sysdeps/posix/pwritev2.c: Include <errno.h>.
12326 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
12327 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
12328 __strtoul_internal): New functions.
12329 * sysdeps/posix/pause.c: Include <sigsetops.h>.
12330 * sysdeps/posix/system.c: Include <sigsetops.h>.
12331 * sysdeps/mach/hurd/i386/Makefile
12332 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
12333 [$(subdir) = csu] (sysdep-only-routines): Likewise.
12334 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
12335 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
12336 __feraiseexcept_renamed to feraiseexcept instead of
12337 __GI_feraiseexcept.
12338 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
12339 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
12340 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
12341 RWF_NOWAIT): Define to 0 if undefined already.
12342 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
12344 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
12345 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
12347 2017-09-01 Joseph Myers <joseph@codesourcery.com>
12349 * manual/math.texi (pow10): Do not document.
12350 (pow10f): Likewise.
12351 (pow10l): Likewise.
12352 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
12353 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
12354 * math/libm-test-exp10.inc (pow10_test): Remove.
12355 (do_test): Do not call pow10.
12356 * math/w_exp10_compat.c (pow10): Make into compat symbol.
12357 [NO_LONG_DOUBLE] (pow10l): Likewise.
12358 * math/w_exp10f_compat.c (pow10f): Likewise.
12359 * math/w_exp10l_compat.c (pow10l): Likewise.
12360 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
12361 (pow10): Make into compat symbol.
12362 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
12363 (pow10f): Make into compat symbol.
12364 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
12365 (pow10l): Make into compat symbol.
12366 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
12368 (CFLAGS-nldbl-pow10.c): Remove variable..
12369 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
12370 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
12371 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
12372 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
12373 Undefine and redefine.
12374 (pow10l): Make into compat symbol.
12375 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
12376 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
12377 * sysdeps/arm/libm-test-ulps: Likewise.
12378 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
12379 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
12380 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
12381 * sysdeps/microblaze/libm-test-ulps: Likewise.
12382 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
12383 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12384 * sysdeps/nios2/libm-test-ulps: Likewise.
12385 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12386 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
12387 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12388 * sysdeps/sh/libm-test-ulps: Likewise.
12389 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12390 * sysdeps/tile/libm-test-ulps: Likewise.
12391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12393 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
12395 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
12397 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
12399 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
12400 "../ChangeLog.old/ChangeLog.8".
12401 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
12402 "../ChangeLog.old/ChangeLog.14".
12404 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
12406 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
12409 2017-09-01 Joseph Myers <joseph@codesourcery.com>
12411 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
12413 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
12415 * csu/version.c (banner): Remove "by Roland McGrath et al.".
12416 * nptl/Banner: Remove "by Ulrich Drepper et al.".
12418 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
12420 * stdlib/tst-atexit-common.c (do_test): Test support for at least
12421 32 atexit handlers.
12423 2017-09-01 Zack Weinberg <zackw@panix.com>
12425 * math/math.h (HUGE_VAL): Improve commentary.
12427 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12428 Andreas Schwab <schwab@suse.de>
12431 * include/stdio.h (__gen_tempfd): New function.
12432 * stdio-common/Makefile (routines): Add gentempfd.
12433 * stdio-common/gentempfd.c: New file.
12434 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
12435 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
12436 unnamed file first.
12438 2017-09-01 Florian Weimer <fweimer@redhat.com>
12442 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
12443 result to determine success or failure, not the errno value.
12444 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
12445 (tst-nss-files-hosts-erange): Link with -ldl.
12446 * nss/tst-nss-files-hosts-erange.c: New file.
12447 * nss/tst-resolv-basic.c (response): Handle nodata.example.
12448 (do_test): Add NO_DATA tests.
12449 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
12450 (do_test): Call it.
12452 2017-09-01 Florian Weimer <fweimer@redhat.com>
12455 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
12456 coming from gethostbyname2_r.
12458 2017-09-01 Florian Weimer <fweimer@redhat.com>
12460 * support/namespace.h (struct support_chroot_configuration): Add
12462 (struct support_chroot): Add path_hosts, path_host_conf.
12463 * support/support_chroot.c (write_file): New function.
12464 (support_chroot_create): Call it to process /etc/resolv.conf,
12465 /etc/hosts, /etc/host.conf.
12466 (support_chroot_free): Update.
12468 2017-09-01 Florian Weimer <fweimer@redhat.com>
12470 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
12471 status indicates it is set.
12473 2017-09-01 Florian Weimer <fweimer@redhat.com>
12476 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
12477 function lookup failures more reliable.
12479 2017-09-01 Florian Weimer <fweimer@redhat.com>
12481 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
12482 (getcanonname): Likewise.
12483 (gaih_inet): Likewise.
12485 2017-09-01 Florian Weimer <fweimer@redhat.com>
12487 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
12488 (getcanonname): Likewise.
12489 (gaih_inet): Likewise.
12491 2017-08-31 Steve Ellcey <sellcey@cavium.com>
12492 Richard Henderson <rth@twiddle.net>
12494 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
12495 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
12496 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
12497 (IREG_SIZE, OREG_SIZE): New macros.
12498 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
12499 (IREG_SIZE, OREG_SIZE): New macros.
12500 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
12501 (IREG_SIZE): New macro.
12502 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
12503 (IREG_SIZE): New macro.
12504 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
12506 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
12507 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
12508 (__CONCATX): Handle exceptions correctly on large values that may
12510 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
12511 Initialize if not already set.
12512 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
12514 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12516 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
12517 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
12519 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
12521 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
12523 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
12525 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
12527 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
12529 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
12531 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
12532 (NO_CANCELLATION): Likewise.
12533 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
12535 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
12537 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
12539 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
12540 (NO_CANCELLATION): Likewise.
12541 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
12542 (NO_CANCELLATION): Likewise.
12543 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
12545 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
12547 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
12549 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
12551 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
12553 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
12554 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
12556 2017-08-31 Steve Ellcey <sellcey@cavium.com>
12558 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
12561 2017-08-31 Florian Weimer <fweimer@redhat.com>
12563 * include/libc-symbols.h (internal_function): Remove.
12565 2017-08-31 Florian Weimer <fweimer@redhat.com>
12567 * stdlib/fmtmsg.c (internal_addseverity): Remove
12570 2017-08-31 Florian Weimer <fweimer@redhat.com>
12572 * stdio-common/printf_fp.c (group_number): Remove
12574 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
12576 2017-08-31 Florian Weimer <fweimer@redhat.com>
12578 * posix/fnmatch.c (internal_function): Remove definition.
12579 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
12580 * posix/regcomp.c (peek_token, init_word_char)
12581 (duplicate_node_closure, fetch_token, peek_token)
12582 (peek_token_bracket, build_range_exp, build_collating_symbol):
12584 * posix/regex_internal.c (re_string_construct_common)
12585 (create_ci_newstate, create_cd_newstate, re_string_allocate)
12586 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
12587 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
12588 (re_string_translate_buffer, re_string_reconstruct)
12589 (re_string_peek_byte_case, re_string_fetch_byte_case)
12590 (re_string_destruct, re_string_context_at, re_node_set_alloc)
12591 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
12592 (re_node_set_add_intersect, re_node_set_init_union)
12593 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
12594 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
12595 (re_dfa_add_node, calc_state_hash, re_acquire_state)
12596 (re_acquire_state_context): Likewise.
12597 * posix/regex_internal.h (internal_function): Remove definition.
12598 (re_string_realloc_buffers, build_wcs_buffer)
12599 (build_wcs_upper_buffer, build_upper_buffer)
12600 (re_string_translate_buffer, re_string_context_at)
12601 (re_string_char_size_at, re_string_wchar_at)
12602 (re_string_elem_size_at): Likewise.
12603 * posix/regexec.c (match_ctx_init, match_ctx_clean)
12604 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
12605 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
12606 (re_search_internal, re_search_2_stub, re_search_stub)
12607 (re_copy_regs, prune_impossible_nodes, check_matching)
12608 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
12609 (free_fail_stack_return, sift_states_iter_mb)
12610 (sift_states_backward, build_sifted_states)
12611 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
12612 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
12613 (check_subexp_limits, sift_states_bkref, merge_state_array)
12614 (find_recover_state, transit_state, merge_state_with_log)
12615 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
12616 (transit_state_mb, transit_state_bkref, get_subexp)
12617 (get_subexp_sub, find_subexp_node, check_arrival)
12618 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
12619 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
12620 (check_node_accept_bytes, find_collation_sequence_value)
12621 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
12622 (acquire_init_state_context, check_halt_node_context)
12623 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
12624 (sub_epsilon_src_nodes): Likewise.
12625 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
12626 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
12627 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
12628 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
12629 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
12630 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
12631 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
12632 * sysdeps/posix/ttyname.c (getttyname): Likewise.
12633 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
12634 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
12635 (PREADV): Likewise.
12636 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
12637 (PREADV): Likewise.
12638 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
12639 (PWRITEV): Likewise.
12640 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
12641 (PWRITEV): Likewise.
12642 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
12643 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
12645 2017-08-31 Florian Weimer <fweimer@redhat.com>
12647 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
12648 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
12649 Remove internal_function.
12650 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
12651 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
12652 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
12653 (__deallocate_stack, __libc_pthread_init)
12654 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
12655 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
12656 (__libc_disable_asynccancel, __librt_disable_asynccancel):
12658 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
12659 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
12660 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
12662 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
12663 (__pthread_mutex_unlock_usercnt): Likewise.
12665 2017-08-31 Florian Weimer <fweimer@redhat.com>
12667 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
12668 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
12669 (fts_safe_changedir): Remove internal_function.
12670 * io/ftw.c (internal_function): Remove definition.
12671 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
12673 2017-08-31 Florian Weimer <fweimer@redhat.com>
12675 * inet/deadline.c (__deadline_current_time)
12676 (__deadline_from_timeval, __deadline_to_ms): Remove
12678 * inet/getnameinfo.c (nrl_domainname): Likewise.
12679 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
12680 * inet/inet6_option.c (add_pad): Likewise.
12681 * inet/net-internal.h (__deadline_current_time)
12682 (__deadline_from_timeval, __deadline_to_ms): Likewise.
12683 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
12684 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
12685 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
12687 2017-08-31 Joseph Myers <joseph@codesourcery.com>
12689 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
12690 include <bits/nan.h>.
12691 * math/Makefile (headers): Remove bits/nan.h.
12692 * bits/nan.h: Remove.
12693 * sysdeps/ieee754/bits/nan.h: Likewise.
12694 * sysdeps/mips/bits/nan.h: Likewise.
12696 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
12697 not include <bits/inf.h>.
12698 * math/Makefile (headers): Remove bits/inf.h.
12699 * bits/inf.h: Remove.
12700 * sysdeps/ieee754/bits/inf.h: Likewise.
12702 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
12703 bits/huge_vall.h or bits/huge_val_flt128.h.
12704 (HUGE_VAL): Define directly here.
12705 [__USE_ISOC99] (HUGE_VALF): Likewise.
12706 [__USE_ISOC99] (HUGE_VALL): Likewise.
12707 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
12708 (HUGE_VAL_F128): Likewise.
12709 * math/Makefile (headers): Remove bits/huge_val.h,
12710 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
12711 * bits/huge_val.h: Remove.
12712 * bits/huge_val_flt128.h: Likewise.
12713 * bits/huge_valf.h: Likewise.
12714 * bits/huge_vall.h: Likewise.
12715 * sysdeps/ia64/bits/huge_vall.h: Likewise.
12716 * sysdeps/ieee754/bits/huge_val.h: Likewise.
12717 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
12718 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
12719 * sysdeps/sh/bits/huge_val.h: Likewise.
12720 * sysdeps/sparc/bits/huge_vall.h: Likewise.
12721 * sysdeps/x86/bits/huge_vall.h: Likewise.
12723 2017-08-31 Florian Weimer <fweimer@redhat.com>
12725 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
12727 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
12729 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
12730 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
12731 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
12732 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
12733 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12734 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
12735 * elf/dl-libc.c (dlerror_run): Likewise.
12736 * elf/dl-load.c (add_name_to_object, decompose_rpath)
12737 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
12738 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
12739 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
12741 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
12742 (_dl_higher_prime_number, _dl_strtoul): Likewise.
12743 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
12744 * elf/dl-profile.c (_dl_start_profile): Likewise.
12745 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
12746 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
12748 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
12749 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
12750 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
12751 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
12752 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
12753 (_dl_allocate_tls_storage): Likewise.
12754 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
12755 (_dl_check_all_versions): Likewise.
12756 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
12757 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
12758 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
12759 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
12760 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
12761 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
12762 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
12763 internal_function from __dl_start.
12764 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
12765 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
12766 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
12767 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
12768 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
12769 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
12770 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
12771 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
12772 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
12773 (_dl_next_ld_env_entry, _dl_important_hwcaps)
12774 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
12775 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
12776 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
12777 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
12778 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
12780 (struct rtld_global_ro): Remove internal_function from the
12781 _dl_lookup_symbol_x member.
12782 (_dl_symbol_value): Remove. No longer defined anywhere.
12783 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
12785 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
12786 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
12787 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
12788 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
12789 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
12790 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
12791 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
12792 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
12793 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
12794 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
12795 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
12796 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
12798 2017-08-31 Florian Weimer <fweimer@redhat.com>
12800 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
12801 Remove internal_function.
12802 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
12804 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
12807 2017-08-31 Florian Weimer <fweimer@redhat.com>
12809 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
12810 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
12811 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
12813 2017-08-31 Florian Weimer <fweimer@redhat.com>
12815 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
12816 (__gai_enqueue_request): Remove internal_function.
12817 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
12818 (__gai_remove_request, __gai_notify, __gai_notify_only)
12819 (__gai_sigqueue): Likewise.
12820 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
12821 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
12822 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
12823 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
12826 2017-08-31 Florian Weimer <fweimer@redhat.com>
12828 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
12829 * include/dirent.h (__opendirat, __getdents, __getdents64)
12830 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
12831 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
12832 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
12833 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
12835 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
12837 2017-08-31 Florian Weimer <fweimer@redhat.com>
12839 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
12841 (GETCWD_RETURN_TYPE): Likewise.
12843 2017-08-31 Florian Weimer <fweimer@redhat.com>
12845 * include/time.h (__tz_compute, __strptime_internal): Remove
12847 * time/strptime_l.c (__strptime_internal): Likewise.
12848 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
12850 2017-08-31 Florian Weimer <fweimer@redhat.com>
12852 * iconv/gconv.c (__gconv): Remove internal_function.
12853 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
12854 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
12855 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
12856 (__gconv_release_cache): Likewise.
12857 * iconv/gconv_close.c (__gconv_close): Likewise.
12858 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
12859 (read_conf_file, __gconv_get_path): Likewise.
12860 * iconv/gconv_db.c (derivation_lookup, add_derivation)
12861 (__gconv_release_step, gen_steps, increment_counter)
12862 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
12863 (__gconv_close_transform, free_modules_db): Likewise.
12864 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
12866 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
12867 (__gconv_find_transform, __gconv_lookup_cache)
12868 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
12869 (__gconv_close_transform, __gconv_release_cache)
12870 (__gconv_loaded_object, __gconv_release_shlib)
12871 (__gconv_compare_alias): Likewise.
12872 * iconv/gconv_open.c (__gconv_open): Likewise.
12873 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
12874 * iconv/iconvconfig.c (add_module): Likewise.
12875 * intl/dcigettext.c (plural_lookup, guess_category_value)
12876 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
12877 * intl/eval-plural.h (plural_eval): Likewise.
12878 * intl/finddomain.c (_nl_find_domain): Likewise.
12879 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
12880 (_nl_load_domain, _nl_find_msg): Likewise.
12881 (internal_function): Remove definition.
12882 * intl/loadinfo.h (internal_function): Likewise.
12883 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
12885 * intl/localealias.c (internal_function): Remove definition.
12886 (read_alias_file): Remove internal_function.
12887 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
12888 * intl/plural-exp.h (internal_function): Remove definition.
12889 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
12891 * intl/plural.c: Regenerate.
12892 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
12893 * locale/coll-lookup.c (__collidx_table_lookup)
12894 (__collseq_table_lookup): Likewise.
12895 * locale/coll-lookup.h (__collidx_table_lookup)
12896 (__collseq_table_lookup): Likewise.
12897 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
12898 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
12899 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
12900 (_nl_unload_locale): Likewise.
12901 * locale/localeinfo.h (struct __locale_data): Remove
12902 internal_function from cleanup member.
12903 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
12904 (_nl_remove_locale, _nl_load_locale_from_archive)
12905 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
12906 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
12907 (_nl_cleanup_time): Remove internal_function.
12908 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
12909 (_nl_parse_alt_digit): Likewise.
12910 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
12911 (_nl_select_era_entry): Likewise.
12912 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
12913 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
12914 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
12915 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
12916 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
12918 2017-08-31 Florian Weimer <fweimer@redhat.com>
12920 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
12921 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
12922 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
12923 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
12925 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
12926 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
12927 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
12928 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
12930 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
12932 2017-08-31 Florian Weimer <fweimer@redhat.com>
12934 * misc/getttyent.c (skip, value): Remove internal_function.
12935 * misc/syslog.c (openlog_internal): Likewise.
12936 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
12938 2017-08-31 Florian Weimer <fweimer@redhat.com>
12940 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
12941 (__nss_rewrite_field): Remove internal_function.
12942 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
12943 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
12944 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
12945 * nss/nsswitch.c (nss_parse_file, nss_getline)
12946 (nss_parse_service_list, nss_new_service): Likewise.
12947 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
12948 * nss/valid_field.c (__nss_valid_field): Likewise.
12949 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
12951 2017-08-31 Florian Weimer <fweimer@redhat.com>
12953 * malloc/arena.c (__malloc_fork_lock_parent)
12954 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
12955 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
12956 internal_function from defintions.
12957 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
12958 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
12959 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
12960 internal_function from declarations.
12961 * malloc/malloc.c (internal_function): Do not define.
12962 (mem2mem_check): Remove internal_function from declaration.
12963 (munmap_chunk, mremap_chunk): Remove internal_function.
12964 * malloc/mtrace.c (tr_where): Likewise.
12966 2017-08-31 Florian Weimer <fweimer@redhat.com>
12968 * include/rpc/pmap_clnt.h (__get_socket): Remove
12970 * sunrpc/auth_des.c (synchronize): Likewise.
12971 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
12972 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
12973 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
12974 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
12975 (key_call): Likewise.
12976 * sunrpc/pm_getport.c (__get_socket): Likewise.
12977 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
12978 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
12979 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
12980 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
12981 (invalidate): Likewise.
12982 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
12983 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
12984 (set_input_fragment, get_input_bytes): Likewise.
12986 2017-08-31 Florian Weimer <fweimer@redhat.com>
12988 * malloc/malloc.c (_int_free): Remove locked variable and related
12991 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
12994 * Makerules (build-module-helper-objlist): Filter out
12995 $(elf-objpfx)sofini.os.
12996 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
12999 2017-08-31 Florian Weimer <fweimer@redhat.com>
13001 * libio/fcloseall.c: Assume weak_alias is defined.
13002 * libio/feof.c: Likewise.
13003 * libio/fileno.c: Likewise.
13004 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
13005 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
13007 (_IO_file_open): Call __open directly.
13008 (_IO_new_file_sync): Assume ESPIPE is defined.
13009 (_IO_file_seekoff_maybe_mmap): Call __read directly.
13010 (_IO_new_file_write): Call __write directly.
13011 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
13012 * libio/ftello64.c (__ftello64): Assume EIO is defined.
13013 * libio/genops.c: Assume _LIBC is defined.
13014 (save_for_backup): Remove internal_function.
13015 * libio/getc.c: Assume weak_alias is defined.
13016 * libio/getwc.c: Likewise.
13017 * libio/iofclose.c: Assume _LIBC is defined.
13018 * libio/iofdopen.c: Likewise.
13019 (_IO_fcntl): Remove macro definition.
13020 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
13021 Call __fcntl directly.
13022 * libio/iofflush.c: Assume weak_alias is defined.
13023 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
13025 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
13026 * libio/iofgets.c: Likewise.
13027 * libio/iofopen.c: Assume _LIBC is defined.
13028 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
13029 * libio/iofputs.c: Assume weak_alias is defined.
13030 * libio/iofread.c: Likewise.
13031 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
13032 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
13033 * libio/ioftell.c: Assume weak_alias is defined.
13034 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
13035 * libio/iofwide.c: Assume _LIBC is defined.
13036 (_IO_fwide): Drop SHARED conditional because it is implied by
13038 * libio/iofwrite.c: Assume weak_alias is defined.
13039 * libio/iogetdelim.c: Likewise.
13040 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
13041 * libio/iogetwline.c (wmemcpy): Remove macro definition.
13042 (_IO_getwline): Call __wmemcpy directly.
13043 * libio/iopopen.c: Assume _LIBC is defined.
13044 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
13045 (_IO_close): Remove macro definitions.
13046 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
13048 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
13050 * libio/ioputs.c: Assume weak_alias is defined.
13051 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
13052 * libio/iosetbuffer.c: Assume weak_alias is defined.
13053 * libio/iosetvbuf.c: Likewise.
13054 * libio/ioungetc.c: Likewise.
13055 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
13056 libc_hidden_def, libc_hidden_weak, NULL are defined.
13057 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
13058 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
13060 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
13062 (_IO_old_file_init_internal): Drop SHARED conditional because it
13063 is implied by SHLIB_COMPAT.
13064 (_IO_old_file_fopen): Call __open directly.
13065 (_IO_old_file_sync): Assume ESPIPE is defined.
13066 (_IO_old_file_write): Call __write directly.
13067 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
13068 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
13069 Call __fcntl directly.
13070 * libio/oldiofgetpos.c: Assume weak_alias is defined.
13071 (_IO_old_fgetpos): Assume EIO is defined.
13072 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
13073 (_IO_old_fgetpos64): Assume EIO is defined.
13074 * libio/oldiofsetpos.c: Assume weak_alias is defined.
13075 (_IO_old_fsetpos): Assume EIO is defined.
13076 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
13077 (_IO_old_fsetpos64): Assume EIO is defined.
13078 * libio/oldiopopen.c: Assume _LIBC is defined.
13079 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
13080 (_IO_close): Remove macro definitions.
13081 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
13083 (_IO_old_proc_close): Call __close, __waitpid directly.
13084 * libio/put.c: Assume weak_alias is defined.
13085 * libio/stdfiles.c: Assume _LIBC is defined.
13086 * libio/stdio.c: Likewise.
13087 * libio/wfileops.c: Likewise.
13088 (_IO_wfile_sync): Assume ESPIPE is defined.
13089 * libio/wgenops.c: Assume _LIBC is defined.
13090 (save_for_wbackup): Remove internal_function.
13092 2017-08-31 Florian Weimer <fweimer@redhat.com>
13094 * malloc/malloc.c (top_check): Change return type to void. Remove
13096 * malloc/hooks.c (top_check): Likewise.
13097 (malloc_check, realloc_check, memalign_check): Adjust.
13099 2017-08-30 Joseph Myers <joseph@codesourcery.com>
13102 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
13103 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
13104 sigcontext and namespace requirements.
13105 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
13106 * sysdeps/m68k/sys/ucontext.h: Likewise.
13107 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
13108 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
13109 <bits/sigcontext.h>.
13110 (__ctx): Define earlier.
13111 (mcontext_t): Define structure contents rather than using struct
13113 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
13114 __glibc_reserved1 instead of __reserved.
13115 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
13116 <bits/sigcontext.h>.
13117 (__ctx): Define earlier.
13118 (mcontext_t): Define structure contents rather than using struct
13120 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
13121 mcontext_t instead of struct sigcontext.
13122 * sysdeps/unix/sysv/linux/arm/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/hppa/sys/ucontext.h: Do not include
13128 <bits/sigcontext.h>.
13129 (__ctx): Define earlier.
13130 (mcontext_t): Define structure contents rather than using struct
13132 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
13133 mcontext_t instead of struct sigcontext.
13134 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
13135 mcontext_t instead of struct sigcontext.
13136 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
13137 <bits/sigcontext.h>.
13138 (__ctx): New macro.
13139 (struct __ia64_fpreg_mcontext): New type.
13140 (mcontext_t): Define structure contents rather than using struct
13142 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
13143 (uc_sigmask): Define using __ctx.
13144 (uc_stack): Likewise.
13145 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
13146 <bits/sigcontext.h>.
13147 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
13148 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
13149 <bits/sigcontext.h>.
13150 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
13151 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
13152 <bits/sigcontext.h>.
13153 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
13154 <bits/sigcontext.h>.
13155 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
13156 <bits/sigcontext.h>.
13157 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
13158 <bits/sigcontext.h>.
13159 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
13160 <bits/sigcontext.h>.
13161 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
13162 <bits/sigcontext.h>.
13163 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
13164 <bits/sigcontext.h>.
13165 (__ctx): Define earlier.
13166 (mcontext_t): Define structure contents rather than using struct
13168 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
13169 <bits/sigcontext.h>. Include <bits/types.h>.
13170 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
13171 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
13172 (test-xfail-XPG42/ucontext.h/conform): Likewise.
13173 (test-xfail-UNIX98/signal.h/conform): Likewise.
13174 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
13175 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
13176 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
13177 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
13178 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
13179 (test-xfail-POSIX2008/signal.h/conform): Likewise.
13180 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
13181 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
13182 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
13184 2017-08-30 Florian Weimer <fweimer@redhat.com>
13186 * malloc/dynarray_emplace_enlarge.c
13187 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
13188 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
13189 * malloc/tst-dynarray.c (test_long_overflow): New function.
13190 (do_test): Call it.
13192 2017-08-30 Florian Weimer <fweimer@redhat.com>
13194 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
13195 (set_arena_corrupt): Remove definitions.
13196 (mtrim): Do not check for corrupt arena.
13197 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
13200 2017-08-30 Florian Weimer <fweimer@redhat.com>
13203 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
13205 (ptmalloc_init): Do not set or use check_action.
13206 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
13207 call to malloc_printerr. Remove return statement.
13208 (free_check): Likewise. Remove arena unlock.
13209 (top_check): Update comment. Adjust call to malloc_printerr.
13210 Remove heap repair code.
13211 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
13212 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
13213 (sysmalloc): Adjust call to malloc_printerr.
13214 (munmap_chunk, __libc_realloc): Likewise. Remove return
13216 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
13217 Remove errout label and corresponding gotos.
13218 (_int_free): Likewise. Remove arena unlock.
13219 (do_set_mallopt_check): Do not set check_action.
13220 (malloc_printerr): Adjust parameter list. Do not mark arena as
13222 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
13224 * manual/probes.texi (Memory Allocation Probes): Remove
13225 memory_mallopt_check_action.
13227 2017-08-30 Steve Ellcey <sellcey@cavium.com>
13229 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
13230 Use pointer to uint64_t instead of long int for sp.
13232 2017-08-30 Florian Weimer <fweimer@redhat.com>
13235 * malloc/malloc.c (malloc_printerr): Always terminate the process,
13236 without printing a backtrace. Do not leak any information in the
13238 * manual/memory.texi (Heap Consistency Checking): Update.
13239 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
13241 2017-08-30 Florian Weimer <fweimer@redhat.com>
13243 Do not scale NPTL tests with available number of CPUs.
13244 * nptl/tst-cond16.c (count): Set to constant value of 8.
13245 * nptl/tst-cond18.c (count): Likewise.
13247 2017-08-29 Joseph Myers <joseph@codesourcery.com>
13250 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
13251 Define to take a second argument that is a macro that
13252 concatentates a suffix, not the suffix itself.
13253 (__CONCAT_d): New macro.
13254 (__CONCAT_f): Likewise.
13255 (__CONCAT_l): Likewise.
13257 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
13259 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
13262 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13263 Aurelien Jarno <aurelien@aurel32.net>
13264 Maciej W. Rozycki <macro@imgtec.com>
13267 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
13268 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
13269 `mips16-syscall6' and `mips16-syscall7'.
13270 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
13271 (CFLAGS-mips16-syscall7.c): Remove.
13272 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
13273 Remove `__mips16_syscall5', `__mips16_syscall6' and
13274 `__mips16_syscall7'.
13275 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
13276 (__mips16_syscall0): Rename `__mips16_syscall_return' to
13277 `__mips_syscall_return'.
13278 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
13279 (__mips16_syscall1): Likewise.
13280 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
13281 (__mips16_syscall2): Likewise.
13282 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
13283 (__mips16_syscall3): Likewise.
13284 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
13285 (__mips16_syscall4): Likewise.
13286 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
13288 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
13290 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
13292 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
13293 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
13294 `__mips16_syscall5'. Remove prototype.
13295 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
13296 `__mips16_syscall6'. Remove prototype.
13297 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
13298 `__mips16_syscall7'. Remove prototype.
13299 (__nomips16, __mips16_syscall_return): Move to...
13300 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
13301 (__nomips16, __mips_syscall_return): ... here.
13302 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
13303 `__mips16_syscall_return' to `__mips_syscall_return'.
13304 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
13305 `internal_syscall##nr'.
13306 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
13307 `internal_syscall##nr'.
13308 (FORCE_FRAME_POINTER): Remove.
13309 (__mips_syscall5): New prototype.
13310 (internal_syscall5): Rewrite to call `__mips_syscall5'.
13311 (__mips_syscall6): New prototype.
13312 (internal_syscall6): Rewrite to call `__mips_syscall6'.
13313 (__mips_syscall7): New prototype.
13314 (internal_syscall7): Rewrite to call `__mips_syscall7'.
13315 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
13316 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
13317 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
13318 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
13319 (sysdep_routines): Add libc-do-syscall.
13320 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
13321 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
13323 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13326 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
13327 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
13328 (advise_stack_range): New function.
13329 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
13330 stack non required to advise_stack_range at allocatestack.c
13332 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
13334 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
13336 2017-08-29 Florian Weimer <fweimer@redhat.com>
13339 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
13340 __end_fct. Mangle __end_fct after setting it to NULL.
13341 * iconv/Makefile (tests): Add tst-gconv-init-failure.
13342 (modules-names, modules-names-tests): Add
13343 tst-gconv-init-failure-mod.
13344 (gconv-modules): New target.
13345 (tst-gconv-init-failure-mod.so): Link against libsupport.
13346 (tst-gconv-init-failure): Depend on gconv-modules,
13347 tst-gconv-init-failure-mod.so.
13348 * iconv/tst-gconv-init-failure-mod.c: New file.
13349 * iconv/tst-gconv-init-failure.c: Likewise.
13350 * iconv/test-gconv-modules: Likewise.
13352 2017-08-29 Florian Weimer <fweimer@redhat.com>
13355 * iconv/gconv_db.c (free_derivation): Remove redundant
13357 (gen_steps): Unconditionally mangle __btowc_fct after
13359 (increment_counter): Likewise. Do not call init_fct for internal
13362 2017-08-29 Joseph Myers <joseph@codesourcery.com>
13365 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
13366 (_MSUF_): Remove macro.
13367 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
13369 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
13370 (__REDIRFROM_X): New macro.
13371 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
13373 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
13374 (__REDIRTO_X): Likewise.
13375 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
13377 (__MATH_REDIRCALL_2): Likewise.
13378 (__MATH_REDIRCALL_INTERNAL): Likewise.
13379 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
13380 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
13381 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
13382 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
13383 * math/test-finite-macros.c: New file.
13384 * math/Makefile (tests): Add test-finite-macros.
13385 (CFLAGS-test-finite-macros.c): New variable.
13387 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
13388 Jeff Law <law@redhat.com>
13391 Mangle NULL pointers in iconv/gconv.
13392 * iconv/gconv_cache.c (find_module): Demangle init_fct before
13393 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
13394 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
13395 is non-NULL before demangling the end_fct. Check for NULL
13396 end_fct after demangling.
13397 (__gconv_release_step): Demangle the end_fct before checking
13398 it for NULL. Remove assert on __shlibc_handle != NULL.
13399 (gen_steps): Don't check btowc_fct for NULL before mangling.
13400 Demangle init_fct before checking for NULL.
13401 (increment_counter): Likewise.
13402 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
13403 end_fct for NULL before mangling.
13404 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
13407 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
13410 * locale/iso-639.def: add Morisyen.
13412 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
13415 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
13416 (iszero): New C++ implementation that does not use
13417 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
13418 signaling nans are enabled, since __builtin_types_compatible_p
13419 is a C-only feature.
13420 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
13421 defined, include ieee754_float128.h for access to the union and
13422 member ieee854_float128.ieee.
13423 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
13424 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
13425 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
13426 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
13427 options of test-math-zero on powerpc64le.
13429 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
13431 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
13432 Change double to float.
13434 2017-08-28 Joseph Myers <joseph@codesourcery.com>
13436 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
13438 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
13439 conditional code; define contents only for [LIBM_SVID_COMPAT].
13441 2017-08-28 Florian Weimer <fweimer@redhat.com>
13443 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
13444 (abi-lp64_be-options): Remove.
13445 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
13446 (abi-hard-options): Likewise.
13447 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
13448 (abi-o32_hard-options, abi-o32_soft_2008-options)
13449 (abi-o32_hard_2008-options, abi-n32_soft-options)
13450 (abi-n32_hard-options, abi-n32_soft_2008-options)
13451 (abi-n32_hard_2008-options, abi-n64_soft-options)
13452 (abi-n64_hard-options, abi-n64_soft_2008-options)
13453 (abi-n64_hard_2008-options): Likewise.
13454 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
13455 (abi-64-v1-options, abi-64-v2-options): Likewise.
13456 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
13457 (abi-64-options): Likewise.
13458 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
13459 (abi-64-options): Likewise.
13460 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
13461 (abi-64-options): Likewise.
13462 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
13463 (abi-64-options, abi-x32-options): Likewise.
13465 2017-08-28 Florian Weimer <fweimer@redhat.com>
13467 Store supported list of SYS_* system calls in the source tree.
13468 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
13469 (bits/syscall.h): Generate from list file.
13470 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
13471 [$(subdir) = misc] (tests): Add tst-syscall-list.
13472 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
13473 [$(subdir) = misc] (tst-syscall-list-macros.list)
13474 [$(subdir) = misc] (tst-syscall-list-nr.list)
13475 (tst-syscall-list-sys.list): Helper targets for new
13476 tst-syscall-list test.
13477 [$(subdir) = misc] (tst-syscall-list.out): Run test script
13478 tst-syscall-list.sh.
13479 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
13480 target. Do not include bits/syscall.d.
13481 [$(subdir) = misc] (generated): Do not update.
13482 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
13483 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
13484 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
13485 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
13487 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
13489 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
13490 (tst-cxa_atexit, tst-on_exit): Likewise.
13491 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
13492 tst-cxa_atexit, and tst-on_exit.
13493 * stdlib/tst-atexit-common.c: New file.
13494 * stdlib/tst-atexit.c: New file.
13495 * stdlib/tst-at_quick_exit.c: New file.
13496 * stdlib/tst-cxa_atexit.c: New file.
13497 * stdlib/tst-on_exit.c: New file.
13499 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
13501 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
13502 * mach/stack_chk_fail_local.c: New file.
13503 * hurd/stack_chk_fail_local.c: New file.
13504 * mach/Machrules ($(interface-library)-routines): Add
13505 stack_chk_fail_local.
13506 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
13507 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
13508 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
13509 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
13510 * hurd/Makefile (CFLAGS-hurdstartup.o,
13511 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
13513 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
13515 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
13516 (index_cpu_*, index_arch_*): Removed.
13518 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
13520 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
13521 Use uint64_t instead of unsigned long.
13523 2017-08-25 Joseph Myers <joseph@codesourcery.com>
13525 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
13526 [__HAVE_DISTINCT_FLOAT128].
13528 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
13529 of <bits/math-finite.h>.
13530 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
13531 inclusion of <bits/math-finite.h>.
13532 * math/bits/math-finite.h (__REDIRTO_X): Do not define
13533 conditionally on [__MATH_DECLARING_LDOUBLE && defined
13534 __NO_LONG_DOUBLE_MATH].
13535 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
13536 (__MATH_REDIRCALL_2): Likewise.
13537 (__MATH_REDIRCALL_INTERNAL): Likewise.
13538 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
13539 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
13540 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
13542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
13544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
13546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
13548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
13550 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
13552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
13554 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
13555 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
13556 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
13557 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
13558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
13559 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
13560 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
13561 w_sqrtf_compat-ppc32.
13563 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
13565 * math/math.h [defined __cplusplus] (issignaling): In the long
13566 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
13567 is not defined. Call __issignaling, otherwise.
13569 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13571 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
13572 syscall definitions and replace __builtin_expect with __glibc_likely.
13573 * sysdeps/unix/syscall-template.S: Update comment about cancellable
13575 (SYSCALL_CANCELLABLE): Removedefinition
13576 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
13578 (PSEUDO_END): Likewise.
13579 [IS_IN (libpthread)] (CENABLE): Likewise.
13580 [IS_IN (libpthread)] (CDISABLE): Likewise.
13581 [IS_IN (libc)] (CENABLE): Likewise.
13582 [IS_IN (libc)] (CENABLE): Likewise.
13583 [IS_IN (librt)] (CDISABLE): Likewise.
13584 [IS_IN (librt)] (CDISABLE): Likewise.
13585 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
13586 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
13588 (PSEUDO_END): Likewise.
13589 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
13590 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
13591 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
13592 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
13593 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
13594 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
13595 (CENABLE): Likewise.
13596 (CDISABLE): Likewise.
13597 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
13598 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
13600 (PSEUDO_END): Likewise.
13601 [IS_IN (libpthread)] (CENABLE): Likewise.
13602 [IS_IN (libpthread)] (CDISABLE): Likewise.
13603 [IS_IN (libc)] (CENABLE): Likewise.
13604 [IS_IN (libc)] (CENABLE): Likewise.
13605 [IS_IN (librt)] (CDISABLE): Likewise.
13606 [IS_IN (librt)] (CDISABLE): Likewise.
13607 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
13608 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
13610 (PSEUDO_END): Likewise.
13611 [IS_IN (libpthread)] (CENABLE): Likewise.
13612 [IS_IN (libpthread)] (CDISABLE): Likewise.
13613 [IS_IN (libc)] (CENABLE): Likewise.
13614 [IS_IN (libc)] (CENABLE): Likewise.
13615 [IS_IN (librt)] (CDISABLE): Likewise.
13616 [IS_IN (librt)] (CDISABLE): Likewise.
13617 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
13618 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
13620 (PSEUDO_END): Likewise.
13621 [IS_IN (libpthread)] (CENABLE): Likewise.
13622 [IS_IN (libpthread)] (CDISABLE): Likewise.
13623 [IS_IN (libc)] (CENABLE): Likewise.
13624 [IS_IN (libc)] (CENABLE): Likewise.
13625 [IS_IN (librt)] (CDISABLE): Likewise.
13626 [IS_IN (librt)] (CDISABLE): Likewise.
13627 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
13628 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
13630 (PSEUDO_END): Likewise.
13631 [IS_IN (libpthread)] (CENABLE): Likewise.
13632 [IS_IN (libpthread)] (CDISABLE): Likewise.
13633 [IS_IN (libc)] (CENABLE): Likewise.
13634 [IS_IN (libc)] (CENABLE): Likewise.
13635 [IS_IN (librt)] (CDISABLE): Likewise.
13636 [IS_IN (librt)] (CDISABLE): Likewise.
13637 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
13638 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
13640 (PSEUDO_END): Likewise.
13641 [IS_IN (libpthread)] (CENABLE): Likewise.
13642 [IS_IN (libpthread)] (CDISABLE): Likewise.
13643 [IS_IN (libc)] (CENABLE): Likewise.
13644 [IS_IN (libc)] (CENABLE): Likewise.
13645 [IS_IN (librt)] (CDISABLE): Likewise.
13646 [IS_IN (librt)] (CDISABLE): Likewise.
13647 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
13648 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
13650 (PSEUDO_END): Likewise.
13651 [IS_IN (libpthread)] (CENABLE): Likewise.
13652 [IS_IN (libpthread)] (CDISABLE): Likewise.
13653 [IS_IN (libc)] (CENABLE): Likewise.
13654 [IS_IN (libc)] (CENABLE): Likewise.
13655 [IS_IN (librt)] (CDISABLE): Likewise.
13656 [IS_IN (librt)] (CDISABLE): Likewise.
13657 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
13658 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
13660 (PSEUDO_END): Likewise.
13661 [IS_IN (libpthread)] (CENABLE): Likewise.
13662 [IS_IN (libpthread)] (CDISABLE): Likewise.
13663 [IS_IN (libc)] (CENABLE): Likewise.
13664 [IS_IN (libc)] (CENABLE): Likewise.
13665 [IS_IN (librt)] (CDISABLE): Likewise.
13666 [IS_IN (librt)] (CDISABLE): Likewise.
13667 (SINGLE_THREAD_P): Likewise.
13668 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
13670 (PSEUDO_END): Likewise.
13671 [IS_IN (libpthread)] (CENABLE): Likewise.
13672 [IS_IN (libpthread)] (CDISABLE): Likewise.
13673 [IS_IN (libc)] (CENABLE): Likewise.
13674 [IS_IN (libc)] (CENABLE): Likewise.
13675 [IS_IN (librt)] (CDISABLE): Likewise.
13676 [IS_IN (librt)] (CDISABLE): Likewise.
13677 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
13678 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
13680 (PSEUDO_END): Likewise.
13681 [IS_IN (libpthread)] (CENABLE): Likewise.
13682 [IS_IN (libpthread)] (CDISABLE): Likewise.
13683 [IS_IN (libc)] (CENABLE): Likewise.
13684 [IS_IN (libc)] (CENABLE): Likewise.
13685 [IS_IN (librt)] (CDISABLE): Likewise.
13686 [IS_IN (librt)] (CDISABLE): Likewise.
13687 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
13688 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
13689 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
13690 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
13691 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
13693 (PSEUDO_END): Likewise.
13694 [IS_IN (libpthread)] (CENABLE): Likewise.
13695 [IS_IN (libpthread)] (CDISABLE): Likewise.
13696 [IS_IN (libc)] (CENABLE): Likewise.
13697 [IS_IN (libc)] (CENABLE): Likewise.
13698 [IS_IN (librt)] (CDISABLE): Likewise.
13699 [IS_IN (librt)] (CDISABLE): Likewise.
13700 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
13701 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
13703 (PSEUDO_END): Likewise.
13704 [IS_IN (libpthread)] (CENABLE): Likewise.
13705 [IS_IN (libpthread)] (CDISABLE): Likewise.
13706 [IS_IN (libc)] (CENABLE): Likewise.
13707 [IS_IN (libc)] (CENABLE): Likewise.
13708 [IS_IN (librt)] (CDISABLE): Likewise.
13709 [IS_IN (librt)] (CDISABLE): Likewise.
13710 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
13711 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
13713 (PSEUDO_END): Likewise.
13714 [IS_IN (libpthread)] (CENABLE): Likewise.
13715 [IS_IN (libpthread)] (CDISABLE): Likewise.
13716 [IS_IN (libc)] (CENABLE): Likewise.
13717 [IS_IN (libc)] (CENABLE): Likewise.
13718 [IS_IN (librt)] (CDISABLE): Likewise.
13719 [IS_IN (librt)] (CDISABLE): Likewise.
13720 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
13721 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
13722 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
13723 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
13724 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
13726 (PSEUDO_END): Likewise.
13727 [IS_IN (libpthread)] (CENABLE): Likewise.
13728 [IS_IN (libpthread)] (CDISABLE): Likewise.
13729 [IS_IN (libc)] (CENABLE): Likewise.
13730 [IS_IN (libc)] (CENABLE): Likewise.
13731 [IS_IN (librt)] (CDISABLE): Likewise.
13732 [IS_IN (librt)] (CDISABLE): Likewise.
13733 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
13734 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
13736 (PSEUDO_END): Likewise.
13737 [IS_IN (libpthread)] (CENABLE): Likewise.
13738 [IS_IN (libpthread)] (CDISABLE): Likewise.
13739 [IS_IN (libc)] (CENABLE): Likewise.
13740 [IS_IN (libc)] (CENABLE): Likewise.
13741 [IS_IN (librt)] (CDISABLE): Likewise.
13742 [IS_IN (librt)] (CDISABLE): Likewise.
13743 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
13745 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
13747 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
13749 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
13751 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13753 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
13756 * string/stratcliff.c (do_test): Declare size, nchars, inner,
13757 middle and outer with size_t instead of int. Repleace %d and
13758 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
13759 "MAX (outer, nchars - 64)" to support unsigned outer and
13760 nchars. Also exit loop when outer == 0.
13762 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13764 * include/fcntl.h (__fcntl_nocancel): Remove definition.
13765 * include/signal.h (__sigsuspend_nocancel): Likewise.
13766 * include/time.h (__nanosleep_nocancel): Likewise.
13767 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
13768 * login/utmp_file.c: Include non cancellable syscall header.
13769 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
13772 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
13774 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
13775 .byte sequences with AVX512F instructions.
13776 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
13777 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
13778 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
13779 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
13781 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
13784 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
13785 Steve Ellcey <sellcey@cavium.com>
13787 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
13788 Use PTR_REG macro in cmp instruction.
13790 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
13792 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
13793 Change the return type of the ifunc resolver to match the return
13794 type of the target function.
13796 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13798 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
13799 (preadv64): Likewise.
13800 (pwrite64(: Likewise.
13801 (pwritev64): Likewise.
13803 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
13804 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
13805 (LOAD_ARGS_0): Likewise.
13806 (LOAD_ARGS_1): Likewise.
13807 (LOAD_ARGS_2): Likewise.
13808 (LOAD_ARGS_3): Likewise.
13809 (LOAD_ARGS_4): Likewise.
13810 (LOAD_ARGS_5): Likewise.
13811 (LOAD_ARGS_6): Likewise.
13812 (LOAD_REGS_0): Likewise.
13813 (LOAD_REGS_1): Likewise.
13814 (LOAD_REGS_2): Likewise.
13815 (LOAD_REGS_3): Likewise.
13816 (LOAD_REGS_4): Likewise.
13817 (LOAD_REGS_5): Likewise.
13818 (LOAD_REGS_6): Likewise.
13819 (ASM_ARGS_0): Likewise.
13820 (ASM_ARGS_1): Likewise.
13821 (ASM_ARGS_2): Likewise.
13822 (ASM_ARGS_3): Likewise.
13823 (ASM_ARGS_4): Likewise.
13824 (ASM_ARGS_5): Likewise.
13825 (ASM_ARGS_6): Likewise.
13826 (LOAD_ARGS_TYPES_1): Likewise.
13827 (LOAD_ARGS_TYPES_2): Likewise.
13828 (LOAD_ARGS_TYPES_3): Likewise.
13829 (LOAD_ARGS_TYPES_4): Likewise.
13830 (LOAD_ARGS_TYPES_5): Likewise.
13831 (LOAD_ARGS_TYPES_6): Likewise.
13832 (LOAD_REGS_TYPES_1): Likewise.
13833 (LOAD_REGS_TYPES_2): Likewise.
13834 (LOAD_REGS_TYPES_3): Likewise.
13835 (LOAD_REGS_TYPES_4): Likewise.
13836 (LOAD_REGS_TYPES_5): Likewise.
13837 (LOAD_REGS_TYPES_6): Likewise.
13838 (TYPEFY): New define.
13839 (ARGIFY): Likewise.
13840 (internal_syscall0): Likewise.
13841 (internal_syscall1): Likewise.
13842 (internal_syscall2): Likewise.
13843 (internal_syscall3): Likewise.
13844 (internal_syscall4): Likewise.
13845 (internal_syscall5): Likewise.
13846 (internal_syscall6): Likewise.
13847 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
13848 (INTERNAL_SYSCALL_NCS): Remove define.
13849 (internal_syscall1): Add define.
13851 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
13853 * math/w_remainder_compat.c: Remove duplicate inclusion of
13854 math-svid-compat.h.
13855 * math/w_remainderf_compat.c: Likewise.
13856 * math/w_remainderl_compat.c: Likewise.
13858 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
13860 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13862 2017-08-22 Joseph Myers <joseph@codesourcery.com>
13865 * math/tgmath.h (__floating_type): Simplify definitions.
13866 (__real_integer_type): New macro.
13867 (__complex_integer_type): Likewise.
13868 (__expr_is_real): Likewise.
13869 (__tgmath_real_type_sub): Update comment to describe handling of
13871 (__tgmath_complex_type_sub): New macro.
13872 (__tgmath_complex_type): Likewise.
13873 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
13874 (__TGMATH_CF128): Use __expr_is_real.
13875 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
13877 (__TGMATH_BINARY_REAL_IMAG): Likewise.
13878 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
13879 * math/gen-tgmath-tests.py (Type.create_type): Create complex
13882 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13884 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
13886 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
13888 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
13891 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
13892 nanosleep_not_cancel with __nanosleep_nocancel.
13893 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
13894 (__nanosleep_nocancel): New macro.
13895 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
13897 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
13899 (__nanosleep_nocancel): New prototype.
13901 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
13902 pause_not_cancel with __pause_nocancel.
13903 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
13904 (__pause_nocancel): New macro.
13905 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
13907 (__pause_nocancel): New prototype.
13908 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
13910 2017-08-22 Martin Sebor <msebor@redhat.com>
13912 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
13913 to return a pointer to the same type as the target function.
13915 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
13919 * include/printf.h (__printf_fphex): Add attribute_hidden.
13920 (__guess_grouping): New prototype.
13921 * stdio-common/printf_fp.c (__guess_grouping): Removed.
13922 * stdio-common/reg-printf.c (__register_printf_specifier): Add
13923 libc_hidden_proto and libc_hidden_def.
13924 * stdlib/strfmon_l.c (__guess_grouping): Removed.
13925 (__vstrfmon_l): Remove the third argument passed to
13928 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
13930 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
13931 definition for issignaling that does not rely on __MATH_TG,
13932 since __MATH_TG uses __builtin_types_compatible_p, which is only
13933 available in C mode.
13934 (CFLAGS-test-math-issignaling.cc): New variable.
13935 * math/Makefile [CXX] (tests): Add test-math-issignaling.
13936 * math/test-math-issignaling.cc: New test for C++ implementation
13937 of type-generic issignaling.
13938 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
13939 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
13940 options of test-math-issignaling on powerpc64le.
13942 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
13944 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
13946 (hidden_proto): Likewise.
13947 (hidden_tls_proto): Likewise.
13948 (__hidden_proto): Likewise.
13950 2017-08-22 Florian Weimer <fweimer@redhat.com>
13952 math: Statically link tests of internal functionality.
13953 * math/Makefile (tests): Remove atest-exp, atest-sincos,
13955 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
13956 (gmp-objs): Remove assignment.
13957 (atest-exp, atest-sincos, atest-exp2): Remove targets.
13959 2017-08-22 Joseph Myers <joseph@codesourcery.com>
13962 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
13964 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
13966 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
13969 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
13970 variable definitions above inclusion of ../Rules.
13972 2017-08-21 Joseph Myers <joseph@codesourcery.com>
13974 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
13975 case calling __builtin_unreachable.
13977 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13979 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
13980 __waitpid_nocancel.
13981 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
13982 (__waitpid_nocancel): New macro.
13983 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
13985 (__waitpid_nocancel): Replace macro with a function.
13986 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
13989 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
13991 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
13992 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
13994 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
13995 __writev_nocancel_nostatus.
13996 (write_call_graph): Likewise.
13997 (write_bb_counts): Likewise.
13998 * resolv/herror.c (herror): Likewise.
13999 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
14001 (__writev_nocancel_nostatus): New macro.
14002 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
14004 (__writev_nocancel_nostatus): New function.
14006 2017-08-21 Joseph Myers <joseph@codesourcery.com>
14009 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
14011 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
14013 (hidden_proto): Likewise.
14014 (hidden_tls_proto): Likewise.
14015 (__hidden_proto): Likewise.
14018 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
14019 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
14020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
14022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
14024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
14026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
14028 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
14029 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
14030 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
14031 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
14032 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
14033 GLIBC_2.0 sqrtl symbol.
14035 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
14036 [__USE_MISC] (_LIB_VERSION): Likewise.
14037 [__USE_MISC] (struct exception): Likewise.
14038 [__USE_MISC] (matherr): Likewise.
14039 [__USE_MISC] (DOMAIN): Likewise.
14040 [__USE_MISC] (SING): Likewise.
14041 [__USE_MISC] (OVERFLOW): Likewise.
14042 [__USE_MISC] (UNDERFLOW): Likewise.
14043 [__USE_MISC] (TLOSS): Likewise.
14044 [__USE_MISC] (PLOSS): Likewise.
14045 [__USE_MISC] (HUGE): Likewise.
14046 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
14047 * math/math-svid-compat.h: New file.
14048 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
14050 * include/math.h [!_ISOMAC] (__matherr): Remove.
14051 * manual/arith.texi (FP Exceptions): Do not document matherr.
14052 * math/Makefile (tests): Change test-matherr to test-matherr-3.
14053 (tests-internal): New variable.
14054 (install-lib): Do not add libieee.a.
14055 (non-lib.a): Likewise.
14056 (extra-objs): Do not add libieee.a and ieee-math.o.
14057 (CPPFLAGS-s_lib_version.c): Remove variable.
14058 ($(objpfx)libieee.a): Remove rule.
14059 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
14060 * math/ieee-math.c: Remove.
14061 * math/libm-test-support.c (matherr): Remove.
14062 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
14063 and license notices. Include <math-svid-compat.h> and
14065 (matherr): Undefine as macro. Use compat_symbol_reference.
14066 (_LIB_VERSION): Likewise.
14067 * math/test-matherr-2.c: New file.
14068 * math/test-matherr-3.c: Likewise.
14069 * sysdeps/generic/math_private.h (__kernel_standard): Remove
14071 (__kernel_standard_f): Likewise.
14072 (__kernel_standard_l): Likewise.
14073 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
14074 <math_private.h>. Include <math-svid-compat.h>.
14075 (_LIB_VERSION): Undefine as macro.
14076 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
14077 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
14078 [LIBM_SVID_COMPAT], use compat_symbol.
14079 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
14080 <math_private.h>. Include <math-svid-compat.h>.
14081 (matherr): Undefine as macro.
14082 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
14084 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
14085 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
14086 compat_symbol_reference.
14087 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
14088 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
14089 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
14090 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
14091 (MATHERR_D): Remove declaration.
14092 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
14093 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
14094 [LIBM_BUILD] (pmatherrf): Likewise.
14095 [LIBM_BUILD] (pmatherr): Likewise.
14096 [LIBM_BUILD] (pmatherrl): Likewise.
14097 (DOMAIN): Likewise.
14099 (OVERFLOW): Likewise.
14100 (UNDERFLOW): Likewise.
14103 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
14104 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
14106 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
14107 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
14109 * math/lgamma-compat.h: Include <math-svid-compat.h>.
14110 * math/w_acos_compat.c: Likewise.
14111 * math/w_acosf_compat.c: Likewise.
14112 * math/w_acosh_compat.c: Likewise.
14113 * math/w_acoshf_compat.c: Likewise.
14114 * math/w_acoshl_compat.c: Likewise.
14115 * math/w_acosl_compat.c: Likewise.
14116 * math/w_asin_compat.c: Likewise.
14117 * math/w_asinf_compat.c: Likewise.
14118 * math/w_asinl_compat.c: Likewise.
14119 * math/w_atan2_compat.c: Likewise.
14120 * math/w_atan2f_compat.c: Likewise.
14121 * math/w_atan2l_compat.c: Likewise.
14122 * math/w_atanh_compat.c: Likewise.
14123 * math/w_atanhf_compat.c: Likewise.
14124 * math/w_atanhl_compat.c: Likewise.
14125 * math/w_cosh_compat.c: Likewise.
14126 * math/w_coshf_compat.c: Likewise.
14127 * math/w_coshl_compat.c: Likewise.
14128 * math/w_exp10_compat.c: Likewise.
14129 * math/w_exp10f_compat.c: Likewise.
14130 * math/w_exp10l_compat.c: Likewise.
14131 * math/w_exp2_compat.c: Likewise.
14132 * math/w_exp2f_compat.c: Likewise.
14133 * math/w_exp2l_compat.c: Likewise.
14134 * math/w_fmod_compat.c: Likewise.
14135 * math/w_fmodf_compat.c: Likewise.
14136 * math/w_fmodl_compat.c: Likewise.
14137 * math/w_hypot_compat.c: Likewise.
14138 * math/w_hypotf_compat.c: Likewise.
14139 * math/w_hypotl_compat.c: Likewise.
14140 * math/w_j0_compat.c: Likewise.
14141 * math/w_j0f_compat.c: Likewise.
14142 * math/w_j0l_compat.c: Likewise.
14143 * math/w_j1_compat.c: Likewise.
14144 * math/w_j1f_compat.c: Likewise.
14145 * math/w_j1l_compat.c: Likewise.
14146 * math/w_jn_compat.c: Likewise.
14147 * math/w_jnf_compat.c: Likewise.
14148 * math/w_jnl_compat.c: Likewise.
14149 * math/w_lgamma_main.c: Likewise.
14150 * math/w_lgamma_r_compat.c: Likewise.
14151 * math/w_lgammaf_main.c: Likewise.
14152 * math/w_lgammaf_r_compat.c: Likewise.
14153 * math/w_lgammal_main.c: Likewise.
14154 * math/w_lgammal_r_compat.c: Likewise.
14155 * math/w_log10_compat.c: Likewise.
14156 * math/w_log10f_compat.c: Likewise.
14157 * math/w_log10l_compat.c: Likewise.
14158 * math/w_log2_compat.c: Likewise.
14159 * math/w_log2f_compat.c: Likewise.
14160 * math/w_log2l_compat.c: Likewise.
14161 * math/w_log_compat.c: Likewise.
14162 * math/w_logf_compat.c: Likewise.
14163 * math/w_logl_compat.c: Likewise.
14164 * math/w_pow_compat.c: Likewise.
14165 * math/w_powf_compat.c: Likewise.
14166 * math/w_powl_compat.c: Likewise.
14167 * math/w_remainder_compat.c: Likewise.
14168 * math/w_remainderf_compat.c: Likewise.
14169 * math/w_remainderl_compat.c: Likewise.
14170 * math/w_scalb_compat.c: Likewise.
14171 * math/w_scalbf_compat.c: Likewise.
14172 * math/w_scalbl_compat.c: Likewise.
14173 * math/w_sinh_compat.c: Likewise.
14174 * math/w_sinhf_compat.c: Likewise.
14175 * math/w_sinhl_compat.c: Likewise.
14176 * math/w_sqrt_compat.c: Likewise.
14177 * math/w_sqrtf_compat.c: Likewise.
14178 * math/w_sqrtl_compat.c: Likewise.
14179 * math/w_tgamma_compat.c: Likewise.
14180 * math/w_tgammaf_compat.c: Likewise.
14181 * math/w_tgammal_compat.c: Likewise.
14182 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
14183 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
14184 * sysdeps/ieee754/k_standard.c: Likewise.
14185 * sysdeps/ieee754/k_standardf.c: Likewise.
14186 * sysdeps/ieee754/k_standardl.c: Likewise.
14187 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
14188 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
14189 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
14190 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
14191 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
14192 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
14193 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
14194 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
14195 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
14196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
14198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
14200 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
14201 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
14202 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
14203 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
14205 2017-08-21 Florian Weimer <fweimer@redhat.com>
14208 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
14209 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
14210 Move before inclusion of ../Rules.
14212 2017-08-21 Florian Weimer <fweimer@redhat.com>
14215 * assert/assert.h (assert): Use static_cast (bool) for C++.
14216 Use the ternary operator in the warning branch for GNU C.
14217 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
14218 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
14219 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
14220 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
14221 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
14223 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
14226 * sysdeps/unix/sysv/linux/x86_64/init-first.c
14227 (__syscall_clock_gettime): Add attribute_hidden.
14228 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
14229 (__start_context): Likewise.
14231 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
14233 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
14235 (hidden_proto): Likewise.
14236 (hidden_tls_proto): Likewise.
14237 (__hidden_proto): Likewise.
14239 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
14241 * include/libc-symbols.h (attribute_hidden): Enable hidden
14242 visibility in libc.a compiled with PIE.
14244 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
14247 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
14248 Add attribute_hidden.
14250 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
14253 * Makerules (all-nonlib): Add $(others-extras).
14254 * catgets/Makefile (others-extras): New.
14255 * elf/Makefile (others-extras): Likewise.
14256 * nss/Makefile (others-extras): Likewise.
14258 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
14261 * csu/libc-start.c (__libc_multiple_libcs): Removed.
14262 * elf/dl-open.c: Include <libc-internal.h>.
14263 (__libc_multiple_libcs): Removed.
14264 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
14266 * include/libc-internal.h (__libc_multiple_libcs): New.
14267 * misc/sbrk.c: Include <libc-internal.h>.
14268 (__libc_multiple_libcs): Removed.
14270 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
14273 * grp/initgroups.c (__nss_group_database): Removed.
14274 (__nss_initgroups_database): Likewise.
14275 * nscd/gai.c (__nss_hosts_database): Likewise.
14276 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
14277 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
14278 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
14279 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
14280 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
14281 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
14283 * nss/nsswitch.c (__nss_database_custom): Define only if
14284 USE_NSCD is defined.
14285 (__nss_configure_lookup): Use __nss_database_custom only if
14286 USE_NSCD is defined.
14287 * nss/nsswitch.h (__nss_database_custom): Declare only if
14288 USE_NSCD is defined. Add attribute_hidden.
14289 (__nss_setent): Add attribute_hidden.
14290 (__nss_endent): Likewise.
14291 (__nss_getent_r): Likewise.
14292 (__nss_getent): Likewise.
14293 (DEFINE_DATABASE): Declare __nss_##arg##_database.
14295 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
14298 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
14299 libc_hidden_proto and libc_hidden_def.
14301 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
14304 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
14305 Add libc_hidden_proto.
14306 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
14307 Add libc_hidden_def.
14309 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
14312 * gmon/Makefile (routines): Remove bb_init_func and
14314 (elide-routines.os): Removed.
14315 * gmon/bb_exit_func.c: Likewise.
14316 * gmon/bb_init_func.c: Likewise.
14317 * include/sys/gmon.h (__bb): Likewise.
14318 (__bb_init_func): Likewise.
14319 (__bb_exit_func): Likewise.
14320 * sysdeps/alpha/bb_init_func.S: Likewise.
14322 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
14324 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
14325 * include/setjmp.h (____longjmp_chk): Here. Add
14328 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
14331 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
14333 (__strspn_sse2): Likewise.
14335 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14337 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
14338 (close_not_cancel_no_status): Likewise.
14339 (__close_nocancel): New macro.
14340 (__close_nocancel_nostatus): Likewise.
14341 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
14343 (close_not_cancel): Likewise.
14344 (close_not_cancel_no_status): Likewise.
14345 (__close_nocancel): New prototype.
14346 (__close_nocancel_nostatus): New function.
14347 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
14348 * catgets/open_catalog.c (__open_catalog): Replace
14349 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
14350 * gmon/gmon.c (write_gmon): Likewise.
14351 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
14352 * intl/loadmsgcat.c (close): Likewise.
14353 * io/ftw.c (open_dir_stream): Likewise.
14354 (ftw_startup): Likewise.
14355 * libio/fileops.c (_IO_file_open): Likewise.
14356 (_IO_file_close_mmap): Likewise.
14357 (_IO_file_close): Likewise.
14358 * libio/iopopen.c (_IO_dup2): Likewise.
14359 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
14360 * locale/loadlocale.c (_nl_load_locale): Likewise.
14361 * login/utmp_file.c (pututline_file): Likewise.
14362 (endutent_file): Likewise.
14363 * misc/daemon.c (daemon): Likewise.
14364 * nscd/nscd_getai.c (__nscd_getai): Likewise.
14365 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
14366 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
14367 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
14368 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
14369 * nscd/nscd_helper.c (open_socket): Likewise.
14370 (__nscd_open_socket): Likewise.
14371 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
14372 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
14373 (__nscd_innetgr): Likewise.
14374 * nss/nss_db/db-open.c (internal_setent): Likewise.
14375 * resolv/res-close.c (__res_iclose): Likewise.
14376 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
14377 * sysdeps/posix/closedir.c (__closedir): Likewise.
14378 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
14379 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
14380 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
14381 (opendir_tail): Likewise.
14382 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
14383 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
14384 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
14385 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
14386 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
14387 (gethostid): Likewise.
14388 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
14389 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14391 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
14392 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
14393 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
14394 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
14396 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
14397 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
14398 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
14400 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
14401 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
14403 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
14405 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
14406 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
14407 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
14410 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
14411 (openat_not_cancel_3): Likewise.
14412 (openat64_not_cancel_3): Likewise).
14413 (openat_not_cancel_3): Likewise).
14414 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
14416 (openat_not_cancel_3): Likewise.
14417 (openat64_not_cancel): Likewise.
14418 (openat64_not_cancel_3): Likewise.
14419 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
14420 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
14421 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
14422 __open{64}_nocancel.
14423 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
14424 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
14425 * sysdeps/posix/opendir.c (__opendirat): Likewise.
14427 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
14430 * include/argz.h (__argz_create_sep): New function prototype.
14431 (__argz_append): Likewise.
14432 (__argz_add): Likewise.
14433 (__argz_add_sep): Likewise.
14434 (__argz_delete): Likewise.
14435 (__argz_insert): Likewise.
14436 (__argz_replace): Likewise.
14437 * string/argz.h (__argz_create_sep): Removed.
14438 (__argz_append): Likewise.
14439 (__argz_add): Likewise.
14440 (__argz_add_sep): Likewise.
14441 (__argz_delete): Likewise.
14442 (__argz_insert): Likewise.
14443 (__argz_replace): Likewise.
14445 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
14447 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
14448 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
14449 (GNU_PROPERTY_STACK_SIZE): Likewie.
14450 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
14451 (GNU_PROPERTY_LOPROC): Likewise.
14452 (GNU_PROPERTY_HIPROC): Likewise.
14453 (GNU_PROPERTY_LOUSER): Likewise.
14454 (GNU_PROPERTY_HIUSER): Likewise.
14455 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
14456 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
14457 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
14458 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
14459 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
14460 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
14461 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
14462 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
14463 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
14464 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
14465 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
14466 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
14467 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
14468 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
14469 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
14470 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
14471 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
14472 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
14473 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
14474 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
14475 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
14476 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
14477 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
14479 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
14481 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
14484 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
14487 * math/math.h (isinf): Check if in C or C++ mode before using
14488 __builtin_types_compatible_p, since this is a C mode feature.
14490 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14492 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
14493 (__write_nocancel): New macro.
14494 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
14495 Rewrite as a function prototype.
14496 (write_not_cancel): Remove macro.
14497 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
14498 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
14499 (write_gmon): Likewise.
14500 * libio/fileops.c (_IO_new_file_write): Likewise.
14501 * login/utmp_file.c (pututline_file): Likewise.
14502 (updwtmp_file): Likewise.
14503 * stdio-common/psiginfo.c (psiginfo): Likewise.
14504 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
14505 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
14506 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
14508 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
14511 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
14512 (__read_nocancel): New macro.
14513 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
14515 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
14517 (__read_nocancel): New prototype.
14518 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
14519 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
14520 with __read_nocancel.
14521 * intl/loadmsgcat.c (read): Likewise.
14522 * libio/fileops.c (_IO_file_read): Likewise.
14523 * locale/loadlocale.c (_nl_load_locale): Likewise.
14524 * login/utmp_file.c (getutent_r_file): Likewise.
14525 (internal_getut_r): Likewise.
14526 (getutline_r_file): Likewise.
14527 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
14528 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
14529 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
14530 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14532 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
14533 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
14534 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
14536 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
14538 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
14540 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
14542 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
14544 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
14547 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
14548 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
14551 2017-08-17 DJ Delorie <dj@redhat.com>
14553 * bug17079.c: Update to new test harness.
14554 * test-digits-dots.c: Likewise.
14555 * test-netdb.c: Likewise.
14556 * tst-field.c: Likewise.
14557 * tst-nss-getpwent.c: Likewise.
14558 * tst-nss-static.c: Likewise.
14559 * tst-nss-test1.c: Likewise.
14560 * tst-nss-test2.c: Likewise.
14561 * tst-nss-test3.c: Likewise.
14562 * tst-nss-test4.c: Likewise.
14563 * tst-nss-test5.c: Likewise.
14565 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14567 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
14568 (open_not_cancel_2): Likewise.
14569 (open_nocancel): New macro.
14570 (open64_nocancel): Likewise.
14571 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
14572 (open_not_cancel_2): Likewise.
14573 (__open_nocancel): New prototype.
14574 (__open64_nocancel): Likewise.
14575 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
14577 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
14578 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
14579 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
14580 with __open_nocancel.
14581 * csu/check_fds.c (check_one_fd): Likewise.
14582 * gmon/gmon.c (write_gmon): Likewise.
14583 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
14584 * intl/loadmsgcat.c (open): Likewise.
14585 * libio/fileops.c (_IO_file_open): Likewise.
14586 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
14587 * locale/loadlocale.c (_nl_load_locale): Likewise.
14588 * login/utmp_file.c (setutent_file): Likewise.
14589 * misc/daemon.c (daemon): Likewise.
14590 * nss/nss_db/db-open.c (internal_setent): Likewise.
14591 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
14592 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
14593 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
14594 (__opendir): Likewise.
14595 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
14596 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
14597 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
14598 (gethostid): Likewise.
14599 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
14600 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14602 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
14603 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
14604 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
14605 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
14607 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
14609 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
14611 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
14613 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
14615 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
14617 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
14618 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
14620 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
14622 * benchtests/bench-skeleton.c (main): Add support for
14623 latency benchmarking.
14624 * benchtests/scripts/bench.py: Add support for latency benchmarking.
14626 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
14628 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
14629 the startup object.
14631 2017-08-17 Florian Weimer <fweimer@redhat.com>
14633 * include/sys/socket.h (__opensock): Remove internal_function.
14634 * socket/opensock.c (__opensock): Likewise.
14635 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
14637 2017-08-16 Joseph Myers <joseph@codesourcery.com>
14640 * signal/bits/types/__sigval_t.h: New file.
14641 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
14642 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
14643 and define sigval_t using __sigval_t.
14644 * include/bits/types/__sigval_t.h: New file.
14645 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
14646 instead of <bits/types/__sigval_t.h>.
14647 (struct sigevent): Use __sigval_t instead of sigval_t.
14648 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
14649 instead of <bits/types/__sigval_t.h>.
14650 (siginfo_t): Use __sigval_t instead of sigval_t.
14651 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
14652 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
14653 (struct sigevent): Use __sigval_t instead of sigval_t.
14654 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
14655 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
14656 (siginfo_t): Use __sigval_t instead of sigval_t.
14657 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
14659 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
14661 * NEWS: Remove "[Add new features here]" for 2.27.
14663 2017-08-16 Joseph Myers <joseph@codesourcery.com>
14665 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
14668 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
14670 * NEWS: Mention x86-64 FMA optimization.
14672 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
14675 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
14677 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
14678 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
14679 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
14681 2017-08-16 Andreas Schwab <schwab@suse.de>
14685 * elf/ldd.bash.in: Never run file directly.
14687 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
14690 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
14691 (L(SP_INF_0)): Likewise.
14693 2017-08-15 Florian Weimer <fweimer@redhat.com>
14695 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
14698 2017-08-15 Florian Weimer <fweimer@redhat.com>
14700 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
14701 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
14702 BROKEN_THREAD_SIGNALS code.
14703 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
14704 request_list): Remove caller_pid member used for
14705 BROKEN_THREAD_SIGNALS.
14706 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
14707 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
14708 Remove BROKEN_THREAD_SIGNALS support.
14709 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
14710 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
14712 2017-08-15 Florian Weimer <fweimer@redhat.com>
14714 * gmon/Makefile (tests): Add tst-gmon.
14715 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
14717 (tests-special): Add tst-gmon-prof.out.
14718 (tst-gmon.out): Depend on clean-tst-gmon-data.
14719 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
14720 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
14721 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
14723 * aclocal.m4 (GPROF): Set and substitute.
14724 * config.amke.in (GPROF): Set.
14725 * configure: Regenerate.
14727 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
14729 * elf/elf.h A (NT_PPC_TAR): New macro.
14730 (NT_PPC_PPR): Likewise.
14731 (NT_PPC_DSCR): Likewise.
14732 (NT_PPC_EBB): Likewise.
14733 (NT_PPC_PMU): Likewise.
14734 (NT_PPC_TM_CGPR): Likewise.
14735 (NT_PPC_TM_CFPR): Likewise.
14736 (NT_PPC_TM_CVMX): Likewise.
14737 (NT_PPC_TM_CVSX): Likewise.
14738 (NT_PPC_TM_SPR): Likewise.
14739 (NT_PPC_TM_CTAR): Likewise.
14740 (NT_PPC_TM_CPPR): Likewise.
14741 (NT_PPC_TM_CDSCR): Likewise.
14743 2017-08-15 Florian Weimer <fweimer@redhat.com>
14745 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
14746 regparm (2) instead of internal_function.
14747 (_MCOUNT_DECL): Adjust.
14749 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
14751 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
14752 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
14754 2017-08-14 Joseph Myers <joseph@codesourcery.com>
14756 * conform/data/sys/wait.h-data (si_value): Do not expect for
14759 2017-08-14 Florian Weimer <fweimer@redhat.com>
14762 NSS: Create stubs for accidentally exported lookup functions.
14763 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
14764 Remove declaration.
14765 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
14766 (ether_hostton): Call __nss_ethers_lookup2 instead.
14767 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
14768 (ether_ntohost): Call __nss_ethers_lookup2 instead.
14769 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
14770 (setup): Call __nss_netgroup_lookup2 instead.
14771 * nss/Makefile (routines): Add compat-lookup.
14772 * nss/Versions (GLIBC_2.27): Add symbol version.
14773 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
14774 (DB_COMPAT_FCT): Remove.
14775 * nss/compat-lookup.c: New file.
14776 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
14777 from databases.def.
14778 * nss/service-lookup.c (NO_COMPAT): Remove definition.
14779 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
14780 (netname2user): Call __nss_publickey_lookup2 instead.
14781 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
14782 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
14785 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14786 Sergei Trofimovich <slyfox@inbox.ru>
14789 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
14790 Rename to MMAP2_PAGE_UNIT.
14791 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
14792 __OFF_T_MATCHES_OFF64_T is not defined.
14793 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
14795 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
14796 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
14798 2017-08-14 Florian Weimer <fweimer@redhat.com>
14800 i386: Do not set internal_function.
14801 * config.h.in (USE_REGPARMS, internal_function): Remove.
14802 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
14803 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
14805 2017-08-14 Florian Weimer <fweimer@redhat.com>
14807 * elf/dl-init.c (_dl_init): Remove internal_function.
14808 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
14809 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
14811 2017-08-14 Florian Weimer <fweimer@redhat.com>
14813 * elf/rtld.c (_dl_start): Remove internal_function.
14814 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
14817 2017-08-14 Florian Weimer <fweimer@redhat.com>
14819 * elf/dl-fini.c (_dl_fini): Remove internal_function
14820 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
14822 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
14824 * sysdeps/x86/cpu-features.h (bit_cpu_BIT): New.
14825 (bit_cpu_SHSTK): Likewise.
14826 (index_cpu_IBT): Likewise.
14827 (index_cpu_SHSTK): Likewise.
14828 (reg_IBT): Likewise.
14829 (reg_SHSTK): Likewise.
14830 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
14831 Handle index_cpu_IBT and index_cpu_SHSTK.
14833 2017-08-14 Mike FABIAN <mfabian@redhat.com>
14836 * po/fr.po: Fix spelling mistake.
14838 2017-08-13 Florian Weimer <fweimer@redhat.com>
14840 * elf/dl-addr.c (_dl_addr): Remove internal_function.
14841 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
14842 (_dl_catch_error, _dl_receive_error): Likewise.
14843 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
14844 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
14845 (_dl_deallocate_tls): Likewise.
14846 * include/dlfcn.h (_dl_addr): Likewise.
14847 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
14848 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
14849 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
14852 2017-08-13 Florian Weimer <fweimer@redhat.com>
14854 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
14855 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
14857 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
14859 2017-08-13 Florian Weimer <fweimer@redhat.com>
14861 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
14863 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
14864 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
14865 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
14866 internal_function from _dl_make_stack_executable_hook member.
14867 (_dl_make_stack_executable): Remove internal_function.
14868 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
14870 * sysdeps/unix/sysv/linux/dl-execstack.c
14871 (_dl_make_stack_executable): Likewise.
14873 2017-08-13 Florian Weimer <fweimer@redhat.com>
14875 * sysdeps/unix/sysv/linux/netlinkaccess.h
14876 (__netlink_assert_response): Remove internal_function.
14877 * sysdeps/unix/sysv/linux/netlink_assert_response.c
14878 (__netlink_assert_response): Likewise.
14880 2017-08-13 Florian Weimer <fweimer@redhat.com>
14882 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
14884 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
14886 2017-08-13 Florian Weimer <fweimer@redhat.com>
14888 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
14890 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
14891 * inet/netgroup.h (__internal_setnetgrent)
14892 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
14893 * inet/getnetgrent_r.c (__internal_setnetgrent)
14894 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
14895 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
14896 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
14897 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
14898 * nss/nsswitch.h (db_lookup_function): Likewise.
14900 2017-08-13 Florian Weimer <fweimer@redhat.com>
14902 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
14903 Remove internal_function.
14904 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
14905 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
14906 message argument on the stack.
14907 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
14910 2017-08-12 Mike FABIAN <mfabian@redhat.com>
14912 Adapt test case data to the changes in the thousands
14916 * localedata/tst-langinfo.sh: Adapt test case data.
14917 * stdlib/tst-strfmon_l.c: Likewise.
14918 * stdlib/tst-strtod4.c: Likewise.
14919 * stdlib/tst-strtod5i.c: Likewise.
14921 2017-08-11 Florian Weimer <fweimer@redhat.com>
14924 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
14925 Suppress pedantic warning resulting from statement expression.
14926 (__ASSERT_FUNCTION): Add missing __extension__.
14928 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
14930 * benchtests/bench-memmove-large.c: Print output in JSON
14932 * benchtests/bench-memmove.c: Likewise.
14934 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
14935 * benchtests/bench-memchr.c (do_one_test): Likewise.
14936 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
14937 * benchtests/bench-memcpy.c (do_one_test): Likewise.
14938 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
14939 * benchtests/bench-memmove.c (do_one_test): Likewise.
14940 * benchtests/bench-memset-large.c (do_one_test): Likewise.
14941 * benchtests/bench-memset.c (do_one_test): Likewise.
14942 * benchtests/bench-string.h (test_init): Remove memsets.
14944 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
14947 (Computing the Width of an Integer Data Type): Rename section to
14948 "Width of an Integer Type". Remove inaccurate statement regarding
14949 lack of C language facilities for determining width of integer
14950 types, and reorder content to improve flow and context of
14953 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
14955 * lang.texi (va_copy): Change standard from ISO to C99.
14956 (__va_copy): Add standard and header annotation.
14957 Update description for clarity of origins and current use.
14959 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
14962 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
14963 xssqrtqp requires operands to be in Vector Registers
14964 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
14965 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
14966 (__ieee754_sqrtf128): Likewise.
14968 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
14970 * sysdeps/aarch64/memcmp.S (memcmp):
14971 Rewrite of optimized memcmp.
14973 2017-08-10 Florian Weimer <fweimer@redhat.com>
14975 Introduce ld.so exceptions.
14976 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
14977 (_dl_exception_create, _dl_exception_create_format)
14978 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
14979 (_dl_catch_exception): Declare.
14980 (_dl_catch_error): Update comment.
14981 * elf/dl-error-skeleton.c (struct catch): Replace objname,
14982 errstring, malloced members with exception member.
14983 (_dl_out_of_memory): Remove.
14984 (fatal_error): New function, extracted from _dl_signal_error.
14985 (_dl_signal_exception, _dl_signal_cexception): New functions.
14986 (_dl_signal_error): Call _dl_exception_create to allocate an
14988 (_dl_catch_exception): New function, based on _dl_catch_error.
14989 (_dl_catch_error): Implement using _dl_catch_exception.
14990 * elf/dl-exception.c: New file.
14991 * elf/Makefile (dl-routines): Add dl-exception.
14992 (elide-routines.os): Likewise.
14993 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
14994 _dl_exception_create_format, _dl_exception_free.
14995 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
14996 _dl_signal_exception.
14997 * elf/dl-lookup.c (make_string): Remove.
14998 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
14999 _dl_signal_cexception, _dl_exception_free.
15000 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
15001 _dl_signal_exception.
15002 * elf/dl-sym.c (do_sym): Likewise.
15003 * elf/dl-version.c (make_string): Remove.
15004 (match_symbol): Use _dl_exception_create_format,
15005 _dl_signal_cexception, _dl_exception_free.
15006 (_dl_check_map_versions): Likewise.
15007 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
15008 _dl_catch_exception.
15009 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
15010 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
15011 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
15012 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
15013 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
15014 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
15015 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
15016 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
15018 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
15019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
15021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
15023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
15025 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
15026 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
15027 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
15029 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
15031 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
15033 2017-08-10 Florian Weimer <fweimer@redhat.com>
15035 * inet/net-internal.h (__inet6_scopeid_pton): Remove
15036 attribute_hidden, internal_function.
15037 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
15040 2017-08-10 Florian Weimer <fweimer@redhat.com>
15042 * malloc/malloc.c (get_max_fast): Reimplement as an inline
15043 function which calls __builtin_unreachable.
15045 2017-08-10 Mike FABIAN <mfabian@redhat.com>
15047 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
15048 Indian monetary formatting
15049 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
15052 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
15054 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
15055 Fix typo in comment.
15058 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
15059 PTRACE_SEIZE_DEVEL): Remove.
15060 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
15061 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
15062 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15063 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15064 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15066 2017-08-09 Joseph Myers <joseph@codesourcery.com>
15068 * posix/bits/types.h (__qaddr_t): Remove.
15071 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
15072 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
15074 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
15075 (ucontext_t): Use __ctx with uc_flags.
15076 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
15077 (__ctxt): Likewise.
15078 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
15080 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
15081 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
15083 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
15084 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
15086 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
15088 (ucontext_t): Use __ctx with uc_flags.
15089 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
15090 (ucontext_t): Use __ctx with uc_flags.
15091 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
15092 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
15093 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
15094 (ucontext_t): Use __ctx with uc_flags.
15095 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
15096 undefine further down.
15097 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
15099 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
15100 undefine further down.
15101 (ucontext_t): Use __ctx with uc_flags.
15102 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
15103 undefine further down.
15104 (ucontext_t): Use __ctx with uc_flags.
15105 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
15106 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
15107 Rename uc_pad to __glibc_reserved1.
15108 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
15109 undefine further down.
15110 (ucontext_t): Use __ctx with uc_flags.
15111 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
15113 (ucontext_t): Use __ctx with uc_flags.
15114 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
15115 __ctx with uc_flags.
15116 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
15117 (ucontext_t): Use __ctx with uc_flags.
15118 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
15119 __ctx with uc_flags.
15121 2017-08-09 Florian Weimer <fweimer@redhat.com>
15124 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
15125 before early return.
15127 2017-08-09 Andreas Schwab <schwab@suse.de>
15130 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
15134 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
15135 tst-compat-forwarder.
15136 (modules-names): Add tst-compat-forwarder-mod.
15137 ($(objpfx)tst-compat-forwarder): Depend on
15138 $(objpfx)tst-compat-forwarder-mod.so.
15139 * nptl/tst-compat-forwarder.c: New file.
15140 * nptl/tst-compat-forwarder-mod.c: New file.
15142 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
15144 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
15147 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
15148 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
15150 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
15152 (__libc_ifunc_impl_list): Add __memcpy_falkor.
15153 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
15154 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
15155 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
15157 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
15160 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15163 * manual/setjmp.texi (getcontex): Document uc_stack value
15164 compatibility differences.
15166 2017-08-08 Joseph Myers <joseph@codesourcery.com>
15168 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
15169 (old_malloc_hook): Likewise.
15170 (old_memalign_hook): Likewise.
15171 (old_realloc_hook): Likewise.
15172 (struct hdr): Likewise.
15174 (freehook): Likewise.
15175 (mallochook): Likewise.
15176 (memalignhook): Likewise.
15177 (reallochook): Likewise.
15178 (mprobe): Likewise.
15179 * malloc/mtrace.c (mallwatch): Likewise.
15180 (tr_old_free_hook): Likewise.
15181 (tr_old_malloc_hook): Likewise.
15182 (tr_old_realloc_hook): Likewise.
15183 (tr_old_memalign_hook): Likewise.
15184 (tr_where): Likewise.
15185 (lock_and_info): Likewise.
15186 (tr_freehook): Likewise.
15187 (tr_mallochook): Likewise.
15188 (tr_reallochook): Likewise.
15189 (tr_memalignhook): Likewise.
15190 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
15191 * misc/mmap.c (__mmap): Likewise.
15192 * misc/mmap64.c (__mmap64): Likewise.
15193 * misc/mprotect.c (__mprotect): Likewise.
15194 * misc/msync.c (msync): Likewise.
15195 * misc/munmap.c (__munmap): Likewise.
15196 * posix/posix_madvise.c (posix_madvise): Likewise.
15197 * socket/send.c (__send): Likewise.
15198 * socket/sendto.c (__sendto): Likewise.
15199 * socket/setsockopt.c (__setsockopt): Likewise.
15200 * string/memcmp.c (__ptr_t): Remove macro.
15201 (MEMCMP): Use void * instead of ptr_t.
15202 * string/memrchr.c (__ptr_t): Remove macro.
15203 (__memrchr): Use void * instead of ptr_t.
15204 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
15205 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
15206 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
15207 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
15208 * sysdeps/mach/msync.c (msync): Likewise.
15209 * sysdeps/mach/munmap.c (__munmap): Likewise.
15210 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
15212 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
15213 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
15214 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
15215 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
15216 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
15217 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
15218 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
15219 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
15221 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
15222 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
15223 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
15224 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
15225 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
15226 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
15227 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
15228 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
15229 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
15231 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
15232 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
15233 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
15234 (MEMCMP): Use void * instead of ptr_t.
15235 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
15236 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
15238 2017-08-08 Florian Weimer <fweimer@redhat.com>
15240 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
15243 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
15246 * csu/libc-tls.c: Include <startup.h> first.
15247 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
15248 * elf/dl-tunables.c: Include <startup.h> first.
15249 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
15250 * sysdeps/generic/startup.h: New file.
15251 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
15252 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
15253 (I386_USE_SYSENTER): New. Defined to 0.
15255 2017-08-08 Andreas Schwab <schwab@suse.de>
15258 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
15259 * nptl/pt-system.c (system): Likewise.
15261 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15264 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
15266 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
15267 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
15268 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
15269 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
15270 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
15271 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
15272 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
15274 2017-08-07 Joseph Myers <joseph@codesourcery.com>
15277 * bits/sigaction.h (struct sigaction): Define sa_handler and
15278 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
15279 (SA_ONSTACK): Change [__USE_UNIX98] condition to
15280 [__USE_XOPEN_EXTENDED].
15281 (SA_RESTART): Likewise.
15282 (SA_NODEFER): Likewise.
15283 (SA_RESETHAND): Likewise.
15284 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
15285 (struct sigaction): Define sa_handler and sa_sigaction using union
15286 also for [__USE_XOPEN_EXTENDED].
15287 (SA_ONSTACK): Change [__USE_UNIX98] condition to
15288 [__USE_XOPEN_EXTENDED].
15289 (SA_RESTART): Likewise.
15290 (SA_NODEFER): Likewise.
15291 (SA_RESETHAND): Likewise.
15292 * sysdeps/unix/sysv/linux/bits/sigaction.h
15293 (struct sigaction): Define sa_handler and sa_sigaction using union
15294 also for [__USE_XOPEN_EXTENDED].
15295 (SA_ONSTACK): Change [__USE_UNIX98] condition to
15296 [__USE_XOPEN_EXTENDED].
15297 (SA_RESTART): Likewise.
15298 (SA_NODEFER): Likewise.
15299 (SA_RESETHAND): Likewise.
15300 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
15301 (struct sigaction): Define sa_handler and sa_sigaction using union
15302 also for [__USE_XOPEN_EXTENDED].
15303 (SA_ONSTACK): Change [__USE_UNIX98] condition to
15304 [__USE_XOPEN_EXTENDED].
15305 (SA_RESTART): Likewise.
15306 (SA_NODEFER): Likewise.
15307 (SA_RESETHAND): Likewise.
15308 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
15309 (struct sigaction): Define sa_handler and sa_sigaction using union
15310 also for [__USE_XOPEN_EXTENDED].
15311 (SA_ONSTACK): Change [__USE_UNIX98] condition to
15312 [__USE_XOPEN_EXTENDED].
15313 (SA_RESTART): Likewise.
15314 (SA_NODEFER): Likewise.
15315 (SA_RESETHAND): Likewise.
15316 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
15317 (struct sigaction): Define sa_handler and sa_sigaction using union
15318 also for [__USE_XOPEN_EXTENDED].
15319 (SA_ONSTACK): Change [__USE_UNIX98] condition to
15320 [__USE_XOPEN_EXTENDED].
15321 (SA_RESTART): Likewise.
15322 (SA_NODEFER): Likewise.
15323 (SA_RESETHAND): Likewise.
15324 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
15325 (struct sigaction): Define sa_handler and sa_sigaction using union
15326 also for [__USE_XOPEN_EXTENDED].
15327 (SA_ONSTACK): Change [__USE_UNIX98] condition to
15328 [__USE_XOPEN_EXTENDED].
15329 (SA_RESTART): Likewise.
15330 (SA_NODEFER): Likewise.
15331 (SA_RESETHAND): Likewise.
15332 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
15333 (struct sigaction): Define sa_handler and sa_sigaction using union
15334 also for [__USE_XOPEN_EXTENDED].
15335 (SA_ONSTACK): Change [__USE_UNIX98] condition to
15336 [__USE_XOPEN_EXTENDED].
15337 (SA_RESTART): Likewise.
15338 (SA_NODEFER): Likewise. Define directly rather than as alias.
15339 (SA_RESETHAND): Likewise.
15340 (SA_INTERRUPT): Define only for [__USE_MISC].
15341 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
15342 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
15344 (SA_STACK): Define only for [__USE_MISC].
15345 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
15346 (struct sigaction): Define sa_handler and sa_sigaction using union
15347 also for [__USE_XOPEN_EXTENDED].
15348 (SA_ONSTACK): Change [__USE_UNIX98] condition to
15349 [__USE_XOPEN_EXTENDED].
15350 (SA_RESTART): Likewise.
15351 (SA_NODEFER): Likewise.
15352 (SA_RESETHAND): Likewise.
15353 (SA_NOPTRACE): Define only for [__USE_MISC].
15355 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
15356 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
15357 (struct catalog_info): Likewise.
15358 * inet/htontest.c (lo): Likewise.
15360 * inet/inet_lnaof.c (inet_lnaof): Likewise.
15361 * inet/inet_net.c (inet_network): Likewise.
15362 * inet/inet_netof.c (inet_netof): Likewise.
15363 * inet/rcmd.c (__ivaliduser): Likewise.
15364 (iruserok): Likewise.
15365 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
15366 * locale/programs/locale-spec.c (locale_special): Likewise.
15367 * nis/nis_findserv.c (struct findserv_req): Likewise.
15368 (__nis_findfastest_with_timeout): Likewise.
15369 * nss/test-netdb.c (test_network): Likewise.
15370 * resolv/inet_neta.c (inet_neta): Likewise.
15371 * resolv/ns_date.c (ns_datetosecs): Likewise.
15372 (SECS_PER_DAY): Likewise.
15373 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
15375 * resolv/res_comp.c (__putlong): Likewise.
15376 (__putshort): Likewise.
15377 (_getlong): Likewise.
15378 (_getshort): Likewise.
15379 * resolv/res_debug.c (p_time): Likewise.
15380 (precsize_ntoa): Likewise.
15381 (precsize_aton): Likewise.
15382 (latlon2ul): Likewise.
15383 (loc_aton): Likewise.
15384 (loc_ntoa): Likewise.
15385 * resolv/res_hconf.c (struct netaddr): Likewise.
15386 (_res_hconf_reorder_addrs): Likewise.
15387 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
15388 (clnttcp_control): Likewise.
15389 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
15390 (clntudp_control): Likewise.
15391 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
15392 (clntunix_control): Likewise.
15393 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
15394 * sunrpc/rpc/auth.h (union des_block): Likewise.
15395 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
15396 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
15397 (xdrrec_create): Likewise.
15398 (xdrrec_endofrecord): Likewise.
15399 (flush_out): Likewise.
15400 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
15401 (xdrstdio_putlong): Likewise.
15402 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
15405 * misc/sys/cdefs.h (__long_double_t): Remove.
15406 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
15407 instead of __long_double_t,
15408 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
15410 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
15412 * benchtests/scripts/compare_strings.py: Avoid display error when
15413 running on a text terminal.
15415 * benchtests/scripts/compare_strings.py (main): Add an
15416 optional -base option.
15417 (process_results): New argument base_func.
15419 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
15421 * benchtests/bench-memcpy-large.c (test_name): Likewise.
15422 * benchtests/bench-memcpy-random.c (test_name): Likewise.
15424 2017-08-07 Andreas Schwab <schwab@suse.de>
15426 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
15427 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
15428 * intl/Makefile ($(objpfx)tst-gettext.out)
15429 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
15430 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
15431 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
15432 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
15433 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
15434 * posix/Makefile ($(objpfx)globtest.out)
15435 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
15436 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
15437 ($(objpfx)tst-printf.out): Likewise.
15438 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
15439 ($(objpfx)tst-setcontext3.out): Likewise.
15441 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
15443 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
15444 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
15445 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
15446 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
15447 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
15449 (CFLAGS-doasin-fma.c): New.
15450 (CFLAGS-dosincos-fma.c): Likewise.
15451 (CFLAGS-e_asin-fma.c): Likewise.
15452 (CFLAGS-e_atan2-fma.c): Likewise.
15453 (CFLAGS-e_exp-fma.c): Likewise.
15454 (CFLAGS-e_log-fma.c): Likewise.
15455 (CFLAGS-e_pow-fma.c): Likewise.
15456 (CFLAGS-halfulp-fma.c): Likewise.
15457 (CFLAGS-mpa-fma.c): Likewise.
15458 (CFLAGS-mpatan-fma.c): Likewise.
15459 (CFLAGS-mpatan2-fma.c): Likewise.
15460 (CFLAGS-mpexp-fma.c): Likewise.
15461 (CFLAGS-mplog-fma.c): Likewise.
15462 (CFLAGS-mpsqrt-fma.c): Likewise.
15463 (CFLAGS-mptan-fma.c): Likewise.
15464 (CFLAGS-s_atan-fma.c): Likewise.
15465 (CFLAGS-sincos32-fma.c): Likewise.
15466 (CFLAGS-slowexp-fma.c): Likewise.
15467 (CFLAGS-slowpow-fma.c): Likewise.
15468 (CFLAGS-s_sin-fma.c): Likewise.
15469 (CFLAGS-s_tan-fma.c): Likewise.
15470 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
15471 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
15472 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
15473 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
15474 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
15475 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
15476 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
15477 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
15478 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
15479 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
15480 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
15481 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
15482 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
15483 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
15484 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
15485 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
15486 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
15487 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
15488 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
15489 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
15490 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
15491 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
15492 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
15493 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
15494 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
15495 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15496 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15497 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
15498 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15499 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15500 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15502 2017-08-04 Joseph Myers <joseph@codesourcery.com>
15504 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
15505 (min_of_type_f): New macro.
15506 (min_of_type_): Likewise.
15507 (min_of_type_l): Likewise.
15508 (min_of_type_f128): Likewise.
15509 (min_of_type): Define using __MATH_TG and taking an expression
15511 (math_check_force_underflow): Pass expression instead of type to
15513 (math_check_force_underflow_nonneg): Likewise.
15515 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
15517 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
15518 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
15519 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
15521 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
15523 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15524 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
15525 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
15526 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
15527 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
15528 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
15529 memcpy_chk-nonshared, mempcpy_chk-nonshared,
15530 memmove_chk-nonshared and memset_chk-nonshared
15531 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
15532 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
15533 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
15534 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
15535 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
15536 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
15537 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
15538 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
15539 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
15540 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
15541 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
15542 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
15543 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
15544 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
15545 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
15546 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
15547 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
15548 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
15549 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
15550 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
15551 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
15552 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
15553 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
15554 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
15555 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
15556 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
15557 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
15558 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
15559 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
15560 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
15561 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
15562 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
15563 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
15564 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
15565 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
15566 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
15567 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
15568 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
15569 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
15570 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
15571 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
15572 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
15573 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
15574 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
15575 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
15576 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
15577 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
15578 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
15579 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
15580 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
15581 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
15582 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
15583 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
15584 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
15585 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
15586 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
15587 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
15588 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
15589 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
15590 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
15591 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
15592 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
15593 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
15594 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
15595 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
15596 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
15597 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
15598 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
15599 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
15600 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
15601 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
15602 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15603 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15604 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15605 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15606 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15607 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15608 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15609 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15610 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15611 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15612 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15613 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15614 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15615 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
15616 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
15617 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15618 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
15619 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15620 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15621 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15622 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15623 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15624 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15625 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
15626 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
15627 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
15628 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
15629 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15630 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
15631 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15632 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15633 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15634 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15635 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15636 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15637 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15638 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15640 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
15642 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
15643 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
15644 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
15645 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
15646 svml_d_log2_core-sse2, svml_d_log4_core-sse,
15647 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
15648 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
15649 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
15650 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
15651 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
15652 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
15653 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
15654 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
15655 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
15656 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
15657 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
15658 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
15659 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
15660 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
15661 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
15662 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
15663 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
15664 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
15665 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
15666 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
15667 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
15668 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
15669 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
15670 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
15671 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
15672 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
15673 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
15674 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
15675 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
15676 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
15677 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
15678 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
15679 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
15680 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
15681 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
15682 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
15683 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
15684 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
15685 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
15686 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
15687 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
15688 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
15689 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
15690 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
15691 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
15692 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
15693 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
15694 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
15695 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
15696 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
15697 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
15698 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
15699 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
15700 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
15702 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
15703 Don't include <sysdep.h> nor <init-arch.h>.
15704 (_ZGVbN2v_cos): Removed.
15705 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
15707 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
15708 Don't include <sysdep.h> nor <init-arch.h>.
15709 (_ZGVdN4v_cos): Removed.
15710 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
15712 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
15713 Don't include <sysdep.h> nor <init-arch.h>.
15714 (_ZGVeN8v_cos): Removed.
15715 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
15717 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
15718 Don't include <sysdep.h> nor <init-arch.h>.
15719 (_ZGVbN2v_exp): Removed.
15720 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
15722 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
15723 Don't include <sysdep.h> nor <init-arch.h>.
15724 (_ZGVdN4v_exp): Removed.
15725 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
15727 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
15728 Don't include <sysdep.h> nor <init-arch.h>.
15729 (_ZGVeN8v_exp): Removed.
15730 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
15732 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
15733 Don't include <sysdep.h> nor <init-arch.h>.
15734 (_ZGVbN2v_log): Removed.
15735 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
15737 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
15738 Don't include <sysdep.h> nor <init-arch.h>.
15739 (_ZGVdN4v_log): Removed.
15740 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
15742 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
15743 Don't include <sysdep.h> nor <init-arch.h>.
15744 (_ZGVeN8v_log): Removed.
15745 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
15747 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
15748 Don't include <sysdep.h> nor <init-arch.h>.
15749 (_ZGVbN2vv_pow): Removed.
15750 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
15752 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
15753 Don't include <sysdep.h> nor <init-arch.h>.
15754 (_ZGVdN4vv_pow): Removed.
15755 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
15757 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
15758 Don't include <sysdep.h> nor <init-arch.h>.
15759 (_ZGVeN8vv_pow): Removed.
15760 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
15762 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
15763 Don't include <sysdep.h> nor <init-arch.h>.
15764 (_ZGVbN2v_sin): Removed.
15765 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
15767 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
15768 Don't include <sysdep.h> nor <init-arch.h>.
15769 (_ZGVbN4v_sin): Removed.
15770 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
15772 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
15773 Don't include <sysdep.h> nor <init-arch.h>.
15774 (_ZGVbN8v_sin): Removed.
15775 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
15777 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
15778 Don't include <sysdep.h> nor <init-arch.h>.
15779 (_ZGVbN2vvv_sincos): Removed.
15780 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
15782 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
15783 Don't include <sysdep.h> nor <init-arch.h>.
15784 (_ZGVdN4vvv_sincos): Removed.
15785 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
15787 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
15788 Don't include <sysdep.h> nor <init-arch.h>.
15789 (_ZGVeN8vvv_sincos): Removed.
15790 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
15792 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
15793 Don't include <sysdep.h> nor <init-arch.h>.
15794 (_ZGVeN16v_cosf): Removed.
15795 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
15797 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
15798 Don't include <sysdep.h> nor <init-arch.h>.
15799 (_ZGVbN4v_cosf): Removed.
15800 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
15802 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
15803 Don't include <sysdep.h> nor <init-arch.h>.
15804 (_ZGVdN8v_cosf): Removed.
15805 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
15807 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
15808 Don't include <sysdep.h> nor <init-arch.h>.
15809 (_ZGVeN16v_expf): Removed.
15810 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
15812 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
15813 Don't include <sysdep.h> nor <init-arch.h>.
15814 (_ZGVbN4v_expf): Removed.
15815 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
15817 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
15818 Don't include <sysdep.h> nor <init-arch.h>.
15819 (_ZGVdN8v_expf): Removed.
15820 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
15822 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
15823 Don't include <sysdep.h> nor <init-arch.h>.
15824 (_ZGVeN16v_logf): Removed.
15825 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
15827 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
15828 Don't include <sysdep.h> nor <init-arch.h>.
15829 (_ZGVbN4v_logf): Removed.
15830 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
15832 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
15833 Don't include <sysdep.h> nor <init-arch.h>.
15834 (_ZGVdN8v_logf): Removed.
15835 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
15837 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
15838 Don't include <sysdep.h> nor <init-arch.h>.
15839 (_ZGVeN16vv_powf): Removed.
15840 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
15842 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
15843 Don't include <sysdep.h> nor <init-arch.h>.
15844 (_ZGVbN4vv_powf): Removed.
15845 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
15847 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
15848 Don't include <sysdep.h> nor <init-arch.h>.
15849 (_ZGVdN8vv_powf): Removed.
15850 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
15852 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
15853 Don't include <sysdep.h> nor <init-arch.h>.
15854 (_ZGVeN16vvv_sincosf): Removed.
15855 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
15857 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
15858 Don't include <sysdep.h> nor <init-arch.h>.
15859 (_ZGVbN4vvv_sincosf): Removed.
15860 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
15862 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
15863 Don't include <sysdep.h> nor <init-arch.h>.
15864 (_ZGVdN8vvv_sincosf): Removed.
15865 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
15867 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
15868 Don't include <sysdep.h> nor <init-arch.h>.
15869 (_ZGVeN16v_sinf): Removed.
15870 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
15872 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
15873 Don't include <sysdep.h> nor <init-arch.h>.
15874 (_ZGVbN4v_sinf): Removed.
15875 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
15877 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
15878 Don't include <sysdep.h> nor <init-arch.h>.
15879 (_ZGVdN8v_sinf): Removed.
15881 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
15883 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
15884 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
15885 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
15886 s_rint-sse4_1 and s_rintf-sse4_1.
15887 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
15888 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
15889 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
15890 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
15891 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
15892 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
15893 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
15894 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
15895 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
15896 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
15897 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
15898 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
15900 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
15901 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
15902 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
15903 (__ceilf): Removed.
15904 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
15905 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
15906 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
15907 (__floor): Removed.
15908 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
15909 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
15910 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
15911 (__floorf): Removed.
15912 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
15913 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
15914 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
15915 (__nearbyint): Removed.
15916 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
15917 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
15918 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
15919 (__nearbyintf): Removed.
15920 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
15921 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
15922 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
15924 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
15925 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
15926 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
15927 (__rintf): Removed.
15929 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
15931 * sysdeps/i386/start.S (_start): Check Check PIC instead of
15932 SHARED. Avoid dynamic relocation against main in static PIE.
15934 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
15937 * elf/Makefile (CFLAGS-tst-prelink.c): New.
15938 (LDFLAGS-tst-prelink): Likewise.
15940 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
15942 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
15943 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
15944 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
15945 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
15946 (INTERNAL_SYSCALL_NCS): Likewise.
15947 (LOADARGS_1): Likewise.
15948 (LOADARGS_5): Likewise.
15949 (RESTOREARGS_1): Likewise.
15950 (RESTOREARGS_5): Likewise.
15952 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
15954 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
15955 (MEMPCPY_SYMBOL): Likewise.
15956 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15957 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
15958 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
15960 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15961 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
15963 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
15964 (__hidden_ver1): Don't use in libc.a.
15965 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
15966 (__mempcpy): Don't create a weak alias in libc.a.
15967 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
15969 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
15970 (__hidden_ver1): Don't use in libc.a.
15972 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
15974 * config.make.in (have-insert): New.
15975 * configure.ac (libc_cv_insert): New. Set to yes if linker
15976 supports INSERT in linker script.
15977 (AC_SUBST(libc_cv_insert): New.
15978 * configure: Regenerated.
15979 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
15980 if $(have-insert) == yes.
15982 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
15984 * elf/Makefile (tests): Add vismain only if
15985 $(have-protected-data) == yes.
15986 (tests-pie): Likewise.
15988 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
15991 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
15992 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
15994 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
15997 * sysdeps/i386/i586/memset.S
15998 (__memset_zero_constant_len_parameter): Removed.
15999 * sysdeps/i386/i686/memset.S
16000 (__memset_zero_constant_len_parameter): Likewise.
16001 * sysdeps/i386/i686/multiarch/memset_chk.S
16002 (__memset_zero_constant_len_parameter): Likewise.
16003 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
16006 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
16008 * stdlib/getentropy.c (getentropy): Change return type to int.
16010 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
16012 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
16014 2017-08-03 Joseph Myers <joseph@codesourcery.com>
16016 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
16018 * math/s_nexttowardf.c (__nexttowardf): Likewise.
16019 * sysdeps/generic/math_private.h (ieee_double_shape_type):
16021 (ieee_float_shape_type): Likewise.
16022 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
16023 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
16024 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
16025 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
16026 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
16027 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
16028 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
16029 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
16030 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
16032 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
16033 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
16034 (__ieee754_yn): Likewise.
16035 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
16036 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
16037 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
16039 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
16040 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
16041 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
16042 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
16043 (__erfc): Likewise.
16044 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
16045 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
16046 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
16047 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
16048 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
16049 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
16051 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
16052 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
16053 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
16054 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
16055 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
16056 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
16057 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
16058 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
16059 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
16060 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
16061 (__issignaling): Likewise.
16062 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
16063 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
16064 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
16066 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
16067 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
16068 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
16069 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
16071 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
16073 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
16074 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
16075 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
16076 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
16077 (__erfcf): Likewise.
16078 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
16079 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
16080 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
16081 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
16083 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
16084 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
16086 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
16087 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
16088 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
16089 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
16090 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
16091 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
16092 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
16093 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
16095 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
16097 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
16099 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
16100 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
16102 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
16104 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
16105 (__ieee754_ynl): Likewise.
16106 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
16107 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
16109 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
16111 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
16112 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
16113 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
16115 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
16116 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
16117 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
16118 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
16119 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
16120 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
16121 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
16122 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
16124 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
16125 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
16126 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
16128 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
16129 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
16130 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
16131 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
16132 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
16133 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
16135 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
16137 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
16139 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
16141 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
16142 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
16143 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
16144 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
16145 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
16146 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
16147 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
16149 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
16151 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
16152 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
16154 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
16155 (__ieee754_remainderl): Likewise.
16156 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16157 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16158 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
16159 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
16161 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
16162 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16164 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16165 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
16166 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
16167 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
16168 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
16169 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
16171 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
16172 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
16173 (__ieee754_y0l): Likewise.
16176 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
16177 (__ieee754_y1l): Likewise.
16180 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
16181 (__ieee754_ynl): Likewise.
16182 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
16183 (__ieee754_lgammal_r): Likewise.
16184 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
16186 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
16187 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
16188 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
16189 (__erfcl): Likewise.
16190 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
16191 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
16193 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
16194 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
16195 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
16196 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
16197 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
16198 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
16199 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
16201 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
16202 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
16203 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
16204 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
16205 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
16207 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
16208 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
16210 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
16211 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
16212 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
16213 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
16214 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
16216 2017-08-03 Florian Weimer <fweimer@redhat.com>
16219 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
16220 on memory allocation failure.
16222 2017-08-03 Alan Modra <amodra@gmail.com>
16224 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
16225 tst-tlsopt-powerpc.c with function name change and no test harness.
16226 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
16227 Call tls_get_addr_opt_test.
16228 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
16229 (modules-names): Add mod-tlsopt-powerpc.
16230 (mod-tlsopt-powerpc.so-no-z-defs): Define.
16231 (tst-tlsopt-powerpc): Depend on .so.
16232 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
16233 define. Expand use in TLS_GD and TLS_LD.
16235 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
16237 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
16239 * sysdeps/posix/shm_open.c: Include <pthread.h>.
16241 2017-08-02 Joseph Myers <joseph@codesourcery.com>
16244 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
16245 comparing size with that of double.
16246 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
16247 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
16248 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
16249 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
16250 (__TGMATH_BINARY_REAL_IMAG): Likewise.
16251 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
16252 unsigned __int128 types.
16254 2017-08-02 Steve Ellcey <sellcey@cavium.com>
16256 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
16257 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
16258 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
16259 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
16260 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
16262 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
16264 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
16266 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
16268 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
16270 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
16271 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
16272 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16273 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16274 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16275 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16276 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16278 2017-08-02 Joseph Myers <joseph@codesourcery.com>
16281 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
16282 bit-field expressions passed to sizeof or typeof.
16283 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
16284 (__TGMATH_F128): Likewise.
16285 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
16286 (__TGMATH_CF128): Likewise.
16287 (__TGMATH_UNARY_REAL_ONLY): Likewise.
16288 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
16289 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
16290 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
16291 (__TGMATH_BINARY_REAL_ONLY): Likewise.
16292 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
16293 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
16294 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
16295 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
16296 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
16297 (__TGMATH_UNARY_REAL_IMAG): Likewise.
16298 (__TGMATH_UNARY_IMAG): Likewise.
16299 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
16300 (__TGMATH_BINARY_REAL_IMAG): Likewise.
16301 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
16303 (define_vars_for_type): Handle bit_field type specially.
16304 (Tests.__init__): Declare structure with bit-field element.
16306 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
16309 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
16310 (MEMCPY_CHK): Define only if SHARED is defined.
16311 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
16313 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
16316 See ChangeLog.18 for earlier changes.