]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
NEWS: Fix another typo ("multithread..." -> "multi-threaded...").
[thirdparty/glibc.git] / ChangeLog
CommitLineData
0253580a
AZ
12018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2
3 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
4 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
5 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
6 Likewise.
7 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
8 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
9 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
10 function.
11 * support/blob_repeat.c (check_mul_overflow_size_t,
12 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
13
09104e5b
AJ
142018-12-28 Aurelien Jarno <aurelien@aurel32.net>
15
16 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
17
c0feb731
PE
182018-12-27 Paul Eggert <eggert@cs.ucla.edu>
19
20 regex: simplify Gnulib port
21 This simplifies the code, by removing stuff intended for porting
22 to Gnulib but no longer needed there.
23 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
24 uses of libc_hidden_def, weak_alias.
25 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
26 _Restrict_ except for public-facing headers.
27 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
28 Remove; already defined elsewhere.
29 * posix/regex.c, posix/regex_internal.h:
30 Use __GNUC_PREREQ instead of rolling our own.
31 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
32
5289f1f5
WD
332018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
34
35 * benchtests/bench-strlen.c (generic_strlen): New function.
36 (memchr_strlen): New function.
37
ba4b8fab
L
382018-12-26 H.J. Lu <hongjiu.lu@intel.com>
39
40 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
41 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
42 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
43
9412979a
L
442018-12-26 H.J. Lu <hongjiu.lu@intel.com>
45
46 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
47
8700a785
L
482018-12-26 H.J. Lu <hongjiu.lu@intel.com>
49
50 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
51 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
52 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
53 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
54 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
55 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
56 <sysdeps/ieee754/flt-32/s_sincosf.c>.
57
57b3ff8e
JM
582018-12-21 Joseph Myers <joseph@codesourcery.com>
59
60 [BZ #24023]
61 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
62 PLT reference in libc.so.
63 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
64 _Q_lltoq and _Q_qtod PLT references in libc.so.
65
90d3320d
WD
662018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
67
68 * benchtests/bench-memchr.c: Cleanup defines.
69 * benchtests/bench-memcmp.c: Likewise.
70 * benchtests/bench-memset.c: Likewise.
71 * benchtests/bench-memset-large.c: Likewise.
72 * benchtests/bench-memset-walk.c: Likewise.
73 * benchtests/bench-stpcpy.c: Likewise.
74 * benchtests/bench-stpncpy.c: Likewise.
75 * benchtests/bench-strcat.c: Likewise.
76 * benchtests/bench-strchr.c: Likewise.
77 * benchtests/bench-strcmp.c: Likewise.
78 * benchtests/bench-strcpy.c: Likewise.
79 * benchtests/bench-strcspn.c: Likewise.
80 * benchtests/bench-string.h: Likewise.
81 * benchtests/bench-strlen.c: Likewise.
82 * benchtests/bench-strncat.c: Likewise.
83 * benchtests/bench-strncmp.c: Likewise.
84 * benchtests/bench-strncpy.c: Likewise.
85 * benchtests/bench-strnlen.c: Likewise.
86 * benchtests/bench-strpbrk.c: Likewise.
87 * benchtests/bench-strrchr.c: Likewise.
88 * benchtests/bench-strspn.c: Likewise.
89
192963be
JM
902018-12-21 Joseph Myers <joseph@codesourcery.com>
91
5d025ea6
JM
92 * stdlib/longlong.h: Update from GCC.
93
192963be
JM
94 [BZ #23993]
95 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
96 * configure: Regenerated.
97 * manual/install.texi (Tools for Compilation): Update minimum GCC
98 version.
99 * INSTALL: Regenerated.
100
c0e82f11
IK
1012018-12-21 Istvan Kurucsai <pistukem@gmail.com>
102
103 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
104
ebe544bf
IK
1052018-12-20 Istvan Kurucsai <pistukem@gmail.com>
106
107 * malloc/malloc.c (mremap_chunk): Additional checks.
108
5f72b005
MH
1092018-12-21 Mao Han <han_mao@c-sky.com>
110
111 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
112 * scripts/build-many-glibcs.py: Add C-SKY targets.
113 * sysdeps/csky/Implies: New file.
114 * sysdeps/csky/Makefile: Likewise.
115 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
116 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
117 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
118 * sysdeps/csky/abiv2/memcmp.S: Likewise.
119 * sysdeps/csky/abiv2/memcpy.S: Likewise.
120 * sysdeps/csky/abiv2/memmove.S: Likewise.
121 * sysdeps/csky/abiv2/memset.S: Likewise.
122 * sysdeps/csky/abiv2/setjmp.S: Likewise.
123 * sysdeps/csky/abiv2/start.S: Likewise.
124 * sysdeps/csky/abiv2/strcmp.S: Likewise.
125 * sysdeps/csky/abiv2/strcpy.S: Likewise.
126 * sysdeps/csky/abiv2/strlen.S: Likewise.
127 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
128 * sysdeps/csky/abort-instr.h: Likewise.
129 * sysdeps/csky/atomic-machine.h: Likewise.
130 * sysdeps/csky/bits/endian.h: Likewise.
131 * sysdeps/csky/bits/fenv.h: Likewise.
132 * sysdeps/csky/bits/link.h: Likewise.
133 * sysdeps/csky/bits/setjmp.h: Likewise.
134 * sysdeps/csky/bsd-_setjmp.S: Likewise.
135 * sysdeps/csky/bsd-setjmp.S: Likewise.
136 * sysdeps/csky/configure: Likewise.
137 * sysdeps/csky/configure.ac: Likewise.
138 * sysdeps/csky/dl-machine.h: Likewise.
139 * sysdeps/csky/dl-procinfo.c: Likewise.
140 * sysdeps/csky/dl-procinfo.h: Likewise.
141 * sysdeps/csky/dl-sysdep.h: Likewise.
142 * sysdeps/csky/dl-tls.h: Likewise.
143 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
144 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
145 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
146 * sysdeps/csky/fpu/fegetenv.c: Likewise.
147 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
148 * sysdeps/csky/fpu/fegetmode.c: Likewise.
149 * sysdeps/csky/fpu/fegetround.c: Likewise.
150 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
151 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
152 * sysdeps/csky/fpu/fenv_private.h: Likewise.
153 * sysdeps/csky/fpu/fesetenv.c: Likewise.
154 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
155 * sysdeps/csky/fpu/fesetmode.c: Likewise.
156 * sysdeps/csky/fpu/fesetround.c: Likewise.
157 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
158 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
159 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
160 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
161 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
162 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
163 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
164 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
165 * sysdeps/csky/fpu_control.h: Likewise.
166 * sysdeps/csky/gccframe.h: Likewise.
167 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
168 * sysdeps/csky/ldsodefs.h: Likewise.
169 * sysdeps/csky/libc-tls.c: Likewise.
170 * sysdeps/csky/linkmap.h: Likewise.
171 * sysdeps/csky/machine-gmon.h: Likewise.
172 * sysdeps/csky/memusage.h: Likewise.
173 * sysdeps/csky/nofpu/Implies: Likewise.
174 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
175 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
176 * sysdeps/csky/nptl/Makefile: Likewise.
177 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
178 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
179 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
180 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
181 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
182 * sysdeps/csky/nptl/tls.h: Likewise.
183 * sysdeps/csky/preconfigure: Likewise.
184 * sysdeps/csky/sfp-machine.h: Likewise.
185 * sysdeps/csky/sotruss-lib.c: Likewise.
186 * sysdeps/csky/stackinfo.h: Likewise.
187 * sysdeps/csky/sysdep.h: Likewise.
188 * sysdeps/csky/tininess.h: Likewise.
189 * sysdeps/csky/tst-audit.h: Likewise.
190 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
191 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
192 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
193 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
194 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
195 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
196 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
197 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
198 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
199 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
200 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
201 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
202 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
203 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
204 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
205 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
206 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
207 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
208 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
209 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
210 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
211 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
212 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
213 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
214 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
215 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
216 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
217 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
218 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
219 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
220 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
221 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
222 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
223 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
224 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
225 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
226 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
227 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
228 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
229 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
230 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
231 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
232 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
233 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
234
ac253355
AA
2352018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
236
237 * include/time.h (__difftime64): Add.
238 * time/difftime.c (subtract): convert to 64-bit time.
239 * time/difftime.c (__difftime64): Add.
240 * time/difftime.c (__difftime): Wrap around __difftime64.
241
ab416931
L
2422018-12-20 H.J. Lu <hongjiu.lu@intel.com>
243
244 * manual/examples/add.c: Remove redundant "if not".
245 * manual/examples/argp-ex1.c: Likewise.
246 * manual/examples/argp-ex2.c: Likewise.
247 * manual/examples/argp-ex3.c: Likewise.
248 * manual/examples/argp-ex4.c: Likewise.
249 * manual/examples/atexit.c: Likewise.
250 * manual/examples/db.c: Likewise.
251 * manual/examples/dir.c: Likewise.
252 * manual/examples/dir2.c: Likewise.
253 * manual/examples/execinfo.c: Likewise.
254 * manual/examples/filecli.c: Likewise.
255 * manual/examples/filesrv.c: Likewise.
256 * manual/examples/fmtmsgexpl.c: Likewise.
257 * manual/examples/genpass.c: Likewise.
258 * manual/examples/inetcli.c: Likewise.
259 * manual/examples/inetsrv.c: Likewise.
260 * manual/examples/isockad.c: Likewise.
261 * manual/examples/longopt.c: Likewise.
262 * manual/examples/memopen.c: Likewise.
263 * manual/examples/memstrm.c: Likewise.
264 * manual/examples/mkdirent.c: Likewise.
265 * manual/examples/mkfsock.c: Likewise.
266 * manual/examples/mkisock.c: Likewise.
267 * manual/examples/mygetpass.c: Likewise.
268 * manual/examples/pipe.c: Likewise.
269 * manual/examples/popen.c: Likewise.
270 * manual/examples/rprintf.c: Likewise.
271 * manual/examples/search.c: Likewise.
272 * manual/examples/select.c: Likewise.
273 * manual/examples/setjmp.c: Likewise.
274 * manual/examples/sigh1.c: Likewise.
275 * manual/examples/sigusr.c: Likewise.
276 * manual/examples/stpcpy.c: Likewise.
277 * manual/examples/strdupa.c: Likewise.
278 * manual/examples/strftim.c: Likewise.
279 * manual/examples/subopt.c: Likewise.
280 * manual/examples/swapcontext.c: Likewise.
281 * manual/examples/termios.c: Likewise.
282 * manual/examples/testopt.c: Likewise.
283 * manual/examples/testpass.c: Likewise.
284 * manual/examples/timeval_subtract.c: Likewise.
285
515f463f
JM
2862018-12-19 Joseph Myers <joseph@codesourcery.com>
287
da75c1b1
JM
288 * sysdeps/x86/fpu/math_private.h: New file.
289 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
290
515f463f
JM
291 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
292 definition.
293 (cosh): Likewise.
294 (tanh): Likewise.
295
1616d034
TMQMF
2962018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
297
298 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
299 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
300 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
301 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
302 fields.
303 (_dl_show_auxv): Give a special treatment to
304 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
305 and AT_L3_CACHEGEOMETRY.
306 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
307 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
308 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
309 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
310
61595e3d
AS
3112018-12-19 Andreas Schwab <schwab@suse.de>
312
313 * nscd/connections.c (check_use): Don't abort on invalid len.
314
bbb7dc84
ST
3152018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
316
317 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
318 values in the 64bit value cases.
319
64c2277d
AA
3202018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
321
c4c2836a
AA
322 * include/time.h
323 (__ctime64_r): Add.
324 * time/ctime_r.c
325 (__ctime64_r): Add.
326 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
327
7755e504
AA
328 * include/time.h
329 (__ctime64): Add.
330 * time/gmtime.c
331 (__ctime64): Add.
332 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
333
a1d346ce
AA
334 * include/time.h
335 (__gmtime64_r): Add.
336 * time/gmtime.c
337 (__gmtime64_r): Add.
338 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
339
131db8b0
AA
340 * include/time.h
341 (__gmtime64): Add.
342 * time/gmtime.c
343 (__gmtime64): Add.
344 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
345
64c2277d
AA
346 * include/time.h
347 (__localtime64_r): Add.
348 * time/localtime.c
349 (__localtime64_r): Add.
350 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
351
56b98bf1
AZ
3522018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
353
64dd7a16
AZ
354 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
355 kernel_sigction definition.
356
8b1d5da5
AZ
357 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
358
f9eabb19
AZ
359 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
360
56b98bf1
AZ
361 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
362 __syscall_rt_sigaction.
363 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
364 (kernel_sigaction): Use Linux generic defintion.
365 (STUB): Define.
366 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
367 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
368 (__syscall_rt_sigaction): Remove implementation.
369 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
370 hidden.
371 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
372 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
373 INTERNAL_SYSCALL): Remove definitions.
374 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
375 action and signal set size.
376 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
377 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
378
43a45c2d
AZ
3792018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
380 James Clarke <jrtc27@jrtc27.com>
381
dfa6216f 382 [BZ #23967]
43a45c2d
AZ
383 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
384 Define if SA_RESTORER is defined.
385 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
386 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
387 already defined.
388 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
389 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
390 definitions.
391 (HAS_SA_RESTORER): Define.
392 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
393 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
394 (HAS_SA_RESTORER): Define.
395 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
396 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
397 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
398 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
399 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
400
646ce7e0
JM
4012018-12-18 Joseph Myers <joseph@codesourcery.com>
402
403 * sysdeps/unix/sysv/linux/kernel-features.h
404 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
405 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
406 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
407 * sysdeps/unix/sysv/linux/sh/kernel-features.h
408 (__ASSUME_ST_INO_64_BIT): Likewise.
409 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
410 <kernel-features.h>.
411 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
412 Remove conditional code.
413 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
414 <kernel-features.h>.
415 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
416 Remove conditional code.
417 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
418 <kernel-features.h>.
419 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
420 Remove conditional code.
421 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
422 <kernel-features.h>.
423 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
424 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
425
80190d2b
SL
4262018-12-18 Stefan Liebler <stli@linux.ibm.com>
427
428 * sysdeps/s390/multiarch/ifunc-resolve.h
429 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
430 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
431 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
432 Delete macro definition.
433 (s390_libc_ifunc_init): Rename to
434 s390_libc_ifunc_expr_stfle_init.
435 * sysdeps/s390/bzero: Use
436 s390_libc_ifunc_expr_stfle_init instead of
437 s390_libc_ifunc_init.
438 * sysdeps/s390/memcmp.c: Likewise.
439 * sysdeps/s390/memcpy.c: Likewise.
440 * sysdeps/s390/mempcpy.c: Likewise.
441 * sysdeps/s390/memset.c: Likewise.
442
12f0dcb8
SL
4432018-12-18 Stefan Liebler <stli@linux.ibm.com>
444
445 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
446 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
447
25654a8c
SL
4482018-12-18 Stefan Liebler <stli@linux.ibm.com>
449
450 * sysdeps/s390/multiarch/Makefile
451 (sysdep_routines): Remove wmemcmp variants.
452 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
453 * sysdeps/s390/multiarch/ifunc-impl-list.c
454 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
455 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
456 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
457 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
458 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
459 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
460 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
461 * sysdeps/s390/ifunc-wmemcmp.h: New file.
462
d2a7436c
SL
4632018-12-18 Stefan Liebler <stli@linux.ibm.com>
464
465 * sysdeps/s390/multiarch/Makefile
466 (sysdep_routines): Remove wmemset variants.
467 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
468 * sysdeps/s390/multiarch/ifunc-impl-list.c
469 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
470 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
471 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
472 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
473 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
474 * sysdeps/s390/multiarch/wmemset.c: Move to ...
475 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
476 * sysdeps/s390/ifunc-wmemset.h: New file.
477
c62534ae
SL
4782018-12-18 Stefan Liebler <stli@linux.ibm.com>
479
480 * sysdeps/s390/multiarch/Makefile
481 (sysdep_routines): Remove wmemchr variants.
482 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
483 * sysdeps/s390/multiarch/ifunc-impl-list.c
484 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
485 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
486 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
487 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
488 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
489 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
490 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
491 * sysdeps/s390/ifunc-wmemchr.h: New file.
492
79b44cf6
SL
4932018-12-18 Stefan Liebler <stli@linux.ibm.com>
494
495 * sysdeps/s390/multiarch/Makefile
496 (sysdep_routines): Remove wcscspn variants.
497 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
498 * sysdeps/s390/multiarch/ifunc-impl-list.c
499 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
500 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
501 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
502 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
503 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
504 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
505 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
506 * sysdeps/s390/ifunc-wcscspn.h: New file.
507
8e87c1f6
SL
5082018-12-18 Stefan Liebler <stli@linux.ibm.com>
509
510 * sysdeps/s390/multiarch/Makefile
511 (sysdep_routines): Remove wcspbrk variants.
512 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
513 * sysdeps/s390/multiarch/ifunc-impl-list.c
514 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
515 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
516 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
517 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
518 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
519 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
520 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
521 * sysdeps/s390/ifunc-wcspbrk.h: New file.
522
8507e831
SL
5232018-12-18 Stefan Liebler <stli@linux.ibm.com>
524
525 * sysdeps/s390/multiarch/Makefile
526 (sysdep_routines): Remove wcsspn variants.
527 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
528 * sysdeps/s390/multiarch/ifunc-impl-list.c
529 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
530 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
531 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
532 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
533 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
534 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
535 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
536 * sysdeps/s390/ifunc-wcsspn.h: New file.
537
4753713a
SL
5382018-12-18 Stefan Liebler <stli@linux.ibm.com>
539
540 * sysdeps/s390/multiarch/Makefile
541 (sysdep_routines): Remove wcsrchr variants.
542 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
543 * sysdeps/s390/multiarch/ifunc-impl-list.c
544 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
545 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
546 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
547 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
548 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
549 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
550 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
551 * sysdeps/s390/ifunc-wcsrchr.h: New file.
552
c09c1b6f
SL
5532018-12-18 Stefan Liebler <stli@linux.ibm.com>
554
555 * sysdeps/s390/multiarch/Makefile
556 (sysdep_routines): Remove wcschrnul variants.
557 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
558 * sysdeps/s390/multiarch/ifunc-impl-list.c
559 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
560 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
561 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
562 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
563 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
564 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
565 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
566 * sysdeps/s390/ifunc-wcschrnul.h: New file.
567
cf3ccc31
SL
5682018-12-18 Stefan Liebler <stli@linux.ibm.com>
569
570 * sysdeps/s390/multiarch/Makefile
571 (sysdep_routines): Remove wcschr variants.
572 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
573 * sysdeps/s390/multiarch/ifunc-impl-list.c
574 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
575 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
576 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
577 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
578 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
579 * sysdeps/s390/multiarch/wcschr.c: Move to ...
580 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
581 * sysdeps/s390/ifunc-wcschr.h: New file.
582
e9873e1d
SL
5832018-12-18 Stefan Liebler <stli@linux.ibm.com>
584
585 * sysdeps/s390/multiarch/Makefile
586 (sysdep_routines): Remove wcsncmp variants.
587 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
588 * sysdeps/s390/multiarch/ifunc-impl-list.c
589 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
590 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
591 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
592 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
593 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
594 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
595 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
596 * sysdeps/s390/ifunc-wcsncmp.h: New file.
597
3459e23d
SL
5982018-12-18 Stefan Liebler <stli@linux.ibm.com>
599
600 * sysdeps/s390/multiarch/Makefile
601 (sysdep_routines): Remove wcscmp variants.
602 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
603 * sysdeps/s390/multiarch/ifunc-impl-list.c
604 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
605 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
606 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
607 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
608 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
609 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
610 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
611 * sysdeps/s390/ifunc-wcscmp.h: New file.
612
814a76e1
SL
6132018-12-18 Stefan Liebler <stli@linux.ibm.com>
614
615 * sysdeps/s390/multiarch/Makefile
616 (sysdep_routines): Remove wcsncat variants.
617 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
618 * sysdeps/s390/multiarch/ifunc-impl-list.c
619 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
620 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
621 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
622 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
623 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
624 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
625 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
626 * sysdeps/s390/ifunc-wcsncat.h: New file.
627
3389cae4
SL
6282018-12-18 Stefan Liebler <stli@linux.ibm.com>
629
630 * sysdeps/s390/multiarch/Makefile
631 (sysdep_routines): Remove wcscat variants.
632 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
633 * sysdeps/s390/multiarch/ifunc-impl-list.c
634 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
635 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
636 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
637 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
638 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
639 * sysdeps/s390/multiarch/wcscat.c: Move to ...
640 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
641 * sysdeps/s390/ifunc-wcscat.h: New file.
642
c3081bcb
SL
6432018-12-18 Stefan Liebler <stli@linux.ibm.com>
644
645 * sysdeps/s390/multiarch/Makefile
646 (sysdep_routines): Remove wcpncpy variants.
647 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
648 * sysdeps/s390/multiarch/ifunc-impl-list.c
649 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
650 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
651 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
652 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
653 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
654 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
655 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
656 * sysdeps/s390/ifunc-wcpncpy.h: New file.
657
0966dd86
SL
6582018-12-18 Stefan Liebler <stli@linux.ibm.com>
659
660 * sysdeps/s390/multiarch/Makefile
661 (sysdep_routines): Remove wcsncpy variants.
662 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
663 * sysdeps/s390/multiarch/ifunc-impl-list.c
664 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
665 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
666 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
667 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
668 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
669 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
670 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
671 * sysdeps/s390/ifunc-wcsncpy.h: New file.
672
0582e428
SL
6732018-12-18 Stefan Liebler <stli@linux.ibm.com>
674
675 * sysdeps/s390/multiarch/Makefile
676 (sysdep_routines): Remove wcpcpy variants.
677 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
678 * sysdeps/s390/multiarch/ifunc-impl-list.c
679 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
680 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
681 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
682 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
683 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
684 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
685 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
686 * sysdeps/s390/ifunc-wcpcpy.h: New file.
687
804f2e5c
SL
6882018-12-18 Stefan Liebler <stli@linux.ibm.com>
689
690 * sysdeps/s390/multiarch/Makefile
691 (sysdep_routines): Remove wcscpy variants.
692 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
693 * sysdeps/s390/multiarch/ifunc-impl-list.c
694 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
695 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
696 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
697 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
698 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
699 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
700 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
701 * sysdeps/s390/ifunc-wcscpy.h: New file.
702
c7e7cd26
SL
7032018-12-18 Stefan Liebler <stli@linux.ibm.com>
704
705 * sysdeps/s390/multiarch/Makefile
706 (sysdep_routines): Remove wcsnlen variants.
707 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
708 * sysdeps/s390/multiarch/ifunc-impl-list.c
709 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
710 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
711 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
712 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
713 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
714 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
715 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
716 * sysdeps/s390/ifunc-wcsnlen.h: New file.
717
2e02d0b7
SL
7182018-12-18 Stefan Liebler <stli@linux.ibm.com>
719
720 * sysdeps/s390/multiarch/Makefile
721 (sysdep_routines): Remove wcslen variants.
722 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
723 * sysdeps/s390/multiarch/ifunc-impl-list.c
724 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
725 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
726 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
727 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
728 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
729 * sysdeps/s390/multiarch/wcslen.c: Move to ...
730 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
731 * sysdeps/s390/ifunc-wcslen.h: New file.
732
89bfcbdf
SL
7332018-12-18 Stefan Liebler <stli@linux.ibm.com>
734
735 * sysdeps/s390/multiarch/Makefile
736 (sysdep_routines): Remove memrchr variants.
737 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
738 * sysdeps/s390/multiarch/ifunc-impl-list.c
739 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
740 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
741 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
742 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
743 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
744 * sysdeps/s390/multiarch/memrchr.c: Move to ...
745 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
746 * sysdeps/s390/ifunc-memrchr.h: New file.
747
196655ba
SL
7482018-12-18 Stefan Liebler <stli@linux.ibm.com>
749
750 * sysdeps/s390/multiarch/Makefile
751 (sysdep_routines): Remove memccpy variants.
752 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
753 * sysdeps/s390/multiarch/ifunc-impl-list.c
754 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
755 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
756 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
757 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
758 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
759 * sysdeps/s390/multiarch/memccpy.c: Move to ...
760 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
761 * sysdeps/s390/ifunc-memccpy.h: New file.
762
4c7b3cec
SL
7632018-12-18 Stefan Liebler <stli@linux.ibm.com>
764
765 * sysdeps/s390/multiarch/Makefile
766 (sysdep_routines): Remove rawmemchr variants.
767 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
768 * sysdeps/s390/multiarch/ifunc-impl-list.c
769 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
770 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
771 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
772 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
773 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
774 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
775 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
776 * sysdeps/s390/ifunc-rawmemchr.h: New file.
777
581a051c
SL
7782018-12-18 Stefan Liebler <stli@linux.ibm.com>
779
780 * sysdeps/s390/multiarch/Makefile
781 (sysdep_routines): Remove memchr variants.
782 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
783 * sysdeps/s390/multiarch/ifunc-impl-list.c
784 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
785 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
786 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
787 * sysdeps/s390/multiarch/memchr.c: Move to ...
788 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
789 * sysdeps/s390/ifunc-memchr.h: New file.
790 * sysdeps/s390/s390-64/memchr.S: Move to ...
791 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
792 for 31/64bit and ifunc handling.
793 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
794 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
795 * sysdeps/s390/s390-32/memchr.S: Likewise.
796
5d2ec20a
SL
7972018-12-18 Stefan Liebler <stli@linux.ibm.com>
798
799 * sysdeps/s390/multiarch/Makefile
800 (sysdep_routines): Remove strcspn variants.
801 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
802 * sysdeps/s390/multiarch/ifunc-impl-list.c
803 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
804 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
805 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
806 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
807 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
808 * sysdeps/s390/multiarch/strcspn.c: Move to ...
809 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
810 * sysdeps/s390/ifunc-strcspn.h: New file.
811
572cca93
SL
8122018-12-18 Stefan Liebler <stli@linux.ibm.com>
813
814 * sysdeps/s390/multiarch/Makefile
815 (sysdep_routines): Remove strpbrk variants.
816 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
817 * sysdeps/s390/multiarch/ifunc-impl-list.c
818 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
819 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
820 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
821 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
822 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
823 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
824 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
825 * sysdeps/s390/ifunc-strpbrk.h: New file.
826
483fc569
SL
8272018-12-18 Stefan Liebler <stli@linux.ibm.com>
828
829 * sysdeps/s390/multiarch/Makefile
830 (sysdep_routines): Remove strspn variants.
831 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
832 * sysdeps/s390/multiarch/ifunc-impl-list.c
833 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
834 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
835 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
836 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
837 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
838 * sysdeps/s390/multiarch/strspn.c: Move to ...
839 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
840 * sysdeps/s390/ifunc-strspn.h: New file.
841
26ea8760
SL
8422018-12-18 Stefan Liebler <stli@linux.ibm.com>
843
844 * sysdeps/s390/multiarch/Makefile
845 (sysdep_routines): Remove strrchr variants.
846 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
847 * sysdeps/s390/multiarch/ifunc-impl-list.c
848 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
849 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
850 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
851 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
852 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
853 * sysdeps/s390/multiarch/strrchr.c: Move to ...
854 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
855 * sysdeps/s390/ifunc-strrchr.h: New file.
856
a1361e65
SL
8572018-12-18 Stefan Liebler <stli@linux.ibm.com>
858
859 * sysdeps/s390/multiarch/Makefile
860 (sysdep_routines): Remove strchrnul variants.
861 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
862 * sysdeps/s390/multiarch/ifunc-impl-list.c
863 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
864 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
865 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
866 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
867 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
868 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
869 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
870 * sysdeps/s390/ifunc-strchrnul.h: New file.
871
32f12653
SL
8722018-12-18 Stefan Liebler <stli@linux.ibm.com>
873
874 * sysdeps/s390/multiarch/Makefile
875 (sysdep_routines): Remove strchr variants.
876 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
877 * sysdeps/s390/multiarch/ifunc-impl-list.c
878 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
879 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
880 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
881 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
882 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
883 * sysdeps/s390/multiarch/strchr.c: Move to ...
884 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
885 * sysdeps/s390/ifunc-strchr.h: New file.
886
316b8842
SL
8872018-12-18 Stefan Liebler <stli@linux.ibm.com>
888
889 * sysdeps/s390/multiarch/Makefile
890 (sysdep_routines): Remove strncmp variants.
891 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
892 * sysdeps/s390/multiarch/ifunc-impl-list.c
893 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
894 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
895 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
896 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
897 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
898 * sysdeps/s390/multiarch/strncmp.c: Move to ...
899 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
900 * sysdeps/s390/ifunc-strncmp.h: New file.
901
cdab85fe
SL
9022018-12-18 Stefan Liebler <stli@linux.ibm.com>
903
904 * sysdeps/s390/multiarch/Makefile
905 (sysdep_routines): Remove strcmp variants.
906 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
907 * sysdeps/s390/multiarch/ifunc-impl-list.c
908 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
909 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
910 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
911 * sysdeps/s390/multiarch/strcmp.c: Move to ...
912 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
913 * sysdeps/s390/ifunc-strcmp.h: New file.
914 * sysdeps/s390/s390-64/strcmp.S: Move to ...
915 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
916 for 31/64bit and ifunc handling.
917 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
918 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
919 * sysdeps/s390/s390-32/strcmp.S: Likewise.
920
b9353351
SL
9212018-12-18 Stefan Liebler <stli@linux.ibm.com>
922
923 * sysdeps/s390/multiarch/Makefile
924 (sysdep_routines): Remove strncat variants.
925 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
926 * sysdeps/s390/multiarch/ifunc-impl-list.c
927 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
928 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
929 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
930 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
931 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
932 * sysdeps/s390/multiarch/strncat.c: Move to ...
933 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
934 * sysdeps/s390/ifunc-strncat.h: New file.
935
8e5a0afb
SL
9362018-12-18 Stefan Liebler <stli@linux.ibm.com>
937
938 * sysdeps/s390/multiarch/Makefile
939 (sysdep_routines): Remove strcat variants.
940 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
941 * sysdeps/s390/multiarch/ifunc-impl-list.c
942 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
943 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
944 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
945 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
946 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
947 * sysdeps/s390/multiarch/strcat.c: Move to ...
948 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
949 * sysdeps/s390/ifunc-strcat.h: New file.
950
25218822
SL
9512018-12-18 Stefan Liebler <stli@linux.ibm.com>
952
953 * sysdeps/s390/multiarch/Makefile
954 (sysdep_routines): Remove stpncpy variants.
955 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
956 * sysdeps/s390/multiarch/ifunc-impl-list.c
957 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
958 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
959 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
960 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
961 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
962 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
963 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
964 * sysdeps/s390/ifunc-stpncpy.h: New file.
965
d1bdbf38
SL
9662018-12-18 Stefan Liebler <stli@linux.ibm.com>
967
968 * sysdeps/s390/multiarch/Makefile
969 (sysdep_routines): Remove strncpy variants.
970 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
971 * sysdeps/s390/multiarch/ifunc-impl-list.c
972 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
973 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
974 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
975 * sysdeps/s390/multiarch/strncpy.c: Move to ...
976 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
977 * sysdeps/s390/ifunc-strncpy.h: New file.
978 * sysdeps/s390/s390-64/strncpy.S: Move to ...
979 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
980 and adjust ifunc handling.
981 * sysdeps/s390/s390-32/strncpy.S: Move to ...
982 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
983 and adjust ifunc handling.
984 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
985 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
986
97044931
SL
9872018-12-18 Stefan Liebler <stli@linux.ibm.com>
988
989 * sysdeps/s390/multiarch/Makefile
990 (sysdep_routines): Remove stpcpy variants.
991 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
992 * sysdeps/s390/multiarch/ifunc-impl-list.c
993 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
994 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
995 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
996 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
997 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
998 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
999 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
1000 * sysdeps/s390/ifunc-stpcpy.h: New file.
1001
914a4e05
SL
10022018-12-18 Stefan Liebler <stli@linux.ibm.com>
1003
1004 * sysdeps/s390/multiarch/Makefile
1005 (sysdep_routines): Remove strcpy variants.
1006 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
1007 * sysdeps/s390/multiarch/ifunc-impl-list.c
1008 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
1009 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
1010 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
1011 * sysdeps/s390/multiarch/strcpy.c: Move to ...
1012 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
1013 * sysdeps/s390/ifunc-strcpy.h: New file.
1014 * sysdeps/s390/s390-64/strcpy.S: Move to ...
1015 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
1016 for 31/64bit and ifunc handling.
1017 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
1018 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
1019 * sysdeps/s390/s390-32/strcpy.S: Likewise.
1020
de10e44d
SL
10212018-12-18 Stefan Liebler <stli@linux.ibm.com>
1022
1023 * sysdeps/s390/multiarch/Makefile
1024 (sysdep_routines): Remove strnlen variants.
1025 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
1026 * sysdeps/s390/multiarch/ifunc-impl-list.c
1027 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
1028 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
1029 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
1030 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
1031 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
1032 * sysdeps/s390/multiarch/strnlen.c: Move to ...
1033 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
1034 * sysdeps/s390/ifunc-strnlen.h: New file.
1035
ff3ca374
SL
10362018-12-18 Stefan Liebler <stli@linux.ibm.com>
1037
1038 * sysdeps/s390/multiarch/Makefile
1039 (sysdep_routines): Remove strlen variants.
1040 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
1041 * sysdeps/s390/multiarch/ifunc-impl-list.c
1042 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
1043 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
1044 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
1045 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
1046 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
1047 * sysdeps/s390/multiarch/strlen.c: Move to ...
1048 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
1049 * sysdeps/s390/ifunc-strlen.h: New file.
1050
d2c4c403
SL
10512018-12-18 Stefan Liebler <stli@linux.ibm.com>
1052
1053 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
1054 * sysdeps/s390/multiarch/ifunc-impl-list.c
1055 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
1056 * sysdeps/s390/ifunc-memmem.h: New file.
1057 * sysdeps/s390/memmem.c: Likewise.
1058 * sysdeps/s390/memmem-c.c: Likewise.
1059 * sysdeps/s390/memmem-vx.c: Likewise.
1060
8c25dddd
SL
10612018-12-18 Stefan Liebler <stli@linux.ibm.com>
1062
1063 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
1064 * sysdeps/s390/multiarch/ifunc-impl-list.c
1065 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
1066 * sysdeps/s390/ifunc-strstr.h: New file.
1067 * sysdeps/s390/strstr.c: Likewise.
1068 * sysdeps/s390/strstr-c.c: Likewise.
1069 * sysdeps/s390/strstr-vx.c: Likewise.
1070
cdd927d9
SL
10712018-12-18 Stefan Liebler <stli@linux.ibm.com>
1072
1073 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
1074 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
1075 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
1076 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
1077 New defines.
1078 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
1079 * sysdeps/s390/memmove-c.c: New file.
1080 * sysdeps/s390/memmove.c: Likewise.
1081 * sysdeps/s390/multiarch/ifunc-impl-list.c
1082 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
1083
2ee1bc57
SL
10842018-12-18 Stefan Liebler <stli@linux.ibm.com>
1085
1086 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
1087 * sysdeps/s390/configure.ac: Add check for z13 support.
1088 * sysdeps/s390/configure: Regenerated.
1089
d097d976
SL
10902018-12-18 Stefan Liebler <stli@linux.ibm.com>
1091
1092 * sysdeps/s390/memcopy.h: New file.
1093
e099aab0
SL
10942018-12-18 Stefan Liebler <stli@linux.ibm.com>
1095
1096 * sysdeps/s390/s390-32/bcopy.S: Remove.
1097 * sysdeps/s390/s390-64/bcopy.S: Likewise.
1098
18eb862d
SL
10992018-12-18 Stefan Liebler <stli@linux.ibm.com>
1100
1101 * sysdeps/s390/ifunc-memcpy.h: New File.
1102 * sysdeps/s390/memcpy.S: Move to ...
1103 * sysdeps/s390/memcpy-z900.S ... here.
1104 Move implementations from memcpy-s390x.s to here.
1105 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
1106 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
1107 Remove memcpy/mempcpy variants.
1108 * sysdeps/s390/Makefile (sysdep_routines):
1109 Add memcpy/mempcpy variants.
1110 * sysdeps/s390/multiarch/ifunc-impl-list.c
1111 (__libc_ifunc_impl_list): Adjust ifunc variants for
1112 memcpy and mempcpy.
1113 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
1114 to ...
1115 * sysdeps/s390/memcpy.c: ... here.
1116 Adjust ifunc variants for memcpy.
1117 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
1118 * sysdeps/s390/mempcpy.c: ... here.
1119 Adjust ifunc variants for mempcpy.
1120 * sysdeps/s390/mempcpy.S: Delete file.
1121
df3eb8de
SL
11222018-12-18 Stefan Liebler <stli@linux.ibm.com>
1123
1124 * sysdeps/s390/s390-64/memcpy.S: Move to ...
1125 * sysdeps/s390/memcpy.S: ... here.
1126 Adjust to be usable for 31/64bit.
1127 * sysdeps/s390/s390-32/memcpy.S: Delete File.
1128 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
1129 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
1130 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
1131 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
1132 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
1133 Adjust to be usable for 31/64bit.
1134 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
1135 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
1136 * sysdeps/s390/multiarch/memcpy.c: ... here.
1137 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
1138
b7e024a8
SL
11392018-12-18 Stefan Liebler <stli@linux.ibm.com>
1140
1141 * sysdeps/s390/ifunc-memcmp.h: New File.
1142 * sysdeps/s390/memcmp.S: Move to ...
1143 * sysdeps/s390/memcmp-z900.S ... here.
1144 Move implementations from memcmp-s390x.s to here.
1145 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
1146 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
1147 Remove memcmp variants.
1148 * sysdeps/s390/Makefile (sysdep_routines):
1149 Add memcmp variants.
1150 * sysdeps/s390/multiarch/ifunc-impl-list.c
1151 (__libc_ifunc_impl_list): Adjust ifunc variants for
1152 memcmp.
1153 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
1154 to ...
1155 * sysdeps/s390/memcmp.c: ... here.
1156 Adjust ifunc variants for memcmp.
1157
6c6b8c74
SL
11582018-12-18 Stefan Liebler <stli@linux.ibm.com>
1159
1160 * sysdeps/s390/s390-64/memcmp.S: Move to ...
1161 * sysdeps/s390/memcmp.S: ... here.
1162 Adjust to be usable for 31/64bit.
1163 * sysdeps/s390/s390-32/memcmp.S: Delete File.
1164 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
1165 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
1166 Remove memcmp.
1167 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
1168 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
1169 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
1170 Adjust to be usable for 31/64bit.
1171 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
1172 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
1173 * sysdeps/s390/multiarch/memcmp.c: ... here.
1174 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
1175
07be3928
SL
11762018-12-18 Stefan Liebler <stli@linux.ibm.com>
1177
1178 * sysdeps/s390/s390-32/bzero.S: Delete file.
1179 * sysdeps/s390/s390-64/bzero.S: Likewise.
1180 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
1181 * sysdeps/s390/bzero.c: New file.
1182 * sysdeps/s390/memset-z900.S: Add bzero entry points.
1183 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
1184 * sysdeps/s390/multiarch/ifunc-impl-list.c
1185 (__libc_ifunc_impl_list): Add bzero ifunc variants.
1186
712a254a
SL
11872018-12-18 Stefan Liebler <stli@linux.ibm.com>
1188
1189 * sysdeps/s390/ifunc-memset.h: New File.
1190 * sysdeps/s390/memset.S: Move to ...
1191 * sysdeps/s390/memset-z900.S ... here.
1192 Move implementations from memset-s390x.s to here.
1193 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
1194 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
1195 Remove memset variants.
1196 * sysdeps/s390/Makefile (sysdep_routines):
1197 Add memset variants.
1198 * sysdeps/s390/multiarch/ifunc-impl-list.c
1199 (__libc_ifunc_impl_list): Adjust ifunc variants for
1200 memset.
1201 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
1202 to ...
1203 * sysdeps/s390/memset.c: ... here.
1204 Adjust ifunc variants for memset.
1205
5f1743d1
SL
12062018-12-18 Stefan Liebler <stli@linux.ibm.com>
1207
1208 * sysdeps/s390/s390-64/memset.S: Move to ...
1209 * sysdeps/s390/memset.S: ... here.
1210 Adjust to be usable for 31/64bit.
1211 * sysdeps/s390/s390-32/memset.S: Delete File.
1212 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
1213 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
1214 Remove memset.
1215 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
1216 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
1217 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
1218 Adjust to be usable for 31/64bit.
1219 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
1220 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
1221 * sysdeps/s390/multiarch/memset.c: ... here.
1222 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
1223
e8023f26
SL
12242018-12-18 Stefan Liebler <stli@linux.ibm.com>
1225
1226 * sysdeps/s390/multiarch/ifunc-resolve.h
1227 (s390_libc_ifunc_init, s390_libc_ifunc,
1228 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
1229
b8686c0d
SL
12302018-12-18 Stefan Liebler <stli@linux.ibm.com>
1231
1232 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
1233 * sysdeps/s390/configure.ac: Add check for z10 support.
1234 * sysdeps/s390/configure: Regenerated.
1235
cd815050
L
12362018-12-18 H.J. Lu <hongjiu.lu@intel.com>
1237
1238 * sysdeps/i386/atomic-machine.h: Merged with ...
1239 * sysdeps/x86_64/atomic-machine.h: To ...
1240 * sysdeps/x86/atomic-machine.h: This. New file.
1241
053c52b1
FW
12422018-12-18 Florian Weimer <fweimer@redhat.com>
1243
1244 Rewrite locale/gen-translit.pl in Python.
1245 * locale/Makefile (generated): Add C-translit.h.
1246 (before-compile): Add $(objpfx)C-translit.h.
1247 (C-translit.h): Move to $(objpfx). Create target directory.
1248 Build using Python script.
1249 * locale/gen-translit.py: New file.
1250 * locale/gen-translit.pl: Remove file.
1251 * locale/C-translit.h.in: Change comment character to '#' for
1252 easier parsing without a C preprocessor.
1253 * locale/C-translit.h: Remove generated file.
1254 * manual/install.texi (Tools for Compilation): Do not mention
1255 C-translit.h.
1256 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
1257 Remove locale/C-translit.h.
1258 * scripts/update-copyrights: Likewise.
1259 * INSTALL: Regenerate.
1260
40e6c1ec
FW
12612018-12-18 Florian Weimer <fweimer@redhat.com>
1262
1263 [BZ #23995]
1264 * localedata/locales/bi_VU: Remove executable bit from file.
1265
6e15f3e2
AA
12662018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
1267
1268 * include/time.h
1269 (__localtime64): Add.
1270 * manual/maint.texi: Document Y2038 symbol handling.
1271 * time/localtime.c
1272 (__localtime64): Add.
bfb79db4 1273 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
6e15f3e2 1274
df648905
JM
12752018-12-17 Joseph Myers <joseph@codesourcery.com>
1276
551e81d9
JM
1277 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
1278 Do not clobber r12.
1279
df648905
JM
1280 * scripts/glibcextract.py (compare_macro_consts): Take parameters
1281 to allow extra macros from first or second sources.
1282 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
1283 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
1284 (tests-special): Add $(objpfx)tst-mman-consts.out.
1285 ($(objpfx)tst-mman-consts.out): New makefile target.
1286
6bbfc5c0
MH
12872018-12-17 Mao Han <han_mao@c-sky.com>
1288
1289 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
1290 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
1291 without stat64 system call support.
1292 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
1293 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
1294 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
1295 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
1296 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
1297 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
1298 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
1299 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
1300 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
1301 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
1302 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
1303
ef202e53
PE
13042018-12-15 Paul Eggert <eggert@cs.ucla.edu>
1305
1306 regex: fix storage-exhaustion error
1307 [BZ #18040]
1308 * posix/regexec.c (get_subexp):
1309 Do not continue if storage is exhausted.
1310
077caf61
AG
13112018-12-15 Assaf Gordon <assafgordon@gmail.com>
1312
1313 regex: fix heap-use-after-free error
1314 [BZ #18040]
1315 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
1316 https://debbugs.gnu.org/32592
1317 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
1318 call extend_buffers which reallocates the re_string_t internal buffer.
1319 Local variable 'buf' was not updated in such case, resulting in
1320 use-after-free.
1321 * posix/regexec.c (get_subexp): Update 'buf' after call to
1322 get_subexp_sub.
1323
0c1719e6
FW
13242018-12-15 Florian Weimer <fweimer@redhat.com>
1325
1326 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
1327 (minimum_stride_size): Use it.
1328 (support_blob_repeat_allocate): Likewise.
1329
033a2c0a
JM
13302018-12-14 Joseph Myers <joseph@codesourcery.com>
1331
1332 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
1333 definition.
1334 (acosh): Likewise.
1335 (atanh): Likewise.
1336
e361dc04
FW
13372018-12-14 Florian Weimer <fweimer@redhat.com>
1338
1339 * manual/process.texi (Process Creation Concepts): Remove
1340 documentation of process (ID) lifetime. List more process
1341 creation functions. Reference Process Identification section.
1342 (Process Identification): Add information about process ID
1343 lifetime. Describe Linux thread/task IDs.
1344 * manual/signal.texi (Signaling Another Process): Mention that the
1345 signal is always sent to the process.
1346
bd51ff5e
GG
13472018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1348
1349 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
1350 and tst-ldbl-efgcvt.
1351 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
1352 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
1353 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
1354 (fcvt_tests, output_error, output_r_error, do_test): Use the
1355 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
1356 select the type of floating-point variables and arguments; to
1357 produce extra tests for double and conversion specifiers for
1358 printf; and to set the names of called functions.
1359 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
1360 in tst-efgcvt-template.c.
1361 * misc/tst-ldbl-efgcvt.c: Likewise.
1362
268bb71e
SL
13632018-12-14 Stefan Liebler <stli@linux.ibm.com>
1364
1365 * nss/Makefile (tst-nss-test3.out): New rule.
1366
db6df070
JM
13672018-12-13 Joseph Myers <joseph@codesourcery.com>
1368
1369 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
1370 clobber sp.
1371
ade8b817
CD
13722018-12-13 fanjinke <fanjinke@hygon.cn>
1373
1374 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
1375 "HygonGenuine".
1376
3d265911
AS
13772018-12-13 Andreas Schwab <schwab@suse.de>
1378
f21e8f8c 1379 [BZ #23861]
3d265911 1380 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
f21e8f8c
AS
1381 (__pthread_rwlock_rdlock_full): Update expected value for
1382 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
1383 * nptl/tst-rwlock-pwn.c: New file.
1384 * nptl/Makefile (tests): Add tst-rwlock-pwn.
3d265911 1385
bf8ae8c0
JM
13862018-12-12 Joseph Myers <joseph@codesourcery.com>
1387
1388 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
1389 definition.
1390
de099757
LS
13912018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
1392
1393 * benchtests/scripts/compare_bench.py (do_compare): write to
1394 stderr in casestat is not present.
1395 * benchtests/scripts/compare_bench.py (plot_graphs): write to
1396 stderr in case timings field is not present. Also string showing
1397 the output filename goes into the stderr.
1398
1990185f
LS
13992018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
1400
1401 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
1402 and ZeroDivisorError exceptions.
1403 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
1404 argument to loop through user provided statistics.
1405 * benchtests/scripts/compare_bench.py (main): Include the --stats
1406 argument.
1407
587426d4
LS
14082018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
1409
1410 * benchtests/scripts/compare_bench.py (compare_runs): Continue
1411 instead of return.
1412
46703efa
FW
14132018-12-12 Florian Weimer <fweimer@redhat.com>
1414
1415 * sysdeps/posix/timespec_get.c: Add missing “any later version”
1416 clause to copyright header.
1417
1d880d4a
TMQMF
14182018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
1419
1420 [BZ #23614]
1421 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
1422 registers saved in the stack frame.
1423 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
1424 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
1425
1a502f52
GG
14262018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1427
1428 * include/bits/monetary-ldbl.h: New file.
1429 * include/bits/printf-ldbl.h: Likewise.
1430 * include/bits/stdio-ldbl.h: Likewise.
1431 * include/bits/stdlib-ldbl.h: Likewise.
1432 * include/bits/syslog-ldbl.h: Likewise.
1433 * include/bits/wchar-ldbl.h: Likewise.
1434
df682d1d
GG
14352018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1436
1437 * libio/libio.h: Remove redirection for _IO_vfprintf.
1438
c2c082c1
AS
14392018-12-11 Andreas Schwab <schwab@suse.de>
1440
1441 * Makerules: Remove all references to abilist-pattern.
1442 (update-all-abi): Simplify find expression.
1443
505b5b29
SN
14442018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
1445
1446 [BZ #23961]
1447 * math/auto-libm-test-in: Add new test case.
1448 * math/auto-libm-test-out-pow: Regenerated.
1449 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
1450
304c61a2
DD
14512018-12-10 DJ Delorie <dj@redhat.com>
1452
1453 [BZ #23948]
1454 * support/test-container.c: Move postclean step to before we
1455 change namespaces.
1456
a8110b72
JM
14572018-12-10 Joseph Myers <joseph@codesourcery.com>
1458
cb7be159
JM
1459 * scripts/gen-as-const.py (main): Handle --python option.
1460 * scripts/gen-py-const.awk: Remove.
1461 * Makerules (py-const-script): Use gen-as-const.py.
1462 ($(py-const)): Likewise.
1463 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
1464 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
1465 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
1466 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
1467 ~PTHREAD_MUTEX_NO_ELISION_NP.
1468 * manual/README.pretty-printers: Update reference to
1469 gen-py-const.awk.
1470
a8110b72
JM
1471 * scripts/glibcextract.py: New file.
1472 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
1473 or tempfile. Import glibcexctract.
1474 (compute_c_consts): Remove. Moved to glibcextract.py.
1475 (gen_test): Update reference to compute_c_consts.
1476 (main): Likewise.
1477 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
1478 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
1479 * sysdeps/unix/sysv/linux/Makefile
1480 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
1481 Redirect stderr as well as stdout.
1482
f9ba9eb8
RÁE
14832018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
1484
1485 [BZ #19767]
1486 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
1487 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
1488 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
1489 ALWAYS_USE_VSYSCALL.
1490 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
1491 ALWAYS_USE_VSYSCALL.
1492 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
1493 ALWAYS_USE_VSYSCALL.
1494
8d20a2f4
FW
14952018-12-10 Florian Weimer <fweimer@redhat.com>
1496
1497 [BZ #23972]
1498 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
1499 offset instead of count for clarity. Fix typo in comment.
1500 (__old_getdents64): Keep track of previous offset. Use it to call
1501 handle_overflow.
1502 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
1503 that d_off is never zero.
1504
80472e2f
AS
15052018-12-10 Andreas Schwab <schwab@suse.de>
1506
1507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
1508 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
1509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
1510 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
1511 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
1512
0afcb29d
JM
15132018-12-10 Joseph Myers <joseph@codesourcery.com>
1514
1515 * timezone/private.h: Update from tzcode 2018g.
1516 * timezone/tzfile.h: Likewise.
1517 * timezone/tzselect.ksh: Likewise.
1518 * timezone/zdump.c: Likewise.
1519 * timezone/zic.c: Likewise.
1520
b93f4052
PP
15212018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
1522
1523 [BZ #23490]
1524 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
1525 (do_test): Adjust buffer size and fix format.
1526
7c9a7c68
DD
15272018-12-07 DJ Delorie <dj@redhat.com>
1528
1529 [BZ #23907]
1530 * malloc/tst-tcfree3.c: New.
1531 * malloc/Makefile: Add it.
1532
37caec3a
L
15332018-12-07 H.J. Lu <hongjiu.lu@intel.com>
1534
1535 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
1536
10446f5d
GG
15372018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1538
1539 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
1540 used as a mask for the mode argument of __vfscanf_internal and
1541 __vfwscanf_internal.
1542 * stdio-common/vfscanf-internal.c
1543 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
1544 (__strtof128_internal): Define to __wcstof128_internal.
1545 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
1546 __strtof128_internal or __wcstof128_internal when the format of
1547 long double is the same as _Float128.
1548
45f33aac
ST
15492018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
1550
1551 * include/unistd.h (__confstr): Add prototype and hidden prototype.
1552 * posix/confstr.c (confstr): Rename to __confstr.
1553 (__confstr): Add hidden def.
1554 (confstr): Add weak alias for __confstr.
1555 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
1556 confstr.
1557
a092ca94
L
15582018-12-07 H.J. Lu <hongjiu.lu@intel.com>
1559
1560 * NEWS: Mention getcpu.
1561 * include/sched.h (__getcpu): New libc_hidden_proto.
1562 * manual/resource.texi: Document getcpu.
1563 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
1564 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
1565 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
1566 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1567 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
1568 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1569 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1570 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1571 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1572 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1573 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1574 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1575 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
1576 Likewise.
1577 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1578 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1579 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
1580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1581 Likewise.
1582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1583 Likewise.
1584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1585 Likewise.
1586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
1587 Likewise.
1588 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
1589 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1590 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1591 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1592 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1593 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1594 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1595 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1596 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
1597 * sysdeps/unix/sysv/linux/getcpu.c: New file.
1598 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
1599 Also check getcpu.
1600
7c857b6f
ST
16012018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
1602
1603 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
1604 functions.
1605 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
1606
3a3fb755
FW
16072018-12-07 Florian Weimer <fweimer@redhat.com>
1608
1609 [BZ #17405]
1610 * posix/Makefile (routines): Add spawn_faction_addfchdir.
1611 * posix/Versions (GLIBC_2.29): Export
1612 posix_spawn_file_actions_addfchdir_np.
1613 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
1614 * posix/spawn_faction_destroy.c
1615 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
1616 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
1617 and the field action.fchdir_action.
1618 * posix/tst-spawn-chdir.c (add_chdir): New function.
1619 (do_test): Add do_fchdir loop. Call add_chdir.
1620 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
1621 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
1622 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
1623 posix_spawn_file_actions_addfchdir_np.
1624 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
1625 Likewise.
1626 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
1627 Likewise.
1628 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
1629 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
1630 Likewise.
1631 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
1632 Likewise.
1633 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
1634 Likewise.
1635 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
1636 Likewise.
1637 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
1638 Likewise.
1639 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
1640 Likewise.
1641 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1642 (GLIBC_2.29): Likewise.
1643 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1644 (GLIBC_2.29): Likewise.
1645 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1646 (GLIBC_2.29): Likewise.
1647 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1648 (GLIBC_2.29): Likewise.
1649 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
1650 Likewise.
1651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1652 (GLIBC_2.29): Likewise.
1653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1654 (GLIBC_2.29): Likewise.
1655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
1656 (GLIBC_2.29): Likewise.
1657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
1658 (GLIBC_2.29): Likewise.
1659 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
1660 Likewise.
1661 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
1662 Likewise.
1663 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
1664 Likewise.
1665 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
1666 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
1667 Likewise.
1668 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
1669 Likewise.
1670 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
1671 Likewise.
1672 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
1673 Likewise.
1674
c37cd439
JM
16752018-12-06 Joseph Myers <joseph@codesourcery.com>
1676
1677 * manual/texinfo.tex: Update to version 2018-09-21.20 with
1678 trailing whitespace removed.
1679 * scripts/config.guess: Update to version 2018-11-28.
1680 * scripts/config.sub: Update to version 2018-11-28.
1681 * scripts/install-sh: Update to version 2018-03-11.20.
1682 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
1683 * scripts/move-if-change: Update to version 2018-03-07 03:47.
1684
899478c2
FW
16852018-12-07 Florian Weimer <fweimer@redhat.com>
1686
1687 [BZ #23927]
1688 CVE-2018-19591
1689 * inet/tst-if_index-long.c: New file.
1690 * inet/Makefile (tests): Add tst-if_index-long.
1691
f255336a
FW
16922018-12-07 Florian Weimer <fweimer@redhat.com>
1693
1694 * support/check.h (support_record_failure_is_failed): Declare.
1695 * support/descriptors.h: New file.
1696 * support/support_descriptors.c: Likewise.
1697 * support/tst-support_descriptors.c: Likewise.
1698 * support/support_record_failure.c
1699 (support_record_failure_is_failed): New function.
1700 * support/Makefile (libsupport-routines): Add support_descriptors.
1701 (tests): Add tst-support_descriptors.
1702
35caceb1
ZW
17032018-12-05 Zack Weinberg <zackw@panix.com>
1704 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1705
1706 * stdio-common/vfprintf-internal.c
1707 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
1708 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
1709 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
1710 and __no_long_double.
1711 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
1712 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
1713 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
1714 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
1715 and __nldbl_*syslog* functions.
1716 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
1717 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
1718 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
1719 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
1720 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
1721 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
1722 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
1723 (__nldbl_vwprintf, __nldbl_wprintf):
1724 Directly call the appropriate __v*printf_internal routine, passing
1725 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
1726 variable names.
1727 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
1728 (__nldbl___printf_chk, __nldbl___snprintf_chk)
1729 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
1730 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
1731 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
1732 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
1733 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
1734 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
1735 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
1736 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
1737 Likewise, and also pass PRINTF_FORTIFY when appropriate.
1738 (__nldbl_syslog, __nldbl_vsyslog):
1739 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
1740 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
1741 appropriate.
1742 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
1743 appropriate.
1744
4e2f43f8
ZW
17452018-12-05 Zack Weinberg <zackw@panix.com>
1746 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1747
1748 [BZ #11319]
1749 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
1750 Moved here from debug/vsprintf_chk.c.
1751 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
1752 and completion logic for the strfile to match exactly what
1753 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
1754 _IO_str_init_static_internal instead of maxlen-1.
1755 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
1756 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
1757 __vsprintf_internal.
1758
1759 * debug/vsprintf_chk.c (__vsprintf_chk)
1760 * debug/sprintf_chk.c (__sprintf_chk):
1761 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
1762 'flags' argument is positive, and slen as maxlen. No need to lock
1763 the FILE and/or construct a temporary FILE. Minimize and normalize
1764 header inclusions and variable names. Do not libc_hidden_def anything.
1765
1766 * debug/asprintf_chk.c (__asprintf_chk)
1767 * debug/dprintf_chk.c (__dprintf_chk)
1768 * debug/fprintf_chk.c (__fprintf_chk)
1769 * debug/fwprintf_chk.c (__fwprintf_chk)
1770 * debug/printf_chk.c (__printf_chk)
1771 * debug/snprintf_chk.c (__snprintf_chk)
1772 * debug/swprintf_chk.c (__swprintf_chk)
1773 * debug/vasprintf_chk.c (__vasprintf_chk)
1774 * debug/vdprintf_chk.c (__vdprintf_chk)
1775 * debug/vfprintf_chk.c (__vfprintf_chk)
1776 * debug/vfwprintf_chk.c (__vfwprintf_chk)
1777 * debug/vprintf_chk.c (__vprintf_chk)
1778 * debug/vsnprintf_chk.c (__vsnprintf_chk)
1779 * debug/vswprintf_chk.c (__vswprintf_chk)
1780 * debug/vwprintf_chk.c (__vwprintf_chk)
1781 * debug/wprintf_chk.c (__wprintf_chk):
1782 Directly call the corresponding vxxprintf_internal function, passing
1783 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
1784 the FILE and/or construct a temporary FILE. Minimize and normalize
1785 header inclusions and variable names. Do not libc_hidden_def anything.
1786
1787 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
1788 __obstack_vprintf_internal.
1789 (__obstack_vprintf_chk): Convert into a wrapper that calls
1790 __obstack_vprintf_internal (these two functions already had the
1791 same code) and move to new file...
1792 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
1793 file.
1794 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
1795 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
1796 * debug/Makefile (routines): Add vobprintf_chk.
1797
1798 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
1799 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
1800 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
1801 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
1802 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
1803 (__nldbl___obstack_vfprintf_chk):
1804 Directly call the corresponding vxxprintf_internal function,
1805 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
1806 duplicate comparison of slen with 0 or maxlen from the corresponding
1807 non-__nldbl function.
1808
1809 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
1810 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
1811 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
1812 Remove libc_hidden_proto.
1813
1814 * stdio-common/vfprintf-internal.c
1815 (__vfprintf_internal, __vfwprintf_internal):
1816 Do not check _IO_FLAGS2_FORTIFY.
1817 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
1818 * libio/libioP.h: Update prototype of __vsprintf_internal and add
1819 a comment explaining why it has the maxlen argument.
1820 (_IO_acquire_lock_clear_flags2_fct): Remove.
1821 (_IO_acquire_lock_clear_flags2): Remove.
1822 (_IO_release_lock): Remove conditional statement which will
1823 now never execute.
1824 (_IO_acquire_lock): Remove variable which is now unused.
1825 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
1826 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
1827
1828 * stdio-common/Makefile (tests): Add tst-bz11319 and
1829 tst-bz11319-fortify2.
1830 (CFLAGS-tst-bz11319-fortify2.c): New macro.
1831 * stdio-common/tst-bz11319-fortify2.c: New file.
1832 * stdio-common/tst-bz11319.c: Likewise.
1833
124fc732
ZW
18342018-12-05 Zack Weinberg <zackw@panix.com>
1835 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1836
1837 * misc/syslog.c: Include libioP.h, not iolibio.h.
1838 (__vsyslog_internal): New function with the former body of
1839 __vsyslog_chk; takes mode_flags argument same as
1840 __v*printf_internal. Call __vfprintf_internal directly.
1841
1842 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
1843 Remove libc_hidden_def.
1844 (__syslog, __syslog_chk): Use __vsyslog_internal.
1845 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
1846
1847 * include/sys/syslog.h: Add multiple inclusion guard.
1848 Add prototype for __vsyslog_internal.
1849 Remove declaration and libc_hidden_proto for __vsyslog_chk.
1850
1851 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
1852 Use __vsyslog_internal.
1853
698fb75b
ZW
18542018-12-05 Zack Weinberg <zackw@panix.com>
1855 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1856
1857 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
1858 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
1859 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
1860 New functions.
1861 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
1862 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
1863
1864 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
1865 Include wctype.h here if COMPILE_WPRINTF is defined.
1866 Define __vfprintf_internal or __vfwprintf_internal, depending
1867 on COMPILE_WPRINTF.
1868 Temporarily, on entry to this function, update mode_flags
1869 according to the environmental settings corresponding to
1870 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
1871 Throughout, check mode_flags instead of __ldbl_is_dbl and
1872 _IO_FLAGS2_FORTIFY on the destination FILE.
1873 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
1874 Include vfprintf-internal.c. Don't include wctype.h.
1875 * stdio-common/vfprintf.c: New file. Just define __vfprintf
1876 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
1877 and vfprintf.
1878 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
1879 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
1880 and vfwprintf.
1881 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
1882
1883 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
1884 and add mode_flags argument; use __vfprintf_internal.
1885 (__vdprintf): New function. Alias vdprintf to this.
1886 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
1887 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
1888 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
1889 (__obstack_printf): Use __obstack_printf_internal.
1890 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
1891 public aliases __vsnprintf and vsnprintf.
1892 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
1893 called internally.
1894 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
1895 public aliases _IO_vsprintf and vsprintf.
1896 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
1897 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
1898 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
1899 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
1900 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
1901
1902 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
1903 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
1904 * stdio-common/fprintf.c, stdio-common/fxprintf.c
1905 * stdio-common/printf.c: Use __vfprintf_internal.
1906
1907 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
1908 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
1909 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
1910
1911 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
1912 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
1913 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
1914 __vfwprintf_internal.
1915
1916 * libio/libio.h: Remove libc_hidden_proto and declaration for
1917 _IO_vfprintf.
1918 Remove declaration of _IO_vfwprintf.
1919 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
1920 _IO_vsprintf.
1921 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
1922 _IO_obstack_printf.
1923 * include/stdio.h: Add prototype for __vasprintf.
1924 (__vsnprintf): Remove declaration, because there are no more
1925 internal calls.
1926 * include/wchar.h (__vfwprintf, __vswprintf): Remove
1927 declaration, because there are no more internal calls.
1928
1929 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
1930 __vsnprintf_internal, instead of _IO_vsnprintf.
1931 * argp/argp-help.c (__argp_error, __argp_failure): Use
1932 __vasprintf_internal, instead of _IO_vasprintf.
1933 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
1934 redefine, because there are no more internal calls.
1935
d91798b3
ZW
19362018-12-05 Zack Weinberg <zackw@panix.com>
1937 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1938
1939 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
1940 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
1941 Include libio/strfile.h instead of libioP.h.
1942 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
1943 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
1944 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
1945 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
1946 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
1947 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
1948 necessary. Do not set __no_long_double. Normalize variable names.
1949 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
1950 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
1951 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
1952 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
1953 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
1954 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
1955 Call __vfscanf_internal / __vfwscanf_internal directly, passing
1956 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
1957 Do not set __no_long_double. Normalize variable names.
1958
b87eb3f8
ZW
19592018-12-05 Zack Weinberg <zackw@panix.com>
1960 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1961
1962 * stdio-common/isoc99_scanf.c
1963 * stdio-common/isoc99_fscanf.c
1964 * stdio-common/isoc99_sscanf.c
1965 * stdio-common/isoc99_vscanf.c
1966 * stdio-common/isoc99_vfscanf.c
1967 * stdio-common/isoc99_vsscanf.c
1968 * wcsmbs/isoc99_wscanf.c
1969 * wcsmbs/isoc99_fwscanf.c
1970 * wcsmbs/isoc99_swscanf.c
1971 * wcsmbs/isoc99_vwscanf.c
1972 * wcsmbs/isoc99_vfwscanf.c
1973 * wcsmbs/isoc99_vswscanf.c:
1974 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
1975 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
1976 No need to lock and unlock the FILE passed to that function.
1977
1978 * stdio-common/vfscanf-internal.c
1979 (__vfscanf_internal, __vfwscanf_internal):
1980 Don't look at _IO_FLAGS2_SCANF_STD.
1981 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
1982 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
1983 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
1984
349718d4
ZW
19852018-12-05 Zack Weinberg <zackw@panix.com>
1986 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
1987
1988 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
1989 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
1990 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
1991 * libio/strfile.h: Add multiple inclusion guard.
1992 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
1993
1994 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
1995 consistency with the other version of this file.
1996 (ldbl_compat_symbol): New macro.
1997 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
1998 New macro.
1999
2000 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
2001 Define __vfscanf_internal or __vfwscanf_internal, depending on
2002 COMPILE_WSCANF; don't define any other public symbols.
2003 Remove errval and code to set errp.
2004 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
2005 as the mode_flags argument.
2006 (encode_error, conv_error, input_error): Don't set errval.
2007 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
2008 Include vfscanf-internal.c.
2009 * stdio-common/vfscanf.c: New file defining the public entry
2010 point vfscanf, which calls __vfscanf_internal.
2011 * stdio-common/vfwscanf.c: New file defining the public entry
2012 point vfwscanf, which calls __vfwscanf_internal.
2013
2014 * stdio-common/iovfscanf.c: New file.
2015 * stdio-common/iovfwscanf.c: Likewise.
2016
2017 * stdio-common/Makefile (routines): Add vfscanf-internal,
2018 vfwscanf-internal, iovfscanf, iovfwscanf.
2019 * stdio-common/Versions: Mention GLIBC_2.29, so that
2020 it can be used in SHLIB_COMPAT expressions.
2021 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
2022 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
2023 Call __vfscanf_internal, instead of _IO_vfscanf.
2024 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
2025 _IO_vfscanf.
2026 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
2027 _IO_vfwscanf.
2028
2029 * libio/iovsscanf.c: Clean up includes, when possible. Use
2030 _IO_strfile_read or _IO_strfile_readw, when needed. Call
2031 __vfscanf_internal or __vfwscanf_internal directly.
2032 * libio/iovswscanf.c: Likewise.
2033 * libio/swscanf.c: Likewise.
2034 * libio/vscanf.c: Likewise.
2035 * libio/vwscanf.c: Likewise.
2036 * libio/wscanf.c: Likewise.
2037 * stdio-common/isoc99_fscanf.c: Likewise.
2038 * stdio-common/isoc99_scanf.c: Likewise.
2039 * stdio-common/isoc99_sscanf.c: Likewise.
2040 * stdio-common/isoc99_vfscanf.c: Likewise.
2041 * stdio-common/isoc99_vscanf.c: Likewise.
2042 * stdio-common/isoc99_vsscanf.c: Likewise.
2043 * stdio-common/scanf.c: Likewise.
2044 * stdio-common/sscanf.c: Likewise.
2045 * wcsmbs/isoc99_fwscanf.c: Likewise.
2046 * wcsmbs/isoc99_swscanf.c: Likewise.
2047 * wcsmbs/isoc99_vfwscanf.c: Likewise.
2048 * wcsmbs/isoc99_vswscanf.c: Likewise.
2049 * wcsmbs/isoc99_vwscanf.c: Likewise.
2050 * wcsmbs/isoc99_wscanf.c: Likewise.
2051
72b8692d
AA
20522018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
2053
2054 * include/time.h
2055 (__tz_compute): Replace time_t with __time64_t.
2056 (__tz_convert): Replace time_t* with __time64_t.
2057 (__offtime): Replace time_t* with __time64_t.
2058 * time/gmtime.c
2059 (__gmtime_r): Adjust call to __tz_convert.
2060 (gmtime): Likewise.
2061 * time/localtime.c
2062 (__localtime_r): Likewise.
2063 (localtime): Likewise.
2064 * time/offtime.c: Replace time_t with __time64_t.
2065 * time/tzset.c: Likewise.
2066
bd598da9
JM
20672018-12-04 Joseph Myers <joseph@codesourcery.com>
2068
2069 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
2070 dynamic linker unless [$(run-built-tests) = yes].
2071
b2e93de0
DD
20722018-12-03 DJ Delorie <dj@delorie.com>
2073
2074 * support/test-container.c (check_for_unshare_hints): New.
2075 (main): Call it if unshare fails. Add support for "su" scriptlet
2076 command.
2077
477a02f6
JM
20782018-12-03 Joseph Myers <joseph@codesourcery.com>
2079
2080 * scripts/gen-as-const.py (compute_c_consts): Take an argument
2081 'START' to indicate that start text should be output.
2082 (gen_test): Likewise.
2083 (main): Generate 'START' for first symbol or '--' line, or at end
2084 of input if not previously generated.
2085
6af956e5
RÁE
20862018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
2087
2088 [BZ #19767]
2089 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
2090 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
2091 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
2092 ALWAYS_USE_VSYSCALL.
2093
f5ec0ea9
AZ
20942018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2095
2096 [BZ #23913]
2097 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
2098 new_argv by one.
2099
8cebd4ff
CD
21002018-12-03 Carlos O'Donell <carlos@redhat.com>
2101
2102 [BZ #23923]
2103 * locale/programs/localedef.c: Declare boolean hard_links default true.
2104 (options): Add --no-hard-links option.
2105 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
2106 * locale/programs/localedef.h: Declare prototype for hard_links.
2107 * locale/programs/locfile.c (write_locale_data): Don't use hard
2108 links if hard_links is false.
2109
c22e4c2a
L
21102018-12-03 H.J. Lu <hongjiu.lu@intel.com>
2111
2112 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
2113 cpu_features_basic.
2114 (__cache_sysconf): Likewise.
2115 (init_cacheinfo): Likewise.
2116 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
2117 populate COMMON_CPUID_INDEX_80000007 and
2118 COMMON_CPUID_INDEX_80000008.
2119 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
2120 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
2121 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
2122 (init_cpu_features): Use _Static_assert on
2123 index_arch_Fast_Unaligned_Load.
2124 __get_cpuid_registers and __get_arch_feature. Updated for
2125 cpu_features_basic. Set stepping in cpu_features.
2126 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
2127 (FEATURE_INDEX_2): New.
2128 (FEATURE_INDEX_MAX): Changed to enum.
2129 (COMMON_CPUID_INDEX_D_ECX_1): New.
2130 (COMMON_CPUID_INDEX_80000007): Likewise.
2131 (COMMON_CPUID_INDEX_80000008): Likewise.
2132 (cpuid_registers): Likewise.
2133 (cpu_features_basic): Likewise.
2134 (CPU_FEATURE_USABLE): Likewise.
2135 (bit_arch_XXX_Usable): Likewise.
2136 (cpu_features): Use cpuid_registers and cpu_features_basic.
2137 (bit_arch_XXX): Reweritten.
2138 (bit_cpu_XXX): Likewise.
2139 (index_cpu_XXX): Likewise.
2140 (reg_XXX): Likewise.
2141 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
2142 <support/check.h>.
2143 (CHECK_CPU_FEATURE): New.
2144 (CHECK_CPU_FEATURE_USABLE): Likewise.
2145 (cpu_kinds): Likewise.
2146 (do_test): Print vendor, family, model and stepping. Check
2147 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
2148 (TEST_FUNCTION): Removed.
2149 Include <support/test-driver.c> instead of
2150 "../../test-skeleton.c".
2151 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
2152 Check POPCNT instead of POPCOUNT.
2153 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
2154
7b36d26b
ST
21552018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
2156
2157 * scripts/gen-as-const.py (main): Avoid emitting empty line when
2158 there is no element in `consts'.
2159
02cd5c1a
FW
21602018-12-01 Florian Weimer <fweimer@redhat.com>
2161
2162 * support/support_capture_subprocess.c
2163 (support_capture_subprocess): Check that pipe descriptors have
2164 expected values. Close original pipe descriptors in subprocess.
2165
fc493bc9
ST
21662018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
2167
2168 [BZ #23032]
2169 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
2170 attr with __pthread_default_barrierattr.
2171 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
2172 attr with __pthread_default_condattr.
2173 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
2174 attr with __pthread_default_mutexattr.
2175 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
2176 attr with __pthread_default_rwlockattr.
2177
6310e6be
KW
21782018-12-01 Kemi Wang <kemi.wang@intel.com>
2179
2180 * manual/tunables.texi (POSIX Thread Tunables): New node.
2181 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
2182 * nptl/nptl-init.c: Include pthread_mutex_conf.h
2183 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
2184 __pthread_tunables_init.
2185 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
2186 (max_adaptive_count): Define.
2187 * nptl/pthread_mutex_conf.c: New file.
2188 * nptl/pthread_mutex_conf.h: New file.
2189 * sysdeps/generic/adaptive_spin_count.h: New file.
2190 * sysdeps/nptl/dl-tunables.list: New file.
2191 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
2192 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
2193 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
2194 Likewise.
2195
8e67b39e
PP
21962018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
2197
2198 [BZ #20544]
2199 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
2200 * stdlib/on_exit.c (__on_exit): Likewise.
2201 * stdlib/Makefile (tests): Add tst-bz20544.
2202 * stdlib/tst-bz20544.c: New test.
2203
15b8d67e
RÁE
22042018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
2205
2206 [BZ #19767]
2207 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
2208 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
2209 New.
2210
5e63c240
FW
22112018-11-30 Florian Weimer <fweimer@redhat.com>
2212
2213 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
2214 Extend error logging.
2215 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
2216 symbol.
2217
71058602 22182018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14d0e87d 2219
5fb7fc96
AZ
2220 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
2221 __sigismember instead of sigismember.
2222 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
2223 cancel_handler): New definitions.
2224 (do_system): Use posix_spawn instead of fork and execl and remove
2225 reentracy code.
2226 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
2227 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
2228 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
2229 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
2230 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
2231 * sysdeps/unix/sysv/linux/system.c: Likewise.
2232
14d0e87d
AZ
2233 [BZ #22834]
2234 [BZ #17490]
2235 * NEWS: Add new semantic for atfork with popen and system.
2236 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
2237 fork and execl.
2238
e5d262ef
TMQMF
22392018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2240
2241 [BZ #23690]
2242 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
2243 modification order when accessing reloc_result->addr.
2244 * include/link.h (reloc_result): Add field init.
2245 * nptl/Makefile (tests): Add tst-audit-threads.
2246 (modules-names): Add tst-audit-threads-mod1 and
2247 tst-audit-threads-mod2.
2248 Add rules to build tst-audit-threads.
2249 * nptl/tst-audit-threads-mod1.c: New file.
2250 * nptl/tst-audit-threads-mod2.c: Likewise.
2251 * nptl/tst-audit-threads.c: Likewise.
2252 * nptl/tst-audit-threads.h: Likewise.
2253
7e1d4240
JM
22542018-11-30 Joseph Myers <joseph@codesourcery.com>
2255
2256 * scripts/gen-as-const.py: New file.
2257 * scripts/gen-as-const.awk: Remove.
2258 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
2259 gen-as-const.py.
2260 ($(objpfx)test-as-const-%.c): Likewise.
2261
ce7387cc
L
22622018-11-29 H.J. Lu <hongjiu.lu@intel.com>
2263
2264 * elf/dl-exception.c: Include <_itoa.h>.
2265
c6a5bdc1
ST
22662018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
2267
2268 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
2269 returned by __f_setlk.
2270
a5275ba5
L
22712018-11-29 H.J. Lu <hongjiu.lu@intel.com>
2272 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2273
2274 * elf/Makefile (tests-internal): Add tst-create_format1.
2275 * elf/dl-exception.c (_dl_exception_create_format): Support
2276 %x, %lx and %zx.
2277 * elf/tst-create_format1.c: New file.
2278
3a67e81d
CAC
22792018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
2280
2281 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
2282 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
2283 gnulib.)
2284 * argp/argp-help.c (__argp_failure): Likewise.
2285
4975f0c3
MH
22862018-11-29 Mao Han <han_mao@c-sky.com>
2287
2288 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
2289 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
2290 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
2291 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
2292 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
2293 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
2294 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
2295 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
2296 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
2297 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
2298 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
2299 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
2300 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
2301 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
2302 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
2303 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
2304 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
2305 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
2306 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
2307 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
2308 (R_CKCORE_TLS_TPOFF32): New defines.
2309
250102c8
FW
23102018-11-29 Florian Weimer <fweimer@redhat.com>
2311
2312 * posix/Makefile (before-compile): Remove testcases.h and
2313 ptestcases.h.
2314 (generated): Add testcases.h and ptestcases.h.
2315 (testcases.h, ptestcases.h): Move to $(objpfx).
2316 (runtests.o): Add dependency on testcases.h.
2317 (runptests.o): Add dependency on ptestcases.h.
2318 * posix/testcases.h, posix/ptestcases.h: Remove files.
2319 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
2320 not touch posix/testcases.h and posix/ptestcases.h.
2321
96cd0558
FW
23222018-11-28 Florian Weimer <fweimer@redhat.com>
2323
2324 support: Add signal support to support_capture_subprocess_check.
2325 * support/capture_subprocess.h (support_capture_subprocess_check):
2326 Adjust comment and rename parameter.
2327 * support/support_capture_subprocess_check.c
2328 (print_actual_status): New function.
2329 (support_capture_subprocess_check): Support negative
2330 status_or_signal. Call print_actual_status.
2331 * support/tst-support_capture_subprocess.c (do_test): Call
2332 support_capture_subprocess_check.
2333 * libio/tst-vtables-common.c (termination_status)
2334 (init_termination_status): Remove.
2335 (check_for_termination): Adjust support_capture_subprocess_check
2336 call.
2337 (do_test): Remove call to init_termination_status.
2338
530504e3
JM
23392018-11-28 Joseph Myers <joseph@codesourcery.com>
2340
2341 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
2342 source directory instead of a copy.
2343 (CommandList.create_copy_dir): Remove.
2344
9a0b6970
SL
23452018-11-28 Stefan Liebler <stli@linux.ibm.com>
2346
2347 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2348
47d8d9a2
FW
23492018-11-28 Florian Weimer <fweimer@redhat.com>
2350
2351 * support/support.h (support_quote_string): Do not use str
2352 parameter name.
2353
b473b7d8
JM
23542018-11-27 Joseph Myers <joseph@codesourcery.com>
2355
2356 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
2357 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
2358
c74a91de
FW
23592018-11-27 Florian Weimer <fweimer@redhat.com>
2360
2361 * support/support.h (support_quote_string): Declare.
2362 * support/support_quote_string.c: New file.
2363 * support/tst-support_quote_string.c: Likewise.
2364 * support/Makefile (libsupport-routines): Add
2365 support_quote_string.
2366 (tests): Add tst-support_quote_string.
2367
d527c860
FW
23682018-11-27 Florian Weimer <fweimer@redhat.com>
2369
2370 [BZ #23927]
2371 CVE-2018-19591
2372 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
2373 descriptor leak in case of ENODEV error.
2374
979cfed0
RÁE
23752018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
2376
2377 [BZ #19767]
2378 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
2379 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
2380 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
2381
ce035c6e
CD
23822018-11-26 Carlos O'Donell <carlos@redhat.com>
2383
2384 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
2385 Error for unknown lines.
2386
2bd0bfcc
JM
23872018-11-26 Joseph Myers <joseph@codesourcery.com>
2388
2389 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
2390 Touch additional files.
2391
affec03b
FW
23922018-11-26 Florian Weimer <fweimer@redhat.com>
2393
2394 [BZ #23907]
2395 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
2396 double-frees.
2397
8ae74ead
RÁE
23982018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
2399
2400 [BZ #19767]
2401 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
2402 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
2403 SHARED. Include sysdep.h.
2404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
2405 ALWAYS_USE_VSYSCALL.
2406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
2407 ALWAYS_USE_VSYSCALL.
2408
1e8bdc3a
RÁE
24092018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
2410
2411 [BZ #19767]
2412 * nptl/Makefile (tests-static): Add tst-cond11-static.
2413 (tests): Likewise.
2414 * nptl/tst-cond11-static.c: New File.
2415 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
2416 tst-affinity-static.
2417 (tests): Likewise.
2418 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
2419 instead of SHARED.
2420 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
2421 (USE_VSYSCALL): Likewise.
2422 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
2423 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
2424 instead of SHARED.
2425 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
2426 SHARED.
2427 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
2428 New.
2429
1283c478
JM
24302018-11-23 Joseph Myers <joseph@codesourcery.com>
2431
2432 [BZ #23915]
2433 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2434 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
2435 Undefine.
2436
c089fd80
L
24372018-11-23 H.J. Lu <hongjiu.lu@intel.com>
2438
2439 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
2440 (tst-cet-legacy-1a-ARGS): New.
2441 ($(objpfx)tst-cet-legacy-1a): New target.
2442 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
2443
cc6c89fa
JM
24442018-11-22 Joseph Myers <joseph@codesourcery.com>
2445
95edd05c
JM
2446 * conform/conformtest.py (CompileSubTest.__init__): Set
2447 self.run_early to False.
2448 (ExecuteSubTest.__init__): Likewise.
2449 (HeaderTests.run): Try running all non-optional, non-XFAILed
2450 compilation tests in a single execution of the compiler.
2451
cc6c89fa
JM
2452 * conform/conformtest.py (CompileSubTest): New class.
2453 (ExecuteSubTest): Likewise.
2454 (ElementTest.run): Rename to gen_subtests. Append tests to
2455 self.subtests instead of running them.
2456 (ConstantTest.run): Likewise.
2457 (SymbolTest.run): Likewise.
2458 (TypeTest.run): Likewise.
2459 (TagTest.run): Likewise.
2460 (FunctionTest.run): Likewise.
2461 (VariableTest.run): Likewise.
2462 (MacroFunctionTest.run): Likewise.
2463 (MacroStrTest.run): Likewise.
2464 (HeaderTests.handle_test_line): Generate subtests for tests.
2465 (HeaderTests.run): Run subtests for tests.
2466
a502c529
SN
24672018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
2468
2469 * math/Versions (GLIBC_2.29): Add pow.
2470 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
2471 symbol.
2472 * math/w_pow.c: New file.
2473 * sysdeps/i386/fpu/w_pow.c: New file.
2474 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
2475 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
2476 and add necessary aliases.
2477 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
2478 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
2479 * sysdeps/mach/hurd/i386/libm.abilist: Update.
2480 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
2481 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
2482 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
2483 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
2484 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
2485 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
2486 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
2487 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
2488 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
2489 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
2490 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
2491 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
2492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
2493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
2494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
2495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
2496 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
2497 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
2498 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
2499 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
2500 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
2501 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
2502 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
2503 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
2504 __pow.
2505 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
2506 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
2507 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
2508
718d6542
SN
25092018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
2510
2511 * math/Versions (GLIBC_2.29): Add log2.
2512 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
2513 symbol.
2514 * math/w_log2.c: New file.
2515 * sysdeps/i386/fpu/w_log2.c: New file.
2516 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
2517 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
2518 and add necessary aliases.
2519 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
2520 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
2521 * sysdeps/mach/hurd/i386/libm.abilist: Update.
2522 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
2523 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
2524 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
2525 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
2526 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
2527 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
2528 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
2529 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
2530 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
2531 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
2532 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
2533 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
2534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
2535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
2536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
2537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
2538 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
2539 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
2540 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
2541 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
2542 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
2543 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
2544 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
2545
f29b7c49
SN
25462018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
2547
2548 * math/Versions (GLIBC_2.29): Add log.
2549 * math/w_log_compat.c (__log_compat): Change to versioned compat
2550 symbol.
2551 * math/w_log.c: New file.
2552 * sysdeps/i386/fpu/w_log.c: New file.
2553 * sysdeps/ia64/fpu/e_log.S: Update.
2554 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
2555 and add necessary aliases.
2556 * sysdeps/ieee754/dbl-64/w_log.c: New file.
2557 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
2558 * sysdeps/mach/hurd/i386/libm.abilist: Update.
2559 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
2560 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
2561 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
2562 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
2563 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
2564 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
2565 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
2566 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
2567 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
2568 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
2569 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
2570 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
2571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
2572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
2573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
2574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
2575 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
2576 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
2577 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
2578 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
2579 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
2580 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
2581 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
2582 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
2583 __log.
2584 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
2585 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
2586 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
2587 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
2588
c20a1056
SN
25892018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
2590
2591 * math/Versions (GLIBC_2.29): Add exp and exp2.
2592 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
2593 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
2594 * math/w_exp_compat.c (__exp_compat): Likewise.
2595 * math/w_exp.c: New file.
2596 * math/w_exp2.c: New file.
2597 * sysdeps/i386/fpu/w_exp.c: New file.
2598 * sysdeps/i386/fpu/w_exp2.c: New file.
2599 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
2600 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
2601 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
2602 and add necessary aliases.
2603 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
2604 and add necessary aliases.
2605 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
2606 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
2607 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
2608 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
2609 * sysdeps/mach/hurd/i386/libm.abilist: Update.
2610 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
2611 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
2612 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
2613 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
2614 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
2615 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
2616 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
2617 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
2618 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
2619 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
2620 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
2621 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
2622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
2623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
2624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
2625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
2626 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
2627 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
2628 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
2629 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
2630 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
2631 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
2632 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
2633 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
2634 (__ieee754_exp): Rename to __exp.
2635 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
2636 (__ieee754_exp): Rename to __exp.
2637 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
2638 (__ieee754_exp): Rename to __exp.
2639 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
2640 __exp.
2641 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
2642
bcdaad21
DD
26432018-11-20 DJ Delorie <dj@redhat.com>
2644
2645 * malloc/malloc.c (tcache_entry): Add key field.
2646 (tcache_put): Set it.
2647 (tcache_get): Likewise.
2648 (_int_free): Check for double free in tcache.
2649 * malloc/tst-tcfree1.c: New.
2650 * malloc/tst-tcfree2.c: New.
2651 * malloc/Makefile: Run the new tests.
2652 * manual/probes.texi: Document memory_tcache_double_free probe.
2653
2654 * dlfcn/dlerror.c (check_free): Prevent double frees.
2655
5770c0ad
WD
26562018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
2657
2658 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
2659
9a62a939
JM
26602018-11-20 Joseph Myers <joseph@codesourcery.com>
2661
2662 * conform/conformtest.py (ElementTest.run): Use unique identifiers
2663 in tests. Use names for format arguments.
2664 (ConstantTest.run): Likewise.
2665 (SymbolTest.run): Likewise.
2666 (TypeTest.run): Likewise.
2667 (TagTest.run): Likewise.
2668 (FunctionTest.run): Likewise.
2669 (VariableTest.run): Likewise.
2670 (MacroFunctionTest.run): Likewise.
2671 (MacroStrTest.run): Likewise.
2672 (HeaderTests.__init__): Set self.num_tests.
2673 (HeaderTests.handle_test_line): Set test.num. Increment
2674 self.num_tests.
2675
b15b1a95
ST
26762018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
2677
2678 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
2679 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
2680 SEEK_SET.
2681
0c7f97ae
MH
26822018-11-19 Mao Han <han_mao@c-sky.com>
2683
2684 * scripts/config.guess: Update to version 2018-08-29.
2685 * scripts/config.sub: Update to version 2018-08-29.
2686
35e3fbc4
FW
26872018-11-19 Florian Weimer <fweimer@redhat.com>
2688
2689 support: Print timestamps in timeout handler.
2690 * support/support_test_main.c (print_timestamp): New function.
2691 (signal_handler): Use it to print the termination time and the
2692 time of the last write to standard output.
2693
c75772e3
ZW
26942018-11-16 Zack Weinberg <zackw@panix.com>
2695 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2696
2697 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
2698 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
2699 argument.
2700 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
2701 and add flags argument. Check flags instead of __ldbl_is_dbl when
2702 deciding whether to set is_long_double.
2703 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
2704 passing zero for flags argument.
2705 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
2706
2707 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
2708 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
2709 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
2710 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
2711 variable names. Remove libc_hidden_def/libc_hidden_proto from
2712 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
2713 longer called from within the library.
2714 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
2715 for __nldbl___vstrfmon_l, declare it explicitly.
2716
2717 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
2718
346ef23f
ST
27192018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
2720
2721 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
2722 macros
2723 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
2724 F_SETLK64, F_SETLKW64, respectively.
2725 * sysdeps/mach/hurd/f_setlk.c: New file.
2726 * sysdeps/mach/hurd/f_setlk.h: New file.
2727 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
2728 f_setlk.
2729 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
2730 (__libc_fcntl): Move non-flock operations to...
2731 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
2732 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
2733
de20b81a
PE
27342018-11-15 Paul Eggert <eggert@cs.ucla.edu>
2735
5d8af156
PE
2736 mktime: DEBUG_MKTIME cleanup
2737 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
2738 And it’s no longer needed now that glibc and Gnulib both have
2739 their own testing mechanisms for mktime.
2740 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
2741
86aece3b
PE
2742 mktime: fix non-EOVERFLOW errno handling
2743 [BZ#23789]
2744 mktime was not properly reporting failures when the underlying
2745 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
2746 them like EOVERFLOW failures, and set errno to EOVERFLOW.
2747 The problem could happen on non-glibc platforms, with Gnulib.
2748 * time/mktime.c (guess_time_tm): Remove, replacing with ...
2749 (tm_diff): ... this simpler function, which does not change errno.
2750 All callers changed to deal with errno themselves.
2751 (ranged_convert, __mktime_internal): Return failure immediately if
2752 the underlying function reports any failure other than EOVERFLOW.
2753 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
2754 gap code fails.
2755
f6b3331b
PE
2756 mktime: fix bug with Y2038 DST transition
2757 [BZ#23789]
2758 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
2759 mishandle a DST transition that jumps over the Y2038 boundary.
2760 No such DST transitions are known so this is only a theoretical
2761 bug, but we might as well do things right.
2762
efbdddc3
PE
2763 mktime: make more room for overflow
2764 [BZ#23789]
2765 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
2766 This is so that we can add tm_diff results to a previous guess,
2767 which will be useful in a later patch.
2768
6c90d759
PE
2769 mktime: simplify offset guess
2770 [BZ#23789]
2771 * time/mktime.c (__mktime_internal): Omit excess precision.
2772
32c12f3f
PE
2773 mktime: new test for mktime failure
2774 [BZ#23789]
2775 Based on a test suggested by Albert Aribaud in:
2776 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
2777 * time/Makefile (tests): Add bug-mktime4.
2778 * time/bug-mktime4.c: New file.
2779
de20b81a
PE
2780 mktime: fix EOVERFLOW bug
2781 [BZ#23789]
2782 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
2783 Include libc-config.h, not config.h, for __set_errno.
2784 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
2785
8c6c3fb0
ST
27862018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
2787
2788 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
2789 __attribute_copy__ to copy attributes from name. Drop static qualifier
2790 to avoid warnings about leaf attribute not having effect on static
2791 functions.
2792
6923f6db
FW
27932018-11-13 Florian Weimer <fweimer@redhat.com>
2794
2795 * malloc/malloc.c (fastbin_push_entry): New function.
2796 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
2797 (REMOVE_FB): Remove macro.
2798 (_int_malloc): Use fastbin_pop_entry and reindent.
2799 (_int_free): Use fastbin_push_entry.
2800 (malloc_consolidate): Use atomic_exchange_acquire.
2801
53f5c659
JM
28022018-11-13 Joseph Myers <joseph@codesourcery.com>
2803
0c096dcf
JM
2804 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
2805 alias attribute, not with strong_alias.
2806
9c4b457e
JM
2807 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
2808 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
2809 with additional parameter thread.
2810 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
2811 in terms of __hidden_ver2.
2812 (hidden_tls_def): New macro.
2813 (libc_hidden_tls_def): Likewise.
2814 (rtld_hidden_tls_def): Likewise.
2815 (libm_hidden_tls_def): Likewise.
2816 (libmvec_hidden_tls_def): Likewise.
2817 (libresolv_hidden_tls_def): Likewise.
2818 (librt_hidden_tls_def): Likewise.
2819 (libdl_hidden_tls_def): Likewise.
2820 (libnss_files_hidden_tls_def): Likewise.
2821 (libnsl_hidden_tls_def): Likewise.
2822 (libnss_nisplus_hidden_tls_def): Likewise.
2823 (libutil_hidden_tls_def): Likewise.
2824 (libutil_hidden_tls_def): Likweise.
2825 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
2826 libc_hidden_tls_def.
2827 (__sim_disabled_exceptions_thread): Likewise.
2828 (__sim_round_mode_thread): Likewise.
2829
53f5c659
JM
2830 * sysdeps/sparc/sparc-ifunc.h [SHARED]
2831 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
2832 copy attributes from name.
2833
092dfde6
JM
28342018-11-12 Joseph Myers <joseph@codesourcery.com>
2835
f578f97b
JM
2836 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
2837 Use __attribute_copy__ to copy attributes from name.
2838
9a7c643a
JM
2839 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
2840 with __hidden_ver1 call.
2841 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
2842 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
2843 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
2844 (__cosf): Do not declare here.
2845 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
2846 (__sincosf): Do not declare here.
2847 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
2848 (__sinf): Do not declare here.
2849
092dfde6
JM
2850 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
2851 (__BIG_ENDIAN): Likewise.
2852 (__BYTE_ORDER): Likewise.
2853 (strong_alias): Likewise.
2854 (_strong_alias): Likewise.
2855
1ecba1fa
FW
28562018-11-12 Florian Weimer <fweimer@redhat.com>
2857
2858 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
2859 function. Move after the definition of in_smallbin_range. Do not
2860 use __builtin_expect for paths that lead to a noreturn function.
2861 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
2862 because it is unclear whether this is in fact an unlikely
2863 condition.
2864 (_int_malloc, _int_free): Adjust.
2865 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
2866 variables.
2867 * malloc/arena.c (heap_trim): Likewise.
2868
434c34bd
ST
28692018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2870
2871 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
2872 it, free it if needed.
2873 (reauthenticate): Test and use ccwdir.
2874 (child_init_port): In non-resetids case, test and use ccwdir.
2875 (child_chdir): New nested function to set ccwdir.
7fa495cd
ST
2876 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
2877 * hurd/hurd/port.h (_hurd_port_move): New function.
2878 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
2879 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
88b26b7e
ST
2880 * hurd/Versions (_hurd_port_move): Export function.
2881 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
2882 symbol.
58bb655a
ST
2883 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
2884 of dtablesize for allocating dtable_cloexec.
434c34bd 2885
1626a1cf
MS
28862018-11-09 Martin Sebor <msebor@redhat.com>
2887
2888 * include/libc-symbols.h (__attribute_copy__): Define macro unless
2889 it's already defined.
2890 (_strong_alias): Use __attribute_copy__.
2891 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
2892 * misc/sys/cdefs.h (__attribute_copy__): New macro.
2893 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
2894 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
2895 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
2896 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
2897 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
2898 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
2899 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
2900 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
2901 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
2902 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
2903 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
2904 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
2905 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
2906 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
2907 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
2908 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
2909 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
2910
968ed530
GG
29112018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2912
2913 * misc/tst-efgcvt.c: Include support/check.h and
2914 support/test-driver.c. Do not include test-skeleton.c.
2915 (error_count): Remove.
2916 (output_error): Replace increments to error_count with calls to
2917 support_record_failure.
2918 (output_r_error): Likewise.
2919 (special): Likewise.
2920 (do_test): Unconditionally return zero.
2921 (TEST_FUNCTION): Remove.
2922
c3ec0972
JM
29232018-11-09 Joseph Myers <joseph@codesourcery.com>
2924
91faaa93
JM
2925 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
2926 not $(@D)/scratch.
2927 ($(linknamespace-header-tests)): Likewise.
2928
c3ec0972
JM
2929 * conform/conformtest.py: New file.
2930 * conform/conformtest.pl: Remove.
2931 * conform/GlibcConform.pm: Likewise.
2932 * conform/glibcconform.py (KEYWORDS_C90): New constant.
2933 (KEYWORDS_C99): Likewise.
2934 (KEYWORDS): Likewise.
2935 * conform/Makefile ($(conformtest-header-tests)): Use
2936 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
2937 option. Use --header instead of --headers.
2938 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
2939 function entries.
2940 * conform/data/spawn.h-data: Likewise.
2941 * conform/data/fcntl.h-data (openat): Add space after function
2942 name.
2943 * conform/data/wchar.h-data (wcscasecmp): Likewise.
2944 (wcscasecmp_l): Likewise.
2945 * conform/data/termios.h-data (c_cc): Add space after element
2946 name.
2947
43257c33
GG
29482018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2949
2950 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
2951 instead of manually comparing and reporting mismatching strings.
2952 * misc/tst-ldbl-error.c (do_one_test): Likewise.
2953 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
2954
e5de3b5b
JM
29552018-11-08 Joseph Myers <joseph@codesourcery.com>
2956
2957 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
2958 __ASSUME_SOCKETCALL.
2959 * sysdeps/unix/sysv/linux/i386/kernel-features.h
2960 (__ASSUME_SOCKETCALL): Remove.
2961 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2962 (__ASSUME_SOCKETCALL): Likewise.
2963 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2964 (__ASSUME_SOCKETCALL): Likewise.
2965 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2966 (__ASSUME_SOCKETCALL): Likewise.
2967 * sysdeps/unix/sysv/linux/s390/kernel-features.h
2968 (__ASSUME_SOCKETCALL): Likewise.
2969 * sysdeps/unix/sysv/linux/sh/kernel-features.h
2970 (__ASSUME_SOCKETCALL): Likewise.
2971 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
2972 (__ASSUME_SOCKETCALL): Likewise.
2973
d524fa6c
L
29742018-11-08 H.J. Lu <hongjiu.lu@intel.com>
2975
2976 [BZ #23509]
2977 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
2978 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
2979 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
2980 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
2981 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
2982 lc_unknown.
2983
ac806026
AH
29842018-11-08 Alexandra Hájková <ahajkova@redhat.com>
2985
2986 [BZ #17630]
2987 * resolv/tst-resolv-network.c: Add test for getnetbyname.
2988
596cc360
JM
29892018-11-07 Joseph Myers <joseph@codesourcery.com>
2990
2991 [BZ #23867]
2992 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2993 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
2994 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2995 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
2996
00c86a37
AZ
29972018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2998
2999 * support/support_test_compare_string.c
3000 (support_test_compare_string): Fix printf format.
3001
1df872fd
FW
30022018-11-07 Florian Weimer <fweimer@redhat.com>
3003
3004 Implement TEST_COMPARE_STRING.
3005 * support/check.h (TEST_COMPARE_STRING): Define.
3006 (support_test_compare_string): Declare.
3007 * support/Makefile (libsupport-routines): Add
3008 support_test_compare_string.
3009 (tests): Add tst-test_compare_string.
3010 * support/support_test_compare_string.c: New file.
3011 * support/tst-test_compare_string.c: Likewise.
3012
295132ff
AS
30132018-11-07 Andreas Schwab <schwab@suse.de>
3014
3015 [BZ #23864]
3016 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
3017 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
3018 Undef.
3019
e143ceba
JM
30202018-11-06 Joseph Myers <joseph@codesourcery.com>
3021
3022 [BZ #23862]
3023 * sysdeps/unix/sysv/linux/sh/kernel-features.h
3024 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
3025 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
3026 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
3027 Likewise.
3028
4a938cb2
FW
30292018-11-06 Florian Weimer <fweimer@redhat.com>
3030
3031 [BZ #17405]
3032 * posix/Makefile (routines): Add spawn_faction_addchdir.
3033 (tests): Add tst-spawn-chdir.
3034 * posix/Versions (GLIBC_2.29): Add
3035 posix_spawn_file_actions_addchdir_np.
3036 * posix/spawn_faction_addchdir.c: New file.
3037 * posix/spawn_faction_destroy.c
3038 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
3039 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
3040 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
3041 chdir_action.
3042 * posix/tst-spawn-chdir.c: New file.
3043 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
3044 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
3045 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
3046 posix_spawn_file_actions_addchdir_np.
3047 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
3048 Likewise.
3049 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
3050 Likewise.
3051 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
3052 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
3053 Likewise.
3054 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
3055 Likewise.
3056 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
3057 Likewise.
3058 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
3059 Likewise.
3060 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
3061 Likewise.
3062 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
3063 Likewise.
3064 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3065 (GLIBC_2.29): Likewise.
3066 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3067 (GLIBC_2.29): Likewise.
3068 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3069 (GLIBC_2.29): Likewise.
3070 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3071 (GLIBC_2.29): Likewise.
3072 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
3073 Likewise.
3074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3075 (GLIBC_2.29): Likewise.
3076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3077 (GLIBC_2.29): Likewise.
3078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
3079 (GLIBC_2.29): Likewise.
3080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
3081 (GLIBC_2.29): Likewise.
3082 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
3083 Likewise.
3084 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
3085 Likewise.
3086 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
3087 Likewise.
3088 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
3089 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
3090 Likewise.
3091 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
3092 Likewise.
3093 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
3094 Likewise.
3095 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
3096 Likewise.
3097
7597b0c7
GG
30982018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3099
3100 * misc/Makefile (tests): Add tst-ldbl-error.
3101 * misc/tst-ldbl-error.c: New file.
3102
9771e6cb
GG
31032018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3104
3105 * misc/Makefile (tests): Add tst-ldbl-warn.
3106 * misc/tst-ldbl-warn.c: New file.
3107
2c03961f
GG
31082018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3109
3110 * argp/Makefile (tests): Add tst-ldbl-argp.
3111 * argp/tst-ldbl-argp.c: New file.
3112
6d6ee046
AS
31132018-11-05 Arjun Shankar <arjun@redhat.com>
3114
3115 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
3116 __gconv_path_elem and call __gconv_get_path unconditionally.
3117
bd3b0fba
AS
31182018-11-05 Andreas Schwab <schwab@suse.de>
3119
3120 [BZ #22927]
3121 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
3122 creating the first helper thread failed.
3123
2e96e980
ST
31242018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
3125
3126 * sysdeps/mach/hurd/msync.c: New file.
3127
6e36266c
FW
31282018-11-02 Florian Weimer <fweimer@redhat.com>
3129
3130 * support/shell-container.c (copy_func): Call
3131 support_copy_file_range instead of copy_file_range to support
3132 cross-device copies.
3133
599f7bee
FW
31342018-11-02 Florian Weimer <fweimer@redhat.com>
3135
3136 * support/test-container.c: Include <libc-pointer-arith.h> for
3137 ALIGN_UP.
3138
ff48ea67
ZL
31392018-11-01 Zong Li <zong@andestech.com>
3140
af1d5782
ZL
3141 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
3142 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
3143 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
3144 (__FP_FRAC_SET_8): Add implementation for RV32 use.
3145
ff48ea67
ZL
3146 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
3147 variable to avoid overlap arguments.
3148
daea71c2
JM
31492018-11-01 Joseph Myers <joseph@codesourcery.com>
3150
eac4405a
JM
3151 * posix/bug-regex22.c (main): Use puts with distinct error
3152 messages for unexpected success of re_compile_pattern, not printf
3153 with NULL argument to %s.
3154
6f30e59f
JM
3155 * stdio-common/bug22.c: Include <libc-diag.h>.
3156 (do_test): Disable -Wformat-overflow= warnings around fprintf
3157 calls outputting more than INT_MAX characters.
3158 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
3159 around printf call with NULL %s argument.
3160
daea71c2
JM
3161 [BZ #23848]
3162 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
3163 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
3164 Undefine.
3165 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
3166 (__ASSUME_RECVMSG_SYSCALL): Likewise.
3167 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
3168 (__ASSUME_SENDTO_SYSCALL): Likewise.
3169 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
3170 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
3171 [!__arch64__].
3172 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
3173 (__ASSUME_CONNECT_SYSCALL): Likewise.
3174 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
3175 (__ASSUME_RECVFROM_SYSCALL): Likewise.
3176 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
3177 Define.
3178 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
3179 Likewise.
3180 [__LINUX_KERNEL_VERSION >= 0x040400]
3181 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
3182 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
3183 Remove.
3184 (listen): Likewise.
3185 (setsockopt): Likewise.
3186
8e3c00db
FN
31872018-11-01 Fredrik Noring <noring@nocrew.org>
3188
3189 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
3190 with the ISA override.
3191
9c3dbdbe
RAE
31922018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
3193
3194 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
3195 #endif.
3196
e3a88b3e
ST
31972018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
3198
a67377e7 3199 * manual/errno.texi (EIEIO): Document how translators should
e3a88b3e 3200 translate the error message.
a67377e7
ST
3201 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
3202 printing trailing whitespaces refused by git.
3203 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
3204 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
fc783076 3205 * hurd/Makefile (user-interfaces): Add pci.
e3a88b3e 3206
3ca235ed
JM
32072018-10-30 Joseph Myers <joseph@codesourcery.com>
3208
3209 * conform/linknamespace.py: New file.
3210 * conform/linknamespace.pl: Remove file.
3211 * conform/Makefile ($(linknamespace-header-tests)): Use
3212 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
3213 option.
3214
60708030
FW
32152018-10-30 Florian Weimer <fweimer@redhat.com>
3216
3217 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
3218 memory leaks.
3219
a91e9301
FW
32202018-10-30 Florian Weimer <fweimer@redhat.com>
3221
3222 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
3223
07da99aa
FW
32242018-10-30 Florian Weimer <fweimer@redhat.com>
3225
3226 * stdlib/tst-strtod-overflow.c (do_test): Switch to
3227 support_blob_repeat.
3228
f5e7e959
FW
32292018-10-30 Florian Weimer <fweimer@redhat.com>
3230
3231 Avoid spurious test failures in stdlib/test-bz22786.
3232 * support/Makefile (libsupport-routines): Add blob_repeat.
3233 (tests): Add tst-support_blob_repeat.
3234 * support/blob_repeat.h: New file.
3235 * support/blob_repeat.c: Likewise.
3236 * support/tst-support_blob_repeat.c: Likewise.
3237 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
3238 support_blob_repeat_allocate.
3239
2dd12baa
AS
32402018-10-30 Andreas Schwab <schwab@suse.de>
3241
3242 [BZ #23125]
3243 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
3244 Don't use tail call.
3245 * elf/tst-unwind-main.c: New file.
3246 * elf/Makefile (tests): Add tst-unwind-main.
3247 (CFLAGS-tst-unwind-main.c): Define.
3248
fec8bb7c
SAA
32492018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
3250
3251 [BZ #23791]
3252 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
3253 n_cs_precedes to 0.
3254 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
3255
c6982f7e
JM
32562018-10-29 Joseph Myers <joseph@codesourcery.com>
3257
954cf3c2
JM
3258 * conform/glibcconform.py: Do not import shutil.
3259 (list_exported_functions): Use tempfile.TemporaryDirectory instead
3260 of mkdtemp.
3261
c6982f7e
JM
3262 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
3263 critic_missing for versions before 3.4.
3264 * configure: Regenerated.
3265 * manual/install.texi (Tools for Compilation): Document
3266 requirement for Python to build glibc.
3267 * INSTALL: Regenerated.
3268 * Rules [PYTHON]: Make code unconditional.
3269 * benchtests/Makefile [PYTHON]: Likewise.
3270 * conform/Makefile [PYTHON]: Likewise.
3271 * manual/Makefile [PYTHON]: Likewise.
3272 * math/Makefile [PYTHON]: Likewise.
3273
46a7f24c
ST
32742018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
3275
3276 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
2d0d1d38 3277 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
b6e7c449 3278 answer to interrupt_operation, return EIEIO instead of EINTR.
5c81be53
ST
3279 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
3280 _hurd_intr_rpc_msg_about_to global point to start of controlled
3281 assembly snippet. Make it check canceled flag.
3282 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
3283 the _hurd_intr_rpc_msg_about_to point.
3284 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
3285 issue, remove cancel flag check.
46a7f24c 3286
e5b8756d
JM
32872018-10-26 Joseph Myers <joseph@codesourcery.com>
3288
3289 * scripts/build-many-glibcs.py: Remove compatibility for missing
3290 os.cpu_count and re.fullmatch.
3291
ba5b14c7
SN
32922018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
3293
3294 [BZ #23822]
3295 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
3296 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
3297 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
3298
fe61f17c
JM
32992018-10-25 Joseph Myers <joseph@codesourcery.com>
3300
3301 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
3302 macro.
3303
7c5e34d7
FW
33042018-10-25 Florian Weimer <fweimer@redhat.com>
3305
3306 [BZ #23562]
3307 [BZ #23821]
3308 XFAIL siginfo_t si_band conform test on sparc64.
3309 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
3310 (__SI_BAND_TYPE): Only override long int default type on sparc64.
3311 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
3312 (conformtest-xfail-conds): Add sparc64-linux.
3313 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
3314 sparc64.
3315 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
3316
5b784e88
JM
33172018-10-25 Joseph Myers <joseph@codesourcery.com>
3318
3319 * elf/elf.h (NT_MIPS_DSP): New macro.
3320 (NT_MIPS_FP_MODE): Likewise.
3321
41432ebe
ZL
33222018-10-25 Zong Li <zong@andestech.com>
3323
3324 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
3325 name by adding the file extension (.so).
3326
d026efea
ST
33272018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
3328
3329 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
3330 (test-xfail-ISO11/threads.h/linknamespace,
3331 test-xfail-ISO11/threads.h/conform): Add.
3332
b71ac2b9
JM
33332018-10-24 Joseph Myers <joseph@codesourcery.com>
3334
3335 * math/gen-libm-test.py: Import os.
3336 (ALL_FLOATS_MANUAL): New constant.
3337 (ALL_FLOATS_SUFFIX): Likewise.
3338 (Ulps.all_functions): New function.
3339 (real_all_ulps): Likewise.
3340 (generate_err_table_sub): Likewise.
3341 (generate_err_table): Likewise.
3342 (main): Handle -s and -m options.
3343 * manual/libm-err-tab.pl: Remove.
3344 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
3345 instead of libm-err-tab.pl.
3346 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
3347 != no].
3348 * manual/install.texi (Tools for Compilation): Document
3349 requirement for Python to build manual.
3350 * INSTALL: Regenerated.
3351
d51f99ce
AA
33522018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
3353
3354 * bits/time64.h: New file.
3355 * include/time.h: Replace internal_time_t with __time64_t.
3356 * posix/bits/types (__time64_t): Add.
3357 * stdlib/Makefile: Add bits/time64.h to includes.
3358 * time/tzfile.c: Replace internal_time_t with __time64_t.
3359
97d91fcc 33602018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2a973ab7
AZ
3361
3362 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
3363 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
3364 __posix_spawn_file_actions_init, __posix_spawnattr_init,
3365 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
3366 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
3367 prototype.
3368 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
3369 * posix/spawn_faction_addclose.c
3370 (__posix_spawn_file_actions_addclose): Add hidden definition.
3371 * posix/spawn_faction_adddup2.c
3372 (__posix_spawn_file_actions_adddup2): Likewise.
3373 * posix/spawn_faction_destroy.c
3374 (__posix_spawn_file_actions_destroy): Likewise.
3375 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
3376 Likewise.
3377 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
3378 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
3379 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
3380 Likewise.
3381 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
3382 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
3383 Likewise.
3384
2954daf0
AS
33852018-10-24 Andreas Schwab <schwab@suse.de>
3386
3387 [BZ #18093]
3388 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
3389 format cache.
3390 * elf/cache.c (print_cache): Likewise.
3391
a27a4f47
AA
33922018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
3393
3394 * bits/timesize.h: New file.
3395 * stdlib/Makefile (headers): Add bits/timesize.h.
3396 * sysdeps/unix/sysv/linux/bits/msq-pad.h
3397 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
3398 * sysdeps/unix/sysv/linux/bits/sem-pad.h
3399 (__SEM_PAD_AFTER_TIME): Likewise.
3400 * sysdeps/unix/sysv/linux/bits/shm-pad.h
3401 (__SHM_PAD_AFTER_TIME): Likewise.
3402 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
3403 (__MSQ_PAD_BEFORE_TIME): Likewise.
3404 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
3405 (__SEM_PAD_BEFORE_TIME): Likewise.
3406 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
3407 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
3408 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
3409 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
3410 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
3411 (__MSQ_PAD_BEFORE_TIME): Likewise.
3412 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
3413 (__SEM_PAD_BEFORE_TIME): Likewise.
3414 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
3415 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
3416 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
3417 (__MSQ_PAD_BEFORE_TIME): Likewise.
3418 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
3419 (__SEM_PAD_BEFORE_TIME): Likewise.
3420 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
3421 (__SHM_PAD_BEFORE_TIME): Likewise.
3422 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
3423 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
3424 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
3425
7cc65773
L
34262018-10-24 H.J. Lu <hongjiu.lu@intel.com>
3427
3428 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
3429 USE_RDTSCP is defined.
3430 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
3431 USE_RDTSCP is defined.
3432
c3d8dc45
AZ
34332018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3434
18ad0de6
AZ
3435 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
3436 defined.
3437
c3d8dc45
AZ
3438 [BZ #23709]
3439 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
3440 independently of other flags.
3441
f1034472
FW
34422018-10-23 Florian Weimer <fweimer@redhat.com>
3443
3444 * time/tst-mktime2.c (N_STRINGS): Remove.
3445 (set_timezone): New function.
3446 (spring_forward_gap): Call it. Use FAIL_EXIT1.
3447 (mktime_test1): Report localtime failure and check errno value.
3448 Use TEST_COMPARE.
3449 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
3450 (do_test): Remove alarm call. Use set_timezone and array_length.
3451
367d7cc2
AS
34522018-10-23 Andreas Schwab <schwab@suse.de>
3453
3454 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
3455 (__start_context): Use END instead of PSEUDO_END.
3456
be8ff03f
JM
34572018-10-22 Joseph Myers <joseph@codesourcery.com>
3458
029ad711
JM
3459 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
3460 version to 4.19.
3461
8190520f
JM
3462 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
3463 version to 4.19.
3464
be8ff03f
JM
3465 [BZ #23793]
3466 * wcsmbs/c32rtomb.c: New file.
3467 * wcsmbs/mbrtoc32.c: Likewise.
3468 * wcsmbs/tst-c32-state.c: Likewise.
3469 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
3470 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
3471 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
3472 (tests): Add tst-c32-state.
3473 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
3474 $(gen-locales).
3475
2dd8e58c
L
34762018-10-21 H.J. Lu <hongjiu.lu@intel.com>
3477
3478 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
3479 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
3480
d0a74159
JM
34812018-10-19 Joseph Myers <joseph@codesourcery.com>
3482
3483 [BZ #23794]
3484 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
3485 pair and return 0 in that case, and use saved character to
3486 interpret following character.
3487 * wcsmbs/tst-c16-surrogate.c: New file.
3488 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
3489 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
3490 Depend on $(gen-locales)
3491
f997b4be
IYM
34922018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
3493
3494 [BZ #23562]
3495 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
3496 (struct siginfo_t): Use correct type for si_band.
3497
53b2bb87
FW
34982018-10-19 Florian Weimer <fweimer@redhat.com>
3499
3500 [BZ #23689]
3501 * resource/bits/types/struct_rusage.h (struct rusage): Update
3502 comment on struct. Remove extraneous field comment.
3503
0a271c8f
DM
35042018-10-18 David S. Miller <davem@davemloft.net>
3505
94a3a27f
DM
3506 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
3507 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
3508 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
3509 sysdep_routines in subdir elf.
3510 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
3511 version for __vdso_clock_gettime.
3512 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
3513 Define.
3514 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
3515 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
3516
0a271c8f
DM
3517 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
3518
72771e53
L
35192018-10-17 H.J. Lu <hongjiu.lu@intel.com>
3520
3521 * sysdeps/i386/init-arch.h: Removed.
3522 * sysdeps/i386/i586/init-arch.h: Likewise.
3523 * sysdeps/i386/i686/init-arch.h: Likewise.
3524 * sysdeps/i386/i686/hp-timing.h: Likewise.
3525 * sysdeps/x86_64/hp-timing.h: Likewise.
3526 * sysdeps/i386/isa.h: New file.
3527 * sysdeps/i386/i586/isa.h: Likewise.
3528 * sysdeps/i386/i686/isa.h: Likewise.
3529 * sysdeps/x86_64/isa.h: Likewise.
3530 * sysdeps/x86/hp-timing.h: New file.
3531 * sysdeps/x86/init-arch.h: Include <isa.h>.
3532
c2b7ccad
JM
35332018-10-17 Joseph Myers <joseph@codesourcery.com>
3534
3535 * math/libm-test-pow.inc (pow_test_data): Do not allow
3536 divide-by-zero exception for pow(+/- 0, -Inf).
3537
26756e57
ZW
35382018-10-17 Zack Weinberg <zackw@panix.com>
3539
3540 * manual/job.texi (Job Control is Optional): Remove node, as
3541 job control has not been optional in quite some time.
3542 (Job Control): Mention briefly that systems older than
3543 POSIX.1-2001 might not support job control.
3544 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
3545 defined on systems conforming to POSIX.1-2001.
3546
c5288d37
AS
35472018-10-17 Arjun Shankar <arjun@redhat.com>
3548
3549 [BZ #22062]
3550 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
3551 indentation.
3552 * (__gconv_read_conf): Mark function static.
3553 * (once): New static variable.
3554 * (__gconv_load_conf): New function.
3555 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
3556 * iconv/gconv_db.c (once): Remove static variable.
3557 * (__gconv_compare_alias): Use __gconv_load_conf instead of
3558 __gconv_read_conf.
3559 * (__gconv_find_transform): Likewise.
3560 * iconv/tst-iconv-mt.c: New test.
3561 * iconv/Makefile: Add tst-iconv_mt.
3562
8c8d2a8a
JM
35632018-10-17 Joseph Myers <joseph@codesourcery.com>
3564
3565 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
729f3402
JM
3566 bits/shm-pad.h.
3567 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
3568 (shmatt_t): Define as __syscall_ulong_t.
3569 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
3570 and [__SHM_PAD_AFTER_TIME].
3571 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
3572 Define shm_segsz and associated padding based on
3573 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
3574 Use __syscall_ulong_t instead of unsigned long int.
3575 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
3576 unsigned long int.
3577 [__USE_MISC] (struct shm_info): Likewise.
3578 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
3579 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
3580 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
3581 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
3582 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
3583 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
3584 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
3585 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
3586 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
3587 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
3588 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
3589
3590 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8c8d2a8a
JM
3591 bits/shmlba.h.
3592 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
3593 (SHMLBA): Remove macro.
3594 (__getpagesize): Remove function declaration.
3595 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
3596 <bits/shmlba.h>.
3597 (SHMLBA): Remove macro.
3598 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
3599 <bits/shmlba.h>.
3600 (SHMLBA): Remove macro.
3601 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
3602 <bits/shmlba.h>.
3603 (SHMLBA): Remove macro.
3604 (__getpagesize): Remove function declaration.
3605 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
3606 <bits/shmlba.h>.
3607 (SHMLBA): Remove macro.
3608 (__getshmlba): Remove function declaration.
3609 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
3610 (SHMLBA): Remove macro.
3611 (__getpagesize): Remove function declaration.
3612 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
3613 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
3614 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
3615 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
3616 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
3617 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
3618 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
3619 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
3620 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
3621 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
3622
403b4feb
SL
36232018-10-17 Stefan Liebler <stli@linux.ibm.com>
3624
3625 [BZ #23275]
3626 * nptl/tst-mutex10.c: New File.
3627 * nptl/Makefile (tests): Add tst-mutex10.
3628 (tst-mutex10-ENV): New variable.
3629 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
3630 Ensure that elision path is used if elision is available.
3631 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
3632 Likewise.
3633 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
3634 Likewise.
3635 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
3636 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
3637 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
3638 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
3639 Likewise.
3640 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
3641 (__pthread_mutex_cond_lock_adjust): Likewise.
3642 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
3643 Likewise.
3644 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
3645 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
3646 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3647 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
3648 Add comments.
3649 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
3650 Use atomic_load_relaxed and atomic_store_relaxed.
3651 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
3652 Use atomic_store_relaxed.
3653
ce5a7de6
AS
36542018-10-17 Andreas Schwab <schwab@suse.de>
3655
3656 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
3657 * crypt/badsalttest.c (TIMEOUT): Likewise.
3658 * crypt/sha256c-test.c (TIMEOUT): Likewise.
3659 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
3660 * io/test-lfs.c (TIMEOUT): Likewise.
3661 * libio/tst-atime.c (TIMEOUT): Likewise.
3662 * localedata/tst-leaks.c (TIMEOUT): Likewise.
3663 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
3664 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
3665 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
3666 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
3667 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
3668 * nptl/tst-cond11.c (TIMEOUT): Likewise.
3669 * nptl/tst-cond14.c (TIMEOUT): Likewise.
3670 * nptl/tst-cond15.c (TIMEOUT): Likewise.
3671 * nptl/tst-cond24.c (TIMEOUT): Likewise.
3672 * nptl/tst-cond25.c (TIMEOUT): Likewise.
3673 * nptl/tst-kill2.c (TIMEOUT): Likewise.
3674 * nptl/tst-kill3.c (TIMEOUT): Likewise.
3675 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
3676 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
3677 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
3678 * nptl/tst-once2.c (TIMEOUT): Likewise.
3679 * nptl/tst-once3.c (TIMEOUT): Likewise.
3680 * nptl/tst-once4.c (TIMEOUT): Likewise.
3681 * nptl/tst-robust8.c (TIMEOUT): Likewise.
3682 * nptl/tst-robust9.c (TIMEOUT): Likewise.
3683 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
3684 * nptl/tst-sem14.c (TIMEOUT): Likewise.
3685 * nptl/tst-sem6.c (TIMEOUT): Likewise.
3686 * nptl/tst-signal3.c (TIMEOUT): Likewise.
3687 * nptl/tst-spin4.c (TIMEOUT): Likewise.
3688 * nptl/tst-tls3.c (TIMEOUT): Likewise.
3689 * nptl/tst-tls4.c (TIMEOUT): Likewise.
3690 * posix/tst-chmod.c (TIMEOUT): Likewise.
3691 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
3692 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
3693 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
3694 * posix/tst-regex2.c (TIMEOUT): Likewise.
3695 * posix/tst-waitid.c (TIMEOUT): Likewise.
3696 * rt/tst-aio.c (TIMEOUT): Likewise.
3697 * rt/tst-aio10.c (TIMEOUT): Likewise.
3698 * rt/tst-aio4.c (TIMEOUT): Likewise.
3699 * rt/tst-aio5.c (TIMEOUT): Likewise.
3700 * rt/tst-aio6.c (TIMEOUT): Likewise.
3701 * rt/tst-aio64.c (TIMEOUT): Likewise.
3702 * rt/tst-aio7.c (TIMEOUT): Likewise.
3703 * rt/tst-aio9.c (TIMEOUT): Likewise.
3704 * rt/tst-clock.c (TIMEOUT): Likewise.
3705 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
3706 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
3707 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
3708 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
3709 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
3710 * rt/tst-timer4.c (TIMEOUT): Likewise.
3711 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
3712 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
3713 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
3714 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
3715 * time/tst-ftime.c (TIMEOUT): Likewise.
3716 * timezone/tst-tzset.c (TIMEOUT): Likewise.
3717
75c1aee5
AY
37182018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
3719
3720 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
3721 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
3722 for thunderX2.
3723
bcdb1bfa
JM
37242018-10-15 Joseph Myers <joseph@codesourcery.com>
3725
3726 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3727 bits/sem-pad.h.
3728 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
3729 instead of <bits/wordsize.h>.
3730 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
3731 and [__SEM_PAD_AFTER_TIME].
3732 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
3733 __syscall_ulong_t instead of unsigned long int.
3734 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
3735 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
3736 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
3737 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
3738 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
3739 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
3740 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
3741 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
3742 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
3743 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
3744 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
3745
f4efbdfb
PE
37462018-10-14 Paul Eggert <eggert@cs.ucla.edu>
3747
620a5d4c
PE
3748 regex: simplify by using intprops.h
3749 [BZ#23744]
3750 * posix/regex_internal.h [_LIBC]: Include intprops.h.
3751 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
3752 intprops.h defines them.
3753
f4efbdfb
PE
3754 regex: __builtin_expect → __glibc_unlikely
3755 [BZ#23744]
3756 This refactoring was prompted by a problem when the regex code is
3757 used as part of Gnulib and when the builder’s compiler does not grok
3758 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
3759 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
3760 Although this refactoring does not fix the problem directly,
3761 we might as well have Gawk use the now-preferred glibc style for when
3762 __builtin_expect is unavailable.
3763 * posix/regex_internal.h (BE): Remove.
3764 All uses replaced by __glibc_unlikely or __glibc_likely.
3765
9f9feb6d
JM
37662018-10-11 Joseph Myers <joseph@codesourcery.com>
3767
3768 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3769 bits/msq-pad.h.
3770 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
3771 instead of <bits/wordsize.h>.
3772 (msgqnum_t): Define as __syscall_ulong_t.
3773 (msglen_t): Likewise.
3774 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
3775 and [__MSQ_PAD_AFTER_TIME].
3776 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
3777 __syscall_ulong_t instead of unsigned long int.
3778 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
3779 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
3780 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
3781 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
3782 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
3783 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
3784 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
3785 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
3786 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
3787 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
3788 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
3789
b9c0f6c1
JM
37902018-10-10 Joseph Myers <joseph@codesourcery.com>
3791
2a4b25fa
JM
3792 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
3793 (struct shmid_ds): Condition padding after time fields on
3794 [__WORDSIZE == 32].
3795 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
3796 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
3797 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
3798
19e62f26
JM
3799 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
3800 (struct semid_ds): Condition padding after time fields on
3801 [__WORDSIZE == 32].
3802 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
3803 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
3804 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
3805 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
3806
b9c0f6c1
JM
3807 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
3808 (struct msqid_ds): Condition padding after time fields on
3809 [__WORDSIZE == 32].
3810 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
3811 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
3812 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
3813 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
3814
97785a61
SN
38152018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
3816
3817 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
3818
ed643089
SN
38192018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
3820
3821 * libio/tst-readline.c (TIMEOUT): Define.
3822
5a580643
PE
38232018-10-08 Paul Eggert <eggert@cs.ucla.edu>
3824
3825 mktime fix for Gnulib + coreutils
3826 [BZ#23745]
3827 This fix affects only Gnulib. Problem discovered when
3828 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
3829 * time/mktime.c:
3830 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
3831 Do not define since it is not used. Defining an unused static
3832 function prompts a warning from GCC when Coreutils is configured
3833 with --enable-gcc-warnings.
3834
c892ae04
LS
38352018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
3836
3837 * benchtests/scripts/compare_bench.py (main): set float type on
3838 threshold argument.
3839
a68ec8ea
RL
38402018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
3841
3842 [BZ #23740]
3843 * localedata/locales/kl_GL (mon): Update, the relative case.
3844 (alt_mon): Add, fill with month names in the nominative case.
3845 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
3846 (d_fmt): Set to "%b %d %Y".
3847
a1987621
JM
38482018-10-04 Joseph Myers <joseph@codesourcery.com>
3849
47c49251
JM
3850 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
3851 <bits/mman-linux.h>.
3852 (PROT_READ): Don't define here.
3853 (PROT_WRITE): Likewise.
3854 (PROT_EXEC): Likewise.
3855 (PROT_NONE): Likewise.
3856 (PROT_GROWSDOWN): Likewise.
3857 (PROT_GROWSUP): Likewise.
3858 (MAP_SHARED): Likewise.
3859 (MAP_PRIVATE): Likewise.
3860 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
3861 [__USE_MISC] (MAP_FILE): Likewise.
3862 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
3863 [__USE_MISC] (MAP_ANON): Likewise.
3864 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
3865 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
3866 (MCL_CURRENT): Likewise.
3867 (MCL_FUTURE): Likewise.
3868 (MCL_ONFAULT): Likewise.
3869 [__USE_MISC] (MADV_NORMAL): Likewise.
3870 [__USE_MISC] (MADV_RANDOM): Likewise.
3871 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
3872 [__USE_MISC] (MADV_WILLNEED): Likewise.
3873 [__USE_MISC] (MADV_DONTNEED): Likewise.
3874 [__USE_MISC] (MADV_FREE): Likewise.
3875 [__USE_MISC] (MADV_REMOVE): Likewise.
3876 [__USE_MISC] (MADV_DONTFORK): Likewise.
3877 [__USE_MISC] (MADV_DOFORK): Likewise.
3878 [__USE_MISC] (MADV_HWPOISON): Likewise.
3879 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
3880 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
3881 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
3882 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
3883 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
3884 (__MAP_ANONYMOUS): New macro.
3885 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
3886 <bits/mman-linux.h> inclusion.
3887 (MAP_FIXED): Likewise.
3888 (MS_SYNC): Likewise.
3889 (MS_ASYNC): Likewise.
3890 (MS_INVALIDATE): Likewise.
3891 [__USE_MISC] (MADV_MERGEABLE): Likewise.
3892 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
3893 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
3894 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
3895 [__USE_MISC] (MADV_DONTDUMP): Likewise.
3896 [__USE_MISC] (MADV_DODUMP): Likewise.
3897 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
3898 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
3899
a1987621
JM
3900 [BZ #23735]
3901 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
3902 Define.
3903 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
3904 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
3905 Add test-nldbl-redirect.
3906 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
3907 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
3908 $(objpfx)libnldbl_nonshared.a.
3909
e7624d70
SL
39102018-10-04 Stefan Liebler <stli@linux.ibm.com>
3911
3912 * support/support.h (support_objdir_elf_ldso): New variable.
3913 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
3914 * support/Makefile (CFLAGS-support_paths.c): Add definition
3915 for OBJDIR_ELF_LDSO_PATH.
3916 * support/test-container.c (main): Search for the ld.so
3917 which is also used by the testsuite.
3918
dae3ed95
RL
39192018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
3920
3921 [BZ #20209]
3922 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
3923 should be "sap" rather than "sab".
3924 (day): Fix spelling of Sunday, should be "sapaat" rather than
3925 "sabaat".
3926
f346b5b3
JM
39272018-10-02 Joseph Myers <joseph@codesourcery.com>
3928
3929 * math/libm-test-fma.inc (fma_test_data): Add more tests.
3930
4a06ceea
MJ
39312018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
3932
3933 [BZ #19444]
3934 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
3935 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
3936 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
3937
a06fc4a5
AZ
39382018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3939
3940 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
3941
a1ccc065
L
39422018-10-02 H.J. Lu <hongjiu.lu@intel.com>
3943
3944 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
3945 Add -mrtm.
3946 (CFLAGS-elision-unlock.c): Likewise.
3947 (CFLAGS-elision-timed.c): Likewise.
3948 (CFLAGS-elision-trylock.c): Likewise.
3949 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
3950
0b727ed4
AZ
39512018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3952
3953 [BZ #21037]
3954 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
3955 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
3956 new fd_to_filename interface.
3957 * libio/freopen64.c (freopen64): Likewise.
3958 * libio/tst-memstream.h: New file.
3959 * libio/tst-memstream4.c: Likewise.
3960 * libio/tst-wmemstream4.c: Likewise.
3961 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
3962 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
3963 and remove internal dynamic allocation.
3964
d0e91e8c
JM
39652018-10-01 Joseph Myers <joseph@codesourcery.com>
3966
3967 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
3968 (MREMAP_MAYMOVE): Do not define here.
3969 [__USE_GNU] (MREMAP_FIXED): Likewise.
3970 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
3971 (MREMAP_MAYMOVE): Define here instead.
3972 [__USE_GNU] (MREMAP_FIXED): Likewise.
3973 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
3974 (MREMAP_MAYMOVE): Remove.
3975 [__USE_GNU] (MREMAP_FIXED): Likewise.
3976
c52944e8
JM
39772018-09-28 Joseph Myers <joseph@codesourcery.com>
3978
3979 * math/fromfp.h: Do not include <math_private.h>.
3980 * math/s_cacosh_template.c: Likewise.
3981 * math/s_casin_template.c: Likewise.
3982 * math/s_casinh_template.c: Likewise.
3983 * math/s_ccos_template.c: Likewise.
3984 * math/s_cproj_template.c: Likewise.
3985 * math/s_fdim_template.c: Likewise.
3986 * math/s_fmaxmag_template.c: Likewise.
3987 * math/s_fminmag_template.c: Likewise.
3988 * math/s_iseqsig_template.c: Likewise.
3989 * math/s_ldexp_template.c: Likewise.
3990 * math/s_nextdown_template.c: Likewise.
3991 * math/w_log1p_template.c: Likewise.
3992 * math/w_scalbln_template.c: Likewise.
3993 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
3994 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
3995 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
3996 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
3997 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
3998 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
3999 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
4000 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
4001 * sysdeps/i386/fpu/s_atanl.c: Likewise.
4002 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
4003 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
4004 * sysdeps/i386/fpu/s_fdim.c: Likewise.
4005 * sysdeps/i386/fpu/s_logbl.c: Likewise.
4006 * sysdeps/i386/fpu/s_rintl.c: Likewise.
4007 * sysdeps/i386/fpu/s_significandl.c: Likewise.
4008 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
4009 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
4010 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4011 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4012 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
4013 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
4014 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
4015 * sysdeps/ieee754/k_standardf.c: Likewise.
4016 * sysdeps/ieee754/k_standardl.c: Likewise.
4017 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4018 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
4019 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
4020 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
4021 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
4022 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
4023 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
4024 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
4025 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
4026 * sysdeps/ieee754/s_signgam.c: Likewise.
4027 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
4028 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
4029 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
4030 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
4031 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
4032 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
4033 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
4034 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
4035 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
4036 * sysdeps/riscv/rvd/s_finite.c: Likewise.
4037 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
4038 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
4039 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
4040 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
4041 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
4042 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
4043 * sysdeps/riscv/rvf/fegetround.c: Likewise.
4044 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
4045 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
4046 * sysdeps/riscv/rvf/fesetround.c: Likewise.
4047 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
4048 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
4049 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
4050 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
4051 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
4052 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
4053 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
4054 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
4055 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
4056 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
4057 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
4058 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
4059 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
4060 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
4061 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
4062 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
4063 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
4064 <math_private.h>.
4065 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
4066
7b1f9406
L
40672018-09-28 H.J. Lu <hongjiu.lu@intel.com>
4068
4069 [BZ #23716]
4070 * sysdeps/i386/dl-cet.c: Removed.
4071 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
4072 prototype.
4073 (_dl_runtime_profile_shstk): Likewise.
4074 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
4075 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
4076
7a16bdbb
AZ
40772018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4078
4079 [BZ #23579]
4080 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
4081 do_test_with_invalid_iov): New tests.
4082 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
4083 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
4084 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
4085 errno is ENOSYS.
4086 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
4087 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
4088 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
4089
9755bc46
JM
40902018-09-27 Joseph Myers <joseph@codesourcery.com>
4091
81dca813
JM
4092 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
4093 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
4094 (MATH_REDIRECT_BINARY_ARGS): New macro.
4095 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
4096 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
4097 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
4098 header inclusion.
4099 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
4100 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4101 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
4102 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4103 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4104 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4105 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
4107 Likewise.
4108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
4109 Likewise.
4110 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
4111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
4112 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
4113 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
4114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
4115 Likewise.
4116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
4117 Likewise.
4118 * sysdeps/generic/math_private_calls.h
4119 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
4120 Do not declare and define as an inline function.
4121 * math/divtc3.c (__divtc3): Use copysign functions instead of
4122 __copysign variants.
4123 * math/multc3.c (__multc3): Likewise.
4124 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
4125 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
4126 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
4127 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
4128 Likewise.
4129 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
4130 (__ieee754_yn): Likewise.
4131 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
4132 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
4133 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
4134 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4135 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
4136 (__sin): Likewise.
4137 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
4138 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
4139 Likewise.
4140 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
4141 Likewise.
4142 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
4143 Likewise.
4144 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
4145 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
4146 Likewise.
4147 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
4148 (__ieee754_ynf): Likewise.
4149 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
4150 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
4151 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
4152 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
4153 Likewise.
4154 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
4155 (__ieee754_ynl): Likewise.
4156 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
4157 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
4158 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4159 Likewise.
4160 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4161 (__ieee754_ynl): Likewise.
4162 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
4163 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4164 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4165 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
4166 Likewise.
4167 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
4168 (__ieee754_ynl)
4169 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
4170 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
4171 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
4172 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
4173 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
4174
9755bc46
JM
4175 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
4176 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
4177 using MATH_REDIRECT.
4178 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
4179 header inclusion.
4180 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
4181 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4182 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4183 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
4184 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4185 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
4186 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
4187 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
4188 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
4189 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
4190 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
4191 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
4192 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
4193 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
4194 (round): Redirect to __round.
4195 (__roundl): Call round instead of __round.
4196 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
4197 Remove macro.
4198 [_ARCH_PWR5X] (__roundf): Likewise.
4199 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
4200 functions instead of __round variants.
4201 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
4202 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
4203 Likewise.
4204 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
4205 Likewise.
4206 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
4207 Likewise.
4208 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
4209 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
4210 __lroundl.
4211 (__ieee754_expl): Call roundl instead of __roundl.
4212
f841c97e
AS
42132018-09-27 Andreas Schwab <schwab@suse.de>
4214
4215 [BZ #23717]
4216 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
4217 (do_test): Make st1 static.
4218
6ca8284e
AS
42192018-09-26 Andreas Schwab <schwab@suse.de>
4220
4221 [BZ #23707]
4222 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
4223 * elf/Makefile (tests): Add tst-unwind-ctor.
4224 (modules-names): Add tst-unwind-ctor-lib.
4225 ($(objpfx)tst-unwind-ctor): Depend on
4226 $(objpfx)tst-unwind-ctor-lib.so.
4227
61d8b5fe
JM
42282018-09-26 Joseph Myers <joseph@codesourcery.com>
4229
4230 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
4231 file. Most contents moved from ....
4232 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
4233 and include <bits/mman-map-flags-generic.h>.
4234 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
4235 (sysdep_headers): Add bits/mman-map-flags-generic.h.
4236 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
4237 <bits/mman-map-flags-generic.h>.
4238 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
4239 macros defined in <bits/mman-map-flags-generic.h>.
4240 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
4241 <bits/mman-map-flags-generic.h>.
4242 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
4243 defined in <bits/mman-map-flags-generic.h>.
4244
46341286
AS
42452018-09-26 Andreas Schwab <schwab@suse.de>
4246
4247 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
4248 output.
4249
b5c45e83
AZ
42502018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
4251 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4252 Fangrui Song <maskray@google.com>
4253
4254 [BZ #20480]
4255 * config.make.in (have-textrel_ifunc): New define.
4256 * configure.ac: Add check if linker supports textrel relocation with
4257 ifunc.
4258 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
4259 tst-ifunc-textrel.
4260 (CFLAGS-tst-ifunc-textrel.c): New rule.
4261 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
4262 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
4263 * elf/tst-ifunc-textrel.c: New file.
4264
8ea4d2b7
JM
42652018-09-25 Joseph Myers <joseph@codesourcery.com>
4266
d62f9ec0
JM
4267 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
4268 <bits/procfs-prregset.h>.
4269 (prgregset_t): Define using __prgregset_t.
4270 (prfpregset_t): Define using __prfpregset_t.
4271 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
4272 (sysdep_headers): Add bits/procfs-prregset.h.
4273 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
4274 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
4275 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
4276 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
4277
d0d8eb43
JM
4278 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
4279 <bits/procfs-id.h> and <bits/procfs-extra.h>.
4280 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
4281 pr_uid and pr_gid.
4282 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
4283 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
4284 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
4285 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
4286 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
4287 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
4288 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
4289 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
4290 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
4291 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
4292 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
4293 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
4294 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
4295 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
4296 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
4297 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
4298 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
4299 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
4300 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
4301 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
4302 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
4303 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
4304 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
4305 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
4306
8ea4d2b7
JM
4307 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
4308 AArch64 version. Include <bits/procfs.h>.
4309 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
4310 (sysdep_headers): Add bits/procfs.h.
4311 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
4312 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
4313 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
4314 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
4315 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
4316 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
4317 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
4318 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
4319 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
4320 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
4321 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
4322 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
4323 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
4324 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
4325 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
4326 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
4327 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
4328
c7027166
AZ
43292018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4330
4331 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
4332 Use libsupport.
4333
335a3b0a
AS
43342018-09-25 Arjun Shankar <arjun@redhat.com>
4335
4336 * iconv/gconv_int.h (__gconv_path_elem): Remove.
4337 (__gconv_max_path_elem_len): Likewise.
4338 (__gconv_nmodules): Likewise.
4339 (__gconv_get_path): Likewise.
4340 (path_elem): Move to ...
4341 * iconv/gconv_conf.c: ... here.
4342 (__gconv_get_path): Mark function static.
4343 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
4344 * iconv/gconv_open.c: ... here.
4345
462d348c
AS
43462018-09-24 Andreas Schwab <schwab@suse.de>
4347
4348 * scripts/haveversions.awk: New file.
4349 * Makerules ($(common-objpfx)Versions.def)
4350 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
4351 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
4352 Move rules ...
4353 * Makeconfig ($(common-objpfx)Versions.def)
4354 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
4355 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
4356 ... here.
4357 ($(common-objpfx)Versions.mk): New rule. Include it.
4358 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
4359 Emit error if build-obsolete-nsl = yes.
4360 * manual/install.texi (Configuring and compiling): Describe
4361 --enable-obsolete-nsl as unavaiable after version 2.28.
4362 * INSTALL: Regenerate.
4363
f0458cf4
AZ
43642018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4365
4366 * NEWS: Add note about new TLE support on powerpc64le.
4367 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
4368 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
4369 __ununsed1.
4370 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
4371 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
4372 * sysdeps/powerpc/powerpc32/sysdep.h,
4373 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
4374 ABORT_TRANSACTION): Remove macros.
4375 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
4376 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
4377 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
4378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
4379 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4380 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
4381 usage.
4382 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
4383
434d45fd
RL
43842018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
4385
4386 [BZ #10425]
4387 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
4388 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
4389 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
4390 which is the same as in it_IT.
4391 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
4392 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
4393
d90c9b1a
JM
43942018-09-20 Joseph Myers <joseph@codesourcery.com>
4395
7abf97be
JM
4396 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
4397 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
4398 using MATH_REDIRECT.
4399 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
4400 header inclusion.
4401 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
4402 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
4403 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
4404 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
4405 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
4406 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4407 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
4408 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
4409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
4410 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
4411 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
4412 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
4413 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
4414 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
4415 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
4416 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
4417 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
4418 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
4419 (ceil): Redirect to __ceil.
4420 (floor): Redirect to __floor.
4421 (trunc): Redirect to __trunc.
4422 (__truncl): Call trunc instead of __trunc.
4423 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
4424 Remove macro.
4425 [_ARCH_PWR5X] (__truncf): Likewise.
4426 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
4427 trunc functions instead of __trunc variants.
4428 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
4429 Likewise.
4430 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
4431 Likewise.
4432 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4433 Likewise.
4434 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
4435 Likewise.
4436
d90c9b1a
JM
4437 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
4438 [__i586__ || __pentium__].
4439 [__i486__]: Handle explicitly.
4440 (HAS_CPUID): Define to 1 if above macros are undefined.
4441 (HAS_I586): Likewise.
4442 (HAS_I686): Likewise.
4443
db9a8ad4
FW
44442018-09-20 Florian Weimer <fweimer@redhat.com>
4445
4446 * misc/tst-gethostid.c: New file.
4447 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
4448 (tst-gethostid): Link with -ldl.
4449
1214ba06
MY
44502018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
4451
4452 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
4453 value from gethostbyname_r.
4454
791b350d
CD
44552018-09-19 Carlos O'Donell <carlos@redhat.com>
4456
4457 * stdlib/tst-setcontext9.c (f1): Rename to...
4458 (f1a): ... this.
4459 (f1b): New function implementing lower half of f1 in alternate stack.
4460
8e6fd2bd
PE
44612018-09-19 Paul Eggert <eggert@cs.ucla.edu>
4462
e1080e7e
PE
4463 Fix mktime localtime offset confusion
4464 [BZ #23603]
4465 * include/time.h (__mktime_internal): The localtime offset is now
4466 of type long int instead of time_t. This is the longstanding type
4467 in glibc, and it is more than enough to represent difference
4468 between localtime and gmtime even if it is 32 bits and time_t is
4469 64. Changing it now will let us avoid an unnecessary change when
4470 time_t is widened to 64 bits on 32-bit platforms.
4471 * time/mktime-internal.h (mktime_offset_t): Now long int.
4472
8e6fd2bd
PE
4473 Merge mktime, timegm from upstream Gnulib
4474 [BZ #23603][BZ #16346]
4475 This fixes some obscure problems with integer overflow.
4476 Although it looks scary, it is almost all a byte-for-byte copy
4477 from Gnulib, and the Gnulib code has been tested reasonably well.
4478 * include/intprops.h: New file, copied from Gnulib.
4479 * include/verify.h, time/mktime-internal.h:
4480 New tiny files, simplified from Gnulib.
4481 * time/mktime.c: Copy from Gnulib. This has the following changes:
4482 Do not include config.h if DEBUG_MKTIME is nonzero.
4483 Include stdbool.h, intprops.h, verify.h.
4484 Include string.h only if needed.
4485 Include stdlib.h on MS-Windows.
4486 Include mktime-internal.h.
4487 (DEBUG_MKTIME): Default to 0, and simplify later uses.
4488 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
4489 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
4490 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
4491 simplify later conditionals; default the others to zero. Use
4492 these conditionals to express only the code needed on the current
4493 platform. In uses of these conditionals, explicitly spell out how
4494 _LIBC affects things, so it’s easier to review from a glibc
4495 viewpoint.
4496 (WRAPV): Remove; no longer needed now that we have
4497 systematic overflow checking.
4498 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
4499 compartmentalize tzset issues. Move system-dependent tzsettish
4500 code here from mktime.
4501 (verify): Remove; now done by verify.h. All uses changed.
4502 (long_int): Use a more-conservative definition, to avoid
4503 integer overflow.
4504 (SHR): Remove, replacing with ...
4505 (shr): New function, which means we needn’t worry about side
4506 effects in args, and conversion analysis is simpler.
4507 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
4508 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
4509 (time_t_avg, time_t_add_ok): Remove.
4510 (mktime_min, mktime_max): New constants.
4511 (leapyear, isdst_differ): Use bool for booleans.
4512 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
4513 Use long_int, not time_t, for mktime differences.
4514 (long_int_avg): New function, replacing time_t_avg.
4515 INT_ADD_WRAPV replaces time_t_add_ok.
4516 (guess_time_tm): 6th arg is now long_int, not time_t const *.
4517 All uses changed.
4518 (convert_time): New function.
4519 (ranged_convert): Use it.
4520 (__mktime_internal): Last arg now points to mktime_offset_t, not
4521 time_t. All uses changed. This is a no-op on glibc, where
4522 mktime_offset_t is always time_t. Use int, not time_t, for UTC
4523 offset guess. Directly check for integer overflow instead of
4524 using a heuristic that works only 99.9...% of the time.
4525 Access *OFFSET only once, to avoid an unlikely race if the
4526 compiler delays a load and if this cascades into a signed integer
4527 overflow.
4528 (mktime): Move tzsettish code to my_tzset, and move
4529 localtime_offset to within mktime so that it doesn’t
4530 need a separate ifdef.
4531 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
4532 instead of localtime.
4533 * time/timegm.c: Copy from Gnulib. This has the following changes:
4534 Include mktime-internal.h.
4535 [!_LIBC]: Include config.h and time.h. Do not include
4536 timegm.h or time_r.h. Make __mktime_internal a macro,
4537 and include mktime-internal.h to get its declaration.
4538 (timegm): Temporary is now mktime_offset_t, not time_t.
4539 This affects only Gnulib.
4540
83a552b0
WD
45412018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
4542
4543 [BZ #23637]
4544 * string/test-strstr.c (pr23637): New function.
4545 (test_main): Add tests with longer needles.
4546 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
4547 * string/strstr.c (AVAILABLE): Likewise.
4548
d7347278
SN
45492018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
4550
4551 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
4552
424c4f60
SN
45532018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
4554
4555 * NEWS: Mention pow improvements.
4556 * math/Makefile (type-double-routines): Add e_pow_log_data.
4557 * sysdeps/generic/math_private.h (__exp1): Remove.
4558 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
4559 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
4560 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
4561 contraction.
4562 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
4563 (exp_inline): Remove.
4564 (__ieee754_exp): Only single double input is handled.
4565 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
4566 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
4567 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
4568 (__pow_log_data): Define.
4569 * sysdeps/ieee754/dbl-64/upow.h: Remove.
4570 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
4571 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
4572 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
4573 contraction.
4574 (CFLAGS-e_pow-fma4.c): Likewise.
4575
e4e4fde5
PE
45762018-09-18 Paul Eggert <eggert@cs.ucla.edu>
4577
dab9c348
PE
4578 Simplify tzfile fstat failure code
4579 [BZ #21716]
4580 * time/tzfile.c (__tzfile_read): Simplify slightly.
4581
e4e4fde5
PE
4582 Fix tzfile low-memory assertion failure
4583 [BZ #21716]
4584 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
4585 when registering time zone abbreviations.
4586
50bc59ca
JM
45872018-09-18 Joseph Myers <joseph@codesourcery.com>
4588
d3a43e49
JM
4589 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
4590 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
4591 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
4592 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
4593 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
4594 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
4595 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
4596 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
4597 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
4598
50bc59ca
JM
4599 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
4600 __ceil.
4601 (__ceill): Call ceil instead of __ceil.
4602 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
4603 __floor.
4604 (__floorl): Call floor instead of __floor.
4605
89983cb3
JM
46062018-09-17 Joseph Myers <joseph@codesourcery.com>
4607
71223ef9
JM
4608 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
4609 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
4610 using MATH_REDIRECT.
4611 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
4612 header inclusion.
4613 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
4614 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4615 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4616 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
4617 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4618 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4619 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
4620 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
4621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
4622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
4623 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
4624 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
4625 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
4626 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
4627 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
4628 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
4629 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
4630 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
4631 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
4632 Remove macro.
4633 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
4634 functions instead of __ceil variants.
4635 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
4636 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
4637 Likewise.
4638 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
4639 Likewise.
4640 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
4641 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
4642 Likewise.
4643 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
4644 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
4645
89983cb3
JM
4646 [BZ #21286]
4647 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
4648 constant.
4649 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
4650 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
4651 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
4652 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
4653 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
4654 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
4655 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
4656 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
4657 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
4658 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
4659 (ILL_BADIADDR): Remove constant.
4660 (TRAP_BRANCH): Likewise.
4661 (TRAP_HWBKPT): Likewise.
4662
e44acb20
JM
46632018-09-14 Joseph Myers <joseph@codesourcery.com>
4664
3f7f1d18
JM
4665 [BZ #23656]
4666 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
4667 Remove [_MIPS_SIM = _ABIN32] conditional case.
4668 (struct elf_prpsinfo): Likewise.
4669
d59f3e5e
JM
4670 [BZ #23649]
4671 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
4672 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
4673 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
4674 Likewise.
4675 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
4676 elf_prpsinfo): Likewise.
4677 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
4678 elf_prpsinfo): Likewise.
4679 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
4680 Likewise.
4681
f29b6f17
JM
4682 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
4683 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
4684 using MATH_REDIRECT.
4685 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
4686 header inclusion.
4687 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
4688 * sysdeps/alpha/fpu/s_rint.c: Likewise.
4689 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
4690 * sysdeps/i386/fpu/s_rintl.c: Likewise.
4691 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4692 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
4693 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
4694 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
4695 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4696 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
4697 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
4698 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
4699 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
4700 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
4701 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
4702 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
4703 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4704 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
4705 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
4706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
4707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
4708 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
4709 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
4710 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
4711 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
4712 * sysdeps/x86_64/fpu/math_private.h: Remove file.
4713 * math/e_scalb.c (invalid_fn): Use rint functions instead of
4714 __rint variants.
4715 * math/e_scalbf.c (invalid_fn): Likewise.
4716 * math/e_scalbl.c (invalid_fn): Likewise.
4717 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
4718 Likewise.
4719 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
4720 Likewise.
4721 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
4722 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
4723 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
4724 Likewise.
4725 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4726 Likewise.
4727 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
4728 Likewise.
4729 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
4730 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
4731
e44acb20
JM
4732 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
4733 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
4734 New macro.
4735 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
4736 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
4737 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
4738 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
4739 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
4740 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
4741 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
4742 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
4743 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
4744 && !NO_MATH_REDIRECT] (floor): Likewise.
4745 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
4746 header inclusion.
4747 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
4748 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4749 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4750 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
4751 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4752 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4753 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
4754 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
4755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
4756 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
4757 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
4758 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
4759 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
4760 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
4761 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
4762 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
4763 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
4764 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
4765 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
4766 Remove macro.
4767 [_ARCH_PWR5X] (__floorf): Likewise.
4768 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
4769 inline function.
4770 [__SSE4_1__] (__floorf): Likewise.
4771 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
4772 instead of __floor variants.
4773 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
4774 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
4775 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
4776 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
4777 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
4778 * math/w_tgamma_compat.c (__tgamma): Likewise.
4779 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
4780 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
4781 * math/w_tgammal_compat.c (__tgammal): Likewise.
4782 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
4783 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
4784 Likewise.
4785 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
4786 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
4787 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
4788 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
4789 Likewise.
4790 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
4791 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
4792 Likewise.
4793 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
4794 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
4795 Likewise.
4796 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
4797 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
4798 Likewise.
4799 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
4800 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
4801 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
4802 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
4803 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
4804 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
4805
221e4bab
JM
48062018-09-12 Joseph Myers <joseph@codesourcery.com>
4807
4808 * elf/Makefile (modules-names-tests): New variable.
4809
3e08ff54
SN
48102018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
4811
4812 * NEWS: Mention log2 improvements.
4813 * math/Makefile (type-double-routines): Add e_log2_data.
4814 * sysdeps/i386/fpu/e_log2_data.c: New file.
4815 * sysdeps/ia64/fpu/e_log2_data.c: New file.
4816 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
4817 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
4818 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
4819 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
4820 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
4821
f41b0a43
SN
48222018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
4823
4824 * NEWS: Mention log improvement.
4825 * math/Makefile (type-double-routines): Add e_log_data.
4826 * sysdeps/i386/fpu/e_log_data.c: New file.
4827 * sysdeps/ia64/fpu/e_log_data.c: New file.
4828 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
4829 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
4830 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
4831 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
4832 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
4833 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
4834
5a274db4
L
48352018-09-12 H.J. Lu <hongjiu.lu@intel.com>
4836 Xuepeng Guo <xuepeng.guo@intel.com>
4837
4838 [BZ #23606]
4839 * sysdeps/i386/start.S: Include <sysdep.h>
4840 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
4841 enabled. Add cfi_undefined (eip).
4842
b1176270
JM
48432018-09-11 Joseph Myers <joseph@codesourcery.com>
4844
4e7fbdd7
JM
4845 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
4846 (MOVQ): Likewise.
4847 (EXTRACT_WORDS64): Likewise.
4848 (INSERT_WORDS64): Likewise.
4849 (GET_FLOAT_WORD): Likewise.
4850 (SET_FLOAT_WORD): Likewise.
4851
b1176270
JM
4852 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
4853 argument.
4854 (Config.build_gcc): Use --disable-libsanitizer for first GCC
4855 build, but not for second build if --full-gcc. Use
4856 --enable-languages=all for second build if --full-gcc.
4857 (get_parser): Add --full-gcc option.
4858 (main): Update call to Context.
4859
527f355e
RL
48602018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
4861
4862 [BZ #10797]
4863 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
4864 Single Quotation Mark).
4865 (thousands_sep): Likewise.
4866 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
4867 * localedata/locales/it_IT (thousands_sep): Use ".".
4868 (grouping): Use "3;3".
4869
7244f13d
JM
48702018-09-10 Joseph Myers <joseph@codesourcery.com>
4871
4872 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
4873 x86_64 and i686 configs using --enable-obsolete-rpc
4874 --enable-obsolete-nsl.
4875
38245425
SL
48762018-09-06 Stefan Liebler <stli@linux.ibm.com>
4877
4878 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4879
28669f86
SL
48802018-09-06 Stefan Liebler <stli@linux.ibm.com>
4881
4882 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
4883 Increment size of new_argv by one.
4884
a33650d1
RL
48852018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
4886
4887 [BZ #17426]
4888 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
4889 * localedata/locales/ar_IN (d_fmt): Likewise.
4890 * localedata/locales/bhb_IN (d_fmt): Likewise.
4891 * localedata/locales/bho_IN (d_fmt): Likewise.
4892 * localedata/locales/bn_BD (d_fmt): Likewise.
4893 * localedata/locales/bn_IN (d_fmt): Likewise.
4894 * localedata/locales/doi_IN (d_fmt): Likewise.
4895 * localedata/locales/gu_IN (d_fmt): Likewise.
4896 * localedata/locales/hi_IN (d_fmt): Likewise.
4897 * localedata/locales/hne_IN (d_fmt): Likewise.
4898 * localedata/locales/kn_IN (d_fmt): Likewise.
4899 * localedata/locales/mag_IN (d_fmt): Likewise.
4900 * localedata/locales/mai_IN (d_fmt): Likewise.
4901 * localedata/locales/mjw_IN (d_fmt): Likewise.
4902 * localedata/locales/ml_IN (d_fmt): Likewise.
4903 * localedata/locales/mni_IN (d_fmt): Likewise.
4904 * localedata/locales/mr_IN (d_fmt): Likewise.
4905 * localedata/locales/pa_IN (d_fmt): Likewise.
4906 * localedata/locales/raj_IN (d_fmt): Likewise.
4907 * localedata/locales/sat_IN (d_fmt): Likewise.
4908 * localedata/locales/sd_IN (d_fmt): Likewise.
4909 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
4910 * localedata/locales/ta_IN (d_fmt): Likewise.
4911 * localedata/locales/ta_LK (d_fmt): Likewise.
4912 * localedata/locales/tcy_IN (d_fmt): Likewise.
4913 * localedata/locales/ur_IN (d_fmt): Likewise.
4914
4915 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
4916 * localedata/locales/ks_IN (d_fmt): Likewise.
4917 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
4918
4919 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
4920 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
4921 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
4922 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
4923
d114e6a7
SN
49242018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
4925
4926 * NEWS: Mention exp and exp2 improvements.
4927 * math/Makefile (libm-support): Remove t_exp.
4928 (type-double-routines): Add math_err and e_exp_data.
4929 * sysdeps/aarch64/libm-test-ulps: Update.
4930 * sysdeps/arm/libm-test-ulps: Update.
4931 * sysdeps/i386/fpu/e_exp_data.c: New file.
4932 * sysdeps/i386/fpu/math_err.c: New file.
4933 * sysdeps/i386/fpu/t_exp.c: Remove.
4934 * sysdeps/ia64/fpu/e_exp_data.c: New file.
4935 * sysdeps/ia64/fpu/math_err.c: New file.
4936 * sysdeps/ia64/fpu/t_exp.c: Remove.
4937 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
4938 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
4939 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
4940 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
4941 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
4942 * sysdeps/ieee754/dbl-64/math_config.h: New file.
4943 * sysdeps/ieee754/dbl-64/math_err.c: New file.
4944 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
4945 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
4946 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
4947 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
4948 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
4949 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
4950 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
4951 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4952 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4953
b9d8c474
JM
49542018-09-05 Joseph Myers <joseph@codesourcery.com>
4955
b7cdc2ae
JM
4956 * sysdeps/alpha/fpu/math_private.h: Remove.
4957
b9d8c474
JM
4958 * sysdeps/generic/math_private.h
4959 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
4960 Move this inline function ....
4961 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
4962 * include/math.h [!_ISOMAC]: To here....
4963
418d99e6
JM
49642018-09-04 Joseph Myers <joseph@codesourcery.com>
4965
4966 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
4967 code ....
4968 [!FE_HAVE_ROUNDING_MODES]: And this code ....
4969 * include/fenv.h [!_ISOMAC]: ... to here.
4970 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
4971 (feraiseexcept): Likewise.
4972 * math/fromfp.h: Do not include <fenv_private.h>.
4973 * math/s_cexp_template.c: Likewise.
4974 * math/s_csin_template.c: Likewise.
4975 * math/s_csinh_template.c: Likewise.
4976 * math/s_ctan_template.c: Likewise.
4977 * math/s_ctanh_template.c: Likewise.
4978 * math/s_iseqsig_template.c: Likewise.
4979 * math/w_acos_compat.c: Likewise.
4980 * math/w_acosf_compat.c: Likewise.
4981 * math/w_acosl_compat.c: Likewise.
4982 * math/w_asin_compat.c: Likewise.
4983 * math/w_asinf_compat.c: Likewise.
4984 * math/w_asinl_compat.c: Likewise.
4985 * math/w_j0_compat.c: Likewise.
4986 * math/w_j0f_compat.c: Likewise.
4987 * math/w_j0l_compat.c: Likewise.
4988 * math/w_j1_compat.c: Likewise.
4989 * math/w_j1f_compat.c: Likewise.
4990 * math/w_j1l_compat.c: Likewise.
4991 * math/w_jn_compat.c: Likewise.
4992 * math/w_jnf_compat.c: Likewise.
4993 * math/w_log10_compat.c: Likewise.
4994 * math/w_log10f_compat.c: Likewise.
4995 * math/w_log10l_compat.c: Likewise.
4996 * math/w_log2_compat.c: Likewise.
4997 * math/w_log2f_compat.c: Likewise.
4998 * math/w_log2l_compat.c: Likewise.
4999 * math/w_log_compat.c: Likewise.
5000 * math/w_logf_compat.c: Likewise.
5001 * math/w_logl_compat.c: Likewise.
5002 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
5003 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
5004 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
5005 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
5006 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
5007 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
5008 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
5009 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
5010 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
5011 * sysdeps/ieee754/k_standardl.c: Likewise.
5012 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5013 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
5014 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5015 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5016 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5017 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5018 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5019 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
5020 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
5021 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
5022 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
5023 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
5024 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
5025 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
5026 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
5027 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
5028 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
5029 * math/w_ilogb_template.c: Include <fenv.h> instead of
5030 <fenv_private.h>.
5031 * math/w_llogb_template.c: Likewise.
5032 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
5033 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5034
70e2ba33
JM
50352018-09-03 Joseph Myers <joseph@codesourcery.com>
5036
5037 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
5038 * math/fromfp.h: Include <fenv_private.h>.
5039 * math/math-narrow.h: Likewise.
5040 * math/s_cexp_template.c: Likewise.
5041 * math/s_csin_template.c: Likewise.
5042 * math/s_csinh_template.c: Likewise.
5043 * math/s_ctan_template.c: Likewise.
5044 * math/s_ctanh_template.c: Likewise.
5045 * math/s_iseqsig_template.c: Likewise.
5046 * math/w_acos_compat.c: Likewise.
5047 * math/w_acosf_compat.c: Likewise.
5048 * math/w_acosl_compat.c: Likewise.
5049 * math/w_asin_compat.c: Likewise.
5050 * math/w_asinf_compat.c: Likewise.
5051 * math/w_asinl_compat.c: Likewise.
5052 * math/w_ilogb_template.c: Likewise.
5053 * math/w_j0_compat.c: Likewise.
5054 * math/w_j0f_compat.c: Likewise.
5055 * math/w_j0l_compat.c: Likewise.
5056 * math/w_j1_compat.c: Likewise.
5057 * math/w_j1f_compat.c: Likewise.
5058 * math/w_j1l_compat.c: Likewise.
5059 * math/w_jn_compat.c: Likewise.
5060 * math/w_jnf_compat.c: Likewise.
5061 * math/w_llogb_template.c: Likewise.
5062 * math/w_log10_compat.c: Likewise.
5063 * math/w_log10f_compat.c: Likewise.
5064 * math/w_log10l_compat.c: Likewise.
5065 * math/w_log2_compat.c: Likewise.
5066 * math/w_log2f_compat.c: Likewise.
5067 * math/w_log2l_compat.c: Likewise.
5068 * math/w_log_compat.c: Likewise.
5069 * math/w_logf_compat.c: Likewise.
5070 * math/w_logl_compat.c: Likewise.
5071 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
5072 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
5073 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
5074 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
5075 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5076 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5077 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5078 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
5079 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5080 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5081 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5082 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5083 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
5084 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
5085 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5086 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
5087 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
5088 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
5089 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
5090 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
5091 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
5092 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5093 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5094 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
5095 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5096 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
5097 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
5098 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
5099 * sysdeps/ieee754/float128/float128_private.h: Likewise.
5100 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
5101 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
5102 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5103 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
5104 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
5105 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
5106 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
5107 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
5108 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
5109 * sysdeps/ieee754/k_standardl.c: Likewise.
5110 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5111 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
5112 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5113 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5114 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
5115 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
5116 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
5117 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5118 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5119 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5120 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5121 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5122 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
5123 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5124 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
5125 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
5126 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5127 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
5128 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
5129 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
5130 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
5131 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
5132 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
5133 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
5134 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
5135 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
5136 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5137 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
5138 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
5139 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
5140 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
5141 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
5142 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
5143 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
5144 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
5145 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
5146 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
5147 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5148 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
5149 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
5150 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
5151 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
5152 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
5153 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
5154 * sysdeps/riscv/rvd/s_finite.c: Likewise.
5155 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
5156 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
5157 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
5158 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
5159 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
5160 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
5161 * sysdeps/riscv/rvf/fegetround.c: Likewise.
5162 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
5163 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
5164 * sysdeps/riscv/rvf/fesetround.c: Likewise.
5165 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
5166 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
5167 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
5168 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
5169 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
5170 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
5171 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
5172 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
5173 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
5174 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
5175 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
5176 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
5177 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
5178 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
5179 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
5180 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
5181
a6e8926f
PP
51822018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
5183
5184 [BZ #20271]
5185 * include/stdio.h (__libc_fatal): Mention newline in comment.
5186 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
5187 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
5188 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5189 * nss/nsswitch.c (__nss_next2): Likewise.
5190 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
5191 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
5192 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
5193 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
5194 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
5195 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
5196 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
5197 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
5198 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
5199 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
5200 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
5201 * sysdeps/unix/sysv/linux/netlink_assert_response.c
5202 (__netlink_assert_response): Likewise.
5203
2bbd06bc
JM
52042018-08-31 Joseph Myers <joseph@codesourcery.com>
5205
5206 * conform/glibcconform.py: New file.
5207 * conform/list-header-symbols.py: Likewise.
5208 * conform/list-header-symbols.pl: Remove.
5209 * conform/Makefile (tests-special): Only add linknamespace tests
5210 if [PYTHON].
5211 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
5212
81b9d87b
L
52132018-08-31 H.J. Lu <hongjiu.lu@intel.com>
5214
5215 [BZ #23597]
5216 * support/Makefile (libsupport-routines): Add
5217 support_copy_file_range and xcopy_file_range.
5218 * support/support.h: Include <sys/types.h>.
5219 (support_copy_file_range): New prototype.
5220 * support/support_copy_file_range.c: New file. Copied and
5221 modified from io/copy_file_range-compat.c.
5222 * support/test-container.c (copy_one_file): Call xcopy_file_rang
5223 instead of copy_file_range.
5224 * support/xcopy_file_range.c: New file.
5225 * support/xunistd.h (xcopy_file_range): New prototype.
5226
d330f31a
CD
52272018-08-30 Carlos O'Donell <carlos@redhat.com>
5228
5229 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
5230 xpthread_create and xpthread_join.
5231
2bda273a
FW
52322018-08-30 Florian Weimer <fweimer@redhat.com>
5233
5234 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
5235
3bad2358
SL
52362018-08-30 Stefan Liebler <stli@linux.ibm.com>
5237
5238 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
5239 if malloc fails.
5240
09c12efc
JM
52412018-08-29 Joseph Myers <joseph@codesourcery.com>
5242
5243 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
5244 and minus_oflow as non-finite.
5245
ff6b2450
JM
52462018-08-28 Joseph Myers <joseph@codesourcery.com>
5247
5248 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
5249 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
5250 moved to fenv_private.h except for ...
5251 (TOINT_INTRINSICS): Kept in math_private.h.
5252 (roundtoint): Likewise.
5253 (converttoint): Likewise.
5254 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
5255 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
5256 * sysdeps/arm/math_private.h: Remove.
5257 * sysdeps/generic/fenv_private.h: New file. Contents moved from
5258 ....
5259 * sysdeps/generic/math_private.h: ... this file. Include
5260 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
5261 Include <fenv_private.h>. Remove functions and macros moved to
5262 fenv_private.h.
5263 * sysdeps/i386/fpu/math_private.h: Remove.
5264 * sysdeps/mips/math_private.h: Move to ....
5265 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
5266 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
5267 [__mips_hard_float] conditional. Include next <fenv_private.h>.
5268 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
5269 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
5270 * sysdeps/powerpc/fpu/math_private.h: Do not include
5271 <fenv_private.h>.
5272 * sysdeps/riscv/rvf/math_private.h: Move to ....
5273 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
5274 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
5275 <fenv_private.h>.
5276 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
5277 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
5278 * sysdeps/sparc/fpu/math_private.h: Remove.
5279 * sysdeps/i386/fpu/fenv_private.h: Move to ....
5280 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
5281 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
5282 <fenv_private.h>.
5283 * sysdeps/x86_64/fpu/math_private.h: Do not include
5284 <sysdeps/i386/fpu/fenv_private.h>.
5285
761404b7
FW
52862018-08-28 Florian Weimer <fweimer@redhat.com>
5287
5288 [BZ #23578]
5289 * posix/tst-regcomp-truncated.c: New file.
5290 * posix/Makefile (tests): Add it.
5291 (tst-regcomp-truncated.out): Depend on generated locales.
5292
d6c44c3d
FW
52932018-08-28 Florian Weimer <fweimer@redhat.com>
5294
5295 * support/test-container.c (main): Treat unshare failure with
5296 EPERM as an unsupported test.
5297
745664bd
FW
52982018-08-28 Florian Weimer <fweimer@redhat.com>
5299
5300 [BZ #23520]
5301 nscd: Fix use-after-free in addgetnetgrentX and its callers.
5302 * nscd/netgroupcache.c
5303 (addgetnetgrentX): Add tofreep parameter. Do not free
5304 heap-allocated buffer.
5305 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
5306 (addgetnetgrentX_ignore): New function.
5307 (addgetnetgrent): Call it.
5308 (readdgetnetgrent): Likewise.
5309
c8dd67e7
RS
53102018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5311
5312 * string/memmem.c: Use memcmp for first match.
5313
5abedf97
RL
53142018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
5315
5316 [BZ #17426]
5317 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
5318
86de0499
DD
53192018-08-27 DJ Delorie <dj@redhat.com>
5320
5321 * support/Makefile (others): Don't list programs explicitly as a
5322 dependency of "others".
5323
c3ab2110
JM
53242018-08-27 Joseph Myers <joseph@codesourcery.com>
5325
5326 * sysdeps/generic/math-tests-trap-force.h: New file.
5327 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
5328 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
5329 * sysdeps/powerpc/math-tests.h: Remove file.
5330 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
5331
99ea93ca
MK
53322018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
5333 Torvald Riegel <triegel@redhat.com>
5334
5335 [BZ #23538]
5336 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
5337 Update r to include the set wake-request flag if waiters are
5338 remaining after spinning.
5339
4061791f
JM
53402018-08-27 Joseph Myers <joseph@codesourcery.com>
5341
5342 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
5343
bc680b33
PE
53442018-08-25 Paul Eggert <eggert@cs.ucla.edu>
5345
761404b7 5346 [BZ #23578]
bc680b33
PE
5347 regex: fix uninitialized memory access
5348 I introduced this bug into gnulib in commit
5349 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
5350 eventually it was merged into glibc. The bug was found by
5351 project-repo <bugs@feusi.co> and reported here:
5352 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
5353 Diagnosis and draft fix reported by Assaf Gordon here:
5354 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
5355 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
5356 * posix/regex_internal.c (build_wcs_upper_buffer):
5357 Fix bug when mbrtowc returns 0.
5358
02458a52
CD
53592018-08-24 Carlos O'Donell <carlos@redhat.com>
5360
5361 * po/be.po: Update translation.
5362
acc2842a
DD
53632018-08-24 DJ Delorie <dj@delorie.com>
5364
5365 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
5366 $(libunwind).
5367
6c3a8a9d
PP
53682018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
5369
5370 [BZ #23400]
5371 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
5372 create temporary files in source tree.
5373
895ef79e
JM
53742018-08-24 Joseph Myers <joseph@codesourcery.com>
5375
5376 * sysdeps/generic/math-tests-trap.h: New file.
5377 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
5378 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
5379 * sysdeps/aarch64/math-tests.h: Remove file.
5380 * sysdeps/arm/math-tests.h: Likewise.
5381 * sysdeps/riscv/math-tests.h: Likewise.
5382 * sysdeps/aarch64/math-tests-trap.h: New file.
5383 * sysdeps/arm/math-tests-trap.h: Likewise.
5384 * sysdeps/riscv/math-tests-trap.h: Likewise.
5385
ca3aac57
WD
53862018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
5387
5388 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
5389 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
5390 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
5391 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
5392 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
5393 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
5394 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
5395 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
5396 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
5397 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5398 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5399 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5400 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5401 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
5402 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
5403 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
5404 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
5405 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
5406
60bcac09
JM
54072018-08-23 Joseph Myers <joseph@codesourcery.com>
5408
5409 * sysdeps/generic/math-tests-exceptions.h: New file.
5410 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
5411 (EXCEPTION_TESTS_float): Do not define here.
5412 (EXCEPTION_TESTS_double): Likewise.
5413 (EXCEPTION_TESTS_long_double): Likewise.
5414 (EXCEPTION_TESTS_float128): Likewise.
5415 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
5416 Likewise.
5417 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
5418 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
5419 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
5420 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
5421 * sysdeps/mips/math-tests.h: Likewise.
5422 * sysdeps/nios2/math-tests.h: Likewise.
5423 * sysdeps/riscv/math-tests.h [!__riscv_flen]
5424 (EXCEPTION_TESTS_float): Do not define here.
5425 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
5426 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
5427 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
5428
3bded567
WD
54292018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
5430
5431 * NEWS: Move optimized sinf entry to 2.29.
5432
900fb446
WD
54332018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
5434
5435 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
5436
561b0bec
DD
54372018-08-22 DJ Delorie <dj@redhat.com>
5438
5439 * Makefile (testroot.pristine): New rules to initialize the
5440 test-in-container "testroot".
5441 * Makerules (all-testsuite): Add tests-container.
5442 * Rules (tests-expected): Add tests-container.
5443 (binaries-all-tests): Likewise.
5444 (tests-container): New, run these tests in the testroot container.
5445 * support/Makefile (others): Add *-container, support_paths.c,
5446 xmkdirp, and links-dso-program.
5447 * support/links-dso-program-c.c: New.
5448 * support/links-dso-program.cc: New.
5449 * support/test-container.c: New.
5450 * support/shell-container.c: New.
5451 * support/echo-container.c: New.
5452 * support/true-container.c: New.
5453 * support/xmkdirp.c: New.
5454 * support/xsymlink.c: New.
5455 * support/support_paths.c: New.
5456 * support/support.h: Add support paths prototypes.
5457 * support/xunistd.h: Add xmkdirp () and xsymlink ().
5458
5459 * nss/tst-nss-test3.c: Convert to test-in-container.
5460 * nss/tst-nss-test3.root/: New.
5461
b35d3509
PE
54622018-08-22 Paul Eggert <eggert@cs.ucla.edu>
5463
5464 regex: port Gnulib code to z/OS POSIX environment
5465 Problem reported by Arnold Robbins in:
5466 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
5467 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
5468 Undef.
5469
16a25138
JM
54702018-08-22 Joseph Myers <joseph@codesourcery.com>
5471
debc4c98
JM
5472 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
5473 (ROUNDING_TESTS_double): Remove.
5474 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
5475 (ROUNDING_TESTS_double): Remove.
5476 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
5477 (ROUNDING_TESTS_double): Remove.
5478 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
5479 (ROUNDING_TESTS_float): Remove.
5480 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
5481 (ROUNDING_TESTS_float): Remove.
5482 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
5483 (ROUNDING_TESTS_float): Remove.
5484 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
5485 !TEST_MATHVEC here.
5486 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
5487 (IF_ROUND_INIT_FE_UPWARD): Likewise.
5488
16a25138
JM
5489 * sysdeps/generic/math-tests-rounding.h: New file.
5490 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
5491 (ROUNDING_TESTS_float): Do not define here.
5492 (ROUNDING_TESTS_double): Likewise.
5493 (ROUNDING_TESTS_long_double): Likewise.
5494 (ROUNDING_TESTS_float128): Likewise.
5495 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
5496 (ROUNDING_TESTS_double): Undefine before defining.
5497 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
5498 (ROUNDING_TESTS_double): Undefine before defining.
5499 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
5500 (ROUNDING_TESTS_double): Undefine before defining.
5501 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
5502 (ROUNDING_TESTS_float): Undefine before defining.
5503 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
5504 (ROUNDING_TESTS_float): Undefine before defining.
5505 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
5506 (ROUNDING_TESTS_float): Undefine before defining.
5507 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
5508 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
5509 not define here.
5510 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
5511 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
5512 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
5513 * sysdeps/riscv/math-tests.h [!__riscv_flen]
5514 (ROUNDING_TESTS_float): Do not define here.
5515 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
5516 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
5517 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
5518 (ROUNDING_TESTS_float): Likewise.
5519 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
5520 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
5521 * sysdeps/mips/math-tests.h [__mips_soft_float]
5522 (ROUNDING_TESTS_float): Likewise.
5523 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
5524 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
5525 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
5526 (ROUNDING_TESTS_double): Likewise.
5527 (ROUNDING_TESTS_long_double): Likewise.
5528
38b0593e
TK
55292018-08-21 Tobias Klauser <tklauser@distanz.ch>
5530
5531 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
5532 (PF_XDP): New macro.
5533 (AF_XDP): New macro.
5534 (SOL_XDP): New macro.
5535
5cd7dbde
JM
55362018-08-21 Joseph Myers <joseph@codesourcery.com>
5537
5538 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
5539 (TCP_INQ): Likewise.
5540 (TCP_CM_INQ): Likewise.
5541 (TCP_REPAIR_ON): Likewise.
5542 (TCP_REPAIR_OFF): Likewise.
5543 (TCP_REPAIR_OFF_NO_WP): Likewise.
5544 (struct tcp_zerocopy_receive): New type.
5545
aa42b3db
FW
55462018-08-21 Florian Weimer <fweimer@redhat.com>
5547
5548 * support/support.h (support_descriptor_supports_holes): Declare.
5549 * support/Makefile (libsupport-routines): Add
5550 support_descriptor_supports_holes.
5551 * support/support_descriptor_supports_holes.c: New file.
5552 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
5553 and stop testing if holes are not supported.
5554 * io/test-lfs.c (do_prepare): Likewise.
5555 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
5556 Likewise.
5557 * timezone/tst-tzset.c (create_tz_file): Likewise.
5558 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
5559 variable.
5560 (do_prepare): Set it.
5561 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
5562
c7627f41
FW
55632018-08-21 Florian Weimer <fweimer@redhat.com>
5564
5565 [BZ #17248]
5566 * Makeconfig (+cflags): Do not sort (and deduplicate).
5567
ef939d92
FW
55682018-08-21 Florian Weimer <fweimer@redhat.com>
5569
5570 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
5571 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
5572
88ffb39d
FW
55732018-08-20 Florian Weimer <fweimer@redhat.com>
5574
5575 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
5576 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
5577
17419540
JM
55782018-08-20 Joseph Myers <joseph@codesourcery.com>
5579
e6edd40d
JM
5580 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
5581 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
5582 and ssi_arch members.
5583
17419540
JM
5584 * elf/elf.c (NT_VMCOREDD): New macro.
5585 (AT_MINSIGSTKSZ): Likewise.
5586
fa78896b
RS
55872018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5588
5589 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
5590 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
5591 s_cosf-ppc64 and s_cosf-power8.
5592 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
5593 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
5594 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
5595 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
5596 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
5597 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
5598 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
5599 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
5600 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
5601 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
5602 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
5603 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
5604
86a6c75a
FW
56052018-08-17 Florian Weimer <fweimer@redhat.com>
5606
5607 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5608
35cfefd9
FW
56092018-08-17 Istvan Kurucsai <pistukem@gmail.com>
5610
5611 * malloc/malloc.c (_int_malloc): Additional binning code checks.
5612
6413fcde
FW
56132018-08-16 Florian Weimer <fweimer@redhat.com>
5614
5615 * configure.ac: Add --with-nonshared-cflags option.
5616 * config.make.in (extra-nonshared-cflags): Set variable.
5617 * Makeconfig (CFLAGS-.oS): Use it.
5618 * manual/install.texi (Configuring and compiling): Document
5619 --with-nonshared-cflags.
5620 * configure: Regenerate.
5621 * INSTALL: Likewise.
5622
93a2584c
FW
56232018-08-16 Florian Weimer <fweimer@redhat.com>
5624
5625 * Makeconfig (ASFLAGS): Always append required assembler flags.
5626
f6f275d2 56272018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
d6db68e6
ME
5628
5629 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
5630 (malloc_consolidate): Likewise.
5631
30a17d8c
PC
56322018-08-16 Pochang Chen <johnchen902@gmail.com>
5633
5634 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
5635
953a5a4a
SP
56362018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
5637
34f86d61
SP
5638 * benchtests/bench-strlen.c (do_test): Allocate buffers before
5639 every strlen call.
5640
953a5a4a
SP
5641 * benchtests/bench-strlen.c: Print performance numbers in json.
5642
7793ad7a
RS
56432018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5644
5645 * sysdeps/powerpc/powerpc64/multiarch/Makefile
5646 (sysdep_routines): Build strcmp-power9 and strncmp-power9
5647 only for little endian.
5648 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5649 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
5650 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
5651 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
5652 Add check for little endian.
5653 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
5654 (__strcmp_power9): Add check for little endian.
5655 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
5656 Add check for little endian.
5657 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
5658 (__strncmp_power9): Add check for little endian.
5659 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
5660 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
5661 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
5662 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
5663 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
5664
436e4d5b
SP
56652018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
5666
5667 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
5668 [!STRLEN](STRLEN): Set to __strlen.
5669 * sysdeps/aarch64/multiarch/strlen.c: New file.
5670 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
5671 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
5672 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
5673 (__libc_ifunc_impl_list): Add strlen.
5674 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
5675 strlen_generic and strlen_asimd.
5676
126c4e3f
WD
56772018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
5678
5679 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
5680 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
5681 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
5682
49acec17
WD
56832018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
5684
5685 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
5686
fdb16de3
FW
56872018-08-14 Florian Weimer <fweimer@redhat.com>
5688
5689 [BZ #23519]
5690 * include/stdio.h (__vfxprintf): Declare.
5691 * stdio-common/fxprintf.c (__vfxprintf): New function.
5692 (__fxprintf): Call it.
5693 * misc/err.c (convert_and_print): Remove function.
5694 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
5695 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
5696 * misc/Makefile (tests): Add tst-warn-wide.
5697 * misc/tst-warn-wide.c: New file.
5698
599cf397
WD
56992018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
5700 Szabolcs Nagy <szabolcs.nagy@arm.com>
5701
5702 * NEWS: Mention sinf, cosf, sincosf.
5703 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
5704 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
5705 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
5706 constants rather than including generic sincosf.h.
5707 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
5708 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
5709 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
5710 (reduced_cos): Remove.
5711 (sinf_poly): New function.
5712 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
5713
e95c6f61
FW
57142018-08-14 Florian Weimer <fweimer@redhat.com>
5715
5716 [BZ #23521]
5717 [BZ #23522]
5718 * nss/nss_files/files-alias.c (get_next_alias): During :include:
5719 processing, bail out if no room, and close the stream before
5720 returning ERANGE.
5721 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
5722 (tst-nss-files-alias-leak): Link with libdl.
5723 (tst-nss-files-alias-leak.out): Depend on nss_files.
5724
5725 * nss/tst-nss-files-alias-leak.c: New file.
5726
2d7acfac
FW
57272018-08-14 Florian Weimer <fweimer@redhat.com>
5728
5729 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
5730 server_user, stat_user.
5731
f3cd0904
JM
57322018-08-13 Joseph Myers <joseph@codesourcery.com>
5733
17b26500
JM
5734 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
5735 version to 4.18.
5736 (io_pgetevents): New syscall.
5737 (rseq): Likewise.
5738
3c1622eb
JM
5739 * manual/install.texi (Configuring and compiling): Do not list
5740 tools used for testing pretty printers here.
5741 (Tools for Compilation): List Python, PExpect and GDB here.
5742 Update descriptions of uses of Perl and Python.
5743 * INSTALL: Regenerate.
5744
f3cd0904
JM
5745 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5746 version to 4.18.
5747
b7b52b9d
FW
57482018-08-13 Florian Weimer <fweimer@redhat.com>
5749
5750 * misc/error.c (error): Add missing va_end call.
5751 (error_at_line): Likewise.
5752
01780188
FW
57532018-08-13 Florian Weimer <fweimer@redhat.com>
5754
5755 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
5756
44727aec
SP
57572018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
5758
8cac1f26
SP
5759 * benchtests/scripts/benchout.schema.json (properties): Add
5760 new properties.
5761
44727aec
SP
5762 * benchtests/bench-skeleton.c (main): Add duration and
5763 iterations attributes.
5764
c77bf91b
PE
57652018-08-10 Paul Eggert <eggert@cs.ucla.edu>
5766
5767 regex: Gnulib unibyte RRI uses bytes not chars
5768 Adjust the non-glibc code to agree with what Gawk needs for
5769 rational range interpretation (RRI) for regular expression ranges.
5770 In unibyte locales, Gawk wants ranges to use the underlying byte
5771 rather than the character code point. This change does not affect
5772 glibc proper.
5773 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
5774 In unibyte locales, use the byte value rather than
5775 running it through btowc.
5776
2ce7ba7d
JM
57772018-08-10 Joseph Myers <joseph@codesourcery.com>
5778
5779 * sysdeps/generic/math-tests-snan.h: New file.
5780 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
5781 (SNAN_TESTS_float): Do not define here.
5782 (SNAN_TESTS_double): Likewise.
5783 (SNAN_TESTS_long_double): Likewise.
5784 (SNAN_TESTS_float128): Likewise.
5785 * sysdeps/i386/fpu/math-tests-snan.h: New file.
5786 * sysdeps/i386/fpu/math-tests.h: Remove file.
5787 * sysdeps/ia64/math-tests-snan.h: New file.
5788 * sysdeps/ia64/math-tests.h: Remove file.
5789 * sysdeps/x86/math-tests.h: Likewise.
5790 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
5791
ea5c662c
WD
57922018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
5793 Szabolcs Nagy <szabolcs.nagy@arm.com>
5794
5795 * math/Makefile: Add s_sincosf_data.c.
5796 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
5797 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
5798 (sincosf_poly): Likewise.
5799 (reduce_small): Likewise.
5800 (reduce_large): Likewise.
5801 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
5802 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
5803 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
5804 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
5805
43cfdf8f
SN
58062018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
5807 Szabolcs Nagy <szabolcs.nagy@arm.com>
5808
5809 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
5810 (converttoint): Use lround.
5811 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
5812 document the semantics when TOINT_INTRINSICS is set.
5813 (converttoint): Likewise.
5814 (TOINT_RINT): Remove.
5815 (TOINT_SHIFT): Remove.
5816 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
5817 path.
5818
69065288
FW
58192018-08-10 Florian Weimer <fweimer@redhat.com>
5820
5821 [BZ #23497]
5822 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
5823 function.
5824 (__old_getdents64): Use getdents64. Convert entries without
5825 moving them.
5826 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
5827 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
5828 tst-readdir64-compat.
5829
8f135efc
IL
58302018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
5831
5832 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
5833 Fix unwind.
5834
71c01af5
IL
58352018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
5836
5837 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
5838 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
5839 code to s390x-mcount.h and #include it.
5840 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
5841 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
5842 (__fentry__): Add.
5843
8d997d22
IL
58442018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
5845
5846 * stdlib/Versions: Remove __fentry__.
5847 * sysdeps/i386/Versions: Add __fentry__.
5848 * sysdeps/x86_64/Versions: Add __fentry__.
5849
69e2444a
IL
58502018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
5851
5852 * sysdeps/s390/Makefile: Register the new tests.
5853 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
5854 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
5855 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
5856 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
5857 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
5858 * sysdeps/s390/tst-dl-runtime.c: New file.
5859
bde6320f
IL
58602018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
5861
5862 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
5863 Do not clobber R0.
5864
5755f5e4
IL
58652018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
5866
5867 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
5868 Do not clobber R0.
5869
c8ad8522
IL
58702018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
5871
5872 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
5873 Do not clobber R0.
5874
b215eee1
IL
58752018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
5876
5877 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
5878 Do not clobber R0.
5879
329c6fec
IL
58802018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
5881
5882 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
5883 Use symbolic offsets for stack variables.
5884
0fb7afa2
IL
58852018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
5886
5887 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
5888 Use symbolic offsets for stack variables.
5889
6954059a
IL
58902018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
5891
5892 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
5893 Use symbolic offsets for stack variables.
5894
c7099673
IL
58952018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
5896
5897 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
5898 Use symbolic offsets for stack variables.
5899
2813e41e
JM
59002018-08-09 Joseph Myers <joseph@codesourcery.com>
5901
5902 * math/gen-libm-test.py: New file.
5903 * math/gen-libm-test.pl: Remove.
5904 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
5905 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
5906 gen-libm-test.pl.
5907 ($(libm-test-c-noauto-obj)): Likewise.
5908 ($(libm-test-c-auto-obj)): Likewise.
5909 ($(libm-test-c-narrow-obj)): Likewise.
5910 (regen-ulps): Likewise.
5911 * math/README.libm-test: Update references to gen-libm-test.pl.
5912 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
5913 referencing gen-libm-test.pl.
5914 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
5915 * math/libm-test-support.c: Likewise.
5916 * math/libm-test-support.h: Likewise.
5917 * sysdeps/generic/libm-test-ulps: Likewise.
5918
be64b194
SP
59192018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
5920
5921 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
5922 Fix value.
5923
140137fb
JM
59242018-08-08 Joseph Myers <joseph@codesourcery.com>
5925
5926 * math/libm-test-nextdown.inc (do_test): Move comment to ....
5927 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
5928
b5403eca
ST
59292018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
5930
5931 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
5932 symbols.
8ac0f9e6
ST
5933 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
5934 __pthread_setspecific): Add hidden proto.
5935 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
5936 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
b5403eca 5937
014efdd7
SP
59382018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
5939
5940 * benchtests/bench-string.h (buf1_size, buf2_size): New
5941 variables.
5942 (init_sizes): New function.
5943 (test_init): Use it.
5944 (alloc_buf, exit_error): New functions.
5945 (alloc_bufs): Use ALLOC_BUF.
5946 (realloc_bufs): Remove.
5947 * benchtests/bench-memcmp.c (do_test): Adjust.
5948 * benchtests/bench-memset-large.c (do_test): Likewise.
5949 * benchtests/bench-memset-walk.c (do_test): Likewise.
5950 * benchtests/bench-memset.c (do_test): Likewise.
5951 * benchtests/bench-strncmp.c (do_test): Likewise.
5952
92a4cba7
AS
59532018-08-06 Andreas Schwab <schwab@suse.de>
5954
5955 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
5956 of CONST_THREAD_AREA.
5957
fb4c32ae
L
59582018-08-06 H.J. Lu <hongjiu.lu@intel.com>
5959
5960 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
5961 (STATE_SAVE_MASK): Likewise.
5962 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
5963 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
5964 (STATE_SAVE_MASK): Likewise.
5965 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
5966 instead of <cpu-features.h>.
5967
bf418187
DD
59682018-08-03 DJ Delorie <dj@redhat.com>
5969
5970 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
e5721f45 5971 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
bf418187 5972
bb17621a
DD
5973 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
5974
ea705eb5
JM
59752018-08-03 Joseph Myers <joseph@codesourcery.com>
5976
5977 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
5978 after TEST_* calls.
5979 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
5980 * math/libm-test-logb.inc (logb_test_data): Likewise.
5981
284f42bc
WD
59822018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
5983
5984 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
5985 * string/strstr.c (AVAILABLE): Likewise.
5986
430388d5
L
59872018-08-03 H.J. Lu <hongjiu.lu@intel.com>
5988
5989 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
5990 <init-arch.h>.
5991 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
5992 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
5993 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
5994
c5760aa9
CD
59952018-08-03 Carlos O'Donell <carlos@redhat.com>
5996
5997 * po/be.po: Update translation.
5998
6b535b84
CD
5999 * po/be.po: Update translation.
6000
ae67f2e5
L
60012018-08-03 H.J. Lu <hongjiu.lu@intel.com>
6002
6003 * sysdeps/x86/cpu-features-offsets.sym
6004 (rtld_global_ro_offsetof): Removed.
6005 (CPU_FEATURES_SIZE): Likewise.
6006 (CPUID_OFFSET): Likewise.
6007 (CPUID_SIZE): Likewise.
6008 (CPUID_EAX_OFFSET): Likewise.
6009 (CPUID_EBX_OFFSET): Likewise.
6010 (CPUID_ECX_OFFSET): Likewise.
6011 (CPUID_EDX_OFFSET): Likewise.
6012 (FAMILY_OFFSET): Likewise.
6013 (MODEL_OFFSET): Likewise.
6014 (FEATURE_OFFSET): Likewise.
6015 (FEATURE_SIZ): Likewise.
6016 (COMMON_CPUID_INDEX_1): Likewise.
6017 (COMMON_CPUID_INDEX_7): Likewise.
6018 (FEATURE_INDEX_1): Likewise.
6019 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
6020
cfb0ff93 60212018-08-02 Carlos O'Donell <carlos@redhat.com>
08a5ee14
CD
6022
6023 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
6024 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
6025 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
6026 (install-locales): Depend on install-locale-archive.
6027 (install-locale-archive): Define.
7b7adbd8 6028 (install-locale-files): Define.
08a5ee14
CD
6029 (build-one-locale): Define macro.
6030 * manual/install.texi (Running make install): Document.
6031 * manual/INSTALL: Regenerate.
6032
525691bd
SP
60332018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
6034
d67d634b
SP
6035 * benchtests/scripts/compare_strings.py: Import traceback.
6036 (parse_file): Pretty-print error.
6037
525691bd
SP
6038 * NEWS: Mention the change.
6039 * elf/dl-tunables.list: Rename tune namespace to cpu.
6040 * sysdeps/powerpc/dl-tunables.list: Likewise.
6041 * sysdeps/x86/dl-tunables.list: Likewise.
6042 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
6043 cpu.name.
6044 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
6045 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
6046 * manual/README.tunables: Likewise.
6047 * manual/tunables.texi: Likewise.
6048 * sysdeps/powerpc/cpu-features.c: Likewise.
6049 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
6050 (init_cpu_features): Likewise.
6051 * sysdeps/x86/cpu-features.c: Likewise.
6052 * sysdeps/x86/cpu-features.h: Likewise.
6053 * sysdeps/x86/cpu-tunables.c: Likewise.
6054 * sysdeps/x86_64/Makefile: Likewise.
6055 * sysdeps/x86/dl-cet.c: Likewise.
6056
506d7fb1
JM
60572018-08-02 Joseph Myers <joseph@codesourcery.com>
6058
6059 [BZ #23479]
6060 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
6061 [__mips_hard_float].
6062 (FE_UNDERFLOW): Likewise.
6063 (FE_OVERFLOW): Likewise.
6064 (FE_DIVBYZERO): Likewise.
6065 (FE_INVALID): Likewise.
6066 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
6067 (FE_TOWARDZERO): Define only if [__mips_hard_float].
6068 (FE_UPWARD): Likewise.
6069 (FE_DOWNWARD): Likewise.
6070 (__FE_UNDEFINED): Define if [!__mips_hard_float]
6071 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
6072 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
6073 [__mips_hard_float].
6074 (FP_ROUNDMODE): Likewise.
6075 (FP_RND_NEAREST): Likewise.
6076 (FP_RND_ZERO): Likewise.
6077 (FP_RND_PINF): Likewise.
6078 (FP_RND_MINF): Likewise.
6079 (FP_EX_INVALID): Likewise.
6080 (FP_EX_OVERFLOW): Likewise.
6081 (FP_EX_UNDERFLOW): Likewise.
6082 (FP_EX_DIVZERO): Likewise.
6083 (FP_EX_INEXACT): Likewise.
6084 (FP_INIT_ROUNDMODE): Likewise.
6085 * sysdeps/mips/nofpu/fesetenv.c: New file.
6086 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
6087
f6dcefbe
JM
60882018-08-01 Joseph Myers <joseph@codesourcery.com>
6089
6090 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
6091 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
6092 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
6093 conditional on [FE_UPWARD].
6094
fa67ba06
PE
60952018-08-01 Paul Eggert <eggert@cs.ucla.edu>
6096
6097 regex: fix memory leak in Gnulib
6098 Problem and fix reported by Assaf Gordon in:
6099 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
6100 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
6101 range_ends members too, as they are defined in 'struct
6102 re_charset_t' even if not _LIBC. This affects only Gnulib.
6103
82c80ac2
L
61042018-08-01 H.J. Lu <hongjiu.lu@intel.com>
6105
6106 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
6107 ...
6108 (get_common_indices): This.
6109 (init_cpu_features): Updated.
6110
c0e7e2c1
JM
61112018-08-01 Joseph Myers <joseph@codesourcery.com>
6112
46f8cf57
JM
6113 * sysdeps/generic/math-tests-snan-payload.h: New file.
6114 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
6115 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
6116 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
6117 * sysdeps/generic/math-tests.h: Include
6118 <math-tests-snan-payload.h>.
6119 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
6120 * sysdeps/hppa/math-tests.h: Remove file.
6121 * sysdeps/mips/math-tests.h [!__mips_nan2008]
6122 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
6123 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
6124 Likewise.
6125
c0e7e2c1
JM
6126 * sysdeps/generic/math-tests-snan-cast.h: New file.
6127 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
6128 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
6129 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
6130 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
6131
74939c83
CD
61322018-08-01 Carlos O'Donel <carlos@redhat.com>
6133
b029723b
CD
6134 * version.h (RELEASE): Set to "development".
6135 (VERSION): Set to "2.28.9000".
6136 * NEWS (2.29): New section.
6137
3c03baca
CD
6138 * version.h (RELEASE): Set to "stable".
6139 (VERSION): Set to "2.28".
6140 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
6141 * NEWS: Add the list of bugs fixed in 2.28.
6142
74939c83
CD
6143 * po/ca.po: Update to latest version.
6144 * po/cs.po: Likewise
6145 * po/da.po: Likewise
6146 * po/el.po: Likewise
6147 * po/eo.po: Likewise
6148 * po/es.po: Likewise
6149 * po/fi.po: Likewise
6150 * po/fr.po: Likewise
6151 * po/gl.po: Likewise
6152 * po/hu.po: Likewise
6153 * po/ia.po: Likewise
6154 * po/id.po: Likewise
6155 * po/it.po: Likewise
6156 * po/ja.po: Likewise
6157 * po/ko.po: Likewise
6158 * po/lt.po: Likewise
6159 * po/nb.po: Likewise
6160 * po/nl.po: Likewise
6161 * po/pt_BR.po: Likewise
6162 * po/ru.po: Likewise
6163 * po/rw.po: Likewise
6164 * po/sk.po: Likewise
6165 * po/sl.po: Likewise
6166 * po/tr.po: Likewise
6167 * po/zh_CN.po: Likewise
6168 * po/zh_TW.po: Likewise
6169
d4b54bdf
ST
61702018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
6171
6172 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
6173 initialization...
6174 (init): ... before initializing libpthread.
6175
42fc12ef
ST
6176 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
6177 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
6178 (__mach_setup_tls): ... new function.
6179 (mach_setup_tls): New alias.
6180 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
6181 __mach_setup_thread.
6182 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
6183 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
6184 * mach/Versions [libc] (mach_setup_tls): Add symbol.
6185 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
6186
6cca855e
CD
61872018-07-31 Carlos O'Donell <carlos@redhat.com>
6188
f650932b
CD
6189 * manual/install.texi: Update versions.
6190 * INSTALL: Regenerate.
6191
6cca855e
CD
6192 * manual/contrib.texi (Contributors): Update contributions.
6193
07fdea47
CD
61942018-07-31 Carlos O'Donell <carlos@redhat.com>
6195
6196 * po/be.po: Update translations.
6197
63d5fad4
AZ
61982018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6199
6200 * sysdeps/sh/libm-test-ulps: Update.
6201
1ff712a6
CD
62022018-07-30 Carlos O'Donell <carlos@redhat.com>
6203
6204 * po/bg.po: Update translations.
6205 * po/de.po: Likewise.
6206 * po/hr.po: Likewise.
6207 * po/pt_BR.po: Likewise.
6208 * po/sv.po: Likewise.
6209 * po/vi.po: Likewise.
6210
98864ed0
L
62112018-07-30 H.J. Lu <hongjiu.lu@intel.com>
6212
6213 [BZ #23467]
6214 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
6215 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
6216 (CFLAGS-tst-cet-property-1.o): New.
6217 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
6218 ($(objpfx)tst-cet-property-2): Likewise.
6219 ($(objpfx)tst-cet-property-2.out): Likewise.
6220 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
6221 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
6222 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
6223 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
6224 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
6225
c92a00d8
L
62262018-07-30 H.J. Lu <hongjiu.lu@intel.com>
6227
6228 [BZ #23458]
6229 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
6230
99bc6241
ST
62312018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
6232
6233 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
6234 __sbrk): Do not set attribute_hidden.
af86087f 6235 * sysdeps/mach/hurd/not-errno.h: New file.
99bc6241
ST
6236 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
6237 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
6238
bcb1c4af
CD
62392018-07-27 Carlos O'Donell <carlos@redhat.com>
6240
6241 * po/uk.po: Update translations.
6242 * po/cs.po: Likewise.
6243 * po/pl.po: Likewise.
6244
4591b7db
L
62452018-07-27 H.J. Lu <hongjiu.lu@intel.com>
6246
6247 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
6248 parse beyond the note end.
6249
2c6da2f4
AZ
62502018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6251
6252 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
6253 kernel does not support OFD locks.
6254 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
6255
20365a31
ST
62562018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
6257
6258 * sysdeps/mach/hurd/Versions (libc): Make __access and
6259 __access_noerrno external so they can override the ld symbols.
6260 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
6261 __writev, __open64, __access_noerrno extern so they can be overrided.
6262 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
6263 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
6264
cb1a43db
CD
62652018-07-26 Carlos O'Donell <carlos@redhat.com>
6266
6267 * po/libc.pot: Regenerate.
6268
74759ae5
JM
62692018-07-26 Joseph Myers <joseph@codesourcery.com>
6270
6271 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
6272
da80612d
L
62732018-07-26 H.J. Lu <hongjiu.lu@intel.com>
6274
6275 [BZ #23459]
6276 * sysdeps/x86/cpu-features.c (get_extended_indices): New
6277 function.
6278 (init_cpu_features): Call get_extended_indices for both Intel
6279 and AMD CPUs.
6280 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
6281 Remove "for AMD" comment.
6282
65d87ade
L
62832018-07-26 H.J. Lu <hongjiu.lu@intel.com>
6284
6285 [BZ # 23456]
6286 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
6287 COMMON_CPUID_INDEX_80000001.
6288
c9dc4d51
SL
62892018-07-26 Stefan Liebler <stli@linux.ibm.com>
6290
6291 * string/tst-xbzero-opt.c (use_test_buffer): New function.
6292 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
6293
cfba5dbb
FW
62942018-07-26 Florian Weimer <fweimer@redhat.com>
6295
6296 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
6297 aliases for symbols not in the implementation namespace.
6298
7cd7d36f
CD
62992018-07-25 Carlos O'Donell <carlos@redhat.com>
6300
6301 [BZ #23393]
6302 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
6303 lowercase in LATIN script.
6304 * localedata/Makefile (test-input): Add en_US.UTF-8.
6305 * localedata/en_US.UTF-8.in: New file.
6306 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
6307 and restore old tests.
6308 * posix/tst-regexloc.c (do_test): Add back range expression test.
6309
3fb455b3
L
63102018-07-25 H.J. Lu <hongjiu.lu@intel.com>
6311
6312 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
6313
d6499b70
AZ
63142018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6315
6316 * nptl/threads.h: Move to ...
6317 * sysdeps/nptl/threads.h: ... here.
6318 * sysdeps/hurd/stdc-predef.h: New file.
6319
08ac6bed
L
63202018-07-25 H.J. Lu <hongjiu.lu@intel.com>
6321
6322 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
6323 tst-cet-setcontext-1 if CET is enabled.
6324 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
6325 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
6326
9faaf938
AZ
63272018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6328
6329 * include/threads.h: Move to ...
6330 * sysdeps/nptl/threads.h: ... here.
6331 * sysdeps/htl/threads.h: New file.
6332 * conform/Makefile (linknamespace-libs-ISO11): Use
6333 static-thread-library instead of linking libpthread.
6334 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
6335
d6b8f847
FW
63362018-07-25 Florian Weimer <fweimer@redhat.com>
6337
6338 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
6339 nanoseconds into seconds.
6340 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
6341 (do_test): Likewise.
6342 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
6343 (do_test): Likewise. Avoid nanosecond overflow and spurious
6344 timeouts due to system load.
6345 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
6346 (child_wait): Increment it.
6347 (do_test): Wait as long as necessary until all expected threads
6348 have arrived.
6349
25123a1c
L
63502018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
6351 H.J. Lu <hongjiu.lu@intel.com>
6352
6353 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
6354 __ssp.
6355 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
6356 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
6357 (__push___start_context): New.
6358 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
6359 <asm/prctl.h>.
6360 (__getcontext): Record the current shadow stack base. Save the
6361 caller's shadow stack pointer and base.
6362 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
6363 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
6364 (__push___start_context): New prototype.
6365 (__makecontext): Call __push___start_context to allocate a new
6366 shadow stack, push __start_context onto the new stack as well
6367 as the new shadow stack.
6368 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
6369 <asm/prctl.h>.
6370 (__setcontext): Restore the target shadow stack.
6371 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
6372 <asm/prctl.h>.
6373 (__swapcontext): Record the current shadow stack base. Save
6374 the caller's shadow stack pointer and base. Restore the target
6375 shadow stack.
6376 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
6377 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
6378 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
6379
375a4844
L
63802018-07-25 H.J. Lu <hongjiu.lu@intel.com>
6381
6382 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
6383 tst-setcontext8 and tst-setcontext9.
6384 * stdlib/tst-setcontext6.c: New file.
6385 * stdlib/tst-setcontext7.c: Likewise.
6386 * stdlib/tst-setcontext8.c: Likewise.
6387 * stdlib/tst-setcontext9.c: Likewise.
6388
bd4f7903
L
63892018-07-25 H.J. Lu <hongjiu.lu@intel.com>
6390
6391 * stdlib/Makefile ((tests): Add tst-setcontext5.
6392 * stdlib/tst-setcontext5.c: New file.
6393
7e28f203
L
63942018-07-25 H.J. Lu <hongjiu.lu@intel.com>
6395
6396 * stdlib/Makefile (tests): Add tst-setcontext4.
6397 * stdlib/tst-setcontext4.c: New file.
6398
8516ad2d
L
63992018-07-25 H.J. Lu <hongjiu.lu@intel.com>
6400
6401 * stdlib/Makefile (tests): Add tst-swapcontext1.
6402 * stdlib/tst-swapcontext1.c: New test.
6403
fddcd003
L
64042018-07-25 H.J. Lu <hongjiu.lu@intel.com>
6405
6406 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
6407 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
6408 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
6409 and tst-cet-legacy-4c.
6410 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
6411 and tst-cet-legacy-mod-4.
6412 (CFLAGS-tst-cet-legacy-2.c): New.
6413 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
6414 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
6415 (CFLAGS-tst-cet-legacy-3.c): Likewise.
6416 (CFLAGS-tst-cet-legacy-4.c): Likewise.
6417 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
6418 ($(objpfx)tst-cet-legacy-1): Likewise.
6419 ($(objpfx)tst-cet-legacy-2): Likewise.
6420 ($(objpfx)tst-cet-legacy-2.out): Likewise.
6421 ($(objpfx)tst-cet-legacy-2a): Likewise.
6422 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
6423 ($(objpfx)tst-cet-legacy-4): Likewise.
6424 ($(objpfx)tst-cet-legacy-4.out): Likewise.
6425 ($(objpfx)tst-cet-legacy-4a): Likewise.
6426 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
6427 (tst-cet-legacy-4a-ENV): Likewise.
6428 ($(objpfx)tst-cet-legacy-4b): Likewise.
6429 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
6430 (tst-cet-legacy-4b-ENV): Likewise.
6431 ($(objpfx)tst-cet-legacy-4c): Likewise.
6432 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
6433 (tst-cet-legacy-4c-ENV): Likewise.
6434 * sysdeps/x86/tst-cet-legacy-1.c: New file.
6435 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
6436 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
6437 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
6438 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
6439 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
6440 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
6441 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
6442 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
6443 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
6444 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
6445
9aa3113a
L
64462018-07-25 H.J. Lu <hongjiu.lu@intel.com>
6447
6448 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
6449 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
6450 with ssp_base.
6451 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
6452 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
6453 with ssp_base.
6454
9c79cec8
AS
64552018-07-25 Andreas Schwab <schwab@suse.de>
6456
6457 [BZ #23442]
6458 * locale/weightwc.h (findidx): Handle the case where usrc is a
6459 prefix of cp but one character too short.
6460
969c3355
AZ
64612018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6462
6463 * NEWS: Add ISO C threads addition.
6464
e0f9c462
FW
64652018-07-24 Florian Weimer <fweimer@redhat.com>
6466
6467 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6468 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
6469 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
6470 4.13.
6471
394df381
L
64722018-07-24 H.J. Lu <hongjiu.lu@intel.com>
6473
6474 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
6475 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
6476 <sys/prctl.h> and <asm/prctl.h>.
6477 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
6478 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
6479 and <asm/prctl.h>.
6480 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
6481 ARCH_CET_LEGACY_BITMAP.
6482 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
6483 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
6484 * sysdeps/x86/libc-start.c: Include <startup.h>.
6485
46545530
FW
64862018-07-24 Florian Weimer <fweimer@redhat.com>
6487
6488 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
6489 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
6490
9d0a979e
RJ
64912018-07-24 Rical Jasan <rj@2c3t.io>
6492 Adhemerval Zanella <adhemerval.zanella@linaro.org>
0a07288b
AZ
6493 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
6494
6495 [BZ #14092]
9d0a979e
RJ
6496 * manual/debug.texi: Update adjacent chapter name.
6497 * manual/probes.texi: Likewise.
6498 * manual/threads.texi (ISO C Threads): New section.
6499 (POSIX Threads): Convert to a section.
6500
65012018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6502 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
6503
6504 [BZ# 14092]
0a07288b
AZ
6505 * nptl/Makefile (tests): Add new test files.
6506 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
6507 * nptl/tst-cnd-basic.c: Likewise.
6508 * nptl/tst-cnd-broadcast.c: Likewise.
6509 * nptl/tst-cnd-timedwait.c: Likewise.
6510 * nptl/tst-mtx-basic.c: Likewise.
6511 * nptl/tst-mtx-recursive.c: Likewise.
6512 * nptl/tst-mtx-timedlock.c: Likewise.
6513 * nptl/tst-mtx-trylock.c: Likewise.
6514 * nptl/tst-thrd-basic.c: Likewise.
6515 * nptl/tst-thrd-detach.c: Likewise.
6516 * nptl/tst-thrd-sleep.c: Likewise.
6517 * nptl/tst-tss-basic.c: Likewise.
6518
ce7528f6
AZ
65192018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6520
c6dd669b
AZ
6521 [BZ #14092]
6522 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
6523 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
6524 symbols.
6525 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6526 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
6527 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
6528 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
6529 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6530 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
6531 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
6532 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
6533 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
6534 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
6535 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6536 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
6537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
6538 Likewise.
6539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6540 Likewise.
6541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
6542 Likewise.
6543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
6544 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
6545 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6546 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6547 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
6548 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6549 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6550 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6551 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
6552 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
6553 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
6554 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
6555 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
6556 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
6557 Likewise.
6558 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
6559 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
6560 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
6561 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
6562 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
6563 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
6564 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
6565 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
6566 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
6567 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
6568 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
6569 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
6570 ikewise.
6571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
6572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
6573 Likewise.
6574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
6575 Likewise.
6576 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
6577 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
6578 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
6579 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
6580 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
6581 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
6582 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
6583 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
6584
78d40132
AZ
6585 [BZ #14092]
6586 * conform/data/threads.h-data (thread_local): New macro.
6587 (TSS_DTOR_ITERATIONS): Likewise.
6588 (tss_t): New type.
6589 (tss_dtor_t): Likewise.
6590 (tss_create): New function.
6591 (tss_get): Likewise.
6592 (tss_set): Likewise.
6593 (tss_delete): Likewise.
6594 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
6595 tss_get, and tss_set objects.
6596 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
6597 * nptl/tss_create.c: New file.
6598 * nptl/tss_delete.c: Likewise.
6599 * nptl/tss_get.c: Likewise.
6600 * nptl/tss_set.c: Likewise.
6601 * sysdeps/nptl/threads.h (thread_local): New define.
6602 (TSS_DTOR_ITERATIONS): Likewise.
6603 (tss_t): New typedef.
6604 (tss_dtor_t): Likewise.
6605 (tss_create): New prototype.
6606 (tss_get): Likewise.
6607 (tss_set): Likewise.
6608 (tss_delete): Likewise.
6609
918311a3
AZ
6610 [BZ #14092]
6611 * conform/data/threads.h-data (cnd_t): New type.
6612 (cnd_init): New function.
6613 (cnd_signal): Likewise.
6614 (cnd_broadcast): Likewise.
6615 (cnd_wait): Likewise.
6616 (cnd_timedwait): Likewise.
6617 (cnd_destroy): Likewise.
6618 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
6619 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
6620 object.
6621 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
6622 * nptl/cnd_broadcast.c: New file.
6623 * nptl/cnd_destroy.c: Likewise.
6624 * nptl/cnd_init.c: Likewise.
6625 * nptl/cnd_signal.c: Likewise.
6626 * nptl/cnd_timedwait.c: Likewise.
6627 * nptl/cnd_wait.c: Likewise.
6628 * sysdeps/nptl/threads.h (cnd_t): New type.
6629 (cnd_init): New prototype.
6630 (cnd_signa): Likewise.
6631 (cnd_broadcast): Likewise.
6632 (cnd_wait): Likewise.
6633 (cnd_timedwait): Likewise.
6634 (cnd_destroy): Likewise.
6635
3c20a679
AZ
6636 [BZ #14092]
6637 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
6638 (once_flag): New type.
6639 (call_once): New function.
6640 * nptl/Makefile (libpthread-routines): Add call_once object.
6641 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
6642 * nptl/call_once.c: New file.
6643 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
6644 (once_flag): New type.
6645 (call_once): New prototype.
6646
18d59c1b
AZ
6647 [BZ #14092]
6648 * conform/data/threads.h-data (mtx_plain): New constant.
6649 (mtx_recursive): Likewise.
6650 (mtx_timed): Likewise.
6651 (mtx_t): New type.
6652 (mtx_init): New function.
6653 (mtx_lock): Likewise.
6654 (mtx_timedlock): Likewise.
6655 (mtx_trylock): Likewise.
6656 (mtx_unlock): Likewise.
6657 (mtx_destroy): Likewise.
6658 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
6659 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
6660 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
6661 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
6662 * nptl/mtx_destroy.c: New file.
6663 * nptl/mtx_init.c: Likewise.
6664 * nptl/mtx_lock.c: Likewise.
6665 * nptl/mtx_timedlock.c: Likewise.
6666 * nptl/mtx_trylock.c: Likewise.
6667 * nptl/mtx_unlock.c: Likewise.
6668 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
6669 (mtx_recursive): Likewise.
6670 (mtx_timed): Likewise.
6671 (mtx_t): New type.
6672 (mtx_init): New prototype.
6673 (mtx_lock): Likewise.
6674 (mtx_timedlock): Likewise.
6675 (mtx_trylock): Likewise.
6676 (mtx_unlock): Likewise.
6677 (mtx_destroy): Likewise.
6678
ce7528f6
AZ
6679 [BZ #14092]
6680 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
6681 (linknamespace-libs-ISO11): Add libpthread.a.
6682 * conform/data/threads.h-data: New file: add C11 thrd_* types and
6683 functions.
6684 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
6685 * nptl/Makefile (headers): Add threads.h.
6686 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
6687 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
6688 thrd_yield.
6689 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
6690 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
6691 thrd_join, thrd_sleep, and thrd_yield symbols.
6692 * nptl/descr.h (struct pthread): Add c11 field.
6693 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
6694 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
6695 routine with expected function prototype.
6696 (__pthread_create_2_1): Add C11 threads check based on attribute
6697 value.
6698 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
6699 * nptl/thrd_create.c: New file.
6700 * nptl/thrd_current.c: Likewise.
6701 * nptl/thrd_detach.c: Likewise.
6702 * nptl/thrd_equal.c: Likewise.
6703 * nptl/thrd_exit.c: Likewise.
6704 * nptl/thrd_join.c: Likewise.
6705 * nptl/thrd_priv.h: Likewise.
6706 * nptl/thrd_sleep.c: Likewise.
6707 * nptl/thrd_yield.c: Likewise.
6708 * include/threads.h: Likewise.
6709
e27f41ba
L
67102018-07-24 H.J. Lu <hongjiu.lu@intel.com>
6711
6712 * bits/indirect-return.h: New file.
6713 * misc/sys/cdefs.h (__glibc_has_attribute): New.
6714 * sysdeps/x86/bits/indirect-return.h: Likewise.
6715 * stdlib/Makefile (headers): Add bits/indirect-return.h.
6716 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
6717 (swapcontext): Add __INDIRECT_RETURN.
6718 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
6719 (prepare_test_buffer): Use it.
6720
21526a50
AS
67212018-07-24 Andreas Schwab <schwab@suse.de>
6722
6723 [BZ #23448]
6724 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
6725 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
6726
3650e1d9
L
67272018-07-24 H.J. Lu <hongjiu.lu@intel.com>
6728
6729 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
6730 Redefine if shadow stack is enabled.
6731 (SYSCALL_ERROR_LABEL): Likewise.
6732 (__vfork): Pop shadow stack and jump back to to caller directly
6733 when shadow stack is in use.
6734 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
6735 Redefine if shadow stack is enabled.
6736 (SYSCALL_ERROR_LABEL): Likewise.
6737 (__vfork): Pop shadow stack and jump back to to caller directly
6738 when shadow stack is in use.
6739
ca027e0f
L
67402018-07-24 H.J. Lu <hongjiu.lu@intel.com>
6741
6742 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
6743 enabled.
6744 (foo): Likewise.
6745 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
6746 (foo): Likewise.
6747
b99f1c95
JM
67482018-07-20 Joseph Myers <joseph@codesourcery.com>
6749
6750 * scripts/build-many-glibcs.py (Context.checkout): Default
6751 binutils version to 2.31 branch.
6752
c8fabb84
ZL
67532018-07-20 Zong Li <zong@andestech.com>
6754
6755 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
6756 URL of gcc's tarball.
6757
786658a0
FW
67582018-07-20 Florian Weimer <fweimer@redhat.com>
6759
6760 [BZ #23396]
6761 * posix/regcomp.c (build_equiv_class): When comparing weights, do
6762 not compare an extra byte after the end of the weights.
6763
46f2474e
ST
67642018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
6765
6766 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
6767 to 1.
8ba1520e
ST
6768 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
6769 hidden prototypes.
6770 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
6771 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
2d5c41de
ST
6772 * scripts/check-execstack.awk: Consider `xfail' variable containing a
6773 list of libraries whose stack executability is expected.
6774 * elf/Makefile ($(objpfx)check-execstack.out): Pass
6775 $(check-execstack-xfail) to check-execstack.awk through `xfail'
6776 variable.
6777 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
6778 libc.so libpthread.so.
46f2474e 6779
60088242
TS
67802018-07-20 Thomas Schwinge <tschwinge@gnu.org>
6781
6782 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
6783 SOCK_NONBLOCK.
75d5e4a0
TS
6784 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
6785 and SOCK_NONBLOCK.
de195be0
TS
6786 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
6787 implement __pipe2.
6788 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
60088242 6789
1cf4ae7f
LS
67902018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6791
6792 * benchtests/scripts/compare_bench.py (__main__): use the argparse
6793 library to improve command line parsing.
6794 (__main__): make schema file as optional parameter (--schema),
6795 defaulting to benchtests/scripts/benchout.schema.json.
6796 (main): move out of the parsing stuff to __main_  and leave it
6797 only as caller of main comparison functions.
6798
e84bd851
L
67992018-07-19 H.J. Lu <hongjiu.lu@intel.com>
6800
6801 * NEWS: Add a note for Intel CET status.
6802 * manual/install.texi: Likewise.
6803 * INSTALL: Regenerated.
6804
df467d22
QP
68052018-07-18 Quentin PAGÈS <provaires@quentino.fr>
6806
6807 [BZ #23140]
6808 * localedata/locales/oc_FR (mon): Rename to...
6809 (alt_mon): This, then update October (typo fix).
6810 (mon): New content (genitive case, month names preceded by
6811 "de" or "d’").
6812
6813 [BZ #23422]
6814 * localedata/locales/oc_FR (abday): Update all items.
6815 (day): Update Wednesday and Saturday (typo fixes).
6816 (abmon): Update all items, except May.
6817 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
6818 (LC_IDENTIFICATION): Bump the revision number and date.
6819 Keep the "category" entries in alphabetic order.
6820 (LC_ADDRESS): Remove no longer needed comment.
6821 (LC_COLLATE): Use “copy "ca_ES"”.
6822 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
6823 "name_mrs".
6824
5c112f1b
JM
68252018-07-18 Joseph Myers <joseph@codesourcery.com>
6826
6827 * grp/tst_fgetgrent.c: Include <unistd.h>.
6828 (main): Use mkstemp instead of tmpnam.
6829 * io/test-utime.c (main): Likewise.
6830 * posix/annexc.c (macrofile): Change to modifiable array.
6831 (main): Remove macrofile here.
6832 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
6833 macrofile here.
6834 (check_header): Do not remove macrofile here.
6835 * posix/bug-getopt1.c: Include <stdlib.h>.
6836 (do_test): Use mkstemp instead of tmpnam.
6837 * posix/bug-getopt2.c: Include <stdlib.h>.
6838 (do_test): Use mkstemp instead of tmpnam.
6839 * posix/bug-getopt3.c: Include <stdlib.h>.
6840 (do_test): Use mkstemp instead of tmpnam.
6841 * posix/bug-getopt4.c: Include <stdlib.h>.
6842 (do_test): Use mkstemp instead of tmpnam.
6843 * posix/bug-getopt5.c: Include <stdlib.h>.
6844 (do_test): Use mkstemp instead of tmpnam.
6845 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
6846 (main): Use mkstemp instead of tmpnam.
6847 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
6848 (main): Use mkstemp instead of tmpnam.
6849 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
6850 (main): use mkstemp instead of tmpnam.
6851 * stdlib/isomac.c (macrofile): Change to modifiable array.
6852 (main): Remove macrofile here.
6853 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
6854 macrofile here.
6855 (check_header): Do not remove macrofile here.
6856
6d90776d
L
68572018-07-18 H.J. Lu <hongjiu.lu@intel.com>
6858
6859 * manual/tunables.texi: Document glibc.tune.x86_ibt and
6860 glibc.tune.x86_shstk.
6861
e6c69509
L
68622018-07-18 H.J. Lu <hongjiu.lu@intel.com>
6863
6864 * NEWS: Mention --enable-cet.
6865 * manual/install.texi: Document --enable-cet.
6866 * INSTALL: Regenerated.
6867
e2d40a88
L
68682018-07-18 H.J. Lu <hongjiu.lu@intel.com>
6869
6870 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
6871 Add _CET_NOTRACK before indirect jump to jump table.
6872
77a8ae09
L
68732018-07-18 H.J. Lu <hongjiu.lu@intel.com>
6874
6875 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
6876 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
6877 to jump table.
6878
90d15dc5
L
68792018-07-18 H.J. Lu <hongjiu.lu@intel.com>
6880
6881 * sysdeps/i386/i686/multiarch/strcat-sse2.S
6882 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
6883 to jump table.
6884
f1574581
L
68852018-07-18 H.J. Lu <hongjiu.lu@intel.com>
6886
6887 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
6888 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
6889 to jump table.
6890
7fb61336
L
68912018-07-18 H.J. Lu <hongjiu.lu@intel.com>
6892
6893 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
6894 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
6895 to jump table.
6896
0a899af0
L
68972018-07-18 H.J. Lu <hongjiu.lu@intel.com>
6898
6899 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
6900 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
6901 to jump table.
6902 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
6903
177824e2
L
69042018-07-18 H.J. Lu <hongjiu.lu@intel.com>
6905
6906 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
6907 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
6908 to jump table.
6909
00e7b76a
L
69102018-07-18 H.J. Lu <hongjiu.lu@intel.com>
6911
6912 * sysdeps/i386/i686/multiarch/memset-sse2.S
6913 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
6914 to jump table.
6915
7e119cd5
L
69162018-07-18 H.J. Lu <hongjiu.lu@intel.com>
6917
6918 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
6919 indirect jump to jump table.
6920
03aaf49b
L
69212018-07-18 H.J. Lu <hongjiu.lu@intel.com>
6922
6923 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
6924 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
6925 to jump table.
6926 (MEMCPY): Likewise.
6927
811e9e52
L
69282018-07-18 H.J. Lu <hongjiu.lu@intel.com>
6929
6930 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
6931 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
6932 to jump table.
6933 (MEMCPY): Likewise.
6934
8817df42
L
69352018-07-18 H.J. Lu <hongjiu.lu@intel.com>
6936
6937 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
6938 _CET_NOTRACK before indirect jump to jump table.
6939
921595d1
L
69402018-07-18 H.J. Lu <hongjiu.lu@intel.com>
6941
6942 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
6943 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
6944 to jump table.
6945
4ef60d95
L
69462018-07-18 H.J. Lu <hongjiu.lu@intel.com>
6947
6948 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
6949 indirect jump to jump table.
6950
61c4aad7
VT
69512018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
6952
6953 [BZ #22241]
6954 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
6955 (LOCALES): Likewise.
6956 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
6957 * localedata/locales/sah_RU: New file.
6958 * localedata/sah_RU.UTF-8.in: New file.
6959
be9ccd27
L
69602018-07-17 H.J. Lu <hongjiu.lu@intel.com>
6961
6962 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
6963 "sysdep.h".
6964 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
6965 _CET_ENDBR to indirect jump targets and adjust jump destination
6966 for _CET_ENDBR.
6967 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
6968 "sysdep.h".
6969 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
6970 _CET_ENDBR to indirect jump targets and adjust jump destination
6971 for _CET_ENDBR.
6972 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
6973 "sysdep.h".
6974 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
6975 _CET_ENDBR to indirect jump targets and adjust jump destination
6976 for _CET_ENDBR.
6977
5efc6777
L
69782018-07-17 H.J. Lu <hongjiu.lu@intel.com>
6979
6980 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
6981 _CET_ENDBR.
6982
562837c0
L
69832018-07-17 H.J. Lu <hongjiu.lu@intel.com>
6984
6985 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
6986 _CET_ENDBR.
6987 (_dl_tlsdesc_undefweak): Likewise.
6988 (_dl_tlsdesc_dynamic): Likewise.
6989 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
6990 (_dl_tlsdesc_resolve_rel): Likewise.
6991 (_dl_tlsdesc_resolve_rela): Likewise.
6992 (_dl_tlsdesc_resolve_hold): Likewise.
6993 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
6994 (_dl_tlsdesc_undefweak): Likewise.
6995 (_dl_tlsdesc_dynamic): Likewise.
6996 (_dl_tlsdesc_resolve_rela): Likewise.
6997 (_dl_tlsdesc_resolve_hold): Likewise.
6998
124bcde6
L
69992018-07-17 H.J. Lu <hongjiu.lu@intel.com>
7000
7001 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
7002 (_fini): Likewise.
7003 * sysdeps/x86_64/crti.S (_init): Likewise.
7004 (_fini): Likewise.
7005
9145f033
RL
70062018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
7007
7008 [BZ #23140]
7009 * localedata/locales/os_RU (mon): Rename to...
7010 (alt_mon): This.
7011 (mon): Import from CLDR (genitive case).
7012
ba2ea23d
L
70132018-07-17 H.J. Lu <hongjiu.lu@intel.com>
7014
7015 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
7016 cet-tunables.h> when CET is enabled.
7017
f753fa7d
L
70182018-07-16 H.J. Lu <hongjiu.lu@intel.com>
7019
7020 [BZ #21598]
7021 * configure.ac: Add --enable-cet.
7022 * configure: Regenerated.
7023 * elf/Makefille (all-built-dso): Add a comment.
7024 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
7025 Include <dl-prop.h>.
7026 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
7027 segment.
7028 * elf/dl-open.c: Include <dl-prop.h>.
7029 (dl_open_worker): Call _dl_open_check.
7030 * elf/rtld.c: Include <dl-prop.h>.
7031 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
7032 _rtld_main_check.
7033 * sysdeps/generic/dl-prop.h: New file.
7034 * sysdeps/i386/dl-cet.c: Likewise.
7035 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
7036 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
7037 * sysdeps/x86/cet-tunables.h: Likewise.
7038 * sysdeps/x86/check-cet.awk: Likewise.
7039 * sysdeps/x86/configure: Likewise.
7040 * sysdeps/x86/configure.ac: Likewise.
7041 * sysdeps/x86/dl-cet.c: Likewise.
7042 * sysdeps/x86/dl-procruntime.c: Likewise.
7043 * sysdeps/x86/dl-prop.h: Likewise.
7044 * sysdeps/x86/libc-start.h: Likewise.
7045 * sysdeps/x86/link_map.h: Likewise.
7046 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
7047 _CET_ENDBR.
7048 (_dl_runtime_profile): Likewise.
7049 (_dl_runtime_resolve_shstk): New.
7050 (_dl_runtime_profile_shstk): Likewise.
7051 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
7052 if CET is enabled.
7053 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
7054 (CFLAGS-.os): Likewise.
7055 (CFLAGS-.op): Likewise.
7056 (CFLAGS-.oS): Likewise.
7057 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
7058 is enabled.
7059 (tests-special): Add $(objpfx)check-cet.out.
7060 (cet-built-dso): New.
7061 (+$(cet-built-dso:=.note)): Likewise.
7062 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
7063 ($(objpfx)check-cet.out): New.
7064 (generated): Add check-cet.out.
7065 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
7066 <cet-tunables.h>.
7067 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
7068 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
7069 (init_cpu_features): Call get_cet_status to check CET status
7070 and update dl_x86_feature_1 with CET status. Call
7071 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
7072 (set_x86_shstk). Disable and lock CET in libc.a.
7073 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
7074 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
7075 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
7076 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
7077 (_CET_ENDBR): Define if not defined.
7078 (ENTRY): Add _CET_ENDBR.
7079 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
7080 x86_shstk.
7081 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
7082 _CET_ENDBR.
7083 (_dl_runtime_profile): Likewise.
7084
52b2a80f
RA
70852018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
7086
7087 [BZ #21895]
7088 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
7089 restore r2 on longjmp.
7090 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
7091 test list.
7092 Added rules to build test tst-setjmp-bug21895-static.
7093 Added module setjmp-bug21895 and rules to build a shared object from it.
7094 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
7095 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
7096
3ae725df
WD
70972018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
7098
7099 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
7100 * benchtests/bench-strstr.c: Likewise.
7101 * string/memmem.c (FASTSEARCH): Define.
7102 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
7103 Add support for FASTSEARCH.
7104 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
7105 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
7106 (FASTSEARCH): Define.
7107 * string/test-strcasestr.c: Rename __strnlen to strnlen.
7108 * string/test-strstr.c: Likewise.
7109
31e422ca
L
71102018-07-15 H.J. Lu <hongjiu.lu@intel.com>
7111
7112 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
7113 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
7114
faaee1f0
L
71152018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
7116 H.J. Lu <hongjiu.lu@intel.com>
7117
7118 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
7119 (__longjmp): Restore shadow stack pointer if shadow stack is
7120 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
7121 isn't defined for __longjmp_cancel.
7122 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
7123 (_setjmp): Save shadow stack pointer if shadow stack is enabled
7124 and SHADOW_STACK_POINTER_OFFSET is defined.
7125 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
7126 (setjmp): Save shadow stack pointer if shadow stack is enabled
7127 and SHADOW_STACK_POINTER_OFFSET is defined.
7128 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
7129 (__sigsetjmp): Save shadow stack pointer if shadow stack is
7130 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
7131 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
7132 <jmp_buf-ssp.h>.
7133 (____longjmp_chk): Restore shadow stack pointer if shadow stack
7134 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
7135 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
7136 Remove jmp_buf-ssp.sym.
7137 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
7138 <jmp_buf-ssp.h>.
7139 (____longjmp_chk): Restore shadow stack pointer if shadow stack
7140 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
7141 * sysdeps/x86/Makefile (gen-as-const-headers): Add
7142 jmp_buf-ssp.sym.
7143 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
7144 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
7145 (__longjmp): Restore shadow stack pointer if shadow stack is
7146 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
7147 isn't defined for __longjmp_cancel.
7148 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
7149 (__sigsetjmp): Save shadow stack pointer if shadow stack is
7150 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
7151
ebff9c5c
L
71522018-07-14 H.J. Lu <hongjiu.lu@intel.com>
7153
7154 [BZ #22563]
7155 * nptl/pthread_create.c: Include <tls-setup.h>.
7156 (__pthread_create_2_1): Call tls_setup_tcbhead.
7157 * sysdeps/generic/tls-setup.h: New file.
7158 * sysdeps/x86/nptl/tls-setup.h: Likewise.
7159 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
7160 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
7161 Likewise.
7162 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
7163 to feature_1.
7164 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
7165 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
7166 (X86_FEATURE_1_SHSTK): Likewise.
7167 (CET_ENABLED): Likewise.
7168 (IBT_ENABLED): Likewise.
7169 (SHSTK_ENABLED): Likewise.
7170
0a83bad2
RL
71712018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
7172
7173 [BZ #23208]
7174 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
7175 (LOCALES): Likewise.
7176 * localedata/dsb_DE.UTF-8.in: New file.
7177 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
7178
046bfed9
FW
71792018-07-12 Florian Weimer <fweimer@redhat.com>
7180
7181 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
7182 __mprotect, not mprotect.
7183
93304f5f
FW
71842018-07-11 Florian Weimer <fweimer@redhat.com>
7185
7186 * io/Makefile (headers): Add bits/statx.h.
7187
4beefeeb
MF
71882018-07-10 Mike FABIAN <mfabian@redhat.com>
7189
7190 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
7191 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
7192 and headers.
7193 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
7194 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
7195 for utf8_gen.py
7196
fd70af45
FW
71972018-07-10 Florian Weimer <fweimer@redhat.com>
7198
7199 * io/Makefile (routines): Add statx.
7200 (tests-internal): Add tst-statx.
7201 * io/Versions (GLIBC_2.28): Export statx.
7202 * io/bits/statx.h: New file.
7203 * io/sys/stat.h [__USE_GNU]: Include it.
7204 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
7205 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
7206 Define.
7207 * io/statx.c: New file.
7208 * io/statx_generic.: Likewise.
7209 * io/tst-statx.: Likewise.
7210 * include/bits/statx.h: Likewise.
7211 * sysdeps/unix/sysv/linux/kernel-features.h
7212 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
7213 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7214 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
7215 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
7216 Undefine.
7217 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7218 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
7219 * sysdeps/unix/sysv/linux/statx.c: New file.
7220 * manual/filesys.texi: Note that statx is undocumented.
7221 * sysdeps/**/libc*.abilist: Update.
7222
b444e8f7
AZ
72232018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7224
7225 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
7226 a kernel issue which lead to test failure in some cases.
7227
7b2f4ced
FW
72282018-07-10 Florian Weimer <fweimer@redhat.com>
7229
7230 [BZ #23036]
7231 * posix/regexec.c (check_node_accept_bytes): When comparing
7232 weights, do not compare an extra byte after the end of the
7233 weights.
7234
4fa34da6
FW
72352018-07-10 Florian Weimer <fweimer@redhat.com>
7236
7237 * libio/readline.c: Fix copyright year.
7238 * libio/tst-readline.c Likewise.
7239 * nss/tst-nss-files-hosts-getent.c: Likewise.
7240
916124ed
FW
72412018-07-06 Florian Weimer <fweimer@redhat.com>
7242
7243 [BZ #18991]
7244 * nss/nss_files/files-XXX.c (internal_getent): Use
7245 __libc_readline_unlocked. Seek back to the start of the line if
7246 parsing failes with ERANGE.
7247 (get_contents_ret, get_contents): Remove.
7248 * nss/tst-nss-files-hosts-getent.c: New file.
7249 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
7250 (tst-nss-files-hosts-getent): Link with -ldl.
7251
3f5e3f5d
FW
72522018-07-06 Florian Weimer <fweimer@redhat.com>
7253
7254 * include/stdio.h (__libc_readline_unlocked): Declare.
7255 (__ftello64, __fseeko64): Declare aliases.
7256 * libio/readline.c: New file.
7257 * libio/tst-readline.c: Likewise.
7258 (routines): Add readline.
7259 (tests-internal): Add tst-readlime.
7260 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
7261 __libc_readline_unlocked.
7262 * libio/fseeko.c (__fseeko): Rename from fseeko.
7263 (fseeko): Add alias.
7264 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
7265 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
7266 (fseeko64): Add alias.
7267 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
7268 * libio/ftello64.c (__ftello64): Rename from ftello64.
7269 (ftello64): Add alias.
7270
397c54c1
SN
72712018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
7272
7273 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
7274 HWCAP_ATOMICS.
7275
d0cd7980
SN
72762018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
7277
7278 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
7279 Use dl_hwcap without masking.
7280 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
7281 Remove HWCAP_CPUID.
7282
ddb3c626
FW
72832018-07-06 Florian Weimer <fweimer@redhat.com>
7284
7285 * conform/conformtest.pl (checknamespace): Escape literal braces
7286 in regular expressions.
7287
bce5911b
AP
72882018-07-06 Amit Pawar <amit.pawar@amd.com>
7289
7290 * sysdeps/x86/cpu-features.c (get_common_indeces):
7291 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
7292 * sysdeps/x86/cpu-features.c (init_cpu_features):
7293 AVX_Fast_Unaligned_Load is disabled for Excavator core.
7294
3a885c1f
FW
72952018-07-05 Florian Weimer <fweimer@redhat.com>
7296
7297 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
7298 protector.
7299 (CFLAGS-elf-init.oS): Likewise.
7300
38cade0c
FW
73012018-07-05 Florian Weimer <fweimer@redhat.com>
7302 Carlos O'Donell <carlos@redhat.com>
7303
7304 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
7305 $(no-stack-protector). stack_chk_fail_local.c can be compiled
7306 with stack protector enabled because there is no risk of infinite
7307 recursion.
7308
9449a295
MR
73092018-07-05 Maciej W. Rozycki <macro@mips.com>
7310
7311 [BZ #19818]
7312 [BZ #23307]
7313 * libc-abis (ABSOLUTE): New ABI.
7314 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
7315 * NEWS: Mention the new ABI.
7316
d6da5cb6
FW
73172018-07-05 Florian Weimer <fweimer@redhat.com>
7318
7319 [BZ # 17662]
7320 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
7321 (RENAME_WHITEOUT): Define.
7322 [__USE_GNU] (renameat2): Declare.
7323 * stdio-common/Makefile (routines): Add renameat2.
7324 (tests): Add tst-renameat2.
7325 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
7326 * stdio-common/renameat2.c: New file.
7327 * stdio-common/tst-renameat2.c: Likewise.
7328 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
7329 * manual/filesys.texi (Temporary Files): Note that renameat2 is
7330 undocumented.
7331 * sysdeps/unix/sysv/linux/kernel-features.h
7332 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
7333 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7334 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
7335 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7336 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
7337 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7338 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
7339 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7340 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
7341 * include/stdio.h (__renameat): Add alias for renameat.
7342 * stdio-common/renameat.c (__renameat): Rename from renameat.
7343 Add hidden definition and alias.
7344 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
7345 * sysdeps/mach/hurd/renameat.c: Likewise.
7346 * sysdeps/**/libc*.abilist: Add renameat2.
7347
1002d708
AZ
73482018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7349
7350 * posix/bug-regex33.c: Fix build after regex sync.
7351
34fdb893
CD
73522018-07-04 Carlos O'Donell <carlos@redhat.com>
7353
7354 [BZ #23164]
7355 * localedata/tst-langinfo-setlocale.c: New file.
7356 * localedata/tst-langinfo-setlocale-static.c: New file.
7357 * localedata/tst-langinfo-newlocale.c: New file.
7358 * localedata/tst-langinfo-newlocale-static.c: New file.
7359 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
7360 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
7361 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
7362 (tests-static): Remove tst-langinfo-static. Add
7363 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
7364 (tests-special): Remove $(objpfx)tst-langinfo.out,
7365 $(objpfx)tst-langinfo-static.out. Add
7366 $(objpfx)tst-langinfo-setlocale.out,
7367 $(objpfx)tst-langinfo-newlocale.out,
7368 $(objpfx)tst-langinfo-setlocale-static.out,
7369 $(objpfx)tst-langinfo-newlocale-static.out.
7370 ($(objpfx)tst-langinfo.out): Remove.
7371 ($(objpfx)tst-langinfo-static.out): Remove.
7372 ($(objpfx)tst-langinfo-newlocale.out): New target.
7373 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
7374 (test-xfail-tst-langinfo-newlocale-static): Add.
7375 ($(objpfx)tst-langinfo-setlocale.out): New target.
7376 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
7377 * localedata/tst-langinfo.c: Call test_locale.
7378 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
7379 data.
7380
f2873d2d
FW
73812018-07-04 Florian Weimer <fweimer@redhat.com>
7382
7383 testrun.sh: Implement --tool=strace, --tool=valgrind
7384 * Makefile (testrun-script): Define variable.
7385 (testrun.sh): Use variable.
7386 * manual/install.texi (Tools for Compilation): make 4.0 or later
7387 is required.
7388 * configure.ac: Check for make 4.0 or later.
7389 * INSTALL: Regenerate.
7390 * configure: Likewise.
7391
eb04c213
AZ
73922018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7393
7394 [BZ #23233]
7395 [BZ #21163]
7396 [BZ #18986]
7397 [BZ #13762]
7398 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
7399 * posix/PCRE.tests: Remove invalid test.
7400 * posix/bug-regex28.c: Fix expected values for used syntax.
7401 * posix/bug-regex37.c: New file.
7402 * posix/bug-regex38.c: Likewise.
7403 * posix/regcomp.c: Sync with gnulib.
7404 * posix/regex.c: Likewise.
7405 * posix/regex.h: Likewise.
7406 * posix/regex_internal.c: Likewise.
7407 * posix/regex_internal.h: Likewise.
7408 * posix/regexec.c: Likewise.
7409
b11643c2
MF
74102018-06-26 Mike FABIAN <mfabian@redhat.com>
7411
7412 [BZ #23308]
7413 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
7414 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
7415 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
7416 * localedata/unicode-gen/PropList.txt: likewise.
7417 * localedata/unicode-gen/UnicodeData.txt: likewise.
7418 * localedata/charmaps/UTF-8: Regenerate.
7419 * localedata/locales/i18n_ctype: likewise.
7420 * localedata/locales/tr_TR: likewise.
7421 * localedata/locales/translit_circle: likewise.
7422 * localedata/locales/translit_cjk_compat: likewise.
7423 * localedata/locales/translit_combining: likewise.
7424 * localedata/locales/translit_compat: likewise.
7425 * localedata/locales/translit_font: likewise.
7426 * localedata/locales/translit_fraction: likewise.
7427
5a357506
FW
74282018-07-03 Florian Weimer <fweimer@redhat.com>
7429
7430 [BZ #23363]
7431 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
7432 * stdio-common/tst-printf.sh: Adjust expected output.
7433 * LICENSES: Update.
7434
7279af00
AZ
74352018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7436
7437 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
7438 symbol.
7439
b7b88cea
GG
74402018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7441
7442 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
7443 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
7444 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
7445 * stdio-common/tst-printfsz-islongdouble.c: New file.
7446 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
7447 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
7448 [subdir == stdio-common] (routines): Add ieee128-printf_size.
7449 [subdir == stdio-common] (tests-internal): Add
7450 test-printf-size-ieee128, and test-printf-size-ibm128.
7451 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
7452 (CFLAGS-test-printf-size-ibm128.c): New variables.
7453 [subdir == stdio-common] (tests-special): Add
7454 $(objpfx)test-printf-size-ieee128.out and
7455 $(objpfx)test-printf-size-ibm128.out.
7456 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
7457 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
7458 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
7459 __printf_sizeieee128.
7460 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
7461 New file.
7462 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
7463 Likewise.
7464 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
7465 Likewise.
7466
2b445206
SN
74672018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
7468
7469 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
7470 (exp2f_inline): Likewise.
7471 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
7472 (__math_uflowf): Likewise.
7473 (__math_may_uflowf): Likewise.
7474 (__math_divzerof): Likewise.
7475 (__math_invalidf): Likewise.
7476 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
7477 (__math_oflowf): Likewise.
7478 (__math_uflowf): Likewise.
7479 (__math_may_uflowf): Likewise.
7480 (__math_divzerof): Likewise.
7481 (__math_invalidf): Likewise.
7482
2827ab99
CD
74832018-06-29 DJ Delorie <dj@redhat.com>
7484 Carlos O'Donell <carlos@redhat.com>
7485
7486 [BZ #23329]
7487 * include/libc-symbols.h: Comment the freeres framework.
7488 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
7489 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
7490 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
7491 * dlfcn/dlerror.c: Include libc-symbols.h
7492 (__dlerror_main_freeres): New function.
7493 * dlfcn/dlfreeres.c: New file.
7494 * dlfcn/sdlfreeres.c: New file.
7495 * include/dlfcn.h: Declare __dlerror_main_freeres.
7496 * malloc/set-freeres.c: Declare __libdl_freeres, and
7497 __libpthread_freeres.
7498 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
7499 the releavant libraries are loaded.
7500 * malloc/thread-freeres.c: Add comments.
7501 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
7502 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
7503 * nptl/allocatestack.c (__nptl_free_stacks): New function.
7504 (__free_stacks): Rename to...
7505 (free_stacks): ...this. Mark static.
7506 (queue_stack): Call free_stacks.
7507 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
7508 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
7509 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
7510 ptr_freeres element from struct.
7511 (pthread_functions): Remove .ptr_freeres from struct initializer.
7512 [SHARED] (nptl_freeres): Remove.
7513 * nptl/nptlfreeres.c: New file.
7514 * nptl/pthreadP.h
7515 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
7516 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
7517 attribute_hidden.
7518 (__free_stacks): Rename to...
7519 (__nptl_stacks_freeres): ...this.
7520 (__shm_directory_freeres): Declare.
7521 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
7522 (__nptl_unwind_freeres): ...this.
7523 * resolv/res-close.c: Add comment.
7524 * resolv/resolv_conf.c: Include libc-symbols.h.
7525 * string/strerror_l.c: Include libc-symbols.h.
7526 * sunrpc/rpc_thread.c: Include libc-symbols.h.
7527 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
7528 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
7529 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
7530
37d3d244
RS
75312018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7532
7533 * stdlib/tst-strfmon_l.c: Add tests for long double.
7534
a1e0c5fa
MW
75352018-06-29 Michael Wolf <milupo@sorbzilla.de>
7536
7537 [BZ #23208]
7538 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
7539 * localedata/locales/dsb_DE: New file.
7540
2e0c5de6
RL
75412018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
7542
7543 [BZ #23140]
7544 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
7545 genitive case).
7546 (alt_mon): New entry, import from CLDR (nominative case).
7547
cdb52c71
SL
75482018-06-29 Sylvain Lesage <severo@rednegra.net>
7549
7550 [BZ #22996]
7551 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
7552
ce76a5cb
SP
75532018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
7554
0aec4c1d
SP
7555 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
7556 Use vector registers.
7557
ce76a5cb
SP
7558 * sysdeps/aarch64/multiarch/memmove_falkor.S
7559 (__memcpy_falkor): Use vector registers.
7560
7e8989d0
MS
75612018-06-29 Martin Sebor <msebor@redhat.com>
7562
7563 * manual/stdio.texi (Customizing Printf): Mention interaction
7564 with GCC built-ins.
7565
bac15a72
MR
75662018-06-29 Maciej W. Rozycki <macro@mips.com>
7567
7568 [BZ #23307]
7569 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
7570 `st_value' is 0 if `st_shndx' is SHN_ABS.
7571 * elf/tst-absolute-zero.c: New file.
7572 * elf/tst-absolute-zero-lib.c: New file.
7573 * elf/tst-absolute-zero-lib.lds: New file.
7574 * elf/Makefile (tests): Add `tst-absolute-zero'.
7575 (modules-names): Add `tst-absolute-zero-lib'.
7576 (LDLIBS-tst-absolute-zero-lib.so): New variable.
7577 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
7578 ($(objpfx)tst-absolute-zero: New dependency.
7579
e69d994a
ZW
75802018-06-29 Zack Weinberg <zackw@panix.com>
7581
7582 * configure.ac: New command-line option --disable-crypt.
7583 Force --disable-nss-crypt when --disable-crypt is given, with a
7584 warning if it was explicitly enabled.
7585 * configure: Regenerate.
7586 * config.make.in: New boolean substitution variable $(build-crypt).
7587 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
7588 when $(build-crypt).
7589 * manual/install.texi: Document --disable-crypt.
7590 * INSTALL: Regenerate.
7591
7592 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
7593 which is never set.
7594 * conform/Makefile: Only include libcrypt.a in
7595 linknamespace-libs-xsi and linknamespace-libs-XPG4
7596 when $(build-crypt).
7597 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
7598 USE_CRYPT to 1 when $(build-crypt).
7599 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
7600 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
7601 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
7602
841785ba
ZW
76032018-06-29 Zack Weinberg <zackw@panix.com>
7604
7605 * crypt/crypt.h, posix/unistd.h: Update comments and
7606 prototypes for crypt and crypt_r.
7607
7608 * manual/crypt.texi (Cryptographic Functions): New initial
7609 exposition.
7610 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
7611 (Unpredictable Bytes): Improve initial exposition. Clarify error
7612 behavior of getentropy and getrandom.
7613 * manual/examples/genpass.c: Generate a salt using getentropy
7614 instead of the current time. Use hash $5$ (SHA-2-256).
7615 * manual/examples/testpass.c: Demonstrate validation against
7616 hashes generated with three different one-way functions.
7617
7618 * manual/intro.texi: crypt.texi does not need an overview
7619 anymore.
7620
7621 * manual/nss.texi, manual/memory.texi, manual/socket.texi
7622 * manual/terminal.texi: Consistently refer to "passphrases"
7623 * instead of "passwords", and to the "user database" instead
7624 * of the "password database".
7625 * manual/users.texi: Similarly. Add notes about how actual
7626 passphrase hashes are now stored in the shadow database.
7627 Remove 20-year-old junk todo note.
7628
6ab902e4
ZW
76292018-06-29 Zack Weinberg <zackw@panix.com>
7630
7631 * manual/crypt.texi: Use a normal top-level @node declaration.
7632 Move most of the introductory text to the 'crypt' section.
7633 Move the example programs below the @deftypefun for 'crypt_r'.
7634 Move the 'getpass' section...
7635 * manual/terminal.texi: ...here.
7636
b10a0acc
ZW
76372018-06-29 Zack Weinberg <zackw@panix.com>
7638 Florian Weimer <fweimer@redhat.com>
7639
7640 * posix/unistd.h: Do not declare encrypt.
7641 (_XOPEN_CRYPT): Remove macro definition.
7642 (crypt): Declare only for _USE_MISC.
7643 * stdlib/stdlib.h: Do not declare setkey.
7644 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
7645 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
7646
7647 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
7648 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
7649 into compat symbols. Don't define initial_perm if it's not
7650 going to be used.
7651 * crypt/cert.c: Link explicitly with the expected versions for
7652 setkey and encrypt. If they are not available at all, mark
7653 the test as unsupported.
7654
7655 * sunrpc/des_crypt.c: Unconditionally block linkage with
7656 cbc_crypt and ecb_crypt for new binaries.
7657 * sunrpc/des_soft.c: Unconditionally block linkage with
7658 des_setparity for new binaries.
7659
7660 * manual/crypt.texi: Remove the entire "DES Encryption"
7661 section. Also remove the paragraph talking about FIPS 140-2
7662 from the introduction.
7663 * manual/string.texi (strfry, memfrob): Revise. Recommend use
7664 of libgcrypt for "real" encryption, not DES.
7665 * manual/conf.texi (Constants for Sysconf): Mention that
7666 _XOPEN_CRYPT is no longer impelemented.
7667
7668 * conform/data/unistd.h-data: Remove crypt function declaration.
7669
524d796d
FW
76702018-06-29 Florian Weimer <fweimer@redhat.com>
7671
7672 [BZ #23351]
7673 * malloc/hooks.c: Update comments on restoring of dumped heaps.
7674 (disallow_malloc_check): Remove variable.
7675 (__malloc_check_init): Adjust.
7676 (malloc_set_state): Update comment.
7677 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
7678 declarations.
7679
339124ab
RL
76802018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
7681
7682 [BZ #23140]
7683 * localedata/locales/ast_ES (mon): Rename to...
7684 (alt_mon): This.
7685 (mon): Import from CLDR (genitive case).
7686
c1f86a33
DA
76872018-06-29 Daniel Alvarez <dalvarez@redhat.com>
7688 Jakub Sitnicki <jkbs@redhat.com>
7689
7690 [BZ #21812]
7691 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
7692 on NLM_F_DUMP_INTR.
7693
0b11b649
SN
76942018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
7695
7696 * manual/llio.texi: Remove spurious space.
7697
c1c2848b
FW
76982018-06-28 Florian Weimer <fweimer@redhat.com>
7699
7700 [BZ #23349]
7701 * time/bits/types/struct_timespec.h: Change header inclusion guard to
7702 _STRUCT_TIMESPEC.
7703
86a0f561
RS
77042018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7705
7706 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
7707 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
7708 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
7709 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
7710 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
7711 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
7712 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
7713
780684eb
MR
77142018-06-27 Maciej W. Rozycki <macro@mips.com>
7715
7716 [BZ #23266]
7717 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
7718 Copy and null-terminate entries that are not terminated, in
7719 addition to empty ones.
7720
c49e1822
FW
77212018-06-27 Florian Weimer <fweimer@redhat.com>
7722
7723 [BZ #18023]
7724 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
7725 (extend_alloca_account): Remove.
7726 * manual/stdio.texi (Variable Arguments Output): Update comment.
7727
a833e627
JM
77282018-06-27 Joseph Myers <joseph@codesourcery.com>
7729
7730 * nptl/sockperf.c: Remove file.
7731
92d6aa85
FW
77322018-06-27 Florian Weimer <fweimer@redhat.com>
7733
7734 [BZ #18023]
7735 * elf/dl-deps.c (_dl_map_object_deps): Use struct
7736 scratch_buffer instead of extend_alloca.
7737
890c2ced
FW
77382018-06-27 Florian Weimer <fweimer@redhat.com>
7739
7740 [BZ #18023]
7741 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
7742 scratch_buffer instead of extend_alloca. Update comments.
7743
4272059d
FW
77442018-06-27 Florian Weimer <fweimer@redhat.com>
7745
7746 [BZ #18023]
7747 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
7748 instead of extend_alloca.
7749
27f10a09
JM
77502018-06-26 Joseph Myers <joseph@codesourcery.com>
7751
7752 [BZ #13888]
7753 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
7754 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
7755 /tmp.
7756 * scripts/test-installation.pl: Put temporary files in build
7757 directory, not /tmp.
7758 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
7759 (CFLAGS-bug4.c): Likewise.
7760 (CFLAGS-bug5.c): Likewise.
7761 (CFLAGS-test-fseek.c): Likewise.
7762 (CFLAGS-test-popen.c): Likewise.
7763 (CFLAGS-test_rdwr.c): Likewise.
7764 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
7765 /tmp.
7766 * stdio-common/bug4.c (main): Likewise.
7767 * stdio-common/bug5.c (main): Likewise.
7768 * stdio-common/test-fseek.c (TESTFILE): Likewise.
7769 * stdio-common/test-popen.c (do_test): Likewise.
7770 * stdio-common/test_rdwr.c (main): Likewise.
7771
05598a09
PF
77722018-06-26 Patsy Franklin <pfrankli@redhat.com>
7773
7774 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
7775 (sem_open): Set sem.newsem.pad to zero for valgrind.
7776
06ab719d
AZ
77772018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7778
7779 [BZ #20251]
7780 * NEWS: Mention fcntl64 addition.
7781 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
7782 * login/utmp_file.c: Likewise.
7783 * sysdeps/posix/fdopendir.c: Likewise.
7784 * sysdeps/posix/opendir.c: Likewise.
7785 * sysdeps/unix/pt-fcntl.c: Likewise.
7786 * include/fcntl.h (__libc_fcntl64, __fcntl64,
7787 __fcntl64_nocancel_adjusted): New prototype.
7788 (__fcntl_nocancel_adjusted): Remove prototype.
7789 * io/Makefile (routines): Add fcntl64.
7790 (CFLAGS-fcntl64.c): New rule.
7791 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
7792 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
7793 * io/fcntl.h (fcntl64): Add prototype and redirect if
7794 __USE_FILE_OFFSET64 is defined.
7795 * io/fcntl64.c: New file.
7796 * manual/llio.text: Add a note for which commands fcntl acts a
7797 cancellation point.
7798 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
7799 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
7800 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
7801 New symbols.
7802 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
7803 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
7804 non-LFS case.
7805 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
7806 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
7807 to __fcntl64_nocancel.
7808 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
7809 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
7810 to __fcntl64_nocancel.
7811 * sysdeps/generic/not-cancel.h: Likewise.
7812 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
7813 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
7814 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
7815 (fcntl64): New symbol.
7816 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7817 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7818 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
7820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
7821 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
7822 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7823 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7824 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7825 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7826 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
7827 fcntl64): Likewise.
7828 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7829 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
7830 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7831 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7832 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7833 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7834 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
7835 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7836 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
7837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
7838 Likewise.
7839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7840 Likewise.
7841 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7842 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7843 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7844
124e0258
FW
78452018-06-26 Florian Weimer <fweimer@redhat.com>
7846
7847 Run thread shutdown functions in an explicit order.
7848 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
7849 definition.
7850 (__libc_thread_freeres): Call thread shutdown functions
7851 explicitly.
7852 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
7853 * include/string.h (__strerror_thread_freeres): Declare.
7854 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
7855 arena_thread_freeres. No longer static. Remove thread shutdown
7856 hook registration.
7857 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
7858 Declare.
7859 * resolv/res-close.c (__res_thread_freeres): Renamed from
7860 res_thread_freeres. No longer static. Remove thread shutdown
7861 hook registration.
7862 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
7863 * resolv/resolv_conf.c (freeres): Remove incorrect section
7864 attribute and use libc_freeres_fn.
7865 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
7866 strerror_thread_freeres. No longer static. Remove thread
7867 shutdown hook registration.
7868 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
7869 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
7870 shutdown hook registration.
7871 * Makerules (shlib.lds): Do not provide section boundary symbols
7872 for __libc_thread_subfreeres.
7873 * manual/memory.texi (Basic Allocation): Update comment.
7874
935d920e
FW
78752018-06-26 Florian Weimer <fweimer@redhat.com>
7876
7877 Remove always-defined _RPC_THREAD_SAFE_ macro.
7878 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
7879 Do not define _RPC_THREAD_SAFE_.
7880 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
7881 conditional.
7882 * sunrpc/clnt_perr.c: Likewise.
7883 * sunrpc/clnt_raw.c: Likewise.
7884 * sunrpc/clnt_simp.c: Likewise.
7885 * sunrpc/key_call.c: Likewise.
7886 * sunrpc/rpc_common.c: Likewise.
7887 * sunrpc/rpc_main.c: Likewise.
7888 * sunrpc/rpc_thread.c: Likewise.
7889 * sunrpc/svc.c: Likewise.
7890 * sunrpc/svc_raw.c: Likewise.
7891 * sunrpc/svc_simple.c: Likewise.
7892 * sumrpc/svcauth_des.c: Likewise.
7893
29055464
FW
78942018-06-26 Florian Weimer <fweimer@redhat.com>
7895
7896 * libio/Makefile (tests-internal): Add tst-vtables,
7897 tst-vtables-interposed.
7898 * libio/tst-vtables.c: New file.
7899 * libio/tst-vtables-common.c: Likewise.
7900 * libio/tst-vtables-interposed.c: Likewise.
7901
5c0202af
FW
79022018-06-26 Florian Weimer <fweimer@redhat.com>
7903
7904 * support/support_test_main.c (support_test_main): Only call
7905 setvbuf if not disables.
7906 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
7907 * support/test-driver.h (struct test_config): Add no_setvbuf member.
7908
c402355d
FW
79092018-06-26 Florian Weimer <fweimer@redhat.com>
7910
7911 [BZ #23313]
7912 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
7913
43b1048a
FW
79142018-06-25 Florian Weimer <fweimer@redhat.com>
7915
7916 [BZ #18023]
7917 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7918 Use struct scratch_buffer instead of extend_alloca.
7919
1599ed4e
FW
79202018-06-25 Florian Weimer <fweimer@redhat.com>
7921
7922 [BZ #18023]
7923 * nss/getent.c (initgroups_keys): Use dynarray instead of
7924 extend_alloca.
7925
a26fe163
FW
79262018-06-25 Florian Weimer <fweimer@redhat.com>
7927
7928 [BZ #18023]
7929 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
7930 Use struct scratch_buffer instead of extend_alloca.
7931
90d9d9ce
FW
79322018-06-25 Florian Weimer <fweimer@redhat.com>
7933
7934 [BZ #18023]
7935 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
7936 back to malloc directly, without stack allocations.
7937
6b7b2aba
FW
79382018-06-25 Florian Weimer <fweimer@redhat.com>
7939
7940 [BZ #18023]
7941 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
7942 of extend_alloca.
7943
2f9f0d18
FW
79442018-06-25 Florian Weimer <fweimer@redhat.com>
7945
7946 [BZ #18023]
7947 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
7948 of extend_alloca.
7949 * nscd/hstcache.c (addhstbyX): Likewise.
7950 * nscd/pwdcache.c (addpwbyX): Likewise.
7951 * nscd/servicescache.c (addservbyX): Likewise.
7952
318bad78
FW
79532018-06-25 Florian Weimer <fweimer@redhat.com>
7954
7955 [BZ #18023]
7956 * nscd/connections.c (read_cmdline): New function.
7957 (restart): Use it. Update comment.
7958
189699ab
RL
79592018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
7960
7961 [BZ #23140]
7962 * localedata/locales/csb_PL (mon): Rename to...
7963 (alt_mon): This.
7964 (abmon): Rename to...
7965 (ab_alt_mon): This.
7966 (mon): Add with proper genitive forms, copy from Wikipedia.
7967 (abmon): Likewise.
7968
0ea3f13c
RL
79692018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
7970
7971 [BZ #19485]
7972 * localedata/locales/csb_PL (mon): Fix typos:
7973 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
7974 (yesstr): Add, value is "jo".
7975 (nostr): Add, value is "nié".
7976
d93f4ff1
TMQMF
79772018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
7978
7979 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
7980 all log1p and significand functions on m680x0.
7981 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
7982 of s_significand.c..
7983 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
7984 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
7985 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
7986 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
7987 s_log1p.c and include it..
7988
f6299d2a
VC
79892018-06-21 Vincent Chen <vincentc@andestech.com>
7990
7991 * elf/elf.h (R_NDS32_NONE): New define.
7992 (R_NDS32_32_RELA): Likewise.
7993 (R_NDS32_COPY): Likewise.
7994 (R_NDS32_GLOB_DAT): Likewise.
7995 (R_NDS32_JUMP_SLOT): Likewise.
7996 (R_NDS32_RELATIVE): Likewise.
7997 (R_NDS32_TLS_TPOFF): Likewise.
7998 (R_NDS32_TLS_DESC): Likewise.
7999
61ab61c2
MW
80002018-06-21 Mark Wielaard <mark@klomp.org>
8001
8002 * elf/elf.h (R_BPF_MAP_FD): Removed.
8003 (R_BPF_64_64, R_BPF_64_32): New.
8004
f496b28e
FW
80052018-06-21 Florian Weimer <fweimer@redhat.com>
8006
8007 [BZ #23253]
8008 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
8009 Renamed from libc_feholdsetround_ctx.
8010 (default_libc_feresetround_ctx): Renamed from
8011 libc_feresetround_ctx.
8012 (default_libc_feholdsetround_noex_ctx): Renamed from
8013 libc_feholdsetround_noex_ctx.
8014 (default_libc_feresetround_noex_ctx): Renamed from
8015 libc_feresetround_noex_ctx.
8016 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
8017 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
8018 forwardning to the old implementations under the new names.
8019 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
8020 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
8021 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
8022 (libc_feresetround_ctx): Forward to default implements for i386
8023 and MATH_SET_BOTH_ROUNDING_MODES.
8024 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
8025 Add -DMATH_SET_BOTH_ROUNDING_MODES.
8026
1760daad
JM
80272018-06-20 Joseph Myers <joseph@codesourcery.com>
8028
99c7adf9
JM
8029 * string/tst-cmp.c: Include <libc-diag.h>.
8030 (strncmp_max): Disable -Wstringop-overflow= around call to
8031 strncmp.
8032 (strncasecmp_max): Disable -Wstringop-overflow= around call to
8033 strncasecmp.
8034
1760daad
JM
8035 * string/bug-strpbrk1.c: Include <libc-diag.h>.
8036 (main): Disable -Wunused-value around call to strpbrk.
8037 * string/bug-strspn1.c: Include <libc-diag.h>.
8038 (main): Disable -Wunused-value around call to strspn.
8039
209ae17c
TMQMF
80402018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
8041 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8042
8043 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
8044 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
8045
badba23c
TMQMF
80462018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
8047
5e79e029
TMQMF
8048 * math/Makefile (libm-calls): Move s_significandF to...
8049 (gen-libm-calls): ... here.
8050 * math/s_significand_template.c: New file.
8051 * math/s_significand.c: Removed.
8052 * math/s_significandf.c: Removed.
8053 * math/s_significandl.c: Removed.
8054 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
8055 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
8056
badba23c
TMQMF
8057 * math/e_exp2_template.c (declare_mgen_finite_alias,
8058 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
8059 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
8060 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
8061
2d1c89a5
FW
80622018-06-20 Florian Weimer <fweimer@redhat.com>
8063
8064 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
8065
646c2833
JM
80662018-06-19 Joseph Myers <joseph@codesourcery.com>
8067
8068 [BZ #23280]
8069 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
8070 floating-point number to strtod functions rather than possibly
8071 negating result of those functions.
8072 * stdio-common/tst-scanf-round.c: New file.
8073 * stdio-common/Makefile (tests): Add tst-scanf-round.
8074 ($(objpfx)tst-scanf-round): Depend on $(libm).
8075
c77e4dc0
ST
80762018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
8077
8078 * sysdeps/mach/hurd/localplt.data: Move to...
8079 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
8080 R_386_GLOB_DAT like on Linux i386.
8081
91b2f3e5
JM
80822018-06-18 Joseph Myers <joseph@codesourcery.com>
8083
f2857da7
JM
8084 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
8085 (SHM_STAT_ANY): New macro.
8086 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
8087 (SHM_STAT_ANY): Likewise.
8088 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
8089 (SHM_STAT_ANY): Likewise.
8090 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
8091 (SHM_STAT_ANY): Likewise.
8092 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
8093 (SHM_STAT_ANY): Likewise.
8094 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
8095 (SHM_STAT_ANY): Likewise.
8096 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
8097 (SHM_STAT_ANY): Likewise.
8098 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
8099 (SHM_STAT_ANY): Likewise.
8100 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
8101 (SHM_STAT_ANY): Likewise.
8102 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
8103 (SHM_STAT_ANY): Likewise.
8104 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
8105 (SHM_STAT_ANY): Likewise.
8106 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
8107 (SHM_STAT_ANY): Likewise.
8108
176c7fee
JM
8109 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
8110 (SEM_STAT_ANY): New macro.
8111 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
8112 (SEM_STAT_ANY): Likewise.
8113 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
8114 (SEM_STAT_ANY): Likewise.
8115 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
8116 (SEM_STAT_ANY): Likewise.
8117 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
8118 (SEM_STAT_ANY): Likewise.
8119 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
8120 (SEM_STAT_ANY): Likewise.
8121 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
8122 (SEM_STAT_ANY): Likewise.
8123 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
8124 (SEM_STAT_ANY): Likewise.
8125 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
8126 (SEM_STAT_ANY): Likewise.
8127 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
8128 (SEM_STAT_ANY): Likewise.
8129
86bf0019
JM
8130 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
8131 (MSG_STAT_ANY): New macro.
8132 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
8133 (MSG_STAT_ANY): Likewise.
8134 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
8135 (MSG_STAT_ANY): Likewise.
8136 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
8137 (MSG_STAT_ANY): Likewise.
8138 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
8139 (MSG_STAT_ANY): Likewise.
8140 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
8141 (MSG_STAT_ANY): Likewise.
8142 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
8143 (MSG_STAT_ANY): Likewise.
8144 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
8145 (MSG_STAT_ANY): Likewise.
8146 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
8147 (MSG_STAT_ANY): Likewise.
8148 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
8149 (MSG_STAT_ANY): Likewise.
8150
91b2f3e5
JM
8151 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
8152 (MAP_TYPE): Change value to 0x2b.
8153
3fe8fc79
FW
81542018-06-18 Florian Weimer <fweimer@redhat.com>
8155
8156 [BZ #15722]
8157 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
8158 socket with SOCK_CLOEXEC.
8159
809dc95d
JM
81602018-06-18 Joseph Myers <joseph@codesourcery.com>
8161
8162 [BZ #23303]
8163 * sysdeps/powerpc/powerpc64/le/Makefile
8164 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
8165 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
8166 (gnulib-tests): Also add $(f128-loader-link) for
8167 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
8168
298a8b59
ST
81692018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
8170
8171 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
8172 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
8173 of sendfile.
8174 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
8175 (sendfile64): New strong alias.
faf7bbc2
ST
8176 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
8177 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
8178 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
f96a85e0
ST
8179 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
8180 attribute.
8181 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
8182 ___pthread_get_cleanup_stack.
932d05f0 8183 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
c1b7586c
ST
8184 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
8185 * mach/shortcut.awk: Make syscall stubs include
8186 <mach-shortcuts-hidden.h> and add hidden definition.
8187 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
7a646a93
ST
8188 (__mach_msg): Add hidden prototype.
8189 * mach/msg.c: Include <mach.h>.
8190 (__mach_msg): Add hidden definition.
b0344cf5
ST
8191 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
8192 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
8193 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
8194 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
8c9d5342
ST
8195 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
8196 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
4d0ac037
ST
8197 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
8198 prototype and definition.
8199 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
8200 hidden target for _hurd_self_sigstate.
298a8b59 8201
b12c1e79
JM
82022018-06-15 Joseph Myers <joseph@codesourcery.com>
8203
8204 [BZ #23007]
8205 * stdlib/tst-strtod-nan-sign-main.c: New file.
8206 * stdlib/tst-strtod-nan-sign.c: Likewise.
8207 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
8208 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
8209 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
8210 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
8211 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
8212
b0debe14
HB
82132018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
8214
8215 [BZ #23007]
8216 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
8217 appropriate sign.
8218
14beef75
FW
82192018-06-14 Florian Weimer <fweimer@redhat.com>
8220
8221 [BZ #23290]
8222 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
8223 that the result stays within the ISO-8859-1 range.
8224 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
8225 characters are defined in IBM273.
8226
c596630b
ST
82272018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
8228
8229 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
8230 __mach_task_self): Remove attribute_hidden.
8231
35ebb6b0
JM
82322018-06-14 Joseph Myers <joseph@codesourcery.com>
8233
8234 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
8235 ignore -Wrestrict for one test.
8236
3c7b9f1f
SE
82372018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
8238 Szabolcs Nagy <szabolcs.nagy@arm.com>
8239
8240 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
8241
c59ee916
FW
82422018-06-14 Florian Weimer <fweimer@redhat.com>
8243
8244 * scripts/update-abilist.sh: Accept empty list of files to patch.
8245
43b5ff50
ST
82462018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
8247
8248 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
8249 test-xfail-check-abi-libmachuser): Add.
c8c910ed
ST
8250 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
8251 __libc_read and __libc_write to __read and __write.
c8c6e6d6 8252 * sysdeps/hurd/include/hurd/port.h: New file.
126b3ec3
ST
8253 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
8254 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
8255 __thread_switch, __evc_wait): Move declarations to...
8256 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
8257 attribute_hidden.
06d1a826
ST
8258 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
8259 use PLT to call _hurd_self_sigstate.
43b5ff50 8260
fcd6b5ac
JM
82612018-06-13 Joseph Myers <joseph@codesourcery.com>
8262
8263 [BZ #23279]
8264 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
8265 MAX_EXP as overflowing.
8266 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
8267 overflow flag.
8268 (round_str): Output also whether result overflows in each rounding
8269 mode.
8270 * stdlib/tst-strtod-round-data: Add more tests.
8271 * stdlib/tst-strtod-round-data.h: Regenerated.
8272 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
8273 (TEST): Handle extra arguments for overflow flags.
8274 (struct test_overflow): New type.
8275 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
8276 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
8277 (test_in_one_mode): Take argument with overflow information.
8278 (do_test): Update calls to test_in_one_mode.
8279
35df5a77
CD
82802018-06-12 Carlos O'Donell <carlos@redhat.com>
8281
a745c837
CD
8282 * elf/dl-load (_dl_dst_substitute): Correct comment.
8283 (_dl_dst_count): Likewise.
8284
35df5a77
CD
8285 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
8286 lll_futex_timed_wait.
8287
48b12ed5
JM
82882018-06-12 Joseph Myers <joseph@codesourcery.com>
8289
8290 [BZ #23277]
8291 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
8292 attribute.
8293 * math/test-nan-const.c: New file.
8294 * math/Makefile (tests): Add test-nan-const.
8295 (CFLAGS-test-nan-const.c): New variable.
8296
cb8f6aff
L
82972018-06-12 H.J. Lu <hongjiu.lu@intel.com>
8298
8299 * benchtests/scripts/compare_strings.py (process_results): Add
8300 funcs argument. Compare only functions which are selected.
8301 (main): Check if base function is among selected functions.
8302 Pass selected functions to process_results.
8303 (__main__): Add -f/--functions argument.
8304
fc2ba803
HZ
83052018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
8306 Hongbo Zhang <hongbo.zhang@linaro.org>
8307
8308 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
8309 __memcpy_falkor for phecda core.
8310 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
8311 __memmove_falkor for phecda core.
8312 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
8313 __memset_falkor for phecda core.
8314 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
8315 for phecda core.
8316 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
8317 macro to identify phecda core.
8318
5aad5f61
CD
83192018-06-12 Carlos O'Donell <carlos@redhat.com>
8320 Andreas Schwab <schwab@suse.de>
8321 Dmitry V. Levin <ldv@altlinux.org>
8322 Florian Weimer <fweimer@redhat.com>
8323
8324 [BZ #23102]
8325 [BZ #21942]
8326 [BZ #18018]
8327 [BZ #23259]
8328 CVE-2011-0536
8329 * elf/dl-dst.h: Remove DL_DST_COUNT.
8330 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
8331 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
8332 (is_dst): Comment. Support ELF gABI.
8333 (_dl_dst_count): Comment. Simplify and count DSTs.
8334 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
8335 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
8336 locals.
8337
329ea513
ZW
83382018-06-12 Zack Weinberg <zackw@panix.com>
8339
8340 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
8341 * sysdeps/unix/sysv/linux/dl-sysdep.c
8342 Include not-cancel.h. Use __close_nocancel instead of __close,
8343 __open64_nocancel instead of __open, __read_nocancel instead of
8344 __libc_read, and __write_nocancel instead of __libc_write.
8345
8346 * csu/check_fds.c (check_one_fd)
8347 * sysdeps/posix/fdopendir.c (__fdopendir)
8348 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
8349 instead of __fcntl and/or __libc_fcntl.
8350
8351 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
8352 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
8353 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
8354 Use __open64_nocancel instead of __open_nocancel.
8355
8356 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
8357 hidden_proto declarations to the end and issue them if either
8358 IS_IN(libc) or IS_IN(rtld).
8359 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
8360 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
8361 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
8362 read_nocancel, waitpid_nocancel, write_nocancel.
8363
8364 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
8365 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
8366 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
8367
8368 * nptl/pt-fcntl.c: New file.
8369 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
8370 (libpthread-routines): Add pt-fcntl.
8371 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
8372 (__libc_fcntl): Remove attribute_hidden.
8373 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
8374 __fcntl_nocancel_adjusted, not fcntl_common.
8375 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
8376 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
8377 to fcntl_nocancel.c.
8378 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
8379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
8380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
8381 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
8382
8383 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
8384 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
8385 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
8386 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
8387 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
8388 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
8389 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
8390 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
8391 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
8392 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
8393 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
8394 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
8395 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
8396 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
8397 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
8398 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
8399 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
8400 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
8401 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
8402 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
8403
8404 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
8405 libpthread-routines.
8406 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
8407 defines nothing.
8408
8409 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
8410 __libc_read, and __write instead of __libc_write. Define
8411 __open64 in addition to __open.
8412
0221ce2a
L
84132018-06-12 H.J. Lu <hongjiu.lu@intel.com>
8414
8415 [BZ #23250]
8416 [BZ #10686]
8417 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
8418 to _private_tm[3] and add __glibc_reserved2.
8419 Add _Static_assert of offset of __private_ss == 0x30.
8420 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
8421 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
8422
e826574c
FW
84232018-06-12 Florian Weimer <fweimer@redhat.com>
8424
8425 x86: Make strncmp usable from rtld.
8426 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
8427 __strncmp_ia32 if in libc (and not in rtld).
8428 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
8429 strncmp if not in libc (and not to __strncmp_sse2).
8430
c4ad5782
RL
84312018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
8432
8433 [BZ #23140]
8434 * localedata/locales/gd_GB (mon): Rename to...
8435 (alt_mon): This.
8436 (mon): Import from CLDR (genitive case).
8437 * localedata/locales/hsb_DE (mon): Rename to...
8438 (alt_mon): This.
8439 (mon): Import from CLDR (genitive case).
8440 * localedata/locales/wa_BE (mon): Rename to...
8441 (alt_mon): This.
8442 (mon): Add, fill with the proper genitive forms, but CLDR data
8443 is incomplete; completed according to the comments in this file.
8444 (d_t_fmt): Do not use "di" before the month name, no longer needed.
8445
8446 * localedata/locales/wa_BE (country_name): Reword
8447 "Beljike" -> "Beldjike".
8448
ca121b11
JM
84492018-06-11 Joseph Myers <joseph@codesourcery.com>
8450
8451 [BZ #23272]
8452 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
8453 cases of non-finite arguments.
8454 * math/libm-test-fma.inc (fma_test_data): Add more tests.
8455
2b69fecb
JDA
84562018-06-10 John David Anglin <danglin@gcc.gnu.org>
8457
8458 [BZ #23174]
8459 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
8460
283d9851
AZ
84612018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8462
8463 [BZ #23264]
8464 * include/unistd.h (__execvpex): New prototype.
8465 * posix/Makefile (tests): Add tst-spawn4.
8466 (tests-internal): Add tst-spawn4-compat.
8467 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
8468 * posix/tst-spawn4-compat.c: New file.
8469 * posix/tst-spawn4.c: Likewise.
8470 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
8471 binaries as shell scripts.
8472 * sysdeps/posix/spawni.c (__spawni): Likewise.
8473
67c05796
L
84742018-06-08 H.J. Lu <hongjiu.lu@intel.com>
8475
8476 [BZ #23145]
8477 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
8478 ($(all-built-dso:=.dynsym): New target.
8479 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
8480 ($(objpfx)check-initfini.out): New target.
8481 (generated): Add check-initfini.out.
8482 * scripts/check-initfini.awk: New file.
8483 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
8484 (_fini): Likewise.
8485 * sysdeps/alpha/crti.S (_init): Mark as hidden.
8486 (_fini): Likewise.
8487 * sysdeps/arm/crti.S (_init): Mark as hidden.
8488 (_fini): Likewise.
8489 * sysdeps/hppa/crti.S (_init): Mark as hidden.
8490 (_fini): Likewise.
8491 * sysdeps/i386/crti.S (_init): Mark as hidden.
8492 (_fini): Likewise.
8493 * sysdeps/ia64/crti.S (_init): Mark as hidden.
8494 (_fini): Likewise.
8495 * sysdeps/m68k/crti.S (_init): Mark as hidden.
8496 (_fini): Likewise.
8497 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
8498 (_fini): Likewise.
8499 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
8500 (_fini): Likewise.
8501 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
8502 (_fini): Likewise.
8503 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
8504 (_fini): Likewise.
8505 * sysdeps/nios2/crti.S (_init): Mark as hidden.
8506 (_fini): Likewise.
8507 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
8508 (_fini): Likewise.
8509 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
8510 (_fini): Likewise.
8511 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
8512 (_fini): Likewise.
8513 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
8514 (_fini): Likewise.
8515 * sysdeps/sh/crti.S (_init): Mark as hidden.
8516 (_fini): Likewise.
8517 * sysdeps/sparc/crti.S (_init): Mark as hidden.
8518 (_fini): Likewise.
8519 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
8520 (_fini): Likewise.
8521
1c09524e
TMQMF
85222018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
8523
8524 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
8525 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
8526 and TF redirection to KFtype and KF only when the default
8527 long double type is not the IEEE 128-bit floating point type.
8528
0e0577c9
JM
85292018-06-05 Joseph Myers <joseph@codesourcery.com>
8530
0c1c33b2
JM
8531 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
8532 macro.
8533 (HWCAP_USCAT): Likewise.
8534 (HWCAP_ILRCPC): Likewise.
8535 (HWCAP_FLAGM): Likewise.
8536 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
8537 Increase to 28.
8538 (_dl_aarch64_cap_flags): Add new flag names.
8539
bef1cbf4
JM
8540 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
8541 (MAP_FIXED_NOREPLACE): New macro.
8542 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
8543 (MAP_FIXED_NOREPLACE): Likewise.
8544 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
8545 (MAP_FIXED_NOREPLACE): Likewise.
8546 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
8547 (MAP_FIXED_NOREPLACE): Likewise.
8548 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
8549 (MAP_FIXED_NOREPLACE): Likewise.
8550 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
8551 (MAP_FIXED_NOREPLACE): Likewise.
8552 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
8553 (MAP_FIXED_NOREPLACE): Likewise.
8554 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
8555 (MAP_FIXED_NOREPLACE): Likewise.
8556 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
8557 (MAP_FIXED_NOREPLACE): Likewise.
8558 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
8559 (MAP_FIXED_NOREPLACE): Likewise.
8560 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
8561 (MAP_FIXED_NOREPLACE): Likewise.
8562 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
8563 (MAP_FIXED_NOREPLACE): Likewise.
8564 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
8565 (MAP_FIXED_NOREPLACE): Likewise.
8566 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
8567 (MAP_FIXED_NOREPLACE): Likewise.
8568 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
8569 (MAP_FIXED_NOREPLACE): Likewise.
8570
0e0577c9
JM
8571 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
8572 version to 4.17.
8573
ab3a0da0
JM
85742018-06-04 Joseph Myers <joseph@codesourcery.com>
8575
8576 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8577 version to 4.17
8578
d2d9dfb6
ST
85792018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
8580
8581 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
8582 int.
8583 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
8584
a650b05e
LS
85852018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
8586
8587 * benchtests/scripts/compare_string.py: (process_results) Catch
8588 exception in non-existent base_func and catch exception in
8589 non-existent attribute.
8590 (parse_file) Catch exception if input file does not exist.
8591
195abbf4
LS
85922018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
8593
8594 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
8595 options to avoid diff calculation and omit header, respectively.
8596 (main): process --no-diff and --no-header
8597
14570163
LS
85982018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
8599 H.J. Lu <hongjiu.lu@intel.com>
8600
8601 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8602 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
8603 wcsncmp-sse2.
8604 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
8605 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
8606 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
8607 and __wcsncmp_sse2.
8608 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
8609 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
8610 AVX unaligned load is fast and vzeroupper is preferred.
8611 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
8612 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
8613 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
8614 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
8615 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
8616 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
8617 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
8618 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
8619 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
8620 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
8621 is undefined.
8622
e02c026f
FW
86232018-06-01 Florian Weimer <fweimer@redhat.com>
8624
8625 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
8626 configuring with --disable-multi-arch, building with
8627 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
8628 Haswell-era CPU.
8629
d8c19275
FW
86302018-06-01 Florian Weimer <fweimer@redhat.com>
8631
8632 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
8633 results from building with “-march=x86-64 -mtune=generic
8634 -mfpmath=sse” and running on a Haswell-era CPU.
8635
0d2163eb
JM
86362018-06-01 Joseph Myers <joseph@codesourcery.com>
8637
8638 [BZ #18473]
8639 * soft-fp/sqrttf2.c: Remove file.
8640 * soft-fp/sqrtdf2.c: Move to ....
8641 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
8642 <shlib-compat.h>.
8643 (__sqrtdf2): Make conditional on
8644 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
8645 symbol.
8646 * soft-fp/sqrtsf2.c: Move to ....
8647 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
8648 <shlib-compat.h>.
8649 (__sqrtsf2): Make conditional on
8650 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
8651 symbol.
8652 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
8653 (gcc-double-routines): Remove sqrtdf2.
8654 (gcc-quad-routines): Remove sqrttf2.
8655 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
8656 Do not filter out sqrtsf2 and sqrtdf2.
8657 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
8658 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
8659
10450210
FW
86602018-06-01 Florian Weimer <fweimer@redhat.com>
8661
8662 * sysdeps/generic/libcidn.abilist: Remove file.
8663
4e8a6346
FW
86642018-06-01 Florian Weimer <fweimer@redhat.com>
8665
8666 [BZ #23236]
8667 * libio/strfile.h (struct _IO_str_fields): Rename members to
8668 discourage their use and add comment.
8669 (_IO_STR_DYNAMIC): Remove unused macro.
8670 * libio/strops.c (_IO_str_init_static_internal): Do not use
8671 callback pointers. Call malloc and free.
8672 (_IO_str_overflow): Do not use callback pointers. Call malloc
8673 and free.
8674 (enlarge_userbuf): Likewise.
8675 (_IO_str_finish): Call free.
8676 * libio/wstrops.c (_IO_wstr_init_static): Initialize
8677 _allocate_buffer_unused.
8678 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
8679 and free.
8680 (enlarge_userbuf): Likewise.
8681 (_IO_wstr_finish): Call free.
8682 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
8683 _allocate_buffer_unused, _free_buffer_unused.
8684 * libio/memstream.c (__open_memstream): Likewise.
8685 * libio/vasprintf.c (_IO_vasprintf): Likewise.
8686 * libio/wmemstream.c (open_wmemstream): Likewise.
8687
50d004c9
PP
86882018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
8689
8690 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
8691 AMD Ryzen 7 1800X.
8692
2c93fce7
RS
86932018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8694
8695 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
8696 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
8697 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
8698 New file.
8699 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
8700 Likewise.
8701 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
8702
0ce2fa69
FW
87032018-05-29 Florian Weimer <fweimer@redhat.com>
8704
8705 * support/Makefile (libsupport-routines): Add
8706 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
8707 xpthread_barrierattr_setpshared.
8708 * support/xpthread_barrierattr_destroy.c: New file.
8709 * support/xpthread_barrierattr_init.c: Likewise.
8710 * support/xpthread_barrierattr_setpshared.c: Likewise.
8711
7f7b5d8d
L
87122018-05-29 H.J. Lu <hongjiu.lu@intel.com>
8713
8714 [BZ #23206]
8715 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
8716 _r_debug and update DT_DEBUG for debugger.
8717
e4890300
FW
87182018-05-29 Florian Weimer <fweimer@redhat.com>
8719
8720 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
8721 (tst-strtod5i.out): Likewise.
8722
2c753f3e
JM
87232018-05-25 Joseph Myers <joseph@codesourcery.com>
8724
b5453d9f
JM
8725 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
8726 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
8727 (sparc64-quad-routines): New variable. Moved from ....
8728 [$(subdir) = soft-fp] (sysdep_routines): Add
8729 $(sparc64-quad-routines). Moved from ....
8730 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
8731 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
8732 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
8733 moved from ....
8734 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
8735 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
8736 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
8737 * sysdeps/sparc/sparc64/qp_add.c: ... here.
8738 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
8739 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
8740 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
8741 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
8742 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
8743 * sysdeps/sparc/sparc64/qp_div.c: ... here.
8744 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
8745 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
8746 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
8747 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
8748 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
8749 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
8750 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
8751 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
8752 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
8753 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
8754 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
8755 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
8756 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
8757 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
8758 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
8759 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
8760 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
8761 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
8762 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
8763 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
8764 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
8765 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
8766 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
8767 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
8768 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
8769 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
8770 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
8771 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
8772 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
8773 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
8774 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
8775 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
8776 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
8777 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
8778 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
8779 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
8780 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
8781 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
8782 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
8783 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
8784 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
8785 * sysdeps/sparc/sparc64/qp_util.c: ... here.
8786 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
8787 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
8788 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
8789 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
8790 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
8791 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
8792
2c753f3e
JM
8793 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
8794 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
8795 (sparc32-quad-routines): New variable. Moved from ....
8796 [$(subdir) = soft-fp] (sysdep_routines): Add
8797 $(sparc32-quad-routines). Moved from ....
8798 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
8799 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
8800 moved from ....
8801 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
8802 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
8803 * sysdeps/sparc/sparc32/q_add.c: ... here.
8804 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
8805 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
8806 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
8807 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
8808 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
8809 * sysdeps/sparc/sparc32/q_div.c: ... here.
8810 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
8811 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
8812 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
8813 * sysdeps/sparc/sparc32/q_feq.c: ... here.
8814 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
8815 * sysdeps/sparc/sparc32/q_fge.c: ... here.
8816 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
8817 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
8818 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
8819 * sysdeps/sparc/sparc32/q_fle.c: ... here.
8820 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
8821 * sysdeps/sparc/sparc32/q_flt.c: ... here.
8822 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
8823 * sysdeps/sparc/sparc32/q_fne.c: ... here.
8824 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
8825 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
8826 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
8827 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
8828 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
8829 * sysdeps/sparc/sparc32/q_mul.c: ... here.
8830 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
8831 * sysdeps/sparc/sparc32/q_neg.c: ... here.
8832 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
8833 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
8834 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
8835 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
8836 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
8837 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
8838 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
8839 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
8840 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
8841 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
8842 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
8843 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
8844 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
8845 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
8846 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
8847 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
8848 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
8849 * sysdeps/sparc/sparc32/q_sub.c: ... here.
8850 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
8851 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
8852 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
8853 * sysdeps/sparc/sparc32/q_util.c: ... here.
8854 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
8855 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
8856 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
8857 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
8858
c1dc1e1b
TMQMF
88592018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
8860 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8861
8862 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
8863 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
8864 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
8865 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
8866
14186e8d
JM
88672018-05-24 Joseph Myers <joseph@codesourcery.com>
8868
8869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
8870 powerpc/soft-fp.
8871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
8872 Likewise.
8873 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
8874 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
8875
fb0e10b8
GG
88762018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8877
8878 [BZ #23171]
8879 * math/math.h [C++] (iseqsig): Fix parameter type for the long
8880 double version.
8881
1dfeb17e
JM
88822018-05-23 Joseph Myers <joseph@codesourcery.com>
8883
8884 * sysdeps/sh/Implies: Remove sh/soft-fp.
8885 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
8886 * sysdeps/sh/sfp-machine.h: ... here.
8887
727b38df
L
88882018-05-23 H.J. Lu <hongjiu.lu@intel.com>
8889
8890 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
8891 (__mempcpy_erms): Skip zero length.
8892 (__memmove_erms): Likewise.
8893 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
8894 (__memset_erms): Likewise.
8895
2834fb46
JM
88962018-05-23 Joseph Myers <joseph@codesourcery.com>
8897
8898 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
8899 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
8900 Add functions moved from ....
8901 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
8902 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
8903 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
8904 from ....
8905 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
8906 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
8907 * sysdeps/alpha/e_sqrtl.c: ... here.
8908 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
8909 * sysdeps/alpha/local-soft-fp.h: ... here.
8910 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
8911 * sysdeps/alpha/ots_add.c: ... here.
8912 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
8913 * sysdeps/alpha/ots_cmp.c: ... here.
8914 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
8915 * sysdeps/alpha/ots_cmpe.c: ... here.
8916 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
8917 * sysdeps/alpha/ots_cvtqux.c: ... here.
8918 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
8919 * sysdeps/alpha/ots_cvtqx.c: ... here.
8920 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
8921 * sysdeps/alpha/ots_cvttx.c: ... here.
8922 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
8923 * sysdeps/alpha/ots_cvtxq.c: ... here.
8924 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
8925 * sysdeps/alpha/ots_cvtxt.c: ... here.
8926 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
8927 * sysdeps/alpha/ots_div.c: ... here.
8928 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
8929 * sysdeps/alpha/ots_mul.c: ... here.
8930 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
8931 * sysdeps/alpha/ots_nintxq.c: ... here.
8932 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
8933 * sysdeps/alpha/ots_sub.c: ... here.
8934 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
8935 * sysdeps/alpha/sfp-machine.h: ... here.
8936
7f9f1ecb
FW
89372018-05-23 Florian Weimer <fweimer@redhat.com>
8938
8939 [BZ #19728]
8940 [BZ #19729]
8941 [BZ #22247]
8942 CVE-2016-6261
8943 CVE-2016-6263
8944 CVE-2017-14062
8945 Switch to extern IDNA implementation (libidn2).
8946 * libidn: Remove subdirectory.
8947 * LICENSES: Do not mention licensing conditions for the removed
8948 libidn code.
8949 * config.h.in (HAVE_LIBIDN): Remove.
8950 * include/dlfcn.h (__libc_dlopen): Update comment.
8951 * include/idna.h: Remove file.
8952 * inet/Makefile (routines): Add idna.
8953 (tests-static, tests-internal): Add tst-idna_name_classify.
8954 (LOCALES): Generate locales for tests.
8955 (tst-idna_name_classify.out): Depend on generated locales.
8956 * inet/idna_name_classify.c: New file.
8957 * inet/tst-idna_name_classify.c: Likewise.
8958 * inet/net-internal.h (__idna_to_dns_encoding)
8959 (__idna_from_dns_encoding): Declare.
8960 * inet/net-internal.h (enum idna_name_classification): Define.
8961 (__idna_name_classify): Declare.
8962 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
8963 __idna_from_dns_encoding.
8964 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
8965 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
8966 name as a fallback in case of encoding errors.
8967 (getnameinfo): Use DEPRECATED_NI_IDN.
8968 * inet/idna.c: New file.
8969 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
8970 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
8971 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
8972 (modules-names): Add tst-no-libidn2.
8973 (extra-test-objs): Add tst-no-libidn2.os.
8974 (LDFLAGS-tst-no-libidn2.so): Set soname.
8975 (LOCALES): Set, and generate locales.
8976 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
8977 (tst-resolv-ai_idn-latin1): Likewise.
8978 (tst-resolv-ai_idn-nolibidn2): Likewise.
8979 (tst-resolv-ai_idn.out): Depend on locales.
8980 (tst-resolv-ai_idn-latin1.out): Depend on locales.
8981 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
8982 tst-no-libidn2.so.
8983 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
8984 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
8985 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
8986 * resolv/tst-resolv-ai_idn.c: New file.
8987 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
8988 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
8989 * resolv/tst-no-libidn2.c: Likewise.
8990 * support/support_format_addrinfo.c (format_ai_flags): Do not
8991 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
8992 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
8993 (gaih_inet): Call __idna_to_dns_encoding and
8994 __idna_from_dns_encoding, and use the original (punycode) name if
8995 __idna_from_dns_encoding fails due to an encoding error.
8996 (getaddrinfo): Use DEPRECATED_AI_IDN.
8997 * sysdeps/unix/inet/Subdirs (libidn): Remove.
8998 * sysdeps/unix/inet/configure: Remove file.
8999 * sysdeps/unix/inet/configure.ac: Likewise.
9000
5f7b841d
FW
90012018-05-23 Florian Weimer <fweimer@redhat.com>
9002
9003 Implement allocate_once.
9004 * include/allocate_once.h: New file.
9005 * misc/allocate_once.c: Likewise.
9006 * misc/tst-allocate_once.c: Likewise.
9007 * misc/Makefile (routines): Add allocate_once.
9008 (tests-internal): Add tst-allocate_once.
9009 (generated): Add tst-allocate_once.mtrace,
9010 tst-allocate_once-mem.out.
9011 (tests-special): Add tst-allocate_once-mem.out.
9012 (tst-allocate_once-ENV): Set MALLOC_TRACE.
9013 (tst-allocate_once-mem.out): Call mtrace.
9014 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
9015
ed983107
L
90162018-05-23 H.J. Lu <hongjiu.lu@intel.com>
9017
9018 [BZ #23196]
9019 * string/test-memcpy.c (do_test1): New function.
9020 (test_main): Call it.
9021
9aaaab7c
AS
90222018-05-23 Andreas Schwab <schwab@suse.de>
9023
9024 [BZ #23196]
9025 CVE-2018-11237
9026 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
9027 (L(preloop_large)): Save initial destination pointer in %r11 and
9028 use it instead of %rax after the loop.
9029 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
9030
5c5c0dd7
JM
90312018-05-22 Joseph Myers <joseph@codesourcery.com>
9032
8f145c77
JM
9033 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
9034 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
9035 -I../soft-fp. Moved from ....
9036 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
9037 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
9038 * sysdeps/aarch64/e_sqrtl.c: ... here.
9039 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
9040 * sysdeps/aarch64/sfp-machine.h: ... here.
9041
3d6302a5
JM
9042 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
9043 -Wmaybe-uninitialized around access to fq[0].
9044 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
9045 Likewise.
9046
5c5c0dd7
JM
9047 [BZ #18471]
9048 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
9049 aliases for non-libc case of versioned symbols.
9050 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
9051 (llseek): Define as compat symbol if
9052 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
9053 with link warning.
9054 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
9055 Make into a compat symbol, disabled for minimum symbol version
9056 GLIBC_2.28 and later.
9057 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
9058
ed0d6988
FW
90592018-05-22 Florian Weimer <fweimer@redhat.com>
9060
9061 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
9062 not add -mpreferred-stack-boundary=4.
9063 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
9064 (stack-align-test-flags): Likewise.
9065 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
9066 Likewise.
9067 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
9068 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
9069 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
9070 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
9071 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
9072 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
9073 (CFLAGS-tst-align2.c): Likewise.
9074
e28e9b1e
L
90752018-05-21 H.J. Lu <hongjiu.lu@intel.com>
9076
9077 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
9078 (index_arch_Prefer_FSRM): Likewise.
9079 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
9080 Also check Prefer_FSRM.
9081 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
9082 Also return OPTIMIZE (erms) for Prefer_FSRM.
9083
1af30adc
L
90842018-05-21 H.J. Lu <hongjiu.lu@intel.com>
9085
9086 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
9087 (index_cpu_FSRM): Likewise.
9088 (reg_FSRM): Likewise.
9089
78274dc8
JM
90902018-05-18 Joseph Myers <joseph@codesourcery.com>
9091
7c67e6e8
JM
9092 * math/gen-tgmath-tests.py: Import sys.
9093 (Tests.__init__): Initialize macros_seen.
9094 (Tests.add_tests): Add macro to macros_seen. Only generate tests
9095 if requested to do so for this macro.
9096 (Tests.add_all_tests): Take argument for macro for which to
9097 generate tests.
9098 (Tests.check_macro_list): New function.
9099 (main): Handle check-list argument and argument specifying macro
9100 for which to generate tests.
9101 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
9102 [PYTHON] (tgmath3-macro-tests): Likewise.
9103 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
9104 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
9105 not test-tgmath3.c.
9106 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
9107 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
9108 to CFLAGS.
9109 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
9110 [PYTHON] ($(foreach
9111 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
9112 rule.
9113 [PYTHON] (tests-special): Add
9114 $(objpfx)test-tgmath3-macro-list.out.
9115 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
9116
ebc129fd
JM
9117 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
9118 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
9119 later.
9120
78274dc8
JM
9121 [BZ #22639]
9122 * time/tzset.c (SECSPERDAY): Cast to time_t.
9123 * time/tst-y2039.c: New file.
9124 * time/Makefile (tests): Add tst-y2039.
9125
6f7fdeeb
LS
91262018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
9127
9128 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
9129 (PREFETCH_ONE_SET): Remove duplicate line.
9130
e363a91c
FW
91312018-05-17 Florian Weimer <fweimer@redhat.com>
9132
9133 * sysdeps/generic/math-type-macros-double.h: Include
9134 <math-nan-payload-double.h> after <libm-alias-double.h>.
9135 * sysdeps/generic/math-type-macros-float.h: Include
9136 <math-nan-payload-float.h> after <libm-alias-float.h>.
9137 * sysdeps/generic/math-type-macros-float128.h: Include
9138 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
9139 * sysdeps/generic/math-type-macros-ldouble.h: Include
9140 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
9141
dae6c43c
AS
91422018-05-17 Andreas Schwab <schwab@suse.de>
9143
9144 * resolv/res_send.c (__res_context_send): Don't set errno when
9145 returing error after malloc failure.
9146
0068c085
L
91472018-05-17 H.J. Lu <hongjiu.lu@intel.com>
9148
9149 * nptl/allocatestack.c (allocate_stack): Remove the
9150 !__ASSUME_PRIVATE_FUTEX paths.
9151 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
9152 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
9153 Likewise.
9154 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
9155 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
9156 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
9157 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
9158 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
9159 !__ASSUME_PRIVATE_FUTEX path.
9160 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
9161 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
9162 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
9163 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
9164 !__ASSUME_PRIVATE_FUTEX macros.
9165 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
9166 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
9167 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
9168 * sysdeps/unix/sysv/linux/kernel-features.h
9169 (__ASSUME_PRIVATE_FUTEX): Removed.
9170
632a6cbe
JM
91712018-05-17 Joseph Myers <joseph@codesourcery.com>
9172
9173 * math/Makefile (libm-narrow-fns): Add div.
9174 (libm-test-funcs-narrow): Likewise.
9175 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
9176 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
9177 * math/gen-auto-libm-tests.c (test_functions): Add div.
9178 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
9179 (NARROW_DIV_ROUND_TO_ODD): Likewise.
9180 (NARROW_DIV_TRIVIAL): Likewise.
9181 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
9182 macro.
9183 (__ddivl): Likewise.
9184 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
9185 ddiv.
9186 (CFLAGS-nldbl-ddiv.c): New variable.
9187 (CFLAGS-nldbl-fdiv.c): Likewise.
9188 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
9189 __nldbl_ddivl.
9190 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
9191 prototype.
9192 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
9193 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
9194 * math/auto-libm-test-in: Add tests of div.
9195 * math/auto-libm-test-out-narrow-div: New generated file.
9196 * math/libm-test-narrow-div.inc: New file.
9197 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
9198 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
9199 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
9200 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
9201 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
9202 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
9203 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
9204 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
9205 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
9206 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
9207 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
9208 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
9209 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
9210 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
9211 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
9212 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
9213 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
9214 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
9215 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9216 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
9217 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9218 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9219 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9220 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9221 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9222 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9223 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9224 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9225 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9226 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9227 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9228 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
9230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
9231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
9232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
9233 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
9234 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9235 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9236 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9237 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9238 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9239 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9240 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9241
8c78faa9
AZ
92422018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9243
9244 [BZ #23178]
9245 * nscd/nscd-client.h (sendfileall): Remove prototype.
9246 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
9247 (handle_request): Use writeall instead of sendfileall.
9248 * nscd/aicache.c (addhstaiX): Likewise.
9249 * nscd/grpcache.c (cache_addgr): Likewise.
9250 * nscd/hstcache.c (cache_addhst): Likewise.
9251 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9252 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
9253 * nscd/pwdcache.c (cache_addpw): Likewise.
9254 * nscd/servicescache.c (cache_addserv): Likewise.
9255 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
9256 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
9257 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
9258 Remove define.
9259
04958880
L
92602018-05-16 H.J. Lu <hongjiu.lu@intel.com>
9261
9262 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
9263 Include <string/strncat.c>.
9264 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
9265 alias.
9266 (__GI___strncat): New hidden alias.
9267
c9992d13
JM
92682018-05-16 Joseph Myers <joseph@codesourcery.com>
9269
9270 * sysdeps/mips/mips32/libm-test-ulps: Update.
9271 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9272
2afece36
FW
92732018-05-16 Florian Weimer <fweimer@redhat.com>
9274
9275 * support/Makefile (libsupport-routines): Add support_quote_blob,
9276 support_test_compare_blob.
9277 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
9278 * support/check.h (TEST_COMPARE_BLOB): Define.
9279 (support_test_compare_blob): Declare.
9280 * support/support.h (support_quote_blob): Declare.
9281 * support/support_quote_blob.c: New file.
9282 * support/support_test_compare_blob.c: Likewise.
9283 * support/tst-support_quote_blob.c: Likewise.
9284 * support/tst-test_compare_blob.c: Likewise.
9285
9761bf4d
FW
92862018-05-16 Florian Weimer <fweimer@redhat.com>
9287
9288 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
9289 of <strtod_nan_double.h>.
9290 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
9291 instead of SET_MANTISSA.
9292 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
9293 of include <strtod_nan_float.h>.
9294 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
9295 instead of <strtod_nan_ldouble.h>.
9296 * stdlib/strtod_nan_double.h: Move to ...
9297 * sysdeps/generic/math-nan-payload-double.h: ... here.
9298 (FLOAT): Remove definition.
9299 (SET_MANTISSA): Rename to ...
9300 (SET_NAN_PAYLOAD): ... this.
9301 * stdlib/strtod_nan_float.h: Move to ...
9302 * sysdeps/generic/math-nan-payload-float.h: ... here.
9303 (FLOAT): Remove definition.
9304 (SET_MANTISSA): Rename to ...
9305 (SET_NAN_PAYLOAD): ... this.
9306 * sysdeps/generic/math-type-macros-double.h: Include
9307 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
9308 instead of <math-svid-compat.h>.
9309 * sysdeps/generic/math-type-macros-float.h: Include
9310 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
9311 instead of <math-svid-compat.h>.
9312 * sysdeps/generic/math-type-macros-float128.h: Include
9313 <math-nan-payload-float128.h>.
9314 * sysdeps/generic/math-type-macros-ldouble.h: Include
9315 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
9316 instead of <math-svid-compat.h>.
9317 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
9318 check for definition.
9319 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
9320 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
9321 Include <ieee754_float128.h>.
9322 (FLOAT): Remove definition.
9323 (SET_MANTISSA): Rename to ...
9324 (SET_NAN_PAYLOAD): ... this.
9325 * sysdeps/ieee754/float128/strtof128_nan.c: Include
9326 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
9327 Do not include <float128_private.h>.
9328 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
9329 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
9330 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
9331 (FLOAT): Remove definition.
9332 (SET_MANTISSA): Rename to ...
9333 (SET_NAN_PAYLOAD): ... this.
9334 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
9335 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
9336 (FLOAT): Remove definition.
9337 (SET_MANTISSA): Rename to ...
9338 (SET_NAN_PAYLOAD): ... this.
9339 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
9340 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
9341 (FLOAT): Remove definition.
9342 (SET_MANTISSA): Rename to ...
9343 (SET_NAN_PAYLOAD): ... this.
9344 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
9345 of "../stdlib/strtod_nan_double.h".
9346 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
9347 of "../stdlib/strtod_nan_float.h".
9348 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
9349 instead of "../stdlib/strtod_nan_ldouble.h".
9350 * manual/arith.texi (Parsing of Floats): Adjust comment.
9351
69a01461
JM
93522018-05-16 Joseph Myers <joseph@codesourcery.com>
9353
9354 * math/Makefile (libm-narrow-fns): Add mul.
9355 (libm-test-funcs-narrow): Likewise.
9356 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
9357 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
9358 * math/gen-auto-libm-tests.c (test_functions): Add mul.
9359 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
9360 (NARROW_MUL_ROUND_TO_ODD): Likewise.
9361 (NARROW_MUL_TRIVIAL): Likewise.
9362 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
9363 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
9364 macro.
9365 (__dmull): Likewise.
9366 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
9367 dmul.
9368 (CFLAGS-nldbl-dmul.c): New variable.
9369 (CFLAGS-nldbl-fmul.c): Likewise.
9370 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
9371 __nldbl_dmull.
9372 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
9373 prototype.
9374 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
9375 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
9376 * math/auto-libm-test-in: Add tests of mul.
9377 * math/auto-libm-test-out-narrow-mul: New generated file.
9378 * math/libm-test-narrow-mul.inc: New file.
9379 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
9380 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
9381 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
9382 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
9383 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
9384 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
9385 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
9386 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
9387 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
9388 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
9389 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
9390 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
9391 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
9392 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
9393 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
9394 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
9395 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
9396 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
9397 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9398 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
9399 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9400 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9401 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9402 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9403 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9404 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9405 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9406 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9407 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9408 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9409 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9410 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
9412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
9413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
9414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
9415 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
9416 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9417 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9418 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9419 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9420 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9421 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9422 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9423
a15529fd
L
94242018-05-14 H.J. Lu <hongjiu.lu@intel.com>
9425
9426 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
9427 with *%eax in call.
9428
98ee36c7
L
94292018-05-14 H.J. Lu <hongjiu.lu@intel.com>
9430
9431 * sysdeps/i386/ldsodefs.h: Removed.
9432 * sysdeps/x86_64/ldsodefs.h: Moved to ...
9433 * sysdeps/x86/ldsodefs.h: This.
9434 (La_i86_regs): New.
9435 (La_i86_retval): Likewise.
9436 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
9437 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
9438
e322ec32
L
94392018-05-14 H.J. Lu <hongjiu.lu@intel.com>
9440
9441 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
9442 unnecessary testl.
9443
0937e209
AM
94442018-05-13 Alan Modra <amodra@gmail.com>
9445
9446 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
9447 R_PARISC_TLS_DTPOFF32 reloc addend.
9448
5db7d705
TMQMF
94492018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
9450
9451 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
9452 * math/math.h: Restrict the prototype definition for the functions
9453 issignaling(_Float128) and iszero(_Float128); and template
9454 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
9455 __HAVE_FLOAT128_UNLIKE_LDBL.
9456 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
9457 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
9458 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
9459 __f128() constants; define the type _Float128 as long double;
9460 and reuse long double in __CFLOAT128.
9461
b4d5b8b0
JM
94622018-05-11 Joseph Myers <joseph@codesourcery.com>
9463
9464 * sysdeps/generic/math_private.h: Do not include
9465 <math-barriers.h>.
9466 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
9467 <math_private.h>.
9468 * math/fromfp.h: Include <math-barriers.h>.
9469 * math/math-narrow.h: Likewise.
9470 * math/s_nextafter.c: Likewise.
9471 * math/s_nexttowardf.c: Likewise.
9472 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
9473 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
9474 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
9475 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
9476 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
9477 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
9478 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
9479 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9480 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9481 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9482 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9483 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9484 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9485 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9486 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
9487 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
9488 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9489 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9490 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
9491 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9492 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9493 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
9494 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
9495 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9496 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9497 * sysdeps/ieee754/k_standardl.c: Likewise.
9498 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9499 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9500 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9501 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
9502 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9503 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9504 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9505 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9506 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9507 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
9508 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
9509 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9510 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9511 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9512 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9513 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9514 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
9515 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
9516 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9517 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9518 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
9519 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
9520
fc79706a
FW
95212018-05-11 Florian Weimer <fweimer@redhat.com>
9522
9523 Use 64-bit epoch values in the time zone file parser.
9524 * include/time.h (internal_time_t): Define.
9525 (__tzfile_compute): Use it.
9526 * time/tzfile.c (struct leap): Use internal_time_t for epoch
9527 member.
9528 (transitions): Switch to internal_time_t.
9529 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
9530 types.
9531 (__tzfile_compute): Use internal_time_t for timer argument. Check
9532 for truncation before calling __offtime.
9533
89aacb51
FW
95342018-05-11 Florian Weimer <fweimer@redhat.com>
9535
9536 [BZ #23166]
9537 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
9538 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
9539 Likewise.
9540 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
9541 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
9542 export without --enable-obsolete-rpc.
9543 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
9544 symbol. This should not have been exported, ever.
9545
bb066cb8
RL
95462018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
9547
9548 [BZ #23152]
9549 * localedata/locales/gd_GB (abmon): Fix typo in May:
9550 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
9551
70c97f84
SP
95522018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
9553
db725a45
SP
9554 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
9555 Use multiple registers to copy data in loop tail.
9556
70c97f84
SP
9557 * sysdeps/aarch64/multiarch/memmove_falkor.S
9558 (__memmove_falkor): Use multiple registers to move data in
9559 loop tail.
9560
8f5b00d3
JM
95612018-05-10 Joseph Myers <joseph@codesourcery.com>
9562
9563 * math/math-underflow.h: New file.
9564 * sysdeps/generic/math_private.h: Do not include <float.h>.
9565 (fabs_tg): Remove macro. Moved to math-underflow.h.
9566 (min_of_type_f): Likewise.
9567 (min_of_type_): Likewise.
9568 (min_of_type_l): Likewise.
9569 (min_of_type_f128): Likewise.
9570 (min_of_type): Likewise.
9571 (math_check_force_underflow): Likewise.
9572 (math_check_force_underflow_nonneg): Likewise.
9573 (math_check_force_underflow_complex): Likewise.
9574 * math/e_exp2_template.c: Include <math-underflow.h>.
9575 * math/k_casinh_template.c: Likewise.
9576 * math/s_catan_template.c: Likewise.
9577 * math/s_catanh_template.c: Likewise.
9578 * math/s_ccosh_template.c: Likewise.
9579 * math/s_cexp_template.c: Likewise.
9580 * math/s_clog10_template.c: Likewise.
9581 * math/s_clog_template.c: Likewise.
9582 * math/s_csin_template.c: Likewise.
9583 * math/s_csinh_template.c: Likewise.
9584 * math/s_csqrt_template.c: Likewise.
9585 * math/s_ctan_template.c: Likewise.
9586 * math/s_ctanh_template.c: Likewise.
9587 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9588 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9589 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9590 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9591 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9592 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9593 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9594 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9595 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9596 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9597 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9598 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9599 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9600 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9601 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9602 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9603 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9604 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9605 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9606 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9607 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
9608 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9609 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9610 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9611 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9612 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9613 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9614 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9615 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9616 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
9617 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
9618 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9619 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9620 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9621 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9622 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9623 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9624 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9625 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9626 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9627 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
9628 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
9629 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9630 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9631 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9632 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9633 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9634 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9635 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9636 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9637 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9638 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
9639 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9640 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
9641 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9642 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9643 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9644 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
9645 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
9646 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9647 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9648 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
9649 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9650 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
9651 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9652 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9653 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9654 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
9655 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9656 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9657 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9658 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9659 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
9660 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
9661 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9662 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9663 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9664 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9665 * sysdeps/x86/fpu/powl_helper.c: Likewise.
9666 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
9667 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
9668 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
9669 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
9670 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
9671
9ed2e15f
JM
96722018-05-09 Joseph Myers <joseph@codesourcery.com>
9673
9674 * sysdeps/generic/math-barriers.h: New file.
9675 * sysdeps/generic/math_private.h [!math_opt_barrier]
9676 (math_opt_barrier): Move to math-barriers.h.
9677 [!math_opt_barrier] (math_force_eval): Likewise.
9678 * sysdeps/aarch64/fpu/math-barriers.h: New file.
9679 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
9680 math-barriers.h.
9681 (math_force_eval): Likewise.
9682 * sysdeps/alpha/fpu/math-barriers.h: New file.
9683 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
9684 math-barriers.h.
9685 (math_force_eval): Likewise.
9686 * sysdeps/x86/fpu/math-barriers.h: New file.
9687 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
9688 math-barriers.h.
9689 (math_force_eval): Likewise.
9690 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
9691 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
9692 multiple-include guard for rename.
9693 * sysdeps/powerpc/fpu/math-barriers.h: New file.
9694 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
9695 math-barriers.h.
9696 (math_force_eval): Likewise.
9697
5460617d
PP
96982018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
9699
9700 [BZ #22786]
43d4f3d5 9701 CVE-2018-11236
5460617d
PP
9702 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
9703 computation.
9704 * stdlib/Makefile (test-bz22786): New test.
9705 * stdlib/test-bz22786.c: New test.
9706
aaee3cd8
JM
97072018-05-09 Joseph Myers <joseph@codesourcery.com>
9708
9709 * include/math-narrow-eval.h: New file. Contents moved from ....
9710 * sysdeps/generic/math_private.h: ... here.
9711 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
9712 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
9713 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
9714 * stdlib/strtod_l.c: Likewise.
9715 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
9716 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
9717 * sysdeps/i386/fpu/s_fdim.c: Likewise.
9718 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9719 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9720 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9721 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9722 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9723 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9724 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
9725 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9726 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
9727 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9728 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9729 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9730 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9731 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9732 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9733 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
9734 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9735 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9736 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9737 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9738 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9739 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
9740 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9741 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9742 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9743 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
9744
0555c477
AS
97452018-05-08 Andreas Schwab <schwab@suse.de>
9746
9747 * sysdeps/nptl/internaltypes.h: Fix comment.
9748
50d7d351
L
97492018-05-07 H.J. Lu <hongjiu.lu@intel.com>
9750
9751 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
9752 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
9753 hidden.
9754
543477f7
SP
97552018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
9756
9757 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
9758 of I into loop header.
9759 * benchtests/bench-memmove-walk.c
9760 (test_main): Likewise.
9761
97622018-05-07 Alexandre Oliva <oliva@gnu.org>
ffa81c22
AO
9763
9764 Revert:
9765 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
9766 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
9767
0065aaaa
PP
97682018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9769
9770 [BZ #20419]
9771 * elf/dl-load.c (open_verify): Fix stack overflow.
9772 * elf/Makefile (tst-big-note): New test.
9773 * elf/tst-big-note-lib.S: New.
9774 * elf/tst-big-note.c: New.
9775
b289cd9d
JM
97762018-05-04 Joseph Myers <joseph@codesourcery.com>
9777
9778 * scripts/abilist.awk: Ignore absolute symbols.
9779 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
9780 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
9781 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
9782 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
9783 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
9784 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
9785 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
9786 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
9787 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
9788 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
9789 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
9790 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
9791 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
9792 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
9793 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
9794 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
9795 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
9796 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
9797 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9798 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
9799 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
9800 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
9801 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
9802 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
9803 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
9804 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
9805 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
9806 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
9807 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9808 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
9809 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
9810 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9811 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
9812 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
9813 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
9814 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
9815 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
9816 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
9817 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
9818 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
9819 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
9820 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9821 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
9822 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
9823 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9824 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
9825 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
9826 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
9827 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
9828 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
9829 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
9830 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
9831 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
9832 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
9833 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9834 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
9835 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
9836 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9837 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
9838 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
9839 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
9840 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
9841 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
9842 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
9843 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
9844 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
9845 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
9846 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9847 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
9848 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
9849 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9850 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
9851 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
9852 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
9853 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
9854 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
9855 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
9856 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
9857 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
9858 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
9859 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9860 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
9861 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
9862 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9863 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
9864 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
9865 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
9866 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
9867 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
9868 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
9869 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
9870 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
9871 Likewise.
9872 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
9873 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9874 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
9875 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
9876 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9877 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
9878 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
9879 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
9880 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
9881 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
9882 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
9883 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
9884 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
9885 Likewise.
9886 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
9887 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9888 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
9889 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
9890 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9891 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
9892 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
9893 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
9894 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
9895 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
9896 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
9897 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
9898 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
9899 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
9900 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9901 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
9902 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
9903 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9904 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
9905 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
9906 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
9907 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
9908 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
9909 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
9910 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9911 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
9912 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
9913 Likewise.
9914 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
9915 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
9916 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
9917 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
9918 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9919 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
9920 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
9921 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
9922 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
9923 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
9924 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
9925 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
9926 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
9927 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
9928 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
9929 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
9930 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
9931 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
9932 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
9933 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
9934 Likewise.
9935 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
9936 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
9937 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
9938 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9939 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
9940 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
9941 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
9942 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
9943 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
9944 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
9945 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9946 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
9947 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
9948 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9949 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
9950 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
9951 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
9952 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
9953 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9954 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
9955 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
9956 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9957 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
9958 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
9959 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
9960 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
9961 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
9962 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
9963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
9964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
9965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
9966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
9967 Likewise.
9968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
9969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
9970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
9971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
9972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
9973 Likewise.
9974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
9975 Likewise.
9976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
9977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
9978 Likewise.
9979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
9980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9981 Likewise.
9982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9983 Likewise.
9984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
9985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
9986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
9987 Likewise.
9988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
9989 Likewise.
9990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
9991 Likewise.
9992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
9993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
9996 Likewise.
9997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
9998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
9999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
10000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
10001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
10002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
10003 Likewise.
10004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
10005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
10006 Likewise.
10007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
10008 Likewise.
10009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
10010 Likewise.
10011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
10012 Likewise.
10013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
10014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
10015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
10016 Likewise.
10017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
10018 Likewise.
10019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
10020 Likewise.
10021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
10022 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
10023 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
10024 Likewise.
10025 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
10026 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
10027 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
10028 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
10029 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
10030 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
10031 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
10032 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
10033 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
10034 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
10035 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
10036 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
10037 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
10038 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
10039 Likewise.
10040 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10041 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
10042 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
10043 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10044 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
10045 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
10046 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
10047 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
10048 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
10049 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
10050 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
10051 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
10052 Likewise.
10053 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10054 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
10055 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
10056 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10057 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
10058 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
10059 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
10060 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
10061 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
10062 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
10063 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
10064 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
10065 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
10066 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10067 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
10068 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
10069 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10070 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
10071 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
10072 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
10073 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
10074 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
10075 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
10076 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
10077 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
10078 Likewise.
10079 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
10080 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10081 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
10082 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
10083 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10084 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
10085 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
10086 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
10087 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
10088 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
10089 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
10090 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
10091 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
10092 Likewise.
10093 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
10094 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10095 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
10096 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
10097 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10098 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
10099 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
10100 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
10101 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
10102 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
10103 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
10104 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
10105 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
10106 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
10107 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10108 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
10109 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
10110 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10111 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
10112 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
10113 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
10114 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
10115 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
10116 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
10117 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
10118 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
10119 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
10120 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
10121 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10122 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
10123 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
10124 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10125 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
10126 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
10127 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
10128 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
10129 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
10130 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
10131
16609018
SL
101322018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
10133
10134 [BZ #23137]
10135 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
10136 Use atomic_load_acquire to load __tid.
10137
556f5c46
L
101382018-05-02 H.J. Lu <hongjiu.lu@intel.com>
10139
10140 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
10141 Restore the pointer into %rdx, after syscall and use %rdx,
10142 instead of %rsi, to restore context.
10143
8b8f32b2
L
101442018-05-02 H.J. Lu <hongjiu.lu@intel.com>
10145
10146 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
10147 Pop the pointer into %rdx after syscall and use %rdx, instead
10148 of %rsi, to restore context.
10149
d6cc1829
L
101502018-05-02 H.J. Lu <hongjiu.lu@intel.com>
10151
10152 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
10153 handlers after setjmp.
10154 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
10155 defined.
10156 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
10157 <libc-pointer-arith.h>.
10158 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
10159 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
10160 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
10161 _JUMP_BUF_SIGSET_BITS_PER_WORD.
10162 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
10163 * sysdeps/x86/__longjmp_cancel.S: New file.
10164 * sysdeps/x86/longjmp.c: Likewise.
10165 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
10166
cf2478d5
AZ
101672018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10168
10169 * NEWS: Add ustat.h deprecation entry.
10170 * bits/ustat.h: Remove file.
10171 * misc/sys/ustat.h: Likewise.
10172 * misc/ustat.h: Likewise.
10173 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
10174 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
10175 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
10176 compatibility mode.
10177 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
10178 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
10179 generic Linux implementation.
10180
dc115e1c
TMQMF
101812018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10182
10183 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
10184 * math/w_expl_compat.c: Likewise.
10185 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
10186
340d9652
RN
101872018-04-30 Raymond Nicholson <rain1@airmail.cc>
10188
10189 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
10190
c57bf7c1
AZ
101912018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10192
10193 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
10194 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
10195 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
10196 Remove.
10197 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
10198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
10199 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10200 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
10201 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
10202 and SYSCALL_LL64.
10203
06135c33
TMQMF
102042018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10205
33927914
TMQMF
10206 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
10207
06135c33
TMQMF
10208 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
10209 * math/w_asin_template.c: Likewise.
10210 * math/w_atanh_template.c: Likewise.
10211
3a33b069
GG
102122018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
10213
10214 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
10215 to powerpc/powerpc64/be for big-endian.
10216 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
10217 little-endian.
10218
10219 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
10220 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
10221 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
10222 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
10223 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
10224 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
10225 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
10226 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
10227 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
10228 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
10229 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
10230 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
10231 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
10232 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
10233 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
10234 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
10235 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
10236 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
10237 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
10238 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
10239 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
10240 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
10241 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
10242 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
10243 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
10244 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
10245 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
10246 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
10247 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
10248 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
10249 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
10250 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
10251
10252 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
10253 adjusted to imply powerpc64 and older processors on powerpc64/be.
10254 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
10255 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
10256 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
10257 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
10258 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
10259 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
10260 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
10261 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
10262 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
10263 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
10264 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
10265 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
10266 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
10267 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
10268 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
10269 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
10270 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
10271 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
10272 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
10273 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
10274 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
10275 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
10276 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
10277 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
10278 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
10279 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
10280 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
10281 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
10282 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
10283 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
10284 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
10285
10286 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
10287 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
10288 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
10289 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
10290
10291 * sysdeps/powerpc/powerpc64/be/Implies: New file.
10292 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
10293 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
10294 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
10295
10296 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
10297 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
10298 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
10299 * sysdeps/powerpc/powerpc64le/configure: Likewise.
10300 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
10301 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
10302 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
10303 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
10304 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
10305 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
10306 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
10307
10308 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
10309 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
10310 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
10311 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
10312 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
10313 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
10314 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
10315 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
10316 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
10317 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
10318 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
10319
10320 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
10321 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
10322 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
10323 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
10324 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
10325 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
10326 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
10327 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
10328 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
10329 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
10330 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
10331 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
10332
10333 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
10334 and adjusted to imply olders processors.
10335 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
10336 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
10337 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
10338 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
10339 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
10340 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
10341 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
10342 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
10343 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
10344 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
10345 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
10346
10347 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
10348 powerpc64/le.
10349 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
10350 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
10351
10352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
10353 powerpc64le.
10354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
10355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
10356
10357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
10358 powerpc64/be.
10359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
10360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
10361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
10362
10363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
10364 powerpc64 and adjusted.
10365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
10366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
10367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
10368 Likewise.
10369
a3fb6b6b
JM
103702018-04-27 Joseph Myers <joseph@codesourcery.com>
10371
10372 * sysdeps/tile: Remove.
10373 * sysdeps/unix/sysv/linux/tile: Likewise.
10374 * README (tilegx-*-linux-gnu): Remove from list of supported
10375 configurations.
10376 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
10377 contribution of support for generic Linux kernel syscall
10378 interface.
10379 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
10380 tilegx configurations.
10381 (Config.install_linux_headers): Do not handle tile.
10382 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
10383 in comment.
10384 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
10385 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
10386 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
10387 conditional undefine and redefine.
10388 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
10389 in comment.
10390 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
10391 conditional undefine and redefine.
10392
7a6f7478
AJ
103932018-04-26 Aurelien Jarno <aurelien@aurel32.net>
10394
10395 * signal/tst-sigaction.c: New file to test BZ #23069.
10396 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
10397
81b49e96
TMQMF
103982018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10399
10400 [BZ #22766]
10401 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
10402 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
10403 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
10404 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
10405
7d80f48e
AZ
104062018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10407
10408 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
10409 _DIRENT_MATCHES_DIRENT64 is not defined.
10410 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
10411 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
10412 is defined.
10413 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
10414 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
10415
42a2bf58
JM
104162018-04-25 Joseph Myers <joseph@codesourcery.com>
10417
10418 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
10419 version to GCC 8 branch.
10420
9320ca88
JM
104212018-04-24 Joseph Myers <joseph@codesourcery.com>
10422
5e14bb97
JM
10423 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
10424 (check_no_hidden): Use type of original function when declaring
10425 alias.
10426
9320ca88
JM
10427 * sysdeps/unix/sysv/linux/sys/ptrace.h
10428 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
10429 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
10430 (struct __ptrace_seccomp_metadata): New type.
10431 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
10432 (PTRACE_SECCOMP_GET_METADATA): Likewise.
10433 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
10434 (PTRACE_SECCOMP_GET_METADATA): Likewise.
10435 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
10436 (PTRACE_SECCOMP_GET_METADATA): Likewise.
10437 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
10438 (PTRACE_SECCOMP_GET_METADATA): Likewise.
10439 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
10440 (PTRACE_SECCOMP_GET_METADATA): Likewise.
10441 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
10442 (PTRACE_SECCOMP_GET_METADATA): Likewise.
10443 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
10444 (PTRACE_SECCOMP_GET_METADATA): Likewise.
10445 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
10446 (PTRACE_SECCOMP_GET_METADATA): Likewise.
10447
af7e376b
AZ
104482018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10449
10450 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
10451 defined.
10452 * dirent/versionsort.c (versionsort): Likewise.
10453 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
10454 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
10455 * dirent/versionsort64.c (versionsort64): Likewise.
10456 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
10457 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
10458 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
10459 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
10460 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
10461 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
10462 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
10463 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
10464 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
10465 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
10466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
10467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
10468 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
10469 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
10470
da5e0361
JM
104712018-04-23 Joseph Myers <joseph@codesourcery.com>
10472
10473 * elf/elf.h (NT_PPC_PKEY): New macro.
10474
ea76691a
DSN
104752018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
10476
10477 [BZ #23094]
10478 * localedata/locales/hr_HR: fix thousands_sep and
10479 mon_thousands_sep
10480
573963e3
JM
104812018-04-20 Joseph Myers <joseph@codesourcery.com>
10482
10483 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
10484 (XTABS): Define to TAB3.
10485
c0123b3b
AZ
104862018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10487
0900a849
AZ
10488 * sysdeps/hppa/fpu/libm-test-ulps: Update.
10489
c0123b3b
AZ
10490 * dirent/scandir-tail-common.c: New file.
10491 * dirent/scandir-tail.c: Use scandir-tail-common.c.
10492 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
10493 * dirent/scandir.c: Use scandir-tail-common.c.
10494 * dirent/scandirat.c: Likewise.
10495 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
10496 * dirent/scandir64.c (scandir64): Always build and alias to scandir
10497 if _DIRENT_MATCHES_DIRENT64 is defined.
10498 * dirent/scandirat64.c (scandirat64): Likewise.
10499 * include/dirent.h (__scandir_tail): Only define iff
10500 _DIRENT_MATCHES_DIRENT64 is not defined.
10501 (__scandir64_tail): Define regardless.
10502 (__scandirat, scandirat64): Remove libc_hidden_proto.
10503 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
10504 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
10505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
10506 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
10507 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
10508 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
10509 * sysdeps/unix/sysv/linux/scandir64.c: New file.
10510
458b94f6
JM
105112018-04-20 Joseph Myers <joseph@codesourcery.com>
10512
10513 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
10514 New macro.
10515 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
10516 Increase to 24.
10517 (_dl_aarch64_cap_flags): Add asimdfhm.
10518
9f0437e8
CLT
105192018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
10520
10521 * sysdeps/nios2/libm-test-ulps: Update.
10522
298d0e31
AZ
105232018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10524
50511ca4
AZ
10525 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
10526 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
10527
298d0e31
AZ
10528 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
10529 requirements.
10530 (_DIRENT_MATCHES_DIRENT64): Undef
10531 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
10532 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
10533 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
10534 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
10535 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
10536 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
10537 use getdents64 syscalls as base.
10538 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
10539 symbol if required.
10540 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
10541 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
10542 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
10543 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
10544 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
10545 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
10546 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
10547 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
10548 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10549 (__get_clockfreq_via_proc_openprom): Use __getdents64.
10550 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
10551
0085be14
SL
105522018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
10553
10554 * scripts/test_printers_common.py (init_test): Disable lock elision.
10555
da796524
SL
105562018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
10557
10558 * math/test-tgmath.c (count_double, count_float,
10559 count_ldouble, count_cdouble, count_cfloat,
10560 count_cldouble): Use volatile int.
10561
0dd25301
ST
105622018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
10563
10564 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
10565 (conformtest-xfail-conds): Add i386-gnu.
cbc256b1 10566 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
0dd25301
ST
10567 i386-gnu.
10568 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
10569 ipc_perm.cuid, ipc_perm.cgid): Likewise.
10570 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
10571 msqid_ds.msg_lrpid): Likewise.
10572 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
10573 Likewise.
10574 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
10575 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
9d9f8f03
ST
10576 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
10577 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
10578 unsigned int.
10579 (struct statvfs64): Likewise.
f55a4fde
ST
10580 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
10581 Likewise.
77b93390
ST
10582 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
10583 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
10584 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
10585 instead of wait_queue.
10586 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
10587 instead of vm_area_struct.
5cd2931a
ST
10588 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
10589 struct sched_param definition to it.
e60c3f2b
ST
10590 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
10591 * bits/types/struct_sched_param.h: New file.
10592 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
10593 <bits/types/struct_sched_param.h> instead of <sched.h>.
10594 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
5cd2931a
ST
10595 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
10596 generic version but include <bits/pthreadtypes.h> to make struct
10597 sigevent's sigev_notify_attributes field a pthread_attr_t*.
ed370924
ST
10598 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
10599 non-compliant.
a564872d
ST
10600 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
10601 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
10602 [__USE_XOPEN] (OFDEL): New macro.
10603 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
a279b8ed 10604 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
5dbfe13b
ST
10605 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
10606 prototypes.
10607 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
10608 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
81b032c8
ST
10609 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
10610 non-compliant.
10611 * sysdeps/i386/sys/ucontext.h: Likewise.
10612 * sysdeps/m68k/sys/ucontext.h: Likewise.
10613 * sysdeps/mips/sys/ucontext.h: Likewise.
10614 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
f00b62ec
ST
10615 * sysdeps/mach/hurd/i386/Makefile
10616 (test-xfail-POSIX/fcntl.h/conform): Add.
10617 (test-xfail-POSIX/signal.h/conform): Add.
10618 (test-xfail-POSIX/semaphore.h/conform): Add.
10619 (test-xfail-POSIX/regex.h/conform): Add.
10620 (test-xfail-POSIX/aio.h/conform): Add.
10621 (test-xfail-POSIX/mqueue.h/conform): Add.
10622 (test-xfail-POSIX/sys/types.h/conform): Add.
10623 (test-xfail-UNIX98/fcntl.h/conform): Add.
10624 (test-xfail-UNIX98/netdb.h/conform): Add.
10625 (test-xfail-UNIX98/signal.h/conform): Add.
10626 (test-xfail-UNIX98/semaphore.h/conform): Add.
10627 (test-xfail-UNIX98/regex.h/conform): Add.
10628 (test-xfail-UNIX98/aio.h/conform): Add.
10629 (test-xfail-UNIX98/ftw.h/conform): Add.
10630 (test-xfail-UNIX98/mqueue.h/conform): Add.
10631 (test-xfail-UNIX98/netinet/in.h/conform): Add.
10632 (test-xfail-UNIX98/sys/wait.h/conform): Add.
10633 (test-xfail-UNIX98/sys/sem.h/conform): Add.
10634 (test-xfail-UNIX98/sys/uio.h/conform): Add.
10635 (test-xfail-UNIX98/sys/socket.h/conform): Add.
10636 (test-xfail-UNIX98/sys/types.h/conform): Add.
10637 (test-xfail-UNIX98/stdlib.h/conform): Add.
10638 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
10639 (test-xfail-POSIX2008/fcntl.h/conform): Add.
10640 (test-xfail-POSIX2008/netdb.h/conform): Add.
10641 (test-xfail-POSIX2008/signal.h/conform): Add.
10642 (test-xfail-POSIX2008/semaphore.h/conform): Add.
10643 (test-xfail-POSIX2008/regex.h/conform): Add.
10644 (test-xfail-POSIX2008/aio.h/conform): Add.
10645 (test-xfail-POSIX2008/mqueue.h/conform): Add.
10646 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
10647 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
10648 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
10649 (test-xfail-POSIX2008/sys/types.h/conform): Add.
10650 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
10651 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
10652 (test-xfail-XOPEN2K/netdb.h/conform): Add.
10653 (test-xfail-XOPEN2K/signal.h/conform): Add.
10654 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
10655 (test-xfail-XOPEN2K/regex.h/conform): Add.
10656 (test-xfail-XOPEN2K/aio.h/conform): Add.
10657 (test-xfail-XOPEN2K/ftw.h/conform): Add.
10658 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
10659 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
10660 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
10661 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
10662 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
10663 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
10664 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
10665 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
10666 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
10667 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
10668 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
10669 (test-xfail-XOPEN2K8/signal.h/conform): Add.
10670 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
10671 (test-xfail-XOPEN2K8/regex.h/conform): Add.
10672 (test-xfail-XOPEN2K8/aio.h/conform): Add.
10673 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
10674 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
10675 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
10676 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
10677 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
10678 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
10679 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
10680 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
10681 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
10682 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
cbc256b1
ST
10683 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
10684 i386-gnu.
10685 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
10686 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
0dd25301 10687
d6397de3
JM
106882018-04-18 Joseph Myers <joseph@codesourcery.com>
10689
10690 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
10691 --enable-obsolete for powerpc-linux-gnuspe.
10692
8323a902
ST
106932018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
10694
3dc0814c 10695 * conform/data/sys/un.h-data: Allow sun_ prefix.
c5896a45 10696 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
d4379e02 10697 prototypes.
c5896a45
ST
10698 * sysdeps/mach/include/mach.h: Likewise.
10699 * sysdeps/mach/include/mach/mig_support.h: Likewise.
10700 * sysdeps/mach/include/mach_error.h: Likewise.
8323a902 10701
743b9c2a
AZ
107022018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10703
10704 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
10705 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
10706 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
10707 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
10708
326e74e7
AS
107092018-04-16 Andreas Schwab <schwab@suse.de>
10710
10711 [BZ #19527]
10712 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
10713
a14d8acd
PM
107142018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
10715
10716 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
10717 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
10718
a700e7cb
DD
107192018-04-12 DJ Delorie <dj@redhat.com>
10720
10721 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
10722 version to 4.16.
10723
d8abfab7
SL
107242018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
10725
10726 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
10727 (struct kernel_sigaction): Use the same definition on 31bit as is used
10728 on 64bit.
10729
583a27d5
FW
107302018-04-09 Florian Weimer <fweimer@redhat.com>
10731
10732 [BZ #23037]
10733 * resolv/res_send.c (send_dg): Use designated initializers instead
10734 of assignment to zero-initialize other fields of struct mmsghdr.
10735
243f59e5
AZ
107362018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10737
942de61a
AZ
10738 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
10739 __READDIR_ALIAS): Undefine after usage.
10740 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
10741 __READDIR_R_ALIAS): Likewise.
10742 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
10743 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
10744 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
10745 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
10746 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
10747 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
10748 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
10749 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10750 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
10751 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
10752 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
10753 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
10754 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
10755 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
10756 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
10757 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
10758 * sysdeps/unix/sysv/linux/readdir.c: New file.
10759 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
10760 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
10761 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
10762
243f59e5
AZ
10763 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
10764
690c3475
AS
107652018-04-06 Andreas Schwab <schwab@linux-m68k.org>
10766
10767 * manual/charset.texi (Converting a Character): Fix typo.
10768
b4a5d26d
AZ
107692018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10770
bbc2062a
AZ
10771 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10772
fa7c6199
AZ
10773 * sysdeps/arm/libm-test-ulps: Update.
10774
b4a5d26d
AZ
10775 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
10776 as base implementation.
10777 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
10778 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
10779 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
10780 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
10781 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
10782 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
10783 remove unrequired definitions and update comments.
10784 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
10785 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
10786 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
10787 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
10788 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
10789 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
10790 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
10791 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
10792 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
10793 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
10794 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
10795 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
10796 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
10797 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
10798 and RESET_SA_RESTORER hooks.
10799
db9e55ff
SL
108002018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
10801
10802 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10803
cf138b0c
FW
108042018-04-05 Florian Weimer <fweimer@redhat.com>
10805
10806 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
10807 integer overflow, memory leak on error, and indeterminate errno
10808 value. Add a null wide character to terminate the result string.
10809 * manual/charset.texi (Converting a Character): Mention embedded
10810 null bytes in the mbrtowc input string. Explain what happens in
10811 the -2 result case. Do not claim that mbrtowc is simple or
10812 obvious to use. Adjust the description of the code example. Use
10813 @code, not @var, for concrete variables.
10814
0f339252
FW
108152018-04-05 Florian Weimer <fweimer@redhat.com>
10816
10817 * manual/examples/mbstouwcs.c: New file.
10818 * manual/charset.texi (Converting a Character): Include it.
10819
e5f9508a
ST
108202018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
10821
c120981d
ST
10822 * include/dirent.h (dirfd): Add hidden proto.
10823 * dirent/dirfd.c (dirfd): Add hidden def.
10824 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
10825 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
e5f9508a 10826
b2fd61ca
TMQMF
108272018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
10828
10829 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
10830 sin, cos and sincos to 1 ULP.
10831
10a446dd
MR
108322018-04-04 Maciej W. Rozycki <macro@mips.com>
10833
e7feec37
MR
10834 [BZ #19818]
10835 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
10836 symbols.
10837 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
10838 * elf/tst-absolute-sym.c: New file.
10839 * elf/tst-absolute-sym-lib.c: New file.
10840 * elf/tst-absolute-sym-lib.lds: New file.
10841 * elf/Makefile (tests): Add `tst-absolute-sym'.
10842 (modules-names): Add `tst-absolute-sym-lib'.
10843 (LDLIBS-tst-absolute-sym-lib.so): New variable.
10844 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
10845 ($(objpfx)tst-absolute-sym): New dependency.
10846
10a446dd
MR
10847 [BZ #19818]
10848 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
10849 parameter.
10850 (SYMBOL_ADDRESS): New macro.
10851 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
10852 SYMBOL_ADDRESS for symbol address calculation.
10853 * elf/dl-runtime.c (_dl_fixup): Likewise.
10854 (_dl_profile_fixup): Likewise.
10855 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
10856 * elf/rtld.c (dl_main): Likewise.
10857 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
10858 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
10859 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
10860 (elf_machine_rela): Likewise.
10861 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
10862 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
10863 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
10864 (elf_machine_rela): Likewise.
10865 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
10866 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
10867 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
10868 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
10869 Likewise.
10870 (elf_machine_reloc): Likewise.
10871 (elf_machine_got_rel): Likewise.
10872 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
10873 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
10874 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
10875 Likewise.
10876 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10877 Likewise.
10878 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
10879 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
10880 Likewise.
10881 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
10882 Likewise.
10883 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10884 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
10885 Likewise.
10886 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
10887 Likewise.
10888 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
10889 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
10890
9185f86d
ZW
108912018-04-04 Zack Weinberg <zackw@panix.com>
10892
10893 * sysdeps/generic/internal-signals.h: Include signal.h,
10894 sigsetops.h, and stdbool.h.
10895 (__libc_signal_block_all): Actually block all signals.
10896 (__libc_signal_block_app): Likewise.
10897 (__libc_signal_restore_set): Actually restore the signal mask.
10898
b07367bc
FW
108992018-04-04 Florian Weimer <fweimer@redhat.com>
10900
10901 inet: Actually build and run tst-deadline.
10902 * inet/Makefile (tests-internal): Add tst-deadline and do not
10903 overwrite the variable.
10904 (tests-static-internal): Remove variable.
10905
f2652643
L
109062018-04-03 H.J. Lu <hongjiu.lu@intel.com>
10907
10908 [BZ #22947]
10909 * bits/uio-ext.h (RWF_APPEND): New.
10910 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
10911 * manual/llio.texi: Document RWF_APPEND.
10912 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
10913 (RWF_SUPPORTED): Add RWF_APPEND.
10914
d2dc5467
AZ
109152018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10916
10917 [BZ #22391]
10918 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
10919 check for internal nptl signals.
10920 * nptl/sigaction.c (__sigaction): Likewise.
10921 * signal/sigaddset.c (sigaddset): Likewise.
10922 * signal/sigdelset.c (sigdelset): Likewise.
10923 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
10924 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
10925 value.
10926 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
10927 to filter out internal nptl signals.
10928 * signal/tst-sigset.c (do_test): Check ech signal indidually and
10929 also check realtime signals using standard macros.
10930 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
10931 __is_internal_signal, __libc_signal_block_all,
10932 __libc_signal_block_app, __libc_signal_restore_set): New functions.
10933 * sysdeps/nptl/sigfillset.c: Remove file.
10934 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
10935 Change return to bool.
10936 (__clear_internal_signals): Remove SIGTIMER clean since it is
10937 equal to SIGCANEL on Linux.
10938 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
10939 signal set was constructed using standard functions.
10940
511ed56f
ST
109412018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
10942
92846492
ST
10943 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
10944 ifname is too long.
e8ef51b1
ST
10945 * hurd/hurdsig.c (interrupted_reply_port_location): Use
10946 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
ff297b70
ST
10947 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
10948 hidden def.
10949 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
d8440a21
ST
10950 * signal/sigaddset.c: Include <sigsetopts.h>.
10951 * signal/sigdelset.c: Likewise.
511ed56f 10952
e88ecbbf
WD
109532018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
10954
10955 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
10956 (__cos): Likewise.
10957 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
10958 logic as sin and cos.
10959
aef3e255
WD
109602018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
10961
10962 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
10963 inputs. Return correct sign.
10964 (do_sincos): Remove small input check before do_sin, let do_sin set
10965 the sign.
10966 (__sin): Likewise.
10967 (__cos): Likewise.
10968
72f6e9a3
WD
109692018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
10970
10971 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
10972 (do_cos_slow): Likewise.
10973 (do_sin_slow): Likewise.
10974 (reduce_and_compute): Likewise.
10975 (slow): Likewise.
10976 (slow1): Likewise.
10977 (slow2): Likewise.
10978 (sloww): Likewise.
10979 (sloww1): Likewise.
10980 (sloww2): Likewise.
10981 (bslow): Likewise.
10982 (bslow1): Likewise.
10983 (bslow2): Likewise.
10984 (cslow2): Likewise.
10985
64909583
WD
109862018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
10987
10988 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
10989 (do_cos): Remove corp parameter and calculations.
10990 (do_sin): Likewise.
10991 (do_sincos): Remove cor variable.
10992 (__sin): Use do_sincos for huge inputs.
10993 (__cos): Likewise.
10994 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
10995 (reduce_and_compute_sincos): Remove unused function.
10996
d9469deb
WD
109972018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
10998
10999 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
11000 reduce_sincos, improve accuracy to 136 bits.
11001 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
11002 (__sin): Use improved reduction and simplified do_sincos calculation.
11003 (__cos): Likewise.
11004 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
11005
7a5640f2
WD
110062018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
11007
11008 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
11009 (do_sincos_2): Likewise.
11010 (__sin): Remove middle range reduction case.
11011 (__cos): Likewise.
11012 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
11013 reduction case.
11014
19a8b9a3
WD
110152018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
11016
11017 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
11018 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
11019 inputs.
11020 (__cos): Likewise.
11021 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
11022
f72aa11d
JM
110232018-04-03 Joseph Myers <joseph@codesourcery.com>
11024
11025 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
19a8b9a3 11026 version to 4.16
f72aa11d 11027
8e4754ed
AZ
110282018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11029
11030 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
11031 Remove definitions.
11032 (opendir_oflags): Use O_DIRECTORY regardless.
11033 (__opendir, __opendirat): Remove need_isdir_precheck usage.
11034 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
11035
8e2666ea
ST
110362018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
11037
11038 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
11039 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
11040 macros.
11041 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
11042 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
11043 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
11044 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
deed72f6
ST
11045 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
11046 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
8e2666ea 11047
ad2b41bf
ST
11048 * htl/Makefile: Bump licence to LGPL 2.1+.
11049 * htl/alloca_cutoff.c: Likewise.
11050 * htl/cthreads-compat.c: Likewise.
11051 * htl/lockfile.c: Likewise.
11052 * htl/pt-alloc.c: Likewise.
11053 * htl/pt-cancel.c: Likewise.
11054 * htl/pt-cleanup.c: Likewise.
11055 * htl/pt-create.c: Likewise.
11056 * htl/pt-dealloc.c: Likewise.
11057 * htl/pt-detach.c: Likewise.
11058 * htl/pt-exit.c: Likewise.
11059 * htl/pt-getattr.c: Likewise.
11060 * htl/pt-initialize.c: Likewise.
11061 * htl/pt-internal.h: Likewise.
11062 * htl/pt-join.c: Likewise.
11063 * htl/pt-self.c: Likewise.
11064 * htl/pt-setcancelstate.c: Likewise.
11065 * htl/pt-setcanceltype.c: Likewise.
11066 * htl/pt-sigmask.c: Likewise.
11067 * htl/pt-spin-inlines.c: Likewise.
11068 * htl/pt-testcancel.c: Likewise.
11069 * htl/pt-yield.c: Likewise.
11070 * htl/tests/test-1.c: Likewise.
11071 * htl/tests/test-10.c: Likewise.
11072 * htl/tests/test-11.c: Likewise.
11073 * htl/tests/test-12.c: Likewise.
11074 * htl/tests/test-13.c: Likewise.
11075 * htl/tests/test-14.c: Likewise.
11076 * htl/tests/test-15.c: Likewise.
11077 * htl/tests/test-16.c: Likewise.
11078 * htl/tests/test-17.c: Likewise.
11079 * htl/tests/test-2.c: Likewise.
11080 * htl/tests/test-3.c: Likewise.
11081 * htl/tests/test-4.c: Likewise.
11082 * htl/tests/test-5.c: Likewise.
11083 * htl/tests/test-6.c: Likewise.
11084 * htl/tests/test-7.c: Likewise.
11085 * htl/tests/test-8.c: Likewise.
11086 * htl/tests/test-9.c: Likewise.
11087 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
11088 * sysdeps/htl/bits/cancelation.h: Likewise.
11089 * sysdeps/htl/bits/pthread-np.h: Likewise.
11090 * sysdeps/htl/bits/pthread.h: Likewise.
11091 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
11092 * sysdeps/htl/bits/semaphore.h: Likewise.
11093 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
11094 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
11095 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
11096 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
11097 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
11098 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
11099 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
11100 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
11101 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
11102 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
11103 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
11104 * sysdeps/htl/old_pt-atfork.c: Likewise.
11105 * sysdeps/htl/pt-atfork.c: Likewise.
11106 * sysdeps/htl/pt-attr-destroy.c: Likewise.
11107 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
11108 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
11109 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
11110 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
11111 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
11112 * sysdeps/htl/pt-attr-getscope.c: Likewise.
11113 * sysdeps/htl/pt-attr-getstack.c: Likewise.
11114 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
11115 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
11116 * sysdeps/htl/pt-attr-init.c: Likewise.
11117 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
11118 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
11119 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
11120 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
11121 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
11122 * sysdeps/htl/pt-attr-setscope.c: Likewise.
11123 * sysdeps/htl/pt-attr-setstack.c: Likewise.
11124 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
11125 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
11126 * sysdeps/htl/pt-attr.c: Likewise.
11127 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
11128 * sysdeps/htl/pt-barrier-init.c: Likewise.
11129 * sysdeps/htl/pt-barrier-wait.c: Likewise.
11130 * sysdeps/htl/pt-barrier.c: Likewise.
11131 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
11132 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
11133 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
11134 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
11135 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
11136 * sysdeps/htl/pt-cond-destroy.c: Likewise.
11137 * sysdeps/htl/pt-cond-init.c: Likewise.
11138 * sysdeps/htl/pt-cond-signal.c: Likewise.
11139 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
11140 * sysdeps/htl/pt-cond-wait.c: Likewise.
11141 * sysdeps/htl/pt-cond.c: Likewise.
11142 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
11143 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
11144 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
11145 * sysdeps/htl/pt-condattr-init.c: Likewise.
11146 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
11147 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
11148 * sysdeps/htl/pt-destroy-specific.c: Likewise.
11149 * sysdeps/htl/pt-equal.c: Likewise.
11150 * sysdeps/htl/pt-getconcurrency.c: Likewise.
11151 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
11152 * sysdeps/htl/pt-getschedparam.c: Likewise.
11153 * sysdeps/htl/pt-getspecific.c: Likewise.
11154 * sysdeps/htl/pt-init-specific.c: Likewise.
11155 * sysdeps/htl/pt-key-create.c: Likewise.
11156 * sysdeps/htl/pt-key-delete.c: Likewise.
11157 * sysdeps/htl/pt-key.h: Likewise.
11158 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
11159 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
11160 * sysdeps/htl/pt-mutex-init.c: Likewise.
11161 * sysdeps/htl/pt-mutex-lock.c: Likewise.
11162 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
11163 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
11164 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
11165 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
11166 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
11167 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
11168 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
11169 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
11170 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
11171 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
11172 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
11173 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
11174 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
11175 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
11176 * sysdeps/htl/pt-mutexattr.c: Likewise.
11177 * sysdeps/htl/pt-once.c: Likewise.
11178 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
11179 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
11180 * sysdeps/htl/pt-rwlock-init.c: Likewise.
11181 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
11182 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
11183 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
11184 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
11185 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
11186 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
11187 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
11188 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
11189 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
11190 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
11191 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
11192 * sysdeps/htl/pt-setconcurrency.c: Likewise.
11193 * sysdeps/htl/pt-setschedparam.c: Likewise.
11194 * sysdeps/htl/pt-setschedprio.c: Likewise.
11195 * sysdeps/htl/pt-setspecific.c: Likewise.
11196 * sysdeps/htl/pt-spin.c: Likewise.
11197 * sysdeps/htl/pt-startup.c: Likewise.
11198 * sysdeps/htl/pthread.h: Likewise.
11199 * sysdeps/htl/sem-close.c: Likewise.
11200 * sysdeps/htl/sem-destroy.c: Likewise.
11201 * sysdeps/htl/sem-getvalue.c: Likewise.
11202 * sysdeps/htl/sem-init.c: Likewise.
11203 * sysdeps/htl/sem-open.c: Likewise.
11204 * sysdeps/htl/sem-post.c: Likewise.
11205 * sysdeps/htl/sem-timedwait.c: Likewise.
11206 * sysdeps/htl/sem-trywait.c: Likewise.
11207 * sysdeps/htl/sem-unlink.c: Likewise.
11208 * sysdeps/htl/sem-wait.c: Likewise.
11209 * sysdeps/hurd/htl/pt-kill.c: Likewise.
11210 * sysdeps/i386/htl/pt-machdep.h: Likewise.
11211 * sysdeps/mach/htl/pt-block.c: Likewise.
11212 * sysdeps/mach/htl/pt-spin.c: Likewise.
11213 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
11214 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
11215 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
11216 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
11217 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
11218 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
11219 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
11220 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
11221 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
11222 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
11223 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
11224 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
11225 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
11226 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
11227 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
11228 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
11229 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
11230 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
11231 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
11232 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
11233 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
11234 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
11235 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
11236 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
11237 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
11238 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
11239 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
11240 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
11241 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
11242 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
11243 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
11244 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
11245 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
11246 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
11247 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
11248 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
11249 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
11250 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
11251 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
11252 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
11253 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
11254 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
11255 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
11256
fb03b04b
ST
11257 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
11258 * README: Remove the mention of out-of-tree patches needed for
11259 GNU/Hurd.
11260
fa9e1555
ST
11261 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
11262 (UTIME_NOW, UTIME_OMIT): Define macros.
11263
f6fb29d2
ST
11264 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
11265 instead of pthread_detach.
11266 (__cthread_fork): Call __pthread_create instead of pthread_create.
11267 (__cthread_keycreate): Call __pthread_key_create instead of
11268 pthread_key_create.
11269 (__cthread_getspecific): Call __pthread_getspecific instead of
11270 pthread_getspecific.
11271 (__cthread_setspecific): Call __pthread_setspecific instead of
11272 pthread_setspecific.
11273 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
11274 __pthread_mutex_unlock instead of pthread_mutex_lock and
11275 pthread_mutex_unlock.
11276 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
11277 ___pthread_get_cleanup_stack.
11278 (__pthread_get_cleanup_stack): New strong alias.
11279 * htl/pt-create.c: Include <pthreadP.h>.
11280 (entry_point): Call __pthread_exit instead of pthread_exit.
11281 (pthread_create): Rename to __pthread_create.
11282 (pthread_create): New strong alias.
11283 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
11284 (pthread_detach): New strong alias.
11285 (__pthread_detach): Call __pthread_cond_broadcast instead of
11286 pthread_cond_broadcast.
fe9748cc
ST
11287 * htl/pt-exit.c: Include <pthreadP.h>.
11288 (__pthread_exit): Call __pthread_setcancelstate and
11289 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
11290 __pthread_get_cleanup_stack.
f6fb29d2
ST
11291 * htl/pt-testcancel.c: Include <pthreadP.h>.
11292 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
11293 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
11294 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
11295 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
11296 pthread_attr_getstacksize.
11297 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
11298 Rename to __pthread_attr_getstackaddr.
11299 (pthread_attr_getstackaddr): New strong alias.
11300 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
11301 Rename to __pthread_attr_getstacksize.
11302 (pthread_attr_getstacksize): New strong alias.
11303 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
11304 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
11305 (pthread_attr_setstack): New strong alias.
11306 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
11307 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
11308 pthread_attr_getstacksize, pthread_attr_setstacksize and
11309 pthread_attr_setstackaddr.
11310 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
11311 Rename to __pthread_attr_setstackaddr.
11312 (pthread_attr_setstackaddr): New strong alias.
11313 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
11314 Rename to __pthread_attr_setstacksize.
11315 (pthread_attr_setstacksize): New strong alias.
11316 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
11317 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
11318 pthread_exit.
11319 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
11320 (__pthread_key_create): New hidden def.
11321 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
11322 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
11323 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
11324 __pthread_exit, __pthread_key_create, __pthread_getspecific,
11325 __pthread_setspecific, __pthread_setcancelstate,
11326 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
11327 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
11328 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
11329 declarations.
11330 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
11331 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
11332 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
11333 (pthread_attr_setstackaddr): New strong alias.
11334 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
11335 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
11336 (pthread_attr_setstacksize): New strong alias.
11337 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
11338 (call_exit): Call __pthread_exit instead of pthread_exit.
11339 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
11340 (_pthread_mutex_init): New hidden definition.
11341 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
11342 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
11343 instead of pthread_attr_init and pthread_attr_setstack.
11344
dba2bdbe
ST
11345 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
11346 __vm_deallocate instead of vm_allocate and vm_deallocate.
11347 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
11348 setenv.
11349 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
11350 of geteuid.
11351 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
11352 strdup.
11353 * hurd/siginfo.c: Include <libioP.h>.
11354 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
11355 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
11356 munmap.
dba2bdbe
ST
11357 * mach/devstream.c: Include <libioP.h>.
11358 (dealloc_ref): Call __mach_port_deallocate instead of
11359 mach_port_deallocate.
11360 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
11361 Call __mach_port_deallocate instead of mach_port_deallocate.
11362 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
11363 pathconf.
11364 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
11365 munmap.
11366 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
11367 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
11368 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
11369 of munmap.
11370 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
11371 of close.
11372 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
11373 instead of sysconf.
11374 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
11375 __clock_gettime instead of clock_gettime.
11376 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
11377 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
11378 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
11379 * sysdeps/unix/bsd/stty.c (stty): Likewise.
11380 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
11381 tcgetattr.
11382 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
11383 __clock_gettime and __nanosleep instead of clock_gettime and
11384 nanosleep.
7a8f45e3
ST
11385 * hurd/catch-signal.c (hurd_catch_signal): Rename to
11386 __hurd_catch_signal.
11387 (hurd_catch_signal): New strong alias.
11388 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
11389 __hurd_catch_signal instead of hurd_catch_signal.
11390 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
11391 * hurd/hurdexec.c (_hurd_init): Add hidden def.
11392 * hurd/hurdinit.c (_hurd_init): Add hidden def.
11393 * hurd/hurdsig.c: Include <mach/mig_support.h>.
11394 (_hurd_thread_sigstate): Add hidden def.
11395 (_hurd_internal_post_signal): Use __mutex_unlock instead of
11396 mutex_unlock.
11397 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
11398 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
11399 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
11400 __hurd_file_name_path_lookup.
11401 (hurd_file_name_path_lookup): New strong alias.
11402 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
11403 hurd_file_name_path_lookup.
11404 * mach/errstring.c (mach_error_type): Add hidden def.
11405 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
11406 * mach/mutex-init.c (__mutex_init): Add hidden def.
11407 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
11408 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
11409 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
11410 * sysdeps/mach/hurd/getcwd.c
11411 (_hurd_canonicalize_directory_name_internal): Rename to
11412 __hurd_canonicalize_directory_name_internal.
11413 (_hurd_canonicalize_directory_name_internal): New strong alias.
11414 (__canonicalize_directory_name_internal, __getcwd): Call
11415 __hurd_canonicalize_directory_name_internal instead of
11416 _hurd_canonicalize_directory_name_internal.
11417 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
11418 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
11419 hidden defs.
11420 * sysdeps/hurd/include/hurd.h: New file.
11421 * sysdeps/hurd/include/hurd/fd.h: New file.
11422 * sysdeps/hurd/include/hurd/signal.h: New file.
11423 * sysdeps/mach/include/lock-intern.h: New file.
11424 * sysdeps/mach/include/mach.h: New file.
11425 * sysdeps/mach/include/mach/mig_support.h: New file.
11426 * sysdeps/mach/include/mach_error.h: New file.
a758c293
ST
11427 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
11428 prototype.
11429 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
11430 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
11431 _HEADER_H_HIDDEN_DEF macro.
11432 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
11433 _hurd_fd_error_signal): Add hidden prototype.
11434 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
11435 hidden def.
82dbf555
ST
11436 * libio/iolibio.h (_IO_puts): New hidden prototype.
11437 * libio/ioputs.c (_IO_puts): New hidden def.
171488a2
ST
11438 * sysdeps/mach/hurd/localplt.data: New file.
11439
33574c17
ST
114402018-04-02 Agustina Arzille <avarzille@riseup.net>
11441 Amos Jeffries <squid3@treenet.co.nz>
11442 David Michael <fedora.dm0@gmail.com>
11443 Marco Gerards <marco@gnu.org>
11444 Marcus Brinkmann <marcus@gnu.org>
11445 Neal H. Walfield <neal@gnu.org>
11446 Pino Toscano <toscano.pino@tiscali.it>
11447 Richard Braun <rbraun@sceen.net>
11448 Roland McGrath <roland@gnu.org>
11449 Samuel Thibault <samuel.thibault@ens-lyon.org>
11450 Thomas DiModica <ricinwich@yahoo.com>
11451 Thomas Schwinge <tschwinge@gnu.org>
11452
11453 * htl: New directory.
11454 * sysdeps/htl: New directory.
11455 * sysdeps/hurd/htl: New directory.
11456 * sysdeps/i386/htl: New directory.
11457 * sysdeps/mach/htl: New directory.
11458 * sysdeps/mach/hurd/htl: New directory.
11459 * sysdeps/mach/hurd/i386/htl: New directory.
11460 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
11461 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
11462 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
11463
03e2aa50
ST
114642018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
11465
11466 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
11467 signals in thread created for runing timers.
11468
1aa52ced
FW
114692018-04-01 Florian Weimer <fweimer@redhat.com>
11470
11471 * support/support_format_addrinfo.c (support_format_addrinfo):
11472 Include unknown error number in formatted result.
11473
4d76d3e5
FW
114742018-03-29 Florian Weimer <fweimer@redhat.com>
11475
11476 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
11477 capture SIGBUS.
11478
d39c0a45
AZ
114792018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11480
11481 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
11482 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
11483 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
11484 (__ASSUME_CLONE_BACKWARDS): Define.
11485
cc8a1620
JH
114862018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
11487
57408435 11488 [BZ #23024]
cc8a1620
JH
11489 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
11490 early when linux sentinel value is set.
11491
8bfd94d0
ST
114922018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
11493
11494 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
11495
f178e59f
AS
114962018-03-27 Andreas Schwab <schwab@suse.de>
11497
11498 [BZ #23005]
11499 * resolv/res_send.c (__res_context_send): Return ENOMEM if
11500 allocation of private copy of nsaddr_list fails.
11501
5f45f96a
JM
115022018-03-26 Joseph Myers <joseph@codesourcery.com>
11503
11504 [BZ #16552]
11505 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
11506 * sysdeps/unix/sysv/linux/umount.c: ... here.
11507 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
11508 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
11509 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
11510 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
11511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
11512 * sysdeps/unix/sysv/linux/umount.S: Likewise.
11513 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
11514
3dfd23eb
AS
115152018-03-26 Andreas Schwab <schwab@suse.de>
11516
11517 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
11518 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
11519 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
11520 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
11521 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
11522 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
11523 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
11524 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
11525 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
11526 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
11527 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
11528 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
11529 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
11530 (R_RISCV_NUM): Define.
11531
fa97d2ab
ST
115322018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
11533
11534 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
11535 TLS declaration of errno.
37be82a0
ST
11536 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
11537 __libc_setup_tls.
11538 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
11539 (ARCH_SETUP_TLS): Likewise.
11540 * sysdeps/mach/hurd/libc-start.h: New file copied from
11541 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
978a6803
ST
11542 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
11543 instead of __libc_setup_tls.
37be82a0 11544 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
978a6803
ST
11545 __libc_setup_tls before initializing libpthread and running _hurd_init
11546 which starts the signal thread.
11547 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
11548 Declare function.
2d813d7b 11549 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
fa97d2ab 11550
b8114edd
L
115512018-03-24 H.J. Lu <hongjiu.lu@intel.com>
11552
11553 [BZ #22998]
11554 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
11555 after it is defined.
11556
cd66c0e5
AS
115572018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
11558 Max Horn <max@quendi.de>
11559
11560 [BZ #22644]
43d4f3d5 11561 CVE-2017-18269
cd66c0e5
AS
11562 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
11563 branch conditions.
11564 * string/test-memmove.c (do_test2): New testcase.
11565
a4406139
JM
115662018-03-22 Joseph Myers <joseph@codesourcery.com>
11567
11568 * sysdeps/generic/frame.h: Remove file.
11569 * sysdeps/arm/frame.h: Likewise.
11570 * sysdeps/hppa/frame.h: Likewise.
11571 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
11572 macro.
11573 (GET_FRAME): Likewise.
11574 (GET_STACK): Likewise.
11575 (CALL_SIGHANDLER): Likewise.
11576 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
11577 Likewise.
11578 (GET_FRAME): Likewise.
11579 (GET_STACK): Likewise.
11580 (CALL_SIGHANDLER): Likewise.
11581 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
11582 (SIGCONTEXT_EXTRA_ARGS): Likewise.
11583 (GET_FRAME): Likewise.
11584 (GET_STACK): Likewise.
11585 (CALL_SIGHANDLER): Likewise.
11586 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
11587 (SIGCONTEXT_EXTRA_ARGS): Likewise.
11588 (GET_FRAME): Likewise.
11589 (GET_STACK): Likewise.
11590 (ADVANCE_STACK_FRAME): Likewise.
11591 (CALL_SIGHANDLER): Likewise.
11592 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
11593 (SIGCONTEXT_EXTRA_ARGS): Likewise.
11594 (GET_FRAME): Likewise.
11595 (GET_STACK): Likewise.
11596 (CALL_SIGHANDLER): Likewise.
11597 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
11598 (SIGCONTEXT_EXTRA_ARGS): Likewise.
11599 (GET_FRAME): Likewise.
11600 (GET_STACK): Likewise.
11601 (CALL_SIGHANDLER): Likewise.
11602 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
11603 (SIGCONTEXT_EXTRA_ARGS): Likewise.
11604 (GET_FRAME): Likewise.
11605 (GET_STACK): Likewise.
11606 (CALL_SIGHANDLER): Likewise.
11607 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
11608 (SIGCONTEXT_EXTRA_ARGS): Likewise.
11609 (GET_FRAME): Likewise.
11610 (GET_STACK): Likewise.
11611 (CALL_SIGHANDLER): Likewise.
11612 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
11613 (SIGCONTEXT_EXTRA_ARGS): Likewise.
11614 (GET_FRAME): Likewise.
11615 (GET_STACK): Likewise.
11616 (CALL_SIGHANDLER): Likewise.
11617 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
11618 (SIGCONTEXT_EXTRA_ARGS): Likewise.
11619 (GET_FRAME): Likewise.
11620 (GET_STACK): Likewise.
11621 (CALL_SIGHANDLER): Likewise.
11622 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
11623 (SIGCONTEXT_EXTRA_ARGS): Likewise.
11624 (GET_FRAME): Likewise.
11625 (GET_STACK): Likewise.
11626 (CALL_SIGHANDLER): Likewise.
11627 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
11628 (SIGCONTEXT_EXTRA_ARGS): Likewise.
11629 (GET_FRAME): Likewise.
11630 (GET_STACK): Likewise.
11631 (CALL_SIGHANDLER): Likewise.
11632 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
11633 (SIGCONTEXT_EXTRA_ARGS): Likewise.
11634 (GET_FRAME): Likewise.
11635 (GET_STACK): Likewise.
11636 (CALL_SIGHANDLER): Likewise.
11637 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
11638 (SIGCONTEXT_EXTRA_ARGS): Likewise.
11639 (FIRST_FRAME_POINTER): Likewise.
11640 (ADVANCE_STACK_FRAME): Likewise.
11641 (GET_STACK): Likewise.
11642 (GET_FRAME): Likewise.
11643 (CALL_SIGHANDLER): Likewise.
11644 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
11645 (SIGCONTEXT_EXTRA_ARGS): Likewise.
11646 (ADVANCE_STACK_FRAME): Likewise.
11647 (GET_STACK): Likewise.
11648 (GET_FRAME): Likewise.
11649 (CALL_SIGHANDLER): Likewise.
11650 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
11651 (SIGCONTEXT_EXTRA_ARGS): Likewise.
11652 (GET_FRAME): Likewise.
11653 (GET_STACK): Likewise.
11654 (CALL_SIGHANDLER): Likewise.
11655 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
11656 (SIGCONTEXT_EXTRA_ARGS): Likewise.
11657 (GET_FRAME): Likewise.
11658 (GET_STACK): Likewise.
11659 (CALL_SIGHANDLER): Likewise.
11660
ffec7b27
JM
116612018-03-21 Joseph Myers <joseph@codesourcery.com>
11662
11663 * sysdeps/x86_64/backtrace.c: Move to ....
11664 * debug/backtrace.c: ... here.
11665 * sysdeps/aarch64/backtrace.c: Remove file.
11666 * sysdeps/alpha/backtrace.c: Likewise.
11667 * sysdeps/hppa/backtrace.c: Likewise.
11668 * sysdeps/ia64/backtrace.c: Likewise.
11669 * sysdeps/mips/backtrace.c: Likewise.
11670 * sysdeps/nios2/backtrace.c: Likewise.
11671 * sysdeps/riscv/backtrace.c: Likewise.
11672 * sysdeps/sh/backtrace.c: Likewise.
11673 * sysdeps/tile/backtrace.c: Likewise.
11674
8a07b0c4
JM
116752018-03-20 Joseph Myers <joseph@codesourcery.com>
11676
d0c5d731
JM
11677 [BZ #22987]
11678 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
11679 function.
11680 (fdimf): Likewise.
11681 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
11682
8a07b0c4
JM
11683 [BZ #17343]
11684 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
11685 possibly overflowing computations.
11686
ceb54b9b
ST
116872018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
11688
11689 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
11690 values from Linux-specific section now that it is in the GNU section.
11691 * sysdeps/gnu/errlist.c: Regenerate.
11692
8d3f9e85
JM
116932018-03-20 Joseph Myers <joseph@codesourcery.com>
11694
11695 * math/Makefile (libm-narrow-fns): Add sub.
11696 (libm-test-funcs-narrow): Likewise.
11697 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
11698 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
11699 * math/gen-auto-libm-tests.c (test_functions): Add sub.
11700 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
11701 (NARROW_SUB_ROUND_TO_ODD): Likewise.
11702 (NARROW_SUB_TRIVIAL): Likewise.
11703 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
11704 macro.
11705 (__dsubl): Likewise.
11706 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
11707 dsub.
11708 (CFLAGS-nldbl-dsub.c): New variable.
11709 (CFLAGS-nldbl-fsub.c): Likewise.
11710 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
11711 __nldbl_dsubl.
11712 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
11713 prototype.
11714 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
11715 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
11716 * math/auto-libm-test-in: Add tests of sub.
11717 * math/auto-libm-test-out-narrow-sub: New generated file.
11718 * math/libm-test-narrow-sub.inc: New file.
11719 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
11720 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
11721 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
11722 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
11723 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
11724 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
11725 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
11726 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
11727 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
11728 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
11729 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
11730 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
11731 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
11732 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
11733 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
11734 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
11735 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
11736 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
11737 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11738 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
11739 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11740 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11741 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11742 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11743 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11744 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11745 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11746 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11747 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11748 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11749 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11750 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
11752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
11753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
11754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
11755 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
11756 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11757 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11758 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11759 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11760 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11761 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
11762 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
11763 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11764 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11765
d473f015
JM
117662018-03-19 Joseph Myers <joseph@codesourcery.com>
11767
11768 [BZ #20079]
11769 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
11770
fbce6f72
WD
117712018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
11772
11773 * benchtests/bench-timing.h (attribute_hidden): Undefine.
11774
72e7ffc3
RB
117752018-03-18 Richard Braun <rbraun@sceen.net>
11776
11777 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
11778 thread reference.
11779
542c20a1
AA
117802018-03-18 Agustina Arzille <avarzille@riseup.net>
11781
11782 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
11783 (__libc_cleanup_fct): Define function.
11784 (__libc_cleanup_region_start, __libc_cleanup_region_end,
11785 __libc_cleanup_end): Rewrite implementation using
11786 __attribute__ ((__cleanup__)).
11787 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
fb4cc8a0
AA
11788 * hurd/Makefile (routines): Add hurdlock.
11789 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
11790 interface.
11791 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
11792 * hurd/hurdpid.c: Include <lowlevellock.h>
11793 (_S_msg_proc_newids): Use lll_wait to synchronize.
11794 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
11795 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
11796 * mach/Makefile (lock-headers): Remove machine-lock.h.
11797 * mach/lock-intern.h: Include <lowlevellock.h> instead of
11798 <machine-lock.h>.
11799 (__spin_lock_t): New type.
11800 (__SPIN_LOCK_INITIALIZER): New macro.
11801 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
11802 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
11803 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
11804 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
11805 (__mutex_init): Initialize with lll.
11806 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
11807 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
11808 needing lll.
11809 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
11810 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
11811 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
11812 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
11813 (__setpgid): Use lll for synchronization.
11814 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
11815 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
11816 instead of <cthreads.h>.
11817 (_IO_lock_inexpensive): New macro
11818 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
11819 (__libc_lock_self0): New declaration.
11820 (__libc_lock_owner_self): New macro.
11821 (__libc_key_t): Remove type.
11822 (_LIBC_LOCK_INITIALIZER): New macro.
11823 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
11824 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
11825 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
11826 __libc_lock_define_initialized_recursive,
11827 __rtld_lock_define_initialized_recursive,
11828 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
11829 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
11830 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
11831 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
11832 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
11833 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
11834 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
11835 New macros.
11836 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
11837 * hurd/hurdlock.c: New file.
11838 * hurd/hurdlock.h: New file.
11839 * mach/lowlevellock.h: New file
542c20a1 11840
9a37922e
ST
118412018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
11842
11843 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
489999cc
ST
11844 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
11845 when opening a symlink with O_NOFOLLOW.
72103e73
ST
11846 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
11847 path when flags contains O_NOFOLLOW.
11848 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
11849 if flags contains O_DIRECTORY and the result is a directory.
aa218929
ST
11850 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
11851 oneself when the pointer given in D is nul (as set by ext2fs).
20bc801b
ST
11852 * sysdeps/mach/hurd/mlockall.c: New file.
11853 * sysdeps/mach/hurd/munlockall.c: New file.
9a37922e 11854
34e6a869
ST
118552018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
11856
11857 * hurd/hurdsig.c: Include <pthread.h>.
11858 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
11859 get the signal thread stack layout.
dc33bef3
ST
11860 * hurd/Makefile (headers): Remove threadvar.h.
11861 (inline-headers): Remove threadvar.h.
11862 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
11863 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
11864 __hurd_threadvar_max, __hurd_errno_location.
11865 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
11866 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
11867 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
11868 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
11869 unless TLS is not initialized yet, in which case we do not need a
11870 critical section yet anyway.
11871 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
11872 <machine-sp.h>.
11873 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
11874 declarations.
11875 (__hurd_threadvar_index): Remove enum.
11876 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
11877 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
11878 inlines.
11879 (__hurd_reply_port0): New variable declaration.
11880 (__hurd_local_reply_port): New macro.
11881 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
11882 (interrupted_reply_port_location): Add thread_t parameter. Use it
11883 with THREAD_TCB to access thread-local variables.
11884 (_hurdsig_abort_rpcs): Pass ss->thread to
11885 interrupted_reply_port_location.
11886 (_hurd_internal_post_signal): Likewise.
11887 (_hurdsig_init): Use presence of cthread_fork instead of
11888 __hurd_threadvar_stack_mask to start signal thread by hand.
11889 Remove signal thread threadvar initialization.
11890 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
11891 * hurd/sigunwind.c: Include <hurd/threadvar.h>
11892 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
11893 of threadvar.
11894 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
11895 __libc_lock_self0.
11896 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
11897 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
11898 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
11899 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
11900 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
11901 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
11902 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
11903 define variables.
11904 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
11905 <hurd/threadvar.h>.
11906 [IS_IN(rtld)] (rtld_errno): New variable.
11907 [IS_IN(rtld)] (__errno_location): New weak function.
11908 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
11909 * sysdeps/mach/hurd/errno.c: Remove file.
11910 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
11911 (__fork): Remove THREADVAR_SPACE macro and its use.
11912 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
11913 variable.
11914 (init): Do not initialize threadvar.
11915 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
11916 symbol.
11917 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
11918 __hurd_local_reply_port instead of threadvar.
11919 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
11920 _hurd_sigstate fields.
11921 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
11922 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
11923 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
11924 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
11925 instead of threadvar.
11926 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
11927 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
11928 (use_threadvar, global_reply_port): Remove variables.
11929 (__hurd_reply_port0): New variable.
11930 (__mig_get_reply_port): Use __hurd_local_reply_port and
11931 __hurd_reply_port0 instead of threadvar.
11932 (__mig_dealloc_reply_port): Likewise.
11933 (__mig_init): Do not initialize threadvar.
11934 * sysdeps/mach/hurd/profil.c: Fix comment.
c2fb08c7
ST
11935 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
11936 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
11937 cthread_keycreate, cthread_getspecific, cthread_setspecific to
11938 __cthread_fork, __cthread_detach, __pthread_getattr_np,
11939 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
11940 __cthread_setspecific.
11941 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
11942 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
11943 __cthread_t instead of cthread_fork, cthread_detach,
11944 pthread_getattr_np, pthread_attr_getstack.
11945 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
11946 __cthread_keycreate.
11947 (cthread_getspecific): Rename to __cthread_getspecific.
11948 (cthread_setspecific): Rename to __cthread_setspecific.
11949 (__libc_getspecific): Use __cthread_getspecific instead of
11950 cthread_getspecific.
11951 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
11952 __cthread_keycreate instead of cthread_keycreate.
11953 (__libc_setspecific): Use __cthread_setspecific instead of
11954 cthread_setspecific.
11955 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
11956 Likewise.
dd28d4ba
ST
11957 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
11958 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
11959 testing whether it is defined.
34e6a869 11960
f8baf2a2
ST
119612018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
11962
11963 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
11964 Define macro.
11965 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
11966 * sysdeps/mach/i386/thread_state.h
11967 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
11968 i386_THREAD_STATE.
11969 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
11970 i386_THREAD_STATE.
11971 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
11972
11973 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
11974 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
11975
11976 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
11977 macros.
11978 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
11979 descriptor instead of creating a new one.
11980 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
11981
11982 * mach/setup-thread.c: Include <ldsodefs.h>.
11983 (__mach_setup_thread): Call _dl_allocate_tls, pass
11984 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
11985 MACHINE_THREAD_STATE_FLAVOR, before getting
11986 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
11987 MACHINE_THREAD_STATE_FLAVOR with the result.
11988 * hurd/hurdfault.c (_hurdsig_fault_init): Call
11989 MACHINE_THREAD_STATE_FIX_NEW.
11990 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
11991 too. Add original thread parameter.
11992
34ba96b8
JM
119932018-03-16 Joseph Myers <joseph@codesourcery.com>
11994
5d75b75f
JM
11995 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
11996 Remove inline function.
11997
34ba96b8
JM
11998 * sysdeps/i386/fpu/libm-test-ulps: Update.
11999 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
12000
22679b2c
WD
120012018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
12002
12003 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
12004 commit.
12005
c429a8d8
JM
120062018-03-15 Joseph Myers <joseph@codesourcery.com>
12007
12008 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
12009 (__sincos_code): Remove define and undefine.
12010 [__FAST_MATH__] (__sincos): Remove inline function.
12011 [__FAST_MATH__] (__sincosf): Remove inline function.
12012 [__FAST_MATH__] (__sincosl): Remove inline function.
12013 (__atan2l): Remove inline functions.
12014 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
12015 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
12016 function.
12017 (floor): Remove inline function.
12018 (ceil): Likewise.
12019 [__FAST_MATH__] (__ldexp_code): Remove macro.
12020 [__FAST_MATH__] (ldexp): Remove inline function.
12021 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
12022 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
12023 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
12024 [__USE_ISOC99] (__lrint_code): Remove macro.
12025 [__USE_ISOC99] (__llrint_code): Likewise.
12026 [__USE_ISOC99] (lrintf): Remove inline function.
12027 [__USE_ISOC99] (lrint): Likewise.
12028 [__USE_ISOC99] (lrintl): Likewise.
12029 [__USE_ISOC99] (llrint): Likewise.
12030 [__USE_ISOC99] (llrintf): Likewise.
12031 [__USE_ISOC99] (llrintl): Likewise.
12032
700593fd
WD
120332018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
12034
12035 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
12036 (__ieee754_sqrtf): Remove.
12037 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
12038 (__ieee754_sqrtf): Remove.
12039 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
12040 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
12041 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
12042 (__ieee754_sqrtf): Remove.
12043 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
12044 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
12045 (sqrtf): Remove.
12046 (sqrtl): Remove.
12047 (__ieee754_sqrt): Remove.
12048 (__ieee754_sqrtf): Remove.
12049 (__ieee754_sqrtl): Remove.
12050 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
12051 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
12052 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
12053 (__ieee754_sqrtf): Remove.
12054 (__ieee754_sqrtl): Remove.
12055
f67a8147
WD
120562018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
12057
12058 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
12059 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
12060 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
12061 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
12062 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
12063 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
12064 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
12065 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
12066 Likewise.
12067 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
12068 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
12069 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
12070 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
12071 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
12072 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
12073 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
12074 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
12075 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
12076 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
12077 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
12078 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
12079 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
12080 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
12081 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
12082 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
12083 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
12084 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
12085 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
12086 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
12087 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
12088 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
12089 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
12090 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
12091 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
12092 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
12093 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
12094 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
12095 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
12096 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
12097 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
12098 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
12099 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
12100 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
12101 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
12102 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
12103 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
12104 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
12105 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
12106 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
12107
1294b189
WD
121082018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
12109
12110 * include/math.h (sqrt): Declare with asm redirect.
12111 (sqrtf): Likewise.
12112 (sqrtl): Likewise.
12113 (sqrtf128): Likewise.
12114 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
12115 nonlib and libnldbl with -fmath-errno.
12116 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
12117 * math/w_sqrt_template.c: Likewise.
12118 * math/w_sqrtf_compat.c: Likewise.
12119 * math/w_sqrtl_compat.c: Likewise.
12120 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
12121 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
12122 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
12123 complex.h.
12124
f1c8185d
WD
121252018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
12126
12127 * benchtests/Makefile: Define _ISOMAC.
12128 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
12129 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
12130 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
12131 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
12132 * benchtests/bench-timing.h: Define attribute_hidden.
12133
b47c3e76
SP
121342018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
12135
12136 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
12137 mov + lsr.
12138
807fee29
RL
121392018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
12140
12141 [BZ #22963]
12142 * localedata/locales/cs_CZ (mon): Rename to...
12143 (alt_mon): This.
12144 (mon): Import from CLDR (genitive case).
12145
e7155a28
RL
121462018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
12147
12148 [BZ #22937]
12149 * localedata/locales/el_CY (abmon): Rename to...
12150 (ab_alt_mon): This.
12151 (abmon): Import from CLDR (abbreviated genitive case).
12152 * localedata/locales/el_GR (abmon): Rename to...
12153 (ab_alt_mon): This.
12154 (abmon): Import from CLDR (abbreviated genitive case).
12155
71d7b121
RL
121562018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
12157
12158 [BZ #22932]
12159 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
12160
a00bffe8
RB
121612018-03-15 Robert Buj <robert.buj@gmail.com>
12162
12163 [BZ #22848]
12164 * localedata/locales/ca_ES (abmon): Rename to...
12165 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
12166 (mon): Rename to...
12167 (alt_mon): This.
12168 (abmon): Import from CLDR (genitive case, month names preceded by
12169 "de" or "d’").
12170 (mon): Likewise.
12171 (abday): Synchronize with CLDR.
12172 (d_t_fmt): Likewise.
12173 (d_fmt): Likewise.
12174 (am_pm): Likewise.
12175
12176 (LC_TIME): Improve indentation.
12177 (LC_TELEPHONE): Likewise.
12178 (LC_NAME): Likewise.
12179 (LC_ADDRESS): Likewise.
12180
f9555d73
JM
121812018-03-14 Joseph Myers <joseph@codesourcery.com>
12182
12183 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
12184 (lrintf): Remove definitions used only with old GCC.
12185 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
12186 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
12187 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
12188 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
12189 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
12190 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
12191 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
12192 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
12193 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
12194 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
12195 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
12196 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
12197 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
12198 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
12199 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
12200 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
12201 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
12202 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
12203 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
12204 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
12205 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
12206 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
12207 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
12208 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
12209 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
12210 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
12211 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
12212 [__FAST_MATH__] (__M_SQRT2): Remove macro.
12213
d46f84de
SP
122142018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
12215
12216 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
12217 instruction to unbreak builds with binutils 2.26 and older.
12218
7108f1f9
SP
122192018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
12220
12221 * sysdeps/aarch64/strncmp.S (count): New macro.
12222 (strncmp): Store misaligned length in SRC1 in COUNT.
12223 (mutual_align): Adjust.
12224 (misaligned8): Load dword at a time when it is safe.
12225
2cc7bad0
ZW
122262018-03-12 Zack Weinberg <zackw@panix.com>
12227
12228 [BZ #1190]
12229 [BZ #19476]
12230 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
12231 if the _IO_EOF_SEEN bit is already set; update commentary.
12232 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
12233 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
12234
12235 * support/support_openpty.c, support/tty.h: New files.
12236 * support/Makefile (libsupport-routines): Add support_openpty.
12237
12238 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
12239 New test cases.
12240 * libio/Makefile (tests): Add tst-fgetc-after-eof.
12241 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
12242
778f1974
DL
122432018-03-12 Dmitry V. Levin <ldv@altlinux.org>
12244
12245 * po/pt_BR.po: Update translations.
12246
da6d4404
DM
122472018-03-12 David Michael <fedora.dm0@gmail.com>
12248
12249 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
12250 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
12251 get a port to the startup server.
12252
d3da750d
ZW
122532018-03-11 Zack Weinberg <zackw@panix.com>
12254
12255 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
12256 before nldbl-compat.h.
12257
054b72cc
ZW
122582018-03-10 Zack Weinberg <zackw@panix.com>
12259
0d13dfa1
ZW
12260 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
12261 math.h or math_private.h.
12262
12263 * sysdeps/alpha/fpu/s_isnan.c
12264 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
12265 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
12266 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
12267 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
12268 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
12269 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
12270 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
12271 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
12272 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
12273 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
12274 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
12275 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
12276 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
12277 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
12278 Include math_private.h.
12279
12280 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
12281 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
12282 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
12283 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
12284 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
12285 * sysdeps/powerpc/power7/fpu/s_logb.c:
12286 Include math.h and math_private.h.
12287
054b72cc
ZW
12288 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
12289 uses of $at in .set noat / .set at.
12290
6253bacd
L
122912018-03-10 H.J. Lu <hongjiu.lu@intel.com>
12292
12293 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
12294 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
12295 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
12296 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
12297 Likewise.
12298
229855e5
FW
122992018-03-09 Florian Weimer <fweimer@redhat.com>
12300
12301 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
12302 in comment.
12303
9aa5c222
AJ
123042018-03-09 Aurelien Jarno <aurelien@aurel32.net>
12305
12306 [BZ #22919]
12307 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
12308 Add nop before __startcontext, add explaining comments.
12309
3dc21497
AZ
123102018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12311
e921c89e
AZ
12312 [BZ #22926]
12313 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
12314 empty for __SPE__.
12315 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
12316 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
12317 Do not build hardware transactional code for __SPE__.
12318 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
12319 (__lll_trylock_elision): Likewise.
12320 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
12321 (__lll_unlock_elision): Likewise.
12322
d9f26dab 12323 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
3dc21497
AZ
12324 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
12325 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
12326 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
12327 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
12328 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
12329 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
12330 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
12331 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
12332 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
12333 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
12334 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
12335 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
12336 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
12337 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
12338 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
12339 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
12340 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
12341 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
12342 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
12343 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
12344 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12345 (__ASSUME_CLONE_BACKWARDS): Define.
12346 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
12347 __clone2 if __NR_clone2 is defined.
12348 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12349 (__ASSUME_CLONE_BACKWARDS): Likewise.
12350 * sysdeps/unix/sysv/linux/i386/kernel-features.h
12351 (__ASSUME_CLONE_BACKWARDS): Likewise.
12352 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12353 (__ASSUME_CLONE2): Likewise.
12354 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12355 (__ASSUME_CLONE_BACKWARDS3): Likewise.
12356 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
12357 variants and the define architecture can use.
12358 (__ASSUME_CLONE_DEFAULT): Define as default.
12359 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12360 (__ASSUME_CLONE_BACKWARDS): Likewise.
12361 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12362 (__ASSUME_CLONE_BACKWARDS): Likewise.
12363 * sysdeps/unix/sysv/linux/s390/kernel-features.h
12364 (__ASSUME_CLONE_BACKWARDS2): Likewise.
12365
adc95fb0
SP
123662018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
12367
4e54d918
SP
12368 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
12369
30a81dae
SP
12370 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
12371 time.
12372
adc95fb0
SP
12373 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
12374 (do_test_limit): Likewise.
12375
12376 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
12377 for every implementation.
12378 (do_test): Likewise.
12379
12380 * benchtests/bench-strncmp.c: Convert output to json.
12381
4e9066bc
ST
123822018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
12383
12384 * io/futimens.c: Add missing start-of-file descriptive comment.
12385 * io/utime.c: Likewise.
12386 * misc/futimesat.c: Likewise.
12387 * misc/utimes.c: Likewise.
12388 * sysdeps/mach/hurd/futimesat.c: Likewise.
12389 * sysdeps/mach/hurd/utimes.c: Likewise.
12390 * sysdeps/posix/utime.c: Likewise.
12391 * sysdeps/posix/utimes.c: Likewise.
12392 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
12393 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
12394 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
12395 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
12396
ec1300cf
ST
123972018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
12398
12399 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
12400 hurd_futimes.
12401 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
12402 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
12403 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
12404 (__futimens): Move implementation to...
12405 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
12406 utime_tvalue_from_tspec): ... new helper functions.
12407 (hurd_futimens): New function.
12408 * sysdeps/mach/hurd/futimesat.c: New file.
12409 * sysdeps/mach/hurd/utimensat.c: New file.
12410
bbe762d1
FC
124112018-03-05 Flávio Cruz <flaviocruz@gmail.com>
12412
12413 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
12414 UTIME_OMIT): New macros.
12415 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
12416 before reverting to converting time spec to time value and calling
12417 __file_utimes.
12418 * sysdeps/mach/hurd/utime-helper.c: New file.
12419 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
12420 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
12421 reverting to utime_tvalue_from_tval and __file_utimes.
12422 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
12423 (__lutimes): Just call hurd_futimens after lookup.
12424 * sysdeps/mach/hurd/utimes.c: Likewise.
12425
a1ede3a4
ST
124262018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
12427
12428 * bits/sigaction.h: Add include guard.
12429 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
12430 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
12431 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
12432 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
12433 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
12434 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
12435 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
12436 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
12437 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
12438
6900d2ca
JM
124392018-03-05 Joseph Myers <joseph@codesourcery.com>
12440
12441 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
12442 -Wmaybe-uninitialized for -Os.
12443 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
12444 this disabling.
12445
68448be2
AZ
124462018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12447
5226a81f
AZ
12448 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
12449 __INO_T_MATCHES_INO64_T is defined.
12450 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
12451 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
12452 of definition.
12453 * dirent/alphasort64.c: Likewise.
12454 * dirent/scandir.c: Likewise.
12455 * dirent/scandir64-tail.c: Likewise.
12456 * dirent/scandir64.c: Likewise.
12457 * dirent/scandirat.c: Likewise.
12458 * dirent/scandirat64.c: Likewise.
12459 * dirent/versionsort.c: Likewise.
12460 * dirent/versionsort64.c: Likewise.
12461 * include/dirent.h: Likewise.
12462
fbd01e6c
AZ
12463 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
12464 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
12465 for socketpair endpoint.
12466 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
12467 WRITE_BUFFER_SIZE as buffer size for sending socket.
12468 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
12469 issue on system where send is implemented with sendto syscall.
12470 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
12471 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
12472 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
12473 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
12474
68448be2
AZ
12475 [BZ #21269]
12476 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
12477 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
12478 sa_restorer for vDSO case.
12479 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
12480
eb1ca47e
ST
124812018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
12482
12483 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
e30c291a
ST
12484 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
12485 * hurd/hurd/ioctl.h: Include <mach/port.h>
12486 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
f4bff843
ST
12487 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
12488 <mach/mach_types.h> and <mach/message.h>.
430fd945
ST
12489 (headers): Move mach/param.h to bits/mach/param.h.
12490 * sysdeps/mach/i386/mach/param.h: Move file to ...
12491 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
12492 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
12493 of <mach/param.h>.
3403cb7d
ST
12494 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
12495 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
12496 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
48d34cbc
ST
12497 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
12498 trivial, for C++ conformity.
44c6376c 12499 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
95dfdbd2
ST
12500 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
12501 Process mig output through $(migheadersed).
12502 * hurd/Makefile (migheadersed): Define variable.
a726c87a
ST
12503 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
12504 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
12505 headers.
ba89615d
ST
12506 * hurd/hurd.h: Include <bits/types/sigset_t.h>
12507 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
12508 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
12509 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
12510 <bits/types/sigset_t.h>.
12511 [!defined __USE_GNU]: Do not #error out.
12512 (struct hurd_sigstate): Use _NSIG instead of NSIG.
12513 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
12514 Include <stddef.h> and <bits/types/sigset_t.h>
12515 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
12516 instead of sighandler_t.
974393ea
ST
12517 * stdlib/errno.h (error_t): Move definition to...
12518 * bits/types/error_t.h: ... new header.
12519 * stdlib/Makefile (headers): Add bits/types/error_t.h.
12520 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
12521 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
12522 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
12523 * hurd/hurd.h: Include <bits/types/error_t.h>
12524 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
12525 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
12526 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
12527 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
12528 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
12529 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
8d965cde 12530 * sysdeps/mach/hurd/futimens.c: New file.
eb1ca47e 12531
eaf6753f
AS
125322018-03-03 Andreas Schwab <schwab@linux-m68k.org>
12533
12534 [BZ #22918]
12535 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
12536 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
12537 * nscd/gai.c (__nss_hosts_database): Readd definition.
12538 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
12539 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
12540 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
12541
4dc23804
JM
125422018-03-02 Joseph Myers <joseph@codesourcery.com>
12543
12544 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
12545 (ifunc_one): Likewise.
12546
1c81d55f
DD
125472018-03-01 DJ Delorie <dj@delorie.com>
12548
12549 [BZ #22342]
12550 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
12551 key value.
12552
b717c14f
MR
125532018-03-01 Maciej W. Rozycki <macro@mips.com>
12554
12555 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
12556 `match_pid' parameter.
12557 (td_ta_thr_iter): Update accordingly.
12558
1efe1358
FW
125592018-03-01 Florian Weimer <fweimer@redhat.com>
12560
12561 * nptl/Makefile (install-lib-ldscripts): Remove.
12562 (install): Remove rule.
12563 ($(inst_libdir)/libpthread.so): Likewise.
12564
a527f09c
MF
125652018-03-01 Mike FABIAN <mfabian@redhat.com>
12566
12567 [BZ #22896]
12568 * localedata/locales/an_ES: update month and day names,
12569 improve d_fmt, improve postal_fmt, add country_post,
12570 add country_isbn
12571
35d660b0
MF
125722018-03-01 Mike FABIAN <mfabian@redhat.com>
12573
12574 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
12575 Ukrainian instead of Bulgarian.
12576
1a2f44a8
FW
125772018-03-01 Florian Weimer <fweimer@redhat.com>
12578
12579 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
12580 reference.
12581
bd60ce86
FW
125822018-03-01 Florian Weimer <fweimer@redhat.com>
12583
12584 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
12585 * nptl/Makefile (routines): Add pthread_atfork.
12586 (static-only-routines): Set to pthread_atfork.
12587 (libpthread-routines): Remove pthread_atfork.
12588 (libpthread-static-only-routines): Remove.
12589 (install): Update comment.
12590 (libpthread.so): Do not install libpthread_nonshared.a.
12591 (tests): Do not link with libpthread_nonshared.a.
12592 (generated): Remove libpthread_nonshared.a.
12593 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
12594 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
12595 with libpthread_nonshared.a.
12596
000f290f
JM
125972018-02-28 Joseph Myers <joseph@codesourcery.com>
12598
e2bcf6a8
JM
12599 [BZ #22902]
12600 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
12601 (libc_feholdexcept_setroundf128): New macro.
12602 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
12603
000f290f
JM
12604 [BZ #15105]
12605 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
12606 libc_hidden_def.
12607 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
12608 * include/inttypes.h: New file.
12609
02f2fead
JM
126102018-02-27 Joseph Myers <joseph@codesourcery.com>
12611
12612 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
12613 -Os in two more places.
12614
874c56d7
MF
126152018-02-27 Mike FABIAN <mfabian@redhat.com>
12616
12617 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
12618 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
12619 be sorted correctly at the moment because of a bug.
12620
15973854
MF
126212018-02-27 Mike FABIAN <mfabian@redhat.com>
12622
12623 [BZ #22550] - es_ES locale (and other es_* locales): collation should
12624 treat ñ as a primary different character, sync the collation
12625 for Spanish with CLDR.
12626 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
12627 * localedata/Makefile: Add new test files.
12628 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
12629 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
12630 collation order.
12631 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
12632 * localedata/am_ET.UTF-8.in: New test file.
12633 * localedata/az_AZ.UTF-8.in: Likewise.
12634 * localedata/be_BY.UTF-8.in: Likewise.
12635 * localedata/ber_DZ.UTF-8.in: Likewise.
12636 * localedata/ber_MA.UTF-8.in: Likewise.
12637 * localedata/bg_BG.UTF-8.in: Likewise.
12638 * localedata/br_FR.UTF-8.in: Likewise.
12639 * localedata/cmn_TW.UTF-8.in: Likewise.
12640 * localedata/crh_UA.UTF-8.in: Likewise.
12641 * localedata/csb_PL.UTF-8.in: Likewise.
12642 * localedata/cv_RU.UTF-8.in: Likewise.
12643 * localedata/cy_GB.UTF-8.in: Likewise.
12644 * localedata/dz_BT.UTF-8.in: Likewise.
12645 * localedata/eo.UTF-8.in: Likewise.
12646 * localedata/es_ES.UTF-8.in: Likewise.
12647 * localedata/fa_IR.UTF-8.in: Likewise.
12648 * localedata/fi_FI.UTF-8.in: Likewise.
12649 * localedata/fil_PH.UTF-8.in: Likewise.
12650 * localedata/fur_IT.UTF-8.in: Likewise.
12651 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
12652 * localedata/ha_NG.UTF-8.in: Likewise.
12653 * localedata/ig_NG.UTF-8.in: Likewise.
12654 * localedata/ik_CA.UTF-8.in: Likewise.
12655 * localedata/kk_KZ.UTF-8.in: Likewise.
12656 * localedata/ku_TR.UTF-8.in: Likewise.
12657 * localedata/ky_KG.UTF-8.in: Likewise.
12658 * localedata/ln_CD.UTF-8.in: Likewise.
12659 * localedata/mi_NZ.UTF-8.in: Likewise.
12660 * localedata/ml_IN.UTF-8.in: Likewise.
12661 * localedata/mn_MN.UTF-8.in: Likewise.
12662 * localedata/mr_IN.UTF-8.in: Likewise.
12663 * localedata/mt_MT.UTF-8.in: Likewise.
12664 * localedata/nb_NO.UTF-8.in: Likewise.
12665 * localedata/om_KE.UTF-8.in: Likewise.
12666 * localedata/os_RU.UTF-8.in: Likewise.
12667 * localedata/ps_AF.UTF-8.in: Likewise.
12668 * localedata/ro_RO.UTF-8.in: Likewise.
12669 * localedata/ru_RU.UTF-8.in: Likewise.
12670 * localedata/sc_IT.UTF-8.in: Likewise.
12671 * localedata/se_NO.UTF-8.in: Likewise.
12672 * localedata/sq_AL.UTF-8.in: Likewise.
12673 * localedata/sv_SE.UTF-8.in: Likewise.
12674 * localedata/szl_PL.UTF-8.in: Likewise.
12675 * localedata/tg_TJ.UTF-8.in: Likewise.
12676 * localedata/tk_TM.UTF-8.in: Likewise.
12677 * localedata/tt_RU.UTF-8.in: Likewise.
12678 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
12679 * localedata/ug_CN.UTF-8.in: Likewise.
12680 * localedata/uz_UZ.UTF-8.in: Likewise.
12681 * localedata/vi_VN.UTF-8.in: Likewise.
12682 * localedata/yi_US.UTF-8.in: Likewise.
12683 * localedata/yo_NG.UTF-8.in: Likewise.
12684 * localedata/zh_CN.UTF-8.in: Likewise.
12685 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
12686 file and fix bugs in the collation.
12687 * localedata/locales/az_AZ: Likewise.
12688 * localedata/locales/be_BY: Likewise.
12689 * localedata/locales/ber_DZ: Likewise.
12690 * localedata/locales/ber_MA: Likewise.
12691 * localedata/locales/bg_BG: Likewise.
12692 * localedata/locales/br_FR: Likewise.
12693 * localedata/locales/br_FR@euro: Likewise.
12694 * localedata/locales/ca_ES: Likewise.
12695 * localedata/locales/cns11643_stroke: Likewise.
12696 * localedata/locales/crh_UA: Likewise.
12697 * localedata/locales/cs_CZ: Likewise.
12698 * localedata/locales/csb_PL: Likewise.
12699 * localedata/locales/cv_RU: Likewise.
12700 * localedata/locales/cy_GB: Likewise.
12701 * localedata/locales/da_DK: Likewise.
12702 * localedata/locales/dz_BT: Likewise.
12703 * localedata/locales/en_CA: Likewise.
12704 * localedata/locales/eo: Likewise.
12705 * localedata/locales/es_CU: Likewise.
12706 * localedata/locales/es_EC: Likewise.
12707 * localedata/locales/es_ES: Likewise.
12708 * localedata/locales/es_US: Likewise.
12709 * localedata/locales/et_EE: Likewise.
12710 * localedata/locales/fa_IR: Likewise.
12711 * localedata/locales/fi_FI: Likewise.
12712 * localedata/locales/fil_PH: Likewise.
12713 * localedata/locales/fur_IT: Likewise.
12714 * localedata/locales/gez_ER@abegede: Likewise.
12715 * localedata/locales/ha_NG: Likewise.
12716 * localedata/locales/hr_HR: Likewise.
12717 * localedata/locales/hsb_DE: Likewise.
12718 * localedata/locales/hu_HU: Likewise.
12719 * localedata/locales/ig_NG: Likewise.
12720 * localedata/locales/ik_CA: Likewise.
12721 * localedata/locales/is_IS: Likewise.
12722 * localedata/locales/iso14651_t1_pinyin: Likewise.
12723 * localedata/locales/kk_KZ: Likewise.
12724 * localedata/locales/ku_TR: Likewise.
12725 * localedata/locales/ky_KG: Likewise.
12726 * localedata/locales/ln_CD: Likewise.
12727 * localedata/locales/lt_LT: Likewise.
12728 * localedata/locales/lv_LV: Likewise.
12729 * localedata/locales/mi_NZ: Likewise.
12730 * localedata/locales/ml_IN: Likewise.
12731 * localedata/locales/mn_MN: Likewise.
12732 * localedata/locales/mr_IN: Likewise.
12733 * localedata/locales/mt_MT: Likewise.
12734 * localedata/locales/nb_NO: Likewise.
12735 * localedata/locales/om_KE: Likewise.
12736 * localedata/locales/os_RU: Likewise.
12737 * localedata/locales/pl_PL: Likewise.
12738 * localedata/locales/ps_AF: Likewise.
12739 * localedata/locales/ro_RO: Likewise.
12740 * localedata/locales/ru_RU: Likewise.
12741 * localedata/locales/ru_UA: Likewise.
12742 * localedata/locales/sc_IT: Likewise.
12743 * localedata/locales/se_NO: Likewise.
12744 * localedata/locales/si_LK: Likewise.
12745 * localedata/locales/sq_AL: Likewise.
12746 * localedata/locales/sv_FI: Likewise.
12747 * localedata/locales/sv_FI@euro: Likewise.
12748 * localedata/locales/sv_SE: Likewise.
12749 * localedata/locales/szl_PL: Likewise.
12750 * localedata/locales/tg_TJ: Likewise.
12751 * localedata/locales/ti_ER: Likewise.
12752 * localedata/locales/tk_TM: Likewise.
12753 * localedata/locales/tl_PH: Likewise.
12754 * localedata/locales/tr_TR: Likewise.
12755 * localedata/locales/tt_RU: Likewise.
12756 * localedata/locales/tt_RU@iqtelif: Likewise.
12757 * localedata/locales/ug_CN: Likewise.
12758 * localedata/locales/uk_UA: Likewise.
12759 * localedata/locales/uz_UZ: Likewise.
12760 * localedata/locales/uz_UZ@cyrillic: Likewise.
12761 * localedata/locales/vi_VN: Likewise.
12762 * localedata/locales/yi_US: Likewise.
12763 * localedata/locales/yo_NG: Likewise.
12764
ce6636b0
MF
127652018-02-27 Mike FABIAN <mfabian@redhat.com>
12766
12767 * gen-locales.mk: Make test files which contain @ modifiers in their
12768 name work.
12769 * localedata/gen-locale.sh: Likewise.
12770
ac3a3b4b
MF
127712018-02-27 Mike FABIAN <mfabian@redhat.com>
12772
12773 * posix/tst-fnmatch.input: Fix results for range expressions
12774 for non C locales.
12775 * posix/tst-regexloc.c: Do not use a range expression for
12776 de_DE.ISO-8859-1 locale.
12777
770cbe14
MF
127782018-02-27 Mike FABIAN <mfabian@redhat.com>
12779
12780 * posix/bug-regex5.c: Fix test case because with the new
12781 iso14651_t1_common file, the da_DK locale now has 6 collating elements
12782 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
12783 file.
12784
0fc355d9
MF
127852018-02-27 Mike FABIAN <mfabian@redhat.com>
12786
12787 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
12788 downloaded from ISO, the collation order of @-. and space has changed.
12789 Therefore, this test file needed to be adapted.
12790 * localedata/fr_CA.UTF-8.in: Likewise.
12791 * localedata/fr_FR.UTF-8.in: Likewise.
12792 * localedata/uk_UA.UTF-8.in: Likewise.
12793
43f3893f
MF
127942018-02-27 Mike FABIAN <mfabian@redhat.com>
12795
12796 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
12797 order of ȥ in the new iso14651_t1_common file.
12798 * localedata/pl_PL.UTF-8.in: Likewise.
12799
df74ef78
MF
128002018-02-27 Mike FABIAN <mfabian@redhat.com>
12801
12802 * localedata/locales/iso14651_t1_common: Add sections for various
12803 scripts to the iso14651_t1_common file.
12804
d5adfbad
MF
128052018-02-27 Mike FABIAN <mfabian@redhat.com>
12806
12807 * localedata/locales/iso14651_t1_common: Use the code point of a
12808 character in the fourth collation level instead of IGNORE for all
12809 entries which have IGNORE on all 4 levels.
12810
5f5a9610
MF
128112018-02-27 Mike FABIAN <mfabian@redhat.com>
12812
12813 * localedata/locales/iso14651_t1_common: Add some convenient collation
12814 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
12815 rules similar to those in CLDR.
12816
8a97e900
MF
128172018-02-27 Mike FABIAN <mfabian@redhat.com>
12818
12819 * localedata/locales/iso14651_t1_common: The new version of this
12820 file downloaded from ISO contained several syntax errors which
12821 are fixed by this patch.
12822
bbdd2fba
MF
128232018-02-27 Mike FABIAN <mfabian@redhat.com>
12824
12825 * localedata/locales/iso14651_t1_common: replace all <U.....>
12826 with <U000.....> because glibc understands only 4 digit or 8 digit
12827
1569e551
MF
128282018-02-27 Mike FABIAN <mfabian@redhat.com>
12829
12830 * localedata/locales/iso14651_t1_common: Necessary changes
12831 to make the file downloaded from ISO usable by glibc.
12832
9479b6d5
MF
128332018-02-27 Mike FABIAN <mfabian@redhat.com>
12834
12835 [BZ #14095]
12836 * localedata/locales/iso14651_t1_common: Update file to
12837 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
12838
03b540b3
ST
128392018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
12840
12841 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
12842 of <nptl/pthreadP.h>
12843 (thread_attr_compare): Move function to...
eb937a52 12844 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
03b540b3 12845 * sysdeps/nptl/timer_routines.h: ... new header.
7211eba6 12846 * sysdeps/mach/hurd/gai_misc.h: New file.
03b540b3 12847
20602c72
JM
128482018-02-26 Joseph Myers <joseph@codesourcery.com>
12849
f54d8f73
JM
12850 * string/strcoll_l.c: Include <libc-diag.h>.
12851 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
12852 declarations of seq1 and seq2.
12853
20602c72
JM
12854 [BZ #15105]
12855 * stdlib/atoi.c (atoi): Use libc_hidden_def.
12856 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
12857
f5f473a9
DL
128582018-02-26 Dmitry V. Levin <ldv@altlinux.org>
12859
12860 [BZ #22433]
12861 [BZ #22807]
12862 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
12863 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
12864 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
12865 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
12866 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
12867 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
12868
398c6fdd
TMQMF
128692018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12870
12871 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
12872 macros used in __ptrace_request.
12873
f5d1f629
L
128742018-02-23 H.J. Lu <hongjiu.lu@intel.com>
12875
12876 [BZ #22792]
12877 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
12878 to $(CC).
12879 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
12880 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
12881 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
12882 <tcb-offsets.h>.
12883
54412d20
JM
128842018-02-23 Joseph Myers <joseph@codesourcery.com>
12885
12886 [BZ #15105]
12887 * ctype/ctype.c (tolower): Use libc_hidden_def.
12888 (toupper): Likewise.
12889 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
12890 [!_ISOMAC] (toupper): Likewise.
12891
81be4b5e
MF
128922018-02-23 Mike FABIAN <mfabian@redhat.com>
12893
12894 * localedata/Makefile: Remove --quiet argument when
12895 installing locales
12896
9d5cfd8e
MF
128972018-02-23 Mike FABIAN <mfabian@redhat.com>
12898
12899 [BZ #17438]
12900 * localedata/locales/pt_BR (LC_TIME): use / instead of -
12901 in d_fmt.
12902 * localedata/locales/pt_PT (LC_TIME): likewise
12903
6c7269f3
MF
129042018-02-23 Mike FABIAN <mfabian@redhat.com>
12905
12906 [BZ #22646]
12907 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
12908 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
12909 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
12910
92aabad9
AZ
129112018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12912
4cdc25a4
AZ
12913 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12914
27761a10
AZ
12915 * nptl/Makefile (routines): Remove unregister-atfork.
12916 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
12917 (fork_handler_alloc): Remove function.
12918 (fork_handlers, fork_handler_init): New variables.
12919 (__fork_lock): Rename to atfork_lock.
12920 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
12921 to use a dynamic array to add/remove atfork handlers.
12922 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
12923 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
12924 Remove declaration.
12925 (fork_handler): Remove next, refcntr, and need_signal member.
12926 (__run_fork_handler_type): New enum.
12927 (__run_fork_handlers): New prototype.
12928 * nptl/register-atfork.c: Remove file.
12929 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
12930
92aabad9
AZ
12931 * sysdeps/nptl/nptl-signals.h: Move to ...
12932 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
12933 comments.
12934 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
12935 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
12936 unnecessary check for SIGTIMER.
12937 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
12938 remove unnecessary removal of SIGTIMER.
12939 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
12940 include-signals.h rename.
12941 * nptl/pthreadP.h: Likewise.
12942 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
12943 __is_internal_signal instead of __nptl_is_internal_signal.
12944
fdcc6253
AW
129452018-02-22 Andrew Waterman <andrew@sifive.com>
12946
7e04eb29 12947 [BZ # 22884]
fdcc6253
AW
12948 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
12949 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
12950 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
12951 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
12952
8090720a
DD
129532018-02-22 DJ Delorie <dj@delorie.com>
12954
12955 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
12956
6ca24c43
SP
129572018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
12958
12959 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
12960 do_misaligned, not misaligned8.
12961
e9537ddd
SE
129622018-02-22 Steve Ellcey <sellcey@cavium.com>
12963
12964 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
12965 Add memcpy_thunderx2.
12966 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
12967 Increment to 4.
12968 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
12969 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
12970 and IS_THUNDERX2PA checks.
12971 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
12972 Use macro to set name appropriately.
12973 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
12974 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
12975 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
12976 New macro.
12977 (IS_THUNDERX2): New macro.
12978
6e336476
SL
129792018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
12980
12981 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12982
34957904
ZW
129832018-02-21 Zack Weinberg <zackw@panix.com>
12984
30bfee26
ZW
12985 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
12986 Define here, unconditionally.
12987 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
12988 * libio/libioP.h: Remove #if 0 blocks.
12989 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
12990 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
12991 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
12992
12993 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
12994 Assume weak_alias is always defined.
12995
12996 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
12997 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
12998 Remove #if 0 and #ifdef TODO blocks.
12999 Assume text_set_element is always defined.
13000
13001 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
13002 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
13003 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
13004
df6c012b
ZW
13005 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
13006 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
13007 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
13008 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
13009 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
13010 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
13011 Reformat bit flags for _flags field to make occupancy clearer.
13012 Update commentary.
13013 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
13014 Keep definitions consistent with those in libio/libio.h.
13015
13016 * libio/libio.h (_IO_file_flags): Remove macro.
13017 All uses changed to _flags.
13018
177aad3f
ZW
13019 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
13020 (__HAVE_COLUMN, _IO_BE): Don't define.
13021 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
13022 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
13023 * libio/libioP.h (EOF): Don't define.
13024 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
13025 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
13026 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
13027 testing _IO_UNIFIED_JUMPTABLES.
13028
9964a145
ZW
13029 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
13030 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
13031 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
13032 (_IO_size_t): Delete; all uses changed to size_t.
13033 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
13034 (_IO_off_t): Delete; all uses changed to off_t.
13035 (_IO_off64_t): Delete; all uses changed to off64_t.
13036 (_IO_pid_t): Delete; all uses changed to pid_t.
13037 (_IO_uid_t): Delete; all uses changed to uid_t.
13038 (_IO_wint_t): Delete; all uses changed to wint_t.
13039 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
13040 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
13041 (_IO_cookie_io_functions_t): Delete; all uses changed to
13042 cookie_io_functions_t.
13043 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
13044 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
13045 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
13046 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
13047
13048 * libio/iofopncook.c: Remove unnecessary forward declarations.
13049 * libio/iolibio.h: Correct outdated commentary.
13050 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
13051 * stdio-common/fxprintf.c (__fxprintf_nocancel):
13052 Remove unnecessary casts.
13053 * stdio-common/getline.c: Use _IO_getdelim directly.
13054 Don't redefine ssize_t.
13055 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
13056 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
13057 Remove outdated comments.
13058 * stdio-common/vfscanf.c: Don't redefine va_list.
13059
34957904
ZW
13060 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
13061 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
13062 Remove preprocessor conditionals on _LIBC and __USE_GNU,
13063 which are always true, and __cplusplus, which is always false.
13064
30ac923d
JM
130652018-02-21 Joseph Myers <joseph@codesourcery.com>
13066
039c721a
JM
13067 [BZ #15105]
13068 [BZ #19463]
13069 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
13070 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
13071 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
13072 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
13073 libc_hidden_proto.
13074 [!_ISOMAC] (putc_unlocked): Likewise.
13075 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
13076 define inline if [__USE_EXTERN_INLINES].
13077 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
13078 putc_unlocked.
13079
30ac923d
JM
13080 [BZ #15105]
13081 [BZ #19463]
13082 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
13083 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
13084 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
13085 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
13086 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
13087 getc_unlocked.
13088 * time/tzfile.c (__tzfile_read): Likewise.
13089
7ec5f946
MF
130902018-02-21 Mike FABIAN <mfabian@redhat.com>
13091
13092 [BZ #22517]
13093 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
13094
0d217f40
RJ
130952018-02-21 Rical Jasan <ricaljasan@pacific.net>
13096
13097 * io/fcntl.h: Fix a typo in a comment.
13098
862b4502
RJ
130992018-02-21 Rical Jasan <ricaljasan@pacific.net>
13100
13101 [BZ #22862]
13102 * include/features.h: Add _ISOC11_SOURCE to test for whether to
13103 define _DEFAULT_SOURCE.
13104 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
13105
999a6dab
FW
131062018-02-21 Florian Weimer <fweimer@redhat.com>
13107
13108 [BZ #20890]
13109 * elf/cache.c (save_cache): Call fsync on temporary file before
13110 renaming it.
13111 (save_aux_cache): Call fdatasync on temporary file before renaming
13112 it.
13113
52a01100
FW
131142018-02-21 Florian Weimer <fweimer@redhat.com>
13115
13116 [BZ #22787]
13117 * include/caller.h: Remove file.
13118 * elf/dl-caller.c: Likewise.
13119 * elf/Makefile (dl-routines): Remove dl-caller.
13120 (shared-only-routines): Do not add dl-caller.
13121 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
13122 __check_caller.
13123 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
13124 member.
13125 (dl_open_worker): Do not call __check_caller.
13126 (_dl_open): Do not set caller_dl_open member.
13127 * elf/rtld.c (_rtld_global_ro): Do not initialize
13128 _dl_check_caller member.
13129 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
13130 _dl_check_caller member.
13131 (_dl_check_caller): Remove declaration.
13132 * sysdeps/unix/sysv/linux/dl-execstack.c
13133 (_dl_make_stack_executable): Do not call __check_caller.
13134
b5bf62e4
ST
131352018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
13136
13137 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
315304d2 13138 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
b5bf62e4 13139
e8d190b9
RJ
131402018-02-20 Rical Jasan <ricaljasan@pacific.net>
13141
13142 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
13143 description.
13144
6a3962c4
RJ
131452018-02-20 Rical Jasan <ricaljasan@pacific.net>
13146
da81ae64 13147 [BZ #16335]
6a3962c4
RJ
13148 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
13149 of 199606L, 200112L, and 200809L.
13150 (_XOPEN_SOURCE): Document special values of 600 and 700.
13151 (_ISOC11_SOURCE): Document macro.
13152 (_ATFILE_SOURCE): Likewise.
13153 (_FORTIFY_SOURCE): Likewise.
13154
ec481ad8
JM
131552018-02-19 Joseph Myers <joseph@codesourcery.com>
13156
13157 [BZ #15105]
13158 [BZ #19463]
13159 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
13160 and define as weak alias of __ferror_unlocked. Use
13161 libc_hidden_weak.
13162 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
13163 libc_hidden_proto.
13164 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
13165 function if [__USE_EXTERN_INLINES].
13166 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
13167 ferror_unlocked.
13168
7d15ef84
RJ
131692018-02-19 Rical Jasan <ricaljasan@pacific.net>
13170
13171 [BZ #6889]
13172 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
13173
f8d79582
AJ
131742018-02-18 Aurelien Jarno <aurelien@aurel32.net>
13175
13176 [BZ #22818]
13177 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
13178 the GLIBC_2.1 version.
13179
56456a2a
AJ
131802018-02-18 Aurelien Jarno <aurelien@aurel32.net>
13181
13182 [BZ #21508]
13183 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
13184 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
13185 intl/tst-gettext-de.po from po/de.po by removing the
13186 POT-Creation-Date line.
13187 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
13188 ../po/de.po.
13189 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
13190 ../po/de.po.
13191
13768813
ST
131922018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
13193
13194 * mach/Makefile (headers): Add mach/param.h.
13195 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
13196 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
dd1efd8c
ST
13197 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
13198 (__ptsname_r): Move implementation to...
13199 (__ptsname_internal): ... new function. Add filling the STP
13200 structure.
13768813 13201
6aca1b61
JDA
132022018-02-17 John David Anglin <danglin@gcc.gnu.org>
13203
13204 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
13205 idouble to 1 ULP.
13206
16efad51
RJ
132072018-02-16 Rical Jasan <ricaljasan@pacific.net>
13208
13209 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
13210 syntax.
13211
87245073
SL
132122018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
13213
13214 * nptl/Makefile (tst-mutex8-ENV): Delete.
13215 * nptl/tst-mutex8.c (check_type):
13216 Add runtime check if mutex will be elided.
13217
7fc03cf3
JM
132182018-02-15 Joseph Myers <joseph@codesourcery.com>
13219
db9881ec
JM
13220 [BZ #20980]
13221 [BZ #21234]
13222 * manual/install.texi (Configuring and compiling): Describe
13223 passing CC and CFLAGS on configure command line, not as
13224 environment variables. Use @code markup on those variables.
13225 Specify what options go in CC and what go in CFLAGS. Note the
13226 requirement to compile with optimization.
13227 * INSTALL: Regenerated.
13228
3785b31c
JM
13229 [BZ #18124]
13230 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
13231 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
13232 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
13233 __sigprocmask instead of sigprocmask.
13234 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
13235 Likewise.
13236 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
13237 __sigsetjmp and sigprocmask.
13238
055ac2a7
JM
13239 [BZ #15105]
13240 * include/argz.h (argz_next): Use libc_hidden_proto.
13241 (__argz_next): Likewise.
13242 * string-argz-next.c (__argz_next): Use libc_hidden_def.
13243 (argz_next): Use libc_hidden_weak.
13244
e4452a2d
JM
13245 [BZ #15105]
13246 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
13247 libc_hidden_proto.
13248 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
13249 libc_hidden_def.
13250
499b3153
JM
13251 [BZ #15105]
13252 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
13253 libc_hidden_proto.
13254 * libio/iofputs.c (fputs): Use libc_hidden_weak.
13255
7fc03cf3
JM
13256 [BZ #15105]
13257 [BZ #19463]
13258 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
13259 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
13260 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
13261 (__feof_unlocked): New declaration, and inline function if
13262 [__USE_EXTERN_INLINES].
13263 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
13264 instead of feof_unlocked.
13265 * intl/localealias.c [_LIBC] (FEOF): Likewise.
13266 * nss/nsswitch.c (nss_parse_file): Likewise.
13267 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
13268 Likewise.
13269 * time/getdate.c (__getdate_r): Likewise.
13270 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
13271 Define as macro to call __feof_unlocked.
13272
0c8a67a5
WD
132732018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
13274
13275 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
13276
610ee1fc
WD
132772018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
13278
13279 * math/Makefile: Remove mpexp.c and mplog.c
13280 * sysdeps/i386/fpu/mpexp.c: Delete file.
13281 * sysdeps/i386/fpu/mplog.c: Likewise.
13282 * sysdeps/ia64/fpu/mpexp.c: Likewise.
13283 * sysdeps/ia64/fpu/mplog.c: Likewise.
13284 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
13285 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
13286 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
13287 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
13288 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
13289 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
13290 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
13291 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
13292 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
13293 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
13294 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
13295 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
13296 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
13297 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
13298 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
13299 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
13300
8e7196c8
SL
133012018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
13302
13303 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13304
4f55ad0b
AZ
133052018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13306
13307 * sysdeps/sh/libm-test-ulps: Update.
13308
261a851c
TMQMF
133092018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13310
13311 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
13312 idouble to 1 ULP.
13313
e16deca6
ZW
133142018-02-12 Zack Weinberg <zackw@panix.com>
13315
13316 [BZ #19239]
13317 * posix/sys/types.h: Don't include sys/sysmacros.h.
13318 * misc/sys/sysmacros.h: Remove the conditional deprecation
13319 warnings for the macros defined by this header.
13320
de800d83
SN
133212018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
13322
13323 * manual/probes.texi: Remove slowexp probes.
13324 * math/Makefile: Remove slowexp.
13325 * sysdeps/generic/math_private.h (__slowexp): Remove.
13326 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
13327 document error bounds.
13328 * sysdeps/i386/fpu/slowexp.c: Remove.
13329 * sysdeps/ia64/fpu/slowexp.c: Remove.
13330 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
13331 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
13332 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
13333 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
13334 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
13335 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
13336 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
13337 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
13338 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
13339 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
13340 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
13341
c3d466cb
WD
133422018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
13343
13344 [BZ #13932]
13345 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
13346 * benchtests/pow-inputs: Update comment for slow path cases.
13347 * manual/probes.texi (slowpow_p10): Delete removed probe.
13348 (slowpow_p10): Likewise.
13349 * math/Makefile: Remove halfulp.c and slowpow.c.
13350 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
13351 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
13352 (__halfulp): Remove.
13353 (__slowpow): Remove.
13354 * sysdeps/i386/fpu/halfulp.c: Delete file.
13355 * sysdeps/i386/fpu/slowpow.c: Likewise.
13356 * sysdeps/ia64/fpu/halfulp.c: Likewise.
13357 * sysdeps/ia64/fpu/slowpow.c: Likewise.
13358 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
13359 improve comments and add error analysis.
13360 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
13361 (power1): Remove function:
13362 (log1): Remove error argument, add error analysis.
13363 (my_log2): Remove function.
13364 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
13365 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13366 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
13367 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
13368 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
13369 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
13370 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
13371 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
13372 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
13373 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
13374 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
13375 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
13376 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
13377 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
13378
7bb087bd
ST
133792018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
13380
13381 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
13382 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
13383
2fd4bbaa
DL
133842018-02-10 Dmitry V. Levin <ldv@altlinux.org>
13385
13386 [BZ #22433]
13387 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
13388 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
13389 and PTRACE_SETHBPREGS.
13390
402ecba4
ZW
133912018-02-10 Zack Weinberg <zackw@panix.com>
13392
13393 [BZ #22830]
13394 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
13395 correctly.
13396 * malloc/tst-malloc-stats-cancellation.c: New test case.
13397 * malloc/Makefile: Add new test case.
13398
4f5b921e
WD
133992018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
13400
13401 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
13402
a85b70db
JM
134032018-02-10 Joseph Myers <joseph@codesourcery.com>
13404
d8742dd8
JM
13405 * math/Makefile (libm-narrow-fns): Add add.
13406 (libm-test-funcs-narrow): Likewise.
13407 * math/Versions (GLIBC_2.28): Add narrowing add functions.
13408 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
13409 * math/gen-auto-libm-tests.c (test_functions): Add add.
13410 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
13411 (NARROW_ADD_ROUND_TO_ODD): Likewise.
13412 (NARROW_ADD_TRIVIAL): Likewise.
13413 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
13414 macro.
13415 (__daddl): Likewise.
13416 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
13417 dadd.
13418 (CFLAGS-nldbl-dadd.c): New variable.
13419 (CFLAGS-nldbl-fadd.c): Likewise.
13420 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
13421 __nldbl_daddl.
13422 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
13423 prototype.
13424 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
13425 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
13426 * math/auto-libm-test-in: Add tests of add.
13427 * math/auto-libm-test-out-narrow-add: New generated file.
13428 * math/libm-test-narrow-add.inc: New file.
13429 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
13430 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
13431 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
13432 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
13433 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
13434 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
13435 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
13436 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
13437 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
13438 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
13439 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
13440 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
13441 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
13442 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
13443 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
13444 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
13445 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
13446 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
13447 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13448 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
13449 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13450 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13451 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13452 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13453 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13454 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13455 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13456 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13457 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13458 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13459 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13460 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
13463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13465 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13466 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13467 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13468 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13469 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13470 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13471 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
13472 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
13473 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13474 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13475
a85b70db
JM
13476 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
13477 (f128-pairs): New variable.
13478 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
13479 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
13480 to CFLAGS.
13481 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
13482 Also make tests add $(f128-loader-link) to gnulib-tests.
13483
6a1ff640
DD
134842018-02-09 DJ Delorie <dj@redhat.com>
13485
13486 [BZ #22827]
13487 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
13488 64-bit ELF type for 64-bit ELF objects.
13489
bfd47587
JM
134902018-02-09 Joseph Myers <joseph@codesourcery.com>
13491
31958338
JM
13492 * math/libm-test-driver.c (snan_tests_arg): New variable.
13493 * math/libm-test-support.h (snan_tests_arg): New declaration.
13494 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
13495
8e554659
JM
13496 * math/Makefile (test-type-pairs): New variable.
13497 (test-type-pairs-f64xf128-yes): Likewise.
13498 (tests): Add test-narrow-macros.
13499 (libm-test-funcs-narrow): New variable.
13500 (libm-test-c-narrow): Likewise.
13501 (generated): Add $(libm-test-c-narrow).
13502 (libm-tests-base-narrow): New variable.
13503 (libm-tests-narrow): Likewise.
13504 (libm-tests): Add $(libm-tests-narrow).
13505 (libm-tests-for-type): Handle $(libm-tests-narrow).
13506 (libm-test-c-narrow-obj): New variable.
13507 ($(libm-test-c-narrow-obj)): New rule.
13508 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
13509 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
13510 $(o-iterator) to set dependencies and CFLAGS.
13511 * math/gen-auto-libm-tests.c: Document use for narrowing
13512 functions.
13513 (output_for_one_input_case): Take argument NARROW.
13514 (generate_output): Likewise. Update call to
13515 output_for_one_input_case.
13516 (main): Take --narrow option. Update call to generate_output.
13517 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
13518 (apply_lit): Update call to _apply_lit.
13519 (apply_arglit): New function.
13520 (parse_args): Handle "a" arguments.
13521 (parse_auto_input): Handle format names using ":".
13522 * math/README.libm-test: Document "a" parameter type.
13523 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
13524 (ARG_TYPE_TRUE_MIN): Likewise.
13525 (ARG_TYPE_MAX): Likwise.
13526 (ARG_MIN_EXP): Likewise.
13527 (ARG_MAX_EXP): Likewise.
13528 (ARG_MANT_DIG): Likewise.
13529 (TEST_COND_arg_ibm128): Likewise.
13530 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
13531 (TEST_COND_arg_fmt): New macro.
13532 (init_max_error): Update prototype.
13533 * math/libm-test-support.c (test_ibm128): New variable.
13534 (init_max_error): Take argument testing_ibm128 and set test_ibm128
13535 instead of using [TEST_COND_ibm128] conditional.
13536 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
13537 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
13538 [TEST_NARROW] (TEST_MSG): New definition.
13539 (arg_plus_zero): New macro.
13540 (arg_minus_zero): Likewise.
13541 (arg_plus_infty): Likewise.
13542 (arg_minus_infty): Likewise.
13543 (arg_qnan_value_pl): Likewise.
13544 (arg_qnan_value): Likewise.
13545 (arg_snan_value_pl): Likewise.
13546 (arg_snan_value): Likewise.
13547 (arg_max_value): Likewise.
13548 (arg_min_value): Likewise.
13549 (arg_min_subnorm_value): Likewise.
13550 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
13551 (RUN_TEST_LOOP_aa_f): New macro.
13552 (TEST_SUFF): New macro.
13553 (TEST_SUFF_STR): Likewise.
13554 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
13555 (TEST_COND_any_ibm128): New macro.
13556 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
13557 this_func. Update call to init_max_error.
13558 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
13559 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
13560 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
13561 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
13562 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
13563 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
13564 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
13565 * math/test-math-scalar.h (TEST_NARROW): Likewise.
13566 * math/test-math-vector.h (TEST_NARROW): Likewise.
13567 * math/test-arg-double.h: New file.
13568 * math/test-arg-float128.h: Likewise.
13569 * math/test-arg-float32x.h: Likewise.
13570 * math/test-arg-float64.h: Likewise.
13571 * math/test-arg-float64x.h: Likewise.
13572 * math/test-arg-ldouble.h: Likewise.
13573 * math/test-math-narrow.h: Likewise.
13574 * math/test-narrow-macros.c: Likewise.
13575 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
13576 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
13577 test-narrow-macros-ldbl-64.
13578 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
13579
63716ab2
JM
13580 * math/bits/mathcalls-narrow.h: New file.
13581 * include/bits/mathcalls-narrow.h: Likewise.
13582 * math/math-narrow.h: Likewise.
13583 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
13584 (__MATHCALL_NARROW_ARGS_2): Likewise.
13585 (__MATHCALL_NARROW_ARGS_3): Likewise.
13586 (__MATHCALL_NARROW_NORMAL): Likewise.
13587 (__MATHCALL_NARROW_REDIR): Likewise.
13588 (__MATHCALL_NARROW): Likewise.
13589 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
13590 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
13591 defined.
13592 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
13593 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
13594 (libm-narrow-fns): New variable.
13595 (libm-narrow-types-basic): Likewise.
13596 (libm-narrow-types-ldouble-yes): Likewise.
13597 (libm-narrow-types-float128-yes): Likewise.
13598 (libm-narrow-types-float128-alias-yes): Likewise.
13599 (libm-narrow-types): Likewise.
13600 (libm-routines): Add narrowing functions.
13601 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
13602 (libc_feholdexcept_setroundf128): New macro.
13603 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
13604 * sysdeps/ieee754/float128/float128_private.h: Include
13605 <math/math-narrow.h>.
13606 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
13607 Undefine and redefine.
13608 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
13609 (libm_alias_float_ldouble): Undefine and redefine.
13610 (libm_alias_double_ldouble): Likewise.
13611
bfd47587
JM
13612 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
13613
3f8d9d58
WD
136142018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
13615
13616 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
13617 FPCR/FPSR.
13618
1f6676d7
RJ
136192018-02-09 Rical Jasan <ricaljasan@pacific.net>
13620
13621 * manual/creature.texi: Convert references to gcc.info to gcc.
13622 * manual/stdio.texi: Likewise.
13623 * manual/string.texi: Likewise.
13624
d80441dd
JM
136252018-02-07 Joseph Myers <joseph@codesourcery.com>
13626
15081be9
JM
13627 [BZ #17979]
13628 * posix/bits/types.h (__int_least8_t): New typedef.
13629 (__uint_least8_t): Likewise.
13630 (__int_least16_t): Likewise.
13631 (__uint_least16_t): Likewise.
13632 (__int_least32_t): Likewise.
13633 (__uint_least32_t): Likewise.
13634 (__int_least64_t): Likewise.
13635 (__uint_least64_t): Likewise.
13636 * sysdeps/generic/stdint.h (int_least8_t): Define using
13637 __int_least8_t.
13638 (int_least16_t): Define using __int_least16_t.
13639 (int_least32_t): Define using __int_least32_t.
13640 (int_least64_t): Define using __int_least64_t.
13641 (uint_least8_t): Define using __uint_least8_t.
13642 (uint_least16_t): Define using __uint_least16_t.
13643 (uint_least32_t): Define using __uint_least32_t.
13644 (uint_least64_t): Define using __uint_least64_t.
13645 * wcsmbs/uchar.h: Include <bits/types.h>.
13646 (char16_t): Define using __uint_least16_t conditional only on
13647 [!__USE_ISOCXX11].
13648 (char32_t): Define using __uint_least32_t conditional only on
13649 [!__USE_ISOCXX11].
13650 * wcsmbs/test-char-types.c: New file.
13651 * wcsmbs/Makefile (tests): Add test-char-types.
13652
d80441dd
JM
13653 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
13654 version to 4.0.1.
13655
6c6c962a
ZW
136562018-02-07 Zack Weinberg <zackw@panix.com>
13657
63fb8f9a
ZW
13658 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
13659 Delete all contents except for definitions of _G_HAVE_MMAP and
13660 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
13661 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
13662 sysdeps/unix/sysv/linux/_G_config.h. Make same content
13663 change as above.
13664
13665 * libio/libio.h: Don't include bits/_G_config.h here.
13666 Include stddef.h with __need_wchar_t defined. Include
13667 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
13668 Define _IO_iconv_t here, directly.
13669 Don't define _IO_HAVE_ST_BLKSIZE.
13670 * libio/libioP.h: Include _G_config.h here. Move include of
13671 shlib-compat.h up with rest of includes. Simplify conditionals
13672 controlling definition of _IO_JUMPS_OFFSET.
13673
13674 * csu/init.c: Remove always-true #if around entire file.
13675 Don't include stdio.h. Set _IO_stdin_used to hardwired
13676 constant 0x20001, and update commentary.
13677 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
13678 Replace all uses of _G_va_list with __gnuc_va_list.
13679 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
13680 instead of #if _IO_HAVE_ST_BLKSIZE.
13681 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
13682 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
13683 not #ifdef.
13684
6c6c962a
ZW
13685 * libio/bits/libio.h: Move back to libio/libio.h and adjust
13686 multiple-include guard to match.
13687 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
13688 into this file.
13689 Remove preprocessor conditionals that are always true and/or
13690 redundant to other preprocessor conditionals in the same nest.
13691 Include shlib-compat.h unconditionally.
13692 Error out if _LIBC is not defined, or if _ISOMAC is defined,
13693 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
13694 defined after including stdio.h.
13695 Use __BEGIN_DECLS/__END_DECLS.
13696
13697 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
13698 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
13699 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
13700
a4fea3f2
ZW
137012018-02-07 Zack Weinberg <zackw@panix.com>
13702
13703 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
13704 New single-type headers split from _G_config.h.
13705 * libio/bits/types/cookie_io_functions_t.h
13706 * libio/bits/types/struct_FILE.h
13707 New single-type headers split from libio.h.
13708
13709 * libio/Makefile: Install the above new headers. Don't install
13710 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
13711 bits/libio-ldbl.h.
13712 * libio/_G_config.h, libio/libio.h: Delete file.
13713
13714 * libio/bits/libio.h: Remove improper-inclusion guard.
13715 Include stdio.h and don't repeat anything that it does.
13716 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
13717 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
13718 __io_read_fn as cookie_read_function_t,
13719 __io_write_fn as cookie_write_function_t,
13720 __io_seek_fn as cookie_seek_function_t,
13721 __io_close_fn as cookie_close_function_t,
13722 and _IO_cookie_io_functions_t as cookie_io_functions_t.
13723 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
13724 here, in the "compatibility defines" section. Remove an #if 0
6c6c962a 13725 block. Use the "body" macros from bits/types/struct_FILE.h to
a4fea3f2
ZW
13726 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
13727 and _IO_ferror_unlocked.
13728 Move prototypes of __uflow and __overflow...
13729
13730 * libio/stdio.h: ...here. Don't include bits/libio.h.
13731 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
6c6c962a 13732 directly from stdarg.h. Include bits/types/__fpos_t.h,
a4fea3f2
ZW
13733 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
13734 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
13735 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
13736 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
13737 cookie_io_functions_t, not _IO_cookie_io_functions_t;
13738 __ssize_t, not _IO_ssize_t. Unconditionally define
13739 BUFSIZ as 8192 and EOF as (-1).
13740
13741 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
13742 macros from bits/types/struct_FILE.h instead of _IO_* macros
13743 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
13744 instead of _IO_ssize_t.
13745 * libio/bits/stdio2.h: Similarly.
13746
13747 * libio/iolibio.h: Add multiple-include guard.
13748 Include bits/libio.h after stdio.h.
13749 * libio/libioP.h: Add multiple-include guard.
13750 Include stdio.h and bits/libio.h before iolibio.h.
13751
6c6c962a 13752 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
a4fea3f2
ZW
13753 * include/bits/types/cookie_io_functions_t.h
13754 * include/bits/types/struct_FILE.h: New wrappers.
13755
13756 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
6c6c962a
ZW
13757 Get definitions of _G_fpos_t and _G_fpos64_t from
13758 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
13759 respectively. Remove improper-inclusion guards.
a4fea3f2 13760
6c6c962a 13761 * conform/data/stdio.h-data: Update expectations of va_list.
a4fea3f2 13762 * scripts/check-installed-headers.sh: Remove special case for
6c6c962a 13763 libio.h and _G_config.h.
a4fea3f2 13764
ce999220
JM
137652018-02-07 Joseph Myers <joseph@codesourcery.com>
13766
8b4a1182
JM
13767 [BZ #15105]
13768 [BZ #19463]
13769 * include/sys/sysmacros.h [!_ISOMAC]
13770 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
13771 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
13772 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
13773 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
13774 libc_hidden_proto.
13775 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
13776 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
13777 Likewise.
13778 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
13779 Undefine and redefine to add use __gnu_dev_ prefix.
13780 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
13781 Likewise.
13782 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
13783 and define as hidden inline function.
13784 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
13785 Likewise.
13786 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
13787 Likewise.
13788 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
13789 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
13790 (gnu_dev_minor): Likewise.
13791 (gnu_dev_makedev): Likewise.
13792 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
13793 makedev.
13794 * posix/wordexp.c (exec_comm_child): Likewise.
13795 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
13796 instead of minor and __gnu_dev_major instead of major.
13797 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
13798 __gnu_dev_major instead of major.
13799 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
13800 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
13801 instead of gnu_dev_minor.
13802 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
13803 (SLAVE_P): Likewise.
13804 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
13805 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
13806 instead of major.
13807
ce999220
JM
13808 [BZ #21313]
13809 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
13810 in another place.
13811 * locale/weightwc.h (findidx): Likewise.
13812
b7c83ca3
WD
138132018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
13814
13815 * manual/probes.texi (slowlog): Delete documentation of removed probe.
13816 (slowlog_inexact): Likewise
13817 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
13818 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
13819
388ff7bd
IG
138202018-02-07 Igor Gnatenko <ignatenko@redhat.com>
13821
13822 [BZ #22797]
13823 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
13824 missing second underscore to parameter name.
13825
663e7d78
JM
138262018-02-06 Joseph Myers <joseph@codesourcery.com>
13827
0d40d0ec
JM
13828 [BZ #14508]
13829 [BZ #15512]
13830 [BZ #17082]
13831 [BZ #20530]
13832 * bits/byteswap.h: Update file comment. Do not include
13833 <bits/byteswap-16.h>.
13834 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
13835 constant.
13836 (__bswap_16): Define as inline function.
13837 (__bswap_constant_32): Reformat definition.
13838 (__bswap_32): Always define as inline function, not macro, using
13839 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
13840 otherwise __bswap_constant_32.
13841 (__bswap_constant_64): Reformat definition. Do not use
13842 __extension__ here.
13843 (__bswap_64): Always define as inline function, not macro. Use
13844 __extension__ on function definition. Use __builtin_bswap64 if
13845 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
13846 * string/test-endian-file-scope.c: New file.
13847 * string/test-endian-sign-conversion.c: Likewise.
13848 * string/Makefile (headers): Remove bits/byteswap-16.h.
13849 (tests): Add test-endian-file-scope and
13850 test-endian-sign-conversion.
13851 (CFLAGS-test-endian-sign-conversion.c): New variable.
13852 * bits/byteswap-16.h: Remove file.
13853 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
13854 * sysdeps/ia64/bits/byteswap.h: Likewise.
13855 * sysdeps/m68k/bits/byteswap.h: Likewise.
13856 * sysdeps/s390/bits/byteswap-16.h: Likewise.
13857 * sysdeps/s390/bits/byteswap.h: Likewise.
13858 * sysdeps/tile/bits/byteswap.h: Likewise.
13859 * sysdeps/x86/bits/byteswap-16.h: Likewise.
13860 * sysdeps/x86/bits/byteswap.h: Likewise.
13861
383e87c9
JM
13862 [BZ #17721]
13863 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
13864 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
13865 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
13866 199901L] (__restrict): Define to restrict.
13867
d92c2759
JM
13868 [BZ #19667]
13869 * string/testcopy.c: Include <support/support.h>. Do not include
13870 <malloc.h>. Use <support/test-driver.c>.
13871 (main): Rename to do_test. Make static. Use xmalloc instead of
13872 malloc.
13873
625fb764
JM
13874 [BZ #13575]
13875 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
13876 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
13877 (SSIZE_MAX): Define to INT_MAX.
13878 * posix/test-ssize-max.c: New file.
13879 * posix/Makefile (tests): Add test-ssize-max.
13880
02325d6c
JM
13881 [BZ #19668]
13882 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
13883 <support/support.h>. Do not include <malloc.h>.
13884 (query_auxv): Use xmalloc instead of malloc.
13885
663e7d78
JM
13886 [BZ #14553]
13887 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
13888 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
13889 instead of loff_t.
13890
6d7aa2b5
FW
138912018-02-06 Florian Weimer <fweimer@redhat.com>
13892
13893 [BZ #18023]
13894 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13895 Use scratch_buffer instead of extend_alloca.
13896
de6da571
ZW
138972018-02-06 Zack Weinberg <zackw@panix.com>
13898
26c07172
ZW
13899 * libio/stdio.h: Don't define getc or putc as macros.
13900 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
13901 not _IO_getc and _IO_putc.
13902
de6da571
ZW
13903 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
13904 * stdio-common/tstgetln.c: Don't redefine ssize_t.
13905
92669d6e
JM
139062018-02-06 Joseph Myers <joseph@codesourcery.com>
13907
c2b84df9
JM
13908 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
13909 (TCP_FASTOPEN_NO_COOKIE): Likewise.
13910
41376f8c
JM
13911 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
13912
d28bf648
JM
13913 [BZ #14890]
13914 * elf/elf.h (NT_PRFPREG): New macro.
13915 (NT_S390_VXRS_LOW): Likewise.
13916 (NT_S390_VXRS_HIGH): Likewise.
13917 (NT_S390_GS_CB): Likewise.
13918 (NT_S390_GS_BC): Likewise.
13919 (NT_S390_RI_CB): Likewise.
13920
e76def72
JM
13921 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
13922 (MAP_SYNC): New macro.
13923 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
13924 Likewise.
13925 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
13926 (MAP_SYNC): Likewise.
13927 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
13928 (MAP_SYNC): Likewise.
13929 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
13930 (MAP_SYNC): Likewise.
13931 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
13932 (MAP_SYNC): Likewise.
13933 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
13934 (MAP_SYNC): Likewise.
13935 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
13936 (MAP_SYNC): Likewise.
13937 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
13938 Likewise.
13939 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
13940 Likewise.
13941
92669d6e
JM
13942 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
13943 (MAP_SHARED_VALIDATE): New macro.
13944 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
13945 (MAP_SHARED_VALIDATE): Likewise.
13946
6a5cac49
L
139472018-02-05 H.J. Lu <hongjiu.lu@intel.com>
13948
13949 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
13950 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
13951 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
13952
b44e0dfb
L
139532018-02-05 H.J. Lu <hongjiu.lu@intel.com>
13954
13955 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
13956 (DT_NUM): Updated to 35.
13957
f886c16c
L
139582018-02-05 H.J. Lu <hongjiu.lu@intel.com>
13959
13960 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
13961 __builtin_expect with __glibc_likely and __glibc_unlikely.
13962 (elf_machine_rela): Likewise.
13963 (elf_machine_lazy_rel): Likewise.
13964
06fbebff
L
139652018-02-05 H.J. Lu <hongjiu.lu@intel.com>
13966
13967 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
8f4bf93f 13968 __builtin_expect with __glibc_likely and __glibc_unlikely.
06fbebff
L
13969 (elf_machine_lazy_rel): Likewise.
13970
371b220f
L
139712018-02-05 H.J. Lu <hongjiu.lu@intel.com>
13972
13973 [BZ #22638]
13974 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
13975 SHARED.
65805016 13976 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
371b220f 13977
f649a1b8
AS
139782018-02-05 Andreas Schwab <schwab@suse.de>
13979
13980 [BZ #22761]
13981 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
13982 string.
13983
9fdb340e
ST
139842018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
13985
13986 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
13987 not check against PTHREAD_STACK_MIN.
13988
09e56b9e
SM
139892018-02-02 Sean McKean <smckean83@gmail.com>
13990
13991 [BZ #22735]
13992 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
13993
d4b4a00a
FW
139942018-02-02 Florian Weimer <fweimer@redhat.com>
13995
13996 [BZ #22753]
13997 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
13998 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
13999 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
14000 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
14001 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
14002 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
14003 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
14004 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
14005 * manual/llio.texi (Scatter-Gather): Mention offset -1.
14006 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
14007 * misc/tst-preadvwritev2.c (do_test): Call it.
14008 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
14009
3dfcbfa1
SP
140102018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
14011
84c94d2f
SP
14012 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
14013
96e6a716
SP
14014 * benchtests/bench-memcmp.c: Print json instead of plain text.
14015
3dfcbfa1
SP
14016 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
14017 every test run.
14018
049375e2
JM
140192018-02-01 Joseph Myers <joseph@codesourcery.com>
14020
39f898c6
JM
14021 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
14022 version to 4.15.
14023 (s390_sthyi): New syscall.
14024
6f9a3dd8
JM
14025 * sysdeps/generic/ldbl-classify-compat.h: New file.
14026 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
14027 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
14028 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
14029 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
14030 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
14031 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
14032 * sysdeps/ieee754/dbl-64/s_finite.c: Include
14033 <ldbl-classify-compat.h>.
14034 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
14035 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
14036 <ldbl-classify-compat.h>.
14037 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
14038 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
14039 <ldbl-classify-compat.h>.
14040 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
14041 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
14042 <ldbl-classify-compat.h>.
14043 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
14044 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
14045 <ldbl-classify-compat.h>.
14046 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
14047 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
14048 <ldbl-classify-compat.h>.
14049 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
14050 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
14051 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
14052 * sysdeps/m68k/coldfire/math_private.h: Remove file.
14053 * sysdeps/microblaze/math_private.h: Likewise.
14054 * sysdeps/nios2/math_private.h: Likewise.
14055 * sysdeps/sh/math_private.h: Likewise.
14056
eb65a3d5
JM
14057 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
14058 * sysdeps/m68k/coldfire/math_private.h: ... here.
14059 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
14060 * sysdeps/tile/math_private.h: Likewise.
14061 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
14062 Remove macro.
14063 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
14064 Likewise.
14065
8a6bb1d0
JM
14066 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
14067 Remove macro.
14068 (libc_fetestexcept): Likewise.
14069 (libc_feupdateenv_test): Likewise.
14070 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
14071 (libc_fetestexcept): Likewise.
14072 (libc_feupdateenv_test): Likewise.
14073 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
14074 (libc_fetestexcept): Likewise.
14075 (libc_feupdateenv_test): Likewise.
14076 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
14077 (libc_fetestexcept): Likewise.
14078 (libc_feupdateenv_test): Likewise.
14079
ae1fcb7b
JM
14080 * sysdeps/generic/math_private.h
14081 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
14082 New inline function.
14083 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
14084 Likewise.
14085
b1c347e2
JM
14086 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
14087 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
14088 * sysdeps/generic/math_private.h
14089 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
14090 inline function.
14091 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
14092 Likewise.
14093 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
14094 Likewise.
14095 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
14096 Likewise.
14097 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
14098 Likewise.
14099 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
14100 Likewise.
14101 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
14102 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
14103 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
14104 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
14105 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
14106 (__fegetenv): Likewise.
14107 (fesetenv): Likewise.
14108 (__fesetenv): Likewise.
14109 (feupdateenv): Likewise.
14110 (__feupdateenv): Likewise.
14111 (fegetround): Likewise.
14112 (__fegetround): Likewise.
14113 (fesetround): Likewise.
14114 (__fesetround): Likewise.
14115
d23a4962
JM
14116 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
14117 (feraiseexcept): New macro.
14118 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
14119 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
14120 Remove macro.
14121 (__feraiseexcept): Likewise.
14122 (feclearexcept): Likewise.
14123 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
14124 (__feraiseexcept): Likewise.
14125 (feclearexcept): Likewise.
14126 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
14127 (__feraiseexcept): Likewise.
14128 (feclearexcept): Likewise.
14129 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
14130 (__feraiseexcept): Likewise.
14131 (feclearexcept): Likewise.
14132 (fetestexcept): Likewise.
14133
5f167950
JM
14134 * sysdeps/m68k/coldfire/math-tests.h: New file.
14135
ccc9035a
JM
14136 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
14137 * sysdeps/m68k/bits/fenv.h: ... here.
14138 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
14139 not define.
14140 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
14141 Likewise.
14142 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
14143 Likewise.
14144 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
14145 Likewise.
14146 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
14147 Likewise.
14148 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
14149 Define to 0.
14150 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
14151 (__FE_UNDEFINED): New enum constant.
14152 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
14153 Do not define.
14154 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
14155 Likewise.
14156 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
14157 Likewise.
14158 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
14159 to match generic bits/fenv.h.
14160 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
14161 Do not define.
14162
049375e2
JM
14163 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
14164 packed on bits.
14165 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
14166 * soft-fp/half.h (union _FP_UNION_H): Likewise.
14167 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
14168 * soft-fp/single.h (union _FP_UNION_S): Likewise.
14169
f1d73681
CD
141702018-02-01 Carlos O'Donell <carlos@redhat.com>
14171 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
14172 Joseph Myers <joseph@codesourcery.com>
14173
14174 [BZ #21314]
14175 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
14176 (__log1p): Disable -Wmaybe-uninitialized for -Os around
14177 computation using c.
14178 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
14179 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
14180 computation using c.
14181
242cbc90
DL
141822018-02-01 Dmitry V. Levin <ldv@altlinux.org>
14183
086ee48e
DL
14184 * version.h (RELEASE): Set to "development".
14185 (VERSION): Set to "2.27.9000".
14186 * NEWS (2.28): New section.
14187
23158b08
DL
14188 * version.h (RELEASE): Set to "stable".
14189 (VERSION): Set to "2.27".
14190 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
14191
242cbc90
DL
14192 * NEWS: Add the list of bugs fixed in 2.27.
14193
673e2305
AZ
141942018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14195
14196 * stdlib/test-atexit-race-common.c (do_test): Check stack size
14197 against PTHREAD_STACK_MIN.
14198
ced64e01
DL
141992018-02-01 Dmitry V. Levin <ldv@altlinux.org>
14200
14201 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
14202 New entries.
14203 (Rafal Luzynski, Andreas Schwab): Update.
14204
c10c9a5e
RL
142052018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
14206
14207 [BZ #10871]
14208 * NEWS: List the languages which actually use the alternative
14209 months feature in this release. Also explain that "alt_mon" and
14210 "ab_alt_mon" are optional.
14211
650ba77a
IM
142122018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
14213
14214 [BZ #22765]
14215 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
14216
93493119
DL
142172018-01-31 Dmitry V. Levin <ldv@altlinux.org>
14218
14219 * manual/install.texi (Tools for Compilation): Update the newest
14220 versions of gcc, binutils, texinfo, gawk, bison, and sed.
14221 * INSTALL: Regenerated.
14222
363e4519 142232018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
407552cf
ST
14224
14225 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
14226 instead of __builtin_expect.
14227
d7536874
FW
142282018-01-30 Florian Weimer <fweimer@redhat.com>
14229
14230 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
14231 data.
14232 * nss/tst-nss-getpwent.c (do_test): Likewise.
14233
9a1b267d
RL
142342018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
14235
14236 [BZ #10871]
14237 * localedata/locales/hr_HR (mon): Rename to...
14238 (alt_mon): This.
14239 (mon): Import from CLDR (genitive case).
14240 (d_t_fmt): Update the comment.
14241
9a179328
AS
142422018-01-29 Andreas Schwab <schwab@linux-m68k.org>
14243
14244 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
14245 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
14246 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
14247
e01e0ddc
ST
142482018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
14249
14250 * mach/Versions: Fix version when __mach_host_self_ was added.
14251 * hurd/Versions: Fix version when _hurd_exec_paths was added.
14252 * sysdeps/mach/hurd/i386/ld.abilist: New file.
14253 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
14254 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
14255 * sysdeps/mach/hurd/i386/libc.abilist: New file.
14256 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
14257 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
14258 * sysdeps/mach/hurd/i386/libm.abilist: New file.
14259 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
14260 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
14261 * sysdeps/mach/hurd/i386/librt.abilist: New file.
14262 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
ba729de6
ST
14263 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
14264 || to respect codestyle.
2aadb705
ST
14265 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
14266 (do_test_bz20181): Rename accordingly.
406e7a0a
ST
14267 * malloc/malloc.c: Include <assert.h>.
14268 (assert): Do not define.
14269 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
99dfbef4
ST
14270 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
14271 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
ac56adbb 14272 * sysdeps/mach/hurd/hp-timing.h: New file.
ef4cf463 14273 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
e01e0ddc 14274
521877e1
PD
142752018-01-29 Darius Rad <darius@bluespec.com>
14276
14277 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
14278
532cf290
PD
142792018-01-29 Palmer Dabbelt <palmer@sifive.com>
14280
14281 * sysdeps/init_array/crti.S (.section .init_array): Add
14282 PREINIT_FUNCTION when defined.
40ca951b 14283 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
4215e276 14284 * config.h.in: Regenerate.
ba9e25a6
PD
14285 * manual/platform.texi: Add RISC-V documenation for
14286 __riscv_flush_icache.
c776fa11
PD
14287 * sysdeps/riscv/__longjmp.S: New file.
14288 * sysdeps/riscv/backtrace.c: Likewise.
14289 * sysdeps/riscv/bits/endian.h: Likewise.
14290 * sysdeps/riscv/bits/setjmp.h: Likewise.
14291 * sysdeps/riscv/bits/wordsize.h: Likewise.
14292 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
14293 * sysdeps/riscv/bsd-setjmp.c: Likewise.
14294 * sysdeps/riscv/dl-trampoline.S: Likewise.
14295 * sysdeps/riscv/gccframe.h: Likewise.
14296 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
14297 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
14298 * sysdeps/riscv/machine-gmon.h: Likewise.
14299 * sysdeps/riscv/memusage.h: Likewise.
14300 * sysdeps/riscv/setjmp.S: Likewise.
14301 * sysdeps/riscv/sys/asm.h: Likewise.
14302 * sysdeps/riscv/tls-macros.h: Likewise.
33712660
PD
14303 * sysdeps/riscv/dl-tls.h: New file.
14304 * sysdeps/riscv/libc-tls.c: Likewise.
14305 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
14306 * sysdeps/riscv/nptl/tls.h: Likewise.
14307 * sysdeps/riscv/stackinfo.h: Likewise.
67236aeb
PD
14308 * sysdeps/riscv/bits/fenv.h: New file.
14309 * sysdeps/riscv/e_sqrtl.c: Likewise.
14310 * sysdeps/riscv/fpu_control.h: Likewise.
14311 * sysdeps/riscv/math-tests.h: Likewise.
14312 * sysdeps/riscv/nofpu/Implies: Likewise.
14313 * sysdeps/riscv/sfp-machine.h: Likewise.
14314 * sysdeps/riscv/tininess.h: Likewise.
b2cb5e02
PD
14315 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
14316 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
14317 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
14318 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
14319 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
14320 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
14321 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
14322 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
14323 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
14324 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
14325 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
14326 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
14327 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
14328 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
14329 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
14330 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
14331 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
14332 * sysdeps/riscv/rvd/s_finite.c: Likewise.
14333 * sysdeps/riscv/rvd/s_fma.c: Likewise.
14334 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
14335 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
14336 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
14337 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
14338 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
14339 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
14340 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
14341 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
14342 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
14343 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
14344 * sysdeps/riscv/rvf/fegetround.c: Likewise.
14345 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
14346 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
14347 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
14348 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
14349 * sysdeps/riscv/rvf/fesetround.c: Likewise.
14350 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
14351 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
14352 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
14353 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
14354 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
14355 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
14356 * sysdeps/riscv/rvf/math_private.h: Likewise.
14357 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
14358 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
14359 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
14360 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
14361 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
14362 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
14363 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
14364 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
14365 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
14366 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
14367 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
14368 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
14369 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
14370 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
14371 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
14372 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
d1c09b24
PD
14373 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
14374 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
14375 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
14376 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
36960f0c
PD
14377 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
14378 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
14379 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
14380 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
14381 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
14382 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
14383 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
14384 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
14385 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
7f33b09c
PD
14386 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
14387 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
14388 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
14389 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
14390 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
14391 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
14392 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
14393 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
14394 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
14395 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
14396 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
14397 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
14398 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
14399 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
14400 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
14401 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
14402 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
14403 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
14404 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
14405 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
14406 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
14407 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
ee53fed9
PD
14408 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
14409 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
14410 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
2268c433
PD
14411 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
14412 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
14413 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
14414 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
14415 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
14416 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
14417 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
14418 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
14419 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
14420 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
14421 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14422 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
14423 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
14424 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
c5061557
PD
14425 * sysdeps/riscv/Implies: New file.
14426 * sysdeps/riscv/Makefile: Likewise.
14427 * sysdeps/riscv/configure: Likewise.
14428 * sysdeps/riscv/configure.ac: Likewise.
14429 * sysdeps/riscv/nptl/Makefile: Likewise.
14430 * sysdeps/riscv/preconfigure: Likewise.
14431 * sysdeps/riscv/rv64/Implies-after: Likewise.
14432 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
14433 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
14434 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
14435 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
14436 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
14437 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
14438 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
14439 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
14440 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
14441 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
14442 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
0fd5d876
PD
14443 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
14444 (Config): Likewise.
532cf290 14445
cdd14619
FW
144462018-01-29 Florian Weimer <fweimer@redhat.com>
14447
14448 [BZ #22701]
14449 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
14450 libnsl_hidden_proto.
14451 * include/rpcsvc/yp.h (yp_xdrall): Declare with
14452 libnsl_hidden_proto.
14453 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
14454 * nis/Makefile (libnsl-routines): Add nss-default only for
14455 build-obsolete-nsl.
14456 * nis/nis_defaults.c (__nis_default_ttl): Add
14457 libnsl_hidden_nolink_def.
14458 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
14459 declaration.
14460 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
14461 * nis/ypclnt.c (yp_maplist): Likewise.
14462
b7ccb5de
RN
144632018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
14464
14465 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14466 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
14467
522623e4
JM
144682018-01-29 Joseph Myers <joseph@codesourcery.com>
14469
e3aa6999
JM
14470 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
14471 clean -dxfq for git updates when replacing sources.
14472
088de7d0
JM
14473 * scripts/build-many-glibcs.py (Config.build_gcc): Use
14474 --disable-libcilkrts unconditionally, not just for the final GCC
14475 build for Hurd.
14476
522623e4
JM
14477 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
14478 version to 4.15.
14479
8b406f87
RL
144802018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
14481
14482 [BZ #10871]
14483 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
14484 case).
14485
105e90bd
RL
144862018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
14487
14488 [BZ #10871]
14489 * localedata/locales/be_BY (mon): Rename to...
14490 (alt_mon): This, then synchronize with CLDR (nominative case).
14491 (abmon): Rename to...
14492 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
14493 (mon): Import from CLDR (genitive case).
14494 (abmon): Likewise.
14495 * localedata/locales/be_BY@latin (mon): Rename to...
14496 (alt_mon): This.
14497 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
14498
14499 * localedata/locales/be_BY@latin (lang_name): Reworded to
14500 "biełaruskaja mova".
14501
561cb414
RL
145022018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
14503
14504 [BZ #10871]
14505 * localedata/locales/el_CY (mon): Renamed to...
14506 (alt_mon): This.
14507 (mon): Import from CLDR (genitive case).
14508 * localedata/locales/el_GR: Likewise.
14509
f7bdf30d
RL
145102018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
14511
14512 [BZ #10871]
14513 * localedata/locales/ru_RU (mon): Rename to...
14514 (alt_mon): This.
14515 (abmon): Rename to...
14516 (ab_alt_mon): This.
14517 (mon): Import from CLDR (genitive case).
14518 (abmon): Copy from the old content except the 5th month which is
14519 now in the genitive case, even when abbreviated.
14520 * localedata/locales/ru_UA: Likewise.
14521 * time/tst-strptime.c (day_tests): Add an actual example of
14522 a difference between %b and %Ob in Russian.
14523
85285a0c
ST
145242018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
14525
14526 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
da8168df
ST
14527 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
14528 a `c' variable.
3538a4b6 14529 * resolv/res-close.c: Include <stdlib.h>.
b29848b9
ST
14530 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
14531 <sys/wait.h>, <time.h>, <sys/uio.h>.
14532 (NOT_CANCEL_H): Add inclusion guard.
4f66dc23 14533 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
147d1dbb
ST
14534 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
14535 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
14536 return 0.
05ebfe87
ST
14537 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
14538 vm_address_t * to ElfW(Addr) * for dl_main parameter.
61a3a8c6
ST
14539 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
14540 instead of void *.
14541 * sysdeps/pthread/timer_create.c (timer_create): Do not use
14542 timer_ptr2id to cast struct timer_node * to void *.
d4d5b2dd
ST
14543 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
14544 --disable-libcilkrts to gcc configure.
19fd8d0d
ST
14545 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
14546 and make them the default for now.
903d3633
ST
14547 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
14548 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
7dab2d00
ST
14549 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
14550 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
14551 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
14552 MACH_IPC_COMPAT.
06fac9f5
ST
14553 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
14554 __task_terminate would ever return successfully.
f8177753
ST
14555 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
14556 to global scope.
41cdb1eb
ST
14557 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
14558 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
660b7bff
ST
14559 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
14560 critical section to make code simpler and avoid warning.
14561 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
14562 critical section to make code simpler and avoid warning.
844bf921
ST
14563 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
14564 const char * instead of char *.
f8bee46c
ST
14565 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
14566 __hurd_file_name_split, hurd_file_name_split,
14567 __hurd_directory_name_split, hurd_directory_name_split,
14568 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
14569 hurd_file_name_path_lookup): Make lookup function parameter take a
14570 const char *name instead of char *name.
14571 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
14572 __hurd_directory_name_split): Likewise.
14573 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
14574 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
40066975
ST
14575 * sysdeps/mach/hurd/check_native.c: New file.
14576 * sysdeps/mach/hurd/check_pf.c: New file.
7c5b106d
ST
14577 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
14578 (__freeifaddrs): Define macro to freeifaddrs.
5f982b0b
ST
14579 * sysdeps/mach/hurd/libhurduser.abilist: New file.
14580 * sysdeps/mach/libmachuser.abilist: New file.
cef7166a
ST
14581 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
14582 (do_test_bz20181): Rename accordingly.
14583 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
3fc1ecf9
ST
14584 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
14585 <sys/mount.h>.
28f6186f
ST
14586 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
14587 version only if __USE_EXTERN_INLINES is defined.
14588 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
14589 __hurd_sockfail): Likewise.
14590 (_hurd_fd_get): Always declare functions, and provide inline versions
14591 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
14592 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
14593 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
14594 _hurd_port_set): Always declare functions, and provide inline versions
14595 only if __USE_EXTERN_INLINES and _LIBC are defined and
14596 IS_IN(libc).
14597 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
14598 _hurd_critical_section_unlock): Likewise.
14599 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
14600 * __hurd_threadvar_location): Likewise.
14601 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
14602 _hurd_userlink_clear): Likewise.
14603 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
14604 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
14605 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
14606 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
14607 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
14608 __spin_lock_locked): Likewise.
14609 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
14610 __spin_lock_locked): Likewise.
14611 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
14612 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
14613 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
14614 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
14615 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
b1025304
ST
14616 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
14617 _POSIX_NO_TRUNC): Define to 0.
a902a086
ST
14618 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
14619 check size against PTHREAD_STACK_MIN.
625ba81e
ST
14620 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
14621 IS_IN(libpthread)]: Include <sigsetops.h>.
2e52dff4
ST
14622 * mach/Makefile (user-interfaces): Add mach/gnumach.
14623 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
14624 * sysdeps/mach/configure (mach_interface_list): Regenerate.
80463dc6
ST
14625 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
14626 instead of invalid -1.
1f89ac71
ST
14627 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
14628 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
14629 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
14630 <net/ppp_defs.h>.
85285a0c 14631
1fd1e27c 146322018-01-27 Thomas Schwinge <tschwinge@gnu.org>
84814e2a
TS
14633
14634 * hurd/fcntl-internal.h: New file.
14635
3854c5a8
JC
146362018-01-27 James Clarke <jrtc27@jrtc27.com>
14637
7e23a7dd
JC
14638 * sysdeps/hppa/fpu/libm-test-ulps: Update.
14639
3854c5a8
JC
14640 * sysdeps/alpha/fpu/libm-test-ulps: Update.
14641
5503f413
AS
146422018-01-26 Andreas Schwab <schwab@linux-m68k.org>
14643
14644 [BZ #22701]
14645 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
14646 Build only shared objects.
14647
caaf7804
CD
146482018-01-26 Carlos O'Donell <carlos@redhat.com>
14649
14650 * README: Update for hppa.
14651
1cbf818d
PM
146522018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
14653
caaf7804
CD
14654 * sysdeps/sparc/fpu/libm-test-ulps: Update
14655 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
1cbf818d 14656
caaf7804 146572018-01-26 Carlos O'Donell <carlos@redhat.com>
2ec0e7ea
CD
14658
14659 Revert:
14660
14661 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
14662
14663 [BZ #22563]
14664 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
14665 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
14666 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
14667 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
14668 to feature_1.
14669
14670 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
14671
14672 [BZ #22563]
14673 * bits/types/__cancel_jmp_buf_tag.h: New file.
14674 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
14675 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
14676 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
14677 * nptl/Makefile (headers): Add
14678 bits/types/__cancel_jmp_buf_tag.h.
14679 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
14680 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
14681 * sysdeps/nptl/pthread.h: Include
14682 <bits/types/__cancel_jmp_buf_tag.h>.
14683 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
14684 __cancel_jmp_buf.
14685 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
14686
65f6c94e
RL
146872018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
14688
14689 [BZ #10871]
14690 * localedata/locales/uk_UA (mon): Renamed to...
14691 (alt_mon): This.
14692 (alt_digits): "0" removed and then renamed to...
14693 (mon): This.
14694 (date_fmt): Definition changed not to use the alternative
14695 digits hack.
14696
fb58aac5
PD
146972018-01-25 Palmer Dabbelt <palmer@sifive.com>
14698
14699 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
14700 FLAG_RISCV_FLOAT_ABI_DOUBLE.
14701 * elf/elf.h (EF_RISCV_RVC): New define.
14702 (EF_RISCV_FLOAT_ABI): Likewise.
14703 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
14704 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
14705 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
14706 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
14707 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
14708 define.
14709 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
14710
128c43a2
AS
147112018-01-25 Andreas Schwab <schwab@suse.de>
14712
14713 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
14714 single quotes.
14715 * sysdeps/gnu/configure: Regenerate.
14716 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
14717 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
14718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
14719 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
14720 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
14721 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
14722 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
14723 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
14724
f9015003
ST
147252018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
14726
48130690 14727 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
47c4b4b0 14728 URL, and run autoconf, make it the default for now.
f9015003 14729
91b2cffa
JM
147302018-01-24 Joseph Myers <joseph@codesourcery.com>
14731
3005b705
JM
14732 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
14733 soft-float ColdFire configuration.
14734
69231fab
JM
14735 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
14736 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
14737 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
14738
d4c7e1d0
JM
14739 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
14740 MicroBlaze file.
14741
0cfe5be5
JM
14742 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
14743 ....
14744 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
14745 ... here.
14746 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
14747 New file.
14748
91b2cffa
JM
14749 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
14750 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
14751 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
14752 file.
14753
c739e191
SN
147542018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
14755
14756 [BZ #22742]
14757 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
14758 Rename to __reserved and add comment.
14759 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
14760 Rename to __reserved.
14761
394b5bac
JM
147622018-01-24 Joseph Myers <joseph@codesourcery.com>
14763
14764 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
14765 i686-gnu configurations.
14766 (Context.run_builds): Include mig, gnumach and hurd in components
14767 considered.
14768 (Context.checkout): Add mig, gnumach and hurd to components.
14769 (Context.checkout_tar): Add URL mappings for mig, gnumach and
14770 hurd.
14771 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
14772 (Config.build): Install gnumach headers, build mig and install
14773 hurd headers for 'gnu' OS.
14774 (Config.install_gnumach_headers): New function.
14775 (Config.install_hurd_headers): Likewise.
14776 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
14777 when building for 'gnu' OS.
14778
28c3f14f
TK
147792018-01-23 Tobias Klauser <tklauser@distanz.ch>
14780
14781 * manual/tunables.texi (Hardware Capability Tunables): Fix
14782 spelling.
14783
0f5e2da1
RJ
147842018-01-22 Rical Jasan <ricaljasan@pacific.net>
14785
14786 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
14787 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
14788 (ALTMON_11, ALTMON_12): Improve documentation.
14789 * manual/time.texi (strftime): Likewise.
14790
7817b14a
RL
147912018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
14792
14793 [BZ #10871]
14794 * localedata/locales/pl_PL: Alternative month names added,
14795 primary month names are genitive now.
14796 * time/tst-strptime.c (day_tests): Actually use a genitive case
14797 of a month name in Polish language.
14798
22390764
RL
147992018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
14800
14801 [BZ #10871]
14802 * manual/locale.texi: Document ALTMON_1..12 constants for
14803 nl_langinfo. Specify when to use ALTMON instead of MON.
14804 * manual/time.texi (strftime, strptime): Document GNU extension
14805 permitting O modifier with %B and %b. Specify when to use
14806 %OB instead of %B.
14807
761a585c
RL
148082018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
14809
14810 [BZ #10871]
14811 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
14812 names, define them as the same as abbreviated month names explicitly.
14813 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
14814 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
14815 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
14816 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
14817 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
14818 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
14819 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
14820 _NL_WABALTMON_12): New enum constants.
14821 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
14822 wab_alt_mon, and ab_alt_mon_defined members.
14823 (time_output): Output ab_alt_mon and wab_alt_mon members.
14824 (time_read): Read them, initialize them as copies of abmon and wabmon
14825 respectively if they are missing, initialize ab_alt_mon_defined.
14826 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
14827 * locale/programs/locfile-kw.h: Regenerate.
14828 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
14829 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
14830 and ru_RU.UTF-8.
14831 * time/strftime_l.c (a_altmonth, aam_len): New macros.
14832 [!COMPILE_WIDE] (ABALTMON_1): New macro.
14833 (__strftime_internal): Handle %Ob and %Oh formats.
14834 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
14835 (__strptime_internal): Handle %Ob and %Oh formats.
14836 * time/tst-strptime.c (day_tests): Add more tests to parse different
14837 forms of month names including the new %Ob format specifier.
14838
95cb863a
RL
148392018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
14840
14841 [BZ #10871]
14842 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
14843 define them as the same as primary full month names explicitly.
14844 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
14845 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
14846 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
14847 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
14848 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
14849 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
14850 _NL_WALTMON_12): New enum constants.
14851 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
14852 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
14853 macros.
14854 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
14855 walt_mon, and alt_mon_defined members.
14856 (time_output): Output alt_mon and walt_mon members.
14857 (time_read): Read them, initialize them as copies of mon and wmon
14858 respectively if they are missing, initialize alt_mon_defined.
14859 * locale/programs/locfile-kw.gperf (alt_mon): Define.
14860 * locale/programs/locfile-kw.h: Regenerate.
14861 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
14862 * localedata/tst-langinfo.c (map): Add tests for the new constants
14863 ALTMON_1 .. ALTMON_12.
14864 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
14865 and pl_PL.UTF-8.
14866 * time/strftime_l.c (f_altmonth): New macro.
14867 (__strftime_internal): Handle %OB format.
14868 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
14869 (__strptime_internal): Handle %OB format.
14870 * time/tst-strptime.c (day_tests): Add tests to parse different forms
14871 of month names including the new %OB format specifier.
14872
4612268a
TMQMF
148732018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14874
14875 [BZ #22685]
14876 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
14877 from ABORT_TRANSACTION.
14878 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
14879 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
14880 ABORT_TRANSACTION_IMPL): Likewise.
14881 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
14882 Linux code, but remove the code that aborts transactions.
14883
64f63cb4
ST
148842018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
14885
14886 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
14887
32ac6e92
RL
148882018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
14889
14890 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
14891 in date: "2004-14-09" should be "2004-09-14".
14892 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
14893 "2003-15-09" should be "2003-09-15".
14894
8e448310
AS
148952018-01-18 Arjun Shankar <arjun@redhat.com>
14896
14897 [BZ #22343]
71aa429b 14898 [BZ #22774]
4590634f 14899 CVE-2018-6485
71aa429b 14900 CVE-2018-6551
8e448310
AS
14901 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
14902 after padding.
14903 (_int_memalign): check for integer overflow before calling
14904 _int_malloc.
14905 * malloc/tst-malloc-too-large.c: New test.
14906 * malloc/Makefile: Add tst-malloc-too-large.
14907
e234d7cb
RL
149082018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
14909
14910 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
14911 in date: "2017-24-07" should be "2017-07-24".
14912 * localedata/locales/mai_IN: Likewise.
14913 * localedata/locales/mai_NP: Likewise.
14914
48b66019
DL
149152018-01-17 Dmitry V. Levin <ldv@altlinux.org>
14916
14917 * po/ru.po: Update translations.
14918
1eeddc58
JM
149192018-01-17 Joseph Myers <joseph@codesourcery.com>
14920
14921 [BZ #22719]
14922 * sysdeps/hppa/backtrace.c: New file.
14923
207a72e2
L
149242018-01-17 H.J. Lu <hongjiu.lu@intel.com>
14925
14926 [BZ #22715]
14927 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
14928 align La_x86_64_retval to VEC_SIZE.
14929
4942c4ea
JM
149302018-01-16 Joseph Myers <joseph@codesourcery.com>
14931
14932 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
14933 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
14934
10d200db
FW
149352018-01-16 Florian Weimer <fweimer@redhat.com>
14936
14937 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
14938 Move tst-thread-exit-clobber ...
14939 [$(CXX)] (tests-unsupported): ... to here.
14940
953c49cc
SN
149412018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
14942
14943 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
14944 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
14945 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
14946 (_dl_aarch64_cap_flags): Update.
14947 (_DL_HWCAP_COUNT): Update.
14948
afce1991
SN
149492018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
14950
14951 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
14952 (_DL_HWCAP_LAST): Remove.
14953 (_DL_HWCAP_COUNT): Move to ...
14954 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
14955 (_DL_HWCAP_COUNT): ... here.
14956
b725132d
FW
149572018-01-16 Florian Weimer <fweimer@redhat.com>
14958
14959 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
14960 mode with GNU extensions.
14961
c9e613a7
AH
149622018-01-15 Alan Hayward <alan.hayward@arm.com>
14963
14964 * elf/elf.h (NT_ARM_SVE): Define.
14965
860b0240
FW
149662018-01-15 Florian Weimer <fweimer@redhat.com>
14967
14968 [BZ #22636]
14969 * nptl/tst-minstack-throw.cc: New file.
14970 * nptl/Makefile (tests): Add tst-minstack-throw.
14971 (LDLIBS-tst-minstack-throw): Link with libstdc++.
14972 [!CXX] (tests-unsupported): Add tst-minstack-throw.
14973
16d0f6ac
JM
149742018-01-15 Joseph Myers <joseph@codesourcery.com>
14975
14976 * scripts/build-many-glibcs.py (Context.checkout): Default
14977 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
14978 version to 1.1.0.
14979
505d3910
CD
149802018-01-13 Carlos O'Donell <carlos@redhat.com>
14981
14982 [BZ #22707]
14983 * elf/elf.h (DF_1_STUB): Define.
14984 (DF_1_PIE): Define.
14985
af1e6be4
TMQMF
149862018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14987
14988 [BZ #22697]
14989 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
14990 Do not add 0.5 to integer or out-of-range arguments.
14991
98d13ce0
DL
149922018-01-12 Dmitry V. Levin <ldv@altlinux.org>
14993
14994 * po/bg.po: Update translations.
14995 * po/cs.po: Likewise.
14996 * po/de.po: Likewise.
14997 * po/ko.po: Likewise.
14998 * po/pl.po: Likewise.
14999 * po/sv.po: Likewise.
15000 * po/uk.po: Likewise.
15001 * po/vi.po: Likewise.
15002
3d1d7928
SN
150032018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
15004
15005 * aarch64/start.S (_start): Use __wrap_main.
15006 (__wrap_main): New local symbol.
15007
52a713fd
DL
150082018-01-12 Dmitry V. Levin <ldv@altlinux.org>
15009
15010 [BZ #22679]
15011 CVE-2018-1000001
15012 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
15013 generic_getcwd if the path returned by getcwd syscall is not absolute.
15014 * io/tst-getcwd-abspath.c: New test.
15015 * io/Makefile (tests): Add tst-getcwd-abspath.
15016
249a5895
IK
150172018-01-12 Istvan Kurucsai <pistukem@gmail.com>
15018
15019 * malloc/malloc.c (malloc_consolidate): Add size check.
15020
1a51e46e
FW
150212018-01-12 Florian Weimer <fweimer@redhat.com>
15022
15023 * support/write_message.c (write_message): Preserve errno.
15024 * support/check.c (print_failure): Likewise.
15025 * support/support_test_verify_impl.c (support_test_verify_impl):
15026 Likewise.
15027 * support/support_test_compare_failure.c
15028 (support_test_compare_failure): Likewise.
15029
9a08a366
FW
150302018-01-12 Florian Weimer <fweimer@redhat.com>
15031
15032 [BZ #22701]
15033 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
15034 Prevent installation of libnsl.so.
15035 (libnsl-inhibit-o): Do not build (or install) static libraries.
15036
80647883 150372018-01-12 Egmont Koblinger <egmont@gmail.com>
f172187b
EK
15038
15039 [BZ #22657]
15040 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
15041 before the day number which may produce a double space.
15042 (date_fmt): Likewise.
15043
c8924f1f
JM
150442018-01-12 Joseph Myers <joseph@codesourcery.com>
15045
15046 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
15047 instead of fegetenv.
15048
da09e6fa
JM
150492018-01-11 Joseph Myers <joseph@codesourcery.com>
15050
15051 [BZ #22702]
15052 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
15053 comment to say exceptions are discarded.
15054 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
15055 __fegetenv.
15056 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
15057 be enabled.
15058
08c6e952
FW
150592018-01-11 Florian Weimer <fweimer@redhat.com>
15060
15061 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
15062 and error message.
15063
d8b77890
FW
150642018-01-11 Florian Weimer <fweimer@redhat.com>
15065
15066 [BZ #22636]
15067 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
15068 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
15069
b303185d
JM
150702018-01-10 Joseph Myers <joseph@codesourcery.com>
15071
15072 [BZ #22693]
15073 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
15074 negative arguments in test for NaN or infinity argument.
15075
ee61d028
DL
150762018-01-10 Dmitry V. Levin <ldv@altlinux.org>
15077
15078 * po/libc.pot: Regenerate.
15079
f993b875
FW
150802018-01-10 Florian Weimer <fweimer@redhat.com>
15081
15082 [BZ #22636]
15083 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
15084 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
15085
09085ede
ST
150862018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15087
15088 * hurd/hurd/fd.h: Include <fcntl.h>
15089 (__hurd_at_flags): New function.
15090 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
15091 with call to __hurd_at_flags.
15092 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
15093 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
15094 __faccessat
15095 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
15096 (__access_noerrno): Use __faccessat_common instead of access_common.
15097 (__access): Likewise.
15098 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
15099 with a call to __faccessat.
15100 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
15101 (__faccessat_common): ... this. Move implementation of __access into it when
15102 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
15103 reauthenticate_cwdir_at helper to implement AT mechanism.
15104 (__faccessat_noerrno): New function, just calls __faccessat_common.
15105 (__faccessat): New function, just calls __faccessat_common.
15106 (faccessat): Define weak alias.
15107
12727488
JM
151082018-01-10 Joseph Myers <joseph@codesourcery.com>
15109
87faac55
JM
15110 [BZ #22691]
15111 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15112 (CFLAGS-s_fmaxmagl.c): New variable.
15113 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
15114
12727488
JM
15115 [BZ #22690]
15116 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
15117 long int for arguments of possibly overflowing addition or
15118 subtraction.
15119 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
15120
e134ca17
JM
151212018-01-09 Joseph Myers <joseph@codesourcery.com>
15122
b2584ac2
JM
15123 [BZ #22688]
15124 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15125 (CFLAGS-e_remainderl.c): New variable.
15126
e134ca17
JM
15127 [BZ #22687]
15128 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
15129 variable.
15130 (CFLAGS-s_cacoshl.c): Likewise.
15131 (CFLAGS-s_casinhl.c): Likewise.
15132 (CFLAGS-s_catanl.c): Likewise.
15133 (CFLAGS-s_catanhl.c): Likewise.
15134 (CFLAGS-s_cexpl.c): Likewise.
15135 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
15136 (CFLAGS-s_csinhl.c): Likewise.
15137 (CFLAGS-s_clogl.c): Likewise.
15138 (CFLAGS-s_clog10l.c): Likewise.
15139 (CFLAGS-s_csinl.c): Likewise.
15140 (CFLAGS-s_csqrtl.c): Likewise.
15141
d31a4a48
ST
151422017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
151432017-01-09 Svante Signell <svante.signell@gmail.com>
311ba8dc
ST
15144
15145 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
15146 (_hurd_exec_paths): New function.
15147 * hurd/hurd.h (_hurd_exec): Deprecate function.
15148 (_hurd_exec_paths): Declare function.
15149 * hurd/Versions: Export _hurd_exec_paths.
15150 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
15151 (__execve): Use __getcwd to build absolute path, and use
15152 _hurd_exec_paths instead of _hurd_exec.
15153 * sysdeps/mach/hurd/spawni.c: Likewise.
15154 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
15155 _hurd_exec.
15156
d7ff3f11
DL
151572018-01-08 Dmitry V. Levin <ldv@altlinux.org>
15158
15159 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
15160 test instead of failing in case of ENOENT returned by posix_openpt.
15161
401311cf
FW
151622018-01-08 Florian Weimer <fweimer@redhat.com>
15163
15164 resolv: Support binary labels in test framework.
15165 * support/resolv_test.c (struct to_be_freed): Remove.
15166 (struct compressed_name): New.
15167 (allocate_compressed_name, ascii_tolower)
15168 (compare_compressed_name): New functions.
15169 (struct resolv_response_builder): Update type of
15170 compression_offsets for use with tsearch. Rempve to_be_freed.
15171 (response_push_pointer_to_free): Remove function.
15172 (resolv_response_add_name): Rewrite using struct compressed_name
15173 and tsearch instead of hsearch_r.
15174 (response_builder_allocate): Remove initialization of
15175 compression_offsets.
15176 (response_builder_free): Update for removal of to_be_freed. Use
15177 tdestroy instead of hdestroy_r.
15178 * resolv/Makefile (tests): Add tst-resolv-binary.
15179 (tst-resolv-binary): Link with -lresolv -lpthread.
15180
2b3aa446
FW
151812018-01-08 Florian Weimer <fweimer@redhat.com>
15182
15183 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
15184 time. Pass positive flag instead of negative flag to
15185 support_test_compare_failure.
15186 (support_test_compare_failure): Change negative parameter to
15187 positive.
15188 * support/support_test_compare_failure.c (report)
15189 (support_test_compare_failure): Likewise.
15190 * support/tst-test_compare.c (return_ssize_t, return_int): New.
15191 (do_test): Check int/size_t, ssize_t/size_t comparisons.
15192
630f4cc3
SN
151932018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
15194
15195 [BZ #22637]
15196 * nptl/descr.h (stackblock, stackblock_size): Update comments.
15197 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
15198 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
15199 stacksize.
15200 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
15201
c70e4e9c
L
152022018-01-08 H.J. Lu <hongjiu.lu@intel.com>
15203
15204 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
15205 Add s_sincosf-sse2 and s_sincosf-fma.
15206 (CFLAGS-s_sincosf-fma.c): New.
15207 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
15208 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
15209 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
15210 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
15211 __sincosf is defined.
15212
579396ee
FW
152132018-01-08 Florian Weimer <fweimer@redhat.com>
15214
15215 * nptl/tst-thread-exit-clobber.cc: New file.
15216 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
15217 C++11 mode.
15218 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
15219 (tests): Add tst-thread-exit-clobber.
15220 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
15221
dabd75b6
FW
152222018-01-08 Florian Weimer <fweimer@redhat.com>
15223
15224 * support/check.h (support_static_assert): Define.
15225 (TEST_COMPARE): Use it.
15226
c2e014cc
AJ
152272018-01-07 Aurelien Jarno <aurelien@aurel32.net>
15228
15229 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
15230 [!__RLIM_T_MATCHES_RLIM64_T]
15231 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
15232 __getrlimit64. Add libc_hidden_weak.
15233
31a98837
PD
152342018-01-06 Palmer Dabbelt <palmer@sifive.com>
15235
15236 * elf/elf.h (R_RISCV_NONE): New define.
15237 (R_RISCV_32): Likewise.
15238 (R_RISCV_64): Likewise.
15239 (R_RISCV_RELATIVE): Likewise.
15240 (R_RISCV_COPY): Likewise.
15241 (R_RISCV_JUMP_SLOT): Likewise.
15242 (R_RISCV_TLS_DTPMOD32): Likewise.
15243 (R_RISCV_TLS_DTPMOD64): Likewise.
15244 (R_RISCV_TLS_DTPREL32): Likewise.
15245 (R_RISCV_TLS_DTPREL64): Likewise.
15246 (R_RISCV_TLS_TPREL32): Likewise.
15247 (R_RISCV_TLS_TPREL64): Likewise.
00505532
PD
15248 * Makerules (make-link-multidir): Make directories before linking into
15249 them.
150bbac1
PD
15250 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
15251 define.
15252 (VDSO_HASH_LINUX_4_15): Likewise.
1598f3ad
PD
15253 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
15254 in subdirectories of lib.
8e13c51b
PD
15255 * nptl/Makefile (/librt.so): Always depend on
15256 "$(shared-thread-library)".
31a98837 15257
fad7d57e
ST
152582018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15259
15260 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
4a5ce6e9
ST
15261 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
15262 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
15263 (___tls_get_addr).
15264 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
107a35a5
ST
15265 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
15266 "-O2 -march=i686".
01c7e549 15267 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
f417d92c
ST
15268 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
15269 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
15270 * sysdeps/gnu/glob-lstat-compat.c: New file.
15271 * sysdeps/gnu/glob64-lstat-compat.c: New file.
200fc24b 15272 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
fad7d57e 15273
3a32b716
TMQMF
152742018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15275
15276 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
15277 Reserve 16 chars to reloc_addr before calling _itoa_word.
15278
24731685
AJ
152792018-01-05 Aurelien Jarno <aurelien@aurel32.net>
15280
15281 [BZ #22678]
15282 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
15283 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
15284
19be56d8
AJ
15285 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
15286 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
15287
a6d0afb5
AJ
15288 * resource/tst-getrlimit.c: Add copyright header.
15289
8e900969
AJ
152902018-01-05 Aurelien Jarno <aurelien@aurel32.net>
15291 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15292
15293 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
15294 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
15295 Define __GI_getrlimit64 as weak alias of __getrlimit64.
15296 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
15297 instead.
15298 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
15299 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
15300 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
15301 RLIM64_INFINITY): Fix values to match the kernel ones.
15302 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
15303 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
15304 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
15305 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
15306 getrlimit64@@GLIBC_2_27.
15307 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
15308 and setrlimit64.
15309 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
15310 getrlimit, setrlimit, getrlimit64 and setrlimit64.
15311 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
15312 setrlimit, getrlimit64 and setrlimit64.
15313
0d0bc784
AJ
153142018-01-05 Aurelien Jarno <aurelien@aurel32.net>
15315
15316 [BZ #22648]
15317 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
15318 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
15319
ba374b6d
JM
153202018-01-04 Joseph Myers <joseph@codesourcery.com>
15321
15322 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
15323 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
15324 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
15325
4854ddd8
AZ
153262018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15327
b0a4eca2
AZ
15328 [BZ #15479]
15329 [BZ #22666]
15330 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
15331 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
15332
4854ddd8
AZ
15333 [BZ #15479]
15334 [BZ #22665]
15335 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
15336 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
15337 * sysdeps/alpha/fpu/s_floor.c: Likewise.
15338 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
15339
8a5df95f
FW
153402018-01-04 Florian Weimer <fweimer@redhat.com>
15341
15342 [BZ #22667]
15343 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
15344 Align the stack before calling exit.
15345 * stdlib/tst-makecontext-align.c: New file.
15346 * stdlib/Makefile (tests): Add tst-makecontext-align.
15347
82eef55f
FW
153482018-01-04 Florian Weimer <fweimer@redhat.com>
15349
15350 Add support for calling dlvsym from libc.so.
15351 * include/dlfcn.h (__libc_dlvsym): Declare.
15352 * elf/Makefile (tests-static-internal): Add
15353 tst-libc_dlvsym-static.
15354 (tests-internal): Add tst-libc_dlvsym.
15355 (modules-names): Add tst-libc_dlvsym-dso.
15356 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
15357 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
15358 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
15359 object tst-libc_dlvsym-dso.so needs to be built before running
15360 these tests.
15361 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
15362 * elf/Versions: Export __libc_dlvsym.
15363 * elf/dl-libc.c (struct do_dlvsym_args): New.
15364 (do_dlvsym, __libc_dlvsym): New functions.
15365 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
15366 (_dl_open_hook2): New variable.
15367 (__libc_register_dl_open_hook): Set it.
15368 * elf/tst-libc_dlvsym-dso.c: New file.
15369 * elf/tst-libc_dlvsym-static.c: Likewise.
15370 * elf/tst-libc_dlvsym.c: Likewise.
15371 * elf/tst-libc_dlvsym.h: Likewise.
15372
1714fc06
ST
153732018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
15374
15375 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
15376 include <sys/mount.h>.
15377
3c7d0312
WD
153782018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
15379
15380 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
15381 Add __NO_MATH_ERRNO__ check.
15382
7eff0954
JM
153832018-01-02 Joseph Myers <joseph@codesourcery.com>
15384
15385 * sysdeps/mips/mips32/libm-test-ulps: Update.
15386 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15387
77f49956
FW
153882018-01-02 Florian Weimer <fweimer@redhat.com>
15389
15390 * misc/tst-pselect.c: Add copyright header.
15391
363e4519 153922018-01-02 Aurelien Jarno <aurelien@aurel32.net>
d35989be
AJ
15393
15394 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
15395 comment.
15396 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
15397 comment.
15398 (settrlimit): Rename into setrlimit.
15399 (__sttrlimit): Rename into __setrlimit.
15400
3e4226ff
AJ
15401 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
15402 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
15403 never defined in that case.
15404
b9256ab6
JM
154052018-01-02 Joseph Myers <joseph@codesourcery.com>
15406
28fd6a44
JM
15407 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
15408
a4933a15
JM
15409 * sysdeps/arm/libm-test-ulps: Update.
15410
b9256ab6
JM
15411 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
15412 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
15413
4cf82d23
RS
154142018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15415
15416 * NEWS: Add cosf and sincosf to list of optimized functions.
15417
6a9dd7a7
AJ
154182018-01-02 Aurelien Jarno <aurelien@aurel32.net>
15419
15420 [BZ #22660]
15421 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
15422 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
15423 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
15424 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
15425
dbba87d5
DL
154262018-01-01 Dmitry V. Levin <ldv@altlinux.org>
15427
b05cb613
DL
15428 [BZ #22433]
15429 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
15430
dbba87d5
DL
15431 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
15432 making a copy of it.
15433
688903eb
JM
154342018-01-01 Joseph Myers <joseph@codesourcery.com>
15435
66ac23de
JM
15436 * manual/texinfo.tex: Update to version 2017-12-26.21 with
15437 trailing whitespace removed.
15438 * scripts/config.guess: Update to version 2018-01-01.
15439 * scripts/config.sub: Update to version 2018-01-01.
15440 * scripts/move-if-change: Update from gnulib.
15441
09533208
JM
15442 * NEWS: Update copyright dates.
15443 * catgets/gencat.c (print_version): Likewise.
15444 * csu/version.c (banner): Likewise.
15445 * debug/catchsegv.sh: Likewise.
15446 * debug/pcprofiledump.c (print_version): Likewise.
15447 * debug/xtrace.sh (do_version): Likewise.
15448 * elf/ldconfig.c (print_version): Likewise.
15449 * elf/ldd.bash.in: Likewise.
15450 * elf/pldd.c (print_version): Likewise.
15451 * elf/sotruss.sh: Likewise.
15452 * elf/sprof.c (print_version): Likewise.
15453 * iconv/iconv_prog.c (print_version): Likewise.
15454 * iconv/iconvconfig.c (print_version): Likewise.
15455 * locale/programs/locale.c (print_version): Likewise.
15456 * locale/programs/localedef.c (print_version): Likewise.
15457 * login/programs/pt_chown.c (print_version): Likewise.
15458 * malloc/memusage.sh (do_version): Likewise.
15459 * malloc/memusagestat.c (print_version): Likewise.
15460 * malloc/mtrace.pl: Likewise.
15461 * manual/libc.texinfo: Likewise.
15462 * nptl/version.c (banner): Likewise.
15463 * nscd/nscd.c (print_version): Likewise.
15464 * nss/getent.c (print_version): Likewise.
15465 * nss/makedb.c (print_version): Likewise.
15466 * posix/getconf.c (main): Likewise.
15467 * scripts/test-installation.pl: Likewise.
15468 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
15469
688903eb
JM
15470 * All files with FSF copyright notices: Update copyright dates
15471 using scripts/update-copyrights.
15472 * locale/programs/charmap-kw.h: Regenerated.
15473 * locale/programs/locfile-kw.h: Likewise.
15474
4f820792
ZW
154752017-12-31 Zack Weinberg <zackw@panix.com>
15476
15477 * libio/bits/libio-ldbl.h: Correct check for improper
15478 inclusion. Add own multiple include guard.
15479
3e3c904d
AJ
154802017-12-30 Aurelien Jarno <aurelien@aurel32.net>
15481 Dmitry V. Levin <ldv@altlinux.org>
15482
15483 [BZ #22625]
31f96325 15484 CVE-2017-16997
3e3c904d
AJ
15485 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
15486 string token expansion. Check for NULL pointer or empty string possibly
15487 returned by expand_dynamic_string_token.
15488 (decompose_rpath): Check for empty path after dynamic string
15489 token expansion.
15490
7e21972b
DL
154912017-12-29 Dmitry V. Levin <ldv@altlinux.org>
15492
c48831d0
DL
15493 [BZ #22433]
15494 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
15495
ac583f50
DL
15496 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
15497 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
15498 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
15499 and PTRACE_SYSCALL.
15500 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
15501 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
15502 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15503 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15504 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15505 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
15506
7e21972b
DL
15507 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
15508 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
15509 __ptrace_peeksiginfo_flags, ptrace): Move to ...
15510 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
15511 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15512 bits/ptrace-shared.h.
15513 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
15514 <bits/ptrace-shared.h>.
15515 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
15516 __ptrace_peeksiginfo_flags, ptrace): Remove.
15517 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
15518 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15519 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15520 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15521 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
15522
72f29e3a
AJ
155232017-12-29 Aurelien Jarno <aurelien@aurel32.net>
15524
15525 [BZ #17804]
15526 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
15527 end of the loop. Improve comments.
15528
54e4efc2
AJ
155292017-12-29 Zack Weinberg <zackw@panix.com>
15530
15531 [BZ #22615]
15532 * manual/errno.texi (Checking for Errors): Explicitly say that errno
15533 might be set on success.
15534
f8aa69be
AJ
155352017-12-29 Aurelien Jarno <aurelien@aurel32.net>
15536
15537 [BZ #22611]
15538 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
15539 is unchanged on success.
15540
97f13188
DL
155412017-12-27 Dmitry V. Levin <ldv@altlinux.org>
15542
2bd86632
DL
15543 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
15544 updated.
15545 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
15546 expand_dynamic_string_token): Likewise.
15547 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
15548 is_path argument.
15549
1c36e1e6
DL
15550 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
15551 contains ':'.
15552
97f13188
DL
15553 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
15554 is set and name contains ':', and all code depending on these checks.
15555
48a8f832
ZW
155562017-12-24 Zack Weinberg <zackw@panix.com>
15557
15558 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
15559 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
15560 respectively.
15561 * libio/libio.h: Rename the original version of this file to
15562 libio/bits/libio.h. Error out if not included by stdio.h or the
15563 stub libio.h.
15564 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
15565 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
15566 if not included by bits/libio.h or the stub _G_config.h.
15567 * sysdeps/unix/sysv/linux/_G_config.h: Move to
15568 sysdeps/unix/sysv/linux/bits. Error out if not included by
15569 bits/libio.h or the stub _G_config.h.
15570 * libio/stdio.h: Include bits/libio.h, not libio.h.
15571 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
15572 well as libio.h and _G_config.h.
15573
15574 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
15575 * libio/strfile.h, stdio-common/vfscanf.c
15576 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
15577 Include stdio.h, not _G_config.h nor libio.h.
15578 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
15579 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
15580
15581 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
15582
a47ad79a
DL
155832017-12-23 Dmitry V. Levin <ldv@altlinux.org>
15584
15585 [BZ #22347]
15586 * stdlib/getrandom.c (getrandom): Fix comment.
15587 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
15588
363e4519 155892017-12-23 Aurelien Jarno <aurelien@aurel32.net>
e65a5644 15590
f5c558f3
AJ
15591 [BZ #21161]
15592 * manual/arith.texi (strtoul): Fix a typo.
15593
e65a5644
AJ
15594 [BZ #22596]
15595 * manual/arith.texi (finite): Fix the description of the return
15596 value.
15597
ed8ae46b
EB
155982017-12-22 Eric Blake <ebb9@byu.net>
15599
15600 Avoid gcc warnings on cygwin
15601 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
15602 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
15603 Avoid unused variable.
15604
bad7a0c8
FW
156052017-12-22 Florian Weimer <fweimer@redhat.com>
15606
15607 * io/Makefile (routines): Add copy_file_range.
15608 (tests): Add tst-copy_file_range.
15609 (tests-static, tests-internal): Add tst-copy_file_range-compat.
15610 * io/Versions (GLIBC_2.27): Export copy_file_range.
15611 * io/copy_file_range-compat.c: New file.
15612 * io/copy_file_range.c: Likewise.
15613 * io/tst-copy_file_range-compat.c: Likewise.
15614 * io/tst-copy_file_range.c: Likewise.
15615 * manual/llio.texi (Copying File Data): New section.
15616 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
15617 * support/Makefile (libsupport-routines): Add support-xfstat,
15618 xftruncate, xlseek.
15619 * support/support-xfstat.c: New file.
15620 * support/xftruncate.c: Likewise.
15621 * support/xlseek.c: Likewise.
15622 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
15623 * sysdeps/unix/sysv/linux/**.abilist: Update.
15624 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
15625
6cb86fd2
SN
156262017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
15627
15628 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
15629 disable-multi-arch variant to aarch64-linux-gnu.
15630
41d11b15
JM
156312017-12-20 Joseph Myers <joseph@codesourcery.com>
15632
15633 * manual/texinfo.tex: Update to version 2017-12-18.20 with
15634 trailing whitespace removed.
15635 * scripts/config.guess: Update to version 2017-12-17.
15636 * scripts/config.sub: Update to version 2017-11-23.
15637 * scripts/install-sh: Update to version 2017-09-23.17.
15638 * scripts/move-if-change: Update to version 2017-09-13 06:45.
15639
4735850f
AZ
156402017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15641
8d2d239c
AZ
15642 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
15643 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
15644 * sysdeps/tile/_mcount.S (__mcount): Likewise.
15645 * sysdeps/tile/crti.S (_init, _fini): Likewise.
15646 * sysdeps/tile/crtn.S: Likewise.
15647 * sysdeps/tile/dl-start.S (_start): Likewise.
15648 * sysdeps/tile/dl-trampoline.S: Likewise.
15649 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
15650 * sysdeps/tile/start.S (_start): Likewise.
15651 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
15652 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
15653 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
15654 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
15655 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
15656 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
15657 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
15658
24d1d8ec
AZ
15659 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
15660 comment.
15661 * sysdeps/tile/preconfigure: Remove tilegx folder.
15662 * sysdeps/tile/tilegx/Implies: Move definitions to ...
15663 * sysdeps/tile/Implies: ... here.
15664 * sysdeps/tile/tilegx/Makefile: Move rules to ...
15665 * sysdeps/tile/Makefile: ... here.
15666 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
15667 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
15668 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
15669 * sysdeps/tile/bits/wordsize.h: ... here.
15670 * sysdeps/tile/tilegx/*: Move to ...
15671 * sysdeps/tile/*: ... here.
15672 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
15673 * sysdeps/tile/tilegx32/Implies: ... here.
15674 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
15675 * sysdeps/tile/tilegx64/Implies: ... here.
15676 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
15677 to ...
15678 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
15679 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
15680 * sysdeps/unix/sysv/linux/tile/*: ... here.
15681 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
15682 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
15683 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
15684 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
15685
ed95f611
AZ
15686 * README: Remove tilepro-*-linux-gnu from supported architecture.
15687 * scripts/build-many-glibcs.py: Likewise.
15688 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
15689 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
15690 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
15691 elf_machine_matches_host, elf_machine_dynamic,
15692 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
15693 howto, elf_machine_rela): Likewise.
15694 * sysdeps/tile/dl-start.S (_start): Likewise.
15695 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
15696 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
15697 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
15698 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
15699 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
15700 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
15701 Likewise.
15702 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
15703 * sysdeps/tile/preconfigure: Likewise.
15704 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
15705 POINTER_CHK_GUARD): Likewise.
15706 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
15707 * sysdeps/tile/start.S (_start): Likewise.
15708 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
15709 Likewise.
15710 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
15711 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
15712 CMOVNEZ): Remove.
15713 * sysdeps/unix/sysv/linux/tile/bits/environments.h
15714 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
15715 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
15716 Likewise.
15717 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
15718 * sysdeps/tile/tilepro/Implies: Remove file.
15719 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
15720 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
15721 * sysdeps/tile/tilepro/memchr.c: Likewise.
15722 * sysdeps/tile/tilepro/memcpy.S: Likewise.
15723 * sysdeps/tile/tilepro/memset.c: Likewise.
15724 * sysdeps/tile/tilepro/memusage.h: Likewise.
15725 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
15726 * sysdeps/tile/tilepro/strchr.c: Likewise.
15727 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
15728 * sysdeps/tile/tilepro/strlen.c: Likewise.
15729 * sysdeps/tile/tilepro/strrchr.c: Likewise.
15730 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
15731 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
15732 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
15733 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
15734 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
15735 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
15736 Likewise.
15737 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
15738 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15739 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
15740 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
15741 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15742 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
15743 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
15744 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
15745 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
15746 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
15747 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
15748 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
15749 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
15750 tilepro mention in comment.
15751
4735850f
AZ
15752 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
15753 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
15754 * nptl/pthread_join_common.c: New file: common function used on
15755 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
15756 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
15757 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
15758 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
15759 (cleanup): Move definition to pthread_join_common.c.
15760 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
15761 Remove superflous checks.
15762 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
15763 Likewise.
15764
8bfb461e
SN
157652017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
15766
15767 * sysdeps/aarch64/libm-test-ulps: Update.
15768
4e001969
AZ
157692017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15770
15771 * sysdeps/aarch64/memset.S (MEMSET): Define.
15772
8a26ad2a
FW
157732017-12-20 Florian Weimer <fweimer@redhat.com>
15774
15775 [BZ #22635]
15776 nptl: Provide full implementation of pthread_self in libc.so.
15777 * nptl/Makefile (routines): Add pthread_self.
15778 (libpthread-routines): Replace pthread_self with
15779 compat-pthread_self.
15780 * nptl/forward.c (pthread_self): Remove.
15781 * nptl/nptl-init.c (pthread_functions): Do not initialize
15782 ptr_pthread_self.
15783 * nptl/pthread_self.c (pthread_self): Remove weak alias.
15784 * nptl/compat-pthread_self.c: New file.
15785 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
15786 Remove ptr_pthread_self.
15787
5069ff32
AR
157882017-12-19 Arnold D. Robbins <arnold@skeeve.com>
15789
15790 * posix/regcomp.c: Fix spelling in comments.
15791 * posix/regex.h: Likewise.
15792 * posix/regex_internal.c: Likewise.
15793 * posix/regexec.c: Likewise.
15794
c85e54ac
GG
157952017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
15796
15797 [BZ #22377]
15798 * math/Makefile [C++] (tests): Add test for iseqsig.
15799 * math/math.h [C++] (iseqsig): New implementation, which does
15800 not rely on __MATH_TG/__builtin_types_compatible_p.
15801 * math/test-math-iseqsig.cc: New file.
15802 * sysdeps/powerpc/powerpc64le/Makefile
15803 (CFLAGS-test-math-iseqsig.cc): New variable.
15804
10e93d96
DL
158052017-12-19 Dmitry V. Levin <ldv@altlinux.org>
15806
15807 * elf/dl-load.c (is_trusted_path): Remove.
15808 (fillin_rpath): Remove check_trusted argument and its use,
15809 all callers changed.
15810
ce16eb52
L
158112017-12-19 H.J. Lu <hongjiu.lu@intel.com>
15812
15813 [BZ #22630]
15814 * Makeconfig (link-pie-before-libc): Replace -pie with
15815 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
15816 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
15817 (tst-dlopen-aout-no-pie): New.
15818 (LDFLAGS-tst-prelink): Removed.
15819 (tst-prelink-no-pie): New.
15820 (LDFLAGS-tst-main1): Removed.
15821 (tst-main1-no-pie): New.
15822 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
15823 (tst-gmon-no-pie): New.
15824
126adc89
L
158252017-12-19 H.J. Lu <hongjiu.lu@intel.com>
15826
15827 * manual/install.texi: Document that --enable-static-pie
15828 implies PIE.
15829 * INSTALL: Regenerated.
15830
648615e1
BE
158312017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
15832
15833 [BZ #21309]
15834 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
15835 unsigned.
15836
f1e00502
JM
158372017-12-19 Joseph Myers <joseph@codesourcery.com>
15838
15839 Revert:
15840
15841 2017-12-19 Joseph Myers <joseph@codesourcery.com>
15842
15843 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15844
15845 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
15846
15847 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
15848 <errno.h>. Include "eexp.tbl".
15849 (half): New constant.
15850 (one): Likewise.
15851 (__ieee754_exp): Rewrite.
15852 (__slowexp): Remove prototype.
15853 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
15854 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
15855 * sysdeps/i386/fpu/slowexp.c: Likewise.
15856 * sysdeps/ia64/fpu/slowexp.c: Likewise.
15857 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
15858 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
15859 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
15860 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
15861 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
15862 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
15863 comment.
15864 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
15865 (CPPFLAGS-slowexp.c): Remove variable.
15866 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
15867 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
15868 (CFLAGS-slowexp-fma.c): Remove variable.
15869 (CFLAGS-slowexp-fma4.c): Likewise.
15870 (CFLAGS-slowexp-avx.c): Likewise.
15871 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
15872 define as macro.
15873 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
15874 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
15875 * math/Makefile (type-double-routines): Remove slowexp.
15876 * manual/probes.texi (slowexp_p6): Remove.
15877 (slowexp_p32): Likewise.
15878
d711a00f
AZ
158792017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15880
e184ac3a
AZ
15881 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
15882 arithmetic.
15883
d711a00f
AZ
15884 * lib/glob.c (glob): Do not pass NULL to mempcpy.
15885
6f58c10d
JM
158862017-12-19 Joseph Myers <joseph@codesourcery.com>
15887
15888 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15889
6fd0a3c6
PM
158902017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
15891
15892 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
15893 <errno.h>. Include "eexp.tbl".
15894 (half): New constant.
15895 (one): Likewise.
15896 (__ieee754_exp): Rewrite.
15897 (__slowexp): Remove prototype.
15898 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
15899 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
15900 * sysdeps/i386/fpu/slowexp.c: Likewise.
15901 * sysdeps/ia64/fpu/slowexp.c: Likewise.
15902 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
15903 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
15904 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
15905 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
15906 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
15907 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
15908 comment.
15909 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
15910 (CPPFLAGS-slowexp.c): Remove variable.
15911 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
15912 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
15913 (CFLAGS-slowexp-fma.c): Remove variable.
15914 (CFLAGS-slowexp-fma4.c): Likewise.
15915 (CFLAGS-slowexp-avx.c): Likewise.
15916 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
15917 define as macro.
15918 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
15919 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
15920 * math/Makefile (type-double-routines): Remove slowexp.
15921 * manual/probes.texi (slowexp_p6): Remove.
15922 (slowexp_p32): Likewise.
15923
3bb1ef58
AZ
159242017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15925 James Clarke <jrtc27@jrtc27.com>
15926
15927 [BZ #22603]
15928 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
15929 addition.
15930
554e3d51
AZ
159312017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15932
15933 [BZ #22605]
15934 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
15935 code.
15936
cba595c3
L
159372017-12-19 H.J. Lu <hongjiu.lu@intel.com>
15938
15939 [BZ #22563]
15940 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
15941 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
15942 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
15943 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
15944 to feature_1.
15945
f81ddabf
L
159462017-12-19 H.J. Lu <hongjiu.lu@intel.com>
15947
15948 [BZ #22563]
15949 * bits/types/__cancel_jmp_buf_tag.h: New file.
15950 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
15951 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
15952 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
15953 * nptl/Makefile (headers): Add
15954 bits/types/__cancel_jmp_buf_tag.h.
15955 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
15956 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
15957 * sysdeps/nptl/pthread.h: Include
15958 <bits/types/__cancel_jmp_buf_tag.h>.
15959 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
15960 __cancel_jmp_buf.
15961 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
15962
1a49fc59
L
159632017-12-18 H.J. Lu <hongjiu.lu@intel.com>
15964
15965 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
15966 --enable-static-pie variants to x86_64, x32 and i686.
15967
8e52f573
JM
159682017-12-19 Joseph Myers <joseph@codesourcery.com>
15969
66425185
JM
15970 [BZ #22631]
15971 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
15972 argument for attrubutes. All callers changed.
15973 (__inline_mathop1): Likewise. All callers changed.
15974 (__inline_mathop): Likewise. All callers changed.
15975 [__USE_MISC] (scalbn): Use __inline_forward instead of
15976 __inline_forward_c.
15977 [__USE_ISOC99] (scalbln): Likewise.
15978 [__USE_ISOC99] (nearbyint): Likewise.
15979 [__USE_ISOC99] (lrint): Likewise.
15980 [__USE_MISC] (scalbnf): Likewise.
15981 [__USE_ISOC99] (scalblnf): Likewise.
15982 [__USE_ISOC99] (nearbyintf): Likewise.
15983 [__USE_ISOC99] (lrintf): Likewise.
15984 [__USE_MISC] (scalbnl): Likewise.
15985 [__USE_ISOC99] (scalblnl): Likewise.
15986 [__USE_ISOC99] (nearbyintl): Likewise.
15987 [__USE_ISOC99] (lrintl): Likewise.
15988 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
15989 __inline_mathop and __m81_defun changed.
15990
8e52f573
JM
15991 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
15992 CPU or FPU for ARM hard-float configurations.
15993
1421f39b
JM
159942017-12-18 Joseph Myers <joseph@codesourcery.com>
15995
40c4162d
JM
15996 * nptl/tst-attr3.c: Include <libc-diag.h>.
15997 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
15998
5983df32
JM
15999 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
16000
1421f39b
JM
16001 * string/tester.c (test_strncat): Also disable -Warray-bounds
16002 warnings for two tests.
16003
00c714df
L
160042017-12-18 H.J. Lu <hongjiu.lu@intel.com>
16005
16006 [BZ #22614]
16007 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
16008 $(cc-pie-default) == yes.
16009 * config.make.in (cc-pie-default): New.
16010 * configure.ac (libc_cv_pie_default): Renamed to ...
16011 (libc_cv_cc_pie_default): This.
16012 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
16013 * configure: Regenerated.
16014
8e1472d2
FW
160152017-12-18 Florian Weimer <fweimer@redhat.com>
16016
16017 [BZ #20204]
16018 ld.so: Harden dl-libc/libdl hooks.
16019 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
16020 (rtld_active): New function.
16021 * dlfcn/dladdr.c (__dladdr): Call it.
16022 * dlfcn/dladdr1.c (__dladdr1): Likewise.
16023 * dlfcn/dlclose.c (__dlcose): Likewise.
16024 * dlfcn/dlerror.c (__dlerror): Likewise.
16025 * dlfcn/dlinfo.c (__dlinfo): Likewise.
16026 * dlfcn/dlmopen.c (__dlmopen): Likewise.
16027 * dlfcn/dlopen.c (__dlopen): Likewise.
16028 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
16029 * dlfcn/dlsym.c (__dlsym): Likewise.
16030 * dlfcn/dlvsym.c (__dlvsym): Likewise.
16031 * libio/vtables.c (_IO_vtable_check): Likewise.
16032 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
16033 (__libc_dlclose): Likewise.
16034 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
16035 assignment.
16036
49b036bc
JM
160372017-12-18 Joseph Myers <joseph@codesourcery.com>
16038
16039 [BZ #22446]
16040 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
16041 buffers for readlink input and output.
16042
368b6c8d
ST
160432017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
16044
c85c564d
ST
16045 [BZ #22624]
16046 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
16047 inhibit_stack_protector.
16048
368b6c8d
ST
16049 [BZ #22624]
16050 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
16051 inhibit_stack_protector.
16052
bb195224
DL
160532017-12-18 Dmitry V. Levin <ldv@altlinux.org>
16054
16055 [BZ #22627]
16056 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
16057 code and invocation.
16058
14d886ed
SN
160592017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
16060
16061 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
16062
7d38eb38
AJ
160632017-12-16 Aurelien Jarno <aurelien@aurel32.net>
16064
16065 [BZ #22505]
16066 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
16067
2e77deef
RS
160682017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16069
16070 * sysdeps/s390/fpu/libm-test-ulps: Update.
16071
0b9bef6d
RS
160722017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16073
16074 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16075
984ae996
RS
160762017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16077
16078 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
16079 constants to s_sincosf.h file.
16080 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
16081 * sysdeps/ieee754/flt-32/s_sincosf.c: New
16082 implementation.
16083 * sysdeps/ieee754/flt-32/s_sincosf.h:
16084 New file.
16085
363e4519 160862017-12-12 Carlos O'Donell <carlos@redhat.com>
93930ea9
CD
16087
16088 [BZ #14681]
16089 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
16090 before mtrace.
16091
9d7a3741
L
160922017-12-15 H.J. Lu <hongjiu.lu@intel.com>
16093
16094 [BZ #19574]
16095 * INSTALL: Regenerated.
16096 * Makeconfig (real-static-start-installed-name): New.
16097 (pic-default): Updated for --enable-static-pie.
16098 (pie-default): New for --enable-static-pie.
16099 (default-pie-ldflag): Likewise.
16100 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
16101 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
16102 Replace $(static-start-installed-name) with
16103 $(real-static-start-installed-name).
16104 (+prectorT): Updated for --enable-static-pie.
16105 (+postctorT): Likewise.
16106 (CFLAGS-.o): Add $(pie-default).
16107 (CFLAGS-.op): Likewise.
16108 * NEWS: Mention --enable-static-pie.
16109 * config.h.in (ENABLE_STATIC_PIE): New.
16110 * configure.ac (--enable-static-pie): New configure option.
16111 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
16112 (have-static-pie): Likewise.
16113 Enable static PIE if linker supports --no-dynamic-linker.
16114 (ENABLE_STATIC_PIE): New AC_DEFINE.
16115 (enable-static-pie): New LIBC_CONFIG_VAR.
16116 * configure: Regenerated.
16117 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
16118 gr$(start-installed-name) for --enable-static-pie.
16119 (extra-objs): Likewise.
16120 (install-lib): Likewise.
16121 (extra-objs): Add static-reloc.o and static-reloc.os
16122 ($(objpfx)$(start-installed-name)): Also depend on
16123 $(objpfx)static-reloc.o.
16124 ($(objpfx)r$(start-installed-name)): New.
16125 ($(objpfx)g$(start-installed-name)): Also depend on
16126 $(objpfx)static-reloc.os.
16127 ($(objpfx)gr$(start-installed-name)): New.
16128 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
16129 in libc.a.
16130 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
16131 initimage.
16132 * csu/static-reloc.c: New file.
16133 * elf/Makefile (routines): Add dl-reloc-static-pie.
16134 (elide-routines.os): Likewise.
16135 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
16136 (tst-tls1-static-non-pie-no-pie): New.
16137 * elf/dl-reloc-static-pie.c: New file.
16138 * elf/dl-support.c (_dl_get_dl_main_map): New function.
16139 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
16140 STATIC_PIE_BOOTSTRAP.
16141 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
16142 * gmon/Makefile (tests): Add tst-gmon-static-pie.
16143 (tests-static): Likewise.
16144 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
16145 (tst-gmon-static-no-pie): New.
16146 (CFLAGS-tst-gmon-static-pie.c): Likewise.
16147 (CRT-tst-gmon-static-pie): Likewise.
16148 (tst-gmon-static-pie-ENV): Likewise.
16149 (tests-special): Likewise.
16150 ($(objpfx)tst-gmon-static-pie.out): Likewise.
16151 (clean-tst-gmon-static-pie-data): Likewise.
16152 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
16153 * gmon/tst-gmon-static-pie.c: New file.
16154 * manual/install.texi: Document --enable-static-pie.
16155 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
16156 (_dl_get_dl_main_map): Likewise.
16157 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
16158 * sysdeps/x86_64/configure.ac: Likewise.
16159 * sysdeps/i386/configure: Regenerated.
16160 * sysdeps/x86_64/configure: Likewise.
16161 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
16162 (ASFLAGS-.op): Likewise.
16163
95511aab
JM
161642017-12-15 Joseph Myers <joseph@codesourcery.com>
16165
16166 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
16167 * posix/tst-mmap-offset.c (fname): Use /tmp.
16168 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
16169
a7e3edf4
SE
161702017-12-15 Steve Ellcey <sellcey@cavium.com>
16171
16172 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
16173
d232f2e1
TS
161742017-12-15 Thomas Schwinge <thomas@codesourcery.com>
16175
16176 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
16177 errno.
16178
174edbde
JM
161792017-12-15 Joseph Myers <joseph@codesourcery.com>
16180
5170fa49
JM
16181 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
16182 --with-float=hard for arm-linux-gnueabihf configurations.
16183
f2da2fd8
JM
16184 [BZ #14121]
16185 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
16186 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
16187 ($(mo-installed)): Use $(objpfx)%.mo.
16188 (realclean): Remove rule.
16189
0c4fe28d
JM
16190 * po/Makefile (linguas): Remove rule and dependencies.
16191 (linguas.mo): Likewise.
16192 (.PHONY): Do not depend on linguas and linguas.mo.
16193 (podir): Remove variable.
16194 (pofiles): Likewise.
16195 [$(pofiles)] (%.po): Remove rule.
16196
174edbde
JM
16197 * sysdeps/sparc/sparc32/Makefile
16198 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
16199 start-of-line whitespace in argument of echo.
16200 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
16201 with whitespace. Generate __wrap_.udiv alias.
16202 * sysdeps/sparc/sparc32/rem.S: Regenerated.
16203 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
16204 * sysdeps/sparc/sparc32/udiv.S: Likewise.
16205 * sysdeps/sparc/sparc32/urem.S: Likewise.
16206
1e36806f
RS
162072017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16208
16209 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
16210 for aligned inputs.
16211
aa6932aa
SP
162122017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
16213
5f1603c3
SP
16214 * benchtests/bench-strcmp.c: Print output in JSON format.
16215
aa6932aa
SP
16216 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
16217
3ff3dfa5
FW
162182017-12-14 Florian Weimer <fweimer@redhat.com>
16219
16220 [BZ #22607]
16221 CVE-2017-1000409
16222 * elf/dl-load.c (_dl_init_paths): Compute number of components in
16223 the expanded path string.
16224
8a0b17e4
FW
162252017-12-14 Florian Weimer <fweimer@redhat.com>
16226
16227 [BZ #22606]
16228 CVE-2017-1000408
16229 * elf/dl-load.c (system_dirs): Update comment.
16230 (nsystem_dirs_len): Use array_length.
16231 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
16232
f58bd7f0
FW
162332017-12-14 Florian Weimer <fweimer@redhat.com>
16234
16235 Simplify compiling most of support/ outside of glibc.
16236 * support/check_addrinfo.c: Include <string.h>.
16237 * support/check_dns_packet.c: Likewise.
16238 * support/check_hostent.c: Likewise.
16239 * support/support_can_chroot.c: Include <support/xunistd.h>.
16240 * support/support_format_addrinfo.c: Include <stdlib.h>
16241 * support/support_format_dns_packet.c: Include <stdbool.h>.
16242 * support/support_format_hostent.c: Include <stdlib.h>.
16243 * support/support_format_netent.c: Likewise.
16244 * support/support_write_string.c: Include <support/xunistd.h>.
16245 * support/xdlfcn.c: Include <stddef.h>.
16246
4ca945e9
L
162472017-12-14 H.J. Lu <hongjiu.lu@intel.com>
16248
16249 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
16250
1b6e07f8
PM
162512017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
16252 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16253
e6a1c5dc
PM
16254 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
16255 (sysdeps_routines): Add memset-niagara7.
16256 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
16257 Likewise.
16258 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
16259 file.
16260 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
16261 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
16262 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
16263 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
16264 Add niagara7 option.
16265 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
16266 memset.
16267
1b6e07f8
PM
16268 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
16269 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
16270 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
16271 Likewise.
16272 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
16273 New file.
16274 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
16275 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
16276 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
16277 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
16278 and __memmove_niagara7.
16279 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
16280 Add niagara7 option.
16281 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
16282 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
16283 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
16284 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
16285 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
16286
bfb7bf22
JM
162872017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
16288
767a26d6
JM
16289 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
16290 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
16291 * sysdeps/sparc/sparc64/memmove.S: Likewise.
16292 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
16293
bfb7bf22
JM
16294 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
16295 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
16296 _dl_sparc_cap_flags array.
16297 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
16298
2bce01eb
SP
162992017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
16300
16301 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
16302 time whenever possible.
16303
363e4519 163042017-12-12 Carlos O'Donell <carlos@redhat.com>
243b6333
CD
16305
16306 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
16307 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
16308
6f7c0092
JM
163092017-12-12 Joseph Myers <joseph@codesourcery.com>
16310
16311 * soft-fp/fmadf4.c: Move to ....
16312 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
16313 * soft-fp/fmasf4.c: Move to ....
16314 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
16315 * soft-fp/fmatf4.c: Move to ....
16316 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
16317 * sysdeps/ieee754/soft-fp/Makefile: New file.
16318 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
16319 * sysdeps/arm/preconfigure: Regenerated.
16320 * sysdeps/arm/nofpu/Implies: New file.
16321 * sysdeps/arm/s_fma.c: Remove file.
16322 * sysdeps/arm/s_fmaf.c: Likewise.
16323 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
16324 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
16325 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
16326 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
16327 * sysdeps/microblaze/s_fma.c: Remove file.
16328 * sysdeps/microblaze/s_fmaf.c: Likewise.
16329 * sysdeps/mips/mips32/nofpu/Implies: New file.
16330 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
16331 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
16332 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
16333 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
16334 * sysdeps/mips/ieee754/s_fma.c: Remove file.
16335 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
16336 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
16337 implementation.
16338 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
16339 * sysdeps/nios2/s_fma.c: Remove file.
16340 * sysdeps/nios2/s_fmaf.c: Likewise.
16341 * sysdeps/sh/nofpu/Implies: New file.
16342 * sysdeps/sh/s_fma.c: Remove file.
16343 * sysdeps/sh/s_fmaf.c: Likewise.
16344 * sysdeps/tile/Implies: Add ieee754/soft-fp.
16345 * sysdeps/tile/s_fma.c: Remove file.
16346 * sysdeps/tile/s_fmaf.c: Likewise.
16347
ac817e08
L
163482017-12-12 H.J. Lu <hongjiu.lu@intel.com>
16349
16350 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16351 Add s_cosf-sse2 and s_cosf-fma.
16352 (CFLAGS-s_cosf-fma.c): New.
16353 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
16354 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
16355 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
16356
eb428576
SE
163572017-12-12 Steve Ellcey <sellcey@cavium.com>
16358
16359 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
16360
c80acdc3
AZ
163612017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16362
cc683f7e
AZ
16363 * libio/Makefile (tests): Add tst-bz22415.
16364 (tst-bz22415-ENV): New rule.
16365 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
16366 (tests-special): Add tst-bz22415-mem.out.
16367 ($(objpfx)tst-bz22415-mem.out): New rule.
16368 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
16369 in case of a successful seek operation.
16370 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
16371 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
16372 buffer is required.
16373 * libio/tst-bz22415.c: New test.
16374
c80acdc3
AZ
16375 * sysdeps/ia64/fpu/libm-test-ulps: Update.
16376
363e4519 163772017-12-12 James Clarke <jrtc27@jrtc27.com>
89bd8016
JC
16378
16379 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
16380 __IPC_64 to 0 to avoid IPC_64 being set.
16381
4e0dca54
SN
163822017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
16383
16384 [BZ #22593]
16385 * math/bits/mathcalls.h (nextafter): Remove const.
16386 (nexttoward): Likewise.
16387
8df5d347
JM
163882017-12-12 Joseph Myers <joseph@codesourcery.com>
16389
16390 * configure.ac (--with-fp): Remove configure option.
16391 (with_fp_cond): New variable.
16392 (libc_cv_with_fp): New configure test. Use this variable instead
16393 of with_fp.
16394 * configure: Regenerated.
16395 * config.make.in (with-fp): Use @libc_cv_with_fp@.
16396 * manual/install.texi (Configuring and compiling): Remove
16397 --without-fp.
16398 * INSTALL: Regenerated.
16399 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
16400 * sysdeps/mips/preconfigure (with_fp_cond): Define.
16401 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
16402 * sysdeps/sh/preconfigure (with_fp_cond): Define.
16403 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
16404 use --without-fp to configure glibc.
16405
0cee1257
RJ
164062017-12-12 Rical Jasan <ricaljasan@pacific.net>
16407
16408 * manual/locale.texi (nl_langinfo): Fix a typo.
16409
363e4519 164102017-12-12 Aurelien Jarno <aurelien@aurel32.net>
f54ad2f9
AJ
16411
16412 [BZ #22588]
16413 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
16414
36975e8e
L
164152017-12-11 H.J. Lu <hongjiu.lu@intel.com>
16416
16417 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
16418 (CFLAGS-argp-parse.c): Likewise.
16419 (CFLAGS-argp-fmtstream.c): Likewise.
16420 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
16421 (CPPFLAGS-sha512-crypt.c): Likewise.
16422 (CPPFLAGS-md5-crypt.c): Likewise.
16423 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
16424 (CFLAGS-stack_chk_fail_local.c): Likewise.
16425 (CFLAGS-backtrace.c): Likewise.
16426 (CFLAGS-sprintf_chk.c): Likewise.
16427 (CFLAGS-snprintf_chk.c): Likewise.
16428 (CFLAGS-vsprintf_chk.c): Likewise.
16429 (CFLAGS-vsnprintf_chk.c): Likewise.
16430 (CFLAGS-asprintf_chk.c): Likewise.
16431 (CFLAGS-vasprintf_chk.c): Likewise.
16432 (CFLAGS-obprintf_chk.c): Likewise.
16433 (CFLAGS-dprintf_chk.c): Likewise.
16434 (CFLAGS-vdprintf_chk.c): Likewise.
16435 (CFLAGS-printf_chk.c): Likewise.
16436 (CFLAGS-fprintf_chk.c): Likewise.
16437 (CFLAGS-vprintf_chk.c): Likewise.
16438 (CFLAGS-vfprintf_chk.c): Likewise.
16439 (CFLAGS-gets_chk.c): Likewise.
16440 (CFLAGS-fgets_chk.c): Likewise.
16441 (CFLAGS-fgets_u_chk.c): Likewise.
16442 (CFLAGS-fread_chk.c): Likewise.
16443 (CFLAGS-fread_u_chk.c): Likewise.
16444 (CFLAGS-swprintf_chk.c): Likewise.
16445 (CFLAGS-vswprintf_chk.c): Likewise.
16446 (CFLAGS-wprintf_chk.c): Likewise.
16447 (CFLAGS-fwprintf_chk.c): Likewise.
16448 (CFLAGS-vwprintf_chk.c): Likewise.
16449 (CFLAGS-vfwprintf_chk.c): Likewise.
16450 (CFLAGS-fgetws_chk.c): Likewise.
16451 (CFLAGS-fgetws_u_chk.c): Likewise.
16452 (CFLAGS-read_chk.c): Likewise.
16453 (CFLAGS-pread_chk.c): Likewise.
16454 (CFLAGS-pread64_chk.c): Likewise.
16455 (CFLAGS-recv_chk.c): Likewise.
16456 (CFLAGS-recvfrom_chk.c): Likewise.
16457 (CFLAGS-tst-longjmp_chk.c): Likewise.
16458 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
16459 (CFLAGS-tst-longjmp_chk2.c): Likewise.
16460 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
16461 (CFLAGS-tst-longjmp_chk3.c): Likewise.
16462 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
16463 (CFLAGS-tst-chk1.c): Likewise.
16464 (CFLAGS-tst-chk2.c): Likewise.
16465 (CFLAGS-tst-chk3.c): Likewise.
16466 (CFLAGS-tst-chk4.cc): Likewise.
16467 (CFLAGS-tst-chk5.cc): Likewise.
16468 (CFLAGS-tst-chk6.cc): Likewise.
16469 (CFLAGS-tst-lfschk1.c): Likewise.
16470 (CFLAGS-tst-lfschk2.c): Likewise.
16471 (CFLAGS-tst-lfschk3.c): Likewise.
16472 (CFLAGS-tst-lfschk4.cc): Likewise.
16473 (CFLAGS-tst-lfschk5.cc): Likewise.
16474 (CFLAGS-tst-lfschk6.cc): Likewise.
16475 (CFLAGS-tst-ssp-1.c): Likewise.
16476 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
16477 (CFLAGS-scandir64.c): Likewise.
16478 (CFLAGS-scandir-tail.c): Likewise.
16479 (CFLAGS-scandir64-tail.c): Likewise.
16480 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
16481 (CFLAGS-dl-tunables.c): Likewise.
16482 (CFLAGS-dl-runtime.c): Likewise.
16483 (CFLAGS-dl-lookup.c): Likewise.
16484 (CFLAGS-dl-iterate-phdr.c): Likewise.
16485 (CFLAGS-vismain.c): Likewise.
16486 (CFLAGS-tst-linkall-static.c): Likewise.
16487 (CFLAGS-tst-linkall-static.c): Likewise.
16488 (CPPFLAGS-dl-load.c): Likewise.
16489 (CFLAGS-ldconfig.c): Likewise.
16490 (CFLAGS-dl-cache.c): Likewise.
16491 (CFLAGS-cache.c): Likewise.
16492 (CFLAGS-rtld.c): Likewise.
16493 (CFLAGS-multiload.c): Likewise.
16494 (CFLAGS-filtmod1.c): Likewise.
16495 (CFLAGS-tst-align.c): Likewise.
16496 (CFLAGS-tst-align2.c): Likewise.
16497 (CFLAGS-tst-alignmod.c): Likewise.
16498 (CFLAGS-tst-alignmod2.c): Likewise.
16499 (CPPFLAGS-tst-execstack.c): Likewise.
16500 (CFLAGS-tst-ptrguard1-static.c): Likewise.
16501 (CFLAGS-tst-latepthreadmod.c): Likewise.
16502 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
16503 (CFLAGS-getgrnam_r.c): Likewise.
16504 (CFLAGS-getgrent_r.c): Likewise.
16505 (CFLAGS-getgrent.c): Likewise.
16506 (CFLAGS-fgetgrent.c): Likewise.
16507 (CFLAGS-fgetgrent_r.c): Likewise.
16508 (CFLAGS-putgrent.c): Likewise.
16509 (CFLAGS-initgroups.c): Likewise.
16510 (CFLAGS-getgrgid.c): Likewise.
16511 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
16512 (CFLAGS-getsgent.c): Likewise.
16513 (CFLAGS-fgetsgent.c): Likewise.
16514 (CFLAGS-fgetsgent_r.c): Likewise.
16515 (CFLAGS-putsgent.c): Likewise.
16516 (CFLAGS-getsgnam.c): Likewise.
16517 (CFLAGS-getsgnam_r.c): Likewise.
16518 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
16519 (CFLAGS-iconv_charmap.c): Likewise.
16520 (CFLAGS-dummy-repertoire.c): Likewise.
16521 (CFLAGS-charmap.c): Likewise.
16522 (CFLAGS-linereader.c): Likewise.
16523 (CFLAGS-simple-hash.c): Likewise.
16524 (CFLAGS-gconv_conf.c): Likewise.
16525 (CFLAGS-iconvconfig.c): Likewise.
16526 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
16527 (CFLAGS-gethstbyad.c): Likewise.
16528 (CFLAGS-gethstbynm_r.c): Likewise.
16529 (CFLAGS-gethstbynm.c): Likewise.
16530 (CFLAGS-gethstbynm2_r.c): Likewise.
16531 (CFLAGS-gethstbynm2.c): Likewise.
16532 (CFLAGS-gethstent_r.c): Likewise.
16533 (CFLAGS-gethstent.c): Likewise.
16534 (CFLAGS-rcmd.c): Likewise.
16535 (CFLAGS-getnetbynm_r.c): Likewise.
16536 (CFLAGS-getnetbynm.c): Likewise.
16537 (CFLAGS-getnetbyad_r.c): Likewise.
16538 (CFLAGS-getnetbyad.c): Likewise.
16539 (CFLAGS-getnetent_r.c): Likewise.
16540 (CFLAGS-getnetent.c): Likewise.
16541 (CFLAGS-getaliasent_r.c): Likewise.
16542 (CFLAGS-getaliasent.c): Likewise.
16543 (CFLAGS-getrpcent_r.c): Likewise.
16544 (CFLAGS-getrpcent.c): Likewise.
16545 (CFLAGS-getservent_r.c): Likewise.
16546 (CFLAGS-getservent.c): Likewise.
16547 (CFLAGS-getprtent_r.c): Likewise.
16548 (CFLAGS-getprtent.c): Likewise.
16549 (CFLAGS-either_ntoh.c): Likewise.
16550 (CFLAGS-either_hton.c): Likewise.
16551 (CFLAGS-getnetgrent.c): Likewise.
16552 (CFLAGS-getnetgrent_r.c): Likewise.
16553 (CFLAGS-tst-checks-posix.c): Likewise.
16554 (CFLAGS-tst-sockaddr.c): Likewise.
16555 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
16556 (CFLAGS-tst-translit.c): Likewise.
16557 (CFLAGS-tst-gettext2.c): Likewise.
16558 (CFLAGS-tst-codeset.c): Likewise.
16559 (CFLAGS-tst-gettext3.c): Likewise.
16560 (CFLAGS-tst-gettext4.c): Likewise.
16561 (CFLAGS-tst-gettext5.c): Likewise.
16562 (CFLAGS-tst-gettext6.c): Likewise.
16563 * io/Makefile (CFLAGS-open.c): Likewise.
16564 (CFLAGS-open64.c): Likewise.
16565 (CFLAGS-creat.c): Likewise.
16566 (CFLAGS-creat64.c): Likewise.
16567 (CFLAGS-fcntl.c): Likewise.
16568 (CFLAGS-poll.c): Likewise.
16569 (CFLAGS-ppoll.c): Likewise.
16570 (CFLAGS-lockf.c): Likewise.
16571 (CFLAGS-statfs.c): Likewise.
16572 (CFLAGS-fstatfs.c): Likewise.
16573 (CFLAGS-statvfs.c): Likewise.
16574 (CFLAGS-fstatvfs.c): Likewise.
16575 (CFLAGS-fts.c): Likewise.
16576 (CFLAGS-fts64.c): Likewise.
16577 (CFLAGS-ftw.c): Likewise.
16578 (CFLAGS-ftw64.c): Likewise.
16579 (CFLAGS-lockf.c): Likewise.
16580 (CFLAGS-posix_fallocate.c): Likewise.
16581 (CFLAGS-posix_fallocate64.c): Likewise.
16582 (CFLAGS-fallocate.c): Likewise.
16583 (CFLAGS-fallocate64.c): Likewise.
16584 (CFLAGS-read.c): Likewise.
16585 (CFLAGS-write.c): Likewise.
16586 (CFLAGS-test-stat.c): Likewise.
16587 (CFLAGS-test-lfs.c): Likewise.
16588 * libio/Makefile (CFLAGS-fileops.c): Likewise.
16589 (CFLAGS-fputc.c): Likewise.
16590 (CFLAGS-fputwc.c): Likewise.
16591 (CFLAGS-freopen64.c): Likewise.
16592 (CFLAGS-freopen.c): Likewise.
16593 (CFLAGS-fseek.c): Likewise.
16594 (CFLAGS-fseeko64.c): Likewise.
16595 (CFLAGS-fseeko.c): Likewise.
16596 (CFLAGS-ftello64.c): Likewise.
16597 (CFLAGS-ftello.c): Likewise.
16598 (CFLAGS-fwide.c): Likewise.
16599 (CFLAGS-genops.c): Likewise.
16600 (CFLAGS-getc.c): Likewise.
16601 (CFLAGS-getchar.c): Likewise.
16602 (CFLAGS-getwc.c): Likewise.
16603 (CFLAGS-getwchar.c): Likewise.
16604 (CFLAGS-iofclose.c): Likewise.
16605 (CFLAGS-iofflush.c): Likewise.
16606 (CFLAGS-iofgetpos64.c): Likewise.
16607 (CFLAGS-iofgetpos.c): Likewise.
16608 (CFLAGS-iofgets.c): Likewise.
16609 (CFLAGS-iofgetws.c): Likewise.
16610 (CFLAGS-iofputs.c): Likewise.
16611 (CFLAGS-iofputws.c): Likewise.
16612 (CFLAGS-iofread.c): Likewise.
16613 (CFLAGS-iofsetpos64.c): Likewise.
16614 (CFLAGS-iofsetpos.c): Likewise.
16615 (CFLAGS-ioftell.c): Likewise.
16616 (CFLAGS-iofwrite.c): Likewise.
16617 (CFLAGS-iogetdelim.c): Likewise.
16618 (CFLAGS-iogetline.c): Likewise.
16619 (CFLAGS-iogets.c): Likewise.
16620 (CFLAGS-iogetwline.c): Likewise.
16621 (CFLAGS-ioputs.c): Likewise.
16622 (CFLAGS-ioseekoff.c): Likewise.
16623 (CFLAGS-ioseekpos.c): Likewise.
16624 (CFLAGS-iosetbuffer.c): Likewise.
16625 (CFLAGS-iosetvbuf.c): Likewise.
16626 (CFLAGS-ioungetc.c): Likewise.
16627 (CFLAGS-ioungetwc.c): Likewise.
16628 (CFLAGS-oldfileops.c): Likewise.
16629 (CFLAGS-oldiofclose.c): Likewise.
16630 (CFLAGS-oldiofgetpos64.c): Likewise.
16631 (CFLAGS-oldiofgetpos.c): Likewise.
16632 (CFLAGS-oldiofsetpos64.c): Likewise.
16633 (CFLAGS-oldiofsetpos.c): Likewise.
16634 (CFLAGS-peekc.c): Likewise.
16635 (CFLAGS-putc.c): Likewise.
16636 (CFLAGS-putchar.c): Likewise.
16637 (CFLAGS-putwc.c): Likewise.
16638 (CFLAGS-putwchar.c): Likewise.
16639 (CFLAGS-rewind.c): Likewise.
16640 (CFLAGS-wfileops.c): Likewise.
16641 (CFLAGS-wgenops.c): Likewise.
16642 (CFLAGS-oldiofopen.c): Likewise.
16643 (CFLAGS-iofopen.c): Likewise.
16644 (CFLAGS-iofopen64.c): Likewise.
16645 (CFLAGS-oldtmpfile.c): Likewise.
16646 (CFLAGS-tst_putwc.c): Likewise.
16647 * locale/Makefile (CFLAGS-md5.c): Likewise.
16648 (CFLAGS-charmap.c): Likewise.
16649 (CFLAGS-locfile.c): Likewise.
16650 (CFLAGS-charmap-dir.c): Likewise.
16651 * login/Makefile (CFLAGS-grantpt.c): Likewise.
16652 (CFLAGS-getpt.c): Likewise.
16653 (CFLAGS-pt_chown.c): Likewise.
16654 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
16655 (CFLAGS-obstack.c): Likewise.
16656 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
16657 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
16658 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
16659 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
16660 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
16661 (CFLAGS-test-tgmath.c): Likewise.
16662 (CFLAGS-test-tgmath2.c): Likewise.
16663 (CFLAGS-test-tgmath-ret.c): Likewise.
16664 (CFLAGS-test-powl.c): Likewise.
16665 (CFLAGS-test-snan.c): Likewise.
16666 (CFLAGS-test-signgam-finite.c): Likewise.
16667 (CFLAGS-test-signgam-finite-c99.c): Likewise.
16668 (CFLAGS-test-signgam-finite-c11.c): Likewise.
16669 (CFLAGS-test-signgam-uchar.c): Likewise.
16670 (CFLAGS-test-signgam-uchar-init.c): Likewise.
16671 (CFLAGS-test-signgam-uchar-static.c): Likewise.
16672 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
16673 (CFLAGS-test-signgam-uint.c): Likewise.
16674 (CFLAGS-test-signgam-uint-init.c): Likewise.
16675 (CFLAGS-test-signgam-uint-static.c): Likewise.
16676 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
16677 (CFLAGS-test-signgam-ullong.c): Likewise.
16678 (CFLAGS-test-signgam-ullong-init.c): Likewise.
16679 (CFLAGS-test-signgam-ullong-static.c): Likewise.
16680 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
16681 (CFLAGS-test-math-cxx11.cc): Likewise.
16682 (CFLAGS-test-math-isinff.cc): Likewise.
16683 (CFLAGS-test-math-iszero.cc): Likewise.
16684 (CFLAGS-test-math-issignaling.cc): Likewise.
16685 (CFLAGS-test-math-iscanonical.cc): Likewise.
16686 (CFLAGS-test-iszero-excess-precision.c): Likewise.
16687 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
16688 (CFLAGS-test-flt-eval-method.c): Likewise.
16689 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
16690 (CFLAGS-test-finite-macros.c): Likewise.
16691 * misc/Makefile (CFLAGS-select.c): Likewise.
16692 (CFLAGS-tsearch.c): Likewise.
16693 (CFLAGS-lsearch.c): Likewise.
16694 (CFLAGS-pselect.c): Likewise.
16695 (CFLAGS-readv.c): Likewise.
16696 (CFLAGS-writev.c): Likewise.
16697 (CFLAGS-preadv.c): Likewise.
16698 (CFLAGS-preadv64.c): Likewise.
16699 (CFLAGS-pwritev.c): Likewise.
16700 (CFLAGS-pwritev64.c): Likewise.
16701 (CFLAGS-preadv2.c): Likewise.
16702 (CFLAGS-preadv64v2.c): Likewise.
16703 (CFLAGS-pwritev2.c): Likewise.
16704 (CFLAGS-pwritev64v2.c): Likewise.
16705 (CFLAGS-usleep.c): Likewise.
16706 (CFLAGS-syslog.c): Likewise.
16707 (CFLAGS-error.c): Likewise.
16708 (CFLAGS-getpass.c): Likewise.
16709 (CFLAGS-mkstemp.c): Likewise.
16710 (CFLAGS-mkstemp64.c): Likewise.
16711 (CFLAGS-getsysstats.c): Likewise.
16712 (CFLAGS-getusershell.c): Likewise.
16713 (CFLAGS-err.c): Likewise.
16714 (CFLAGS-tst-tsearch.c): Likewise.
16715 (CFLAGS-msync.c): Likewise.
16716 (CFLAGS-fdatasync.c): Likewise.
16717 (CFLAGS-fsync.c): Likewise.
16718 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
16719 (CFLAGS-unwind.c): Likewise.
16720 (CFLAGS-unwind-forcedunwind.c): Likewise.
16721 (CFLAGS-pthread_cancel.c): Likewise.
16722 (CFLAGS-pthread_setcancelstate.c): Likewise.
16723 (CFLAGS-pthread_setcanceltype.c): Likewise.
16724 (CFLAGS-cancellation.c): Likewise.
16725 (CFLAGS-libc-cancellation.c): Likewise.
16726 (CFLAGS-pthread_exit.c): Likewise.
16727 (CFLAGS-forward.c): Likewise.
16728 (CFLAGS-pthread_testcancel.c): Likewise.
16729 (CFLAGS-pthread_join.c): Likewise.
16730 (CFLAGS-pthread_timedjoin.c): Likewise.
16731 (CFLAGS-pthread_once.c): Likewise.
16732 (CFLAGS-pthread_cond_wait.c): Likewise.
16733 (CFLAGS-sem_wait.c): Likewise.
16734 (CFLAGS-sem_timedwait.c): Likewise.
16735 (CFLAGS-fcntl.c): Likewise.
16736 (CFLAGS-lockf.c): Likewise.
16737 (CFLAGS-pread.c): Likewise.
16738 (CFLAGS-pread64.c): Likewise.
16739 (CFLAGS-pwrite.c): Likewise.
16740 (CFLAGS-pwrite64.c): Likewise.
16741 (CFLAGS-wait.c): Likewise.
16742 (CFLAGS-waitpid.c): Likewise.
16743 (CFLAGS-sigwait.c): Likewise.
16744 (CFLAGS-msgrcv.c): Likewise.
16745 (CFLAGS-msgsnd.c): Likewise.
16746 (CFLAGS-tcdrain.c): Likewise.
16747 (CFLAGS-open.c): Likewise.
16748 (CFLAGS-open64.c): Likewise.
16749 (CFLAGS-pause.c): Likewise.
16750 (CFLAGS-recv.c): Likewise.
16751 (CFLAGS-send.c): Likewise.
16752 (CFLAGS-accept.c): Likewise.
16753 (CFLAGS-sendto.c): Likewise.
16754 (CFLAGS-connect.c): Likewise.
16755 (CFLAGS-recvfrom.c): Likewise.
16756 (CFLAGS-recvmsg.c): Likewise.
16757 (CFLAGS-sendmsg.c): Likewise.
16758 (CFLAGS-close.c): Likewise.
16759 (CFLAGS-read.c): Likewise.
16760 (CFLAGS-write.c): Likewise.
16761 (CFLAGS-nanosleep.c): Likewise.
16762 (CFLAGS-sigsuspend.c): Likewise.
16763 (CFLAGS-msync.c): Likewise.
16764 (CFLAGS-fdatasync.c): Likewise.
16765 (CFLAGS-fsync.c): Likewise.
16766 (CFLAGS-pt-system.c): Likewise.
16767 (CFLAGS-tst-cleanup2.c): Likewise.
16768 (CFLAGS-tst-cleanupx2.c): Likewise.
16769 (CFLAGS-flockfile.c): Likewise.
16770 (CFLAGS-ftrylockfile.c): Likewise.
16771 (CFLAGS-funlockfile.c): Likewise.
16772 (CFLAGS-tst-initializers1.c): Likewise.
16773 (CFLAGS-tst-initializers1-c89.c): Likewise.
16774 (CFLAGS-tst-initializers1-c99.c): Likewise.
16775 (CFLAGS-tst-initializers1-c11.c): Likewise.
16776 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
16777 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
16778 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
16779 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
16780 (CFLAGS-nscd_getgr_r.c): Likewise.
16781 (CFLAGS-nscd_gethst_r.c): Likewise.
16782 (CFLAGS-nscd_getai.c): Likewise.
16783 (CFLAGS-nscd_initgroups.c): Likewise.
16784 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
16785 (CFLAGS-pause.c): Likewise.
16786 (CFLAGS-pread.c): Likewise.
16787 (CFLAGS-pread64.c): Likewise.
16788 (CFLAGS-pwrite.c): Likewise.
16789 (CFLAGS-pwrite64.c): Likewise.
16790 (CFLAGS-sleep.c): Likewise.
16791 (CFLAGS-wait.c): Likewise.
16792 (CFLAGS-waitid.c): Likewise.
16793 (CFLAGS-waitpid.c): Likewise.
16794 (CFLAGS-getopt.c): Likewise.
16795 (CFLAGS-wordexp.c): Likewise.
16796 (CFLAGS-sysconf.c): Likewise.
16797 (CFLAGS-pathconf.c): Likewise.
16798 (CFLAGS-fpathconf.c): Likewise.
16799 (CFLAGS-spawn.c): Likewise.
16800 (CFLAGS-spawnp.c): Likewise.
16801 (CFLAGS-spawni.c): Likewise.
16802 (CFLAGS-glob.c): Likewise.
16803 (CFLAGS-glob64.c): Likewise.
16804 (CFLAGS-getconf.c): Likewise.
16805 (CFLAGS-nanosleep.c): Likewise.
16806 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
16807 (CFLAGS-getpwent.c): Likewise.
16808 (CFLAGS-getpw.c): Likewise.
16809 (CFLAGS-fgetpwent_r.c): Likewise.
16810 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
16811 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
16812 (CFLAGS-mq_timedreceive.c): Likewise.
16813 (CFLAGS-mq_timedsend.c): Likewise.
16814 (CFLAGS-clock_nanosleep.c): Likewise.
16815 (CFLAGS-librt-cancellation.c): Likewise.
16816 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
16817 (CFLAGS-getspent.c): Likewise.
16818 (CFLAGS-fgetspent.c): Likewise.
16819 (CFLAGS-fgetspent_r.c): Likewise.
16820 (CFLAGS-putspent.c): Likewise.
16821 (CFLAGS-getspnam.c): Likewise.
16822 (CFLAGS-getspnam_r.c): Likewise.
16823 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
16824 (CFLAGS-sigsuspend.c): Likewise.
16825 (CFLAGS-sigtimedwait.c): Likewise.
16826 (CFLAGS-sigwait.c): Likewise.
16827 (CFLAGS-sigwaitinfo.c): Likewise.
16828 (CFLAGS-sigreturn.c): Likewise.
16829 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
16830 (CFLAGS-vfwprintf.c): Likewise.
16831 (CFLAGS-tmpfile.c): Likewise.
16832 (CFLAGS-tmpfile64.c): Likewise.
16833 (CFLAGS-tempname.c): Likewise.
16834 (CFLAGS-psignal.c): Likewise.
16835 (CFLAGS-vprintf.c): Likewise.
16836 (CFLAGS-cuserid.c): Likewise.
16837 (CFLAGS-errlist.c): Likewise.
16838 (CFLAGS-siglist.c): Likewise.
16839 (CFLAGS-scanf15.c): Likewise.
16840 (CFLAGS-scanf17.c): Likewise.
16841 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
16842 (CFLAGS-msort.c): Likewise.
16843 (CFLAGS-qsort.c): Likewise.
16844 (CFLAGS-system.c): Likewise.
16845 (CFLAGS-fmtmsg.c): Likewise.
16846 (CFLAGS-strfmon.c): Likewise.
16847 (CFLAGS-strfmon_l.c): Likewise.
16848 (CFLAGS-strfromd.c): Likewise.
16849 (CFLAGS-strfromf.c): Likewise.
16850 (CFLAGS-strfroml.c): Likewise.
16851 (CFLAGS-tst-bsearch.c): Likewise.
16852 (CFLAGS-tst-qsort.c): Likewise.
16853 (CFLAGS-tst-makecontext2.c): Likewise.
16854 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
16855 (CFLAGS-xnlm_prot.c): Likewise.
16856 (CFLAGS-xrstat.c): Likewise.
16857 (CFLAGS-xyppasswd.c): Likewise.
16858 (CFLAGS-xklm_prot.c): Likewise.
16859 (CFLAGS-xrex.c): Likewise.
16860 (CFLAGS-xsm_inter.c): Likewise.
16861 (CFLAGS-xmount.c): Likewise.
16862 (CFLAGS-xrusers.c): Likewise.
16863 (CFLAGS-xspray.c): Likewise.
16864 (CFLAGS-xnfs_prot.c): Likewise.
16865 (CFLAGS-xrquota.c): Likewise.
16866 (CFLAGS-xkey_prot.c): Likewise.
16867 (CFLAGS-auth_unix.c): Likewise.
16868 (CFLAGS-key_call.c): Likewise.
16869 (CFLAGS-pmap_rmt.c): Likewise.
16870 (CFLAGS-clnt_perr.c): Likewise.
16871 (CFLAGS-openchild.c): Likewise.
16872 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
16873 (CFLAGS-msgsnd.c): Likewise.
16874 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
16875 * time/Makefile (CFLAGS-tzfile.c): Likewise.
16876 (CFLAGS-tzset.c): Likewise.
16877 (CFLAGS-getdate.c): Likewise.
16878 (CFLAGS-test_time.c): Likewise.
16879 (CPPFLAGS-tst-tzname.c): Likewise.
16880 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
16881 (CFLAGS-zic.c): Likewise.
16882 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
16883 (CFLAGS-wcswidth.c): Likewise.
16884 (CFLAGS-wcstol.c): Likewise.
16885 (CFLAGS-wcstoul.c): Likewise.
16886 (CFLAGS-wcstoll.c): Likewise.
16887 (CFLAGS-wcstoull.c): Likewise.
16888 (CFLAGS-wcstod.c): Likewise.
16889 (CFLAGS-wcstold.c): Likewise.
16890 (CFLAGS-wcstof128.c): Likewise.
16891 (CFLAGS-wcstof.c): Likewise.
16892 (CFLAGS-wcstol_l.c): Likewise.
16893 (CFLAGS-wcstoul_l.c): Likewise.
16894 (CFLAGS-wcstoll_l.c): Likewise.
16895 (CFLAGS-wcstoull_l.c): Likewise.
16896 (CFLAGS-wcstod_l.c): Likewise.
16897 (CFLAGS-wcstold_l.c): Likewise.
16898 (CFLAGS-wcstof128_l.c): Likewise.
16899 (CFLAGS-wcstof_l.c): Likewise.
16900 (CPPFLAGS-tst-wchar-h.c): Likewise.
16901 (CPPFLAGS-wcstold_l.c): Likewise.
16902---
f4b2aea6
PC
169032017-12-11 Paul A. Clarke <pc@us.ibm.com>
16904
16905 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
16906
c9cd7b0c
AZ
169072017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16908 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16909
16910 * manual/tunables.texi (Hardware Capability Tunables): Document
16911 glibc.tune.cached_memopt.
16912 * sysdeps/powerpc/cpu-features.c: New file.
16913 * sysdeps/powerpc/cpu-features.h: New file.
16914 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
16915 _dl_powerpc_cpu_features.
16916 * sysdeps/powerpc/dl-tunables.list: New file.
16917 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
16918 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
16919 (INIT_ARCH): Initialize use_aligned_memopt.
16920 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
16921 IS_IN(rtld))]: Restrict dl_platform_init availability and
16922 initialize CPU features used by tunables.
16923 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
16924 Add memcpy-power8-cached.
16925 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
16926 __memcpy_power8_cached.
16927 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
16928 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
16929 New file.
16930
e70c6fee
L
169312017-12-11 H.J. Lu <hongjiu.lu@intel.com>
16932
16933 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
16934 (CFLAGS-noinl-tester.c): Likewise.
16935 (CFLAGS-tst-strlen.c): Likewise.
16936 (CFLAGS-stratcliff.c): Likewise.
16937 (CFLAGS-test-ffs.c): Likewise.
16938 (CFLAGS-tst-inlcall.c): Likewise.
16939 (CFLAGS-tst-xbzero-opt.c): Likewise.
16940 (CFLAGS-memcpy.c): Likewise.
16941 (CFLAGS-wordcopy.c): Likewise.
16942
dee94366
SL
169432017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
16944
16945 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
16946 Store r15 on stack and add cfi rule.
16947 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
16948 Likewise.
16949
363e4519 169502017-12-10 Aurelien Jarno <aurelien@aurel32.net>
f648728c
AJ
16951
16952 [BZ #22577]
16953 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
16954 call.
16955
9d0ffa60
L
169562017-12-07 H.J. Lu <hongjiu.lu@intel.com>
16957
16958 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16959 Add s_sinf-sse2 and s_sinf-fma.
16960 (CFLAGS-s_sinf-fma.c): New.
16961 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
16962 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
16963 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
16964
9574c7b6
L
169652017-12-07 H.J. Lu <hongjiu.lu@intel.com>
16966
16967 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
16968
d15e83c5
JM
169692017-12-07 Joseph Myers <joseph@codesourcery.com>
16970
16971 [BZ #22568]
16972 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
16973 part of result to imaginary part of argument if it is zero and the
16974 real part of the argument is not finite.
16975 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
16976 of result to real part of argument if it is zero and the imaginary
16977 part of the argument is not finite.
16978
d89756eb
MF
169792017-12-07 Mike FABIAN <mfabian@redhat.com>
16980
16981 [BZ #22524]
16982 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
16983 and to the list of locales to be built for testing.
16984 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
16985 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
16986 and build the collation rules upon that.
16987
1f9055ce
JM
169882017-12-07 Joseph Myers <joseph@codesourcery.com>
16989
16990 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
16991 * manual/math.texi (Mathematics): Document support for _Float32.
16992 * math/Makefile (test-types): Add float32.
16993 * math/Versions (GLIBC_2.27): Add _Float32 functions.
16994 * stdlib/Versions (GLIBC_2.27): Likewise.
16995 * wcsmbs/Versions (GLIBC_2.27): Likewise.
16996 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
16997 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16998 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
16999 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17000 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
17001 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17002 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
17003 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17004 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
17005 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17006 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
17007 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17008 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
17009 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17010 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
17011 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17012 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
17013 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17014 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
17015 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17016 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
17017 Likewise.
17018 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17019 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
17020 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
17021 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
17022 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
17024 Likewise.
17025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
17026 Likewise.
17027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
17028 Likewise.
17029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17030 Likewise.
17031
17032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
17033 Likewise.
17034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
17035 Likewise.
17036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
17037 Likewise.
17038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
17039 Likewise.
17040 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
17041 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17042 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
17043 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17044 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
17045 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17046 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
17047 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17048 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
17049 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17050 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
17051 Likewise.
17052 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
17053 Likewise.
17054 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
17055 Likewise.
17056 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
17057 Likewise.
17058 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
17059 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17060 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
17061 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17062 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
17063 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17064 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
17065 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
17066
5244527d
JM
170672017-12-06 Joseph Myers <joseph@codesourcery.com>
17068
fb1ca2aa
JM
17069 * stdlib/strtof.c: Include <bits/floatn.h>
17070 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
17071 and later undefine as macro. Define as weak alias if
17072 [!USE_WIDE_CHAR].
17073 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
17074 and later undefine as macro. Define as weak alias if
17075 [USE_WIDE_CHAR].
17076 * stdlib/strtof_l.c: Include <bits/floatn.h>
17077 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
17078 and later undefine as macro. Define as weak alias if
17079 [!USE_WIDE_CHAR].
17080 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
17081 and later undefine as macro. Define as weak alias if
17082 [USE_WIDE_CHAR].
17083
fc10cc3f
JM
17084 * stdlib/strfromf.c: Include <bits/floatn.h>.
17085 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
17086 and later undefine as macro and define as weak alias.
17087
e420d228
JM
17088 * math/test-float32.h: New file.
17089
26007a2f
JM
17090 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
17091 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
17092 (libm_alias_float_other_r): Create f32 alias.
17093 (libm_alias_float_r): Use semicolon before call to
17094 libm_alias_float_other_r.
17095
c191f64c
JM
17096 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
17097 second argument to libm_alias_float_other.
17098 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
17099 second argument to libm_alias_float_other.
17100 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
17101 argument to libm_alias_float_other.
17102
5244527d
JM
17103 [BZ #22561]
17104 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
17105 real part of result for argument 0 + i * NaN.
17106 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
17107 results for tests of 0 + i * NaN.
17108
d73fac82
AZ
171092017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17110
17111 * sysdeps/alpha/fpu/libm-test-ulps: Update.
17112
7ec094e8
DM
171132017-12-06 David S. Miller <davem@davemloft.net>
17114
17115 * sysdeps/sparc/fpu/libm-test-ulps: Update
17116 exp_{downward,towardzero,upward} ulps.
17117
53994f12
JM
171182017-12-06 Joseph Myers <joseph@codesourcery.com>
17119
1dbe6f64
JM
17120 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
17121 variables static.
17122
53994f12
JM
17123 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
17124 (Y0_2D): Likewise.
17125 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
17126 (Y0_2D): Likewise.
17127 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
17128 (Y0_2D): Likewise.
17129 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
17130 (Y0_2D): Likewise.
17131
62ea2193
MF
171322017-12-06 Mike FABIAN <mfabian@redhat.com>
17133
17134 [BZ #22515]
17135 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
17136 and to the list of locales to be built for testing.
17137 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
17138 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
17139 and build the collation rules upon that.
17140
87235d70
RS
171412017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17142
17143 * NEWS: Add sinf to list of optimized functions.
17144
0d93b7fd
JM
171452017-12-06 Joseph Myers <joseph@codesourcery.com>
17146
17147 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
17148 (__HAVE_FLOAT32X): Likewise.
17149 * manual/math.texi (Mathematics): Document support for _Float64
17150 and _Float32x.
17151 * math/Makefile (test-types): Add float64 and float32x.
17152 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
17153 functions.
17154 * stdlib/Versions (GLIBC_2.27): Likewise.
17155 * wcsmbs/Versions (GLIBC_2.27): Likewise.
17156 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
17157 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17158 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
17159 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17160 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
17161 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17162 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
17163 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17164 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
17165 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17166 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
17167 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17168 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
17169 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17170 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
17171 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17172 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
17173 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17174 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
17175 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17176 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
17177 Likewise.
17178 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17179 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
17180 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
17181 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
17182 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
17184 Likewise.
17185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
17186 Likewise.
17187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
17188 Likewise.
17189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17190 Likewise.
17191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
17192 Likewise.
17193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
17194 Likewise.
17195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
17196 Likewise.
17197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
17198 Likewise.
17199 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
17200 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17201 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
17202 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17203 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
17204 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17205 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
17206 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17207 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
17208 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17209 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
17210 Likewise.
17211 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
17212 Likewise.
17213 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
17214 Likewise.
17215 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
17216 Likewise.
17217 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
17218 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17219 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
17220 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17221 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
17222 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17223 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
17224 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
17225
f7787234
JM
172262017-12-05 Joseph Myers <joseph@codesourcery.com>
17227
17228 * bits/floatn-common.h: Include <bits/long-double.h>.
17229 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
17230 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
17231 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
17232 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
17233 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
17234 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
17235 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
17236 (__builtin_huge_valf64): Use __builtin_huge_vall.
17237 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
17238 (__builtin_inff64): Use __builtin_infl.
17239 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
17240 (__builtin_nanf64): Use __builtin_nanl.
17241 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
17242 (__builtin_nansf64): Use __builtin_nansl.
17243
363e4519
DL
172442017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
17245 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
07ed18d2
RA
17246 Carlos O'Donnell <carlos@redhat.com>
17247
17248 * elf/dl-tunables.list: Add elision parameters.
17249 * manual/tunables.texi: Add entries about elision tunable.
17250 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
17251 Add callback functions to dynamically enable/disable elision.
17252 Add multiple callbacks functions to set elision parameters.
17253 Deleted __libc_enable_secure check.
17254 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
17255 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
17256 * configure: Regenerated.
17257 * configure.ac: Option enable_lock_elision was deleted.
17258 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
17259 * config.make.in: Remove references to enable_lock_elision.
17260 * manual/install.texi: Elision configure option was removed.
17261 * INSTALL: Regenerated to remove enable_lock_elision.
17262 * nptl/Makefile:
17263 Disable elision so it can verify error case for destroying a mutex.
17264 * sysdeps/powerpc/nptl/elide.h:
17265 Cleanup ENABLE_LOCK_ELISION check.
17266 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
17267 * sysdeps/s390/configure: Regenerated.
17268 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
17269 * nptl/tst-mutex8.c:
17270 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
17271 * sysdeps/powerpc/powerpc32/sysdep.h:
17272 Deleted all ENABLE_LOCK_ELISION checks.
17273 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
17274 * sysdeps/powerpc/sysdep.h: Likewise.
17275 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
17276 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
17277 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
17278 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
17279 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
17280 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
17281 enable-lock-elision.
17282
a5a2a76b
JM
172832017-12-05 Joseph Myers <joseph@codesourcery.com>
17284
17285 * stdlib/strtod.c: Include <bits/floatn.h>.
17286 (BUILD_DOUBLE): New macro.
17287 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
17288 (strtof64): Define and later undefine as macro. Define as weak
17289 alias if [!USE_WIDE_CHAR].
17290 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
17291 (wcstof64): Define and later undefine as macro. Define as weak
17292 alias if [USE_WIDE_CHAR].
17293 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
17294 (strtof32x): Define and later undefine as macro. Define as weak
17295 alias if [!USE_WIDE_CHAR].
17296 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
17297 (wcstof32x): Define and later undefine as macro. Define as weak
17298 alias if [USE_WIDE_CHAR].
17299 * stdlib/strtod_l.c: Include <bits/floatn.h>.
17300 (BUILD_DOUBLE): New macro.
17301 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
17302 (strtof64_l): Define and later undefine as macro. Define as weak
17303 alias if [!USE_WIDE_CHAR].
17304 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
17305 (wcstof64_l): Define and later undefine as macro. Define as weak
17306 alias if [USE_WIDE_CHAR].
17307 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
17308 (strtof32x_l): Define and later undefine as macro. Define as weak
17309 alias if [!USE_WIDE_CHAR].
17310 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
17311 (wcstof32x_l): Define and later undefine as macro. Define as weak
17312 alias if [USE_WIDE_CHAR].
17313
94d80dfc
AZ
173142017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17315
17316 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
17317 (reduced): Use ones as double instead of integer.
17318
00d54af7
SN
173192017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
17320
17321 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
17322
f2d64d62
JM
173232017-12-05 Joseph Myers <joseph@codesourcery.com>
17324
1f70eae4
JM
17325 * stdlib/strfromd.c: Include <bits/floatn.h>.
17326 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
17327 and later undefine as macro and define as weak alias.
17328 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
17329 Likewise.
17330
e2c4dce5
JM
17331 * math/test-float32x.h: New file.
17332 * math/test-float64.h: Likewise.
17333
f2d64d62
JM
17334 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
17335 (libm_alias_double_other_r_f64): New macro.
17336 (libm_alias_double_other_r_f32x): Likewise.
17337 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
17338 libm_alias_double_other_r_f32x.
17339 (libm_alias_double_r): Use semicolon before call to
17340 libm_alias_double_other_r.
17341 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
17342 <bits/floatn.h>.
17343 (libm_alias_double_other_r_f64): New macro.
17344 (libm_alias_double_other_r_f32x): Likewise.
17345 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
17346 libm_alias_double_other_r_f32x.
17347
91c318e7
L
173482017-12-05 H.J. Lu <hongjiu.lu@intel.com>
17349
17350 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
17351 int.
17352 (SINF_FUNC): Likewise. Replace floor with simple casts.
17353
de9661d6
MF
173542017-12-05 Mike FABIAN <mfabian@redhat.com>
17355
17356 [BZ #22517]
17357 * localedata/Makefile: Add et_EE.UTF-8 to test-input
17358 and to the list of locales to be built for testing.
17359 * localedata/et_EE.UTF-8.in: New file for testing the collation.
17360 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
17361 and build the collation rules upon that.
17362
f18b8dc7
CM
173632017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
17364
17365 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
17366 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
17367 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
17368 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
17369 instead of __insn__xxx.
17370 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
17371 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
17372 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
17373 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
17374 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
17375 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
17376
446d22e9
FW
173772017-12-05 Florian Weimer <fweimer@redhat.com>
17378
17379 Linux: Implement interfaces for memory protection keys
17380 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
17381 xsignal, xsysconf.
17382 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
17383 * support/xunistd.h (xsysconf): Declare.
17384 * support/xraise.c: New file.
17385 * support/xsigaction.c: Likewise.
17386 * support/xsignal.c: Likewise.
17387 * support/xsysconf.c: Likewise.
17388 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
17389 pkey_set, pkey_get, pkey_mprotect.
17390 [misc] (tests): Add tst-pkey.
17391 (tst-pkey): Link with -lpthread.
17392 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
17393 pkey_free, pkey_set, pkey_get, pkey_mprotect.
17394 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
17395 (PKEY_DISABLE_WRITE): Define.
17396 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
17397 Declare.
17398 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
17399 (SEGV_PKUERR): Add.
17400 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
17401 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
17402 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
17403 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
17404 Add.
17405 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
17406 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
17407 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
17408 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
17409 * sysdeps/unix/sysv/linux/**.abilist: Update.
17410
da616c14
FW
174112017-12-05 Florian Weimer <fweimer@redhat.com>
17412
17413 * support/tst-test_compare.c (subprocess): Use long long instead
17414 of long argument for consistent type width across 32-bit and
17415 64-bit architectures.
17416 (do_test): Adjust expected output.
17417
216933b2
JM
174182017-12-05 Joseph Myers <joseph@codesourcery.com>
17419
17420 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
17421 (cosf): Define using libm_alias_float.
17422 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
17423 (fabsf): Define using libm_alias_float.
17424 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
17425 (fmaf): Define using libm_alias_float.
17426 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
17427 (rintf): Define using libm_alias_float.
17428 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
17429 (sinf): Define using libm_alias_float.
17430 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
17431 <libm-alias-float.h>.
17432 (modff): Define using libm_alias_float.
17433 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
17434 <libm-alias-float.h>.
17435 (logbf): Define using libm_alias_float.
17436 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
17437 <libm-alias-float.h>.
17438 (ceilf): Define using libm_alias_float.
17439 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
17440 <libm-alias-float.h>.
17441 (copysignf): Define using libm_alias_float.
17442 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
17443 <libm-alias-float.h>.
17444 (floorf): Define using libm_alias_float.
17445 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
17446 <libm-alias-float.h>.
17447 (llrintf): Define using libm_alias_float.
17448 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
17449 <libm-alias-float.h>.
17450 (llroundf): Define using libm_alias_float.
17451 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
17452 <libm-alias-float.h>.
17453 (lrintf): Define using libm_alias_float.
17454 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
17455 <libm-alias-float.h>.
17456 (lroundf): Define using libm_alias_float.
17457 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
17458 <libm-alias-float.h>.
17459 (nearbyintf): Define using libm_alias_float.
17460 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
17461 <libm-alias-float.h>.
17462 (rintf): Define using libm_alias_float.
17463 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
17464 <libm-alias-float.h>.
17465 (roundf): Define using libm_alias_float.
17466 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
17467 <libm-alias-float.h>.
17468 (truncf): Define using libm_alias_float.
17469 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
17470 Include <libm-alias-float.h>.
17471 (ceilf): Define using libm_alias_float.
17472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
17473 Include <libm-alias-float.h>.
17474 (copysignf): Define using libm_alias_float.
17475 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
17476 Include <libm-alias-float.h>.
17477 (floorf): Define using libm_alias_float.
17478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
17479 Include <libm-alias-float.h>.
17480 (llrintf): Define using libm_alias_float.
17481 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
17482 Include <libm-alias-float.h>.
17483 (llroundf): Define using libm_alias_float.
17484 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
17485 Include <libm-alias-float.h>.
17486 (logbf): Define using libm_alias_float.
17487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
17488 Include <libm-alias-float.h>.
17489 (lrintf): Define using libm_alias_float.
17490 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
17491 Include <libm-alias-float.h>.
17492 (lroundf): Define using libm_alias_float.
17493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
17494 Include <libm-alias-float.h>.
17495 (modff): Define using libm_alias_float.
17496 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
17497 Include <libm-alias-float.h>.
17498 (roundf): Define using libm_alias_float.
17499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
17500 Include <libm-alias-float.h>.
17501 (truncf): Define using libm_alias_float.
17502 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
17503 <libm-alias-float.h>.
17504 (llrintf): Define using libm_alias_float.
17505 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
17506 <libm-alias-float.h>.
17507 (llroundf): Define using libm_alias_float.
17508 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
17509 <libm-alias-float.h>.
17510 (ceilf): Define using libm_alias_float.
17511 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
17512 <libm-alias-float.h>.
17513 (floorf): Define using libm_alias_float.
17514 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
17515 <libm-alias-float.h>.
17516 (llroundf): Define using libm_alias_float.
17517 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
17518 <libm-alias-float.h>.
17519 (lroundf): Define using libm_alias_float.
17520 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
17521 <libm-alias-float.h>.
17522 (roundf): Define using libm_alias_float.
17523 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
17524 <libm-alias-float.h>.
17525 (truncf): Define using libm_alias_float.
17526 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
17527 <libm-alias-float.h>.
17528 (copysignf): Define using libm_alias_float.
17529 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
17530 <libm-alias-float.h>.
17531 (llrintf): Define using libm_alias_float.
17532 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
17533 <libm-alias-float.h>.
17534 (llroundf): Define using libm_alias_float.
17535 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
17536 <libm-alias-float.h>.
17537 (lrintf): Define using libm_alias_float.
17538 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
17539 <libm-alias-float.h>.
17540 (lroundf): Define using libm_alias_float.
17541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
17542 <libm-alias-float.h>.
17543 (ceilf): Define using libm_alias_float.
17544 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
17545 <libm-alias-float.h>.
17546 (copysignf): Define using libm_alias_float.
17547 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
17548 <libm-alias-float.h>.
17549 (cosf): Define using libm_alias_float.
17550 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
17551 <libm-alias-float.h>.
17552 (floorf): Define using libm_alias_float.
17553 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
17554 <libm-alias-float.h>.
17555 (llrintf): Define using libm_alias_float.
17556 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
17557 <libm-alias-float.h>.
17558 (llroundf): Define using libm_alias_float.
17559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
17560 <libm-alias-float.h>.
17561 (logbf): Define using libm_alias_float.
17562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
17563 <libm-alias-float.h>.
17564 (modff): Define using libm_alias_float.
17565 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
17566 <libm-alias-float.h>.
17567 (roundf): Define using libm_alias_float.
17568 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
17569 <libm-alias-float.h>.
17570 (sinf): Define using libm_alias_float.
17571 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
17572 <libm-alias-float.h>.
17573 (truncf): Define using libm_alias_float.
17574 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
17575 <libm-alias-float.h>.
17576 (ceilf): Define using libm_alias_float.
17577 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
17578 <libm-alias-float.h>.
17579 (copysignf): Define using libm_alias_float.
17580 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
17581 <libm-alias-float.h>.
17582 (floorf): Define using libm_alias_float.
17583 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
17584 <libm-alias-float.h>.
17585 (llrintf): Define using libm_alias_float.
17586 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
17587 <libm-alias-float.h>.
17588 (llroundf): Define using libm_alias_float.
17589 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
17590 <libm-alias-float.h>.
17591 (nearbyintf): Define using libm_alias_float.
17592 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
17593 <libm-alias-float.h>.
17594 (rintf): Define using libm_alias_float.
17595 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
17596 <libm-alias-float.h>.
17597 (roundf): Define using libm_alias_float.
17598 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
17599 <libm-alias-float.h>.
17600 (truncf): Define using libm_alias_float.
17601 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
17602 <libm-alias-float.h>.
17603 (ceilf): Define using libm_alias_float.
17604 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
17605 <libm-alias-float.h>.
17606 (floorf): Define using libm_alias_float.
17607 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
17608 <libm-alias-float.h>.
17609 (llroundf): Define using libm_alias_float.
17610 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
17611 <libm-alias-float.h>.
17612 (roundf): Define using libm_alias_float.
17613 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
17614 <libm-alias-float.h>.
17615 (truncf): Define using libm_alias_float.
17616 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
17617 <libm-alias-float.h>.
17618 (copysignf): Define using libm_alias_float.
17619 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
17620 <libm-alias-float.h>.
17621 (llrintf): Define using libm_alias_float.
17622 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
17623 <libm-alias-float.h>.
17624 (llroundf): Define using libm_alias_float.
17625 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
17626 <libm-alias-float.h>.
17627 (cosf): Define using libm_alias_float.
17628 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
17629 <libm-alias-float.h>.
17630 (llrintf): Define using libm_alias_float.
17631 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
17632 <libm-alias-float.h>.
17633 (llroundf): Define using libm_alias_float.
17634 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
17635 <libm-alias-float.h>.
17636 (sinf): Define using libm_alias_float.
17637
93485524
FW
176382017-12-04 Florian Weimer <fweimer@redhat.com>
17639
17640 * support/check.h (TEST_COMPARE): Define.
17641 (support_test_compare_failure): Declare.
17642 * support/Makefile (libsupport-routines): Add
17643 support_test_compare_failure.
17644 (tests): Add tst-test_compare.
17645 * support /support_test_compare_failure.c: New file.
17646 * support/tst-test_compare.c: Likewise.
17647
96b06a19
MF
176482017-12-04 Mike FABIAN <mfabian@redhat.com>
17649
17650 [BZ #22527]
17651 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
17652 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
17653 available, this rewrite of the collation rules does reproduce
17654 the test file in the same order.
17655
1f6d91f3
MF
176562017-12-04 Mike FABIAN <mfabian@redhat.com>
17657
17658 [BZ #10580]
17659 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
17660 digraphs in the month and day names. Using single code points for
17661 digraphs is deprecated. While there are dedicated Unicode
17662 codepoints, for the digraphs, these are included for backwards
17663 compatibility and modern texts use a sequence of Basic Latin
17664 characters. See: https://www.unicode.org/faq/ligature_digraph.html
17665 This makes the month and day names agree exactly with CLDR now,
17666 CLDR does not use the single code points for the digraphs either.
17667
2e49fed8
CM
176682017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
17669
17670 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
17671
73895b49
JM
176722017-12-04 Joseph Myers <joseph@codesourcery.com>
17673
17674 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
17675 of floor.
17676
4c1d801a
SP
176772017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
17678
17679 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
17680 Define only for libc.so.
17681
478593e6
SL
176822017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
17683
17684 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
17685 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
17686 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
17687 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
17688 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17689
7863a711
RS
176902017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17691
17692 [BZ #5997]
17693 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
17694
800a496a
JDA
176952017-12-02 John David Anglin <danglin@gcc.gnu.org>
17696
b3f7fb12
JDA
17697 [BZ libc/19170]
17698 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
17699 PREINIT_FUNCTION_WEAK is nonzero.
17700 (gmon_initializer): New function. Put procedure label for it in
17701 .init_array section.
17702 (_init): Don't call PREINIT_FUNCTION.
17703 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
17704 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
17705 value when map argument is null.
17706
800a496a
JDA
17707 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
17708 depi instruction from PIC pc-relative sequence.
17709 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
17710 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
17711 (elf_machine_load_address): Likewise.
17712 (elf_machine_runtime_setup): Likewise.
17713
d17542d2
JM
177142017-12-02 Joseph Myers <joseph@codesourcery.com>
17715
17716 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
17717 <libm-alias-double.h>.
17718 (logb): Define using libm_alias_double.
17719 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
17720 <libm-alias-double.h>.
17721 (copysign): Define using libm_alias_double.
17722 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
17723 <libm-alias-double.h>.
17724 (llrint): Define using libm_alias_double.
17725 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
17726 <libm-alias-double.h>.
17727 (llround): Define using libm_alias_double.
17728 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
17729 <libm-alias-double.h>.
17730 (lrint): Define using libm_alias_double.
17731 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
17732 <libm-alias-double.h>.
17733 (lround): Define using libm_alias_double.
17734 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
17735 Include <libm-alias-double.h>.
17736 (copysign): Define using libm_alias_double.
17737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
17738 Include <libm-alias-double.h>.
17739 (llrint): Define using libm_alias_double.
17740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
17741 Include <libm-alias-double.h>.
17742 (llround): Define using libm_alias_double.
17743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
17744 <libm-alias-double.h>.
17745 (logb): Define using libm_alias_double.
17746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
17747 Include <libm-alias-double.h>.
17748 (lrint): Define using libm_alias_double.
17749 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
17750 Include <libm-alias-double.h>.
17751 (lround): Define using libm_alias_double.
17752 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
17753 <libm-alias-double.h>.
17754 (llrint): Define using libm_alias_double.
17755 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
17756 <libm-alias-double.h>.
17757 (llround): Define using libm_alias_double.
17758 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
17759 <libm-alias-double.h>.
17760 (llround): Define using libm_alias_double.
17761 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
17762 <libm-alias-double.h>.
17763 (lround): Define using libm_alias_double.
17764 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
17765 <libm-alias-double.h>.
17766 (copysign): Define using libm_alias_double.
17767 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
17768 <libm-alias-double.h>.
17769 (llrint): Define using libm_alias_double.
17770 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
17771 <libm-alias-double.h>.
17772 (llround): Define using libm_alias_double.
17773 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
17774 <libm-alias-double.h>.
17775 (lrint): Define using libm_alias_double.
17776 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
17777 <libm-alias-double.h>.
17778 (lround): Define using libm_alias_double.
17779 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
17780 <libm-alias-double.h>.
17781 (copysign): Define using libm_alias_double.
17782 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
17783 <libm-alias-double.h>.
17784 (llrint): Define using libm_alias_double.
17785 (lrint): Likewise.
17786 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
17787 <libm-alias-double.h>.
17788 (llround): Define using libm_alias_double.
17789 (lround): Likewise.
17790 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
17791 <libm-alias-double.h>.
17792 (logb): Define using libm_alias_double.
17793 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
17794 <libm-alias-double.h>.
17795 (copysign): Define using libm_alias_double.
17796 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
17797 <libm-alias-double.h>.
17798 (llrint): Define using libm_alias_double.
17799 (lrint): Likewise.
17800 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
17801 <libm-alias-double.h>.
17802 (llround): Define using libm_alias_double.
17803 (lround): Likewise.
17804 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
17805 <libm-alias-double.h>.
17806 (llround): Define using libm_alias_double.
17807 (lround): Likewise.
17808 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
17809 <libm-alias-double.h>.
17810 (copysign): Define using libm_alias_double.
17811 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
17812 <libm-alias-double.h>.
17813 (llrint): Define using libm_alias_double.
17814 (lrint): Likewise.
17815 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
17816 <libm-alias-double.h>.
17817 (llround): Define using libm_alias_double.
17818 (lround): Likewise.
17819 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
17820 <libm-alias-double.h>.
17821 (llrint): Define using libm_alias_double.
17822 (lrint): Likewise.
17823 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
17824 <libm-alias-double.h>.
17825 (llround): Define using libm_alias_double.
17826 (lround): Likewise.
17827
ec2cf3f4
JM
178282017-12-01 Joseph Myers <joseph@codesourcery.com>
17829
0ddde474
JM
17830 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
17831 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
17832 compat symbol based on llround.
17833
0d5ba561
JM
17834 * sysdeps/powerpc/power7/fpu/s_logb.c
17835 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
17836 symbol based on __logb, not on logb.
17837 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
17838 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
17839 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
17840 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
17841
51ea3b20
JM
17842 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
17843 (rint): Define using libm_alias_double.
17844 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
17845 <libm-alias-double.h>.
17846 (modf): Define using libm_alias_double.
17847 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
17848 <libm-alias-double.h>.
17849 (ceil): Define using libm_alias_double.
17850 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
17851 <libm-alias-double.h>.
17852 (floor): Define using libm_alias_double.
17853 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
17854 <libm-alias-double.h>.
17855 (nearbyint): Define using libm_alias_double.
17856 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
17857 <libm-alias-double.h>.
17858 (rint): Define using libm_alias_double.
17859 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
17860 <libm-alias-double.h>.
17861 (round): Define using libm_alias_double.
17862 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
17863 <libm-alias-double.h>.
17864 (trunc): Define using libm_alias_double.
17865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
17866 <libm-alias-double.h>.
17867 (ceil): Define using libm_alias_double.
17868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
17869 Include <libm-alias-double.h>.
17870 (floor): Define using libm_alias_double.
17871 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
17872 <libm-alias-double.h>.
17873 (modf): Define using libm_alias_double.
17874 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
17875 Include <libm-alias-double.h>.
17876 (round): Define using libm_alias_double.
17877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
17878 Include <libm-alias-double.h>.
17879 (trunc): Define using libm_alias_double.
17880 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
17881 <libm-alias-double.h>.
17882 (ceil): Define using libm_alias_double.
17883 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
17884 <libm-alias-double.h>.
17885 (floor): Define using libm_alias_double.
17886 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
17887 <libm-alias-double.h>.
17888 (round): Define using libm_alias_double.
17889 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
17890 <libm-alias-double.h>.
17891 (trunc): Define using libm_alias_double.
17892 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
17893 <libm-alias-double.h>.
17894 (ceil): Define using libm_alias_double.
17895 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
17896 <libm-alias-double.h>.
17897 (floor): Define using libm_alias_double.
17898 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
17899 <libm-alias-double.h>.
17900 (modf): Define using libm_alias_double.
17901 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
17902 <libm-alias-double.h>.
17903 (round): Define using libm_alias_double.
17904 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
17905 <libm-alias-double.h>.
17906 (trunc): Define using libm_alias_double.
17907 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
17908 <libm-alias-double.h>.
17909 (ceil): Define using libm_alias_double.
17910 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
17911 <libm-alias-double.h>.
17912 (floor): Define using libm_alias_double.
17913 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
17914 <libm-alias-double.h>.
17915 (nearbyint): Define using libm_alias_double.
17916 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
17917 <libm-alias-double.h>.
17918 (rint): Define using libm_alias_double.
17919 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
17920 <libm-alias-double.h>.
17921 (round): Define using libm_alias_double.
17922 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
17923 <libm-alias-double.h>.
17924 (trunc): Define using libm_alias_double.
17925 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
17926 <libm-alias-double.h>.
17927 (ceil): Define using libm_alias_double.
17928 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
17929 <libm-alias-double.h>.
17930 (floor): Define using libm_alias_double.
17931 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
17932 <libm-alias-double.h>.
17933 (round): Define using libm_alias_double.
17934 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
17935 <libm-alias-double.h>.
17936 (trunc): Define using libm_alias_double.
17937
ec2cf3f4
JM
17938 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
17939 (fabs): Define using libm_alias_double.
17940 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
17941 (fma): Define using libm_alias_double.
17942 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
17943 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
17944 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
17945 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
17946
5b7bd975
AZ
179472017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17948
0594b13f
AZ
17949 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
17950
dbdfcf3b
AZ
17951 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
17952 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
17953 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
17954
5b7bd975
AZ
17955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
17956 due redirect macro.
17957
ef9ecfa6
AS
179582017-12-01 Andreas Schwab <schwab@linux-m68k.org>
17959
17960 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
17961
5b4e5e78
AZ
179622017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17963
2a14526b
AZ
17964 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
17965 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
17966 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
17967 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
17968
dbeb74ef 17969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1c051a9b
AZ
17970 (libm-sysdep_routines): Add s_nearbyintf-generic and
17971 s_nearbyint-generic.
17972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
17973 New file.
17974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
17975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
17976 Likewise.
17977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
17978 Likewise.
17979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
17980 file.
17981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
17982 Likewise.
17983
17984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
dbeb74ef
AZ
17985 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
17986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
17987 file.
17988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
17989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
17990 Likewise.
17991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
17992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
17993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
17994
fa7ded96
AZ
17995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
17996 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
17997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
17998 file.
17999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
18000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
18001 Likewise.
18002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
18003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
18004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
18005
e240cf0e
AZ
18006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18007 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
18008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
18009 file.
18010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
18011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
18012 Likewise.
18013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
18014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
18015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
18016
5b4e5e78
AZ
18017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18018 (sysdep_calls): New rule.
18019 (sysdep_routines): Use sysdep_calls as base.
18020 (libm-sysdep_routines): Add generic rule for symbols shared with
18021 libc. Add s_copysign-generic and s_copysign-generic objects.
18022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
18023 New file.
18024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
18025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
18026 Likewise.
18027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
18028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
18029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
18030
d985adae
MF
180312017-12-01 Mike FABIAN <mfabian@redhat.com>
18032
18033 [BZ #22519]
18034 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
18035 the list of locales to be built for testing.
18036 * localedata/is_IS.UTF-8.in: New file.
18037 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
18038 on iso14651_t1.
18039
ff84a0e0
JM
180402017-12-01 Joseph Myers <joseph@codesourcery.com>
18041
18042 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
18043 <libm-alias-float.h>.
18044 (fabsf): Define using libm_alias_float.
18045
ef5d8b43
L
180462017-11-30 H.J. Lu <hongjiu.lu@intel.com>
18047
18048 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
18049
c0535adf
JM
180502017-11-30 Joseph Myers <joseph@codesourcery.com>
18051
f938b397
JM
18052 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
18053 <libm-alias-float.h>.
18054 (fabsf): Define using libm_alias_float.
18055 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
18056 <libm-alias-float.h>.
18057 (lrintf): Define using libm_alias_float.
18058 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
18059 <libm-alias-float.h>.
18060 (rintf): Define using libm_alias_float.
18061
2251fad0
JM
18062 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
18063 <libm-alias-double.h>.
18064 (fabs): Define using libm_alias_double.
18065 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
18066 <libm-alias-double.h>.
18067 (lrint): Define using libm_alias_double.
18068 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
18069 <libm-alias-double.h>.
18070 (rint): Define using libm_alias_double.
18071
e53df1de
JM
18072 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
18073 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
18074 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
18075 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
18076 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
18077 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
18078 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
18079 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
18080 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
18081 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
18082 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
18083 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
18084 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
18085 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
18086 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
18087 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
18088 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
18089 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
18090 s_atan_template.c.
18091 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
18092 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
18093 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
18094 s_ceil_template.c.
18095 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
18096 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
18097 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
18098 s_cos_template.c.
18099 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
18100 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
18101 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
18102 s_expm1_template.c.
18103 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
18104 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
18105 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
18106 s_fabs_template.c.
18107 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
18108 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
18109 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
18110 s_floor_template.c.
18111 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
18112 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
18113 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
18114 s_frexp_template.c.
18115 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
18116 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
18117 s_lrint_template.c.
18118 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
18119 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
18120 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
18121 s_modf_template.c.
18122 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
18123 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
18124 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
18125 s_nearbyint_template.c.
18126 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
18127 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
18128 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
18129 s_remquo_template.c.
18130 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
18131 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
18132 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
18133 s_rint_template.c.
18134 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
18135 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
18136 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
18137 s_sin_template.c.
18138 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
18139 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
18140 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
18141 s_sincos_template.c.
18142 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
18143 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
18144 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
18145 s_tan_template.c.
18146 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
18147 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
18148 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
18149 s_tanh_template.c.
18150 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
18151 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
18152 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
18153 s_trunc_template.c.
18154 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
18155 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
18156 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
18157 s_atan.c instead of including s_atan.c.
18158 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
18159 s_atanf.c instead of including s_atanf.c.
18160 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
18161 s_atanl.c instead of including s_atanl.c.
18162 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
18163 instead of s_atan.c.
18164 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
18165 instead of s_atanf.c.
18166 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
18167 instead of s_atanl.c.
18168
c0535adf
JM
18169 * scripts/update-copyrights: Do not handle intl/plural.c
18170 specially.
18171
1faaf703
JB
181722017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
18173
18174 [BZ #22432]
18175 * configure.ac (BISON): Require to be present.
18176 * configure: Regenerated.
18177 * intl/Makefile (generated): Add plural.c.
18178 [$(BISON) != no]: Make code unconditional.
18179 (plural.c): Change rule to $(objpfx)plural.c.
18180 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
18181 * intl/plural.c: Remove.
18182 * manual/install.texi (Tools for Compilation): Document bison as
18183 required.
18184 * INSTALL: Regenerated.
18185
faec6323
JM
181862017-11-30 Joseph Myers <joseph@codesourcery.com>
18187
bd6ea9ed
JM
18188 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
18189 <libm-alias-double.h>.
18190 (llrint): Define using libm_alias_double.
18191 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
18192 <libm-alias-float.h>.
18193 (llrintf): Define using libm_alias_float.
18194 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
18195 <libm-alias-ldouble.h>.
18196 (llrintl): Define using libm_alias_ldouble.
18197
faec6323
JM
18198 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
18199 declare_mgen_alias instead of weak_alias.
18200 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
18201 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
18202 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
18203
023cade3
AZ
182042017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18205
9e2279a0
AZ
18206 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
18207 Add add_n-generic.
18208 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
18209 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
18210 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
18211
75f37c71
AZ
18212 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
18213 Add submul_1-generic.
18214 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
18215 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
18216 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
18217
b70cbbfc 18218 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
dda1d2e8
AZ
18219 Add addmul_1-generic.
18220 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
18221 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
18222 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
18223
18224 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
b70cbbfc
AZ
18225 Add sub_n-generic.
18226 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
18227 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
18228 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
18229
023cade3
AZ
18230 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
18231 Add mul_1-generic.
18232 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
18233 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
18234 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
18235
fbb5fd03
MF
182362017-11-30 Mike FABIAN <mfabian@redhat.com>
18237
18238 According to CLDR, collation rules for Serbian and Bosnian
18239 should be the same as for Croatian.
18240
18241 [BZ #22534]
18242 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
18243 and to the list of locales to be built for testing.
18244 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
18245 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
18246 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
18247 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
18248
5e56e937
MF
182492017-11-30 Mike FABIAN <mfabian@redhat.com>
18250
18251 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
18252 to make test case pass.
18253 * localedata/hr_HR.UTF-8.in: Add more test strings.
18254
cf4341ca
MF
182552017-11-30 Mike FABIAN <mfabian@redhat.com>
18256
18257 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
18258
363e4519 182592017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
9ca6b343
DSN
18260
18261 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
18262 the list of locales to built for testing.
18263 * localedata/hr_HR.UTF-8.in: New file.
18264
363e4519 182652017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
37075ae1
DSN
18266
18267 [BZ #10580]
18268 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
18269 iso14651_t1.
18270 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
18271 CLDR (except use ligatures for the digraphs, CLDR does not use
18272 the ligatures), add first_workday, some fixes in the date and time
18273 formats.
18274 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
18275 for Đ and đ.
18276 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
18277 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
18278 Add int_p_cs_precedes and int_n_cs_precedes.
18279 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
18280 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
18281 LC_MONETARY now).
18282 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
18283 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
18284 name_miss.
18285 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
18286 and lang_lib. Change postal_fmt.
18287
f33632cc
L
182882017-11-30 H.J. Lu <hongjiu.lu@intel.com>
18289
18290 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
18291 <setjmp.h>.
18292 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
18293 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
18294 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
18295 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
18296 * sysdeps/generic/setjmpP.h: New file.
18297 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
18298 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
18299 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
18300 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
18301 Add jmp_buf-ssp.sym.
18302 (tests): Add tst-saved_mask-1.
18303
34697694
AS
183042017-11-30 Arjun Shankar <arjun@redhat.com>
18305
18306 [BZ #22375]
37ac8e63 18307 CVE-2017-17426
34697694
AS
18308 * malloc/malloc.c (__libc_malloc): Use checked_request2size
18309 instead of request2size.
18310
3e5efdbd
JM
183112017-11-30 Joseph Myers <joseph@codesourcery.com>
18312
18305fba
JM
18313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
18314 (__lllrint): Remove alias.
18315 (lllrint): Likewise.
18316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
18317 (__lllrintf): Likewise.
18318 (lllrintf): Likewise.
18319
3e5efdbd
JM
18320 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
18321 <libm-alias-float.h>.
18322 (copysignf): Define using libm_alias_float.
18323 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
18324 <libm-alias-float.h>.
18325 (fabsf): Define using libm_alias_float.
18326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
18327 Include <libm-alias-float.h>.
18328 (copysignf): Define using libm_alias_float.
18329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
18330 <libm-alias-float.h>.
18331 (fabsf): Define using libm_alias_float.
18332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
18333 <libm-alias-float.h>.
18334 (fdimf): Define using libm_alias_float.
18335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
18336 <libm-alias-float.h>.
18337 (fmaf): Define using libm_alias_float.
18338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
18339 <libm-alias-float.h>.
18340 (llrintf): Define using libm_alias_float.
18341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
18342 Include <libm-alias-float.h>.
18343 (nearbyintf): Define using libm_alias_float.
18344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
18345 <libm-alias-float.h>.
18346 (rintf): Define using libm_alias_float.
18347 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
18348 <libm-alias-float.h>.
18349 (llrintf): Define using libm_alias_float.
18350 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
18351 <libm-alias-float.h>.
18352 (lrintf): Define using libm_alias_float.
18353 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
18354 <libm-alias-float.h>.
18355 (nearbyintf): Define using libm_alias_float.
18356 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
18357 <libm-alias-float.h>.
18358 (rintf): Define using libm_alias_float.
18359 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
18360 <libm-alias-float.h>.
18361 (ceilf): Define using libm_alias_float.
18362 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
18363 <libm-alias-float.h>.
18364 (floorf): Define using libm_alias_float.
18365 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
18366 <libm-alias-float.h>.
18367 (fmaf): Define using libm_alias_float.
18368 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
18369 <libm-alias-float.h>.
18370 (lrintf): Define using libm_alias_float.
18371 (llrintf): Likewise.
18372 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
18373 <libm-alias-float.h>.
18374 (nearbyintf): Define using libm_alias_float.
18375 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
18376 <libm-alias-float.h>.
18377 (rintf): Define using libm_alias_float.
18378 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
18379 <libm-alias-float.h>.
18380 (truncf): Define using libm_alias_float.
18381 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
18382 <libm-alias-float.h>.
18383 (copysignf): Define using libm_alias_float.
18384 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
18385 <libm-alias-float.h>.
18386 (fabsf): Define using libm_alias_float.
18387 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
18388 <libm-alias-float.h>.
18389 (lrintf): Define using libm_alias_float.
18390 (llrintf): Likewise.
18391 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
18392 <libm-alias-float.h>.
18393 (nearbyintf): Define using libm_alias_float.
18394 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
18395 <libm-alias-float.h>.
18396 (rintf): Define using libm_alias_float.
18397
011fba7e
JM
183982017-11-29 Joseph Myers <joseph@codesourcery.com>
18399
875cd548
JM
18400 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
18401 <libm-alias-double.h>.
18402 (copysign): Define using libm_alias_double.
18403 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
18404 <libm-alias-double.h>.
18405 (fabs): Define using libm_alias_double.
18406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
18407 Include <libm-alias-double.h>.
18408 (copysign): Define using libm_alias_double.
18409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
18410 <libm-alias-double.h>.
18411 (fabs): Define using libm_alias_double.
18412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
18413 <libm-alias-double.h>.
18414 (fdim): Define using libm_alias_double.
18415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
18416 <libm-alias-double.h>.
18417 (fma): Define using libm_alias_double.
18418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
18419 <libm-alias-double.h>.
18420 (llrint): Define using libm_alias_double.
18421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
18422 Include <libm-alias-double.h>.
18423 (nearbyint): Define using libm_alias_double.
18424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
18425 <libm-alias-double.h>.
18426 (rint): Define using libm_alias_double.
18427 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
18428 <libm-alias-double.h>.
18429 (fabs): Define using libm_alias_double.
18430 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
18431 <libm-alias-double.h>.
18432 (llrint): Define using libm_alias_double.
18433 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
18434 <libm-alias-double.h>.
18435 (nearbyint): Define using libm_alias_double.
18436 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
18437 <libm-alias-double.h>.
18438 (rint): Define using libm_alias_double.
18439 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
18440 <libm-alias-double.h>.
18441 (ceil): Define using libm_alias_double.
18442 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
18443 <libm-alias-double.h>.
18444 (floor): Define using libm_alias_double.
18445 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
18446 <libm-alias-double.h>.
18447 (fma): Define using libm_alias_double.
18448 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
18449 <libm-alias-double.h>.
18450 (lrint): Define using libm_alias_double.
18451 (llrint): Likewise.
18452 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
18453 <libm-alias-double.h>.
18454 (nearbyint): Define using libm_alias_double.
18455 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
18456 <libm-alias-double.h>.
18457 (rint): Define using libm_alias_double.
18458 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
18459 <libm-alias-double.h>.
18460 (trunc): Define using libm_alias_double.
18461 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
18462 <libm-alias-double.h>.
18463 (copysign): Define using libm_alias_double.
18464 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
18465 <libm-alias-double.h>.
18466 (fabs): Define using libm_alias_double.
18467 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
18468 <libm-alias-double.h>.
18469 (lrint): Define using libm_alias_double.
18470 (llrint): Likewise.
18471 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
18472 <libm-alias-double.h>.
18473 (nearbyint): Define using libm_alias_double.
18474 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
18475 <libm-alias-double.h>.
18476 (rint): Define using libm_alias_double.
18477
cf4ebc27
JM
18478 [BZ #22229]
18479 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
18480 <math_ldbl_opt.h>.
18481 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
18482
0c097378
JM
18483 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
18484 SPARC --disable-multi-arch glibc variants.
18485
34bb10aa
JM
18486 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
18487 <libm-alias-float.h>.
18488 (exp2f): Define using libm_alias_float, or libm_alias_float_other
18489 if [SHARED].
18490 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
18491 <libm-alias-float.h>.
18492 (exp2f): Define using libm_alias_float, or libm_alias_float_other
18493 if [SHARED].
18494 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
18495 <libm-alias-float.h>.
18496 (exp2f): Define using libm_alias_float, or libm_alias_float_other
18497 if [SHARED].
18498 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
18499 <libm-alias-float.h>.
18500 (exp2f): Define using libm_alias_float, or libm_alias_float_other
18501 if [SHARED].
18502 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
18503 <libm-alias-float.h>.
18504 (exp2f): Define using libm_alias_float, or libm_alias_float_other
18505 if [SHARED].
18506 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
18507 <libm-alias-float.h>.
18508 (ceilf): Define using libm_alias_float.
18509 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
18510 <libm-alias-float.h>.
18511 (floorf): Define using libm_alias_float.
18512 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
18513 <libm-alias-float.h>.
18514 (fmaf): Define using libm_alias_float.
18515 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
18516 <libm-alias-float.h>.
18517 (nearbyintf): Define using libm_alias_float.
18518 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
18519 <libm-alias-float.h>.
18520 (rintf): Define using libm_alias_float.
18521 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
18522 <libm-alias-float.h>.
18523 (truncf): Define using libm_alias_float.
18524 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
18525 (copysignf): Define using libm_alias_float.
18526 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
18527 (cosf): Define using libm_alias_float.
18528 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
18529 (fabsf): Define using libm_alias_float.
18530 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
18531 (fmaxf): Define using libm_alias_float.
18532 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
18533 (fminf): Define using libm_alias_float.
18534 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
18535 (llrintf): Define using libm_alias_float.
18536 [!__ILP32__] (lrintf): Likewise.
18537 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
18538 (sincosf): Define using libm_alias_float.
18539 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
18540 (sinf): Define using libm_alias_float.
18541 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
18542 (lrintf): Define using libm_alias_float.
18543
011fba7e
JM
18544 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
18545 <libm-alias-double.h>.
18546 (atan): Define using libm_alias_double.
18547 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
18548 <libm-alias-double.h>.
18549 (ceil): Define using libm_alias_double.
18550 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
18551 <libm-alias-double.h>.
18552 (floor): Define using libm_alias_double.
18553 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
18554 <libm-alias-double.h>.
18555 (fma): Define using libm_alias_double.
18556 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
18557 <libm-alias-double.h>.
18558 (nearbyint): Define using libm_alias_double.
18559 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
18560 <libm-alias-double.h>.
18561 (rint): Define using libm_alias_double.
18562 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
18563 <libm-alias-double.h>.
18564 (sin): Define using libm_alias_double.
18565 (cos): Likewise.
18566 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
18567 <libm-alias-double.h>.
18568 (tan): Define using libm_alias_double.
18569 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
18570 <libm-alias-double.h>.
18571 (trunc): Define using libm_alias_double.
18572 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
18573 (copysign): Define using libm_alias_double.
18574 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
18575 (fabs): Define using libm_alias_double.
18576 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
18577 (fmax): Define using libm_alias_double.
18578 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
18579 (fmin): Define using libm_alias_double.
18580 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
18581 (llrint): Define using libm_alias_double.
18582 [!__ILP32__] (lrint): Likewise.
18583 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
18584 (lrint): Define using libm_alias_double.
18585
1cbd7bfe
AZ
185862017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18587
21bfcc3d
AZ
18588 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
18589 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
18590 objects.
18591 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
18592 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
18593 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
18594 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
18595 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
18596 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
18597
522228dd
AZ
18598 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
18599 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
18600 objects.
18601 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
18602 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
18603 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
18604 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
18605 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
18606 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
18607
2a6f4fab
AZ
18608 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
18609 (libm-sysdep_routines): Add s_nearbyint-generic and
18610 s_nearbyintf-generic objects.
18611 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
18612 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
18613 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
18614 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
18615 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
18616 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
18617
712b5b83
AZ
18618 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
18619 Add s_finitef-generic and s_finite-generic objects.
18620 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
18621 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
18622 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
18623 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
18624 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
18625 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
18626
c96d3335
AZ
18627 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
18628 Add s_isinff-generic and s_isinf-generic objects.
18629 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
18630 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
18631 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
18632 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
18633 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
18634 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
18635
c6862a23
AZ
18636 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
18637 Add s_isnanf-generic and s_isnan-generic objects.
18638 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
18639 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
18640 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
18641 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
18642 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
18643 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
18644
1cbd7bfe
AZ
18645 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
18646 macro.
18647 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
18648 rule.
18649 (sysdep_routines): Use sysdep_calls as base.
18650 (libm-sysdep_routines): Add generic rule for symbols shared with
18651 libc. Add s_signbit-generic and s_signbitf-generic objects.
18652 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
18653 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
18654 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
18655 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
18656 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
18657 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
18658
aa1142c5
JM
186592017-11-29 Joseph Myers <joseph@codesourcery.com>
18660
18661 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
18662 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
18663 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
18664 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
18665 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
18666 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
18667 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
18668 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
18669 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
18670 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
18671 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
18672 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
18673 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
18674 libm_alias_float_r.
18675 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
18676 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
18677 (logf): Likewise.
18678 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
18679 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
18680 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
18681 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
18682 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
18683 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
18684 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
18685 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
18686 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
18687 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
18688 libm_alias_float.
18689 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
18690 (cosf): Likewise.
18691 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
18692 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
18693 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
18694 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
18695 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
18696 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
18697 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
18698 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
18699 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
18700 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
18701 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
18702 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
18703 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
18704 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
18705 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
18706 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
18707 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
18708 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
18709 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
18710 libm_alias_float.
18711 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
18712 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
18713 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
18714 * sysdeps/ia64/fpu/w_lgammaf_main.c
18715 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
18716 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
18717
363e4519
DL
187182017-11-28 Mike FABIAN <mfabian@redhat.com>
18719 Alexandre Oliva <aoliva@redhat.com>
8da25eec
AO
18720
18721 [BZ #17750]
18722 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
18723 * localedata/fr_CA.UTF-8.in: New file with test data for backward
18724 accents sorting.
18725 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
18726 sorting.
18727 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
18728 * localedata/locales/de_DE (LC_COLLATE): Likewise.
18729 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
18730 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
18731 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
18732 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
18733 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
18734 instead of “ifdef DIACRIT_BACKWARD”.
18735
a55430cb
AZ
187362017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18737
18738 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
18739 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
18740 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
18741 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
18742 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
18743 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
18744 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
18745 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
18746 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
18747 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
18748 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
18749 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
18750 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
18751 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
18752 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
18753 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
18754 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
18755 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
18756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18757 ($(have-as-vis3) == yes): Remove conditional.
18758 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
18759 Likewise.
18760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
18761 file.
18762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
18763 file.
18764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
18765 file.
18766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
18767 file.
18768 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
18769 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
18770 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
18771 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
18772 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
18773 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
18774 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
18775 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
18776
0609ec0a
JM
187772017-11-29 Joseph Myers <joseph@codesourcery.com>
18778
18779 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
18780 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
18781 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
18782 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
18783 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
18784 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
18785 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
18786 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
18787 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
18788 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
18789 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
18790 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
18791 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
18792 libm_alias_double_r.
18793 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
18794 (log): Likewise.
18795 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
18796 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
18797 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
18798 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
18799 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
18800 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
18801 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
18802 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
18803 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
18804 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
18805 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
18806 libm_alias_double.
18807 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
18808 (cos): Likewise.
18809 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
18810 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
18811 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
18812 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
18813 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
18814 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
18815 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
18816 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
18817 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
18818 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
18819 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
18820 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
18821 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
18822 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
18823 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
18824 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
18825 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
18826 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
18827 libm_alias_double.
18828 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
18829 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
18830 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
18831 * sysdeps/ia64/fpu/w_lgamma_main.c
18832 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
18833 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
18834
d5bfa34a
JDA
188352017-11-28 John David Anglin <danglin@gcc.gnu.org>
18836
18837 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
18838 address of $global$ into %dp register earlier. Use pc-relative
18839 instruction sequence for PIC case.
18840
bc4e8f9b
JM
188412017-11-28 Joseph Myers <joseph@codesourcery.com>
18842
e4602cba
JM
18843 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
18844 (asinhf): Define using libm_alias_float.
18845 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
18846 (atanf): Define using libm_alias_float.
18847 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
18848 (cbrtf): Define using libm_alias_float.
18849 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
18850 (ceilf): Define using libm_alias_float.
18851 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
18852 (copysignf): Define using libm_alias_float.
18853 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
18854 (expm1f): Define using libm_alias_float.
18855 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
18856 (fabsf): Define using libm_alias_float.
18857 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
18858 (floorf): Define using libm_alias_float.
18859 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
18860 (fmaxf): Define using libm_alias_float.
18861 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
18862 (fminf): Define using libm_alias_float.
18863 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
18864 (frexpf): Define using libm_alias_float.
18865 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
18866 (llrintf): Define using libm_alias_float.
18867 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
18868 (logbf): Define using libm_alias_float.
18869 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
18870 (lrintf): Define using libm_alias_float.
18871 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
18872 (nearbyintf): Define using libm_alias_float.
18873 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
18874 (remquof): Define using libm_alias_float.
18875 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
18876 (rintf): Define using libm_alias_float.
18877 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
18878 (truncf): Define using libm_alias_float.
18879 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
18880 <libm-alias-float.h>.
18881 (exp2f): Define using libm_alias_float, or libm_alias_float_other
18882 if [SHARED].
18883 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
18884 <libm-alias-float.h>.
18885 (expf): Define using libm_alias_float, or libm_alias_float_other
18886 if [SHARED].
18887 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
18888 <libm-alias-float.h>.
18889 (log2f): Define using libm_alias_float, or libm_alias_float_other
18890 if [SHARED].
18891 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
18892 <libm-alias-float.h>.
18893 (logf): Define using libm_alias_float, or libm_alias_float_other
18894 if [SHARED].
18895 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
18896 <libm-alias-float.h>.
18897 (powf): Define using libm_alias_float, or libm_alias_float_other
18898 if [SHARED].
18899 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
18900 <libm-alias-float.h>.
18901 (cosf): Define using libm_alias_float.
18902 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
18903 <libm-alias-float.h>.
18904 (sincosf): Define using libm_alias_float.
18905 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
18906 <libm-alias-float.h>.
18907 (sinf): Define using libm_alias_float.
18908 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
18909 (fmaxf): Define using libm_alias_float.
18910 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
18911 (fminf): Define using libm_alias_float.
18912 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
18913 <libm-alias-float.h>.
18914 (fmaf): Define using libm_alias_float.
18915
bc4e8f9b
JM
18916 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
18917 (asinh): Define using libm_alias_double.
18918 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
18919 (atan): Define using libm_alias_double.
18920 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
18921 (cbrt): Define using libm_alias_double.
18922 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
18923 (ceil): Define using libm_alias_double.
18924 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
18925 (copysign): Define using libm_alias_double.
18926 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
18927 (expm1): Define using libm_alias_double.
18928 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
18929 (fabs): Define using libm_alias_double.
18930 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
18931 (fdim): Define using libm_alias_double.
18932 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
18933 (floor): Define using libm_alias_double.
18934 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
18935 (fmax): Define using libm_alias_double.
18936 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
18937 (fmin): Define using libm_alias_double.
18938 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
18939 (frexp): Define using libm_alias_double.
18940 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
18941 (llrint): Define using libm_alias_double.
18942 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
18943 (logb): Define using libm_alias_double.
18944 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
18945 (lrint): Define using libm_alias_double.
18946 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
18947 (nearbyint): Define using libm_alias_double.
18948 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
18949 (remquo): Define using libm_alias_double.
18950 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
18951 (rint): Define using libm_alias_double.
18952 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
18953 (trunc): Define using libm_alias_double.
18954 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
18955 (fmax): Define using libm_alias_double.
18956 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
18957 (fmin): Define using libm_alias_double.
18958 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
18959 (fma): Define using libm_alias_double.
18960
8d81ce0c
L
189612017-11-28 H.J. Lu <hongjiu.lu@intel.com>
18962
18963 [BZ #22370]
18964 * elf/dl-hwcaps.c (ROUND): Removed.
18965 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
18966 and ELF_NOTE_NEXT_OFFSET.
18967 * elf/dl-load.c (ROUND): Removed.
18968 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
18969 * elf/readelflib.c (ROUND): Removed.
18970 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
18971 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
18972 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
18973 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
18974
6940bd96
JM
189752017-11-28 Joseph Myers <joseph@codesourcery.com>
18976
313ba463
JM
18977 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
18978 [!__fmaf] (fmaf): Define using libm_alias_float.
18979
6940bd96
JM
18980 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
18981 [!__fma] (fma): Define using libm_alias_double.
18982 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
18983
22c69b6a
MF
189842017-11-28 Mike FABIAN <mfabian@redhat.com>
18985
18986 [BZ #22336]
18987 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
18988 and implement the collation rules for cs from CLDR on top of that.
18989 * Makefile: Add cs_CZ.UTF-8 to test-input.
18990 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
18991
8d7d3ba8
SP
189922017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
18993
18994 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
18995
0422ed1e
VR
189962017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
18997 Icarus Sparry <icarus.w.sparry@intel.com>
18998
18999 * benchtests/Makefile:Add BENCHSET to allow subsets of
19000 benchmarks to be run.
19001 * benchtests/README: Add documentation for: Running subsets of
19002 benchmarks.
19003
0595e360
VR
190042017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
19005
d5090db3
VR
19006 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
19007 range of tests names.
19008
0595e360
VR
19009 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
19010 result from property and remove "max", min" and "mean" from
19011 required properties based on benchtests/bench-skeleton.c.
19012
b4c645c2
FW
190132017-11-28 Florian Weimer <fweimer@redhat.com>
19014
19015 [BZ #20826]
19016 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
19017 due to Internet requirement.
19018 * posix/Makefile (tests): Remove tst-getaddrinfo4,
19019 tst-getaddrinfo5.
19020 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
19021
88684de7
AZ
190222017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19023
69056564
AZ
19024 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
19025 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
19026 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
19027 (sysdep_routines): Add memset-ultra1.
19028 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
19029 file.
19030 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
19031 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
19032 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
19033 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
19034 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
19035 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
19036 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
19037 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19038
88684de7
AZ
19039 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
19040 file.
19041 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
19042 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
19043 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
19044 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
19045 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
19046 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
19047 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
19048 macro.
19049 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
19050 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
19051 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
19052 (sysdep_routines): Add memcpy-ultra1.
19053 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
19054 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
19055
d8124864
JM
190562017-11-28 Joseph Myers <joseph@codesourcery.com>
19057
f433d0b3
JM
19058 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
19059 (cfloat_versions): Take function argument without trailing 'f'.
19060 Call libm_alias_float_other.
19061 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
19062 * sysdeps/alpha/fpu/cargf.c: Likewise.
19063 * sysdeps/alpha/fpu/cimagf.c: Likewise.
19064 * sysdeps/alpha/fpu/conjf.c: Likewise.
19065 * sysdeps/alpha/fpu/crealf.c: Likewise.
19066 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
19067 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
19068 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
19069 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
19070 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
19071 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
19072 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
19073 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
19074 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
19075 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
19076 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
19077 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
19078 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
19079 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
19080 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
19081 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
19082 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
19083 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
19084 (clog10f): Use libm_alias_float_other.
19085 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
19086 (ceilf): Define using libm_alias_float.
19087 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
19088 (copysignf): Define using libm_alias_float.
19089 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
19090 (fabsf): Define using libm_alias_float.
19091 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
19092 (floorf): Define using libm_alias_float.
19093 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
19094 (fmaxf): Define using libm_alias_float.
19095 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
19096 (fminf): Define using libm_alias_float.
19097 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
19098 (lrintf): Define using libm_alias_float.
19099 (llrintf): Likewise.
19100 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
19101 (lroundf): Define using libm_alias_float.
19102 (llroundf): Likewise.
19103 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
19104 (rintf): Define using libm_alias_float.
19105 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
19106 (truncf): Define using libm_alias_float.
19107
15ff4900
JM
19108 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
19109 (ceilf): Define using libm_alias_float.
19110 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
19111 (floorf): Define using libm_alias_float.
19112 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
19113 (fmaf): Define using libm_alias_float.
19114 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
19115 (fmaxf): Define using libm_alias_float.
19116 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
19117 (fminf): Define using libm_alias_float.
19118 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
19119 (llrintf): Define using libm_alias_float.
19120 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
19121 (llroundf): Define using libm_alias_float.
19122 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
19123 (lrintf): Define using libm_alias_float.
19124 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
19125 (lroundf): Define using libm_alias_float.
19126 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
19127 <libm-alias-float.h>.
19128 (nearbyintf): Define using libm_alias_float.
19129 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
19130 (rintf): Define using libm_alias_float.
19131 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
19132 (roundf): Define using libm_alias_float.
19133 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
19134 (truncf): Define using libm_alias_float.
19135
5de60638
JM
19136 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
19137 (ceil): Define using libm_alias_double.
19138 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
19139 (copysign): Define using libm_alias_double.
19140 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
19141 (fabs): Define using libm_alias_double.
19142 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
19143 (floor): Define using libm_alias_double.
19144 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
19145 (fmax): Define using libm_alias_double.
19146 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
19147 (fmin): Define using libm_alias_double.
19148 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
19149 (lrint): Define using libm_alias_double.
19150 (llrint): Likewise.
19151 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
19152 (lround): Define using libm_alias_double.
19153 (llround): Likewise.
19154 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
19155 (rint): Define using libm_alias_double.
19156 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
19157 (trunc): Define using libm_alias_double.
19158
d8124864
JM
19159 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
19160 (libm_alias_double_r): Add semicolon after weak_alias call.
19161
f07d2ec8
JM
191622017-11-27 Joseph Myers <joseph@codesourcery.com>
19163
19164 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
19165 (ceil): Define using libm_alias_double.
19166 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
19167 (floor): Define using libm_alias_double.
19168 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
19169 (fma): Define using libm_alias_double.
19170 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
19171 (fmax): Define using libm_alias_double.
19172 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
19173 (fmin): Define using libm_alias_double.
19174 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
19175 (llrint): Define using libm_alias_double.
19176 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
19177 (llround): Define using libm_alias_double.
19178 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
19179 (lrint): Define using libm_alias_double.
19180 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
19181 (lround): Define using libm_alias_double.
19182 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
19183 (nearbyint): Define using libm_alias_double.
19184 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
19185 (rint): Define using libm_alias_double.
19186 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
19187 (round): Define using libm_alias_double.
19188 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
19189 (trunc): Define using libm_alias_double.
19190
4bab0224
FW
191912017-11-27 Florian Weimer <fweimer@redhat.com>
19192
19193 * sysdeps/unix/sysv/linux/mlock2.c: New file.
19194 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
19195 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
19196 (tests): Add tst-mlock2.
19197 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
19198 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
19199 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
19200 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
19201 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
19202 for mlock. Document mlock2.
19203
a23aa5b7
JM
192042017-11-27 Joseph Myers <joseph@codesourcery.com>
19205
19206 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
19207 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
19208 Likewise.
19209 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
19210 Likewise.
19211 * sysdeps/x86/Makeconfig: New file.
19212 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
19213 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
19214 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
19215 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
19216 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
19217 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
19218 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
19219 Likewise.
19220 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
19221 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
19222 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
19223 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
19224 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
19225 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
19226 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
19227 * manual/math.texi (Mathematics): Document support for _Float64x.
19228 * math/Versions (GLIBC_2.27): Add _Float64x functions.
19229 * stdlib/Versions (GLIBC_2.27): Likewise.
19230 * wcsmbs/Versions (GLIBC_2.27): Likewise.
19231 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
19232 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19233 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19234 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19235 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
19236 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19237 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
19238 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19239 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19240 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
19241 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
19242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
19243 Likewise.
19244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
19245 Likewise.
19246 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
19247 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19248 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
19249 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19250 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
19251 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19252 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19253 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19254 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
19255 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19256 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
19257 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19258 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
19259 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
19260
c2c299fd
AS
192612017-11-27 Andreas Schwab <schwab@suse.de>
19262
19263 * elf/Makefile (dl-routines): Add dl-sort-maps.
19264 * elf/dl-sort-maps.c: New file.
19265 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
19266 (_dl_sort_maps): Declare.
19267 * elf/dl-fini.c (_dl_sort_fini): Remove.
19268 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
19269 * elf/dl-close.c (_dl_close_worker): Likewise.
19270 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
19271 open-coding it.
19272 * elf/dl-open.c (dl_open_worker): Likewise.
19273
9d4b0117
JM
192742017-11-24 Joseph Myers <joseph@codesourcery.com>
19275
de61465c
JM
19276 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
19277 using libm_alias_float128.
19278 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
19279 Likewise.
19280 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
19281 Likewise.
19282 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
19283 (setpayloadsigf128): Likewise.
19284 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
19285 Likewise.
19286 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
19287 Likewise.
19288
9ae6d171
JM
19289 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
19290 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
19291 -mfloat128 to CFLAGS.
19292 ($(foreach
19293 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
19294 Likewise.
19295 (CFLAGS-libm-test-support-float64x.c): New variable.
19296 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
19297 $(f128-loader-link) to gnulib-tests.
19298
6e70d156
JM
19299 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
19300 (libm_alias_float128_other_r): If
19301 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
19302 alias.
19303 (libm_alias_float128_r): Add semicolon after weak_alias call.
19304 * sysdeps/generic/libm-alias-ldouble.h
19305 (libm_alias_ldouble_other_r_f128): New macro.
19306 (libm_alias_ldouble_other_r_f64x): Likewise.
19307 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
19308 and libm_alias_ldouble_other_r_f64x.
19309 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
19310 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
19311 (libm_alias_ldouble_other_r_f128): New macro.
19312 (libm_alias_ldouble_other_r_f64x): Likewise.
19313 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
19314 and libm_alias_ldouble_other_r_f64x.
19315
df2806cd
JM
19316 * stdlib/strfroml.c: Always include <stdlib.h>.
19317 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
19318 undefine as macro and define as weak alias.
19319 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
19320 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
19321 <stdlib.h>.
19322 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
19323 Define and later undefine as macro and define as weak alias.
19324
0df4fe35
JM
19325 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
19326 Define and later undefine as macro. Define as weak alias if
19327 [!USE_WIDE_CHAR].
19328 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
19329 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
19330 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
19331 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
19332 Define and later undefine as macro. Define as weak alias if
19333 [!USE_WIDE_CHAR].
19334 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
19335 Define and later undefine as macro. Define as weak alias if
19336 [USE_WIDE_CHAR].
19337 * sysdeps/ieee754/float128/strtof128_l.c
19338 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
19339 Define and later undefine as macro. Define as weak alias if
19340 [!USE_WIDE_CHAR].
19341 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
19342 Define and later undefine as macro. Define as weak alias if
19343 [USE_WIDE_CHAR].
19344 * sysdeps/ieee754/ldbl-128/strtold_l.c
19345 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
19346 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
19347 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
19348 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
19349 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
19350 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
19351 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
19352 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
19353 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
19354 * sysdeps/ieee754/ldbl-96/strtold_l.c
19355 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
19356 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
19357 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
19358 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
19359
ae7207d0
JM
19360 * math/test-float64x.h: New file.
19361 * math/Makefile (type-float64x-yes): New variable.
19362 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
19363
9596fc69
JM
19364 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
19365 function-like macro.
19366 (min_of_type_): Likewise.
19367 (min_of_type_l): Likewise.
19368 (min_of_type_f128): Likewise.
19369 (min_of_type): Pass () as last argument of __MATH_TG.
19370
46453c3c
JM
19371 * stdlib/tst-strtod-round-skeleton.c
19372 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
19373 headers.
19374
01e659e7
JM
19375 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
19376 for combinations of long double with _Float64 and _Float64x.
19377
5c60afdd
JM
19378 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
19379 (__DECL_SIMD_cosf32): Likewise.
19380 (__DECL_SIMD_cosf64): Likewise.
19381 (__DECL_SIMD_cosf32x): Likewise.
19382 (__DECL_SIMD_cosf64x): Likewise.
19383 (__DECL_SIMD_cosf128x): Likewise.
19384 (__DECL_SIMD_sinf16): Likewise.
19385 (__DECL_SIMD_sinf32): Likewise.
19386 (__DECL_SIMD_sinf64): Likewise.
19387 (__DECL_SIMD_sinf32x): Likewise.
19388 (__DECL_SIMD_sinf64x): Likewise.
19389 (__DECL_SIMD_sinf128x): Likewise.
19390 (__DECL_SIMD_sincosf16): Likewise.
19391 (__DECL_SIMD_sincosf32): Likewise.
19392 (__DECL_SIMD_sincosf64): Likewise.
19393 (__DECL_SIMD_sincosf32x): Likewise.
19394 (__DECL_SIMD_sincosf64x): Likewise.
19395 (__DECL_SIMD_sincosf128x): Likewise.
19396 (__DECL_SIMD_logf16): Likewise.
19397 (__DECL_SIMD_logf32): Likewise.
19398 (__DECL_SIMD_logf64): Likewise.
19399 (__DECL_SIMD_logf32x): Likewise.
19400 (__DECL_SIMD_logf64x): Likewise.
19401 (__DECL_SIMD_logf128x): Likewise.
19402 (__DECL_SIMD_expf16): Likewise.
19403 (__DECL_SIMD_expf32): Likewise.
19404 (__DECL_SIMD_expf64): Likewise.
19405 (__DECL_SIMD_expf32x): Likewise.
19406 (__DECL_SIMD_expf64x): Likewise.
19407 (__DECL_SIMD_expf128x): Likewise.
19408 (__DECL_SIMD_powf16): Likewise.
19409 (__DECL_SIMD_powf32): Likewise.
19410 (__DECL_SIMD_powf64): Likewise.
19411 (__DECL_SIMD_powf32x): Likewise.
19412 (__DECL_SIMD_powf64x): Likewise.
19413 (__DECL_SIMD_powf128x): Likewise.
19414
9d4b0117
JM
19415 * stdlib/Versions (libc): Move entries for wcstof128 and
19416 wcstof128_l to ....
19417 * wcsmbs/Versions (libc): ... here.
19418 Include <float128-abi.h>.
19419
7911dd47
FW
194202017-11-24 Florian Weimer <fweimer@redhat.com>
19421
19422 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19423 bits/mman-shared.h.
19424 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
19425 <bits/mman-shared.h>.
19426 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
19427 to ...
19428 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
19429 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
19430 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
19431 <bits/mman-shared.h>.
19432
c45d78aa
AZ
194332017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19434
19435 [BZ #22457]
19436 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
19437 posix_memalign/free.
19438 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
19439
3ffc4cc1
MF
194402017-11-22 Mike FABIAN <mfabian@redhat.com>
19441
19442 [BZ #22469]
19443 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
19444 and implement the collation rules for pl from CLDR on top of that.
19445 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
19446 of locales to be built for testing.
19447 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
19448
3a327316
JM
194492017-11-23 Joseph Myers <joseph@codesourcery.com>
19450
19451 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
19452 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
19453 libm_alias_ldouble_other.
19454 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
19455 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
19456 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
19457 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
19458 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
19459 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
19460 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
19461 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
19462 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
19463 libm_alias_ldouble_r.
19464 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
19465 libm_alias_ldouble_other.
19466 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
19467 (log10l): Likewise.
19468 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
19469 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
19470 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
19471 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
19472 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
19473 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
19474 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
19475 (atan2l): Likewise.
19476 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
19477 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
19478 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
19479 libm_alias_ldouble.
19480 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
19481 (cosl): Likewise.
19482 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
19483 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
19484 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
19485 (expl): Likewise.
19486 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
19487 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
19488 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
19489 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
19490 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
19491 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
19492 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
19493 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
19494 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
19495 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
19496 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
19497 libm_alias_ldouble.
19498 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
19499 libm_alias_ldouble_other.
19500 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
19501 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
19502 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
19503 libm_alias_ldouble.
19504 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
19505 libm_alias_ldouble_other.
19506 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
19507 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
19508 * sysdeps/ia64/fpu/w_lgammal_main.c
19509 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
19510 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
19511
0a947e06
FW
195122017-11-23 Florian Weimer <fweimer@redhat.com>
19513
19514 * malloc/malloc.c (tcache_thread_shutdown): Rename from
19515 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
19516 alike. Remove freeres marker.
19517 * malloc/arena.c (arena_thread_freeres): Call
19518 tcache_thread_shutdown.
19519
67f36c79
FW
195202017-11-23 Florian Weimer <fweimer@redhat.com>
19521
19522 [BZ #22459]
19523 Export nscd hash function as __nss_hash.
19524 * include/nss.h (__nss_hash): Declare.
19525 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
19526 symbol.
19527 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
19528 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
19529 of __nscd_hash.
19530 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
19531 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
19532 * nss/Makefiles (routines): Add nss_hash.
19533 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
19534 * nss/nss_hash.c: Rename from nis/nis_hash.c.
19535 (__nss_hash): Rename from __nis_hash. Define hidden alias.
19536 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
19537
cccb6d4e
FW
195382017-11-23 Florian Weimer <fweimer@redhat.com>
19539
19540 [BZ #22478]
19541 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
19542 Return error code, not -1.
19543 * signal/tst-sigwait-eintr.c: New file.
19544 * signal/Makefile (tests): Add tst-sigwait-eintr.
19545
59d2cbb1
FW
195462017-11-23 Florian Weimer <fweimer@redhat.com>
19547
19548 Linux: Add memfd_create system call wrapper
19549 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
19550 tst-memfd_create.
19551 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
19552 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
19553 [__USE_GNU] (memfd_create): Declare.
19554 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
19555 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
19556 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
19557 * sysdeps/unix/sysv/linux/**.abilist: Update.
19558 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
19559
a90d1ac2
JM
195602017-11-22 Joseph Myers <joseph@codesourcery.com>
19561
0a9d1d62
JM
19562 * localedata/gen-locale.sh: Fix typo in variable name.
19563
754034c4
JM
19564 * resolv/res_debug.c (p_secstodate): Condition definition on
19565 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
19566 directly as __p_secstodate, and as a compat symbol. Do not use
19567 libresolv_hidden_def.
19568 * resolv/resolv.h (p_secstodate): Remove macro and function
19569 declaration.
19570 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
19571 using p_secstodate.
19572 * include/resolv.h (__p_secstodate): Do not use
19573 libresolv_hidden_proto.
19574 * resolv/Makefile (tests): Move tst-p_secstodate to ....
19575 (tests-internal): ... here.
19576 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
19577 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
19578 and declare and use __p_secstodate and use compat_symbol_reference
19579 in that case.
19580 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
19581 implementation returning 77.
19582
f120cda6
JM
19583 [BZ #22463]
19584 * resolv/res_debug.c: Include <libc-diag.h>.
19585 (p_secstodate): Assert time_t at least as wide as u_long. On
19586 overflow, use integer seconds since the epoch as output, or use
19587 "<overflow>" as output and set errno to EOVERFLOW if integer
19588 seconds since the epoch would be 14 or more characters.
19589 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
19590 for sprintf call.
19591 * resolv/tst-p_secstodate.c: New file.
19592 * resolv/Makefile (tests): Add tst-p_secstodate.
19593 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
19594
a90d1ac2
JM
19595 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
19596 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
19597 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
19598
0285e6bd
PE
195992017-11-22 Paul Eggert <eggert@cs.ucla.edu>
19600
19601 * posix/regcomp.c (init_word_char): Add comments.
19602
4bae6150
JM
196032017-11-22 Joseph Myers <joseph@codesourcery.com>
19604
19605 [BZ #22447]
19606 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
19607 strlen to compute length of ut_user and set trailing NUL byte of
19608 result explicitly.
19609
4b7af5fc
MF
196102017-11-21 Mike FABIAN <mfabian@redhat.com>
19611
19612 [BZ #15537]
19613 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
19614 using “copy "iso14651_t1"” and then implementing the
19615 collation rules for lv from CLDR on top of that.
19616 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
19617 of locales to be built for testing.
19618 * lv_LV.UTF-8.in: New file with test data to test the Latvian
19619 sorting.
19620
922bb78c
JM
196212017-11-21 Joseph Myers <joseph@codesourcery.com>
19622
19623 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
19624 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
19625 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
19626 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
19627 [__USE_MISC] (MADV_HWPOISON): New macro.
19628 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
19629
a3aaa598
AZ
196302017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19631
19632 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
19633 -Wmissing-braces on GCC 4.9.
19634
8beba15d
SL
196352017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
19636
19637 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
19638 * sysdeps/s390/s390-32/start.S (_start): Likewise
19639 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
19640 (thread_start): Likewise.
19641 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
19642 (thread_start): Likewise.
19643 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
19644 (__makecontext_ret): Likewise.
19645 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
19646 (__makecontext_ret): Likewise.
19647
80eb52e3
SL
196482017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
19649
19650 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
19651 __wcschrnul): Remove attribute_hidden.
19652
567d8c1f
PE
196532017-11-20 Paul Eggert <eggert@cs.ucla.edu>
19654
19655 regex: don't assume uint64_t or uint32_t
19656 This avoids -Werror=overflow errors for 32-bit systems in
19657 the 64-bit case. Problem reported by Joseph Myers in:
19658 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
19659 Also, when this code is used in Gnulib it ports to platforms
19660 that lack uint64_t and uint32_t. The C standard doesn't guarantee
19661 them, and on some 32-bit compilers there is no uint64_t.
19662 Problem reported by Gianluigi Tiesi in:
19663 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
19664 * posix/regcomp.c (init_word_char): Don't assume that the types
19665 uint64_t and uint32_t exist. Adapted from Gnulib patch
19666 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
19667 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
19668
4d7632ff
SP
196692017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
19670
5a67c4fa
SP
19671 * sysdeps/aarch64/memset-reg.h: New file.
19672 * sysdeps/aarch64/memset.S: Use it.
19673 (__memset): Rename to MEMSET macro.
19674 [ZVA_MACRO]: Use zva_macro.
19675 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
19676 Add memset_generic and memset_falkor.
19677 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
19678 (__libc_ifunc_impl_list): Add memset ifuncs.
19679 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
19680 local variable zva_size.
19681 * sysdeps/aarch64/multiarch/memset.c: New file.
19682 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
19683 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
19684 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
19685 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
19686 (DCZID_DZP_MASK): New macro.
19687 (DCZID_BS_MASK): Likewise.
19688 (init_cpu_features): Read and set zva_size.
19689 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
19690 (struct cpu_features): New member zva_size.
19691
eb332f9f
SP
19692 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
19693 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
19694 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
19695
4d7632ff
SP
19696 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
19697 backwards. Fix timing computation.
19698 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
19699 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
19700 on memset by N at a time. Fix timing computation.
19701
a465b89e
FW
197022017-11-20 Florian Weimer <fweimer@redhat.com>
19703
19704 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
19705 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
19706
0f74bbf5
FW
197072017-11-19 Florian Weimer <fweimer@redhat.com>
19708
19709 manual: Document mprotect
19710 * manual/memory.texi (Memory Protection): New section.
19711 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
19712 documentation of PROT_* flags and reference the Memory Protection
19713 section instead.
19714
f6e965ee
FW
197152017-11-19 Florian Weimer <fweimer@redhat.com>
19716
19717 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
19718 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
19719 (Scatter-Gather): ... to here. Remove misleading comment.
19720
363e4519 197212017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
ea69a5c8 19722
5f9d1949
CB
19723 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
19724 style.
19725
ea69a5c8
CB
19726 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
19727 when /proc/<pid>/setgroups does not exist.
19728
8db7f48c
FW
197292017-11-18 Florian Weimer <fweimer@redhat.com>
19730
19731 * sysdeps/unix/sysv/linux/tst-ttyname.c
19732 (become_root_in_mount_ns): Remove.
19733 (do_in_chroot_1): Call support_enter_mount_namespace.
19734 (do_in_chroot_2): Likewise.
19735 (do_test): Call support_become_root early.
19736
273a0c49
FW
197372017-11-18 Florian Weimer <fweimer@redhat.com>
19738
19739 * support/namespace.h (support_enter_mount_namespace): Declare.
19740 * support/support_enter_mount_namespace.c: New file.
19741 * support/Makefile (libsupport-routines): Add
19742 support_enter_mount_namespace.
19743
8adfb0ee
FW
197442017-11-18 Florian Weimer <fweimer@redhat.com>
19745
19746 * support/temp_file.c (support_create_temp_directory): Use
19747 test_dir and do not rely on the presence of the XXXXXX suffix.
19748 * support/temp_file.h (support_create_temp_directory): Update
19749 comment.
19750 * support/tst-xreadlink.c (do_test): Adjust.
19751 * support/support_chroot.c (support_chroot_create): Likewise.
19752
df0c40ee
TMQMF
197532017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19754
19755 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
19756 macro.
19757 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
19758 htm-no-suspend.
19759
015c6dc2
JM
197602017-11-17 Joseph Myers <joseph@codesourcery.com>
19761
f58e5f48
JM
19762 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
19763 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
19764 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
19765 (ceill): Define using libm_alias_ldouble.
19766 * sysdeps/x86_64/fpu/s_copysignl.S: Include
19767 <libm-alias-ldouble.h>.
19768 (copysignl): Define using libm_alias_ldouble.
19769 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
19770 (fabsl): Define using libm_alias_ldouble.
19771 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
19772 (floorl): Define using libm_alias_ldouble.
19773 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
19774 (fmaxl): Define using libm_alias_ldouble.
19775 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
19776 (fminl): Define using libm_alias_ldouble.
19777 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
19778 (llrintl): Define using libm_alias_ldouble.
19779 (lrintl): Likewise.
19780 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
19781 <libm-alias-ldouble.h>.
19782 (nearbyintl): Define using libm_alias_ldouble.
19783 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
19784 (truncl): Define using libm_alias_ldouble.
19785 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
19786 <libm-alias-ldouble.h>.
19787 (lrintl): Define using libm_alias_ldouble.
19788
2ce30701
JM
19789 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
19790 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
19791 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
19792 (asinhl): Define using libm_alias_ldouble.
19793 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
19794 (atanl): Define using libm_alias_ldouble.
19795 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
19796 (cbrtl): Define using libm_alias_ldouble.
19797 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
19798 (ceill): Define using libm_alias_ldouble.
19799 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
19800 (copysignl): Define using libm_alias_ldouble.
19801 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
19802 (fabsl): Define using libm_alias_ldouble.
19803 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
19804 (floorl): Define using libm_alias_ldouble.
19805 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
19806 (fmaxl): Define using libm_alias_ldouble.
19807 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
19808 (fminl): Define using libm_alias_ldouble.
19809 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
19810 (frexpl): Define using libm_alias_ldouble.
19811 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
19812 (llrintl): Define using libm_alias_ldouble.
19813 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
19814 (logbl): Define using libm_alias_ldouble.
19815 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
19816 (lrintl): Define using libm_alias_ldouble.
19817 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
19818 (nearbyintl): Define using libm_alias_ldouble.
19819 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
19820 (nextafterl): Define using libm_alias_ldouble.
19821 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
19822 (remquol): Define using libm_alias_ldouble.
19823 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
19824 (rintl): Define using libm_alias_ldouble.
19825 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
19826 (truncl): Define using libm_alias_ldouble.
19827 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
19828 (fmaxl): Define using libm_alias_ldouble.
19829 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
19830 (fminl): Define using libm_alias_ldouble.
19831
015c6dc2
JM
19832 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
19833 to C syntax instead of availability and properties of types.
19834 * bits/floatn.h [!__ASSEMBLER]: Likewise.
19835 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
19836 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
19837 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
19838 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
19839 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
19840
ce003e5d
FW
198412017-11-17 Florian Weimer <fweimer@redhat.com>
19842
19843 support_become_root: Enable file creation in namespaces.
19844 * support/support_become_root.c (setup_mapping): New function.
19845 (support_become_root): Call it.
19846
e7df6c5c
JM
198472017-11-17 Joseph Myers <joseph@codesourcery.com>
19848
19849 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
19850 macro.
19851
58a813bf
AZ
198522017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19853
19854 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
19855 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
19856
f97773d1
JM
198572017-11-16 Joseph Myers <joseph@codesourcery.com>
19858
6a6aa1f3
JM
19859 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
19860
f97773d1
JM
19861 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
19862 version to 4.14.
19863
a306c790
SP
198642017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
19865
7b0fb870
SP
19866 * INSTALL: Fix botched up regeneration.
19867
19868 * NEWS: Update sourceare link to https.
a306c790
SP
19869 * configure.ac: Likewise.
19870 * crypt/md5test-giant.c: Likewise.
19871 * dlfcn/bug-atexit1.c: Likewise.
19872 * dlfcn/bug-atexit2.c: Likewise.
19873 * localedata/README: Likewise.
19874 * malloc/tst-mallocfork.c: Likewise.
19875 * manual/install.texi: Likewise.
19876 * nptl/tst-pthread-getattr.c: Likewise.
19877 * stdio-common/tst-fgets.c: Likewise.
19878 * stdio-common/tst-fwrite.c: Likewise.
19879 * sunrpc/Makefile: Likewise.
19880 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
19881 * wcsmbs/tst-mbrtowc2.c: Likewise.
7b0fb870
SP
19882 * configure: Regenerate.
19883 * INSTALL: Regenerate.
a306c790 19884
7532837d
MS
198852017-11-15 Martin Sebor <msebor@redhat.com>
19886
19887 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
19888 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
19889 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
19890
495a56fd
LS
198912017-11-15 Luke Shumaker <lukeshu@parabola.nu>
19892
d9611e30
LS
19893 [BZ #22145]
19894 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
19895 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
19896
a09dfc19
LS
19897 [BZ #22145]
19898 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
19899 Defer is_pty check until end of the function.
19900 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
19901
2fbce9c2
LS
19902 [BZ #22145]
19903 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
19904 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
19905 (ttyname): Likewise.
19906 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
19907 (__ttyname_r): Likewise.
19908
d10d6cab
LS
19909 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
19910 int to bool.
19911
9b5a8750
LS
19912 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
19913
495a56fd
LS
19914 * manual/terminal.texi (Is It a Terminal):
19915 Mention ENODEV for ttyname and ttyname_r.
19916
fa680dc6
JM
199172017-11-15 Joseph Myers <joseph@codesourcery.com>
19918
78cde19f
JM
19919 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
19920 constant and macro.
19921
fa680dc6
JM
19922 * sysdeps/unix/sysv/linux/bits/mman-linux.h
19923 [__USE_MISC] (MADV_WIPEONFORK): New macro.
19924 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
19925 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
19926 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
19927 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
19928
ad4f43a2
AZ
199292017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19930
1ba1d8a4
AZ
19931 * signal/sigrelse.c (sigrelse): Optimize implementation.
19932
ad4f43a2
AZ
19933 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
19934 (__sigpause): Rely on __sigsuspend to implement single thread
19935 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
19936
d0212d42
JM
199372017-11-15 Joseph Myers <joseph@codesourcery.com>
19938
19939 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
19940 kernel version to 4.14.
19941
2180fee1
SE
199422017-11-15 Steve Ellcey <sellcey@cavium.com>
19943
19944 [BZ #22442]
19945 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
19946 Check if ifname is too long.
19947
cad7ca39
LS
199482017-11-15 Luke Shumaker <lukeshu@parabola.nu>
19949
19950 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
19951
58c9f659
MF
199522017-11-15 Mike FABIAN <mfabian@redhat.com>
19953
19954 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
19955 was accidentally lost.
19956
0fa87c01
MF
199572017-11-15 Mike FABIAN <mfabian@redhat.com>
19958
19959 * localedata/locales/az_IR: Add standard copyright header.
19960
34eb4157
FW
199612017-11-15 Florian Weimer <fweimer@redhat.com>
19962
19963 [BZ #22439]
19964 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
19965 not just the top one. Output a new "subheaps" statistic.
19966
7a9368a1
FW
199672017-11-15 Florian Weimer <fweimer@redhat.com>
19968
19969 [BZ #22408]
19970 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
19971 under the per-arena lock.
19972 * malloc/Makefile (tests): Add tst-malloc_info.
19973 (tst-malloc_info): Link with libpthread.
19974 * malloc/tst-malloc_info.c: New file.
19975
be3a79a3
JM
199762017-11-15 Joseph Myers <joseph@codesourcery.com>
19977
19978 [BZ #21660]
19979 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
19980 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
19981 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
19982 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
19983 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
19984 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
19985 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
19986 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
19987 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
19988 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
19989 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
19990 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
19991 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
19992 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
19993 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
19994 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
19995 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
19996 (__floating_type): Likewise.
19997 (__real_integer_type): Likewise.
19998 (__complex_integer_type): Likewise.
19999 (__expr_is_real): Likewise.
20000 (__tgmath_real_type_sub): Likewise.
20001 (__tgmath_real_type): Likewise.
20002 (__tgmath_complex_type_sub): Likewise.
20003 (__tgmath_complex_type): Likewise.
20004 (__TGMATH_F128): Likewise.
20005 (__TGMATH_CF128): Likewise.
20006 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
20007 new macros.
20008 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
20009 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
20010 Likewise.
20011 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
20012 Likewise.
20013 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
20014 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
20015 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
20016 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
20017 Likewise.
20018 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
20019 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
20020 Likewise.
20021 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
20022 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
20023 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
20024 Likewise.
20025 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
20026 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
20027 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
20028 (cimag): Likewise.
20029 (creal): Likewise.
20030
ec72135e
JM
200312017-11-14 Joseph Myers <joseph@codesourcery.com>
20032
2e64ec9c
JM
20033 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
20034 for stpncpy calls for GCC 8.
20035 (test_strncat): Disable -Wstringop-truncation warning for strncat
20036 calls for GCC 8. Disable -Wstringop-overflow= warning for one
20037 strncat call for GCC 7.
20038 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
20039 calls for GCC 8.
20040 (test_memcmp): Use memcpy instead of strncpy for calls not copying
20041 trailing NUL.
20042
ec72135e
JM
20043 * string/bug-strncat1.c: Include <libc-diag.h>.
20044 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
20045
363e4519 200462017-11-13 Claude Paroz <claude@2xlibre.net>
a259f5d3
CP
20047
20048 [BZ #22387]
20049 * localedata/locales/aa_DJ: Improved readibility by replacing
20050 <Uxxxx> sequences in the ASCII printable range by their ASCII
20051 character equivalents.
20052 * localedata/locales/aa_ER: Likewise.
20053 * localedata/locales/aa_ER@saaho: Likewise.
20054 * localedata/locales/aa_ET: Likewise.
20055 * localedata/locales/af_ZA: Likewise.
20056 * localedata/locales/agr_PE: Likewise.
20057 * localedata/locales/ak_GH: Likewise.
20058 * localedata/locales/am_ET: Likewise.
20059 * localedata/locales/anp_IN: Likewise.
20060 * localedata/locales/ar_AE: Likewise.
20061 * localedata/locales/ar_BH: Likewise.
20062 * localedata/locales/ar_DZ: Likewise.
20063 * localedata/locales/ar_EG: Likewise.
20064 * localedata/locales/ar_IN: Likewise.
20065 * localedata/locales/ar_IQ: Likewise.
20066 * localedata/locales/ar_JO: Likewise.
20067 * localedata/locales/ar_KW: Likewise.
20068 * localedata/locales/ar_LB: Likewise.
20069 * localedata/locales/ar_LY: Likewise.
20070 * localedata/locales/ar_MA: Likewise.
20071 * localedata/locales/ar_OM: Likewise.
20072 * localedata/locales/ar_QA: Likewise.
20073 * localedata/locales/ar_SA: Likewise.
20074 * localedata/locales/ar_SD: Likewise.
20075 * localedata/locales/ar_SS: Likewise.
20076 * localedata/locales/ar_SY: Likewise.
20077 * localedata/locales/ar_TN: Likewise.
20078 * localedata/locales/ar_YE: Likewise.
20079 * localedata/locales/as_IN: Likewise.
20080 * localedata/locales/ast_ES: Likewise.
20081 * localedata/locales/ayc_PE: Likewise.
20082 * localedata/locales/az_AZ: Likewise.
20083 * localedata/locales/az_IR: Likewise.
20084 * localedata/locales/be_BY: Likewise.
20085 * localedata/locales/be_BY@latin: Likewise.
20086 * localedata/locales/bem_ZM: Likewise.
20087 * localedata/locales/ber_DZ: Likewise.
20088 * localedata/locales/ber_MA: Likewise.
20089 * localedata/locales/bg_BG: Likewise.
20090 * localedata/locales/bhb_IN: Likewise.
20091 * localedata/locales/bho_IN: Likewise.
20092 * localedata/locales/bi_VU: Likewise.
20093 * localedata/locales/bn_BD: Likewise.
20094 * localedata/locales/bn_IN: Likewise.
20095 * localedata/locales/bo_CN: Likewise.
20096 * localedata/locales/bo_IN: Likewise.
20097 * localedata/locales/br_FR: Likewise.
20098 * localedata/locales/brx_IN: Likewise.
20099 * localedata/locales/bs_BA: Likewise.
20100 * localedata/locales/byn_ER: Likewise.
20101 * localedata/locales/ca_AD: Likewise.
20102 * localedata/locales/ca_ES: Likewise.
20103 * localedata/locales/ca_FR: Likewise.
20104 * localedata/locales/ca_IT: Likewise.
20105 * localedata/locales/ce_RU: Likewise.
20106 * localedata/locales/chr_US: Likewise.
20107 * localedata/locales/cmn_TW: Likewise.
20108 * localedata/locales/crh_UA: Likewise.
20109 * localedata/locales/cs_CZ: Likewise.
20110 * localedata/locales/csb_PL: Likewise.
20111 * localedata/locales/cv_RU: Likewise.
20112 * localedata/locales/cy_GB: Likewise.
20113 * localedata/locales/da_DK: Likewise.
20114 * localedata/locales/de_AT: Likewise.
20115 * localedata/locales/de_BE: Likewise.
20116 * localedata/locales/de_CH: Likewise.
20117 * localedata/locales/de_DE: Likewise.
20118 * localedata/locales/de_IT: Likewise.
20119 * localedata/locales/de_LI: Likewise.
20120 * localedata/locales/de_LU: Likewise.
20121 * localedata/locales/doi_IN: Likewise.
20122 * localedata/locales/dv_MV: Likewise.
20123 * localedata/locales/dz_BT: Likewise.
20124 * localedata/locales/el_CY: Likewise.
20125 * localedata/locales/el_GR: Likewise.
20126 * localedata/locales/en_AG: Likewise.
20127 * localedata/locales/en_AU: Likewise.
20128 * localedata/locales/en_BW: Likewise.
20129 * localedata/locales/en_CA: Likewise.
20130 * localedata/locales/en_DK: Likewise.
20131 * localedata/locales/en_GB: Likewise.
20132 * localedata/locales/en_HK: Likewise.
20133 * localedata/locales/en_IE: Likewise.
20134 * localedata/locales/en_IL: Likewise.
20135 * localedata/locales/en_IN: Likewise.
20136 * localedata/locales/en_NG: Likewise.
20137 * localedata/locales/en_NZ: Likewise.
20138 * localedata/locales/en_PH: Likewise.
20139 * localedata/locales/en_SG: Likewise.
20140 * localedata/locales/en_US: Likewise.
20141 * localedata/locales/en_ZA: Likewise.
20142 * localedata/locales/en_ZM: Likewise.
20143 * localedata/locales/en_ZW: Likewise.
20144 * localedata/locales/eo: Likewise.
20145 * localedata/locales/es_AR: Likewise.
20146 * localedata/locales/es_BO: Likewise.
20147 * localedata/locales/es_CL: Likewise.
20148 * localedata/locales/es_CO: Likewise.
20149 * localedata/locales/es_CR: Likewise.
20150 * localedata/locales/es_CU: Likewise.
20151 * localedata/locales/es_DO: Likewise.
20152 * localedata/locales/es_EC: Likewise.
20153 * localedata/locales/es_ES: Likewise.
20154 * localedata/locales/es_GT: Likewise.
20155 * localedata/locales/es_HN: Likewise.
20156 * localedata/locales/es_MX: Likewise.
20157 * localedata/locales/es_NI: Likewise.
20158 * localedata/locales/es_PA: Likewise.
20159 * localedata/locales/es_PE: Likewise.
20160 * localedata/locales/es_PR: Likewise.
20161 * localedata/locales/es_PY: Likewise.
20162 * localedata/locales/es_SV: Likewise.
20163 * localedata/locales/es_US: Likewise.
20164 * localedata/locales/es_UY: Likewise.
20165 * localedata/locales/es_VE: Likewise.
20166 * localedata/locales/et_EE: Likewise.
20167 * localedata/locales/eu_ES: Likewise.
20168 * localedata/locales/eu_ES@euro: Likewise.
20169 * localedata/locales/fa_IR: Likewise.
20170 * localedata/locales/ff_SN: Likewise.
20171 * localedata/locales/fi_FI: Likewise.
20172 * localedata/locales/fil_PH: Likewise.
20173 * localedata/locales/fo_FO: Likewise.
20174 * localedata/locales/fr_BE: Likewise.
20175 * localedata/locales/fr_CA: Likewise.
20176 * localedata/locales/fr_CH: Likewise.
20177 * localedata/locales/fr_FR: Likewise.
20178 * localedata/locales/fr_LU: Likewise.
20179 * localedata/locales/fur_IT: Likewise.
20180 * localedata/locales/fy_DE: Likewise.
20181 * localedata/locales/fy_NL: Likewise.
20182 * localedata/locales/ga_IE: Likewise.
20183 * localedata/locales/gd_GB: Likewise.
20184 * localedata/locales/gez_ER: Likewise.
20185 * localedata/locales/gez_ET: Likewise.
20186 * localedata/locales/gl_ES: Likewise.
20187 * localedata/locales/gu_IN: Likewise.
20188 * localedata/locales/gv_GB: Likewise.
20189 * localedata/locales/ha_NG: Likewise.
20190 * localedata/locales/hak_TW: Likewise.
20191 * localedata/locales/he_IL: Likewise.
20192 * localedata/locales/hi_IN: Likewise.
20193 * localedata/locales/hif_FJ: Likewise.
20194 * localedata/locales/hne_IN: Likewise.
20195 * localedata/locales/hr_HR: Likewise.
20196 * localedata/locales/hsb_DE: Likewise.
20197 * localedata/locales/ht_HT: Likewise.
20198 * localedata/locales/hu_HU: Likewise.
20199 * localedata/locales/hy_AM: Likewise.
20200 * localedata/locales/i18n: Likewise.
20201 * localedata/locales/ia_FR: Likewise.
20202 * localedata/locales/id_ID: Likewise.
20203 * localedata/locales/ig_NG: Likewise.
20204 * localedata/locales/ik_CA: Likewise.
20205 * localedata/locales/is_IS: Likewise.
20206 * localedata/locales/it_CH: Likewise.
20207 * localedata/locales/it_IT: Likewise.
20208 * localedata/locales/iu_CA: Likewise.
20209 * localedata/locales/ja_JP: Likewise.
20210 * localedata/locales/ka_GE: Likewise.
20211 * localedata/locales/kk_KZ: Likewise.
20212 * localedata/locales/kl_GL: Likewise.
20213 * localedata/locales/kn_IN: Likewise.
20214 * localedata/locales/ko_KR: Likewise.
20215 * localedata/locales/kok_IN: Likewise.
20216 * localedata/locales/ks_IN: Likewise.
20217 * localedata/locales/ks_IN@devanagari: Likewise.
20218 * localedata/locales/ku_TR: Likewise.
20219 * localedata/locales/kw_GB: Likewise.
20220 * localedata/locales/ky_KG: Likewise.
20221 * localedata/locales/lb_LU: Likewise.
20222 * localedata/locales/lg_UG: Likewise.
20223 * localedata/locales/li_BE: Likewise.
20224 * localedata/locales/li_NL: Likewise.
20225 * localedata/locales/lij_IT: Likewise.
20226 * localedata/locales/ln_CD: Likewise.
20227 * localedata/locales/lo_LA: Likewise.
20228 * localedata/locales/lt_LT: Likewise.
20229 * localedata/locales/lv_LV: Likewise.
20230 * localedata/locales/lzh_TW: Likewise.
20231 * localedata/locales/mag_IN: Likewise.
20232 * localedata/locales/mai_IN: Likewise.
20233 * localedata/locales/mg_MG: Likewise.
20234 * localedata/locales/mhr_RU: Likewise.
20235 * localedata/locales/mi_NZ: Likewise.
20236 * localedata/locales/mk_MK: Likewise.
20237 * localedata/locales/ml_IN: Likewise.
20238 * localedata/locales/mn_MN: Likewise.
20239 * localedata/locales/mni_IN: Likewise.
20240 * localedata/locales/mr_IN: Likewise.
20241 * localedata/locales/ms_MY: Likewise.
20242 * localedata/locales/mt_MT: Likewise.
20243 * localedata/locales/my_MM: Likewise.
20244 * localedata/locales/nan_TW: Likewise.
20245 * localedata/locales/nan_TW@latin: Likewise.
20246 * localedata/locales/nb_NO: Likewise.
20247 * localedata/locales/nds_DE: Likewise.
20248 * localedata/locales/nds_NL: Likewise.
20249 * localedata/locales/ne_NP: Likewise.
20250 * localedata/locales/nhn_MX: Likewise.
20251 * localedata/locales/niu_NU: Likewise.
20252 * localedata/locales/niu_NZ: Likewise.
20253 * localedata/locales/nl_AW: Likewise.
20254 * localedata/locales/nl_BE: Likewise.
20255 * localedata/locales/nl_NL: Likewise.
20256 * localedata/locales/nn_NO: Likewise.
20257 * localedata/locales/nr_ZA: Likewise.
20258 * localedata/locales/nso_ZA: Likewise.
20259 * localedata/locales/oc_FR: Likewise.
20260 * localedata/locales/om_ET: Likewise.
20261 * localedata/locales/om_KE: Likewise.
20262 * localedata/locales/or_IN: Likewise.
20263 * localedata/locales/os_RU: Likewise.
20264 * localedata/locales/pa_IN: Likewise.
20265 * localedata/locales/pa_PK: Likewise.
20266 * localedata/locales/pap_AW: Likewise.
20267 * localedata/locales/pap_CW: Likewise.
20268 * localedata/locales/pl_PL: Likewise.
20269 * localedata/locales/ps_AF: Likewise.
20270 * localedata/locales/pt_BR: Likewise.
20271 * localedata/locales/pt_PT: Likewise.
20272 * localedata/locales/quz_PE: Likewise.
20273 * localedata/locales/raj_IN: Likewise.
20274 * localedata/locales/ro_RO: Likewise.
20275 * localedata/locales/ru_RU: Likewise.
20276 * localedata/locales/ru_UA: Likewise.
20277 * localedata/locales/rw_RW: Likewise.
20278 * localedata/locales/sa_IN: Likewise.
20279 * localedata/locales/sat_IN: Likewise.
20280 * localedata/locales/sc_IT: Likewise.
20281 * localedata/locales/sd_IN: Likewise.
20282 * localedata/locales/sd_IN@devanagari: Likewise.
20283 * localedata/locales/se_NO: Likewise.
20284 * localedata/locales/sgs_LT: Likewise.
20285 * localedata/locales/shs_CA: Likewise.
20286 * localedata/locales/si_LK: Likewise.
20287 * localedata/locales/sid_ET: Likewise.
20288 * localedata/locales/sk_SK: Likewise.
20289 * localedata/locales/sl_SI: Likewise.
20290 * localedata/locales/sm_WS: Likewise.
20291 * localedata/locales/so_DJ: Likewise.
20292 * localedata/locales/so_ET: Likewise.
20293 * localedata/locales/so_KE: Likewise.
20294 * localedata/locales/so_SO: Likewise.
20295 * localedata/locales/sq_AL: Likewise.
20296 * localedata/locales/sq_MK: Likewise.
20297 * localedata/locales/sr_ME: Likewise.
20298 * localedata/locales/sr_RS: Likewise.
20299 * localedata/locales/sr_RS@latin: Likewise.
20300 * localedata/locales/ss_ZA: Likewise.
20301 * localedata/locales/st_ZA: Likewise.
20302 * localedata/locales/sv_FI: Likewise.
20303 * localedata/locales/sv_SE: Likewise.
20304 * localedata/locales/sw_KE: Likewise.
20305 * localedata/locales/sw_TZ: Likewise.
20306 * localedata/locales/szl_PL: Likewise.
20307 * localedata/locales/ta_IN: Likewise.
20308 * localedata/locales/ta_LK: Likewise.
20309 * localedata/locales/tcy_IN: Likewise.
20310 * localedata/locales/te_IN: Likewise.
20311 * localedata/locales/tg_TJ: Likewise.
20312 * localedata/locales/th_TH: Likewise.
20313 * localedata/locales/the_NP: Likewise.
20314 * localedata/locales/ti_ER: Likewise.
20315 * localedata/locales/ti_ET: Likewise.
20316 * localedata/locales/tig_ER: Likewise.
20317 * localedata/locales/tk_TM: Likewise.
20318 * localedata/locales/tl_PH: Likewise.
20319 * localedata/locales/tn_ZA: Likewise.
20320 * localedata/locales/to_TO: Likewise.
20321 * localedata/locales/tpi_PG: Likewise.
20322 * localedata/locales/tr_CY: Likewise.
20323 * localedata/locales/tr_TR: Likewise.
20324 * localedata/locales/ts_ZA: Likewise.
20325 * localedata/locales/tt_RU: Likewise.
20326 * localedata/locales/tt_RU@iqtelif: Likewise.
20327 * localedata/locales/ug_CN: Likewise.
20328 * localedata/locales/uk_UA: Likewise.
20329 * localedata/locales/unm_US: Likewise.
20330 * localedata/locales/ur_IN: Likewise.
20331 * localedata/locales/ur_PK: Likewise.
20332 * localedata/locales/uz_UZ: Likewise.
20333 * localedata/locales/uz_UZ@cyrillic: Likewise.
20334 * localedata/locales/ve_ZA: Likewise.
20335 * localedata/locales/vi_VN: Likewise.
20336 * localedata/locales/wa_BE: Likewise.
20337 * localedata/locales/wae_CH: Likewise.
20338 * localedata/locales/wal_ET: Likewise.
20339 * localedata/locales/wo_SN: Likewise.
20340 * localedata/locales/xh_ZA: Likewise.
20341 * localedata/locales/yi_US: Likewise.
20342 * localedata/locales/yo_NG: Likewise.
20343 * localedata/locales/yue_HK: Likewise.
20344 * localedata/locales/yuw_PG: Likewise.
20345 * localedata/locales/zh_CN: Likewise.
20346 * localedata/locales/zh_HK: Likewise.
20347 * localedata/locales/zh_SG: Likewise.
20348 * localedata/locales/zh_TW: Likewise.
20349 * localedata/locales/zu_ZA: Likewise.
20350
cae87e64
FW
203512017-11-13 Florian Weimer <fweimer@redhat.com>
20352
20353 * support/next_to_fault.h, support/next_to_fault.c: New files.
20354 * support/Makefile (libsupport-routines): Add next_to_fault.
20355 * resolv/tst-inet_pton.c (struct next_to_fault)
20356 (next_to_fault_allocate, next_to_fault_free): Remove.
20357 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
20358
4a306ef1
L
203592017-11-13 H.J. Lu <hongjiu.lu@intel.com>
20360
20361 * elf/dl-support.c: Include <dl-procruntime.c>.
20362 * include/link.h: Include <link_map.h>.
20363 * sysdeps/generic/dl-procruntime.c: New file.
20364 * sysdeps/generic/link_map.h: Likewise.
20365 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
20366 the writable ld.so namespace.
20367
e69897bf
PE
203682017-11-12 Paul Eggert <eggert@cs.ucla.edu>
20369
20370 timezone: pacify GCC -Wstringop-truncation
20371 Problem reported by Martin Sebor in:
20372 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
20373 * timezone/zic.c (writezone): Use memcpy, not strncpy.
20374
1ffe1ccb
FW
203752017-11-12 Florian Weimer <fweimer@redhat.com>
20376
eceed671
FW
20377 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
20378 tst-xreadlink.
20379 (tests): Add tst-xreadlink.
1ffe1ccb
FW
20380 * support/support.h (xstrndup): Declare.
20381 * support/xunistd.h (xunlink, xreadlink): Declare.
20382 * support/temp_file.h (support_create_temp_directory): Declare.
20383 * support/temp_file.c (support_create_temp_directory): New function.
20384 * support/support_chroot.c (support_chroot_create): Use it.
20385 * support/xreadlink.c: New file.
20386 * support/xstrndup.c: Likewise.
20387 * support/xunlink.c: Likewise.
20388 * support/tst-xreadlink.c: Likewise.
20389
456b40a9
JDA
203902017-11-11 John David Anglin <danglin@gcc.gnu.org>
20391
20392 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
20393
c0a25aa9
FW
203942017-11-11 Florian Weimer <fweimer@redhat.com>
20395
20396 [BZ #22409]
20397 [BZ #22412]
20398 * resolv/res_comp.c (printable_string, binary_hnok)
20399 (binary_leading_dash): New functions.
20400 (res_hnok): Reimplement using these functions and ns_name_pton.
20401 (res_ownok): Likewise.
20402 (res_mailok): Reimplement using printable_string, ns_name_pton and
20403 binary_hnok.
20404 (res_dnok): Reimplement using printable_string and ns_name_pton.
20405 * resolv/tst-res_hnok.c (tests): Add additional tests.
20406 (LETTERDIGITS, PRINTABLE): Define.
20407 (do_test): Adjust one_char results.
20408
9e0ad304
FW
204092017-11-11 Florian Weimer <fweimer@redhat.com>
20410
20411 [BZ #22413]
20412 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
20413 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
20414
e2a9fca8
FW
204152017-11-11 Florian Weimer <fweimer@redhat.com>
20416
20417 * resolv/tst-ns_name_pton.c: New file.
20418 * resolv/Makefile (tests): Add tst-ns_name_pton.
20419 (tst-ns_name_pton): Link against libresolv.
20420
5c1a6923
FW
204212017-11-11 Florian Weimer <fweimer@redhat.com>
20422
20423 * resolv/tst-res_hnok.c: New file.
20424 * resolv/Makefile (tests): Add tst-res_hnok.
20425 (tst-res_hnok): Link against libresolv.
20426
a19c0a1d
FW
204272017-11-11 Florian Weimer <fweimer@redhat.com>
20428
20429 * resolv/tst-resolv-network.c: Use test framework instead explicit
20430 main function.
20431
8cb5295d
L
204322017-11-09 H.J. Lu <hongjiu.lu@intel.com>
20433
20434 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
20435 <jmp_buf-macros.h>.
20436 [!_ISOMAC] (STR_HELPER): New.
20437 [!_ISOMAC] (STR): Likewise.
20438 [!_ISOMAC] (TEST_SIZE): Likewise.
20439 [!_ISOMAC] (TEST_ALIGN): Likewise.
20440 [!_ISOMAC] (TEST_OFFSET): Likewise.
20441 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
20442 field offsets of jmp_buf as well as sigjmp_buf.
20443 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
20444 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
20445 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
20446 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
20447 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
20448 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
20449 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
20450 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
20451 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
20452 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
20453 Likewise.
20454 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
20455 Likewise.
20456 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
20457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
20458 Likewise.
20459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
20460 Likewise.
20461 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
20462 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
20463 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
20464 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
20465 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
20466 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
20467 Likewise.
20468 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
20469 Likewise.
20470 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
20471 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
20472 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
20473
58c4a161
JM
204742017-11-07 Joseph Myers <joseph@codesourcery.com>
20475
3683b423
JM
20476 * include/float.h
20477 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20478 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
20479 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20480 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
20481 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20482 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
20483 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20484 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
20485 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20486 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
20487 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20488 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
20489 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20490 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
20491 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20492 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
20493 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20494 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
20495 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20496 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
20497 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20498 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
20499 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20500 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
20501 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20502 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
20503 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20504 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
20505 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20506 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
20507 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20508 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
20509 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20510 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
20511 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20512 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
20513 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20514 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
20515 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20516 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
20517 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20518 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
20519 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20520 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
20521 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20522 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
20523 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20524 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
20525 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20526 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
20527 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20528 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
20529 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20530 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
20531 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20532 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
20533 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20534 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
20535 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20536 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
20537 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20538 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
20539 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20540 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
20541 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20542 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
20543 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20544 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
20545 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20546 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
20547 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20548 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
20549 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20550 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
20551 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20552 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
20553 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20554 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
20555 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20556 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
20557 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20558 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
20559 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20560 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
20561 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20562 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
20563 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
20564 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
20565
58c4a161
JM
20566 * stdlib/tst-strtod.h (F16): New macro.
20567 (F32): Likewise.
20568 (F64): Likewise.
20569 (F32X): Likewise.
20570 (F64X): Likewise.
20571 (F128X): Likewise.
20572 (IF_FLOAT16): Likewise.
20573 (IF_FLOAT32): Likewise.
20574 (IF_FLOAT64): Likewise.
20575 (IF_FLOAT32X): Likewise.
20576 (IF_FLOAT64X): Likewise.
20577 (IF_FLOAT128X): Likewise.
20578 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
20579 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
20580 (STRTOD_TEST_FOREACH): Likewise.
20581 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
20582 (CHOOSE_f64): Likewise.
20583 (CHOOSE_f32x): Likewise.
20584 (CHOOSE_f64x): Likewise.
20585
feda96a1
AS
205862017-11-07 Andreas Schwab <schwab@suse.de>
20587
20588 * nptl/Makefile (tests-internal): Remove tst-typesizes.
20589
1bd0cbb8
MF
205902017-11-07 Mike FABIAN <mfabian@redhat.com>
20591
20592 [BZ #22403]
20593 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
20594 to be escaped.
20595 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
20596 to be escaped.
20597
363e4519 205982017-11-07 Claude Paroz <claude@2xlibre.net>
d8301314
CP
20599
20600 [BZ #22403]
20601 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
20602 to be escaped.
20603 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
20604 to be escaped.
20605 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
20606 to be escaped.
20607
dff91cd4
AZ
206082017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20609
06be6368
AZ
20610 [BZ #22298]
20611 * nptl/allocatestack.c (allocate_stack): Check if
20612 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
20613 __PTHREAD_MUTEX_HAVE_PREV is defined.
20614 * nptl/descr.h (pthread): Likewise.
20615 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
20616 Likewise.
20617 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
20618 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
20619 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
20620 * sysdeps/nptl/bits/thread-shared-types.h
20621 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
20622 defines.
20623 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
20624 of __WORDSIZE for internal layout.
20625 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
20626 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
20627 instead of __WORDSIZE whether to use an union for __spins and __list
20628 fields.
20629 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
20630 case.
20631 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
20632 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
20633 defines.
20634 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
20635 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
20636 Likewise.
20637 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
20638 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
20639 Likewise.
20640 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
20641 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
20642 Likewise.
20643 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
20644 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
20645 Likewise.
20646 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
20647 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
20648 Likewise.
20649 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
20650 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
20651 Likewise.
20652 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
20653 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
20654 Likewise.
20655 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
20656 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
20657 Likewise.
20658 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
20659 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
20660 Likewise.
20661 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
20662 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
20663 Likewise.
20664 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
20665 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
20666 Likewise.
20667 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
20668 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
20669 Likewise.
20670 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
20671 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
20672 Likewise.
20673 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
20674 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
20675 Likewise.
20676
72b3c6ee
AZ
20677 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
20678 New macros.
20679 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
20680 checks for expected input type size.
20681 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
20682 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
20683 Likewise.
20684 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
20685 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
20686 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
20687 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
20688 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
20689 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
20690 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
20691 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
20692 superflous runtime assert check.
20693 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
20694 Likewise.
20695 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
20696 Likewise.
20697 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
20698 Likewise.
20699 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
20700 Likewise.
20701 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
20702 Likewise.
20703 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
20704 Likewise.
20705 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
20706 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
20707 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
20708 Likewise.
20709 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
20710 Likewise.
20711 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
20712 Likewise.
20713 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
20714 Likewise.
20715 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
20716 Likewise.
20717 * nptl/pthread_attr_setinheritsched.c
20718 (__pthread_attr_setinheritsched): Likewise.
20719 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
20720 Likewise.
20721 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
20722 Likewise.
20723 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
20724 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
20725 __old_pthread_attr_setstack): Likewise.
20726 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
20727 Likewise.
20728 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
20729 Likewise.
20730 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
20731 Likewise.
20732 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
20733 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
20734 Likewise.
20735 * nptl/tst-typesizes.c: Remove file.
20736
dff91cd4
AZ
20737 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
20738 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
20739 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
20740 checks for internal pthread_mutex_t offsets.
20741 * sysdeps/aarch64/nptl/pthread-offsets.h
20742 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
20743 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
20744 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
20745 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
20746 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
20747 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
20748 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
20749 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
20750 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
20751 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
20752 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
20753 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
20754 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
20755 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
20756 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
20757 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
20758 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
20759 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
20760
b7fc95f8
FW
207612017-11-07 Florian Weimer <fweimer@redhat.com>
20762
20763 * bits/mman-linux.h: Move ...
20764 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
20765 comment.
20766 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
20767 outdated comment.
20768
6b860364
RS
207692017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20770
20771 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
20772 Redefine STRNLEN as __strnlen_power8.
20773
802c1f16
AZ
207742017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20775
d83da3a4
AZ
20776 * signal/sighold.c (sighold): Optimize implementation.
20777
6a4235f1
AZ
20778 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
20779 __NR_rt_sigqueueinfo.
20780
8b0e795a
AZ
20781 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
20782 __sigtimedwait.
20783 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
20784 assume __NR_rt_sigtimedwait.
20785 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
20786 and add LIBC_CANCEL_HANDLED for cancellation marking.
20787 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
20788
a1a638dd
AZ
20789 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
20790 (sysdeps_routines): Add memchr_noneon.
20791 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
20792 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
20793 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
20794 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
20795 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
20796 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
20797 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
20798
802c1f16
AZ
20799 * sysdeps/arm/arm-ifunc.h: New file.
20800 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
20801 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
20802 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
20803 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
20804 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
20805 (__memcpy_neon): Avoid create hidden alias.
20806 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
20807 (__memcpy_vfp): Likewise.
20808 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
20809 (sysdep_routines): Add memcpy_arm.
20810 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
20811
abcb584d
L
208122017-11-06 H.J. Lu <hongjiu.lu@intel.com>
20813
20814 [BZ #22362]
20815 * Makerules (make-link-multidir): New.
20816 * config.make.in (multidir): New.
20817 * configure.ac (libc_cv_multidir): New. AC_SUBST.
20818 * configure: Regenerated.
20819 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
20820 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
20821 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
20822 New target.
20823
4e2dff67
JM
208242017-11-06 Joseph Myers <joseph@codesourcery.com>
20825
20826 [BZ #22402]
20827 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
20828 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
20829
a1c7cd3c
MF
208302017-11-04 Mike FABIAN <mfabian@redhat.com>
20831
20832 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
20833 to be escaped.
20834
b9af29c0
FW
208352017-11-04 Florian Weimer <fweimer@redhat.com>
20836
20837 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
20838
4ca70e1a
JM
208392017-11-03 Joseph Myers <joseph@codesourcery.com>
20840
20841 * math/math.h [__HAVE_DISTINCT_FLOAT16
20842 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
20843 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
20844 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
20845 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
20846 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
20847 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
20848 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
20849 (__MATH_TG_F32): New macro.
20850 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
20851 (__MATH_TG_F64X): Likewise.
20852 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
20853 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
20854
ba0e6668
DL
208552017-11-03 Dmitry V. Levin <ldv@altlinux.org>
20856
20857 * po/de.po: Update translations.
20858 * po/ru.po: Likewise.
20859
bc18a6d3
FW
208602017-11-03 Florian Weimer <fweimer@redhat.com>
20861
20862 * manual/filesys.texi (Hard Links): Document linkat.
20863
97255170
JM
208642017-11-03 Joseph Myers <joseph@codesourcery.com>
20865
86ec4865
JM
20866 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
20867 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
20868 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
20869 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
20870 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
20871 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
20872 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
20873 the same as _Float128.
20874 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
20875 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
20876 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
20877
97255170
JM
20878 * stdlib/stdlib.h
20879 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
20880 Declare.
20881 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
20882 Likewise.
20883 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
20884 Likewise.
20885 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
20886 (strtof32x): Likewise.
20887 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
20888 (strtof64x): Likewise.
20889 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
20890 (strtof128x): Likewise.
20891 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
20892 (strfromf16): Likewise.
20893 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
20894 (strfromf32): Likewise.
20895 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
20896 (strfromf64): Likewise.
20897 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
20898 (strfromf32x): Likewise.
20899 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
20900 (strfromf64x): Likewise.
20901 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
20902 (strfromf128x): Likewise.
20903 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
20904 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
20905 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
20906 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
20907 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
20908 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
20909
6d58ce5e
RH
209102017-11-03 Richard Henderson <rth@twiddle.net>
20911
20912 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
20913
659ca267
SN
209142017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
20915
20916 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
20917
94d2f0af
SN
209182017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
20919
20920 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
20921 DT_TLSDESC_GOT initialization.
20922 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
20923 (_dl_tlsdesc_resolve_hold): Likewise.
20924 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
20925 (_dl_tlsdesc_resolve_hold): Likewise.
20926 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
20927 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
20928
28e1ddf3
SN
209292017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
20930
20931 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
20932
0ca3d1d6
SN
209332017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
20934
20935 [BZ #18572]
20936 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
20937 non-lazily for R_ARM_TLS_DESC.
20938
2c1d4e5f
SN
209392017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
20940
20941 [BZ #17078]
20942 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
20943 R_ARM_TLS_DESC case.
20944 (elf_machine_lazy_rel): Remove the prelink check.
20945
91c5a366
SN
209462017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
20947
20948 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
20949 DT_TLSDESC_GOT initialization.
20950 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
20951 (_dl_tlsdesc_resolve_rela): Likewise.
20952 (_dl_tlsdesc_resolve_hold): Likewise.
20953 (_dl_tlsdesc_undefweak): Remove ldar.
20954 (_dl_tlsdesc_dynamic): Likewise.
20955 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
20956 (_dl_tlsdesc_resolve_rela): Likewise.
20957 (_dl_tlsdesc_resolve_hold): Likewise.
20958 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
20959 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
20960 (_dl_tlsdesc_resolve_rela): Likewise.
20961 (_dl_tlsdesc_resolve_hold): Likewise.
20962
b7cf203b
SN
209632017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
20964
20965 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
20966 binding and initialization non-lazily for R_AARCH64_TLSDESC.
20967
0cc5b022
SN
209682017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
20969
20970 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
20971 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
20972
43ddff2e
JM
209732017-11-02 Joseph Myers <joseph@codesourcery.com>
20974
20975 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
20976 Declare.
20977 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
20978 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
20979 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
20980 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
20981 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
20982 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
20983 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
20984 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
20985 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
20986 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
20987 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
20988
5baac970
MF
209892017-11-02 Mike FABIAN <mfabian@redhat.com>
20990
20991 [BZ #22382]
20992 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
20993 * localedata/locales/tpi_PG: Add standard header.
20994
ef11081f
FW
209952017-11-02 Florian Weimer <fweimer@redhat.com>
20996
20997 test-errno-linux: quotactl can fail with EPERM in containers.
20998 * sysdeps/unix/sysv/linux/test-errno-linux.c
20999 (LIST, LIST_FORWARD): New macros.
21000 (check_error_in_list): New function.
21001 (test_wrp_rv): Accept list of permitted error codes.
21002 (test_wrp_rv2): Remove.
21003 (test_wrp): Call test_wrp_rv with list of error codes.
21004 (test_wrp2): Accept list of error codes.
21005 (do_test): Adjust. Allow EPERM for quotactl.
21006
d10b132b
FW
210072017-11-02 Florian Weimer <fweimer@redhat.com>
21008
21009 * stdio-common/bug16.c (do_test): Use array_length.
21010 * stdio-common/errlist.c (_sys_nerr): Likewise.
21011 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
21012 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
21013 * stdio-common/psiginfo.c (psiginfo): Use array_length.
21014 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
21015 (do_test): Use array_length.
21016 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
21017 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
21018 * stdio-common/tst-printf-round.c (do_test): Likewise.
21019 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
21020 (CHECK): Use array_length.
21021 * stdio-common/tstdiomisc.c (t3, F): Likewise.
21022 * stdio-common/tstscanf.c (main): Likewise.
21023 * stdio-common/vfprintf.c (process_string_arg): Likewise.
21024
c94a5688
FW
210252017-11-02 Florian Weimer <fweimer@redhat.com>
21026
21027 Add array_length and array_end macros.
21028 * include/array_length.h: New file.
21029
2fac6a6c
FW
210302017-11-02 Florian Weimer <fweimer@redhat.com>
21031
21032 [BZ #22332]
21033 * posix/tst-glob-tilde.c (do_noescape): New variable.
21034 (one_test): Process it.
21035 (do_test): Set do_noescape. Add unescaping test case.
21036
2f1b212e
JM
210372017-11-01 Joseph Myers <joseph@codesourcery.com>
21038
260fbd0a
JM
21039 * math/complex.h
21040 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
21041 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
21042 with appropriate macros defined and undefined.
21043 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
21044 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
21045 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
21046 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
21047 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
21048 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
21049 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
21050 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
21051 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
21052 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
21053
2f1b212e
JM
21054 * math/complex.h
21055 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
21056 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
21057 that for long double. Do not condition define and undefine of
21058 _Mdouble_complex_ on [__CFLOAT128].
21059
95b93c6e
L
210602017-11-01 H.J. Lu <hongjiu.lu@intel.com>
21061
21062 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
21063 of <sysdeps/generic/sysdep.h>.
21064 (ALIGNARG): Removed.
21065 (ASM_SIZE_DIRECTIVE): Likewise.
21066 (ENTRY): Likewise.
21067 (END): Likewise.
21068 (ENTRY_CHK): Likewise.
21069 (END_CHK): Likewise.
21070 (syscall_error): Likewise.
21071 (mcount): Likewise.
21072 (PSEUDO_END): Likewise.
21073 (L): Likewise.
21074 (atom_text_section): Likewise.
21075 * sysdeps/x86/sysdep.h: New file.
21076 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
21077 of <sysdeps/generic/sysdep.h>.
21078 (ALIGNARG): Removed.
21079 (ASM_SIZE_DIRECTIVE): Likewise.
21080 (ENTRY): Likewise.
21081 (END): Likewise.
21082 (ENTRY_CHK): Likewise.
21083 (END_CHK): Likewise.
21084 (syscall_error): Likewise.
21085 (mcount): Likewise.
21086 (PSEUDO_END): Likewise.
21087 (L): Likewise.
21088 (atom_text_section): Likewise.
21089
1bb36539
RL
210902017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
21091
21092 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
21093 category of LC_CTYPE set to "i18n:2012".
21094 * localedata/locales/i18n_ctype: Regenerate.
21095
067f5d97 210962017-10-31 Yury Norov <ynorov@caviumnetworks.com>
e8681faa 21097
87bbc4cf
YN
21098 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
21099 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
21100 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
21101 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
21102
e8681faa
YN
21103 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
21104 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
21105 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
21106 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
21107
540af6e2
JM
211082017-10-31 Joseph Myers <joseph@codesourcery.com>
21109
43e66283
JM
21110 * math/complex.h
21111 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
21112 New macro.
21113 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
21114 Likewise.
21115 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
21116 Likewise.
21117 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21118 (CMPLXF32X): Likewise.
21119 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21120 (CMPLXF64X): Likewise.
21121 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21122 (CMPLXF128X): Likewise.
21123
540af6e2
JM
21124 * math/math.h
21125 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
21126 (__MATH_EVAL_FMT2): Define to add 0.0f.
21127
58af72b4
AM
211282017-10-31 Alan Modra <amodra@gmail.com>
21129
21130 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
21131 include sysdep.h.
21132 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
21133 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
21134 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
21135 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
21136 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
21137 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
21138 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
21139 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
21140 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
21141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
21142 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
21143 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
21144 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
21145 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
21146 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
21147 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
21148 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
21149 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
21150 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
21151 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
21152 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
21153 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
21154 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
21155 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
21156 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
21157 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
21158 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
21159 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
21160 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
21161 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
21162 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
21163 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
21164 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
21165 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
21166 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
21167 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
21168 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
21169 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
21170 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
21171 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
21172 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
21173 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
21174 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
21175 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
21176 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
21177 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
21178 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
21179 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
21180 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
21181 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
21182 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
21183 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
21184 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
21185 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
21186 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
21187 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
21188 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
21189 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
21190 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
21191 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
21192 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
21193 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
21194 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
21195 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
21196 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
21197 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
21198 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
21199 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
21200 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
21201
21202 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
21203 include sysdep.h and math_ldbl_opt.h.
21204
21205 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
21206 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
21207 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
21208 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
21209 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
21210 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
21211 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
21212 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
21213 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
21214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
21215 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
21216 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
21217 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
21218 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
21219 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
21220 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
21221 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
21222 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
21223 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
21224 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
21225 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
21226 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
21227 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
21228 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
21229 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
21230 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
21231
112f30b3
AM
212322017-10-31 Alan Modra <amodra@gmail.com>
21233
21234 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
21235 string/strncase_l.c, not string/strncase.c.
21236 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
21237 (libc_hidden_def): Redefine.
21238
e9e7eced
AM
212392017-10-31 Alan Modra <amodra@gmail.com>
21240
21241 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
21242 (__STRCMP, STRCMP, __strcasecmp_l): Define.
21243 (__strcasecmp): Don't define.
21244
f7b465cf
AM
212452017-10-31 Alan Modra <amodra@gmail.com>
21246
21247 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
21248 IS_IN (libc).
21249 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
21250 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
21251 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
21252
d46b09f9
AM
212532017-10-31 Alan Modra <amodra@gmail.com>
21254
21255 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
21256 USE_AS_STPNCPY.
21257
e9b8e194
AM
212582017-10-31 Alan Modra <amodra@gmail.com>
21259
21260 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
21261 Redefine only when SHARED.
21262
eda162dd
JM
212632017-10-30 Joseph Myers <joseph@codesourcery.com>
21264
b61afe8c
JM
21265 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
21266 Include <bits/math-finite.h> with appropriate macros defined and
21267 undefined.
21268 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
21269 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
21270 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
21271 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
21272 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
21273
eda162dd
JM
21274 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
21275 [!_Mlong_double_] (_Mlong_double_): Likewise.
21276 [!_Mfloat16_] (_Mfloat16_): Likewise.
21277 [!_Mfloat32_] (_Mfloat32_): Likewise.
21278 [!_Mfloat64_] (_Mfloat64_): Likewise.
21279 [!_Mfloat128_] (_Mfloat128_): Likewise.
21280 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
21281 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
21282 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
21283 (_Mdouble_): Define without indirection through those macros.
21284 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
21285 [!_Mfloat128_] (_Mfloat128_): Likewise.
21286 [_Mlong_double_] (_Mlong_double_): Likewise.
21287 (_Mdouble_): Define without indirection through those macros.
21288 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
21289 not add -D_Mlong_double_=double.
21290 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
21291 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
21292
4ad5106e
L
212932017-10-30 H.J. Lu <hongjiu.lu@intel.com>
21294
21295 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
21296
fe326df7
L
212972017-10-30 H.J. Lu <hongjiu.lu@intel.com>
21298
21299 * sysdeps/x86/libc-start.c: Reformat.
21300
c5cc4514
L
213012017-10-30 H.J. Lu <hongjiu.lu@intel.com>
21302
21303 [BZ #22353]
21304 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
21305 (1): Renamed to ...
21306 (L(Src0)): This.
21307 (L(Src1)): New.
21308 (L(Src2)): Likewise.
21309 (L(1)): Renamed to ...
21310 (L(Src3)): This.
21311
ce12269f
JM
213122017-10-30 Joseph Myers <joseph@codesourcery.com>
21313
21314 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
21315 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
21316 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
21317 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
21318 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
21319 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
21320 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
21321 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
21322 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
21323 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
21324 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
21325 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
21326 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
21327 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
21328 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
21329 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
21330 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
21331 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
21332 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
21333 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
21334 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
21335 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
21336 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
21337 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
21338 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
21339 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
21340 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
21341 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
21342 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
21343 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
21344 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
21345 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
21346 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
21347 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
21348 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
21349 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
21350 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
21351 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
21352 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
21353 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
21354 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
21355 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
21356 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
21357 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
21358 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
21359 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
21360 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
21361 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
21362 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
21363 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
21364 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
21365 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
21366 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
21367 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
21368 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
21369 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
21370 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
21371 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
21372 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
21373 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
21374 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
21375 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
21376 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
21377 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
21378 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
21379 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
21380
4484b9e2
FW
213812017-10-30 Florian Weimer <fweimer@redhat.com>
21382
21383 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
21384 always defined.
21385 * io/tst-mkdirat.c (do_test): Likewise.
21386 * io/tst-mkfifoat.c (do_test): Likewise.
21387 * io/tst-mknodat.c (do_test): Likewise.
21388 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
21389 * locale/programs/locale.c (select_dirs): Likewise.
21390 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
21391 * posix/bug-glob2.c (my_readdir): Likewise.
21392 * posix/tst-dir.c (main): Likewise.
21393 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
21394 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
21395
68fe16dd
FW
213962017-10-30 Florian Weimer <fweimer@redhat.com>
21397
21398 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
21399 just __USE_GNU.
21400
dadf23f0
FW
214012017-10-30 Florian Weimer <fweimer@redhat.com>
21402
21403 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
21404 Convert to support/test-driver.c.
21405 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
21406 New macro parameters.
21407 (PRINTF): Remove macro. Use test_verbose conditionals instead.
21408 * posix/tst-gnuglob.c: New file.
21409 * posix/tst-gnuglob64.c: Likewise.
21410 * posix/Makefile (tests): Add tst-gnuglob64.
21411
363e4519 214122017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
fbcecc08
MF
21413
21414 [BZ #19485]
21415 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
21416 and use a better translation for March in “mon”.
21417 * localedata/locales/csb_PL: Use more ASCII to improve the
21418 readability of the source.
21419
b110af82
MF
214202017-10-30 Mike FABIAN <mfabian@redhat.com>
21421
21422 [BZ #13953]
21423 * localedata/locales/km_KH: Use ASCII as much
21424 as possible for better readability of the source and
21425 remove useless comments.
21426 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
21427 was commented out and apparently wrong anyway because it was
21428 using Lao characters. If Buddhist era should be used
21429 for km_KH, a native speaker should write the correct formaat
21430 for Khmer.
21431 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
21432 (According to CLDR, the first weekday for Cambodia is Sunday).
21433 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
21434 (These were using Lao characters which must be wrong. If we get
21435 the correct data from a native speaker, we could add it back, until
21436 then it is better not to have name_mr and name_mrs at all than
21437 having it wrong).
21438
f301e533
RL
214392017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
21440
21441 * locale/loadlocale.c: Correct size of
21442 _nl_value_type_LC_<category> arrays.
21443
7e9d7073
JM
214442017-10-27 Joseph Myers <joseph@codesourcery.com>
21445
21446 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
21447 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
21448 with appropriate macros defined and undefined.
21449 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
21450 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
21451 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
21452 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
21453 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
21454
63d3b468
L
214552017-10-27 H.J. Lu <hongjiu.lu@intel.com>
21456
21457 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
21458 "-O2 -march=i586".
21459
a4cc02c7
MF
214602017-10-27 Mike FABIAN <mfabian@redhat.com>
21461
21462 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
21463 with lowercase letters to make it agree with CLDR.
21464
1e5971ec
MF
214652017-10-27 Mike FABIAN <mfabian@redhat.com>
21466
21467 [BZ #15260]
21468 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
21469 first letters of yesstr and nostr in yesexpr and noexpr,
21470 not for the full words.
21471 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
21472 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
21473 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
21474 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
21475 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
21476 first letters of yesstr and nostr in yesexpr and noexpr,
21477 until now only English was matched in yesexpr and noexpr.
21478 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
21479 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
21480 fil but not for tl. As tl and fil are very similar, using fil
21481 is probably better than using English.
21482
363e4519 214832017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
bc5fc7de
MF
21484
21485 [BZ #21706]
21486 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
21487 in yesstr and nostr.
21488
5d220788
JM
214892017-10-26 Joseph Myers <joseph@codesourcery.com>
21490
ecc7da5b
JM
21491 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
21492 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
21493 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
21494 Likewise.
21495 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
21496 Likewise.
21497 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
21498 Likewise.
21499 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
21500 Likewise.
21501 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21502 (SNANF128X): Likewise.
21503
5d220788
JM
21504 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
21505 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
21506 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21507 (HUGE_VAL_F32): Likewise.
21508 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21509 (HUGE_VAL_F64): Likewise.
21510 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21511 (HUGE_VAL_F32X): Likewise.
21512 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21513 (HUGE_VAL_F64X): Likewise.
21514 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
21515 (HUGE_VAL_F128X): Likewise.
21516
363e4519 215172017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
67ad7163
TV
21518
21519 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
21520 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
21521 for the br_FR locale.
21522
363e4519 215232017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
408dff7e
TV
21524
21525 [BZ #21706]
21526 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
21527
337ff3c5
CD
215282017-10-25 Carlos O'Donell <carlos@redhat.com>
21529
02eec681
CD
21530 * locale/programs/record-status.h: Define globals, and function
21531 prototypes. Move function bodies...
21532 * locale/programs/record-status.c: ... to here. New file.
21533 * iconv/Makefile (iconv_prog-modules): Add record-status.
21534 * locale/Makefile (lib-modules): Likewise.
21535 * iconv/iconv_prog.c: Remove verbose.
21536 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
21537 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
21538 record a warning about ASCII compatibility.
21539 * locale/programs/ld-monetary.c (monetary_finish): If
21540 warn_int_curr_symbol is true then record a warning about the symbol
21541 not being in our ISO 4217 list.
21542 * locale/programs/locale.c: Include record-status.h. Remove verbose.
21543 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
21544 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
21545 (OPT_NO_WARN): Define.
21546 (OPT_WARN): Define.
21547 (options): Add entry for --no-warnings, and --warnings.
21548 (set_warnings): New function to enable/disable warnings.
21549 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
21550 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
21551 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
21552 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
21553 Pass flags to generate_locale.
21554 (generate_locale): Accept new flag argument and pass it to localedef
21555 invocation.
21556 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
21557 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
21558
56fa555a
CD
21559 * localedata/Makefile (test-input-data): Use full file name.
21560 * localedata/da_DK.in: Rename to...
21561 * localedata/da_DK.ISO-8859-1.in: ...this.
21562 * localedata/de_DE.in: Rename to...
21563 * localedata/de_DE.ISO-8859-1.in: ...this.
21564 * localedata/en_US.in: Rename to...
21565 * localedata/en_US.ISO-8859-1.in: ...this.
21566 * localedata/fr_FR.in: Rename to...
21567 * localedata/fr_FR.UTF-8.in: ... this.
21568 * localedata/hr_HR.in: Rename to...
21569 * localedata/hr_HR.ISO-8859-2.in: ...this.
21570 * localedata/hu_HU.in: Rename to...
21571 * localedata/hu_HU.UTF-8.in: ...this.
21572 * localedata/si_LK.in: Rename to...
21573 * localedata/si_LK.UTF-8.in: ...this.
21574 * localedata/sv_SE.in: Rename to...
21575 * localedata/sv_SE.ISO-8859-1.in: ...this.
21576 * localedata/tr_TR.in: Rename to...
21577 * localedata/tr_TR.UTF-8.in: ...this.
21578 * localedata/uk_UA.in: Rename to...
21579 * localedata/uk_UA.UTF-8.in: ...this.
21580 * localedata/sort-test.sh: Test file is locale name with the
21581 suffix.
21582
337ff3c5
CD
21583 * localedata/unicode-gen/Makefile (check_i18n): Rename to
21584 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
21585 file.
21586 * localedata/locales/i18n_ctype: Regenerate.
21587 * localedata/locales/tr_TR: Likewise.
21588 * localedata/locales/translit_circle: Likewise.
21589 * localedata/locales/translit_cjk_compat: Likewise.
21590 * localedata/locales/translit_combining: Likewise.
21591 * localedata/locales/translit_compat: Likewise.
21592 * localedata/locales/translit_font: Likewise.
21593 * localedata/locales/translit_fraction: Likewise.
21594
63da5cd4
RS
215952017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21596
21597 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
21598 lxvd2x/stxvd2x with lvx/stvx.
21599 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
21600
a122dbfb
L
216012017-10-25 H.J. Lu <hongjiu.lu@intel.com>
21602
21603 * include/alloc_buffer.h: Replace "if if " with "if " in
21604 comments.
21605 * sysdeps/mips/memcpy.S: Likkewise.
21606 * sysdeps/mips/memset.S: Likewise.
21607 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
21608 Likewise.
21609 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
21610 Likewise.
21611 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
21612 Likewise.
21613
9be7530c
MF
216142017-10-25 Mike FABIAN <mfabian@redhat.com>
21615
21616 [BZ #15261]
21617 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
21618 yesexpr and noexpr.
21619 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
21620 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
21621 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
21622 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
21623 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
21624 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
21625 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
21626
6ccbf6ff
MF
216272017-10-25 Mike FABIAN <mfabian@redhat.com>
21628
21629 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
21630 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
21631 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
21632 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
21633 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
21634 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
21635 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
21636 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
21637 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
21638 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
21639 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
21640 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
21641
58b1a7ea
MF
216422017-10-25 Mike FABIAN <mfabian@redhat.com>
21643
21644 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
21645 as possible for better readability of the source.
21646 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
21647 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
21648 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
21649 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
21650 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
21651 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
21652 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
21653 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
21654 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
21655 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
21656 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
21657 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
21658 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
21659 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
21660 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
21661 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
21662 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
21663 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
21664 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
21665 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
21666 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
21667 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
21668 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
21669 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
21670 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
21671 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
21672 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
21673 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
21674 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
21675 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
21676 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
21677 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
21678 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
21679 * localedata/locales/en_US (LC_MESSAGES): Likewise.
21680 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
21681 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
21682 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
21683 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
21684 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
21685 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
21686 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
21687 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
21688 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
21689 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
21690 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
21691 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
21692 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
21693 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
21694 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
21695 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
21696 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
21697 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
21698 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
21699 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
21700 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
21701 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
21702 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
21703 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
21704 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
21705 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
21706 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
21707 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
21708 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
21709 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
21710 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
21711 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
21712 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
21713 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
21714 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
21715 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
21716 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
21717 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
21718 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
21719 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
21720 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
21721 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
21722 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
21723 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
21724 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
21725 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
21726 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
21727 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
21728 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
21729 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
21730 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
21731 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
21732 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
21733 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
21734 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
21735 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
21736 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
21737 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
21738 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
21739 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
21740 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
21741 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
21742 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
21743 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
21744 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
21745 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
21746 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
21747 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
21748 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
21749 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
21750 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
21751 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
21752 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
21753 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
21754 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
21755 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
21756 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
21757 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
21758 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
21759 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
21760 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
21761 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
21762 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
21763 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
21764 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
21765 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
21766 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
21767 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
21768 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
21769 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
21770 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
21771 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
21772 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
21773 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
21774 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
21775 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
21776 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
21777 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
21778 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
21779 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
21780 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
21781 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
21782 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
21783 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
21784 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
21785 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
21786 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
21787 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
21788 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
21789 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
21790 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
21791 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
21792 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
21793 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
21794 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
21795 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
21796 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
21797 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
21798 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
21799 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
21800 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
21801 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
21802 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
21803 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
21804 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
21805 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
21806 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
21807 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
21808 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
21809 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
21810 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
21811 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
21812 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
21813 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
21814 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
21815 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
21816 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
21817 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
21818 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
21819 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
21820
17e78edb
MF
218212017-10-25 Mike FABIAN <mfabian@redhat.com>
21822
21823 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
21824 (Use first letters of yesstr and nostr correctly instead of using
21825 full words).
21826
74e7284f
MF
218272017-10-25 Mike FABIAN <mfabian@redhat.com>
21828
21829 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
21830 (Use first letters of yesstr and nostr correctly).
21831
b41a0ff1
MF
218322017-10-25 Mike FABIAN <mfabian@redhat.com>
21833
21834 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
21835 also check for the first characters of yesstr and nostr.
21836 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
21837 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
21838
d971f380
MF
218392017-10-25 Mike FABIAN <mfabian@redhat.com>
21840
21841 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
21842 also check for Chinese characters.
21843
effc9e1d
MF
218442017-10-25 Mike FABIAN <mfabian@redhat.com>
21845
21846 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
21847 match also for the contents of yesstr and nostr. As the first letter
21848 of yesstr and nostr is equal, checking only for the first letter
21849 is not enough.
21850
10320881
MF
218512017-10-25 Mike FABIAN <mfabian@redhat.com>
21852
21853 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
21854 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
21855
d8682a15
MF
218562017-10-25 Mike FABIAN <mfabian@redhat.com>
21857
21858 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
21859 of main contributor.
21860
1bfb86ae
MF
218612017-10-25 Mike FABIAN <mfabian@redhat.com>
21862
21863 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
21864 instead of using English.
21865
da33d60b
MF
218662017-10-25 Mike FABIAN <mfabian@redhat.com>
21867
21868 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
21869 by including the first letters of nostr and yesexpr in the regexp.
21870 Also make it more readable by using ASCII where possible.
21871
725bbb3e
MF
218722017-10-25 Mike FABIAN <mfabian@redhat.com>
21873
21874 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
21875 the first letter of nostr in the regexp. It agrees with CLDR now.
21876 Also make it more readable by using ASCII where possible.
21877
fe043d8a
MF
218782017-10-24 Mike FABIAN <mfabian@redhat.com>
21879
21880 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
21881 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
21882 these strings contain a U+17D6 (which somewhat looks like a colon)
21883 instead of a real colon to separate the full words for “yes”
21884 and “no” from the single letter responses.
21885
360a8df3
MF
218862017-10-24 Mike FABIAN <mfabian@redhat.com>
21887
21888 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
21889 it agree with CLDR (include the first letter of yesstr).
21890 Also make it more readable by using ASCII where possible.
21891
bab7b6b0
MF
218922017-10-24 Mike FABIAN <mfabian@redhat.com>
21893
21894 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
21895 and improve yesexpr and noexpr. The yesstr and nostr apparently
21896 came from CLDR. And CLDR has a bug there: these strings contain
21897 a U+0903 (which looks like a colon) instead of a real colon
21898 to separate the full words for “yes” and “no” from the single
21899 letter responses.
21900
3e79f758
MF
219012017-10-24 Mike FABIAN <mfabian@redhat.com>
21902
21903 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
21904 letters of the full yesstr and nostr in yesexpr and noexpr.
21905
4960c879
MF
219062017-10-24 Mike FABIAN <mfabian@redhat.com>
21907
21908 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
21909 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
21910 * localedata/locales/an_ES: Make source more readable by using ASCII
21911 where possible.
21912
b06a054f
MF
219132017-10-24 Mike FABIAN <mfabian@redhat.com>
21914
21915 [BZ #20952]
21916 * localedata/locales/yuw_PG: New file.
21917 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
21918 * locale/iso-639.def: Add Yau (Uruwa).
21919
905a7725
WD
219202017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
21921
21922 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
21923
3f6bb8a3
WD
219242017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
21925
21926 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
21927 (__libc_realloc): Likewise.
21928 (_mid_memalign): Likewise.
21929 (__libc_calloc): Likewise.
21930
1d479c8c
MF
219312017-10-23 Mike FABIAN <mfabian@redhat.com>
21932
21933 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
21934 by adding the generic +1 and -0 as in all other locales.
21935 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
21936 day names and make it more readable by using ASCII where possible.
21937
91c3985c
JM
219382017-10-24 Joseph Myers <joseph@codesourcery.com>
21939
21940 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
21941 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
21942
aa95a241
AZ
219432017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21944
21945 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
21946 WNOHANG in waitpid call.
21947
db9bab09
SP
219482017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
21949
a2e0a7f1
SP
21950 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
21951 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
21952
db9bab09
SP
21953 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
21954 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
21955 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
21956 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
21957 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
21958 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
21959 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
21960 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
21961 variables.
21962
5062680c
MC
219632017-10-23 Michael Collison <michael.collison@arm.com>
21964
21965 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
21966 with __builtin_sqrt.
21967 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
21968 with __builtin_sqrtf.
21969 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
21970 with __builtin_ceil.
21971 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
21972 with __builtin_ceilf.
21973 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
21974 with __builtin_floor.
21975 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
21976 with __builtin_floorf.
21977 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
21978 with __builtin_fma.
21979 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
21980 with __builtin_fmaf.
21981 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
21982 with __builtin_fmax.
21983 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
21984 with __builtin_fmaxf.
21985 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
21986 with __builtin_fmin.
21987 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
21988 with __builtin_fminf.
21989 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
21990 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
21991 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
21992 with builtin_rint and conversion to int.
21993 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
21994 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
21995 with builtin_llround.
21996 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
21997 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
21998 with builtin_rint and conversion to long int.
21999 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
22000 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
22001 with builtin_lround.
22002 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
22003 with builtin_lroundf.
22004 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
22005 statements with __builtin_nearbyint.
22006 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
22007 statements with __builtin_nearbyintf.
22008 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
22009 with __builtin_rint.
22010 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
22011 with __builtin_rintf.
22012 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
22013 with __builtin_round.
22014 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
22015 with __builtin_roundf.
22016 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
22017 with __builtin_trunc.
22018 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
22019 with __builtin_truncf.
be080b6c
SN
22020 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
22021 and s_l[l]round[f].c too.
5062680c 22022
174935af
AM
220232017-10-23 Alan Modra <amodra@gmail.com>
22024
22025 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
22026 Adjust stack after restoring regs. Add missing LR cfi_restore.
22027
750a0e49
AM
220282017-10-23 Alan Modra <amodra@gmail.com>
22029
22030 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
22031 Move LR save and frame setup/teardown and LR restore to
22032 immediately around memset call. Provide cfi.
22033
5313581c
L
220342017-10-22 H.J. Lu <hongjiu.lu@intel.com>
22035
22036 * sysdeps/i386/fpu/e_powf.S: Removed.
22037 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
22038 * sysdeps/i386/fpu/w_powf.c: Likewise.
22039 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
22040 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22041 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
22042 Add e_powf-sse2.
22043 (CFLAGS-e_powf-sse2.c): New.
22044 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
22045 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
22046
6089a3ee
L
220472017-10-22 H.J. Lu <hongjiu.lu@intel.com>
22048
22049 * sysdeps/i386/fpu/e_log2f.S: Removed.
22050 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
22051 * sysdeps/i386/fpu/w_log2f.c: Likewise.
22052 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
22053 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22054 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
22055 Add e_log2f-sse2.
22056 (CFLAGS-e_log2f-sse2.c): New.
22057 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
22058 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
22059
80bb5935
L
220602017-10-22 H.J. Lu <hongjiu.lu@intel.com>
22061
22062 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22063 Add e_powf-fma.
22064 (CFLAGS-e_powf-fma.c): New.
22065 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
22066 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
22067
5c7adbd8
L
220682017-10-22 H.J. Lu <hongjiu.lu@intel.com>
22069
22070 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22071 Add e_log2f-fma.
22072 (CFLAGS-e_log2f-fma.c): New.
22073 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
22074 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
22075
0ccc7153
L
220762017-10-22 H.J. Lu <hongjiu.lu@intel.com>
22077
22078 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22079 Add e_logf-fma.
22080 (CFLAGS-e_logf-fma.c): New.
22081 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
22082 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
22083
fe596486
L
220842017-10-22 H.J. Lu <hongjiu.lu@intel.com>
22085
22086 * sysdeps/i386/fpu/e_logf.S: Removed.
22087 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
22088 * sysdeps/i386/fpu/w_logf.c: Likewise.
22089 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
22090 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
22091 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22092 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
22093 Add e_logf-sse2.
22094 (CFLAGS-e_logf-sse2.c): New.
22095 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
22096 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
22097
7eda65f6
L
220982017-10-22 H.J. Lu <hongjiu.lu@intel.com>
22099
22100 * sysdeps/i386/fpu/e_exp2f.S: Removed.
22101 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
22102 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
22103 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22104 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
22105 Add e_exp2f-sse2.
22106 (CFLAGS-e_exp2f-sse2.c): New.
22107 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
22108 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
22109
5d15c969
L
221102017-10-22 H.J. Lu <hongjiu.lu@intel.com>
22111
22112 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22113 Add e_exp2f-fma.
22114 (CFLAGS-e_exp2f-fma.c): New.
22115 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
22116 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
22117
b2f6137e
L
221182017-10-22 H.J. Lu <hongjiu.lu@intel.com>
22119
22120 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
22121 * sysdeps/i386/fpu/e_expf.S: Likewise.
22122 * sysdeps/i386/fpu/math_errf.c: Likewise.
22123 * sysdeps/i386/fpu/w_expf.c: Likewise.
22124 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
22125 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
22126 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
22127 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
22128 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22129 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
22130 Remove e_expf-ia32.
22131 (CFLAGS-e_expf-sse2.c): New.
22132 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
22133 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
22134
e1f59beb
L
221352017-10-22 H.J. Lu <hongjiu.lu@intel.com>
22136
22137 * sysdeps/x86_64/fpu/e_expf.S: Removed.
22138 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
22139 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
22140 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
22141 e_expf.c.
22142 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
22143 New.
22144 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
22145 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
22146 Renamed to ...
22147 (__redirect_expf): This.
22148 (SYMBOL_NAME): Changed to expf.
22149 (__ieee754_expf): Renamed to ...
22150 (__expf): This.
22151 (__GI___expf): This.
22152 (__ieee754_expf): Add strong_alias.
22153 (__expf_finite): Likewise.
22154 (__expf): New.
22155 Include <sysdeps/ieee754/flt-32/e_expf.c>.
22156
363e4519 221572017-10-22 Paul Eggert <eggert@cs.ucla.edu>
a159b53f
PE
22158
22159 [BZ #22332]
22160 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
22161 unescaping.
22162
e80fc1fc
FW
221632017-10-21 Florian Weimer <fweimer@redhat.com>
22164
22165 * posix/Makefile (tests): Add tst-glob-tilde.
22166 (tests-special): Add tst-glob-tilde-mem.out
22167 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
22168 (tst-glob-tilde-mem.out): Add mtrace check.
22169 * posix/tst-glob-tilde.c: New file.
22170
797ba44b
JM
221712017-10-20 Joseph Myers <joseph@codesourcery.com>
22172
22173 * bits/floatn-common.h: New file.
22174 * math/Makefile (headers): Add bits/floatn-common.h.
22175 * bits/floatn.h: Include <bits/floatn-common.h>.
22176 * sysdeps/ia64/bits/floatn.h: Likewise.
22177 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
22178 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
22179 * sysdeps/powerpc/bits/floatn.h: Likewise.
22180 * sysdeps/x86/bits/floatn.h: Likewise.
22181
fe05e1cb
AZ
221822017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22183
8f6f5362
AZ
22184 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
22185 indicates whether compiler emits an warning for alias for
22186 functions with incompatible types.
22187
fe05e1cb
AZ
22188 [BZ #22273]
22189 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
22190 the auxiliary process is terminated by a signal before calling _exit
22191 or execve.
22192
b52b0d79
L
221932017-10-20 H.J. Lu <hongjiu.lu@intel.com>
22194
22195 [BZ #21265]
22196 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
22197 New.
22198 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
22199 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
22200 and bit_arch_XSAVEC_Usable if needed.
22201 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
22202 and bit_arch_Use_dl_runtime_resolve_opt.
22203 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
22204 Removed.
22205 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
22206 (bit_arch_Prefer_No_AVX512): Updated.
22207 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
22208 (bit_arch_XSAVEC_Usable): New.
22209 (STATE_SAVE_OFFSET): Likewise.
22210 (STATE_SAVE_MASK): Likewise.
22211 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
22212 (cpu_features): Add xsave_state_size and xsave_state_full_size.
22213 (index_arch_Use_dl_runtime_resolve_opt): Removed.
22214 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
22215 (index_arch_XSAVEC_Usable): New.
22216 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
22217 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
22218 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
22219 is enabled.
22220 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
22221 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
22222 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
22223 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
22224 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
22225 _dl_runtime_resolve_xsavec.
22226 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
22227 Removed.
22228 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
22229 instead of VEC_SIZE.
22230 (REGISTER_SAVE_BND0): Removed.
22231 (REGISTER_SAVE_BND1): Likewise.
22232 (REGISTER_SAVE_BND3): Likewise.
22233 (REGISTER_SAVE_RAX): Always defined to 0.
22234 (VMOV): Removed.
22235 (_dl_runtime_resolve_avx): Likewise.
22236 (_dl_runtime_resolve_avx_slow): Likewise.
22237 (_dl_runtime_resolve_avx_opt): Likewise.
22238 (_dl_runtime_resolve_avx512): Likewise.
22239 (_dl_runtime_resolve_avx512_opt): Likewise.
22240 (_dl_runtime_resolve_sse): Likewise.
22241 (_dl_runtime_resolve_sse_vex): Likewise.
22242 (USE_FXSAVE): New.
22243 (_dl_runtime_resolve_fxsave): Likewise.
22244 (USE_XSAVE): Likewise.
22245 (_dl_runtime_resolve_xsave): Likewise.
22246 (USE_XSAVEC): Likewise.
22247 (_dl_runtime_resolve_xsavec): Likewise.
22248 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
22249 Removed.
22250 (_dl_runtime_resolve_avx512_opt): Likewise.
22251 (_dl_runtime_resolve_avx): Likewise.
22252 (_dl_runtime_resolve_avx_opt): Likewise.
22253 (_dl_runtime_resolve_sse): Likewise.
22254 (_dl_runtime_resolve_sse_vex): Likewise.
22255 (_dl_runtime_resolve_fxsave): New.
22256 (_dl_runtime_resolve_xsave): Likewise.
22257 (_dl_runtime_resolve_xsavec): Likewise.
22258
363e4519 222592017-10-20 Paul Eggert <eggert@cs.ucla.edu>
c369d66e
PE
22260
22261 [BZ #22320]
22262 CVE-2017-15670
22263 * posix/glob.c (__glob): Fix one-byte overflow.
22264
6d43de4b
WD
222652017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
22266
22267 * malloc/malloc.c (sysdep-cancel.h): Add include.
22268
a15d53e2
WD
222692017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
22270
22271 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
22272
b9a558e7
WH
222732017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
22274
22275 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
22276 (tests): Remove $(objpfx)ga_test depdendency.
22277 * resolv/ga_test.c: Remove file.
22278
b6b08b8e
MF
222792017-10-20 Mike FABIAN <mfabian@redhat.com>
22280
22281 [BZ #18812]
22282 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
22283 * localedata/locales/kab_DZ: New file.
22284
9ba7e810
L
222852017-10-20 H.J. Lu <hongjiu.lu@intel.com>
22286
22287 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
22288 _dl_relocate_static_pie instead of _dl_start to compute load
22289 address in static PIE.
22290
4027a4fd
L
222912017-10-20 H.J. Lu <hongjiu.lu@intel.com>
22292
22293 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
22294
2f9314b4
MF
222952017-10-20 Mike FABIAN <mfabian@redhat.com>
22296
22297 [BZ #13605]
22298 * localedata/SUPPORTED: Add shn_MM/UTF-8.
22299 * localedata/locales/shn_MM: New file.
22300
63b4baa4
FW
223012017-10-20 Florian Weimer <fweimer@redhat.com>
22302
22303 [BZ #22321]
22304 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
22305 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
22306 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
22307 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
22308 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
22309 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
22310
95ccb619
L
223112017-10-19 H.J. Lu <hongjiu.lu@intel.com>
22312
22313 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
22314
37bb78cb
JM
223152017-10-19 Joseph Myers <joseph@codesourcery.com>
22316
76f2ed92
JM
22317 * sysdeps/mips/ieee754/bits/floatn.h: New file.
22318
37bb78cb
JM
22319 [BZ #22322]
22320 * sysdeps/mips/bits/long-double.h: Move to ....
22321 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
22322
d74e6f6c
WD
223232017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
22324
22325 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
22326
363e4519 223272017-10-19 Valery Reznic <valery_reznic@yahoo.com>
4d916f0f
L
22328 H.J. Lu <hongjiu.lu@intel.com>
22329
22330 [BZ #22299]
22331 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
22332 GLRO(dl_platform) to NULL.
22333 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
22334 (modules-names): Add tst-platformmod-1 and
22335 x86_64/tst-platformmod-2.
22336 (CFLAGS-tst-platform-1.c): New.
22337 (CFLAGS-tst-platformmod-1.c): Likewise.
22338 (CFLAGS-tst-platformmod-2.c): Likewise.
22339 (LDFLAGS-tst-platformmod-2.so): Likewise.
22340 ($(objpfx)tst-platform-1): Likewise.
22341 ($(objpfx)tst-platform-1.out): Likewise.
22342 (tst-platform-1-ENV): Likewise.
22343 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
22344 * sysdeps/x86_64/tst-platform-1.c: New file.
22345 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
22346 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
22347
4b0fa403
MF
223482017-10-19 Mike FABIAN <mfabian@redhat.com>
22349
22350 [BZ #13994]
22351 * locale/iso-639.def: Add Karbi.
22352 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
22353 * localedata/locales/mjw_IN: New file.
22354
81325b12
JM
223552017-10-18 Joseph Myers <joseph@codesourcery.com>
22356
22357 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
22358 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
22359 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
22360 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
22361 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
22362 (libm_alias_ldouble_other_r): Also create _Float128 alias.
22363 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
22364 <bits/floatn.h>.
22365 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
22366 (libm_alias_ldouble_other_r): Also create _Float128 alias.
22367 * manual/math.texi (Mathematics): Document additional architecture
22368 support for _Float128.
22369 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
22370 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
22371 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
22372 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
22373 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
22374 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
22375 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
22376 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
22377 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
22378 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
22379 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
22380 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
22381 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
22382 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
22383 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
22384
a68ba2f3
SN
223852017-10-18 Renlin Li <renlin.li@arm.com>
22386
22387 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
22388 _DYNAMIC symbol to calculate load address.
22389
346729f6
PC
223902017-10-18 Paul A. Clarke <pc@us.ibm.com>
22391
22392 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
22393 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
22394 summary bits.
22395 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
22396 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
22397
508b1e71
MF
223982017-10-18 Mike FABIAN <mfabian@redhat.com>
22399
22400 [BZ #16777]
22401 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
22402 and improve readability by using more ASCII.
22403 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
22404 and improve readability by using more ASCII.
22405
2c2245b9
WD
224062017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
22407
22408 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
22409 not all targets support atomics on bool.
22410
13c92696
JM
224112017-10-17 Joseph Myers <joseph@codesourcery.com>
22412
22413 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
22414 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
22415 __f128.
22416 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
22417 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
22418 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
22419 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
22420 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
22421 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
22422
71d85045
AZ
224232017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22424
22425 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
22426 defines.
22427
3381be5c
WD
224282017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
22429
22430 [BZ #22159]
22431 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
22432 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
22433 (do_check_remalloced_chunk): Fix build bug.
22434 (do_check_malloc_state): Add assert that checks arena->top.
22435 (malloc_consolidate): Remove initialization.
22436 (int_mallinfo): Remove call to malloc_consolidate.
22437 (__libc_mallopt): Clarify why malloc_consolidate is needed.
22438
e956075a
WD
224392017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
22440
22441 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
22442 (have_fastchunks): Remove.
22443 (clear_fastchunks): Remove.
22444 (set_fastchunks): Remove.
22445 (malloc_state): Add have_fastchunks.
22446 (malloc_init_state): Use have_fastchunks.
22447 (do_check_malloc_state): Remove incorrect invariant checks.
22448 (_int_malloc): Use have_fastchunks.
22449 (_int_free): Likewise.
22450 (malloc_consolidate): Likewise.
22451
e4dd4ace
WD
224522017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
22453
22454 * malloc/malloc.c (tcache_put): Inline.
22455 (tcache_get): Inline.
22456
5bf58bc7
AJ
224572017-10-17 Jordi Mallach <jordi@gnu.org>
22458
22459 Aurelien Jarno <aurelien@aurel32.net>
22460 [BZ #2522]
22461 * localedata/locales/ca_ES@valencia: New file.
22462 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
22463
386e1c26
RN
224642017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
22465
22466 [BZ #22296]
22467 * math/math.h: Let signbit use the builtin in C++ mode with gcc
22468 < 6.x
22469
4e17c78e
AZ
224702017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22471
3d265601
AZ
22472 * scripts/build-many-glibcs.py (Context.add_all_configs):
22473 Add arm-linux-gnueabihf multiarch extra_glibcs.
22474
4e17c78e
AZ
22475 * sysdeps/generic/ifunc-init.h: New file.
22476 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
22477
56a752ab
MF
224782017-10-17 Mike FABIAN <mfabian@redhat.com>
22479
22480 [BZ #22019]
22481 * localedata/locales/el_GR: Set n_cs_precedes to 0.
22482 * localedata/locales/el_CY: copy "el_GR" because it is identical.
22483 * stdlib/tst-strfmon_l.c: adapt test case.
22484
c38a4bfd
JM
224852017-10-16 Joseph Myers <joseph@codesourcery.com>
22486
22487 * sysdeps/generic/float128-abi.h: New file.
22488 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
22489 non-__prefixed symbols to ....
22490 * math/Versions: ... here. Include <float128-abi.h>.
22491 * stdlib/Versions ... and here. Include <float128-abi.h>
22492
76009b26
FW
224932017-10-16 Florian Weimer <fweimer@redhat.com>
22494
22495 * version.h (VERSION): Switch to ".9000" as the development
22496 version suffix.
22497
7ece6cd5
FW
224982017-10-16 Florian Weimer <fweimer@redhat.com>
22499
22500 [BZ #22050]
22501 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
22502 compat_symbol_reference to access non-default version.
22503
d8287b36
FW
225042017-10-16 Florian Weimer <fweimer@redhat.com>
22505
22506 * malloc/Makefile (others-extras): Set to mcheck-init.o.
22507
3480ddc4
CD
225082017-10-16 Carlos O'Donell <carlos@redhat.com>
22509
22510 * include/shlib-compat.h (compat_symbol_reference): Update
22511 comment.
22512
02010e79
JM
225132017-10-16 Joseph Myers <joseph@codesourcery.com>
22514
596f7013
JM
22515 * math/Makefile (test-types): Add
22516 $(type-float128-$(float128-alias-fcts)).
22517 * math/test-float128.h (TYPE_STR): Define conditional on
22518 [FLT128_MANT_DIG == LDBL_MANT_DIG].
22519 (ULP_IDX): Likewise.
22520 (ULP_I_IDX): Likewise.
22521
02010e79
JM
22522 * stdlib/strtold.c: Include <bits/floatn.h>
22523 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
22524 and later undefine as macro. Define as weak alias if
22525 [!USE_WIDE_CHAR].
22526 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
22527 and later undefine as macro. Define as weak alias if
22528 [USE_WIDE_CHAR].
22529 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
22530 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
22531 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
22532 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
22533 Define and later undefine as macro. Define as weak alias if
22534 [USE_WIDE_CHAR].
22535 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
22536 <bits/floatn.h>.
22537 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
22538 Define and later undefine as macro. Define as weak alias if
22539 [!USE_WIDE_CHAR].
22540 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
22541 Define and later undefine as macro. Define as weak alias if
22542 [USE_WIDE_CHAR].
22543
ea91c315
CD
225442017-10-15 Carlos O'Donell <carlos@redhat.com>
22545
22546 * localedata/collate-test.c (allocate_arrays): Don't use \n in
22547 record_verbose messages.
22548
8e57c943
L
225492017-10-15 H.J. Lu <hongjiu.lu@intel.com>
22550
22551 [BZ #22052]
22552 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
22553 to silence -O3 -Wall warning with GCC 7.
22554
a4777c46
L
225552017-10-14 H.J. Lu <hongjiu.lu@intel.com>
22556
22557 * Makeconfig (+link-static-before-libc): Use the first of
22558 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
22559 * gmon/Makefile (tests): Add tst-gmon-static.
22560 (tests-static): Likewise.
22561 (CFLAGS-tst-gmon-static.c): New.
22562 (CRT-tst-gmon-static): Likewise.
22563 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
22564 (tst-gmon-static-ENV): Likewise.
22565 (tests-special): Likewise.
22566 ($(objpfx)tst-gmon-static.out): Likewise.
22567 (clean-tst-gmon-static-data): Likewise.
22568 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
22569 * gmon/tst-gmon-static-gprof.sh: New file.
22570 * gmon/tst-gmon-static.c: Likewise.
22571
bc3821bb
CD
225722017-10-13 Carlos O'Donell <carlos@redhat.com>
22573
22574 [BZ #22295]
22575 * locale/programs/linereader.c (get_string): Don't warn on
22576 non-symbolic character.
22577
a3e23a2c
CD
22578 [BZ #22294]
22579 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
22580 int_curr_symbol.
22581
f16491eb
CD
22582 [BZ #22292]
22583 * locale/programs/record-status.h: New file
22584 * locale/programs/locale.c: Add comment.
22585 * locale/programs/charmap-dir.c: Don't include error.h.
22586 (charmap_opendir): Use record_error.
22587 * locale/programs/charmap.c: Don't include error.h.
22588 (charmap_read): Use record_error, and record_warning.
22589 (parse_charmap): Likewise.
22590 * locale/programs/ld-address.c: Don't include error.h.
22591 (address_finish): Use record_error, and record_warning.
22592 * locale/programs/ld-collate.c: Don't include error.h.
22593 (collate_finish): Use record_error, and record_error_at_line.
22594 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
22595 (ctype_class_new): Likewise.
22596 (ctype_map_new): Likewise.
22597 (set_one_default): Likewise.
22598 (set_class_defaults): Likewise.
22599 (translit_flatten): Likewise.
22600 (allocate_arrays): Use record_error, and record_verbose.
22601 * locale/programs/ld-identification.c: Don't include error.h.
22602 (indentation_finish): Use record_error and record_warning.
22603 * locale/programs/ld-measurement.c: Don't include error.h.
22604 (measurement_finish): Use record_error.
22605 * locale/programs/ld-messages.c
22606 (message_finish): Likewise.
22607 * locale/programs/ld-monetary.c
22608 (monetary_finish): Likewise.
22609 * locale/programs/ld-name.c (name_finish): Use record_error
22610 and record_warning.
22611 * locale/programs/ld-numeric.c
22612 (numeric_finish): Use record_error.
22613 * locale/programs/ld-paper.c: Don't include error.h.
22614 (paper_finish): Use record_error.
22615 * locale/programs/ld-telephone.c: Don't include error.h.
22616 (telephone_finish): Use record_error.
22617 * locale/programs/ld-time.c (time_finish): Likewise.
22618 * locale/programs/linereader.h (lr_error): Make inline func.
22619 * locale/programs/localedef.c: Define recorded_warning_count,
22620 and recorded_error_count.
22621 (main): Use record_error. Use recorded_error_count and
22622 recorded_warning_count to issue correct error returns.
22623 (add_to_readlist): Use record_error.
22624 (find_locale): Likewise.
22625 (load_locale): Likewise.
22626 * locale/programs/localedef.h: Remove be_quiet
22627 and WITH_CUR_LOCALE.
22628 * locale/programs/locarchive.c (compare_from_file): Use
22629 record_error.
22630 * locale/programs/locfile.c (write_locale_data): Use
22631 record_error.
22632 * locale/programs/repertoire.c: Dont include error.h.
22633 (repertoire_complain): Use record_error.
22634 * localedata/tst-fmon.sh: Expect failures from localedef.
22635 * localedata/tst-locale.sh: Likewise.
22636 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
22637
8dc8be75
CD
22638 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
22639 (REPORTS): Likewise.
22640 (check): Likewise.
22641 (i18n): Rename to...
22642 (i18n_ctype): ...this.
22643 (i18n-report): Rename to...
22644 (i18n_ctype-report): ...this.
22645 * localedata/locales/i18n_ctype: Regenerate.
22646 * localedata/locales/i18n: copy i18n_ctype.
22647
f8718a9e
JM
226482017-10-13 Joseph Myers <joseph@codesourcery.com>
22649
18c08b96
JM
22650 * stdlib/strfroml.c: Include <bits/floatn.h>.
22651 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
22652 Define before include of <stdlib.h> and undefine afterwards, then
22653 define as weak alias.
22654
f8718a9e
JM
22655 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
22656 Undefine and restore default definition. Use
22657 libm_alias_ldouble_other.
22658
e4f530da
PZ
226592017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
22660
22661 [BZ #22153]
22662 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
22663 in coredumps.
22664
86445888
JC
226652017-10-13 James Clarke <jrtc27@jrtc27.com>
22666
22667 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
22668 Assign sym_map to be map for local symbols, as TLS relocations
22669 use sym_map to determine whether the symbol is defined and to
22670 extract the TLS information.
22671 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
22672 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
22673
179dcdb7
TMQMF
226742017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22675
e8dbd6a3
TMQMF
22676 [BZ #22189]
22677 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
22678 (math_force_eval): Add powerpc version.
22679
179dcdb7
TMQMF
22680 [BZ #22142]
22681 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
22682 -DBL_MAX.
22683 (do_test): Likewise.
22684 * stdio-common/tst-printf.sh: Likewise.
22685 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
22686 ifdef clause in order to set the carry bit right. Replace r0 by
22687 0 without changing the behavior.
22688
7d25d410
JM
226892017-10-13 Joseph Myers <joseph@codesourcery.com>
22690
006e7664
JM
22691 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
22692 <libm-alias-ldouble.h>.
22693 (fabsl): Define using libm_alias_ldouble.
22694 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
22695 <libm-alias-ldouble.h>.
22696 (fabsl): Define using libm_alias_ldouble.
22697
1def91b3
JM
22698 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
22699 Remove conditional code.
22700
7d25d410
JM
22701 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
22702 Rename to __clog10_internal_l.
22703 (__clog10_internal_l): Define aliases using
22704 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
22705 with __clog10.
22706
077ee129
RS
227072017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22708
22709 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
22710 * benchtests/sincosf-inputs: New file.
22711 * benchtests/cosf-inputs: New file.
22712 * benchtests/sinf-inputs: New file.
22713
5ba41de9
SN
227142017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
22715
22716 * posix/tst-spawn.c (do_test): Wait for both children.
22717
d165ca64
L
227182017-10-12 H.J. Lu <hongjiu.lu@intel.com>
22719
22720 [BZ #22284]
22721 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
22722 tests-pie): Add tst-gmon-pie.
22723 (CFLAGS-tst-gmon-pie.c): New.
22724 (CRT-tst-gmon-pie): Likewise.
22725 (tst-gmon-pie-ENV): Likewise.
22726 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
22727 ($(objpfx)tst-gmon-pie.out): Likewise.
22728 (clean-tst-gmon-pie-data): Likewise.
22729 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
22730 * gmon/gmon.c [PIC]: Include <link.h>.
22731 [PIC] (callback): New function.
22732 (write_hist): Add an argument for load address. Subtract load
22733 address from PCs.
22734 (write_call_graph): Likewise.
22735 (write_gmon): Call __dl_iterate_phdr to get load address, pass
22736 it to write_hist and write_call_graph.
7bacdcfc 22737 * gmon/tst-gmon-pie.c: New file.
d165ca64 22738
bc9620d0
JM
227392017-10-11 Joseph Myers <joseph@codesourcery.com>
22740
22741 * math/Makefile (test-types-basic): New variable.
22742 (test-types): Likewise.
22743 (libm-test-support): Use $(test-types) instead of $(types).
22744 (libm-tests-base-normal): Likewise.
22745 (libm-tests-base-finite): Likewise.
22746 (libm-tests-base-inline): Likewise.
22747 (generated): Likewise.
22748 ($(objpfx)libm-test-support-$(t).c): Likewise.
22749 (libm-tests-for-type iterator): Likewise.
22750 (libm-test-support iterator): Likewise.
22751 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
22752 (ulp_idx): Use ULP_IDX.
22753 * math/test-ldouble.h: Include <float.h>.
22754 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
22755 (ULP_IDX): New macro.
22756 (ULP_I_IDX): Likewise.
22757 * math/test-double.h (ULP_IDX): Likewise.
22758 (ULP_I_IDX): Likewise.
22759 * math/test-float.h (ULP_IDX): Likewise.
22760 (ULP_I_IDX): Likewise.
22761 * math/test-float128.h (ULP_IDX): Likewise.
22762 (ULP_I_IDX): Likewise.
22763
09c76a74
AZ
227642017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22765
22766 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
22767 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
22768 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
22769 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
22770 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
22771 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
22772 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
22773 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
22774 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
22775 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
22776 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
22777 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
22778 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
22779 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
22780 (SINGLE_THREAD_BY_GLOBAL): Define.
22781 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
22782 Likewise.
22783 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
22784 Likewise.
22785 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
22786 Likewise.
22787 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
22788 Likewise.
22789 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
22790 (SINGLE_THREAD_BY_GLOBAL): Likewise.
22791 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
22792 Likewise.
22793
2faa42da
AS
227942017-10-11 Andreas Schwab <schwab@suse.de>
22795
22796 * nis/Makefile (aux): Remove.
22797 * nscd/Makefile (aux): Add nscd_hash.
22798 (nscd-modules): Likewise.
22799 ($(objpfx)nscd): Don't depend on libnsl.
22800 * nscd/nscd_hash.c: New file.
22801 * nscd/nscd_hash.h: Likewise.
22802 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
22803 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
22804 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
22805 instead of <nis/rpcsvc/nis.h>.
22806 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
22807
d8425e11
FW
228082017-10-11 Florian Weimer <fweimer@redhat.com>
22809
22810 [BZ #22078]
22811 Avoid large NSS buffers with many addresses, aliases.
22812 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
22813 using dynarrays and struct alloc_buffer.
22814 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
22815 (tst-nss-files-hosts-multi): Link with -ldl.
22816 * nss/tst-nss-files-hosts-multi.c: New file.
22817
78e806fd
FW
228182017-10-11 Florian Weimer <fweimer@redhat.com>
22819
22820 [BZ #18023]
22821 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
22822 scratch_buffer. Eliminate gotos.
22823
541f19ba
JM
228242017-10-11 Joseph Myers <joseph@codesourcery.com>
22825
0ff64d3a
JM
22826 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
22827 libm_alias_ldouble_other.
22828 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
22829 undefine and redefine.
22830 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
22831 (exp10l): Do not define here.
22832 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
22833 (weak_alias): Undefine and redefine.
22834 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
22835 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
22836 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
22837 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
22838
541f19ba
JM
22839 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
22840 [!__fma] (fma): Define using libm_alias_double.
22841 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
22842 [!__fmaf] (fmaf): Define using libm_alias_float.
22843 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
22844 (fmal): Define using libm_alias_ldouble.
22845
24b6515d
JM
228462017-10-10 Joseph Myers <joseph@codesourcery.com>
22847
22848 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
22849 New macro.
22850 (libm_alias_double_other): Likewise.
22851 (libm_alias_double_r): Use libm_alias_double_other_r.
22852 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
22853 New macro.
22854 (libm_alias_float_other): Likewise.
22855 (libm_alias_float_r): Use libm_alias_float_other_r.
22856 * sysdeps/generic/libm-alias-float128.h
22857 (libm_alias_float128_other_r): New macro.
22858 (libm_alias_float128_other): Likewise.
22859 (libm_alias_float128_r): Use libm_alias_float128_other_r.
22860 * sysdeps/generic/libm-alias-ldouble.h
22861 (libm_alias_ldouble_other_r): New macro.
22862 (libm_alias_ldouble_other): Likewise.
22863 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
22864 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
22865 (libm_alias_double_other_r): New macro.
22866 (libm_alias_double_other): Likewise.
22867 (libm_alias_double_r): Use libm_alias_double_other_r.
22868 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
22869 (libm_alias_ldouble_other_r): New macro.
22870 (libm_alias_ldouble_other): Likewise.
22871 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
22872 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
22873 [!USE_AS_COMPAT]: Use libm_alias_double_other.
22874 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
22875 [!USE_AS_COMPAT]: Use libm_alias_float_other.
22876 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
22877 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
22878 * math/w_exp2f.c: Use libm_alias_float_other.
22879 * math/w_expf.c: Likewise.
22880 * math/w_log2f.c: Likewise.
22881 * math/w_logf.c: Likewise.
22882 * math/w_powf.c: Likewise.
22883 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
22884 [!__exp2f]: Use libm_alias_float_other.
22885 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
22886 [!__expf]: Use libm_alias_float_other.
22887 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
22888 [!__log2f]: Use libm_alias_float_other.
22889 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
22890 [!__logf]: Use libm_alias_float_other.
22891 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
22892 [!__powf]: Use libm_alias_float_other.
22893
8ed70de2
FW
228942017-10-10 Florian Weimer <fweimer@redhat.com>
22895
22896 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
22897 function.
22898 (_nss_files_gethostbyname3_r): Call it.
22899
a8dce619
JM
229002017-10-09 Joseph Myers <joseph@codesourcery.com>
22901
22902 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
22903 error. Remove default definition of declare_mgen_alias.
22904 [!declare_mgen_alias_r]: Likewise.
22905 * sysdeps/generic/math-type-macros-double.h
22906 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
22907 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
22908 (declare_mgen_alias_r): Likewise.
22909 * sysdeps/generic/math-type-macros-float128.h
22910 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
22911 * sysdeps/generic/math-type-macros-ldouble.h
22912 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
22913 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
22914 macro.
22915 (declare_mgen_alias_r_s): Likewise.
22916 (declare_mgen_alias_r): Likewise.
22917 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
22918 (lgamma_r): Define using libm_alias_double_r.
22919 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
22920 (lgammaf_r): Define using libm_alias_float_r.
22921 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
22922 (lgammal_r): Define using libm_alias_ldouble_r.
22923 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
22924 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
22925
bedac136
AZ
229262017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22927
22928 * lib/glob.c (__glob_pattern_type): Remove now-spurious
22929 extern declaration.
22930
c7509db2
JM
229312017-10-09 Joseph Myers <joseph@codesourcery.com>
22932
22933 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
22934
d6c064e9
JW
229352017-10-09 Jonathan Wakely <jwakely@redhat.com>
22936
22937 [BZ #21326]
22938 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
22939 [__cplusplus >= 201103] (__USE_ISOC99): Define.
22940 * math/Makefile (test-math-cxx11): New test.
22941 * math/test-math-cxx11.cc: New file.
22942
98e07420
CB
229432017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
22944
22945 * login/openpty.c (openpty): Close slave pty file descriptor on error.
22946
645ac9aa
CB
22947 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
22948 call to allocate the slave pty file descriptor.
22949
fd3b4e7c
JM
229502017-10-06 Joseph Myers <joseph@codesourcery.com>
22951
f85a176f
JM
22952 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
22953 [!__fma] (fma): Define using libm_alias_double.
22954 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
22955 [!__fma] (fma): Define using libm_alias_double.
22956
fd3b4e7c
JM
22957 * sysdeps/ieee754/float128/float128_private.h: Include
22958 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
22959 (libm_alias_ldouble_r): Undefine and redefine.
22960 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
22961 <libm-alias-ldouble.h>.
22962 (asinhl): Define using libm_alias_ldouble.
22963 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
22964 <libm-alias-ldouble.h>.
22965 (atanl): Define using libm_alias_ldouble.
22966 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
22967 <libm-alias-ldouble.h>.
22968 (cbrtl): Define using libm_alias_ldouble.
22969 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
22970 <libm-alias-ldouble.h>.
22971 (ceill): Define using libm_alias_ldouble.
22972 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
22973 <libm-alias-ldouble.h>.
22974 (copysignl): Define using libm_alias_ldouble.
22975 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
22976 <libm-alias-ldouble.h>.
22977 (cosl): Define using libm_alias_ldouble.
22978 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
22979 <libm-alias-ldouble.h>.
22980 (erfl): Define using libm_alias_ldouble.
22981 (erfcl): Likewise.
22982 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
22983 <libm-alias-ldouble.h>.
22984 (expm1l): Define using libm_alias_ldouble.
22985 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
22986 <libm-alias-ldouble.h>.
22987 (fabsl): Define using libm_alias_ldouble.
22988 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
22989 <libm-alias-ldouble.h>.
22990 (floorl): Define using libm_alias_ldouble.
22991 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
22992 <libm-alias-ldouble.h>.
22993 (fmal): Define using libm_alias_ldouble.
22994 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
22995 <libm-alias-ldouble.h>.
22996 (frexpl): Define using libm_alias_ldouble.
22997 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
22998 libm_alias_ldouble.
22999 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
23000 <libm-alias-ldouble.h>.
23001 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
23002 libm_alias_ldouble.
23003 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
23004 <libm-alias-ldouble.h>.
23005 (getpayloadl): Define using libm_alias_ldouble.
23006 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
23007 <libm-alias-ldouble.h>.
23008 (llrintl): Define using libm_alias_ldouble.
23009 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
23010 <libm-alias-ldouble.h>.
23011 (llroundl): Define using libm_alias_ldouble.
23012 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
23013 <libm-alias-ldouble.h>.
23014 (logbl): Define using libm_alias_ldouble.
23015 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
23016 <libm-alias-ldouble.h>.
23017 (lrintl): Define using libm_alias_ldouble.
23018 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
23019 <libm-alias-ldouble.h>.
23020 (lroundl): Define using libm_alias_ldouble.
23021 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
23022 <libm-alias-ldouble.h>.
23023 (modfl): Define using libm_alias_ldouble.
23024 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
23025 <libm-alias-ldouble.h>.
23026 (nearbyintl): Define using libm_alias_ldouble.
23027 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
23028 <libm-alias-ldouble.h>.
23029 (nextafterl): Define using libm_alias_ldouble.
23030 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
23031 <libm-alias-ldouble.h>.
23032 (nextupl): Define using libm_alias_ldouble.
23033 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
23034 <libm-alias-ldouble.h>.
23035 (remquol): Define using libm_alias_ldouble.
23036 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
23037 <libm-alias-ldouble.h>.
23038 (rintl): Define using libm_alias_ldouble.
23039 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
23040 <libm-alias-ldouble.h>.
23041 (roundevenl): Define using libm_alias_ldouble.
23042 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
23043 <libm-alias-ldouble.h>.
23044 (roundl): Define using libm_alias_ldouble.
23045 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
23046 using libm_alias_ldouble.
23047 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
23048 <libm-alias-ldouble.h>.
23049 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
23050 Define using libm_alias_ldouble.
23051 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
23052 <libm-alias-ldouble.h>.
23053 (sincosl): Define using libm_alias_ldouble.
23054 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
23055 <libm-alias-ldouble.h>.
23056 (sinl): Define using libm_alias_ldouble.
23057 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
23058 <libm-alias-ldouble.h>.
23059 (tanhl): Define using libm_alias_ldouble.
23060 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
23061 <libm-alias-ldouble.h>.
23062 (tanl): Define using libm_alias_ldouble.
23063 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
23064 <libm-alias-ldouble.h>.
23065 (totalorderl): Define using libm_alias_ldouble.
23066 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
23067 <libm-alias-ldouble.h>.
23068 (totalordermagl): Define using libm_alias_ldouble.
23069 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
23070 <libm-alias-ldouble.h>.
23071 (truncl): Define using libm_alias_ldouble.
23072 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
23073 libm_alias_ldouble.
23074 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
23075 libm_alias_ldouble.
23076 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
23077 <libm-alias-ldouble.h>.
23078 (weak_alias): Do not undefine and redefine.
23079 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
23080 (copysignl): Define with long_double_symbol only if [IS_IN
23081 (libc)].
23082 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
23083 <libm-alias-ldouble.h>.
23084 (weak_alias): Do not undefine and redefine.
23085 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
23086 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
23087 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
23088 <libm-alias-ldouble.h>.
23089 (weak_alias): Do not undefine and redefine.
23090 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
23091 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
23092 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
23093 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
23094 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
23095 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
23096 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
23097 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
23098 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
23099 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
23100 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
23101 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
23102 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
23103 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
23104 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
23105 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
23106 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
23107 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
23108 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
23109 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
23110 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
23111 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
23112 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
23113 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
23114 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
23115 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
23116
1e26d351
CD
231172017-10-06 Carlos O'Donell <carlos@redhat.com>
23118
23119 [BZ #22111]
23120 * malloc/malloc.c (tcache_shutting_down): Use bool type.
23121 (tcache_thread_freeres): Set tcache_shutting_down before
23122 freeing the tcache.
23123 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
23124 * malloc/tst-malloc-tcache-leak.c: New file.
23125
d1386762
RS
231262017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23127
23128 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
23129 back to powerpc32 file.
23130 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
23131 (memrchr): Add __memrchr_power8 to ifunc list.
23132 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
23133 extra bytes for unaligned inputs.
23134
6dff1983
JM
231352017-10-06 Joseph Myers <joseph@codesourcery.com>
23136
23137 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
23138 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
23139 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
23140 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
23141 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
23142
86f9568a
JM
231432017-10-05 Joseph Myers <joseph@codesourcery.com>
23144
0db0b931
JM
23145 * sysdeps/arm/libm-test-ulps: Update.
23146
86f9568a
JM
23147 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
23148 <libm-alias-ldouble.h>.
23149 (asinhl): Define using libm_alias_ldouble.
23150 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
23151 <libm-alias-ldouble.h>.
23152 (cbrtl): Define using libm_alias_ldouble.
23153 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
23154 <libm-alias-ldouble.h>.
23155 (copysignl): Define using libm_alias_ldouble.
23156 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
23157 <libm-alias-ldouble.h>.
23158 (cosl): Define using libm_alias_ldouble.
23159 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
23160 <libm-alias-ldouble.h>.
23161 (erfl): Define using libm_alias_ldouble.
23162 (erfcl): Likewise.
23163 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
23164 <libm-alias-ldouble.h>.
23165 (fmal): Define using libm_alias_ldouble.
23166 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
23167 <libm-alias-ldouble.h>.
23168 (frexpl): Define using libm_alias_ldouble.
23169 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
23170 libm_alias_ldouble.
23171 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
23172 <libm-alias-ldouble.h>.
23173 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
23174 libm_alias_ldouble.
23175 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
23176 <libm-alias-ldouble.h>.
23177 (getpayloadl): Define using libm_alias_ldouble.
23178 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
23179 <libm-alias-ldouble.h>.
23180 (llrintl): Define using libm_alias_ldouble.
23181 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
23182 <libm-alias-ldouble.h>.
23183 (llroundl): Define using libm_alias_ldouble.
23184 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
23185 <libm-alias-ldouble.h>.
23186 (lrintl): Define using libm_alias_ldouble.
23187 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
23188 <libm-alias-ldouble.h>.
23189 (lroundl): Define using libm_alias_ldouble.
23190 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
23191 <libm-alias-ldouble.h>.
23192 (modfl): Define using libm_alias_ldouble.
23193 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
23194 <libm-alias-ldouble.h>.
23195 (nextupl): Define using libm_alias_ldouble.
23196 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
23197 <libm-alias-ldouble.h>.
23198 (remquol): Define using libm_alias_ldouble.
23199 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
23200 <libm-alias-ldouble.h>.
23201 (roundevenl): Define using libm_alias_ldouble.
23202 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
23203 <libm-alias-ldouble.h>.
23204 (roundl): Define using libm_alias_ldouble.
23205 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
23206 using libm_alias_ldouble.
23207 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
23208 <libm-alias-ldouble.h>.
23209 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
23210 <libm-alias-ldouble.h>.
23211 (setpayloadsigl): Define using libm_alias_ldouble.
23212 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
23213 <libm-alias-ldouble.h>.
23214 (sincosl): Define using libm_alias_ldouble.
23215 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
23216 <libm-alias-ldouble.h>.
23217 (sinl): Define using libm_alias_ldouble.
23218 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
23219 <libm-alias-ldouble.h>.
23220 (tanhl): Define using libm_alias_ldouble.
23221 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
23222 <libm-alias-ldouble.h>.
23223 (tanl): Define using libm_alias_ldouble.
23224 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
23225 <libm-alias-ldouble.h>.
23226 (totalorderl): Define using libm_alias_ldouble.
23227 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
23228 <libm-alias-ldouble.h>.
23229 (totalordermagl): Define using libm_alias_ldouble.
23230 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
23231 libm_alias_ldouble.
23232 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
23233 libm_alias_ldouble.
23234
9ec87fd2
SP
232352017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
23236
dd5bc7f1
SP
23237 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
23238 memmove_falkor.
23239 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
23240 (__libc_ifunc_impl_list): Likewise.
23241 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
23242 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
23243
5bfb0404
SP
23244 * benchtests/bench-memmove-walk.c: New file.
23245 * benchtests/Makefile (string-benchset): Add it.
23246
36bb8edf
SP
23247 * benchtests/bench-memset-walk.c: New file.
23248 * benchtests/Makefile (string-benchset): Add it.
23249
9ec87fd2
SP
23250 * benchtests/bench-memcpy-walk.c: New file.
23251 * benchtests/Makefile (string-benchset): Add it.
23252
1e9522c6
FW
232532017-10-05 Florian Weimer <fweimer@redhat.com>
23254
23255 nscd: Eliminate compilation time dependency in the build output.
23256 * nscd/nscd_stat.c (STATDATA_VERSION)
23257 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
23258 (STATDATA_VERSION_FULL): New macro definitions.
23259 (compilation): Remove.
23260 (struct statdata): Adjust version member.
23261 (send_stats): Set version from STATDATA_VERSION_FULL.
23262 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
23263
644d3857
JM
232642017-10-05 Joseph Myers <joseph@codesourcery.com>
23265
23266 * configure.ac (--enable-add-ons): Remove option.
23267 (machine): Do not mention add-ons in comment.
23268 (LIBC_PRECONFIGURE): Likewise.
23269 (add_ons): Remove variable and sanity checks and logic to locate
23270 add-ons.
23271 (add_ons_automatic): Remove variable.
23272 (configured_add_ons): Likewise.
23273 (add_ons_sfx): Likewise.
23274 (add_ons_pfx): Likewise.
23275 (add_on_subdirs): Likewise.
23276 (sysnames_add_ons): Likewise. Remove loop over add-ons and
23277 consideration of add-ons in Implies handling.
23278 (sysdeps_add_ons): Likewise.
23279 * configure: Regenerated.
23280 * libidn/configure.ac: Remove.
23281 * libidn/configure: Likewise.
23282 * sysdeps/unix/inet/configure.ac: New file.
23283 * sysdeps/unix/inet/configure: New generated file.
23284 * sysdeps/unix/inet/Subdirs: Add libidn.
23285 * Makeconfig (sysdeps-srcdirs): Remove variable.
23286 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
23287 ($(common-objpfx)config.status): Do not depend on add-on files.
23288 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
23289 comment.
23290 (all-subdirs): Do not include $(add-on-subdirs).
23291 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
23292 * config.make.in (add-ons): Remove variable.
23293 (add-on-subdirs): Likewise.
23294 (sysdeps-add-ons): Likewise.
23295 * manual/Makefile (add-chapters): Remove.
23296 ($(objpfx)texis): Do not depend on $(add-chapters).
23297 (nonexamples): Do not handle $(add-chapters).
23298 (examples): Do not handle $(add-ons).
23299 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
23300 libc-texinfo.sh.
23301 * manual/install.texi (Installation): Do not mention add-ons.
23302 (--enable-add-ons): Do not document configure option.
23303 * INSTALL: Regenerated.
23304 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
23305 * manual/maint.texi (Hierarchy Conventions): Do not mention
23306 add-ons.
23307 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
23308 --enable-add-ons.
23309 * scripts/gen-sorted.awk: Do not handle Subdirs files from
23310 add-ons.
23311 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
23312 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
23313
19f82f35
AS
233142017-10-05 Andreas Schwab <schwab@suse.de>
23315
23316 [BZ #15142]
23317 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
23318 (_IO_flush_all_lockp): Always lock list_all_lock.
23319 (_IO_flush_all_linebuffered): Likewise.
23320 (_IO_unbuffer_all): Likewise.
23321
91e7cf98
FW
233222017-10-05 Florian Weimer <fweimer@redhat.com>
23323
23324 [BZ #15436]
23325 Do not flush stdio streams on abort.
23326 * stdlib/abort.c (fflush): Remove macro definition.
23327 (abort): Remove stages related to stdio flushing.
23328
0c251257
FW
233292017-10-05 Florian Weimer <fweimer@redhat.com>
23330
23331 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
23332
7ea59e3e
SL
233332017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
23334
23335 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
23336
84d0e6f0
FW
233372017-10-05 Florian Weimer <fweimer@redhat.com>
23338
23339 * support/support_format_hostent.c (support_format_hostent): Add
23340 more error information for NETDB_INTERNAL.
23341
ee417882
L
233422017-10-04 H.J. Lu <hongjiu.lu@intel.com>
23343
23344 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
23345 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
23346 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
23347 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
23348 AC_DEFINE if multi-arch is enabled.
23349 * sysdeps/i386/configure: Regenerated.
23350
a67029ff
L
233512017-10-04 H.J. Lu <hongjiu.lu@intel.com>
23352
23353 * Makeconfig (+link-static-before-libc): Use
23354 $(DEFAULT-LDFLAGS-$(@F)).
23355 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
23356 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
23357 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
23358
5dba84b3
L
233592017-10-04 H.J. Lu <hongjiu.lu@intel.com>
23360
23361 * elf/Makefile (tests): Add tst-main1.
23362 (modules-names): Add tst-main1mod.
23363 ($(objpfx)tst-main1): New.
23364 (CRT-tst-main1): Likewise.
23365 (LDFLAGS-tst-main1): Likewise.
23366 (LDLIBS-tst-main1): Likewise.
23367 (tst-main1mod.so-no-z-defs): Likewise.
23368 * elf/tst-main1.c: New file.
23369 * elf/tst-main1mod.c: Likewise.
23370
758f1bfa
L
233712017-10-04 H.J. Lu <hongjiu.lu@intel.com>
23372
23373 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
23374
7e16a5d1
JM
233752017-10-04 Joseph Myers <joseph@codesourcery.com>
23376
23377 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
23378 (fma): Define using libm_alias_double.
23379 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
23380 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
23381 <math_ldbl_opt.h>.
23382 (fmal): Do not define as compat symbol here.
23383 * sysdeps/alpha/fpu/s_fma.c: New file.
23384
db4f87ba
SN
233852017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
23386
23387 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
23388
72d13ed1
JM
233892017-10-04 Joseph Myers <joseph@codesourcery.com>
23390
32d372d5
JM
23391 [BZ #22229]
23392 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
23393 <math_ldbl_opt.h>
23394 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
23395 and libc.
23396 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
23397 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
23398 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
23399 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
23400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
23401 Include <math_ldbl_opt.h>
23402 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
23403 and libc.
23404 (compat_symbol): Undefine and redefine.
23405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
23406 <math_ldbl_opt.h>
23407 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
23408 (compat_symbol): Undefine and redefine.
23409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
23410 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
23411 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
23412 GLIBC_2_1 for libm.
23413 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
23414 GLIBC_2.0 copysignl symbol.
23415 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
23416 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
23417
72d13ed1
JM
23418 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
23419
11c4f501
FW
234202017-10-04 Florian Weimer <fweimer@redhat.com>
23421
23422 * scripts/check-local-headers.sh: Ignore nspr4 header file
23423 directory in addition to nspr.
23424
57b4af19
GT
234252017-10-04 Guido Trentalancia <guido@trentalancia.net>
23426
23427 [BZ #17956]
23428 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
23429 * configure: Regenerate.
23430 * crypt/Makefile (nss-cpp-flags): New variable.
23431 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
23432 (CPPFLAGS-md5-crypt.c): Use it.
23433 * scripts/check-local-headers.sh: Ignore nspr header file
23434 directory.
23435
64d1e08e
AS
234362017-10-04 Andreas Schwab <schwab@suse.de>
23437
23438 * nis/Makefile (services): Remove compat.
23439 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
23440 ($(objpfx)libnss_compat.so): Remove rule.
23441 * nis/Versions (libnss_compat): Remove.
23442 * nss/Makefile (services): Add compat.
23443 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
23444 * nss/Versions (libnss_compat): Define.
23445 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
23446 Don't include <rpc/types.h>. Replace bool_t by bool.
23447 * nss/nss_compat/compat-initgroups.c: Likewise.
23448 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
23449 instead of <rpcsrv/ypclnt.h>.
23450 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
23451 yp_get_default_domain.
23452 * nss/nss_compat/compat-pwd.c: Likewise.
23453 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
23454 yp_get_default_domain.
23455 * nss/nss_compat/nisdomain.c: New file.
23456 * nss/nss_compat/nisdomain.h: Likewise.
23457
86c27ade
SN
234582017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
23459
23460 [BZ #22244]
23461 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
23462 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
23463
8f8f8ef7
SN
234642017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
23465
23466 [BZ #22243]
23467 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
23468 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
23469
95577475
L
234702017-10-03 H.J. Lu <hongjiu.lu@intel.com>
23471
23472 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
23473 "movl main@GOTOFF(%ebx), %eax".
23474
02d2d892
L
234752017-10-03 H.J. Lu <hongjiu.lu@intel.com>
23476
23477 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
23478 allow undefined _DYNAMIC in PIE libc.a.
23479 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
23480 Likewse.
23481
0c609d19
L
234822017-10-03 H.J. Lu <hongjiu.lu@intel.com>
23483
23484 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
23485 check _DYNAMIC.
23486
c34a19ed
L
234872017-10-03 H.J. Lu <hongjiu.lu@intel.com>
23488
23489 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
23490 check _DYNAMIC.
23491
cdd4155d
L
234922017-10-03 H.J. Lu <hongjiu.lu@intel.com>
23493
23494 * math/test-math-iscanonical.cc (error): Replace bool with int.
23495
4699cb8b
JM
234962017-10-03 Joseph Myers <joseph@codesourcery.com>
23497
d8f619b3
JM
23498 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
23499 (modf): Define using libm_alias_double, only if [!__modf].
23500 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
23501 <libm-alias-double.h>.
23502 (modf): Define using libm_alias_double, only if [!__modf].
23503 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
23504 compat symbol here.
23505 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
23506 (weak_alias): Do not undefine and redefine.
23507 (strong_alias): Likewise.
23508 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
23509 (weak_alias): Likewise.
23510 (strong_alias): Likewise.
23511
4699cb8b
JM
23512 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
23513 (logb): Define using libm_alias_double, only if [!__logb].
23514 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
23515 <libm-alias-double.h>.
23516 (logb): Define using libm_alias_double, only if [!__logb].
23517 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
23518 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
23519 (weak_alias): Do not undefine and redefine.
23520 (strong_alias): Likewise.
23521 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
23522 (weak_alias): Likewise.
23523 (strong_alias): Likewise.
23524
bcc4e4bb
L
235252017-10-03 H.J. Lu <hongjiu.lu@intel.com>
23526
23527 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
23528 Check SHARED instead PIC.
23529
39793865
JM
235302017-10-03 Joseph Myers <joseph@codesourcery.com>
23531
7f1cbdf8
JM
23532 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
23533 [!__fmaf] (fmaf): Define using libm_alias_float.
23534
39793865
JM
23535 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
23536 (frexp): Define using libm_alias_double.
23537 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
23538 <libm-alias-double.h>.
23539 (frexp): Define using libm_alias_double.
23540 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
23541 compat symbol here.
23542
aa0235df
GG
235432017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
23544
23545 [BZ #22235]
23546 * math/math.h: Trivial fix for unbalanced parentheses in comment.
23547 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
23548 (CFLAGS-test-math-iscanonical.cc): New variable.
23549 * math/test-math-iscanonical.cc: New file.
23550 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
23551 Provide a C++ implementation based on function overloading,
23552 rather than using __MATH_TG, which uses C-only builtins.
23553 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
23554 Likewise.
23555 * sysdeps/powerpc/powerpc64le/Makefile
23556 (CFLAGS-test-math-iscanonical.cc): New variable.
23557
a1132b5e
JM
235582017-10-03 Joseph Myers <joseph@codesourcery.com>
23559
23560 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
23561 (ceil): Define using libm_alias_double.
23562 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
23563 (floor): Define using libm_alias_double.
23564 * sysdeps/ieee754/dbl-64/s_llround.c: Include
23565 <libm-alias-double.h>.
23566 (llround): Define using libm_alias_double.
23567 * sysdeps/ieee754/dbl-64/s_lround.c: Include
23568 <libm-alias-double.h>.
23569 (lround): Define using libm_alias_double.
23570 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
23571 <libm-alias-double.h>.
23572 (nearbyint): Define using libm_alias_double.
23573 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
23574 <libm-alias-double.h>.
23575 (remquo): Define using libm_alias_double.
23576 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
23577 (rint): Define using libm_alias_double.
23578 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
23579 (round): Define using libm_alias_double.
23580 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
23581 (trunc): Define using libm_alias_double.
23582 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
23583 <libm-alias-double.h>.
23584 (ceil): Define using libm_alias_double.
23585 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
23586 <libm-alias-double.h>.
23587 (floor): Define using libm_alias_double.
23588 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
23589 <libm-alias-double.h>.
23590 (llround): Define using libm_alias_double.
23591 [_LP64] (lround): Likewise.
23592 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
23593 <libm-alias-double.h>.
23594 [!_LP64] (lround): Define using libm_alias_double.
23595 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
23596 <libm-alias-double.h>.
23597 (nearbyint): Define using libm_alias_double.
23598 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
23599 <libm-alias-double.h>.
23600 (remquo): Define using libm_alias_double.
23601 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
23602 <libm-alias-double.h>.
23603 (rint): Define using libm_alias_double.
23604 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
23605 <libm-alias-double.h>.
23606 (round): Define using libm_alias_double.
23607 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
23608 <libm-alias-double.h>.
23609 (trunc): Define using libm_alias_double.
23610 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
23611 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
23612 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
23613 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
23614 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
23615 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
23616 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
23617 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
23618 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
23619
f275f64e
SN
236202017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
23621
23622 * math/w_remainder.c: New file.
23623 * math/w_remainderf.c: New file.
23624 * math/w_remainderl.c: New file.
23625
b8818ab5
L
236262017-10-03 H.J. Lu <hongjiu.lu@intel.com>
23627
23628 * elf/rtld.c (BOOTSTRAP_MAP): New.
23629 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
23630 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
23631 Likewise.
23632 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
23633 Likewise.
23634 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
23635 Likewise.
23636
3d1870fa
ST
236372017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
23638
23639 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
23640 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
23641 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
23642 rtld_hidden_data_ver): Define to empty.
23643 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
23644 __assert_perror_fail): Likewise.
23645 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
23646 (__rewinddir): Likewise.
23647 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
23648 (__profile_frequency): Likewise.
23649 * include/setjmp.h (__sigsetjmp): Likewise.
23650 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
23651 __libc_sigaction): Likewise.
23652 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
23653 not set hidden attribute.
23654 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
23655 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
23656 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
23657 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
23658 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
23659 __fxstatat64): Likewise.
23660 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
23661 (__uname): Likewise.
23662 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
23663 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
23664 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
23665 (NO_RTLD_HIDDEN): Set.
23666 * sysdeps/mach/hurd/configure: Refresh.
23667 * config.h.in: Refresh.
23668
527cd19c
JM
236692017-10-02 Joseph Myers <joseph@codesourcery.com>
23670
38722448
JM
23671 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
23672 (atan): Define using libm_alias_double.
23673 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
23674 (tan): Define using libm_alias_double.
23675 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
23676 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
23677
527cd19c
JM
23678 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
23679 define as weak alias of __atan. Do not define any aliases if
23680 [__atan].
23681 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
23682 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
23683 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
23684 as weak alias of __tan. Do not define any aliases if [__tan].
23685 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
23686 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
23687 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
23688 __atan.
23689 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
23690 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
23691 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
23692 and define as weak alias of __atan.
23693 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
23694 __atan.
23695 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
23696 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
23697 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
23698 define as weak alias of __tan.
23699
bdc5c592
SN
237002017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
23701
23702 * math/w_lgamma.c: New file.
23703 * math/w_lgammaf.c: New file.
23704 * math/w_lgammal.c: New file.
23705
bd4430c2
SN
237062017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
23707
23708 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
23709 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
23710 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
23711 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
23712 * sysdeps/ieee754/flt-32/w_logf.c: New file.
23713 * sysdeps/ieee754/flt-32/w_powf.c: New file.
23714 * sysdeps/i386/fpu/w_log2f.c: New file.
23715 * sysdeps/i386/fpu/w_logf.c: New file.
23716 * sysdeps/i386/fpu/w_powf.c: New file.
23717 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
23718 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
23719 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
23720
f7a0b063
SN
237212017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
23722 H.J. Lu <hongjiu.lu@intel.com>
23723
23724 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
23725 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
23726 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
23727 * sysdeps/ieee754/flt-32/w_expf.c: New file.
23728 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
23729 the new expf code.
23730 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
23731 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
23732 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
23733 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
23734 * sysdeps/i386/fpu/w_exp2f.c: New file.
23735 * sysdeps/i386/fpu/w_expf.c: New file.
23736 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
23737 * sysdeps/x86_64/fpu/w_expf.c: New file.
23738
72d3d281
SN
237392017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
23740
23741 * math/Versions (logf): New libm symbol at GLIBC_2.27.
23742 (log2f): Likewise.
23743 (powf): Likewise.
23744 * math/w_log2f.c: New file.
23745 * math/w_logf.c: New file.
23746 * math/w_powf.c: New file.
23747 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
23748 * math/w_logf_compat.c (__logf_compat): Likewise.
23749 * math/w_powf_compat.c (__powf_compat): Likewise.
23750 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
23751 * sysdeps/ia64/fpu/e_logf.S: Likewise.
23752 * sysdeps/ia64/fpu/e_powf.S: Likewise.
23753 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
23754 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
23755 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
23756 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
23757 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
23758 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
23759 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
23760 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
23761 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
23762 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
23763 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
23764 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
23765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
23766 Likewise.
23767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
23768 Likewise.
23769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
23770 Likewise.
23771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
23772 Likewise.
23773 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
23774 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
23775 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
23776 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
23777 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
23778 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
23779 Likewise.
23780 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
23781 Likewise.
23782 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
23783 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
23784 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
23785
59ba2d2b
RS
237862017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23787
23788 * sysdeps/powerpc/powerpc64/multiarch/Makefile
23789 (sysdep_routines): Add memrchr_power8.
23790 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23791 (memrchr): Add __memrchr_power8 to list of memrchr functions.
23792 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
23793 New file.
23794 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
23795 (memrchr): Add __memrchr_power8 to ifunc list.
23796 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
23797
397286ea
L
237982017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23799
23800 [BZ #18822]
23801 * sysdeps/unix/sysv/linux/posix_fadvise64.c
23802 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
23803 libc_hidden_def.
23804 * sysdeps/unix/sysv/linux/posix_fallocate64.c
23805 (__posix_fallocate64_l64): Likewise.
23806
d0a4512b
L
238072017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23808
23809 [BZ #18822]
23810 * sysdeps/unix/sysv/linux/sched_setaffinity.c
23811 (__sched_setaffinity_new): Add libc_hidden_proto and
23812 libc_hidden_def.
23813
c0769f70
L
238142017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23815
23816 [BZ #18822]
23817 * include/glob.h (__glob64): Add libc_hidden_proto.
23818 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
23819 libc_hidden_def.
23820
0e7d5b6e
L
238212017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23822
23823 [BZ #18822]
23824 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
23825 attribute_hidden.
23826
bde06c87
L
238272017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23828
23829 [BZ #18822]
23830 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
23831
fa426590
L
238322017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23833
23834 [BZ #18822]
23835 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
23836 libc_hidden_def.
23837
2f8a05d8
L
238382017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23839
23840 [BZ #18822]
23841 * csu/version.c (__libc_print_version): Add attribute_hidden.
23842
7bfd08ac
L
238432017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23844
23845 [BZ #18822]
23846 * include/libc-internal.h (__init_misc): Add attribute_hidden.
23847
0e1fd06c
L
238482017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23849
23850 [BZ #18822]
23851 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
23852
36e7ae1e
L
238532017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23854
23855 [BZ #18822]
23856 * nscd/nscd_helper.c (__nis_hash): New prototype.
23857
87078544
L
238582017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23859
23860 [BZ #18822]
23861 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
23862 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
23863 libc_hidden_def.
23864 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
23865 * termios/tcgetattr.c (__tcgetattr): Likewise.
23866
dd3121df
L
238672017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23868
23869 [BZ #18822]
23870 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
23871 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
23872 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
23873 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
23874 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
23875
047d1a81
L
238762017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23877
23878 [BZ #18822]
23879 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
23880
fd331b11
L
238812017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23882
23883 [BZ #18822]
23884 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
23885 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
23886
57f859bd
L
238872017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23888
23889 [BZ #18822]
23890 * intl/hash-string.h (__hash_string): Add attribute_hidden.
23891
d1903329
L
238922017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23893
23894 [BZ #18822]
23895 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
23896 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
23897
b4744101
L
238982017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23899
23900 [BZ #18822]
23901 * include/ifreq.h: New file.
23902 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
23903 (__ifreq): Likewise.
23904 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
23905 (__ifreq): Likewise.
23906
43b7dfd1
L
239072017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23908
23909 [BZ #18822]
23910 * include/idna.h: New file.
23911 * inet/getnameinfo.c: Include <idna.h> instead of
23912 <libidn/idna.h>.
23913 (__idna_to_unicode_lzlz): Removed.
23914 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
23915 <libidn/idna.h>.
23916 (__idna_to_ascii_lz): Removed.
23917 (__idna_to_unicode_lzlz): Likewise.
23918
2c0cd8f8
L
239192017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23920
23921 [BZ #18822]
23922 * include/plural-exp.h: New file.
23923 * intl/plural-exp.c: Include <plural-exp.h> instead of
23924 "plural-exp.h".
23925
8369d216
L
239262017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23927
23928 [BZ #18822]
23929 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
23930 "getsourcefilter.h".
23931 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
23932 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
23933 "getsourcefilter.h".
23934 (__get_sol): Removed.
23935
a0aef783
L
239362017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23937
23938 [BZ #18822]
23939 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
23940 to ...
23941 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
23942
3ee8209b
L
239432017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23944
23945 [BZ #18822]
23946 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
23947 attribute_hidden.
23948
6036fc38
L
239492017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23950
23951 [BZ #18822]
23952 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
23953
fe84fed0
L
239542017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23955
23956 [BZ #18822]
23957 * include/search.h (__tdestroy): Add libc_hidden_proto.
23958 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
23959
048dd681
L
239602017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23961
23962 [BZ #18822]
23963 * include/assert.h (__assert_fail_base): Add attribute_hidden.
23964
6e342af6
L
239652017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23966
23967 [BZ #18822]
23968 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
23969 attribute_hidden.
23970
6a088436
L
239712017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23972
23973 [BZ #18822]
23974 * include/signal.h (__kill): Add libc_hidden_proto.
23975 (__sigblock): Likewise.
23976 (__sigprocmask): Likewise.
23977 (__sigaltstack): Likewise.
23978 * signal/kill.c (__kill): Add libc_hidden_def.
23979 * signal/sigblock.c (__sigblock): Likewise.
23980 * signal/sigprocmask.c (__sigprocmask): Likewise.
23981 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
23982 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
23983 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
23984 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
23985 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
23986 Likewise.
23987 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
23988 Likewise.
23989 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
23990 (__sigprocmask): Likewise.
23991 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
23992 Likewise.
23993 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
23994 (__sigprocmask): Likewise.
23995 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
23996 Likewise.
23997
78cf1d74
L
239982017-10-01 H.J. Lu <hongjiu.lu@intel.com>
23999
24000 [BZ #18822]
24001 * include/string.h (__strsep): Add libc_hidden_proto.
24002 * string/strsep.c (__strsep): Add libc_hidden_def.
24003
85b35894
L
240042017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24005
24006 [BZ #18822]
24007 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
24008 attribute_hidden.
24009 (__spawni): Likewise.
24010
225f7eec
L
240112017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24012
24013 [BZ #18822]
24014 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
24015 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
24016 libc_hidden_def.
24017
372fe247
L
240182017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24019
24020 [BZ #18822]
24021 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
24022
9e5ee8b8
L
240232017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24024
24025 [BZ #18822]
24026 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
24027 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
24028 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
24029 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
24030 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
24031 Likewise.
24032 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
24033 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
24034
2ff16592
L
240352017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24036
24037 [BZ #18822]
24038 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
24039 (__dcigettext): Likewise.
24040
b5648377
L
240412017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24042
24043 [BZ #18822]
24044 * include/sys/sysinfo.h (__get_nprocs_conf): Add
24045 libc_hidden_proto.
24046 (__get_nprocs): Likewise.
24047 (__get_phys_pages): Likewise.
24048 (__get_avphys_pages): Likewise.
24049 (__get_child_max): Add attribute_hidden.
24050 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
24051 (__get_nprocs): Likewise.
24052 (__get_phys_pages): Likewise.
24053 (__get_avphys_pages): Likewise.
24054 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
24055 libc_hidden_def.
24056 (__get_nprocs): Likewise.
24057 (__get_phys_pages): Likewise.
24058 (__get_avphys_pages): Likewise.
24059 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
24060 libc_hidden_def.
24061 (__get_nprocs_conf): Likewise.
24062 (__get_phys_pages): Likewise.
24063 (__get_avphys_pages): Likewise.
24064
0389a6aa
L
240652017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24066
24067 [BZ #18822]
24068 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
24069 attribute_hidden.
24070 (__netlink_close): Likewise.
24071 (__netlink_free_handle): Likewise.
24072 (__netlink_request): Likewise.
24073
d48354d8
L
240742017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24075
24076 [BZ #18822]
24077 * include/rpc/rpc.h (__rpc_thread_variables): Add
24078 attribute_hidden.
24079 (__rpc_thread_svc_cleanup): Likewise.
24080 (__rpc_thread_clnt_cleanup): Likewise.
24081 (__rpc_thread_key_cleanup): Likewise.
24082
d6daff12
L
240832017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24084
24085 [BZ #18822]
24086 * include/sys/uio.h (__readv): Add libc_hidden_proto.
24087 (__writev): Likewise.
24088 * misc/readv.c (__readv): Add libc_hidden_def.
24089 * misc/writev.c (__writev): Likewise.
24090 * sysdeps/posix/readv.c (__readv): Likewise.
24091 * sysdeps/posix/writev.c (__writev): Likewise.
24092 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
24093 (__readv): Likewise.
24094 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
24095 (__writev): Likewise.
24096
b68f8620
L
240972017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24098
24099 [BZ #18822]
24100 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
24101 (__regcomp): Add libc_hidden_proto.
24102 (__regexec): Likewise.
24103 (__regfree): Likewise.
24104 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
24105 (__regfree): Likewise.
24106 * posix/regexec.c (__regexec): Likewise.
24107
59c04e67
L
241082017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24109
24110 [BZ #18822]
24111 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
24112 (__getutent): Likewise.
24113 (__getutid): Likewise.
24114 (__getutline): Likewise.
24115 (__pututline): Likewise.
24116 (__getutent_r): Likewise.
24117 (__getutid_r): Likewise.
24118 (__getutline_r): Likewise.
24119 (__utmpname): Add attribute_hidden.
24120 (__setutent): Likewise.
24121 (__endutent): Likewise.
24122 * login/getutent.c (__getutent): Add libc_hidden_def.
24123 * login/getutent_r.c (__getutent_r): Likewise.
24124 (__pututline): Likewise.
24125 * login/getutid.c (__getutid): Likewise.
24126 * login/getutid_r.c (__getutid_r): Likewise.
24127 * login/getutline.c (__getutline): Likewise.
24128 * login/getutline_r.c (__getutline_r): Likewise.
24129 * login/updwtmp.c (__updwtmp): Likewise.
24130
4587a421
L
241312017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24132
24133 [BZ #18822]
24134 * include/dirent.h (__opendir): Always add attribute_hidden.
24135 (__fdopendir): Likewise.
24136 (__closedir): Likewise.
24137 (__readdir): Likewise.
24138 (__readdir64): Add libc_hidden_proto.
24139 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
24140 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
24141 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
24142 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
24143 New alias.
24144
9635ce69
L
241452017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24146
24147 [BZ #18822]
24148 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
24149 * include/netdb.h (__gethostbyaddr_r): Likewise.
24150 (__gethostbyname_r): Likewise.
24151 (__gethostbyname2_r): Likewise.
24152 (__getnetbyaddr_r): Likewise.
24153 (__getnetbyname_r): Likewise.
24154 (__getservbyname_r): Likewise.
24155 (__getservbyport_r): Likewise.
24156 (__getprotobyname_r): Likewise.
24157 (__getprotobynumber_r): Likewise.
24158 (__getnetgrent_r): Likewise.
24159 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
24160 (__getrpcbynumber_r): Likewise.
24161 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
24162
2e0a6909
L
241632017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24164
24165 [BZ #18822]
24166 * include/stdio.h (__fcloseall): Add attribute_hidden.
24167 (__getline): Likewise.
24168 (__path_search): Likewise.
24169 (__gen_tempname): Likewise.
24170 (__libc_message): Likewise.
24171 (__flockfile): Likewise.
24172 (__funlockfile): Likewise.
24173 (__fxprintf): Likewise.
24174 (__fxprintf_nocancel): Likewise.
24175
94fd682c
L
241762017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24177
24178 [BZ #18822]
24179 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
24180 (__sgetsgent_r): Likewise.
24181
e1b33bba
L
241822017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24183
24184 [BZ #18822]
24185 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
24186 (__statfs64): Likewise.
24187 (__fstatfs64): Likewise.
24188 * include/sys/statvfs.h (__statvfs64): Likewise.
24189 (__fstatvfs64): Likewise.
24190 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
24191 (__statfs_filesize_max): Likewise.
24192 (__statfs_symlinks): Likewise.
24193 (__statfs_chown_restricted): Likewise.
24194
b0f56784
L
241952017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24196
24197 [BZ #18822]
24198 * include/time.h (__tzstring): Add attribute_hidden.
24199 (__tzfile_read): Likewise.
24200 (__tzfile_compute): Likewise.
24201 (__tzfile_default): Likewise.
24202 (__tzset_parse_tz): Likewise.
24203 (__offtime): Likewise.
24204 (__asctime_r): Likewise.
24205 (__tzset): Likewise.
24206 (__tz_convert): Likewise.
24207 (__getdate_r): Likewise.
24208 (__getclktck): Likewise.
24209
a4338d99
L
242102017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24211
24212 [BZ #18822]
24213 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
24214 (__nscd_unmap): Likewise.
24215 (__nscd_cache_search): Likewise.
24216 (__nscd_get_nl_timestamp): Likewise.
24217 (__nscd_getpwnam_r): Likewise.
24218 (__nscd_getpwuid_r): Likewise.
24219 (__nscd_getgrnam_r): Likewise.
24220 (__nscd_getgrgid_r): Likewise.
24221 (__nscd_gethostbyname_r): Likewise.
24222 (__nscd_gethostbyname2_r): Likewise.
24223 (__nscd_gethostbyaddr_r): Likewise.
24224 (__nscd_getai): Likewise.
24225 (__nscd_getgrouplist): Likewise.
24226 (__nscd_getservbyname_r): Likewise.
24227 (__nscd_getservbyport_r): Likewise.
24228 (__nscd_innetgr): Likewise.
24229 (__nscd_setnetgrent): Likewise.
24230
a2ca1652
L
242312017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24232
24233 [BZ #18822]
24234 * include/gmp.h: Declare internal functions only if _ISOMAC is
24235 undefined.
24236 (__mpn_extract_double): Add attribute_hidden.
24237 (__mpn_extract_long_double): Likewise.
24238 (__mpn_extract_float128): Likewise.
24239 (__mpn_construct_float): Likewise.
24240 (__mpn_construct_double): Likewise.
24241 (__mpn_construct_long_double): Likewise.
24242 (__mpn_construct_float128): Likewise.
24243 (mpn_add_1): Likewise.
24244 (mpn_addmul_1): Likewise.
24245 (mpn_add_n): Likewise.
24246 (mpn_cmp): Likewise.
24247 (mpn_divrem): Likewise.
24248 (mpn_lshift): Likewise.
24249 (mpn_mul): Likewise.
24250 (mpn_mul_1): Likewise.
24251 (mpn_rshift): Likewise.
24252 (mpn_sub_1): Likewise.
24253 (mpn_submul_1): Likewise.
24254 (mpn_sub_n): Likewise.
24255
44af8a32
L
242562017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24257
24258 [BZ #18822]
24259 * include/wchar.h (__wcsnlen): Add attribute_hidden.
24260 (__wcscat): Likewise.
24261 (__btowc): Likewise.
24262 (__wcrtomb): Likewise.
24263 (__mbsrtowcs): Likewise.
24264 (__wcsrtombs): Likewise.
24265 (__mbsnrtowcs): Likewise.
24266 (__wcsnrtombs): Likewise.
24267 (__wcsncpy): Likewise.
24268 (__wcpncpy): Likewise.
24269 (__wmemcpy): Likewise.
24270 (__wmempcpy): Likewise.
24271 (__wmemmove): Likewise.
24272 (__wcschrnul): Likewise.
24273 (__vfwscanf): Likewise.
24274 (__vswprintf): Likewise.
24275 (__fwprintf): Likewise.
24276 (__vfwprintf): Likewise.
24277
783cd767
L
242782017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24279
24280 [BZ #18822]
24281 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
24282 (__getgrgid_r): Likewise.
24283 (__getgrnam_r): Likewise.
24284 * include/pwd.h (__getpwuid_r): Likewise.
24285 (__getpwnam_r): Likewise.
24286 (__fgetpwent_r): Likewise.
24287 * include/shadow.h (__getspnam_r): Likewise.
24288 (__sgetspent_r): Likewise.
24289 (__fgetspent_r): Likewise.
24290
7ec4b39a
L
242912017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24292
24293 [BZ #18822]
24294 * include/unistd.h (__access): Add attribute_hidden.
24295 (__lseek64): Likewise.
24296 (__libc_pread64): Likewise.
24297 (__pipe2): Likewise.
24298 (__sleep): Likewise.
24299 (__chdir): Likewise.
24300 (__fchdir): Likewise.
24301 (__getcwd): Likewise.
24302 (__rmdir): Likewise.
24303 (__execvpe): Likewise.
24304 (__execve): Likewise.
24305 (__setsid): Likewise.
24306 (__getuid): Likewise.
24307 (__geteuid): Likewise.
24308 (__getgid): Likewise.
24309 (__getegid): Likewise.
24310 (__getgroups): Likewise.
24311 (__group_member): Likewise.
24312 (__ttyname_r): Likewise.
24313 (__isatty): Likewise.
24314 (__readlink): Likewise.
24315 (__unlink): Likewise.
24316 (__gethostname): Likewise.
24317 (__profil): Likewise.
24318 (__getdtablesize): Likewise.
24319 (__brk): Likewise.
24320 (__ftruncate): Likewise.
24321 (__ftruncate64): Likewise.
24322
8345a760
L
243232017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24324
24325 [BZ #18822]
24326 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
24327 * argp/argp-fs-xinl.c: Likewise.
24328 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
24329 * argp/argp-parse.c: Include <argp.h>.
24330 * argp/argp-xinl.c: Likewise.
24331 * include/argp-fmtstream.h: New file.
24332 * include/argp.h (__argp_error): Add attribute_hidden.
24333 (__argp_failure): Likewise.
24334 (__argp_input): Likewise.
24335 (__argp_state_help): Likewise.
24336
c26dd7c6
L
243372017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24338
24339 [BZ #18822]
24340 * include/wchar.h (____wcstof_l_internal): New prototype.
24341 (____wcstod_l_internal): Likewise.
24342 (____wcstold_l_internal): Likewise.
24343 (____wcstol_l_internal): Likewise.
24344 (____wcstoul_l_internal): Likewise.
24345 (____wcstoll_l_internal): Likewise.
24346 (____wcstoull_l_internal): Likewise.
24347 (____wcstof128_l_internal): Likewise.
24348 * sysdeps/ieee754/float128/wcstof128.c
24349 (____wcstof128_l_internal): Removed.
24350 * sysdeps/ieee754/float128/wcstof128_l.c
24351 (____wcstof128_l_internal): Likewise.
24352 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
24353 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
24354 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
24355 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
24356 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
24357 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
24358 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
24359 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
24360 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
24361 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
24362
3aff5644
L
243632017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24364
24365 [BZ #18822]
24366 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
24367 instead of <sys/statvfs.h>.
24368 (__internal_statvfs): Removed.
24369 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
24370 instead of <sys/statvfs.h>.
24371 (__internal_statvfs64): Removed.
24372 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
24373 "internal_statvfs.h" instead of <sys/statvfs.h>.
24374 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
24375 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
24376 instead of <sys/statvfs.h>.
24377 (__internal_statvfs): Removed.
24378 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
24379 instead of <sys/statvfs.h>.
24380 (__internal_statvfs64): Removed.
24381
8bcdb7e0
L
243822017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24383
24384 [BZ #18822]
24385 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
24386 (__gconv_close): Likewise.
24387 (__gconv): Likewise.
24388 (__gconv_find_transform): Likewise.
24389 (__gconv_lookup_cache): Likewise.
24390 (__gconv_compare_alias_cache): Likewise.
24391 (__gconv_load_cache): Likewise.
24392 (__gconv_get_path): Likewise.
24393 (__gconv_close_transform): Likewise.
24394 (__gconv_release_cache): Likewise.
24395 (__gconv_find_shlib): Likewise.
24396 (__gconv_release_shlib): Likewise.
24397 (__gconv_get_builtin_trans): Likewise.
24398 (__gconv_compare_alias): Likewise.
24399 * include/dlfcn.h (_dlerror_run): Likewise.
24400 * include/stdio.h (__fortify_fail_abort): Likewise.
24401 * include/time.h (__tz_compute): Likewise.
24402 (__strptime_internal): Likewise.
24403 * intl/gettextP.h (_nl_find_domain): Likewise.
24404 (_nl_load_domain): Likewise.
24405 (_nl_find_msg): Likewise.
24406 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
24407 (EXTRACT_PLURAL_EXPRESSION): Likewise.
24408 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
24409 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
24410 (__gai_find_request): Likewise.
24411 (__gai_remove_request): Likewise.
24412 (__gai_notify): Likewise.
24413 (__gai_notify_only): Likewise.
24414 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
24415 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
24416 (_dl_non_dynamic_init): Likewise.
24417 (_dl_aux_init): Likewise.
24418 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
24419 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
24420 Likewise.
24421 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
24422 (__wcsmbs_clone_conv): Likewise.
24423 (__wcsmbs_named_conv): Likewise.
24424
8ed3b643
L
244252017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24426
24427 [BZ #18822]
24428 * include/stdlib.h (__random): Add attribute_hidden.
24429 (__random_r): Likewise.
24430 (__srandom_r): Likewise.
24431 (__initstate_r): Likewise.
24432 (__setstate_r): Likewise.
24433 (__erand48_r): Likewise.
24434 (__nrand48_r): Likewise.
24435 (__jrand48_r): Likewise.
24436 (__srand48_r): Likewise.
24437 (__seed48_r): Likewise.
24438 (__lcong48_r): Likewise.
24439 (__drand48_iterate): Likewise.
24440 (__setenv): Likewise.
24441 (__unsetenv): Likewise.
24442 (__clearenv): Likewise.
24443 (__ptsname_r): Likewise.
24444 (__posix_openpt): Likewise.
24445 (__add_to_environ): Likewise.
24446 (__realpath): Add libc_hidden_proto.
24447 (__ecvt_r): Likewise.
24448 (__fcvt_r): Likewise.
24449 (__qecvt_r): Likewise.
24450 (__qfcvt_r): Likewise.
24451 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
24452 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
24453
ef9b6f73
L
244542017-10-01 H.J. Lu <hongjiu.lu@intel.com>
24455
24456 [BZ #18822]
24457 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
24458 * include/time.h (__mktime_internal): Likewise.
24459 * libio/iolibio.h (__fopen_internal): Likewise.
24460
8da92e72
JDA
244612017-10-01 John David Anglin <danglin@gcc.gnu.org>
24462
24463 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
24464 pointer in frame.
24465 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
24466 Correct offset used to restore PIC register.
24467
388784cf
JDA
244682017-09-30 John David Anglin <danglin@gcc.gnu.org>
24469
24470 [BZ libc/22165]
24471 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
24472 code to load address of __getcontext_ret when generating PIC code.
24473
2000067a
L
244742017-09-30 H.J. Lu <hongjiu.lu@intel.com>
24475
24476 * elf/Makefile (tests-static-internal): Add
24477 tst-tls1-static-non-pie.
24478 (LDFLAGS-tst-tls1-static-non-pie): New.
24479 * elf/tst-tls1-static-non-pie.c: New file.
24480
1e2bffd0
JM
244812017-09-29 Joseph Myers <joseph@codesourcery.com>
24482
24483 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
24484 (asinh): Define using libm_alias_double.
24485 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
24486 (cbrt): Define using libm_alias_double.
24487 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
24488 <libm-alias-double.h>.
24489 (copysign): Define using libm_alias_double.
24490 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
24491 (erf): Define using libm_alias_double.
24492 (erfc): Likewise.
24493 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
24494 (expm1): Define using libm_alias_double.
24495 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
24496 (fabs): Define using libm_alias_double.
24497 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
24498 libm_alias_double.
24499 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
24500 <libm-alias-double.h>.
24501 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
24502 libm_alias_double.
24503 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
24504 <libm-alias-double.h>.
24505 (getpayload): Define using libm_alias_double.
24506 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
24507 <libm-alias-double.h>.
24508 (llrint): Define using libm_alias_double.
24509 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
24510 (lrint): Define using libm_alias_double.
24511 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
24512 <libm-alias-double.h>.
24513 (nextup): Define using libm_alias_double.
24514 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
24515 <libm-alias-double.h>.
24516 (roundeven): Define using libm_alias_double.
24517 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
24518 libm_alias_double.
24519 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
24520 <libm-alias-double.h>.
24521 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
24522 using libm_alias_double.
24523 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
24524 (cos): Define using libm_alias_double.
24525 (sin): Likewise.
24526 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
24527 <libm-alias-double.h>.
24528 (sincos): Define using libm_alias_double.
24529 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
24530 (tanh): Define using libm_alias_double.
24531 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
24532 <libm-alias-double.h>.
24533 (totalorder): Define using libm_alias_double.
24534 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
24535 <libm-alias-double.h>.
24536 (totalordermag): Define using libm_alias_double.
24537 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
24538 libm_alias_double.
24539 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
24540 libm_alias_double.
24541 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
24542 <libm-alias-double.h>.
24543 (getpayload): Define using libm_alias_double.
24544 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
24545 <libm-alias-double.h>.
24546 (roundeven): Define using libm_alias_double.
24547 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
24548 <libm-alias-double.h>.
24549 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
24550 <libm-alias-double.h>.
24551 (totalorder): Define using libm_alias_double.
24552 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
24553 <libm-alias-double.h>.
24554 (totalordermag): Define using libm_alias_double.
24555 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
24556 libc compat symbol here.
24557 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
24558 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
24559 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
24560 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
24561 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
24562 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
24563 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
24564 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
24565 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
24566 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
24567
8172aad9
L
245682017-09-29 H.J. Lu <hongjiu.lu@intel.com>
24569
24570 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
24571 _dl_relocate_static_pie instead of _dl_start to compute load
24572 address in static PIE. Return 0 if _DYNAMIC is undefined for
24573 static executable.
24574
54464e74
L
245752017-09-29 H.J. Lu <hongjiu.lu@intel.com>
24576
24577 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
24578 _DYNAMIC is undefined for static executable.
24579
f6c5e5bc
L
245802017-09-29 H.J. Lu <hongjiu.lu@intel.com>
24581
24582 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
24583
2f92505d
JM
245842017-09-29 Joseph Myers <joseph@codesourcery.com>
24585
24586 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24587
bd8d53bb
WD
245882017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
24589
24590 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
24591 (__ieee754_lgamma_r): Use fabs rather than __fabs.
24592 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
24593 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
24594 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
24595 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
24596 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
24597 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
24598 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
24599 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
24600 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
24601 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
24602 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
24603 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
24604 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
24605 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
24606 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
24607
fffb1507
WD
246082017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
24609
24610 * math/bits/cmathcalls.h (cimag): Remove inline.
24611 (creal): Remove inline.
24612 (conj): Remove inline.
24613
4ea49f4c
SN
246142017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
24615
24616 * math/Makefile (type-float-routines): Add e_powf_log2_data.
24617 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
24618 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
24619 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
24620 (issignalingf_inline): Likewise.
24621 (POWF_LOG2_TABLE_BITS): Likewise.
24622 (POWF_LOG2_POLY_ORDER): Likewise.
24623 (POWF_SCALE_BITS): Likewise.
24624 (POWF_SCALE): Likewise.
24625 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
24626 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
24627 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
24628
875c76c7
SN
246292017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
24630
24631 * math/Makefile (type-float-routines): Add e_log2f_data.
24632 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
24633 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
24634 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
24635 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
24636 * sysdeps/i386/fpu/e_log2f_data.c: New file.
24637 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
24638 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
24639
90c42e40
SN
246402017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
24641
24642 * math/Makefile (type-float-routines): Add e_logf_data.
24643 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
24644 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
24645 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
24646 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
24647 * sysdeps/i386/fpu/e_logf_data.c: New file.
24648 * sysdeps/ia64/fpu/e_logf_data.c: New file.
24649 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
24650
4088d8dd
L
246512017-09-28 H.J. Lu <hongjiu.lu@intel.com>
24652
24653 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
24654 undefined _DYNAMIC in PIE libc.a.
24655 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
24656 Likewse.
24657
4d3693ec
WD
246582017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
24659
24660 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
24661 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
24662 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
24663 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
24664 (__signbit): Remove.
24665 (__signbitl): Remove.
24666 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
24667 (__signbit): Remove.
24668 (__signbitl): Remove.
24669 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
24670 (__signbit): Remove.
24671 (__signbitl): Remove.
24672 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
24673 (__signbit): Remove.
24674 (__signbitl): Remove.
24675 * sysdeps/tile/bits/mathinline.h: Delete file.
24676 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
24677 (__signbit): Remove.
24678 (__signbitl): Remove.
24679
1e6d0723
WD
246802017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
24681
24682 * math/math.h: Improve handling of C99 isgreater macros.
24683 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
24684 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
24685 * sysdeps/powerpc/bits/mathinline.h: Likewise.
24686 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
24687 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
24688
b2f03cf3
SN
246892017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
24690
24691 * sysdeps/aarch64/libm-test-ulps: Update.
24692
f124cb38
JM
246932017-09-28 Joseph Myers <joseph@codesourcery.com>
24694
24695 [BZ #22225]
24696 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24697 math_opt_barrier on argument when doing arithmetic on it.
24698 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
24699 Likewise. Use math_force_eval not math_opt_barrier after
24700 arithmetic.
24701 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
24702 math_opt_barrier on argument when doing arithmetic on it.
24703 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
24704 Likewise.
24705
7edd0691
L
247062017-09-27 H.J. Lu <hongjiu.lu@intel.com>
24707
24708 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
24709 libc_hidden_def.
24710 (__freeifaddrs): Likewise.
24711
2c7bbfaf
ST
247122017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
24713
24714 * include/dirent.h (__dirfd): New declaration.
24715 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
24716 alias.
24717 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
24718 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
24719 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
52a1f181
ST
24720 * include/unistd.h (__revoke): New declaration.
24721 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
24722 alias.
24723 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
24724 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
24725 revoke.
64a4af28
ST
24726 * include/dirent.h (__seekdir): New declaration.
24727 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
24728 redefine as weak alias.
24729 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
24730 of seekdir.
4009ddc6
ST
24731 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
24732 and use libc_hidden_def on them.
24733 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
24734 them.
24735 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
24736 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
24737 instead of getifaddrs and freeifaddrs.
2c7bbfaf 24738
825adeee
L
247392017-09-26 H.J. Lu <hongjiu.lu@intel.com>
24740
24741 [BZ #18822]
24742 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
24743 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
24744 (__dso_handle): Remove declaration.
24745 * dlfcn/tstatexit.c (__dso_handle): Removed.
24746 (main): Don't check __dso_handle.
24747 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
24748 (main): Don't check __dso_handle.
24749 * include/dso_handle.h: New file.
24750 * malloc/mtrace.c: Include <dso_handle.h>.
24751 (mtrace): Pass __dso_handle directly.
24752 * nptl/pthread_atfork.c: Include <dso_handle.h>.
24753 (__dso_handle): Remove declaration.
24754 (__pthread_atfork): Pass __dso_handle directly.
24755 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
24756 (__dso_handle): Removed.
24757 * posix/wordexp-test.c: Include <dso_handle.h>.
24758 (__dso_handle): Remove declaration.
24759 (__app_register_atfork): Pass __dso_handle directly.
24760 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
24761 (__dso_handle): Remove declaration.
24762 (at_quick_exit): Pass __dso_handle directly.
24763 * stdlib/atexit.c: Include <dso_handle.h>.
24764 (__dso_handle): Remove declaration.
24765 (atexit): Pass __dso_handle directly.
24766 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
24767 (__dso_handle): Removed.
24768
bfb0deb3
JM
247692017-09-26 Joseph Myers <joseph@codesourcery.com>
24770
24771 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
24772 using VDSO.
24773
cebcb9f8
AM
247742017-09-26 Alexey Makhalov <amakhalov@vmware.com>
24775
24776 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
24777 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
24778 values to correct default value for given type.
24779
592d5c75
L
247802017-09-26 H.J. Lu <hongjiu.lu@intel.com>
24781
24782 [BZ #22101]
24783 * elf/Makefile (tests): Add tst-debug1.
24784 ($(objpfx)tst-debug1): New.
24785 ($(objpfx)tst-debug1.out): Likewise.
24786 ($(objpfx)tst-debug1mod1.so): Likewise.
24787 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
24788 with p_filesz == 0.
24789 * elf/tst-debug1.c: New file.
24790
2d9193f2
JM
247912017-09-26 Joseph Myers <joseph@codesourcery.com>
24792
24793 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
24794 Define using __ifunc.
24795
4c5a7a02
TMQMF
247962017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24797
24798 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
24799 exp2f() values.
24800
12ef66c4
JM
248012017-09-26 Joseph Myers <joseph@codesourcery.com>
24802
24803 [BZ #22156]
24804 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
24805
44dade71
FW
248062017-09-26 Florian Weimer <fweimer@redhat.com>
24807
24808 * resolv/Makefile (tests-internal): Fix typo in comment.
24809
eaca16f1
FW
248102017-09-26 Florian Weimer <fweimer@redhat.com>
24811
24812 * resolv/nss_dns/dns-host.c: Fix typo in comment.
24813
ccf970c7
AZ
248142017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24815
5f9f31ad
AZ
24816 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
24817 Use an union instead of a max_align_t array for __space,
24818 so that __space is the same size on all platforms.
24819 * malloc/scratch_buffer_grow_preserve.c
24820 (__libc_scratch_buffer_grow_preserve): Likewise.
24821
ccf970c7
AZ
24822 [BZ #22183]
24823 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
24824 version to 2.
24825 * posix/Makefile (routines): Add glob-lstat-compat and
24826 glob64-lstat-compat.
24827 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
24828 * posix/glob-lstat-compat.c: New file.
24829 * posix/glob64-lstat-compat.c: Likewise.
24830 * posix/tst-glob_lstat_compat.c: Likewise.
24831 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
24832 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
24833 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
24834 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
24835 Likewise.
24836 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
24837 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
24838 * posix/glob.c (glob_lstat): New function.
24839 (glob): Rename to __glob and add versioned symbol to 2.27.
24840 (glob_in_dir): Use glob_lstat.
24841 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
24842 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
24843 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
24844 2.27.
24845 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
24846 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
24847 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
24848 gl_lstat on glob call.
24849 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
24850 and glob64 symbols.
24851 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
24852 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
24853 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
24854 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
24855 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
24856 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
24857 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
24858 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
24859 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
24860 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
24861 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
24862 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
24863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
24864 Likewise.
24865 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
24866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
24867 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
24868 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
24869 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
24870 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
24871 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
24872 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
24873 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
24874 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
24875 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
24876 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
24877
b4396163
L
248782017-09-25 H.J. Lu <hongjiu.lu@intel.com>
24879
24880 * configure.ac (AS): Require binutils 2.25 or later.
24881 * configure: Regenerated.
24882
8f834987
PP
248832017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
24884
24885 [BZ #22207]
24886 * stdlib/test-atexit-race-common.c (do_test): Minimize required
24887 VM size.
24888
3de93d19
DD
248892017-09-25 DJ Delorie <dj@redhat.com>
24890
24891 [BZ #22161]
24892 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
24893 resetting timeout.
24894
9947638d
SL
248952017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
24896
24897 * sysdeps/ieee754/dbl-64/sincos32.h
24898 [SINCCOS32_H]: Remove define.
24899 [SINCOS32_H]: Define.
24900
f5f0f526
SN
249012017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
24902
24903 * math/Versions (expf): New libm symbol at GLIBC_2.27.
24904 (exp2f): Likewise.
24905 * math/w_exp2f.c: New file.
24906 * math/w_expf.c: New file.
24907 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
24908 * math/w_expf_compat.c (__expf_compat): Likewise.
24909 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
24910 * sysdeps/ia64/fpu/e_expf.S: Likewise.
24911 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
24912 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
24913 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
24914 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
24915 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
24916 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
24917 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
24918 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
24919 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
24920 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
24921 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
24922 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
24923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
24924 Likewise.
24925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
24926 Likewise.
24927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
24928 Likewise.
24929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
24930 Likewise.
24931 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
24932 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
24933 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
24934 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
24935 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
24936 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
24937 Likewise.
24938 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
24939 Likewise.
24940 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
24941 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
24942 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
24943
72aa6233
SN
249442017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
24945
24946 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
24947 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
24948 (roundtoint, converttoint): Likewise.
24949 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
24950 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
24951 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
24952 * sysdeps/ieee754/flt-32/math_config.h: New file.
24953 * sysdeps/ieee754/flt-32/math_errf.c: New file.
24954 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
24955 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
24956 * sysdeps/i386/fpu/math_errf.c: New file.
24957 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
24958 * sysdeps/ia64/fpu/math_errf.c: New file.
24959 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
24960 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
24961
5e6f3253
ST
249622017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
24963
24964 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
24965 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
24966 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
24967 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
24968 to make sure that these symbols are defined.
b38a42a0
ST
24969 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
24970 of <limits.h>
24971 (__need_NULL): Do not define.
24972 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
24973 alignment.
24974 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
24975 CMGROUP_MAX, cmsgcred): Do not define.
24976 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
24977 NULL.
24978 * bits/socket.h: Likewise.
fcafcd16
ST
24979 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
24980 __gettimeofday instead of gettimeofday.
24981 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
24982 instead of settimeofday.
5e6f3253 24983
2f49ce7d
JM
249842017-09-22 Joseph Myers <joseph@codesourcery.com>
24985
24986 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
24987 (asinhf): Define using libm_alias_float.
24988 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
24989 (atanf): Define using libm_alias_float.
24990 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
24991 (cbrtf): Define using libm_alias_float.
24992 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
24993 (ceilf): Define using libm_alias_float.
24994 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
24995 <libm-alias-float.h>.
24996 (copysignf): Define using libm_alias_float.
24997 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
24998 (cosf): Define using libm_alias_float.
24999 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
25000 (erff): Define using libm_alias_float.
25001 (erfcf): Likewise.
25002 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
25003 (expm1f): Define using libm_alias_float.
25004 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
25005 (fabsf): Define using libm_alias_float.
25006 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
25007 (floorf): Define using libm_alias_float.
25008 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
25009 (frexpf): Define using libm_alias_float.
25010 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
25011 libm_alias_float.
25012 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
25013 <libm-alias-float.h>.
25014 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
25015 libm_alias_float.
25016 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
25017 <libm-alias-float.h>.
25018 (getpayloadf): Define using libm_alias_float.
25019 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
25020 <libm-alias-float.h>.
25021 (llrintf): Define using libm_alias_float.
25022 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
25023 <libm-alias-float.h>.
25024 (llroundf): Define using libm_alias_float.
25025 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
25026 (logbf): Define using libm_alias_float.
25027 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
25028 (lrintf): Define using libm_alias_float.
25029 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
25030 (lroundf): Define using libm_alias_float.
25031 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
25032 (modff): Define using libm_alias_float.
25033 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
25034 <libm-alias-float.h>.
25035 (nearbyintf): Define using libm_alias_float.
25036 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
25037 <libm-alias-float.h>.
25038 (nextafterf): Define using libm_alias_float.
25039 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
25040 <libm-alias-float.h>.
25041 (nextupf): Define using libm_alias_float.
25042 * sysdeps/ieee754/flt-32/s_remquof.c: Include
25043 <libm-alias-float.h>.
25044 (remquof): Define using libm_alias_float.
25045 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
25046 (rintf): Define using libm_alias_float.
25047 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
25048 <libm-alias-float.h>.
25049 (roundevenf): Define using libm_alias_float.
25050 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
25051 (roundf): Define using libm_alias_float.
25052 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
25053 using libm_alias_float.
25054 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
25055 <libm-alias-float.h>.
25056 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
25057 Define using libm_alias_float.
25058 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
25059 <libm-alias-float.h>.
25060 (sincosf): Define using libm_alias_float.
25061 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
25062 (sinf): Define using libm_alias_float.
25063 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
25064 (tanf): Define using libm_alias_float.
25065 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
25066 (tanhf): Define using libm_alias_float.
25067 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
25068 <libm-alias-float.h>.
25069 (totalorderf): Define using libm_alias_float.
25070 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
25071 <libm-alias-float.h>.
25072 (totalordermagf): Define using libm_alias_float.
25073 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
25074 (truncf): Define using libm_alias_float.
25075 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
25076 libm_alias_float.
25077 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
25078 libm_alias_float.
25079
c5c4a626
GG
250802017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
25081
25082 [BZ #22146]
25083 math/math.h: Let fpclassify use the builtin in C++ mode, even
25084 when optimazing for size.
25085
23947846
JM
250862017-09-22 Joseph Myers <joseph@codesourcery.com>
25087
25088 * csu/Makefile (generated): Do not add version-info.h.
25089 (before-compile): Likewise.
25090 (all-Banner-files): Remove variable.
25091 ($(objpfx)version-info.h): Remove rule.
25092 * csu/version.c (banner): Do not include "version-info.h".
25093 * libidn/Banner: Remove.
25094 * manual/contrib.texi (Simon Josefsson): New entry.
25095
9ac3c682
GG
250962017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
25097
25098 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
25099 Remove conditionals on LDBL_MANT_DIG.
25100 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
25101 (__ieee754_lgammal_r): Likewise.
25102
d2f0ed09
GG
251032017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
25104
25105 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
25106 _Float128 and L().
25107 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
25108 _Float128 and L(). Replace _Float128 with long double and L(x)
25109 with xL, throughout the file.
25110 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
25111 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
25112 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
25113 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
25114
c5c2e667
GG
251152017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
25116
25117 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
25118 sysdeps/ieee754/ldbl-128ibm.
25119 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
25120 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
25121 of including it. Keep _Float128 and L() intact. These will be
25122 reviewed by a separate patch.
25123 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
25124 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
25125 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
25126 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
25127
e010deb2
GG
251282017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
25129
25130 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
25131 (__finitef128): Define to __redirect___finitef128.
25132 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
25133 (__isinff128): Define to __redirect___isinff128.
25134 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
25135 (__isnanf128): Define to __redirect___isnanf128.
25136
ffa44804
GG
251372017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
25138
25139 * sysdeps/powerpc/powerpc64le/Makefile
25140 (CFLAGS-tst-strtod-nan-locale.c): New variable.
25141 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
25142
e5e4d7cc
PP
251432017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
25144 Carlos O'Donell <carlos@redhat.com>
25145
25146 [BZ #22180]
25147 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
25148 * stdlib/test-dlclose-exit-race.c: New file.
25149 * stdlib/test-dlclose-exit-race-helper.c: New file.
25150 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
25151
c10c5267
JM
251522017-09-21 Joseph Myers <joseph@codesourcery.com>
25153
25154 * crypt/Banner: Remove file.
25155 * nptl/Banner: Likewise.
25156 * resolv/Banner: Likewise.
25157 * soft-fp/Banner: Likewise.
25158 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
25159 ($(objpfx)version.d): Remove dependency on banner.h.
25160 ($(objpfx)version.os): Likewise.
25161 * nptl/version.c (banner): Do not include banner.h.
25162 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
25163 Jelinek and BIND code.
25164
1cc9e59a
PP
251652017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
25166 Carlos O'Donell <carlos@redhat.com>
25167
25168 * support/xdlfcn.h: New file.
25169 * support/xdlfcn.c: New file.
25170 * support/Makefile (libsupport-routines): Add xdlfcn.
25171 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
25172
ae8372d7
JM
251732017-09-20 Joseph Myers <joseph@codesourcery.com>
25174
25175 [BZ #20142]
25176 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25177 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
25178 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
25179 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
25180 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
25181 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
25182 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
25183 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
25184
26e70aec
PP
251852017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
25186 Ricky Zhou <rickyz@google.com>
25187 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
25188
25189 [BZ #14333]
25190 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
25191 Remove atomics.
25192 (__new_exitfn): Fail registration when we finished at_exit processing.
25193 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
25194 * stdlib/on_exit.c (__on_exit): Likewise.
25195 * stdlib/exit.c (__exit_funcs_done): New variable.
25196 (__run_exit_handlers): Use __exit_funcs_lock.
25197 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
25198 declarations.
25199 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
25200 (test-cxa_atexit-race, test-on_exit-race): New tests.
25201 * stdlib/test-atexit-race-common.c: New file.
25202 * stdlib/test-atexit-race.c: New file.
25203 * stdlib/test-at_quick_exit-race.c: New file.
25204 * stdlib/test-cxa_atexit-race.c: New file.
25205 * stdlib/test-on_exit-race.c: New file.
25206
0525ce48
SN
252072017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
25208
25209 * benchtests/Makefile: Add exp2f and log2f benchmarks.
25210 * benchtests/exp2f-inputs: Copy of expf-inputs.
25211 * benchtests/log2f-inputs: Copy of logf-inputs.
25212
d82468d1
JM
252132017-09-19 Joseph Myers <joseph@codesourcery.com>
25214
25215 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
25216 Explicitly take address of first element of array arguments in
25217 call to INLINE_SYSCALL.
25218
43ffc53a
AS
252192017-09-19 Andreas Schwab <schwab@suse.de>
25220
25221 [BZ #22134]
25222 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
25223 execveat first.
25224 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
25225 unimplemented.
25226 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
25227 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
25228 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
25229 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
25230 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
25231 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
25232 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25233 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
25234 * posix/Makefile (tests): Add tst-fexecve.
25235 * posix/tst-fexecve.c: New file.
25236
a5dcc87e
WD
252372017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
25238
25239 * benchtests/Makefile: Add logf benchmark.
25240 * benchtests/logf-inputs: Add reduced trace from wrf_r.
25241
7024d544
WD
252422017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
25243
25244 * benchtests/Makefile: Add expf benchmark.
25245 * benchtests/expf-inputs: Add reduced trace from wrf_r.
25246
ca3a382e
WD
252472017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
25248
25249 * csu/Makefile: Add -funwind-tables to libc-start.c.
25250 * debug/Makefile: Add -funwind-tables to backtrace.c.
25251 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
25252 * sysdeps/arm/Makefile: Likewise.
25253 * sysdeps/i386/Makefile: Likewise.
25254 * sysdeps/m68k/Makefile: Likewise.
25255 * sysdeps/mips/Makefile: Likewise.
25256 * sysdeps/nios2/Makefile: Likewise.
25257 * sysdeps/sh/Makefile: Likewise.
25258 * sysdeps/sparc/Makefile: Likewise.
25259
eb375def
JM
252602017-09-19 Joseph Myers <joseph@codesourcery.com>
25261
25262 * benchtests/Makefile (bench-math): Add trunc and truncf.
25263 (CFLAGS-bench-trunc.c): New variable.
25264 (CFLAGS-bench-truncf.c): Likewise.
25265 * benchtests/trunc-inputs: New file.
25266 * benchtests/truncf-inputs: Likewise.
25267
bd17ba29
RS
252682017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25269
25270 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
25271
92892fdb
JM
252722017-09-18 Joseph Myers <joseph@codesourcery.com>
25273
6d9b0b5a
JM
25274 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
25275 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
25276 redefine.
25277 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
25278 (exp10l): Define as weak alias.
25279 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
25280 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
25281 and redefine.
25282 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
25283 (remainderl): Define as weak alias.
25284
92892fdb
JM
25285 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
25286 (fmal): Define using libm_alias_ldouble.
25287 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
25288 (acoshl): Define using libm_alias_ldouble.
25289 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
25290 (acosl): Define using libm_alias_ldouble.
25291 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
25292 (asinl): Define using libm_alias_ldouble.
25293 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
25294 (atan2l): Define using libm_alias_ldouble.
25295 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
25296 (atanhl): Define using libm_alias_ldouble.
25297 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
25298 (coshl): Define using libm_alias_ldouble.
25299 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
25300 (exp10l): Define using libm_alias_ldouble.
25301 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
25302 (exp2l): Define using libm_alias_ldouble.
25303 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
25304 (expl): Define using libm_alias_ldouble.
25305 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
25306 (fmodl): Define using libm_alias_ldouble.
25307 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
25308 (hypotl): Define using libm_alias_ldouble.
25309 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
25310 (j0l): Define using libm_alias_ldouble.
25311 (y0l): Likewise.
25312 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
25313 (j1l): Define using libm_alias_ldouble.
25314 (y1l): Likewise.
25315 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
25316 (jnl): Define using libm_alias_ldouble.
25317 (ynl): Likewise.
25318 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
25319 (log10l): Define using libm_alias_ldouble.
25320 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
25321 (log2l): Define using libm_alias_ldouble.
25322 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
25323 (logl): Define using libm_alias_ldouble.
25324 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
25325 (powl): Define using libm_alias_ldouble.
25326 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
25327 (remainderl): Define using libm_alias_ldouble.
25328 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
25329 (sinhl): Define using libm_alias_ldouble.
25330 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
25331 (sqrtl): Define using libm_alias_ldouble.
25332 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
25333 (tgammal): Define using libm_alias_ldouble.
25334 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
25335 (exp10l): Do not use long_double_symbol here.
25336 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
25337 [LIBM_SVID_COMPAT] (remainderl): Likewise.
25338 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
25339 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
25340 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
25341 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
25342 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
25343 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
25344 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
25345 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
25346 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
25347 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
25348 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
25349 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
25350 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
25351 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
25352 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
25353 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
25354 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
25355 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
25356 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
25357 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
25358
6cd380dd
WB
253592017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
25360
25361 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
25362 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
25363
1c6d89e9
ST
253642017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
25365
25366 * io/read.c (read): Add libc_hidden_weak.
25367 * sysdeps/mach/hurd/read.c (read): Likewise.
25368 * io/write.c (write): Likewise.
25369 * sysdeps/mach/hurd/write.c (write): Likewise.
25370 * io/pread64.c (__pread64): Likewise.
25371 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
25372 * posix/pread64.c (__pread64): Add libc_hidden_def.
25373
06b1de23
SP
253742017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
25375
140647ea
SP
25376 * benchtests/scripts/compare_strings.py: New option -g.
25377 (draw_graph): Print a message that a graph is being generated.
25378 (process_results): Generate graph only if -g is passed.
25379 (main): Process option -g.
25380
5a6547b7
SP
25381 * benchtests/scripts/compare_strings.py (process_results):
25382 Better spacing for output.
25383
06b1de23
SP
25384 * benchtests/scripts/compare_strings.py: Use argparse.
25385 * benchtests/README: Document existence of compare_strings.py.
25386
c67a2328
JM
253872017-09-15 Joseph Myers <joseph@codesourcery.com>
25388
9ac44708
JM
25389 * math/s_fma.c: Include <libm-alias-double.h>.
25390 (fma): Define using libm_alias_double.
25391 * math/s_nextafter.c: Include <libm-alias-double.h>.
25392 (nextafter): Define using libm_alias_double.
25393 * math/w_acos_compat.c: Include <libm-alias-double.h>.
25394 (acos): Define using libm_alias_double.
25395 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
25396 (aocsh): Define using libm_alias_double.
25397 * math/w_asin_compat.c: Include <libm-alias-double.h>.
25398 (asin): Define using libm_alias_double.
25399 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
25400 (atan2): Define using libm_alias_double.
25401 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
25402 (atanh): Define using libm_alias_double.
25403 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
25404 (cosh): Define using libm_alias_double.
25405 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
25406 (exp10): Define using libm_alias_double.
25407 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
25408 (exp2): Define using libm_alias_double.
25409 * math/w_exp_compat.c: Include <libm-alias-double.h>.
25410 (exp): Define using libm_alias_double.
25411 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
25412 (fmod): Define using libm_alias_double.
25413 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
25414 (hypot): Define using libm_alias_double.
25415 * math/w_j0_compat.c: Include <libm-alias-double.h>.
25416 (j0): Define using libm_alias_double.
25417 (y0): Likewise.
25418 * math/w_j1_compat.c: Include <libm-alias-double.h>.
25419 (j1): Define using libm_alias_double.
25420 (y1): Likewise.
25421 * math/w_jn_compat.c: Include <libm-alias-double.h>.
25422 (jn): Define using libm_alias_double.
25423 (yn): Likewise.
25424 * math/w_log10_compat.c: Include <libm-alias-double.h>.
25425 (log10): Define using libm_alias_double.
25426 * math/w_log2_compat.c: Include <libm-alias-double.h>.
25427 (log2): Define using libm_alias_double.
25428 * math/w_log_compat.c: Include <libm-alias-double.h>.
25429 (log): Define using libm_alias_double.
25430 * math/w_pow_compat.c: Include <libm-alias-double.h>.
25431 (pow): Define using libm_alias_double.
25432 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
25433 (remainder): Define using libm_alias_double.
25434 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
25435 (sinh): Define using libm_alias_double.
25436 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
25437 (sqrt): Define using libm_alias_double.
25438 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
25439 (tgamma): Define using libm_alias_double.
25440 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
25441 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
25442 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
25443 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
25444 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
25445 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
25446 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
25447 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
25448 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
25449 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
25450 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
25451 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
25452 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
25453 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
25454 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
25455 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
25456 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
25457 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
25458 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
25459 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
25460 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
25461 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
25462 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
25463 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
25464 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
25465
c67a2328
JM
25466 * math/e_acoshl.c: Remove.
25467 * math/e_acosl.c: Likewise.
25468 * math/e_asinl.c: Likewise.
25469 * math/e_atan2l.c: Likewise.
25470 * math/e_atanhl.c: Likewise.
25471 * math/e_coshl.c: Likewise.
25472 * math/e_expl.c: Likewise.
25473 * math/e_fmodl.c: Likewise.
25474 * math/e_gammal_r.c: Likewise.
25475 * math/e_hypotl.c: Likewise.
25476 * math/e_j0l.c: Likewise.
25477 * math/e_j1l.c: Likewise.
25478 * math/e_jnl.c: Likewise.
25479 * math/e_lgammal_r.c: Likewise.
25480 * math/e_log10l.c: Likewise.
25481 * math/e_log2l.c: Likewise.
25482 * math/e_logl.c: Likewise.
25483 * math/e_powl.c: Likewise.
25484 * math/e_rem_pio2l.c: Likewise.
25485 * math/e_sinhl.c: Likewise.
25486 * math/e_sqrtf128.c: Likewise.
25487 * math/e_sqrtl.c: Likewise.
25488 * math/k_cosl.c: Likewise.
25489 * math/k_sinl.c: Likewise.
25490 * math/k_tanl.c: Likewise.
25491 * math/s_asinhl.c: Likewise.
25492 * math/s_atanl.c: Likewise.
25493 * math/s_cbrtl.c: Likewise.
25494 * math/s_erfl.c: Likewise.
25495 * math/s_expm1l.c: Likewise.
25496 * math/s_log1pl.c: Likewise.
25497 * math/s_tanhl.c: Likewise.
25498
61c45f25
TMQMF
254992017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25500
25501 [BZ #21745]
25502 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
25503 [$(subdir) = math] (sysdep_calls): New variable. Has the
25504 previous contents of sysdep_routines, but re-sorted..
25505 [$(subdir) = math] (sysdep_routines): Re-use the contents from
25506 sysdep_calls.
25507 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
25508 defined in sysdep_calls and replace by the respective m_* names.
25509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
25510 (compat_symbol): Undefine to avoid duplicated compat symbols in
25511 libc.
25512
5bcdb315
JM
255132017-09-15 Joseph Myers <joseph@codesourcery.com>
25514
25515 * math/s_fmaf.c: Include <libm-alias-float.h>.
25516 (fmaf): Define using libm_alias_float.
25517 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
25518 (acosf): Define using libm_alias_float.
25519 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
25520 (acoshf): Define using libm_alias_float.
25521 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
25522 (asinf): Define using libm_alias_float.
25523 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
25524 (atan2f): Define using libm_alias_float.
25525 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
25526 (atanhf): Define using libm_alias_float.
25527 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
25528 (coshf): Define using libm_alias_float.
25529 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
25530 (exp10f): Define using libm_alias_float.
25531 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
25532 (fmodf): Define using libm_alias_float.
25533 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
25534 (hypotf): Define using libm_alias_float.
25535 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
25536 (j0f): Define using libm_alias_float.
25537 (y0f): Likewise.
25538 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
25539 (j1f): Define using libm_alias_float.
25540 (y1f): Likewise.
25541 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
25542 (jnf): Define using libm_alias_float.
25543 (ynf): Likewise.
25544 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
25545 (log10f): Define using libm_alias_float.
25546 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
25547 (log2f): Define using libm_alias_float.
25548 * math/w_logf_compat.c: Include <libm-alias-float.h>.
25549 (logf): Define using libm_alias_float.
25550 * math/w_powf_compat.c: Include <libm-alias-float.h>.
25551 (powf): Define using libm_alias_float.
25552 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
25553 (remainderf): Define using libm_alias_float.
25554 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
25555 (sinhf): Define using libm_alias_float.
25556 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
25557 (sqrtf): Define using libm_alias_float.
25558 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
25559 (tgammaf): Define using libm_alias_float.
25560
01f28812
JM
255612017-09-14 Joseph Myers <joseph@codesourcery.com>
25562
25563 * include/math.h (roundeven): Change hidden_proto call to
25564 __roundeven.
25565 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
25566 alias.
25567 [NO_LONG_DOUBLE] (__j0l): New strong alias.
25568 (y0): Rename to __y0 and define as weak alias.
25569 [NO_LONG_DOUBLE] (__y0l): New strong alias.
25570 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
25571 alias.
25572 (y0f): Rename to __y0f and define as weak alias.
25573 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
25574 alias.
25575 [NO_LONG_DOUBLE] (__j1l): New strong alias.
25576 (y1): Rename to __y1 and define as weak alias.
25577 [NO_LONG_DOUBLE] (__y1l): New strong alias.
25578 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
25579 alias.
25580 (y1f): Rename to __y1f and define as weak alias.
25581 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
25582 alias.
25583 [NO_LONG_DOUBLE] (__jnl): New strong alias.
25584 (yn): Rename to __yn and define as weak alias.
25585 [NO_LONG_DOUBLE] (__ynl): New strong alias.
25586 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
25587 alias.
25588 (ynf): Rename to __ynf and define as weak alias.
25589 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
25590 (fromfp): Define as weak alias.
25591 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
25592 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
25593 (fromfpx): Define as weak alias.
25594 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
25595 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
25596 __getpayload and define as weak alias.
25597 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
25598 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
25599 __roundeven and define as weak alias.
25600 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
25601 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
25602 __setpayload.
25603 (setpayload): Define as weak alias.
25604 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
25605 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
25606 __setpayloadsig.
25607 (setpayloadsig): Define as weak alias.
25608 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
25609 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
25610 __totalorder and define as weak alias.
25611 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
25612 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
25613 to __totalordermag and define as weak alias.
25614 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
25615 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
25616 (ufromfp): Define as weak alias.
25617 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
25618 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
25619 __ufromfpx.
25620 (ufromfpx): Define as weak alias.
25621 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
25622 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
25623 Rename to __getpayload and define as weak alias.
25624 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
25625 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
25626 Rename to __roundeven and define as weak alias.
25627 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
25628 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
25629 Rename to __totalorder and define as weak alias.
25630 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
25631 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
25632 (totalordermag): Rename to __totalordermag and define as weak
25633 alias.
25634 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
25635 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
25636 macro.
25637 (__roundevenl): Likewise.
25638 (__totalorderl): Likewise.
25639 (__totalordermagl): Likewise
25640 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
25641 __fromfpf128.
25642 (fromfpf128): Define as weak alias.
25643 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
25644 __fromfpxf128.
25645 (fromfpxf128): Define as weak alias.
25646 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
25647 __setpayloadf128.
25648 (setpayloadf128): Define as weak alias.
25649 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
25650 __setpayloadsigf128.
25651 (setpayloadsigf128): Define as weak alias.
25652 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
25653 __ufromfpf128.
25654 (ufromfpf128): Define as weak alias.
25655 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
25656 __ufromfpxf128.
25657 (ufromfpxf128): Define as weak alias.
25658 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
25659 (fromfpf): Define as weak alias.
25660 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
25661 __fromfpxf.
25662 (fromfpxf): Define as weak alias.
25663 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
25664 __getpayloadf and define as weak alias.
25665 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
25666 __roundevenf and define as weak alias.
25667 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
25668 __setpayloadf.
25669 (setpayloadf): Define as weak alias.
25670 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
25671 __setpayloadsigf.
25672 (setpayloadsigf): Define as weak alias.
25673 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
25674 __totalorderf and define as weak alias.
25675 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
25676 Rename to __totalordermagf and define as weak alias.
25677 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
25678 __ufromfpf.
25679 (ufromfpf): Define as weak alias.
25680 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
25681 __ufromfpxf.
25682 (ufromfpxf): Define as weak alias.
25683 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
25684 __fromfpl.
25685 (fromfpl): Define as weak alias.
25686 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
25687 __fromfpxl.
25688 (fromfpxl): Define as weak alias.
25689 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
25690 to __getpayloadl and define as weak alias.
25691 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
25692 __roundevenl and define as weak alias.
25693 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
25694 __setpayloadl.
25695 (setpayloadl): Define as weak alias.
25696 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
25697 __setpayloadsigl.
25698 (setpayloadsigl): Define as weak alias.
25699 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
25700 to __totalorderl and define as weak alias.
25701 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
25702 Rename to __totalordermagl and define as weak alias.
25703 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
25704 __ufromfpl.
25705 (ufromfpl): Define as weak alias.
25706 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
25707 __ufromfpxl.
25708 (ufromfpxl): Define as weak alias.
25709 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
25710 __fromfpl.
25711 (fromfpl): Define as weak alias.
25712 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
25713 __fromfpxl.
25714 (fromfpxl): Define as weak alias.
25715 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
25716 Rename to __getpayloadl and define as weak alias.
25717 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
25718 to __roundevenl and define as weak alias. Call __roundeven
25719 instead of roundeven.
25720 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
25721 __setpayloadl.
25722 (setpayloadl): Define as weak alias.
25723 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
25724 __setpayloadsigl.
25725 (setpayloadsigl): Define as weak alias.
25726 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
25727 Rename to __totalorderl and define as weak alias.
25728 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
25729 Rename to __totalordermagl and define as weak alias.
25730 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
25731 __ufromfpl.
25732 (ufromfpl): Define as weak alias.
25733 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
25734 __ufromfpxl.
25735 (ufromfpxl): Define as weak alias.
25736 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
25737 __fromfpl.
25738 (fromfpl): Define as weak alias.
25739 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
25740 __fromfpxl.
25741 (fromfpxl): Define as weak alias.
25742 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
25743 __getpayloadl and define as weak alias.
25744 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
25745 __roundevenl and define as weak alias.
25746 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
25747 __setpayloadl.
25748 (setpayloadl): Define as weak alias.
25749 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
25750 __setpayloadsigl.
25751 (setpayloadsigl): Define as weak alias.
25752 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
25753 __totalorderl and define as weak alias.
25754 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
25755 Rename to __totalordermagl and define as weak alias.
25756 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
25757 __ufromfpl.
25758 (ufromfpl): Define as weak alias.
25759 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
25760 __ufromfpxl.
25761 (ufromfpxl): Define as weak alias.
25762
29c933fb
SP
257632017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
25764
503c92c3
SP
25765 * benchtests/bench-string.h (realloc_bufs): New function.
25766 (test_init): Call it.
25767 * benchtests/bench-memset-large.c (do_test): Likewise.
25768 * benchtests/bench-memset.c (do_test): Likewise.
25769
29c933fb
SP
25770 * benchtests/bench-memset-large.c: Print output in JSON
25771 format.
25772 * benchtests/bench-memset.c: Likewise.
25773
799c8d69
MF
257742017-09-14 Mike FABIAN <mfabian@redhat.com>
25775
25776 [BZ #21084]
25777 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
25778 * iconvdata/Makefile: Add IBM858.
25779 * iconvdata/gconv-modules: Likewise.
25780 * iconvdata/tst-tables.sh: Likewise.
25781 * iconvdata/ibm858.c: New file.
25782 * localedata/charmaps/IBM858: Likewise.
25783
c207f7ce 257842017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
fcc82c06
AK
25785
25786 [BZ #22023]
25787 * locales/niu_NZ (LC_TIME): copy "niu_NU".
25788 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
25789
f28a0926
AK
257902017-09-14 Mike FABIAN <mfabian@redhat.com>
25791
25792 [BZ #22112]
25793 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
25794 and add tel_int_fmt.
25795
02093e62
JM
257962017-09-14 Joseph Myers <joseph@codesourcery.com>
25797
25798 * sysdeps/generic/libm-alias-float128.h: New file.
25799 * sysdeps/generic/math-type-macros-float128.h: Include
25800 <libm-alias-float128.h>.
25801 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
25802
1aae75ef
JM
258032017-09-13 Joseph Myers <joseph@codesourcery.com>
25804
25805 * sysdeps/generic/libm-alias-ldouble.h: New file.
25806 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
25807 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
25808 * sysdeps/generic/math-type-macros-ldouble.h: Include
25809 <libm-alias-ldouble.h>.
25810 [!declare_mgen_alias] (declare_mgen_alias): Define to use
25811 libm_alias_ldouble.
25812
bcea7ad6
SN
258132017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
25814
25815 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
25816 * math/w_exp_compat.c: ... here.
25817 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
25818 * math/w_expf_compat.c: ... here.
25819 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
25820 * math/w_expl_compat.c: ... here.
25821 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
25822 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
25823 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
25824 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
25825
0fc56478
JM
258262017-09-13 Joseph Myers <joseph@codesourcery.com>
25827
25828 * math/w_scalbln_template.c (strong_alias): Do not undefine and
25829 redefine.
25830 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
25831 macro.
25832 (ldexpl): Only define as compat symbol for libc, not libm.
25833 (scalbnl): Define as compat symbol for libc here.
25834 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
25835 define for [IS_IN (libc)].
25836 (__ldexpl_2): Remove alias.
25837 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
25838 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
25839 name in long_double_symbol call.
25840 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
25841 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
25842 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
25843 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
25844 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
25845 Remove macro.
25846 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
25847 Define as compat symbol.
25848
3ca622e4
AZ
258492017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25850
25851 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
25852 * sysdeps/unix/sysv/linux/alpha/Makefile
25853 [$(subdir) = csu] (sysdep_routines): Remove rule.
25854
620ff9ee
JM
258552017-09-13 Joseph Myers <joseph@codesourcery.com>
25856
25857 * sysdeps/generic/libm-alias-double.h: New file.
25858 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
25859 * sysdeps/generic/math-type-macros-double.h: Include
25860 <libm-alias-double.h>.
25861 [declare_mgen_alias] (declare_mgen_alias): Define to use
25862 libm_alias_double.
25863 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
25864 (M_LIBM_NEED_COMPAT): Remove macro.
25865 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
25866 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
25867 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
25868 code.
25869 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25870 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25871 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25872 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25873 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25874 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25875 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25876 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25877 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25878 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25879 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25880 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25881 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25882 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25883 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25884 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25885 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25886 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25887 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25888 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25889 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25890 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25891 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25892 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25893 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25894 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25895 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
25896 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
25897 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
25898 macro.
25899 (declare_mgen_alias): New macro.
25900 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
25901 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
25902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
25903 (M_LIBM_NEED_COMPAT): Remove macro.
25904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
25905 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
25906 <first-versions.h>.
25907 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
25908 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
25909
a891caff
JM
259102017-09-12 Joseph Myers <joseph@codesourcery.com>
25911
25912 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
25913 (declare_mgen_alias_2): Remove.
25914 * sysdeps/generic/math-type-macros-double.h
25915 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
25916 Likewise.
25917 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
25918 alias.
25919 (ldexp): Define with declare_mgen_alias.
25920 (scalbn): Likewise.
25921
a1a78204
SE
259222017-09-12 Steve Ellcey <sellcey@cavium.com>
25923
25924 * grp/initgroups.c: Include config.h.
25925 (DEFAULT_CONFIG): New macro.
25926 (internal_getgrouplist): Use DEFAULT_CONFIG.
25927 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25928 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
25929 (DEFAULT_DEFCONFIG): New macro.
25930 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
25931 * nss/grp-lookup.c: Include config.h
25932 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
25933 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
25934 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
25935 * manual/nss.texi: Update default values section.
25936
ef8adeb0
L
259372017-09-12 H.J. Lu <hongjiu.lu@intel.com>
25938
25939 [BZ #21967]
25940 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
25941 New.
25942 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
25943 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
25944 Handle MathVec_Prefer_No_AVX512.
25945 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
25946 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
25947 is set.
25948
a166531f
ST
259492017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
25950
25951 * posix/sched_primax.c (__sched_get_priority_max): Add
25952 libc_hidden_def.
25953 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
25954 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
25955 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
25956 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
25957 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
25958 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
25959 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
25960 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
25961 Add aliases.
25962
4b7d1efb
JM
259632017-09-11 Joseph Myers <joseph@codesourcery.com>
25964
25965 * sysdeps/generic/libm-alias-float.h: New file.
25966 * sysdeps/generic/math-type-macros-float.h: Include
25967 <libm-alias-float.h>.
25968 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
25969
45ff3463
L
259702017-09-11 H.J. Lu <hongjiu.lu@intel.com>
25971
25972 [BZ #22093]
25973 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
25974 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
25975 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
25976 (HWCAP_IMPORTANT): Likewise.
25977 (HWCAP_X86_64): New enum.
25978 (HWCAP_X86_AVX512_1): Updated.
25979 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
25980 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
25981 (modules-names): Add x86_64/tst-x86_64mod-1.
25982 (LDFLAGS-tst-x86_64mod-1.so): New.
25983 ($(objpfx)tst-x86_64-1): Likewise.
25984 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
25985 (tst-x86_64-1-clean): Likewise.
25986 * sysdeps/x86_64/tst-x86_64-1.c: New file.
25987 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
25988
891abfd3
SP
259892017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
25990
25991 * po/sv.po: Update translations.
25992 * po/fr.po: Likewise.
25993
00c3da43
ST
259942017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25995
25996 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
25997 seconds.
3bdfd9fb
ST
25998 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
25999 seconds.
65b22ebc 26000 * elf/rtld-Rules: Fix $(error) use.
00c3da43 26001
96480903
MF
260022017-09-09 Mike FABIAN <mfabian@redhat.com>
26003
26004 [BZ #14925]
26005 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
26006 * locale/iso-639.def: Change “Bengali” to “Bangla”.
26007 * localedata/locales/bn_BD: “Bengali” was still used in some
26008 comments. Change it to “Bangla”.
26009
4c03a696
MT
260102017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
26011
26012 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
26013
9c9ec581
SE
260142017-09-08 Steve Ellcey <sellcey@cavium.com>
26015
26016 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
26017 thunderx2t99p1 to list of cpu names.
26018 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
26019 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
26020
f00bce74
SE
260212017-09-08 Steve Ellcey <sellcey@cavium.com>
26022
26023 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
26024 Use strcmp instead of tunable_is_name.
26025
27342d17
JM
260262017-09-08 Joseph Myers <joseph@codesourcery.com>
26027
af1b7c8c
JM
26028 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
26029 (F_GET_RW_HINT): New macro.
26030 [__USE_GNU] (F_SET_RW_HINT): Likewise.
26031 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
26032 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
26033 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
26034 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
26035 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
26036 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
26037 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
26038 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
26039
27342d17
JM
26040 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
26041 (F_ADD_SEALS): New macro.
26042 [__USE_GNU] (F_GET_SEALS): Likewise.
26043 [__USE_GNU] (F_SEAL_SEAL): Likewise.
26044 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
26045 [__USE_GNU] (F_SEAL_GROW): Likewise.
26046 [__USE_GNU] (F_SEAL_WRITE): Likewise.
26047
c66c9082
AZ
260482017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26049
07b4f49d
AZ
26050 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
26051 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
26052 * posix/glob_internal.h (__glob_pattern_type):
26053 * posix/glob.c (glob):
26054 * posix/glob_pattern_p.c (__glob_pattern_p):
26055 Use them.
26056
116f1c64
AZ
26057 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
26058 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
26059 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
26060 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
26061 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
26062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
26063 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
26064 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
26065 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
26066 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
26067 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
26068 * sysdeps/wordsize-64/glob.c: Likewise.
26069 * sysdeps/wordsize-64/glob64.c: Likewise.
26070 * sysdeps/wordsize-64/globfree.c: Likewise.
26071 * sysdeps/wordsize-64/globfree64.c: Likewise.
26072 * sysdeps/unix/sysv/linux/glob.c: New file.
26073 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
26074 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
26075 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
26076 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
26077 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
26078 adds !GLOB_NO_OLD_VERSION as an extra condition.
26079 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
26080 using relative path instead of absolute one.
26081 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
26082 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
26083 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
26084 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
26085 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
26086 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
26087
ffca8901
AZ
26088 [BZ #1062]
26089 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
26090 (glob): Use the same scratch buffer for both getlogin_r and
26091 getpwnam_r. Don’t require preallocation of the login name. This
26092 simplifies storage allocation, and corrects the handling of
26093 long login names.
26094
5a79f975
AZ
26095 [BZ #1062]
26096 * posix/glob.c (glob): Port recent patches to platforms
26097 lacking getpwnam_r.
26098 (glob): Fix longstanding misuse of errno after getpwnam_r, which
26099 returns an error number rather than setting errno.
26100
e00f2425
AZ
26101 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
26102 instead of GCC extension.
26103 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
26104 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
26105 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
26106
5554304f
AZ
26107 [BZ #866]
26108 [BZ #1062]
26109 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
26110 * posix/bug-glob1.c: Remove file.
26111 * posix/tst-glob_symlinks.c: New file.
26112 * posix/glob.c (__lstat64): New macro.
26113 (is_dir): New function.
26114 (glob, glob_in_dir): Match symlinks even if they are dangling.
26115 (link_stat, link_exists_p): Remove. All uses removed.
26116
686f2ea1
AZ
26117 [BZ #1062]
26118 [BZ #19971]
26119 * posix/glob.c (struct readdir_result): Remove skip_entry member.
26120 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
26121 All uses removed.
26122
c66c9082 26123 [BZ #1062]
914c9994 26124 CVE-2017-15671
c66c9082
AZ
26125 * posix/Makefile (routines): Add globfree, globfree64, and
26126 glob_pattern_p.
26127 * posix/flexmember.h: New file.
26128 * posix/glob_internal.h: Likewise.
26129 * posix/glob_pattern_p.c: Likewise.
26130 * posix/globfree.c: Likewise.
26131 * posix/globfree64.c: Likewise.
26132 * sysdeps/gnu/globfree64.c: Likewise.
26133 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
26134 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
26135 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
26136 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
26137 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
26138 * sysdeps/wordsize-64/globfree.c: Likewise.
26139 * sysdeps/wordsize-64/globfree64.c: Likewise.
26140 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
26141 [NDEBUG): Remove comments.
26142 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
26143 (dirent_type): New type. Use uint_fast8_t not
26144 uint8_t, as C99 does not require uint8_t.
26145 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
26146 (struct readdir_result): Use dirent_type. Do not define skip_entry
26147 unless it is needed; this saves a byte on platforms lacking d_ino.
26148 (readdir_result_type, readdir_result_skip_entry):
26149 New functions, replacing ...
26150 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
26151 these functions, which were removed. This makes the callers
26152 easier to read. All callers changed.
26153 (D_INO_TO_RESULT): Now empty if there is no d_ino.
26154 (size_add_wrapv, glob_use_alloca): New static functions.
26155 (glob, glob_in_dir): Check for size_t overflow in several places,
26156 and fix some size_t checks that were not quite right.
26157 Remove old code using SHELL since Bash no longer
26158 uses this.
26159 (glob, prefix_array): Separate MS code better.
26160 (glob_in_dir): Remove old Amiga and VMS code.
26161 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
26162 separate files.
26163 (glob_in_dir): Do not rely on undefined behavior in accessing
26164 struct members beyond their bounds. Use a flexible array member
26165 instead
26166 (link_stat): Rename from link_exists2_p and return -1/0 instead of
26167 0/1. Caller changed.
26168 (glob): Fix memory leaks.
26169 * posix/glob64 (globfree64): Move to separate file.
26170 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
26171 (globfree64): Remove hidden alias.
26172 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
26173 oldglob.
26174 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
26175 separate file.
26176 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
26177 define.
26178 Move compat code to separate file.
26179 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
26180 separate file.
26181
78bfa877
L
261822017-09-07 H.J. Lu <hongjiu.lu@intel.com>
26183
26184 * resolv/tst-resolv-qtypes.c (domain): Changed to
26185 "const char domain[] =".
26186
05f0011f
JM
261872017-09-07 Joseph Myers <joseph@codesourcery.com>
26188
85bec0f2
JM
26189 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
26190 version to 3.1.6.
26191
5c23ee6e
JM
26192 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
26193 (TCP_MD5SIG_EXT): Likewise.
26194 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
26195 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
26196 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
26197
05f0011f
JM
26198 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
26199
7c9c5be9
MF
262002017-09-07 Mike FABIAN <mfabian@redhat.com>
26201
26202 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
26203
c207f7ce 262042017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
ae214523
AK
26205
26206 [BZ #22100]
26207 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
26208
507fe027
ST
262092017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
26210
26211 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
26212 before assuming that the file is empty. Avoid testing buffer content
26213 when nread == 0.
26214
65687ac7
AZ
262152017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26216
7bbbb4b9 26217 [BZ #18858]
65687ac7
AZ
26218 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
26219 Remove define.
26220 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
26221 Likewise.
26222 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
26223 Likewise.
26224 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
26225 Likewise.
26226 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
26227 Likewise.
26228 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
26229 Likewise.
26230 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
26231 Likewise.
26232
ab5ac271
FW
262332017-09-06 Florian Weimer <fweimer@redhat.com>
26234
26235 * malloc/dynarray_emplace_enlarge.c
26236 (__libc_dynarray_emplace_enlarge): Add missing else.
26237
a8304730
FW
262382017-09-06 Florian Weimer <fweimer@redhat.com>
26239
26240 [BZ #22096]
26241 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
26242 case of failure to obtain the global conf object.
26243
5670c4ab
FW
262442017-09-06 Florian Weimer <fweimer@redhat.com>
26245
26246 [BZ #22095]
26247 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
26248 dynarray allocation failure.
26249
c77eb969
FW
262502017-09-06 Florian Weimer <fweimer@redhat.com>
26251
26252 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
26253 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
26254 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
26255 New functions.
26256 (response): Call them. Add 'p', '6' flag processing.
26257 (test_reverse): New function.
26258 (test_get2_any): Call it.
26259 (test_no_inet6): Add 'p' test.
26260 (test_inet6): Likewise.
26261
5e9c4d17
FW
262622017-09-06 Florian Weimer <fweimer@redhat.com>
26263
26264 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
26265 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
26266 the QNAME.
26267 (test_gai): Adjust query names. Add additional tests.
26268 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
26269 test_get2. Adjust query names. Add additional tests.
26270 (test_no_inet6): New function, extracted from threadfunc.
26271 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
26272 Add additional tests.
26273
2ae5be04
MF
262742017-09-06 Mike FABIAN <mfabian@redhat.com>
26275
26276 [BZ #22070]
26277 * localedata/unicode-gen/utf8_gen.py: Set the width for
26278 characters with Prepended_Concatenation_Mark property to 1
26279 * localedata/charmaps/UTF-8: Updated using the improved script.
26280
af83ed5c
MF
262812017-09-06 Mike FABIAN <mfabian@redhat.com>
26282
26283 [BZ #21750]
26284 * localedata/unicode-gen/utf8_gen.py: Improve the script to
26285 use the range notation for all ranges of neighbouring characters
26286 with the same width.
26287
4f3647e4
JM
262882017-09-05 Joseph Myers <joseph@codesourcery.com>
26289
26290 * sysdeps/generic/math-type-macros-double.h: Include
26291 <math-svid-compat.h>.
26292 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
26293 * sysdeps/generic/math-type-macros-float.h: Include
26294 <math-svid-compat.h>.
26295 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
26296 * sysdeps/generic/math-type-macros-ldouble.h: Include
26297 <math-svid-compat.h>.
26298 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
26299 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
26300 condition.
26301 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
26302 * math/w_acosf_compat.c: Likewise.
26303 * math/w_acosh_compat.c: Likewise.
26304 * math/w_acoshf_compat.c: Likewise.
26305 * math/w_acoshl_compat.c: Likewise.
26306 * math/w_acosl_compat.c: Likewise.
26307 * math/w_asin_compat.c: Likewise.
26308 * math/w_asinf_compat.c: Likewise.
26309 * math/w_asinl_compat.c: Likewise.
26310 * math/w_atan2_compat.c: Likewise.
26311 * math/w_atan2f_compat.c: Likewise.
26312 * math/w_atan2l_compat.c: Likewise.
26313 * math/w_atanh_compat.c: Likewise.
26314 * math/w_atanhf_compat.c: Likewise.
26315 * math/w_atanhl_compat.c: Likewise.
26316 * math/w_cosh_compat.c: Likewise.
26317 * math/w_coshf_compat.c: Likewise.
26318 * math/w_coshl_compat.c: Likewise.
26319 * math/w_exp10_compat.c: Likewise.
26320 * math/w_exp10f_compat.c: Likewise.
26321 * math/w_exp10l_compat.c: Likewise.
26322 * math/w_exp2_compat.c: Likewise.
26323 * math/w_exp2f_compat.c: Likewise.
26324 * math/w_exp2l_compat.c: Likewise.
26325 * math/w_fmod_compat.c: Likewise.
26326 * math/w_fmodf_compat.c: Likewise.
26327 * math/w_fmodl_compat.c: Likewise.
26328 * math/w_hypot_compat.c: Likewise.
26329 * math/w_hypotf_compat.c: Likewise.
26330 * math/w_hypotl_compat.c: Likewise.
26331 * math/w_j0_compat.c: Likewise.
26332 * math/w_j0f_compat.c: Likewise.
26333 * math/w_j0l_compat.c: Likewise.
26334 * math/w_j1_compat.c: Likewise.
26335 * math/w_j1f_compat.c: Likewise.
26336 * math/w_j1l_compat.c: Likewise.
26337 * math/w_jn_compat.c: Likewise.
26338 * math/w_jnf_compat.c: Likewise.
26339 * math/w_jnl_compat.c: Likewise.
26340 * math/w_lgamma_r_compat.c: Likewise.
26341 * math/w_lgammaf_r_compat.c: Likewise.
26342 * math/w_lgammal_r_compat.c: Likewise.
26343 * math/w_log10_compat.c: Likewise.
26344 * math/w_log10f_compat.c: Likewise.
26345 * math/w_log10l_compat.c: Likewise.
26346 * math/w_log2_compat.c: Likewise.
26347 * math/w_log2f_compat.c: Likewise.
26348 * math/w_log2l_compat.c: Likewise.
26349 * math/w_log_compat.c: Likewise.
26350 * math/w_logf_compat.c: Likewise.
26351 * math/w_logl_compat.c: Likewise.
26352 * math/w_pow_compat.c: Likewise.
26353 * math/w_powf_compat.c: Likewise.
26354 * math/w_powl_compat.c: Likewise.
26355 * math/w_remainder_compat.c: Likewise.
26356 * math/w_remainderf_compat.c: Likewise.
26357 * math/w_remainderl_compat.c: Likewise.
26358 * math/w_sinh_compat.c: Likewise.
26359 * math/w_sinhf_compat.c: Likewise.
26360 * math/w_sinhl_compat.c: Likewise.
26361 * math/w_sqrt_compat.c: Likewise.
26362 * math/w_sqrtf_compat.c: Likewise.
26363 * math/w_sqrtl_compat.c: Likewise.
26364 * math/w_tgamma_compat.c: Likewise.
26365 * math/w_tgammaf_compat.c: Likewise.
26366 * math/w_tgammal_compat.c: Likewise.
26367 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
26368 [LIBM_SVID_COMPAT].
26369 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
26370 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
26371 [LIBM_SVID_COMPAT].
26372 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
26373 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
26374 [LIBM_SVID_COMPAT].
26375 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
26376 * sysdeps/i386/fpu/w_sqrt.c: New file.
26377 * sysdeps/ia64/fpu/w_acos.c: Likewise.
26378 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
26379 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
26380 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
26381 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
26382 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
26383 * sysdeps/ia64/fpu/w_asin.c: Likewise.
26384 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
26385 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
26386 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
26387 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
26388 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
26389 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
26390 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
26391 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
26392 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
26393 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
26394 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
26395 * sysdeps/ia64/fpu/w_exp.c: Likewise.
26396 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
26397 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
26398 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
26399 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
26400 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
26401 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
26402 * sysdeps/ia64/fpu/w_expf.c: Likewise.
26403 * sysdeps/ia64/fpu/w_expl.c: Likewise.
26404 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
26405 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
26406 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
26407 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
26408 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
26409 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
26410 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
26411 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
26412 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
26413 * sysdeps/ia64/fpu/w_log.c: Likewise.
26414 * sysdeps/ia64/fpu/w_log10.c: Likewise.
26415 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
26416 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
26417 * sysdeps/ia64/fpu/w_log2.c: Likewise.
26418 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
26419 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
26420 * sysdeps/ia64/fpu/w_logf.c: Likewise.
26421 * sysdeps/ia64/fpu/w_logl.c: Likewise.
26422 * sysdeps/ia64/fpu/w_pow.c: Likewise.
26423 * sysdeps/ia64/fpu/w_powf.c: Likewise.
26424 * sysdeps/ia64/fpu/w_powl.c: Likewise.
26425 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
26426 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
26427 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
26428 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
26429 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
26430 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
26431 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
26432 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
26433 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
26434 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
26435 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
26436 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
26437 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
26438 [LIBM_SVID_COMPAT].
26439 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
26440 * sysdeps/ieee754/k_standard.c: Likewise.
26441 * sysdeps/ieee754/k_standardf.c: Likewise.
26442 * sysdeps/ieee754/k_standardl.c: Likewise.
26443 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
26444 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
26445 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
26446 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
26447 long_double_symbol call on [LIBM_SVID_COMPAT].
26448 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
26449 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
26450 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
26451 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
26452 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
26453 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
26454 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
26455 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
26456 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
26457 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
26458 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
26459 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
26460 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
26461 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
26462 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
26463 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
26464 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
26465 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
26466 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
26467 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
26468 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
26469 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
26470
05b38d64
SE
264712017-09-05 Steve Ellcey <sellcey@cavium.com>
26472
26473 * include/shlib-compat.h (TEST_COMPAT): New Macro.
26474 * malloc/tst-mallocstate.c: Convert from test-skeleton
26475 to test-driver. Ifdef code using TEST_COMPAT macro.
26476 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
26477 * math/test-matherr.c: Likewise.
26478
99d67918
JM
264792017-09-05 Joseph Myers <joseph@codesourcery.com>
26480
26481 [BZ #22086]
26482 * debug/pcprofiledump.c (main): Use byte-swapped mask when
26483 comparing word with byte-swapped constant.
26484
c207f7ce 264852017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
3f802aeb
MF
26486
26487 [BZ #20498]
26488 * locale/iso-639.def: add Miskito.
26489 * localedata/SUPPORTED: Add miq_NI/UTF-8.
26490 * localedata/locales/miq_NI: New file.
26491
0a587a8a
L
264922017-09-04 H.J. Lu <hongjiu.lu@intel.com>
26493
26494 [BZ #18822]
26495 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
26496 (__mkdir): Likewise.
26497 * io/chmod.c (__chmod): Add libc_hidden_def.
26498 * io/mkdir.c (__mkdir): Likewise.
26499 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
26500 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
26501 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
26502 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
26503
f3a129b8
JM
265042017-09-04 Joseph Myers <joseph@codesourcery.com>
26505
1650e192
JM
26506 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
26507 version to 4.13.
26508
f3a129b8
JM
26509 [BZ #22082]
26510 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
26511 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
26512
b38042f5
FW
265132017-09-04 Florian Weimer <fweimer@redhat.com>
26514
26515 * math/math.h: Issue warning if log is defined.
26516
059b6404
JM
265172017-09-04 Joseph Myers <joseph@codesourcery.com>
26518
26519 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
26520 kernel version to 4.13.
26521
b794e16b
ST
265222017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
26523
26524 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
06cf9d31
ST
26525 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
26526 parameter.
01969395
ST
26527 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
26528 just <bits/types.h>.
dd2b31de 26529 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
ed95bf56 26530 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
dd2b31de 26531 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
ed95bf56 26532 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
2263ca7c
ST
26533 * misc/preadv2.c: Include <errno.h>.
26534 * misc/preadv64v2.c: Include <errno.h>.
26535 * misc/pwritev2.c: Include <errno.h>.
26536 * misc/pwritev64v2.c: Include <errno.h>.
26537 * sysdeps/posix/preadv2.c: Include <errno.h>.
26538 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
26539 Fix <unistd.h> inclusion.
26540 * sysdeps/posix/pwritev2.c: Include <errno.h>.
26541 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
cae3d712
ST
26542 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
26543 __strtoul_internal): New functions.
127e7773
ST
26544 * sysdeps/posix/pause.c: Include <sigsetops.h>.
26545 * sysdeps/posix/system.c: Include <sigsetops.h>.
f85958a7
ST
26546 * sysdeps/mach/hurd/i386/Makefile
26547 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
26548 [$(subdir) = csu] (sysdep-only-routines): Likewise.
26549 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
1946d950
ST
26550 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
26551 __feraiseexcept_renamed to feraiseexcept instead of
26552 __GI_feraiseexcept.
56bf5497 26553 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
2ce1f9ef 26554 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
492cbbed
ST
26555 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
26556 RWF_NOWAIT): Define to 0 if undefined already.
26557 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
26558 boils down to 0.
6547ec0a
ST
26559 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
26560 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
b794e16b 26561
5a80d39d
JM
265622017-09-01 Joseph Myers <joseph@codesourcery.com>
26563
26564 * manual/math.texi (pow10): Do not document.
26565 (pow10f): Likewise.
26566 (pow10l): Likewise.
26567 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
26568 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
26569 * math/libm-test-exp10.inc (pow10_test): Remove.
26570 (do_test): Do not call pow10.
26571 * math/w_exp10_compat.c (pow10): Make into compat symbol.
26572 [NO_LONG_DOUBLE] (pow10l): Likewise.
26573 * math/w_exp10f_compat.c (pow10f): Likewise.
26574 * math/w_exp10l_compat.c (pow10l): Likewise.
26575 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
26576 (pow10): Make into compat symbol.
26577 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
26578 (pow10f): Make into compat symbol.
26579 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
26580 (pow10l): Make into compat symbol.
26581 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
26582 pow10.
26583 (CFLAGS-nldbl-pow10.c): Remove variable..
26584 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
26585 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
26586 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
26587 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
26588 Undefine and redefine.
26589 (pow10l): Make into compat symbol.
26590 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
26591 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
26592 * sysdeps/arm/libm-test-ulps: Likewise.
26593 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
26594 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
26595 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26596 * sysdeps/microblaze/libm-test-ulps: Likewise.
26597 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
26598 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
26599 * sysdeps/nios2/libm-test-ulps: Likewise.
26600 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26601 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
26602 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26603 * sysdeps/sh/libm-test-ulps: Likewise.
26604 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26605 * sysdeps/tile/libm-test-ulps: Likewise.
26606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26607
3824fc38
PP
266082017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
26609
26610 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
26611
b3008279
L
266122017-09-01 H.J. Lu <hongjiu.lu@intel.com>
26613
26614 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
26615 "../ChangeLog.old/ChangeLog.8".
26616 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
26617 "../ChangeLog.old/ChangeLog.14".
26618
136fa185
L
266192017-09-01 H.J. Lu <hongjiu.lu@intel.com>
26620
26621 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
26622 Threads Library.
26623
c18d50a2
JM
266242017-09-01 Joseph Myers <joseph@codesourcery.com>
26625
26626 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
26627
bedbd859
L
266282017-09-01 H.J. Lu <hongjiu.lu@intel.com>
26629
26630 * csu/version.c (banner): Remove "by Roland McGrath et al.".
26631 * nptl/Banner: Remove "by Ulrich Drepper et al.".
26632
50c66c7a
PP
266332017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
26634
26635 * stdlib/tst-atexit-common.c (do_test): Test support for at least
26636 32 atexit handlers.
26637
a617bd11
ZW
266382017-09-01 Zack Weinberg <zackw@panix.com>
26639
26640 * math/math.h (HUGE_VAL): Improve commentary.
26641
e0d2eb5a
AZ
266422017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26643 Andreas Schwab <schwab@suse.de>
26644
26645 [BZ #21530]
26646 * include/stdio.h (__gen_tempfd): New function.
26647 * stdio-common/Makefile (routines): Add gentempfd.
26648 * stdio-common/gentempfd.c: New file.
26649 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
26650 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
26651 unnamed file first.
26652
f4a6be25
FW
266532017-09-01 Florian Weimer <fweimer@redhat.com>
26654
26655 [BZ #21915]
26656 [BZ #21922]
26657 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
26658 result to determine success or failure, not the errno value.
26659 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
26660 (tst-nss-files-hosts-erange): Link with -ldl.
26661 * nss/tst-nss-files-hosts-erange.c: New file.
26662 * nss/tst-resolv-basic.c (response): Handle nodata.example.
26663 (do_test): Add NO_DATA tests.
26664 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
26665 (do_test): Call it.
26666
5f8340f5
FW
266672017-09-01 Florian Weimer <fweimer@redhat.com>
26668
26669 [BZ #21922]
26670 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
26671 coming from gethostbyname2_r.
26672
65329bd2
FW
266732017-09-01 Florian Weimer <fweimer@redhat.com>
26674
26675 * support/namespace.h (struct support_chroot_configuration): Add
26676 hosts, host_conf.
26677 (struct support_chroot): Add path_hosts, path_host_conf.
26678 * support/support_chroot.c (write_file): New function.
26679 (support_chroot_create): Call it to process /etc/resolv.conf,
26680 /etc/hosts, /etc/host.conf.
26681 (support_chroot_free): Update.
26682
a2881ef0
FW
266832017-09-01 Florian Weimer <fweimer@redhat.com>
26684
26685 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
26686 status indicates it is set.
26687
ad816a5e
FW
266882017-09-01 Florian Weimer <fweimer@redhat.com>
26689
63b52889 26690 [BZ #20532]
ad816a5e
FW
26691 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
26692 function lookup failures more reliable.
26693
53250a21
FW
266942017-09-01 Florian Weimer <fweimer@redhat.com>
26695
26696 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
26697 (getcanonname): Likewise.
26698 (gaih_inet): Likewise.
26699
924b121c
FW
267002017-09-01 Florian Weimer <fweimer@redhat.com>
26701
26702 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
26703 (getcanonname): Likewise.
26704 (gaih_inet): Likewise.
26705
d9ff799a
SE
267062017-08-31 Steve Ellcey <sellcey@cavium.com>
26707 Richard Henderson <rth@twiddle.net>
26708
26709 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
26710 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
26711 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
26712 (IREG_SIZE, OREG_SIZE): New macros.
26713 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
26714 (IREG_SIZE, OREG_SIZE): New macros.
26715 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
26716 (IREG_SIZE): New macro.
26717 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
26718 (IREG_SIZE): New macro.
26719 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
26720 New includes.
26721 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
26722 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
26723 (__CONCATX): Handle exceptions correctly on large values that may
26724 set FE_INVALID.
26725 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
26726 Initialize if not already set.
26727 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
26728
102dde84
AZ
267292017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26730
26731 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
26732 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
26733 Likewise.
26734 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
26735 Likewise.
26736 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
26737 Likewise.
26738 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
26739 Likewise.
26740 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
26741 Likewise.
26742 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
26743 Likewise.
26744 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
26745 Likewise.
26746 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
26747 (NO_CANCELLATION): Likewise.
26748 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
26749 Likewise.
26750 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
26751 Likewise.
26752 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
26753 Likewise.
26754 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
26755 (NO_CANCELLATION): Likewise.
26756 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
26757 (NO_CANCELLATION): Likewise.
26758 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
26759 Likewise
26760 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
26761 Likewise.
26762 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
26763 Likewise.
26764 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
26765 Likewise.
26766 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
26767 hidden prototype.
26768 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
26769 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
26770
9eee633b
SE
267712017-08-31 Steve Ellcey <sellcey@cavium.com>
26772
26773 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
26774 in resolver call.
26775
65284eb7
FW
267762017-08-31 Florian Weimer <fweimer@redhat.com>
26777
26778 * include/libc-symbols.h (internal_function): Remove.
26779
41ad5ca6
FW
267802017-08-31 Florian Weimer <fweimer@redhat.com>
26781
26782 * stdlib/fmtmsg.c (internal_addseverity): Remove
26783 internal_function.
26784
2fa6d086
FW
267852017-08-31 Florian Weimer <fweimer@redhat.com>
26786
26787 * stdio-common/printf_fp.c (group_number): Remove
26788 internal_function.
26789 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
26790
b41bd5bc
FW
267912017-08-31 Florian Weimer <fweimer@redhat.com>
26792
26793 * posix/fnmatch.c (internal_function): Remove definition.
26794 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
26795 * posix/regcomp.c (peek_token, init_word_char)
26796 (duplicate_node_closure, fetch_token, peek_token)
26797 (peek_token_bracket, build_range_exp, build_collating_symbol):
26798 Likewise.
26799 * posix/regex_internal.c (re_string_construct_common)
26800 (create_ci_newstate, create_cd_newstate, re_string_allocate)
26801 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
26802 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
26803 (re_string_translate_buffer, re_string_reconstruct)
26804 (re_string_peek_byte_case, re_string_fetch_byte_case)
26805 (re_string_destruct, re_string_context_at, re_node_set_alloc)
26806 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
26807 (re_node_set_add_intersect, re_node_set_init_union)
26808 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
26809 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
26810 (re_dfa_add_node, calc_state_hash, re_acquire_state)
26811 (re_acquire_state_context): Likewise.
26812 * posix/regex_internal.h (internal_function): Remove definition.
26813 (re_string_realloc_buffers, build_wcs_buffer)
26814 (build_wcs_upper_buffer, build_upper_buffer)
26815 (re_string_translate_buffer, re_string_context_at)
26816 (re_string_char_size_at, re_string_wchar_at)
26817 (re_string_elem_size_at): Likewise.
26818 * posix/regexec.c (match_ctx_init, match_ctx_clean)
26819 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
26820 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
26821 (re_search_internal, re_search_2_stub, re_search_stub)
26822 (re_copy_regs, prune_impossible_nodes, check_matching)
26823 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
26824 (free_fail_stack_return, sift_states_iter_mb)
26825 (sift_states_backward, build_sifted_states)
26826 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
26827 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
26828 (check_subexp_limits, sift_states_bkref, merge_state_array)
26829 (find_recover_state, transit_state, merge_state_with_log)
26830 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
26831 (transit_state_mb, transit_state_bkref, get_subexp)
26832 (get_subexp_sub, find_subexp_node, check_arrival)
26833 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
26834 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
26835 (check_node_accept_bytes, find_collation_sequence_value)
26836 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
26837 (acquire_init_state_context, check_halt_node_context)
26838 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
26839 (sub_epsilon_src_nodes): Likewise.
26840 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
26841 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
26842 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
26843 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
26844 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
26845 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
26846 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
26847 * sysdeps/posix/ttyname.c (getttyname): Likewise.
26848 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
26849 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
26850 (PREADV): Likewise.
26851 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
26852 (PREADV): Likewise.
26853 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
26854 (PWRITEV): Likewise.
26855 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
26856 (PWRITEV): Likewise.
26857 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
26858 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
26859
83b09837
FW
268602017-08-31 Florian Weimer <fweimer@redhat.com>
26861
26862 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
26863 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
26864 Remove internal_function.
26865 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
26866 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
26867 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
26868 (__deallocate_stack, __libc_pthread_init)
26869 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
26870 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
26871 (__libc_disable_asynccancel, __librt_disable_asynccancel):
26872 Likewise.
26873 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
26874 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
26875 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
26876 Likewise.
26877 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
26878 (__pthread_mutex_unlock_usercnt): Likewise.
26879
116ac301
FW
268802017-08-31 Florian Weimer <fweimer@redhat.com>
26881
26882 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
26883 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
26884 (fts_safe_changedir): Remove internal_function.
26885 * io/ftw.c (internal_function): Remove definition.
26886 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
26887
9da93bd7
FW
268882017-08-31 Florian Weimer <fweimer@redhat.com>
26889
26890 * inet/deadline.c (__deadline_current_time)
26891 (__deadline_from_timeval, __deadline_to_ms): Remove
26892 internal_function.
26893 * inet/getnameinfo.c (nrl_domainname): Likewise.
26894 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
26895 * inet/inet6_option.c (add_pad): Likewise.
26896 * inet/net-internal.h (__deadline_current_time)
26897 (__deadline_from_timeval, __deadline_to_ms): Likewise.
26898 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
26899 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
26900 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
26901
a60eca2e
JM
269022017-08-31 Joseph Myers <joseph@codesourcery.com>
26903
c0c49d60
JM
26904 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
26905 include <bits/nan.h>.
26906 * math/Makefile (headers): Remove bits/nan.h.
26907 * bits/nan.h: Remove.
26908 * sysdeps/ieee754/bits/nan.h: Likewise.
26909 * sysdeps/mips/bits/nan.h: Likewise.
26910
5ef1b213
JM
26911 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
26912 not include <bits/inf.h>.
26913 * math/Makefile (headers): Remove bits/inf.h.
26914 * bits/inf.h: Remove.
26915 * sysdeps/ieee754/bits/inf.h: Likewise.
26916
a60eca2e
JM
26917 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
26918 bits/huge_vall.h or bits/huge_val_flt128.h.
26919 (HUGE_VAL): Define directly here.
26920 [__USE_ISOC99] (HUGE_VALF): Likewise.
26921 [__USE_ISOC99] (HUGE_VALL): Likewise.
26922 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26923 (HUGE_VAL_F128): Likewise.
26924 * math/Makefile (headers): Remove bits/huge_val.h,
26925 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
26926 * bits/huge_val.h: Remove.
26927 * bits/huge_val_flt128.h: Likewise.
26928 * bits/huge_valf.h: Likewise.
26929 * bits/huge_vall.h: Likewise.
26930 * sysdeps/ia64/bits/huge_vall.h: Likewise.
26931 * sysdeps/ieee754/bits/huge_val.h: Likewise.
26932 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
26933 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
26934 * sysdeps/sh/bits/huge_val.h: Likewise.
26935 * sysdeps/sparc/bits/huge_vall.h: Likewise.
26936 * sysdeps/x86/bits/huge_vall.h: Likewise.
26937
17e00cc6
FW
269382017-08-31 Florian Weimer <fweimer@redhat.com>
26939
26940 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
26941 internal_function.
26942 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
26943 Likewise.
26944 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
26945 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
26946 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
26947 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
26948 * elf/dl-fini.c (_dl_sort_fini): Likewise.
26949 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
26950 * elf/dl-libc.c (dlerror_run): Likewise.
26951 * elf/dl-load.c (add_name_to_object, decompose_rpath)
26952 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
26953 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
26954 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
26955 Likewise.
26956 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
26957 (_dl_higher_prime_number, _dl_strtoul): Likewise.
26958 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
26959 * elf/dl-profile.c (_dl_start_profile): Likewise.
26960 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
26961 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
26962 Likewise.
26963 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
26964 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
26965 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
26966 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
26967 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
26968 (_dl_allocate_tls_storage): Likewise.
26969 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
26970 (_dl_check_all_versions): Likewise.
26971 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
26972 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
26973 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
26974 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
26975 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
26976 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
26977 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
26978 internal_function from __dl_start.
26979 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
26980 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
26981 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
26982 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
26983 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
26984 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
26985 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
26986 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
26987 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
26988 (_dl_next_ld_env_entry, _dl_important_hwcaps)
26989 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
26990 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
26991 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
26992 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
26993 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
26994 Likewise.
26995 (struct rtld_global_ro): Remove internal_function from the
26996 _dl_lookup_symbol_x member.
26997 (_dl_symbol_value): Remove. No longer defined anywhere.
26998 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
26999 internal_function.
27000 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
27001 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
27002 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
27003 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
27004 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
27005 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
27006 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
27007 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
27008 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
27009 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
27010 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
27011 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
27012
8d2f9410
FW
270132017-08-31 Florian Weimer <fweimer@redhat.com>
27014
27015 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
27016 Remove internal_function.
27017 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
27018 Likewise.
27019 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
27020 Likewise.
27021
86e4919f
FW
270222017-08-31 Florian Weimer <fweimer@redhat.com>
27023
27024 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
27025 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
27026 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
27027
59bd52b0
FW
270282017-08-31 Florian Weimer <fweimer@redhat.com>
27029
27030 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
27031 (__gai_enqueue_request): Remove internal_function.
27032 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
27033 (__gai_remove_request, __gai_notify, __gai_notify_only)
27034 (__gai_sigqueue): Likewise.
27035 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
27036 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
27037 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
27038 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
27039 Likewise.
27040
fc3d9497
FW
270412017-08-31 Florian Weimer <fweimer@redhat.com>
27042
27043 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
27044 * include/dirent.h (__opendirat, __getdents, __getdents64)
27045 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
27046 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
27047 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
27048 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
27049 Likewise.
27050 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
27051
18c54fac
FW
270522017-08-31 Florian Weimer <fweimer@redhat.com>
27053
27054 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
27055 internal_function.
27056 (GETCWD_RETURN_TYPE): Likewise.
27057
7e01f080
FW
270582017-08-31 Florian Weimer <fweimer@redhat.com>
27059
27060 * include/time.h (__tz_compute, __strptime_internal): Remove
27061 internal_function.
27062 * time/strptime_l.c (__strptime_internal): Likewise.
27063 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
27064
d7ccc6c9
FW
270652017-08-31 Florian Weimer <fweimer@redhat.com>
27066
27067 * iconv/gconv.c (__gconv): Remove internal_function.
27068 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
27069 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
27070 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
27071 (__gconv_release_cache): Likewise.
27072 * iconv/gconv_close.c (__gconv_close): Likewise.
27073 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
27074 (read_conf_file, __gconv_get_path): Likewise.
27075 * iconv/gconv_db.c (derivation_lookup, add_derivation)
27076 (__gconv_release_step, gen_steps, increment_counter)
27077 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
27078 (__gconv_close_transform, free_modules_db): Likewise.
27079 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
27080 Likewise.
27081 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
27082 (__gconv_find_transform, __gconv_lookup_cache)
27083 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
27084 (__gconv_close_transform, __gconv_release_cache)
27085 (__gconv_loaded_object, __gconv_release_shlib)
27086 (__gconv_compare_alias): Likewise.
27087 * iconv/gconv_open.c (__gconv_open): Likewise.
27088 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
27089 * iconv/iconvconfig.c (add_module): Likewise.
27090 * intl/dcigettext.c (plural_lookup, guess_category_value)
27091 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
27092 * intl/eval-plural.h (plural_eval): Likewise.
27093 * intl/finddomain.c (_nl_find_domain): Likewise.
27094 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
27095 (_nl_load_domain, _nl_find_msg): Likewise.
27096 (internal_function): Remove definition.
27097 * intl/loadinfo.h (internal_function): Likewise.
27098 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
27099 internal_function.
27100 * intl/localealias.c (internal_function): Remove definition.
27101 (read_alias_file): Remove internal_function.
27102 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
27103 * intl/plural-exp.h (internal_function): Remove definition.
27104 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
27105 internal_function.
27106 * intl/plural.c: Regenerate.
27107 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
27108 * locale/coll-lookup.c (__collidx_table_lookup)
27109 (__collseq_table_lookup): Likewise.
27110 * locale/coll-lookup.h (__collidx_table_lookup)
27111 (__collseq_table_lookup): Likewise.
27112 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
27113 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
27114 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
27115 (_nl_unload_locale): Likewise.
27116 * locale/localeinfo.h (struct __locale_data): Remove
27117 internal_function from cleanup member.
27118 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
27119 (_nl_remove_locale, _nl_load_locale_from_archive)
27120 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
27121 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
27122 (_nl_cleanup_time): Remove internal_function.
27123 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
27124 (_nl_parse_alt_digit): Likewise.
27125 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
27126 (_nl_select_era_entry): Likewise.
27127 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
27128 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
27129 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
7e01f080
FW
27130 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
27131 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
d7ccc6c9 27132
dab0eece
FW
271332017-08-31 Florian Weimer <fweimer@redhat.com>
27134
27135 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
27136 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
27137 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
27138 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
27139 Likewise.
27140 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
27141 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
27142 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
27143 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
27144 Likewise.
27145 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
27146
ab5bf7cf
FW
271472017-08-31 Florian Weimer <fweimer@redhat.com>
27148
27149 * misc/getttyent.c (skip, value): Remove internal_function.
27150 * misc/syslog.c (openlog_internal): Likewise.
27151 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
27152
75b3047e
FW
271532017-08-31 Florian Weimer <fweimer@redhat.com>
27154
27155 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
27156 (__nss_rewrite_field): Remove internal_function.
27157 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
27158 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
27159 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
27160 * nss/nsswitch.c (nss_parse_file, nss_getline)
27161 (nss_parse_service_list, nss_new_service): Likewise.
27162 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
27163 * nss/valid_field.c (__nss_valid_field): Likewise.
27164 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
27165
0c71122c
FW
271662017-08-31 Florian Weimer <fweimer@redhat.com>
27167
27168 * malloc/arena.c (__malloc_fork_lock_parent)
27169 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
27170 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
27171 internal_function from defintions.
27172 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
27173 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
27174 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
27175 internal_function from declarations.
27176 * malloc/malloc.c (internal_function): Do not define.
27177 (mem2mem_check): Remove internal_function from declaration.
27178 (munmap_chunk, mremap_chunk): Remove internal_function.
27179 * malloc/mtrace.c (tr_where): Likewise.
27180
ca4ec803
FW
271812017-08-31 Florian Weimer <fweimer@redhat.com>
27182
27183 * include/rpc/pmap_clnt.h (__get_socket): Remove
27184 internal_function.
27185 * sunrpc/auth_des.c (synchronize): Likewise.
27186 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
27187 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
27188 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
27189 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
27190 (key_call): Likewise.
27191 * sunrpc/pm_getport.c (__get_socket): Likewise.
27192 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
27193 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
27194 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
27195 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
27196 (invalidate): Likewise.
27197 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
27198 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
27199 (set_input_fragment, get_input_bytes): Likewise.
27200
24cffce7
FW
272012017-08-31 Florian Weimer <fweimer@redhat.com>
27202
27203 * malloc/malloc.c (_int_free): Remove locked variable and related
27204 asserts.
27205
ecd0747d
L
272062017-08-31 H.J. Lu <hongjiu.lu@intel.com>
27207
27208 [BZ #22051]
27209 * Makerules (build-module-helper-objlist): Filter out
27210 $(elf-objpfx)sofini.os.
27211 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
27212 needed.
27213
5f0704b6
FW
272142017-08-31 Florian Weimer <fweimer@redhat.com>
27215
27216 * libio/fcloseall.c: Assume weak_alias is defined.
27217 * libio/feof.c: Likewise.
27218 * libio/fileno.c: Likewise.
27219 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
27220 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
27221 definitions.
27222 (_IO_file_open): Call __open directly.
27223 (_IO_new_file_sync): Assume ESPIPE is defined.
27224 (_IO_file_seekoff_maybe_mmap): Call __read directly.
27225 (_IO_new_file_write): Call __write directly.
27226 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
27227 * libio/ftello64.c (__ftello64): Assume EIO is defined.
27228 * libio/genops.c: Assume _LIBC is defined.
27229 (save_for_backup): Remove internal_function.
27230 * libio/getc.c: Assume weak_alias is defined.
27231 * libio/getwc.c: Likewise.
27232 * libio/iofclose.c: Assume _LIBC is defined.
27233 * libio/iofdopen.c: Likewise.
27234 (_IO_fcntl): Remove macro definition.
27235 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
27236 Call __fcntl directly.
27237 * libio/iofflush.c: Assume weak_alias is defined.
27238 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
27239 defined.
27240 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
27241 * libio/iofgets.c: Likewise.
27242 * libio/iofopen.c: Assume _LIBC is defined.
27243 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
27244 * libio/iofputs.c: Assume weak_alias is defined.
27245 * libio/iofread.c: Likewise.
27246 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
27247 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
27248 * libio/ioftell.c: Assume weak_alias is defined.
27249 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
27250 * libio/iofwide.c: Assume _LIBC is defined.
27251 (_IO_fwide): Drop SHARED conditional because it is implied by
27252 SHLIB_COMPAT.
27253 * libio/iofwrite.c: Assume weak_alias is defined.
27254 * libio/iogetdelim.c: Likewise.
27255 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
27256 * libio/iogetwline.c (wmemcpy): Remove macro definition.
27257 (_IO_getwline): Call __wmemcpy directly.
27258 * libio/iopopen.c: Assume _LIBC is defined.
27259 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
27260 (_IO_close): Remove macro definitions.
27261 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
27262 _exit directly.
27263 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
27264 directly.
27265 * libio/ioputs.c: Assume weak_alias is defined.
27266 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
27267 * libio/iosetbuffer.c: Assume weak_alias is defined.
27268 * libio/iosetvbuf.c: Likewise.
27269 * libio/ioungetc.c: Likewise.
27270 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
27271 libc_hidden_def, libc_hidden_weak, NULL are defined.
27272 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
27273 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
27274 defined.
27275 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
27276 definitions.
27277 (_IO_old_file_init_internal): Drop SHARED conditional because it
27278 is implied by SHLIB_COMPAT.
27279 (_IO_old_file_fopen): Call __open directly.
27280 (_IO_old_file_sync): Assume ESPIPE is defined.
27281 (_IO_old_file_write): Call __write directly.
27282 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
27283 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
27284 Call __fcntl directly.
27285 * libio/oldiofgetpos.c: Assume weak_alias is defined.
27286 (_IO_old_fgetpos): Assume EIO is defined.
27287 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
27288 (_IO_old_fgetpos64): Assume EIO is defined.
27289 * libio/oldiofsetpos.c: Assume weak_alias is defined.
27290 (_IO_old_fsetpos): Assume EIO is defined.
27291 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
27292 (_IO_old_fsetpos64): Assume EIO is defined.
27293 * libio/oldiopopen.c: Assume _LIBC is defined.
27294 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
27295 (_IO_close): Remove macro definitions.
27296 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
27297 directly.
27298 (_IO_old_proc_close): Call __close, __waitpid directly.
27299 * libio/put.c: Assume weak_alias is defined.
27300 * libio/stdfiles.c: Assume _LIBC is defined.
27301 * libio/stdio.c: Likewise.
27302 * libio/wfileops.c: Likewise.
27303 (_IO_wfile_sync): Assume ESPIPE is defined.
27304 * libio/wgenops.c: Assume _LIBC is defined.
27305 (save_for_wbackup): Remove internal_function.
27306
5129873a
FW
273072017-08-31 Florian Weimer <fweimer@redhat.com>
27308
27309 * malloc/malloc.c (top_check): Change return type to void. Remove
27310 internal_function.
27311 * malloc/hooks.c (top_check): Likewise.
27312 (malloc_check, realloc_check, memalign_check): Adjust.
27313
4fa9b3bf
JM
273142017-08-30 Joseph Myers <joseph@codesourcery.com>
27315
27316 [BZ #21457]
27317 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
27318 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
27319 sigcontext and namespace requirements.
27320 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
27321 * sysdeps/m68k/sys/ucontext.h: Likewise.
27322 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
27323 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
27324 <bits/sigcontext.h>.
27325 (__ctx): Define earlier.
27326 (mcontext_t): Define structure contents rather than using struct
27327 sigcontext.
27328 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
27329 __glibc_reserved1 instead of __reserved.
27330 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
27331 <bits/sigcontext.h>.
27332 (__ctx): Define earlier.
27333 (mcontext_t): Define structure contents rather than using struct
27334 sigcontext.
27335 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
27336 mcontext_t instead of struct sigcontext.
27337 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
27338 <bits/sigcontext.h>.
27339 (__ctx): Define earlier.
27340 (mcontext_t): Define structure contents rather than using struct
27341 sigcontext.
27342 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
27343 <bits/sigcontext.h>.
27344 (__ctx): Define earlier.
27345 (mcontext_t): Define structure contents rather than using struct
27346 sigcontext.
27347 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
27348 mcontext_t instead of struct sigcontext.
27349 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
27350 mcontext_t instead of struct sigcontext.
27351 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
27352 <bits/sigcontext.h>.
27353 (__ctx): New macro.
27354 (struct __ia64_fpreg_mcontext): New type.
27355 (mcontext_t): Define structure contents rather than using struct
27356 sigcontext.
27357 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
27358 (uc_sigmask): Define using __ctx.
27359 (uc_stack): Likewise.
27360 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
27361 <bits/sigcontext.h>.
27362 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
27363 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
27364 <bits/sigcontext.h>.
27365 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
27366 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
27367 <bits/sigcontext.h>.
27368 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
27369 <bits/sigcontext.h>.
27370 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
27371 <bits/sigcontext.h>.
27372 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
27373 <bits/sigcontext.h>.
27374 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
27375 <bits/sigcontext.h>.
27376 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
27377 <bits/sigcontext.h>.
27378 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
27379 <bits/sigcontext.h>.
27380 (__ctx): Define earlier.
27381 (mcontext_t): Define structure contents rather than using struct
27382 sigcontext.
27383 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
27384 <bits/sigcontext.h>. Include <bits/types.h>.
27385 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
27386 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
27387 (test-xfail-XPG42/ucontext.h/conform): Likewise.
27388 (test-xfail-UNIX98/signal.h/conform): Likewise.
27389 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
27390 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
27391 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
27392 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
27393 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
27394 (test-xfail-POSIX2008/signal.h/conform): Likewise.
27395 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
27396 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
27397 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
27398
5898f454
FW
273992017-08-30 Florian Weimer <fweimer@redhat.com>
27400
27401 * malloc/dynarray_emplace_enlarge.c
27402 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
27403 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
27404 * malloc/tst-dynarray.c (test_long_overflow): New function.
27405 (do_test): Call it.
27406
a9da0bb2
FW
274072017-08-30 Florian Weimer <fweimer@redhat.com>
27408
27409 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
27410 (set_arena_corrupt): Remove definitions.
27411 (mtrim): Do not check for corrupt arena.
27412 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
27413 Likewise.
27414
ac3ed168
FW
274152017-08-30 Florian Weimer <fweimer@redhat.com>
27416
27417 [BZ #21754]
27418 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
27419 check_action.
27420 (ptmalloc_init): Do not set or use check_action.
27421 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
27422 call to malloc_printerr. Remove return statement.
27423 (free_check): Likewise. Remove arena unlock.
27424 (top_check): Update comment. Adjust call to malloc_printerr.
27425 Remove heap repair code.
27426 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
27427 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
27428 (sysmalloc): Adjust call to malloc_printerr.
27429 (munmap_chunk, __libc_realloc): Likewise. Remove return
27430 statement.
27431 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
27432 Remove errout label and corresponding gotos.
27433 (_int_free): Likewise. Remove arena unlock.
27434 (do_set_mallopt_check): Do not set check_action.
27435 (malloc_printerr): Adjust parameter list. Do not mark arena as
27436 corrupt.
27437 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
27438 comment.
27439 * manual/probes.texi (Memory Allocation Probes): Remove
27440 memory_mallopt_check_action.
27441
44bcba80
SE
274422017-08-30 Steve Ellcey <sellcey@cavium.com>
27443
27444 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
27445 Use pointer to uint64_t instead of long int for sp.
27446
ec2c1fce
FW
274472017-08-30 Florian Weimer <fweimer@redhat.com>
27448
27449 [BZ #21754]
27450 * malloc/malloc.c (malloc_printerr): Always terminate the process,
27451 without printing a backtrace. Do not leak any information in the
27452 error message.
27453 * manual/memory.texi (Heap Consistency Checking): Update.
27454 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
27455
9ce673b6
FW
274562017-08-30 Florian Weimer <fweimer@redhat.com>
27457
27458 Do not scale NPTL tests with available number of CPUs.
27459 * nptl/tst-cond16.c (count): Set to constant value of 8.
27460 * nptl/tst-cond18.c (count): Likewise.
27461
2f1aef19
JM
274622017-08-29 Joseph Myers <joseph@codesourcery.com>
27463
27464 [BZ #22035]
27465 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
27466 Define to take a second argument that is a macro that
27467 concatentates a suffix, not the suffix itself.
27468 (__CONCAT_d): New macro.
27469 (__CONCAT_f): Likewise.
27470 (__CONCAT_l): Likewise.
27471
8325b477
PP
274722017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
27473
27474 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
27475 by child.
27476
319cbbf6
AZ
274772017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27478 Aurelien Jarno <aurelien@aurel32.net>
27479 Maciej W. Rozycki <macro@imgtec.com>
27480
27481 [BZ #21956]
27482 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
27483 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
27484 `mips16-syscall6' and `mips16-syscall7'.
27485 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
27486 (CFLAGS-mips16-syscall7.c): Remove.
27487 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
27488 Remove `__mips16_syscall5', `__mips16_syscall6' and
27489 `__mips16_syscall7'.
27490 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
27491 (__mips16_syscall0): Rename `__mips16_syscall_return' to
27492 `__mips_syscall_return'.
27493 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
27494 (__mips16_syscall1): Likewise.
27495 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
27496 (__mips16_syscall2): Likewise.
27497 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
27498 (__mips16_syscall3): Likewise.
27499 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
27500 (__mips16_syscall4): Likewise.
27501 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
27502 Remove.
27503 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
27504 Remove.
27505 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
27506 Remove.
27507 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
27508 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
27509 `__mips16_syscall5'. Remove prototype.
27510 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
27511 `__mips16_syscall6'. Remove prototype.
27512 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
27513 `__mips16_syscall7'. Remove prototype.
27514 (__nomips16, __mips16_syscall_return): Move to...
27515 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
27516 (__nomips16, __mips_syscall_return): ... here.
27517 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
27518 `__mips16_syscall_return' to `__mips_syscall_return'.
27519 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
27520 `internal_syscall##nr'.
27521 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
27522 `internal_syscall##nr'.
27523 (FORCE_FRAME_POINTER): Remove.
27524 (__mips_syscall5): New prototype.
27525 (internal_syscall5): Rewrite to call `__mips_syscall5'.
27526 (__mips_syscall6): New prototype.
27527 (internal_syscall6): Rewrite to call `__mips_syscall6'.
27528 (__mips_syscall7): New prototype.
27529 (internal_syscall7): Rewrite to call `__mips_syscall7'.
27530 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
27531 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
27532 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
27533 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
27534 (sysdep_routines): Add libc-do-syscall.
27535 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
27536 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
27537
01b87c65
AZ
275382017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27539
27540 [BZ #21672]
27541 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
27542 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
27543 (advise_stack_range): New function.
27544 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
27545 stack non required to advise_stack_range at allocatestack.c
27546
16f138a4
SN
275472017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
27548
27549 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
27550
251bccfa
FW
275512017-08-29 Florian Weimer <fweimer@redhat.com>
27552
27553 [BZ #22026]
27554 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
27555 __end_fct. Mangle __end_fct after setting it to NULL.
27556 * iconv/Makefile (tests): Add tst-gconv-init-failure.
27557 (modules-names, modules-names-tests): Add
27558 tst-gconv-init-failure-mod.
27559 (gconv-modules): New target.
27560 (tst-gconv-init-failure-mod.so): Link against libsupport.
27561 (tst-gconv-init-failure): Depend on gconv-modules,
27562 tst-gconv-init-failure-mod.so.
27563 * iconv/tst-gconv-init-failure-mod.c: New file.
27564 * iconv/tst-gconv-init-failure.c: Likewise.
27565 * iconv/test-gconv-modules: Likewise.
27566
e7c18b9d
FW
275672017-08-29 Florian Weimer <fweimer@redhat.com>
27568
27569 [BZ #22025]
27570 * iconv/gconv_db.c (free_derivation): Remove redundant
27571 parentheses.
27572 (gen_steps): Unconditionally mangle __btowc_fct after
27573 initialization.
27574 (increment_counter): Likewise. Do not call init_fct for internal
27575 modules.
27576
7daada03
JM
275772017-08-29 Joseph Myers <joseph@codesourcery.com>
27578
27579 [BZ #22028]
27580 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
27581 (_MSUF_): Remove macro.
27582 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
27583 Likewise.
27584 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
27585 (__REDIRFROM_X): New macro.
27586 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
27587 Likewise.
27588 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
27589 (__REDIRTO_X): Likewise.
27590 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
27591 arguments.
27592 (__MATH_REDIRCALL_2): Likewise.
27593 (__MATH_REDIRCALL_INTERNAL): Likewise.
27594 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
27595 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
27596 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
27597 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
27598 * math/test-finite-macros.c: New file.
27599 * math/Makefile (tests): Add test-finite-macros.
27600 (CFLAGS-test-finite-macros.c): New variable.
27601
1cf1232c
PF
276022017-08-29 Patsy Franklin <pfrankli@redhat.com>
27603 Jeff Law <law@redhat.com>
27604
27605 [BZ #22025]
27606 Mangle NULL pointers in iconv/gconv.
27607 * iconv/gconv_cache.c (find_module): Demangle init_fct before
27608 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
27609 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
27610 is non-NULL before demangling the end_fct. Check for NULL
27611 end_fct after demangling.
27612 (__gconv_release_step): Demangle the end_fct before checking
27613 it for NULL. Remove assert on __shlibc_handle != NULL.
27614 (gen_steps): Don't check btowc_fct for NULL before mangling.
27615 Demangle init_fct before checking for NULL.
27616 (increment_counter): Likewise.
27617 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
27618 end_fct for NULL before mangling.
27619 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
27620 for NULL.
27621
c207f7ce 276222017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
f8de9568
AK
27623
27624 [BZ #21971]
27625 * locale/iso-639.def: add Morisyen.
27626
42496114
GG
276272017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
27628
27629 [BZ #21930]
27630 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
27631 (iszero): New C++ implementation that does not use
27632 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
27633 signaling nans are enabled, since __builtin_types_compatible_p
27634 is a C-only feature.
27635 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
27636 defined, include ieee754_float128.h for access to the union and
27637 member ieee854_float128.ieee.
27638 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
27639 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
27640 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
27641 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
27642 options of test-math-zero on powerpc64le.
27643
5e2bc4ff
L
276442017-08-28 H.J. Lu <hongjiu.lu@intel.com>
27645
27646 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
27647 Change double to float.
27648
a48c0fb4
JM
276492017-08-28 Joseph Myers <joseph@codesourcery.com>
27650
27651 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
27652 unconditional.
27653 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
27654 conditional code; define contents only for [LIBM_SVID_COMPAT].
27655
ee17d4e9
FW
276562017-08-28 Florian Weimer <fweimer@redhat.com>
27657
27658 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
27659 (abi-lp64_be-options): Remove.
27660 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
27661 (abi-hard-options): Likewise.
27662 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
27663 (abi-o32_hard-options, abi-o32_soft_2008-options)
27664 (abi-o32_hard_2008-options, abi-n32_soft-options)
27665 (abi-n32_hard-options, abi-n32_soft_2008-options)
27666 (abi-n32_hard_2008-options, abi-n64_soft-options)
27667 (abi-n64_hard-options, abi-n64_soft_2008-options)
27668 (abi-n64_hard_2008-options): Likewise.
27669 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
27670 (abi-64-v1-options, abi-64-v2-options): Likewise.
27671 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
27672 (abi-64-options): Likewise.
27673 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
27674 (abi-64-options): Likewise.
27675 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
27676 (abi-64-options): Likewise.
27677 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
27678 (abi-64-options, abi-x32-options): Likewise.
27679
2dba5ce7
FW
276802017-08-28 Florian Weimer <fweimer@redhat.com>
27681
27682 Store supported list of SYS_* system calls in the source tree.
27683 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
27684 (bits/syscall.h): Generate from list file.
27685 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
27686 [$(subdir) = misc] (tests): Add tst-syscall-list.
27687 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
27688 [$(subdir) = misc] (tst-syscall-list-macros.list)
27689 [$(subdir) = misc] (tst-syscall-list-nr.list)
27690 (tst-syscall-list-sys.list): Helper targets for new
27691 tst-syscall-list test.
27692 [$(subdir) = misc] (tst-syscall-list.out): Run test script
27693 tst-syscall-list.sh.
27694 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
27695 target. Do not include bits/syscall.d.
27696 [$(subdir) = misc] (generated): Do not update.
27697 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
27698 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
27699 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
27700 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
27701
5f3b183d
PP
277022017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
27703
27704 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
27705 (tst-cxa_atexit, tst-on_exit): Likewise.
27706 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
27707 tst-cxa_atexit, and tst-on_exit.
27708 * stdlib/tst-atexit-common.c: New file.
27709 * stdlib/tst-atexit.c: New file.
27710 * stdlib/tst-at_quick_exit.c: New file.
27711 * stdlib/tst-cxa_atexit.c: New file.
27712 * stdlib/tst-on_exit.c: New file.
27713
2ef8d469
ST
277142017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
27715
27716 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
97e02ad2
ST
27717 * mach/stack_chk_fail_local.c: New file.
27718 * hurd/stack_chk_fail_local.c: New file.
27719 * mach/Machrules ($(interface-library)-routines): Add
27720 stack_chk_fail_local.
99ee4d26
ST
27721 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
27722 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
27723 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
27724 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
27725 * hurd/Makefile (CFLAGS-hurdstartup.o,
27726 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
2ef8d469 27727
7ab70c98
L
277282017-08-25 H.J. Lu <hongjiu.lu@intel.com>
27729
27730 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
27731 (index_cpu_*, index_arch_*): Removed.
27732
39e7a5a6
SN
277332017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
27734
27735 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
27736 Use uint64_t instead of unsigned long.
27737
bba5c930
JM
277382017-08-25 Joseph Myers <joseph@codesourcery.com>
27739
a6ccdb08
JM
27740 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
27741 [__HAVE_DISTINCT_FLOAT128].
27742
23761119
JM
27743 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
27744 of <bits/math-finite.h>.
27745 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
27746 inclusion of <bits/math-finite.h>.
27747 * math/bits/math-finite.h (__REDIRTO_X): Do not define
27748 conditionally on [__MATH_DECLARING_LDOUBLE && defined
27749 __NO_LONG_DOUBLE_MATH].
27750 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
27751 (__MATH_REDIRCALL_2): Likewise.
27752 (__MATH_REDIRCALL_INTERNAL): Likewise.
27753 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
27754 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
27755 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
27756
bba5c930
JM
27757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
27758 Remove file.
27759 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
27760 Likewise.
27761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
27762 Likewise.
27763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
27764 Likewise.
27765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
27766 Likewise.
27767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
27768 Likewise.
27769 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
27770 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
27771 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
27772 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
27773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
27774 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
27775 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
27776 w_sqrtf_compat-ppc32.
27777
3d7b66f6
GG
277782017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
27779
27780 * math/math.h [defined __cplusplus] (issignaling): In the long
27781 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
27782 is not defined. Call __issignaling, otherwise.
27783
ebd6f007
AZ
277842017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27785
27786 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
27787 syscall definitions and replace __builtin_expect with __glibc_likely.
27788 * sysdeps/unix/syscall-template.S: Update comment about cancellable
27789 syscall.
27790 (SYSCALL_CANCELLABLE): Removedefinition
27791 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
27792 definition.
27793 (PSEUDO_END): Likewise.
27794 [IS_IN (libpthread)] (CENABLE): Likewise.
27795 [IS_IN (libpthread)] (CDISABLE): Likewise.
27796 [IS_IN (libc)] (CENABLE): Likewise.
27797 [IS_IN (libc)] (CENABLE): Likewise.
27798 [IS_IN (librt)] (CDISABLE): Likewise.
27799 [IS_IN (librt)] (CDISABLE): Likewise.
27800 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
27801 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
27802 definition.
27803 (PSEUDO_END): Likewise.
27804 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
27805 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
27806 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
27807 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
27808 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
27809 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
27810 (CENABLE): Likewise.
27811 (CDISABLE): Likewise.
27812 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
27813 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
27814 defintion.
27815 (PSEUDO_END): Likewise.
27816 [IS_IN (libpthread)] (CENABLE): Likewise.
27817 [IS_IN (libpthread)] (CDISABLE): Likewise.
27818 [IS_IN (libc)] (CENABLE): Likewise.
27819 [IS_IN (libc)] (CENABLE): Likewise.
27820 [IS_IN (librt)] (CDISABLE): Likewise.
27821 [IS_IN (librt)] (CDISABLE): Likewise.
27822 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
27823 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
27824 definition.
27825 (PSEUDO_END): Likewise.
27826 [IS_IN (libpthread)] (CENABLE): Likewise.
27827 [IS_IN (libpthread)] (CDISABLE): Likewise.
27828 [IS_IN (libc)] (CENABLE): Likewise.
27829 [IS_IN (libc)] (CENABLE): Likewise.
27830 [IS_IN (librt)] (CDISABLE): Likewise.
27831 [IS_IN (librt)] (CDISABLE): Likewise.
27832 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
27833 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
27834 definition.
27835 (PSEUDO_END): Likewise.
27836 [IS_IN (libpthread)] (CENABLE): Likewise.
27837 [IS_IN (libpthread)] (CDISABLE): Likewise.
27838 [IS_IN (libc)] (CENABLE): Likewise.
27839 [IS_IN (libc)] (CENABLE): Likewise.
27840 [IS_IN (librt)] (CDISABLE): Likewise.
27841 [IS_IN (librt)] (CDISABLE): Likewise.
27842 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
27843 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
27844 definition.
27845 (PSEUDO_END): Likewise.
27846 [IS_IN (libpthread)] (CENABLE): Likewise.
27847 [IS_IN (libpthread)] (CDISABLE): Likewise.
27848 [IS_IN (libc)] (CENABLE): Likewise.
27849 [IS_IN (libc)] (CENABLE): Likewise.
27850 [IS_IN (librt)] (CDISABLE): Likewise.
27851 [IS_IN (librt)] (CDISABLE): Likewise.
27852 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
27853 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
27854 definition.
27855 (PSEUDO_END): Likewise.
27856 [IS_IN (libpthread)] (CENABLE): Likewise.
27857 [IS_IN (libpthread)] (CDISABLE): Likewise.
27858 [IS_IN (libc)] (CENABLE): Likewise.
27859 [IS_IN (libc)] (CENABLE): Likewise.
27860 [IS_IN (librt)] (CDISABLE): Likewise.
27861 [IS_IN (librt)] (CDISABLE): Likewise.
27862 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
27863 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
27864 definition.
27865 (PSEUDO_END): Likewise.
27866 [IS_IN (libpthread)] (CENABLE): Likewise.
27867 [IS_IN (libpthread)] (CDISABLE): Likewise.
27868 [IS_IN (libc)] (CENABLE): Likewise.
27869 [IS_IN (libc)] (CENABLE): Likewise.
27870 [IS_IN (librt)] (CDISABLE): Likewise.
27871 [IS_IN (librt)] (CDISABLE): Likewise.
27872 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
27873 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
27874 Remove definition.
27875 (PSEUDO_END): Likewise.
27876 [IS_IN (libpthread)] (CENABLE): Likewise.
27877 [IS_IN (libpthread)] (CDISABLE): Likewise.
27878 [IS_IN (libc)] (CENABLE): Likewise.
27879 [IS_IN (libc)] (CENABLE): Likewise.
27880 [IS_IN (librt)] (CDISABLE): Likewise.
27881 [IS_IN (librt)] (CDISABLE): Likewise.
27882 (SINGLE_THREAD_P): Likewise.
27883 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
27884 definition.
27885 (PSEUDO_END): Likewise.
27886 [IS_IN (libpthread)] (CENABLE): Likewise.
27887 [IS_IN (libpthread)] (CDISABLE): Likewise.
27888 [IS_IN (libc)] (CENABLE): Likewise.
27889 [IS_IN (libc)] (CENABLE): Likewise.
27890 [IS_IN (librt)] (CDISABLE): Likewise.
27891 [IS_IN (librt)] (CDISABLE): Likewise.
27892 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
27893 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
27894 definition.
27895 (PSEUDO_END): Likewise.
27896 [IS_IN (libpthread)] (CENABLE): Likewise.
27897 [IS_IN (libpthread)] (CDISABLE): Likewise.
27898 [IS_IN (libc)] (CENABLE): Likewise.
27899 [IS_IN (libc)] (CENABLE): Likewise.
27900 [IS_IN (librt)] (CDISABLE): Likewise.
27901 [IS_IN (librt)] (CDISABLE): Likewise.
27902 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
27903 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
27904 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
27905 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
27906 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
27907 definition.
27908 (PSEUDO_END): Likewise.
27909 [IS_IN (libpthread)] (CENABLE): Likewise.
27910 [IS_IN (libpthread)] (CDISABLE): Likewise.
27911 [IS_IN (libc)] (CENABLE): Likewise.
27912 [IS_IN (libc)] (CENABLE): Likewise.
27913 [IS_IN (librt)] (CDISABLE): Likewise.
27914 [IS_IN (librt)] (CDISABLE): Likewise.
27915 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
27916 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
27917 definition.
27918 (PSEUDO_END): Likewise.
27919 [IS_IN (libpthread)] (CENABLE): Likewise.
27920 [IS_IN (libpthread)] (CDISABLE): Likewise.
27921 [IS_IN (libc)] (CENABLE): Likewise.
27922 [IS_IN (libc)] (CENABLE): Likewise.
27923 [IS_IN (librt)] (CDISABLE): Likewise.
27924 [IS_IN (librt)] (CDISABLE): Likewise.
27925 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
27926 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
27927 definition.
27928 (PSEUDO_END): Likewise.
27929 [IS_IN (libpthread)] (CENABLE): Likewise.
27930 [IS_IN (libpthread)] (CDISABLE): Likewise.
27931 [IS_IN (libc)] (CENABLE): Likewise.
27932 [IS_IN (libc)] (CENABLE): Likewise.
27933 [IS_IN (librt)] (CDISABLE): Likewise.
27934 [IS_IN (librt)] (CDISABLE): Likewise.
27935 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
27936 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
27937 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
27938 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
27939 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
27940 definition.
27941 (PSEUDO_END): Likewise.
27942 [IS_IN (libpthread)] (CENABLE): Likewise.
27943 [IS_IN (libpthread)] (CDISABLE): Likewise.
27944 [IS_IN (libc)] (CENABLE): Likewise.
27945 [IS_IN (libc)] (CENABLE): Likewise.
27946 [IS_IN (librt)] (CDISABLE): Likewise.
27947 [IS_IN (librt)] (CDISABLE): Likewise.
27948 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
27949 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
27950 definition.
27951 (PSEUDO_END): Likewise.
27952 [IS_IN (libpthread)] (CENABLE): Likewise.
27953 [IS_IN (libpthread)] (CDISABLE): Likewise.
27954 [IS_IN (libc)] (CENABLE): Likewise.
27955 [IS_IN (libc)] (CENABLE): Likewise.
27956 [IS_IN (librt)] (CDISABLE): Likewise.
27957 [IS_IN (librt)] (CDISABLE): Likewise.
27958 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
27959
8aa48656
SN
279602017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
27961
27962 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
27963
fcaaca41
L
279642017-08-23 H.J. Lu <hongjiu.lu@intel.com>
27965
27966 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27967
376b40a2
L
279682017-08-23 H.J. Lu <hongjiu.lu@intel.com>
27969
27970 [BZ #21982]
27971 * string/stratcliff.c (do_test): Declare size, nchars, inner,
27972 middle and outer with size_t instead of int. Repleace %d and
27973 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
27974 "MAX (outer, nchars - 64)" to support unsigned outer and
27975 nchars. Also exit loop when outer == 0.
27976
2b0b9a1c
AZ
279772017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27978
27979 * include/fcntl.h (__fcntl_nocancel): Remove definition.
27980 * include/signal.h (__sigsuspend_nocancel): Likewise.
27981 * include/time.h (__nanosleep_nocancel): Likewise.
27982 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
27983 * login/utmp_file.c: Include non cancellable syscall header.
27984 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
27985 prototype.
27986
b9eaca8f
L
279872017-08-23 H.J. Lu <hongjiu.lu@intel.com>
27988
27989 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
27990 .byte sequences with AVX512F instructions.
27991 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
27992 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
27993 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
27994 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
27995 Likewise.
27996 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
27997 Likewise.
27998
5a706f64
SE
279992017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
28000 Steve Ellcey <sellcey@cavium.com>
28001
28002 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
28003 Use PTR_REG macro in cmp instruction.
28004
b513da7e
GG
280052017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
28006
28007 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
28008 Change the return type of the ifunc resolver to match the return
28009 type of the target function.
28010
78ca091c
AZ
280112017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28012
b70b6026
AZ
28013 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
28014 (preadv64): Likewise.
28015 (pwrite64(: Likewise.
28016 (pwritev64): Likewise.
28017
78ca091c
AZ
28018 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
28019 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
28020 (LOAD_ARGS_0): Likewise.
28021 (LOAD_ARGS_1): Likewise.
28022 (LOAD_ARGS_2): Likewise.
28023 (LOAD_ARGS_3): Likewise.
28024 (LOAD_ARGS_4): Likewise.
28025 (LOAD_ARGS_5): Likewise.
28026 (LOAD_ARGS_6): Likewise.
28027 (LOAD_REGS_0): Likewise.
28028 (LOAD_REGS_1): Likewise.
28029 (LOAD_REGS_2): Likewise.
28030 (LOAD_REGS_3): Likewise.
28031 (LOAD_REGS_4): Likewise.
28032 (LOAD_REGS_5): Likewise.
28033 (LOAD_REGS_6): Likewise.
28034 (ASM_ARGS_0): Likewise.
28035 (ASM_ARGS_1): Likewise.
28036 (ASM_ARGS_2): Likewise.
28037 (ASM_ARGS_3): Likewise.
28038 (ASM_ARGS_4): Likewise.
28039 (ASM_ARGS_5): Likewise.
28040 (ASM_ARGS_6): Likewise.
28041 (LOAD_ARGS_TYPES_1): Likewise.
28042 (LOAD_ARGS_TYPES_2): Likewise.
28043 (LOAD_ARGS_TYPES_3): Likewise.
28044 (LOAD_ARGS_TYPES_4): Likewise.
28045 (LOAD_ARGS_TYPES_5): Likewise.
28046 (LOAD_ARGS_TYPES_6): Likewise.
28047 (LOAD_REGS_TYPES_1): Likewise.
28048 (LOAD_REGS_TYPES_2): Likewise.
28049 (LOAD_REGS_TYPES_3): Likewise.
28050 (LOAD_REGS_TYPES_4): Likewise.
28051 (LOAD_REGS_TYPES_5): Likewise.
28052 (LOAD_REGS_TYPES_6): Likewise.
28053 (TYPEFY): New define.
28054 (ARGIFY): Likewise.
28055 (internal_syscall0): Likewise.
28056 (internal_syscall1): Likewise.
28057 (internal_syscall2): Likewise.
28058 (internal_syscall3): Likewise.
28059 (internal_syscall4): Likewise.
28060 (internal_syscall5): Likewise.
28061 (internal_syscall6): Likewise.
28062 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
28063 (INTERNAL_SYSCALL_NCS): Remove define.
28064 (internal_syscall1): Add define.
28065
453a493d
GG
280662017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
28067
28068 * math/w_remainder_compat.c: Remove duplicate inclusion of
28069 math-svid-compat.h.
28070 * math/w_remainderf_compat.c: Likewise.
28071 * math/w_remainderl_compat.c: Likewise.
28072
f2f048a5
GG
280732017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
28074
28075 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28076
d9bef9c0
JM
280772017-08-22 Joseph Myers <joseph@codesourcery.com>
28078
28079 [BZ #21684]
28080 * math/tgmath.h (__floating_type): Simplify definitions.
28081 (__real_integer_type): New macro.
28082 (__complex_integer_type): Likewise.
28083 (__expr_is_real): Likewise.
28084 (__tgmath_real_type_sub): Update comment to describe handling of
28085 complex types.
28086 (__tgmath_complex_type_sub): New macro.
28087 (__tgmath_complex_type): Likewise.
28088 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
28089 (__TGMATH_CF128): Use __expr_is_real.
28090 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
28091 __expr_is_real.
28092 (__TGMATH_BINARY_REAL_IMAG): Likewise.
28093 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
28094 * math/gen-tgmath-tests.py (Type.create_type): Create complex
28095 integer types.
28096
08d6eb46
AZ
280972017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28098
988f991b
AZ
28099 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
28100 macro.
28101 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
28102 alias.
28103 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
28104 Likewise.
28105
6f33fd04
AZ
28106 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
28107 nanosleep_not_cancel with __nanosleep_nocancel.
28108 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
28109 (__nanosleep_nocancel): New macro.
28110 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
28111 function.
28112 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
28113 macro.
28114 (__nanosleep_nocancel): New prototype.
28115
08d6eb46
AZ
28116 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
28117 pause_not_cancel with __pause_nocancel.
28118 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
28119 (__pause_nocancel): New macro.
28120 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
28121 macro.
28122 (__pause_nocancel): New prototype.
28123 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
28124
ee4e992e
MS
281252017-08-22 Martin Sebor <msebor@redhat.com>
28126
28127 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
28128 to return a pointer to the same type as the target function.
28129
20962acb
L
281302017-08-22 H.J. Lu <hongjiu.lu@intel.com>
28131
28132 [BZ #18822]
28133 [BZ #21986]
28134 * include/printf.h (__printf_fphex): Add attribute_hidden.
28135 (__guess_grouping): New prototype.
28136 * stdio-common/printf_fp.c (__guess_grouping): Removed.
28137 * stdio-common/reg-printf.c (__register_printf_specifier): Add
28138 libc_hidden_proto and libc_hidden_def.
28139 * stdlib/strfmon_l.c (__guess_grouping): Removed.
28140 (__vstrfmon_l): Remove the third argument passed to
28141 __guess_grouping.
28142
a16e8bc0
GG
281432017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
28144
28145 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
28146 definition for issignaling that does not rely on __MATH_TG,
28147 since __MATH_TG uses __builtin_types_compatible_p, which is only
28148 available in C mode.
28149 (CFLAGS-test-math-issignaling.cc): New variable.
28150 * math/Makefile [CXX] (tests): Add test-math-issignaling.
28151 * math/test-math-issignaling.cc: New test for C++ implementation
28152 of type-generic issignaling.
28153 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
28154 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
28155 options of test-math-issignaling on powerpc64le.
28156
8d2ec553
L
281572017-08-22 H.J. Lu <hongjiu.lu@intel.com>
28158
28159 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
28160 building libc.a.
28161 (hidden_proto): Likewise.
28162 (hidden_tls_proto): Likewise.
28163 (__hidden_proto): Likewise.
28164
a4d57b79
FW
281652017-08-22 Florian Weimer <fweimer@redhat.com>
28166
28167 math: Statically link tests of internal functionality.
28168 * math/Makefile (tests): Remove atest-exp, atest-sincos,
28169 atest-exp2.
28170 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
28171 (gmp-objs): Remove assignment.
28172 (atest-exp, atest-sincos, atest-exp2): Remove targets.
28173
75dfe623
JM
281742017-08-22 Joseph Myers <joseph@codesourcery.com>
28175
80f91666
JM
28176 [BZ #21987]
28177 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
28178 and copy to ...
28179 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
28180 ... here.
28181 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
28182 ... and here.
28183
75dfe623
JM
28184 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
28185 variable definitions above inclusion of ../Rules.
28186
ea99fcd0
JM
281872017-08-21 Joseph Myers <joseph@codesourcery.com>
28188
28189 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
28190 case calling __builtin_unreachable.
28191
19926de9
AZ
281922017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28193
a8410a5f
AZ
28194 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
28195 __waitpid_nocancel.
28196 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
28197 (__waitpid_nocancel): New macro.
28198 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
28199 macro.
28200 (__waitpid_nocancel): Replace macro with a function.
28201 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
28202 function.
28203
7369800c
AZ
28204 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
28205 __fcntl_nocancel.
28206 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
28207 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
28208
19926de9
AZ
28209 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
28210 __writev_nocancel_nostatus.
28211 (write_call_graph): Likewise.
28212 (write_bb_counts): Likewise.
28213 * resolv/herror.c (herror): Likewise.
28214 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
28215 macro.
28216 (__writev_nocancel_nostatus): New macro.
28217 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
28218 Remove macro.
28219 (__writev_nocancel_nostatus): New function.
28220
813378e9
JM
282212017-08-21 Joseph Myers <joseph@codesourcery.com>
28222
df1deda6
JM
28223 Revert:
28224 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
28225
28226 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
28227 building libc.a.
28228 (hidden_proto): Likewise.
28229 (hidden_tls_proto): Likewise.
28230 (__hidden_proto): Likewise.
28231
831bbd55
JM
28232 [BZ #21973]
28233 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
28234 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
28235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
28236 Likewise.
28237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
28238 Likewise.
28239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
28240 Likewise.
28241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
28242 Likewise.
28243 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
28244 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
28245 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
28246 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
28247 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
28248 GLIBC_2.0 sqrtl symbol.
28249
813378e9
JM
28250 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
28251 [__USE_MISC] (_LIB_VERSION): Likewise.
28252 [__USE_MISC] (struct exception): Likewise.
28253 [__USE_MISC] (matherr): Likewise.
28254 [__USE_MISC] (DOMAIN): Likewise.
28255 [__USE_MISC] (SING): Likewise.
28256 [__USE_MISC] (OVERFLOW): Likewise.
28257 [__USE_MISC] (UNDERFLOW): Likewise.
28258 [__USE_MISC] (TLOSS): Likewise.
28259 [__USE_MISC] (PLOSS): Likewise.
28260 [__USE_MISC] (HUGE): Likewise.
28261 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
28262 * math/math-svid-compat.h: New file.
28263 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
28264 and matherrl.
28265 * include/math.h [!_ISOMAC] (__matherr): Remove.
28266 * manual/arith.texi (FP Exceptions): Do not document matherr.
28267 * math/Makefile (tests): Change test-matherr to test-matherr-3.
28268 (tests-internal): New variable.
28269 (install-lib): Do not add libieee.a.
28270 (non-lib.a): Likewise.
28271 (extra-objs): Do not add libieee.a and ieee-math.o.
28272 (CPPFLAGS-s_lib_version.c): Remove variable.
28273 ($(objpfx)libieee.a): Remove rule.
28274 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
28275 * math/ieee-math.c: Remove.
28276 * math/libm-test-support.c (matherr): Remove.
28277 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
28278 and license notices. Include <math-svid-compat.h> and
28279 <shlib-compat.h>.
28280 (matherr): Undefine as macro. Use compat_symbol_reference.
28281 (_LIB_VERSION): Likewise.
28282 * math/test-matherr-2.c: New file.
28283 * math/test-matherr-3.c: Likewise.
28284 * sysdeps/generic/math_private.h (__kernel_standard): Remove
28285 declaration.
28286 (__kernel_standard_f): Likewise.
28287 (__kernel_standard_l): Likewise.
28288 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
28289 <math_private.h>. Include <math-svid-compat.h>.
28290 (_LIB_VERSION): Undefine as macro.
28291 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
28292 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
28293 [LIBM_SVID_COMPAT], use compat_symbol.
28294 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
28295 <math_private.h>. Include <math-svid-compat.h>.
28296 (matherr): Undefine as macro.
28297 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
28298 compat_symbol.
28299 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
28300 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
28301 compat_symbol_reference.
28302 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
28303 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
28304 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
28305 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
28306 (MATHERR_D): Remove declaration.
28307 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
28308 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
28309 [LIBM_BUILD] (pmatherrf): Likewise.
28310 [LIBM_BUILD] (pmatherr): Likewise.
28311 [LIBM_BUILD] (pmatherrl): Likewise.
28312 (DOMAIN): Likewise.
28313 (SING): Likewise.
28314 (OVERFLOW): Likewise.
28315 (UNDERFLOW): Likewise.
28316 (TLOSS): Likewise.
28317 (PLOSS): Likewise.
28318 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
28319 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
28320 compat_symbol.
28321 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
28322 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
28323 compat_symbol.
28324 * math/lgamma-compat.h: Include <math-svid-compat.h>.
28325 * math/w_acos_compat.c: Likewise.
28326 * math/w_acosf_compat.c: Likewise.
28327 * math/w_acosh_compat.c: Likewise.
28328 * math/w_acoshf_compat.c: Likewise.
28329 * math/w_acoshl_compat.c: Likewise.
28330 * math/w_acosl_compat.c: Likewise.
28331 * math/w_asin_compat.c: Likewise.
28332 * math/w_asinf_compat.c: Likewise.
28333 * math/w_asinl_compat.c: Likewise.
28334 * math/w_atan2_compat.c: Likewise.
28335 * math/w_atan2f_compat.c: Likewise.
28336 * math/w_atan2l_compat.c: Likewise.
28337 * math/w_atanh_compat.c: Likewise.
28338 * math/w_atanhf_compat.c: Likewise.
28339 * math/w_atanhl_compat.c: Likewise.
28340 * math/w_cosh_compat.c: Likewise.
28341 * math/w_coshf_compat.c: Likewise.
28342 * math/w_coshl_compat.c: Likewise.
28343 * math/w_exp10_compat.c: Likewise.
28344 * math/w_exp10f_compat.c: Likewise.
28345 * math/w_exp10l_compat.c: Likewise.
28346 * math/w_exp2_compat.c: Likewise.
28347 * math/w_exp2f_compat.c: Likewise.
28348 * math/w_exp2l_compat.c: Likewise.
28349 * math/w_fmod_compat.c: Likewise.
28350 * math/w_fmodf_compat.c: Likewise.
28351 * math/w_fmodl_compat.c: Likewise.
28352 * math/w_hypot_compat.c: Likewise.
28353 * math/w_hypotf_compat.c: Likewise.
28354 * math/w_hypotl_compat.c: Likewise.
28355 * math/w_j0_compat.c: Likewise.
28356 * math/w_j0f_compat.c: Likewise.
28357 * math/w_j0l_compat.c: Likewise.
28358 * math/w_j1_compat.c: Likewise.
28359 * math/w_j1f_compat.c: Likewise.
28360 * math/w_j1l_compat.c: Likewise.
28361 * math/w_jn_compat.c: Likewise.
28362 * math/w_jnf_compat.c: Likewise.
28363 * math/w_jnl_compat.c: Likewise.
28364 * math/w_lgamma_main.c: Likewise.
28365 * math/w_lgamma_r_compat.c: Likewise.
28366 * math/w_lgammaf_main.c: Likewise.
28367 * math/w_lgammaf_r_compat.c: Likewise.
28368 * math/w_lgammal_main.c: Likewise.
28369 * math/w_lgammal_r_compat.c: Likewise.
28370 * math/w_log10_compat.c: Likewise.
28371 * math/w_log10f_compat.c: Likewise.
28372 * math/w_log10l_compat.c: Likewise.
28373 * math/w_log2_compat.c: Likewise.
28374 * math/w_log2f_compat.c: Likewise.
28375 * math/w_log2l_compat.c: Likewise.
28376 * math/w_log_compat.c: Likewise.
28377 * math/w_logf_compat.c: Likewise.
28378 * math/w_logl_compat.c: Likewise.
28379 * math/w_pow_compat.c: Likewise.
28380 * math/w_powf_compat.c: Likewise.
28381 * math/w_powl_compat.c: Likewise.
28382 * math/w_remainder_compat.c: Likewise.
28383 * math/w_remainderf_compat.c: Likewise.
28384 * math/w_remainderl_compat.c: Likewise.
28385 * math/w_scalb_compat.c: Likewise.
28386 * math/w_scalbf_compat.c: Likewise.
28387 * math/w_scalbl_compat.c: Likewise.
28388 * math/w_sinh_compat.c: Likewise.
28389 * math/w_sinhf_compat.c: Likewise.
28390 * math/w_sinhl_compat.c: Likewise.
28391 * math/w_sqrt_compat.c: Likewise.
28392 * math/w_sqrtf_compat.c: Likewise.
28393 * math/w_sqrtl_compat.c: Likewise.
28394 * math/w_tgamma_compat.c: Likewise.
28395 * math/w_tgammaf_compat.c: Likewise.
28396 * math/w_tgammal_compat.c: Likewise.
28397 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
28398 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
28399 * sysdeps/ieee754/k_standard.c: Likewise.
28400 * sysdeps/ieee754/k_standardf.c: Likewise.
28401 * sysdeps/ieee754/k_standardl.c: Likewise.
28402 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
28403 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
28404 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
28405 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
28406 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
28407 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
28408 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
28409 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
28410 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
28411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
28412 Likewise.
28413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
28414 Likewise.
28415 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
28416 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
28417 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
28418 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
28419
4504783c
FW
284202017-08-21 Florian Weimer <fweimer@redhat.com>
28421
28422 [BZ #21864]
28423 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
28424 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
28425 Move before inclusion of ../Rules.
28426
b5889d25
FW
284272017-08-21 Florian Weimer <fweimer@redhat.com>
28428
28429 [BZ #21972]
28430 * assert/assert.h (assert): Use static_cast (bool) for C++.
28431 Use the ternary operator in the warning branch for GNU C.
28432 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
28433 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
28434 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
28435 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
28436 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
28437
41e673c1
L
284382017-08-21 H.J. Lu <hongjiu.lu@intel.com>
28439
28440 [BZ #18822]
28441 * sysdeps/unix/sysv/linux/x86_64/init-first.c
28442 (__syscall_clock_gettime): Add attribute_hidden.
28443 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
28444 (__start_context): Likewise.
28445
568ff429
L
284462017-08-21 H.J. Lu <hongjiu.lu@intel.com>
28447
28448 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
28449 building libc.a.
28450 (hidden_proto): Likewise.
28451 (hidden_tls_proto): Likewise.
28452 (__hidden_proto): Likewise.
28453
7c41b4a1
L
284542017-08-21 H.J. Lu <hongjiu.lu@intel.com>
28455
28456 * include/libc-symbols.h (attribute_hidden): Enable hidden
28457 visibility in libc.a compiled with PIE.
28458
483d7068
L
284592017-08-21 H.J. Lu <hongjiu.lu@intel.com>
28460
28461 [BZ #18822]
28462 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
28463 Add attribute_hidden.
28464
284652017-08-21 H.J. Lu <hongjiu.lu@intel.com>
28466
28467 [BZ #21864]
28468 * Makerules (all-nonlib): Add $(others-extras).
28469 * catgets/Makefile (others-extras): New.
28470 * elf/Makefile (others-extras): Likewise.
28471 * nss/Makefile (others-extras): Likewise.
28472
54e4b8f2
L
284732017-08-21 H.J. Lu <hongjiu.lu@intel.com>
28474
28475 [BZ #18822]
28476 * csu/libc-start.c (__libc_multiple_libcs): Removed.
28477 * elf/dl-open.c: Include <libc-internal.h>.
28478 (__libc_multiple_libcs): Removed.
28479 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
28480 <hp-timing.h>.
28481 * include/libc-internal.h (__libc_multiple_libcs): New.
28482 * misc/sbrk.c: Include <libc-internal.h>.
28483 (__libc_multiple_libcs): Removed.
28484
1dbbb1ec
L
284852017-08-21 H.J. Lu <hongjiu.lu@intel.com>
28486
28487 [BZ #18822]
28488 * grp/initgroups.c (__nss_group_database): Removed.
28489 (__nss_initgroups_database): Likewise.
28490 * nscd/gai.c (__nss_hosts_database): Likewise.
28491 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
28492 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
28493 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
28494 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
28495 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
28496 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
28497 attribute_hidden.
28498 * nss/nsswitch.c (__nss_database_custom): Define only if
28499 USE_NSCD is defined.
28500 (__nss_configure_lookup): Use __nss_database_custom only if
28501 USE_NSCD is defined.
28502 * nss/nsswitch.h (__nss_database_custom): Declare only if
28503 USE_NSCD is defined. Add attribute_hidden.
28504 (__nss_setent): Add attribute_hidden.
28505 (__nss_endent): Likewise.
28506 (__nss_getent_r): Likewise.
28507 (__nss_getent): Likewise.
28508 (DEFINE_DATABASE): Declare __nss_##arg##_database.
28509
2585d7b8
L
285102017-08-20 H.J. Lu <hongjiu.lu@intel.com>
28511
28512 [BZ #18822]
28513 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
28514 libc_hidden_proto and libc_hidden_def.
28515
c8dfa99c
L
285162017-08-20 H.J. Lu <hongjiu.lu@intel.com>
28517
28518 [BZ #18822]
28519 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
28520 Add libc_hidden_proto.
28521 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
28522 Add libc_hidden_def.
28523
7ed87317
L
285242017-08-20 H.J. Lu <hongjiu.lu@intel.com>
28525
28526 [BZ #21974]
28527 * gmon/Makefile (routines): Remove bb_init_func and
28528 bb_exit_func.
28529 (elide-routines.os): Removed.
9476b904
L
28530 * gmon/bb_exit_func.c: Likewise.
28531 * gmon/bb_init_func.c: Likewise.
7ed87317
L
28532 * include/sys/gmon.h (__bb): Likewise.
28533 (__bb_init_func): Likewise.
28534 (__bb_exit_func): Likewise.
91695eb1 28535 * sysdeps/alpha/bb_init_func.S: Likewise.
7ed87317 28536
94e6ba15
L
285372017-08-20 H.J. Lu <hongjiu.lu@intel.com>
28538
28539 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
28540 * include/setjmp.h (____longjmp_chk): Here. Add
28541 attribute_hidden.
28542
7550717e
L
285432017-08-19 H.J. Lu <hongjiu.lu@intel.com>
28544
28545 [BZ #18822]
28546 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
28547 attribute_hidden.
28548 (__strspn_sse2): Likewise.
28549
0bb2fabc
AZ
285502017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28551
c181840c
AZ
28552 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
28553 (close_not_cancel_no_status): Likewise.
28554 (__close_nocancel): New macro.
28555 (__close_nocancel_nostatus): Likewise.
28556 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
28557 macro.
28558 (close_not_cancel): Likewise.
28559 (close_not_cancel_no_status): Likewise.
28560 (__close_nocancel): New prototype.
28561 (__close_nocancel_nostatus): New function.
28562 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
28563 * catgets/open_catalog.c (__open_catalog): Replace
28564 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
28565 * gmon/gmon.c (write_gmon): Likewise.
28566 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
28567 * intl/loadmsgcat.c (close): Likewise.
28568 * io/ftw.c (open_dir_stream): Likewise.
28569 (ftw_startup): Likewise.
28570 * libio/fileops.c (_IO_file_open): Likewise.
28571 (_IO_file_close_mmap): Likewise.
28572 (_IO_file_close): Likewise.
28573 * libio/iopopen.c (_IO_dup2): Likewise.
28574 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
28575 * locale/loadlocale.c (_nl_load_locale): Likewise.
28576 * login/utmp_file.c (pututline_file): Likewise.
28577 (endutent_file): Likewise.
28578 * misc/daemon.c (daemon): Likewise.
28579 * nscd/nscd_getai.c (__nscd_getai): Likewise.
28580 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
28581 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
28582 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
28583 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
28584 * nscd/nscd_helper.c (open_socket): Likewise.
28585 (__nscd_open_socket): Likewise.
28586 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
28587 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
28588 (__nscd_innetgr): Likewise.
28589 * nss/nss_db/db-open.c (internal_setent): Likewise.
28590 * resolv/res-close.c (__res_iclose): Likewise.
28591 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
28592 * sysdeps/posix/closedir.c (__closedir): Likewise.
28593 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
28594 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
28595 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
28596 (opendir_tail): Likewise.
28597 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
28598 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
28599 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
28600 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
28601 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
28602 (gethostid): Likewise.
28603 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
28604 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28605 Likewise.
28606 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
28607 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
28608 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
28609 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
28610 Likewise.
28611 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
28612 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
28613 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
28614 Likewise.
28615 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
28616 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
28617 Likewise.
28618 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
28619 Likewise.
28620 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
28621 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
28622 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
28623 __close_nocancel.
28624
0bb2fabc
AZ
28625 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
28626 (openat_not_cancel_3): Likewise.
28627 (openat64_not_cancel_3): Likewise).
28628 (openat_not_cancel_3): Likewise).
28629 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
28630 macro.
28631 (openat_not_cancel_3): Likewise.
28632 (openat64_not_cancel): Likewise.
28633 (openat64_not_cancel_3): Likewise.
28634 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
28635 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
28636 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
28637 __open{64}_nocancel.
28638 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
28639 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
28640 * sysdeps/posix/opendir.c (__opendirat): Likewise.
28641
65a086db
L
286422017-08-18 H.J. Lu <hongjiu.lu@intel.com>
28643
28644 [BZ #18822]
28645 * include/argz.h (__argz_create_sep): New function prototype.
28646 (__argz_append): Likewise.
28647 (__argz_add): Likewise.
28648 (__argz_add_sep): Likewise.
28649 (__argz_delete): Likewise.
28650 (__argz_insert): Likewise.
28651 (__argz_replace): Likewise.
28652 * string/argz.h (__argz_create_sep): Removed.
28653 (__argz_append): Likewise.
28654 (__argz_add): Likewise.
28655 (__argz_add_sep): Likewise.
28656 (__argz_delete): Likewise.
28657 (__argz_insert): Likewise.
28658 (__argz_replace): Likewise.
28659
62753d2c
L
286602017-08-18 H.J. Lu <hongjiu.lu@intel.com>
28661
28662 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
28663 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
28664 (GNU_PROPERTY_STACK_SIZE): Likewie.
28665 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
28666 (GNU_PROPERTY_LOPROC): Likewise.
28667 (GNU_PROPERTY_HIPROC): Likewise.
28668 (GNU_PROPERTY_LOUSER): Likewise.
28669 (GNU_PROPERTY_HIUSER): Likewise.
28670 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
28671 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
28672 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
28673 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
28674 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
28675 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
28676 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
28677 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
28678 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
28679 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
28680 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
28681 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
28682 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
28683 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
28684 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
28685 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
28686 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
28687 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
28688 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
28689 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
28690 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
28691 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
28692 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
28693
6913ad65
GG
286942017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
28695
28696 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
28697 in C++ mode.
28698
47a67213
GG
286992017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
28700
28701 [BZ #21930]
28702 * math/math.h (isinf): Check if in C or C++ mode before using
28703 __builtin_types_compatible_p, since this is a C mode feature.
28704
a748eb31
AZ
287052017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28706
c647fb88
AZ
28707 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
28708 (__write_nocancel): New macro.
28709 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
28710 Rewrite as a function prototype.
28711 (write_not_cancel): Remove macro.
28712 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
28713 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
28714 (write_gmon): Likewise.
28715 * libio/fileops.c (_IO_new_file_write): Likewise.
28716 * login/utmp_file.c (pututline_file): Likewise.
28717 (updwtmp_file): Likewise.
28718 * stdio-common/psiginfo.c (psiginfo): Likewise.
28719 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
28720 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
28721 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
28722 Likewise.
28723 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
28724 Likewise.
28725
a748eb31
AZ
28726 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
28727 (__read_nocancel): New macro.
28728 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
28729 __read_nocancel.
28730 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
28731 macro.
28732 (__read_nocancel): New prototype.
28733 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
28734 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
28735 with __read_nocancel.
28736 * intl/loadmsgcat.c (read): Likewise.
28737 * libio/fileops.c (_IO_file_read): Likewise.
28738 * locale/loadlocale.c (_nl_load_locale): Likewise.
28739 * login/utmp_file.c (getutent_r_file): Likewise.
28740 (internal_getut_r): Likewise.
28741 (getutline_r_file): Likewise.
28742 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
28743 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
28744 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
28745 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28746 Likewise.
28747 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
28748 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
28749 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
28750 Likewise.
28751 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
28752 Likewise.
28753 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
28754 Likewise.
28755 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
28756 Likewise.
28757 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
28758
098b9dd4
L
287592017-08-18 H.J. Lu <hongjiu.lu@intel.com>
28760
28761 [BZ #21966]
28762 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
28763 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
28764 usable.
28765
a3fe6a20
DD
287662017-08-17 DJ Delorie <dj@redhat.com>
28767
28768 * bug17079.c: Update to new test harness.
28769 * test-digits-dots.c: Likewise.
28770 * test-netdb.c: Likewise.
28771 * tst-field.c: Likewise.
28772 * tst-nss-getpwent.c: Likewise.
28773 * tst-nss-static.c: Likewise.
28774 * tst-nss-test1.c: Likewise.
28775 * tst-nss-test2.c: Likewise.
28776 * tst-nss-test3.c: Likewise.
28777 * tst-nss-test4.c: Likewise.
28778 * tst-nss-test5.c: Likewise.
28779
c2284574
AZ
287802017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28781
28782 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
28783 (open_not_cancel_2): Likewise.
28784 (open_nocancel): New macro.
28785 (open64_nocancel): Likewise.
28786 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
28787 (open_not_cancel_2): Likewise.
28788 (__open_nocancel): New prototype.
28789 (__open64_nocancel): Likewise.
28790 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
28791 __open_nocancel.
28792 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
28793 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
28794 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
28795 with __open_nocancel.
28796 * csu/check_fds.c (check_one_fd): Likewise.
28797 * gmon/gmon.c (write_gmon): Likewise.
28798 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
28799 * intl/loadmsgcat.c (open): Likewise.
28800 * libio/fileops.c (_IO_file_open): Likewise.
28801 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
28802 * locale/loadlocale.c (_nl_load_locale): Likewise.
28803 * login/utmp_file.c (setutent_file): Likewise.
28804 * misc/daemon.c (daemon): Likewise.
28805 * nss/nss_db/db-open.c (internal_setent): Likewise.
28806 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
28807 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
28808 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
28809 (__opendir): Likewise.
28810 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
28811 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
28812 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
28813 (gethostid): Likewise.
28814 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
28815 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28816 Likewise.
28817 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
28818 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
28819 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
28820 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
28821 Likewise.
28822 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
28823 Likewise.
28824 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
28825 Likewise.
28826 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
28827 Likewise.
28828 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
28829 Likewise.
28830 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
28831 Likewise.
28832 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
28833 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
28834
d4505b89
WD
288352017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
28836
28837 * benchtests/bench-skeleton.c (main): Add support for
28838 latency benchmarking.
28839 * benchtests/scripts/bench.py: Add support for latency benchmarking.
28840
34d6a3cb
L
288412017-08-17 H.J. Lu <hongjiu.lu@intel.com>
28842
28843 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
28844 the startup object.
28845
038d1caf
FW
288462017-08-17 Florian Weimer <fweimer@redhat.com>
28847
28848 * include/sys/socket.h (__opensock): Remove internal_function.
28849 * socket/opensock.c (__opensock): Likewise.
28850 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
28851
67f0aff0
JM
288522017-08-16 Joseph Myers <joseph@codesourcery.com>
28853
28854 [BZ #21944]
28855 * signal/bits/types/__sigval_t.h: New file.
28856 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
28857 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
28858 and define sigval_t using __sigval_t.
28859 * include/bits/types/__sigval_t.h: New file.
28860 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
28861 instead of <bits/types/__sigval_t.h>.
28862 (struct sigevent): Use __sigval_t instead of sigval_t.
28863 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
28864 instead of <bits/types/__sigval_t.h>.
28865 (siginfo_t): Use __sigval_t instead of sigval_t.
28866 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
28867 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
28868 (struct sigevent): Use __sigval_t instead of sigval_t.
28869 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
28870 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
28871 (siginfo_t): Use __sigval_t instead of sigval_t.
28872 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
28873
87e7bf4d
L
288742017-08-16 H.J. Lu <hongjiu.lu@intel.com>
28875
28876 * NEWS: Remove "[Add new features here]" for 2.27.
28877
5047057f
JM
288782017-08-16 Joseph Myers <joseph@codesourcery.com>
28879
28880 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
28881 libc.so.
28882
20c7b195
L
288832017-08-16 H.J. Lu <hongjiu.lu@intel.com>
28884
28885 * NEWS: Mention x86-64 FMA optimization.
28886
24a2e658
L
288872017-08-16 H.J. Lu <hongjiu.lu@intel.com>
28888
28889 [BZ #21912]
28890 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28891 Add e_expf-fma.
28892 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
28893 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
28894 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
28895
eedca977
AS
288962017-08-16 Andreas Schwab <schwab@suse.de>
28897
403143e1
FW
28898 [BZ #16750]
28899 CVE-2009-5064
eedca977
AS
28900 * elf/ldd.bash.in: Never run file directly.
28901
f59f7adb
L
289022017-08-15 H.J. Lu <hongjiu.lu@intel.com>
28903
28904 [BZ #21955]
28905 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
28906 (L(SP_INF_0)): Likewise.
28907
6b11a6ad
FW
289082017-08-15 Florian Weimer <fweimer@redhat.com>
28909
28910 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
28911 run-built-tests.
28912
bbf5c438
FW
289132017-08-15 Florian Weimer <fweimer@redhat.com>
28914
28915 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
28916 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
28917 BROKEN_THREAD_SIGNALS code.
28918 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
28919 request_list): Remove caller_pid member used for
28920 BROKEN_THREAD_SIGNALS.
28921 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
28922 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
28923 Remove BROKEN_THREAD_SIGNALS support.
28924 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
28925 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
28926
6014c65d
FW
289272017-08-15 Florian Weimer <fweimer@redhat.com>
28928
28929 * gmon/Makefile (tests): Add tst-gmon.
28930 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
28931 Set.
28932 (tests-special): Add tst-gmon-prof.out.
28933 (tst-gmon.out): Depend on clean-tst-gmon-data.
28934 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
28935 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
28936 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
28937 startup object.
28938 * aclocal.m4 (GPROF): Set and substitute.
28939 * config.amke.in (GPROF): Set.
28940 * configure: Regenerate.
28941
ee72219a
GR
289422017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
28943
28944 * elf/elf.h A (NT_PPC_TAR): New macro.
28945 (NT_PPC_PPR): Likewise.
28946 (NT_PPC_DSCR): Likewise.
28947 (NT_PPC_EBB): Likewise.
28948 (NT_PPC_PMU): Likewise.
28949 (NT_PPC_TM_CGPR): Likewise.
28950 (NT_PPC_TM_CFPR): Likewise.
28951 (NT_PPC_TM_CVMX): Likewise.
28952 (NT_PPC_TM_CVSX): Likewise.
28953 (NT_PPC_TM_SPR): Likewise.
28954 (NT_PPC_TM_CTAR): Likewise.
28955 (NT_PPC_TM_CPPR): Likewise.
28956 (NT_PPC_TM_CDSCR): Likewise.
28957
4ebf934e
FW
289582017-08-15 Florian Weimer <fweimer@redhat.com>
28959
28960 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
28961 regparm (2) instead of internal_function.
28962 (_MCOUNT_DECL): Adjust.
28963
e9f57484
SL
289642017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
28965
28966 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
28967 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
28968
88ff4d55
JM
289692017-08-14 Joseph Myers <joseph@codesourcery.com>
28970
28971 * conform/data/sys/wait.h-data (si_value): Do not expect for
28972 XPG42.
28973
c88ffc23
FW
289742017-08-14 Florian Weimer <fweimer@redhat.com>
28975
28976 [BZ #21962]
28977 NSS: Create stubs for accidentally exported lookup functions.
28978 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
28979 Remove declaration.
28980 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
28981 (ether_hostton): Call __nss_ethers_lookup2 instead.
28982 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
28983 (ether_ntohost): Call __nss_ethers_lookup2 instead.
28984 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
28985 (setup): Call __nss_netgroup_lookup2 instead.
28986 * nss/Makefile (routines): Add compat-lookup.
28987 * nss/Versions (GLIBC_2.27): Add symbol version.
28988 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
28989 (DB_COMPAT_FCT): Remove.
28990 * nss/compat-lookup.c: New file.
28991 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
28992 from databases.def.
28993 * nss/service-lookup.c (NO_COMPAT): Remove definition.
28994 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
28995 (netname2user): Call __nss_publickey_lookup2 instead.
28996 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
28997 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
28998 instead.
28999
35a29136 290002017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1f14d0c3
AZ
29001 Sergei Trofimovich <slyfox@inbox.ru>
29002
29003 [BZ #21908]
29004 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
29005 Rename to MMAP2_PAGE_UNIT.
29006 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
29007 __OFF_T_MATCHES_OFF64_T is not defined.
29008 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
29009 uint64_t.
29010 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
29011 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
29012
fbdc1e3e
FW
290132017-08-14 Florian Weimer <fweimer@redhat.com>
29014
29015 i386: Do not set internal_function.
29016 * config.h.in (USE_REGPARMS, internal_function): Remove.
29017 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
29018 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
29019
b3f85fd2
FW
290202017-08-14 Florian Weimer <fweimer@redhat.com>
29021
29022 * elf/dl-init.c (_dl_init): Remove internal_function.
29023 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
29024 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
29025
630bf491
FW
290262017-08-14 Florian Weimer <fweimer@redhat.com>
29027
29028 * elf/rtld.c (_dl_start): Remove internal_function.
29029 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
29030 _dl_start.
29031
9fa7449b
FW
290322017-08-14 Florian Weimer <fweimer@redhat.com>
29033
29034 * elf/dl-fini.c (_dl_fini): Remove internal_function
29035 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
29036
73322d5f
L
290372017-08-14 H.J. Lu <hongjiu.lu@intel.com>
29038
d863cd71 29039 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
73322d5f
L
29040 (bit_cpu_SHSTK): Likewise.
29041 (index_cpu_IBT): Likewise.
29042 (index_cpu_SHSTK): Likewise.
29043 (reg_IBT): Likewise.
29044 (reg_SHSTK): Likewise.
29045 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
29046 Handle index_cpu_IBT and index_cpu_SHSTK.
29047
dbc303ef
MF
290482017-08-14 Mike FABIAN <mfabian@redhat.com>
29049
29050 [BZ #19982]
29051 * po/fr.po: Fix spelling mistake.
29052
3012cfb0
FW
290532017-08-13 Florian Weimer <fweimer@redhat.com>
29054
29055 * elf/dl-addr.c (_dl_addr): Remove internal_function.
29056 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
29057 (_dl_catch_error, _dl_receive_error): Likewise.
29058 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
29059 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
29060 (_dl_deallocate_tls): Likewise.
29061 * include/dlfcn.h (_dl_addr): Likewise.
29062 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
29063 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
29064 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
29065 Likewise.
29066
52bcdf26
FW
290672017-08-13 Florian Weimer <fweimer@redhat.com>
29068
29069 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
29070 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
29071 internal_function.
29072 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
29073
e1d2ae8d
FW
290742017-08-13 Florian Weimer <fweimer@redhat.com>
29075
29076 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
29077 internal_function.
29078 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
29079 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
29080 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
29081 internal_function from _dl_make_stack_executable_hook member.
29082 (_dl_make_stack_executable): Remove internal_function.
29083 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
29084 Likewise.
29085 * sysdeps/unix/sysv/linux/dl-execstack.c
29086 (_dl_make_stack_executable): Likewise.
29087
c4ce0382
FW
290882017-08-13 Florian Weimer <fweimer@redhat.com>
29089
29090 * sysdeps/unix/sysv/linux/netlinkaccess.h
29091 (__netlink_assert_response): Remove internal_function.
29092 * sysdeps/unix/sysv/linux/netlink_assert_response.c
29093 (__netlink_assert_response): Likewise.
29094
c4d767f7
FW
290952017-08-13 Florian Weimer <fweimer@redhat.com>
29096
29097 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
29098 internal_function.
29099 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
29100
b2297409
FW
291012017-08-13 Florian Weimer <fweimer@redhat.com>
29102
29103 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
29104 internal_function.
29105 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
29106 * inet/netgroup.h (__internal_setnetgrent)
29107 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
29108 * inet/getnetgrent_r.c (__internal_setnetgrent)
29109 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
29110 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
29111 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
29112 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
29113 * nss/nsswitch.h (db_lookup_function): Likewise.
29114
1b0bfc69
FW
291152017-08-13 Florian Weimer <fweimer@redhat.com>
29116
29117 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
29118 Remove internal_function.
29119 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
29120 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
29121 message argument on the stack.
29122 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
29123 Likeweise.
29124
a6bd8722
MF
291252017-08-12 Mike FABIAN <mfabian@redhat.com>
29126
29127 Adapt test case data to the changes in the thousands
29128 separators.
29129
29130 [BZ #20756]
29131 * localedata/tst-langinfo.sh: Adapt test case data.
29132 * stdlib/tst-strfmon_l.c: Likewise.
29133 * stdlib/tst-strtod4.c: Likewise.
29134 * stdlib/tst-strtod5i.c: Likewise.
29135
8b2c63e4
FW
291362017-08-11 Florian Weimer <fweimer@redhat.com>
29137
29138 [BZ #21242]
29139 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
29140 Suppress pedantic warning resulting from statement expression.
29141 (__ASSERT_FUNCTION): Add missing __extension__.
29142
61c98291
SP
291432017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
29144
86c6519e
SP
29145 * benchtests/bench-memmove-large.c: Print output in JSON
29146 format.
29147 * benchtests/bench-memmove.c: Likewise.
29148
61c98291
SP
29149 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
29150 * benchtests/bench-memchr.c (do_one_test): Likewise.
29151 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
29152 * benchtests/bench-memcpy.c (do_one_test): Likewise.
29153 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
29154 * benchtests/bench-memmove.c (do_one_test): Likewise.
29155 * benchtests/bench-memset-large.c (do_one_test): Likewise.
29156 * benchtests/bench-memset.c (do_one_test): Likewise.
29157 * benchtests/bench-string.h (test_init): Remove memsets.
29158
925733a9
RJ
291592017-08-10 Rical Jasan <ricaljasan@pacific.net>
29160
29161 * manual/lang.texi
29162 (Computing the Width of an Integer Data Type): Rename section to
29163 "Width of an Integer Type". Remove inaccurate statement regarding
29164 lack of C language facilities for determining width of integer
29165 types, and reorder content to improve flow and context of
29166 discussion.
29167
4fcdfbfc
RJ
291682017-08-10 Rical Jasan <ricaljasan@pacific.net>
29169
29170 * lang.texi (va_copy): Change standard from ISO to C99.
29171 (__va_copy): Add standard and header annotation.
29172 Update description for clarity of origins and current use.
29173
4d98ace9
GG
291742017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
29175
29176 [BZ #21941]
29177 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
29178 xssqrtqp requires operands to be in Vector Registers
29179 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
29180 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
29181 (__ieee754_sqrtf128): Likewise.
29182
92236903
WD
291832017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
29184
29185 * sysdeps/aarch64/memcmp.S (memcmp):
29186 Rewrite of optimized memcmp.
29187
2449ae7b
FW
291882017-08-10 Florian Weimer <fweimer@redhat.com>
29189
29190 Introduce ld.so exceptions.
29191 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
29192 (_dl_exception_create, _dl_exception_create_format)
29193 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
29194 (_dl_catch_exception): Declare.
29195 (_dl_catch_error): Update comment.
29196 * elf/dl-error-skeleton.c (struct catch): Replace objname,
29197 errstring, malloced members with exception member.
29198 (_dl_out_of_memory): Remove.
29199 (fatal_error): New function, extracted from _dl_signal_error.
29200 (_dl_signal_exception, _dl_signal_cexception): New functions.
29201 (_dl_signal_error): Call _dl_exception_create to allocate an
29202 exception object.
29203 (_dl_catch_exception): New function, based on _dl_catch_error.
29204 (_dl_catch_error): Implement using _dl_catch_exception.
29205 * elf/dl-exception.c: New file.
29206 * elf/Makefile (dl-routines): Add dl-exception.
29207 (elide-routines.os): Likewise.
29208 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
29209 _dl_exception_create_format, _dl_exception_free.
29210 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
29211 _dl_signal_exception.
29212 * elf/dl-lookup.c (make_string): Remove.
29213 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
29214 _dl_signal_cexception, _dl_exception_free.
29215 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
29216 _dl_signal_exception.
29217 * elf/dl-sym.c (do_sym): Likewise.
29218 * elf/dl-version.c (make_string): Remove.
29219 (match_symbol): Use _dl_exception_create_format,
29220 _dl_signal_cexception, _dl_exception_free.
29221 (_dl_check_map_versions): Likewise.
29222 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
29223 _dl_catch_exception.
29224 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
29225 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
29226 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
29227 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
29228 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
29229 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
29230 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
29231 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
29232 Likewise.
29233 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
29234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
29235 (ld.so): Likewise.
29236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
29237 (ld.so): Likewise.
29238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
29239 Likewise.
29240 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
29241 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
29242 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
29243 Likewise.
29244 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
29245 Likewise.
29246 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
29247
f87cc2bf
FW
292482017-08-10 Florian Weimer <fweimer@redhat.com>
29249
29250 * inet/net-internal.h (__inet6_scopeid_pton): Remove
29251 attribute_hidden, internal_function.
29252 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
29253 internal_function.
29254
eac43cbb
FW
292552017-08-10 Florian Weimer <fweimer@redhat.com>
29256
29257 * malloc/malloc.c (get_max_fast): Reimplement as an inline
29258 function which calls __builtin_unreachable.
29259
bd80111e
MF
292602017-08-10 Mike FABIAN <mfabian@redhat.com>
29261
29262 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
29263 Indian monetary formatting
29264 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
29265 test cases.
29266
60e2846e
DL
292672017-08-09 Dmitry V. Levin <ldv@altlinux.org>
29268
68dc02d1
DL
29269 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
29270 Fix typo in comment.
29271
60e2846e
DL
29272 [BZ #21928]
29273 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
29274 PTRACE_SEIZE_DEVEL): Remove.
29275 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
29276 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
29277 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29278 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29279 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29280
3d452dab
JM
292812017-08-09 Joseph Myers <joseph@codesourcery.com>
29282
24d9f53a
JM
29283 * posix/bits/types.h (__qaddr_t): Remove.
29284
3d452dab
JM
29285 [BZ #21457]
29286 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
29287 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
29288 __glibc_reserved1.
29289 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
29290 (ucontext_t): Use __ctx with uc_flags.
29291 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
29292 (__ctxt): Likewise.
29293 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
29294 __glibc_reserved1.
29295 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
29296 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
29297 __glibc_reserved1.
29298 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
29299 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
29300 __glibc_reserved1.
29301 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
29302 macro.
29303 (ucontext_t): Use __ctx with uc_flags.
29304 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
29305 (ucontext_t): Use __ctx with uc_flags.
29306 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
29307 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
29308 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
29309 (ucontext_t): Use __ctx with uc_flags.
29310 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
29311 undefine further down.
29312 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
29313 __glibc_reserved1.
29314 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
29315 undefine further down.
29316 (ucontext_t): Use __ctx with uc_flags.
29317 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
29318 undefine further down.
29319 (ucontext_t): Use __ctx with uc_flags.
29320 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
29321 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
29322 Rename uc_pad to __glibc_reserved1.
29323 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
29324 undefine further down.
29325 (ucontext_t): Use __ctx with uc_flags.
29326 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
29327 further down.
29328 (ucontext_t): Use __ctx with uc_flags.
29329 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
29330 __ctx with uc_flags.
29331 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
29332 (ucontext_t): Use __ctx with uc_flags.
29333 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
29334 __ctx with uc_flags.
29335
30161498
FW
293362017-08-09 Florian Weimer <fweimer@redhat.com>
29337
29338 [BZ #21932]
29339 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
29340 before early return.
29341
5797b410
AS
293422017-08-09 Andreas Schwab <schwab@suse.de>
29343
139237a4 29344 [BZ #21041]
5797b410
AS
29345 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
29346 renamed alias.
29347
139237a4 29348 [BZ #21041]
40c06a3d
AS
29349 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
29350 tst-compat-forwarder.
29351 (modules-names): Add tst-compat-forwarder-mod.
29352 ($(objpfx)tst-compat-forwarder): Depend on
29353 $(objpfx)tst-compat-forwarder-mod.so.
29354 * nptl/tst-compat-forwarder.c: New file.
29355 * nptl/tst-compat-forwarder-mod.c: New file.
29356
36ada5f6
SP
293572017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
29358
0e02b510
SP
29359 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
29360 comments.
29361
36ada5f6
SP
29362 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
29363 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
29364 memcpy_falkor.
29365 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
29366 Bump.
29367 (__libc_ifunc_impl_list): Add __memcpy_falkor.
29368 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
29369 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
29370 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
29371 Add falkor.
29372 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
29373 New macro.
29374
9995c839
AZ
293752017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29376
29377 [BZ #759]
29378 * manual/setjmp.texi (getcontex): Document uc_stack value
29379 compatibility differences.
29380
f17a4233
JM
293812017-08-08 Joseph Myers <joseph@codesourcery.com>
29382
29383 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
29384 (old_malloc_hook): Likewise.
29385 (old_memalign_hook): Likewise.
29386 (old_realloc_hook): Likewise.
29387 (struct hdr): Likewise.
29388 (flood): Likewise.
29389 (freehook): Likewise.
29390 (mallochook): Likewise.
29391 (memalignhook): Likewise.
29392 (reallochook): Likewise.
29393 (mprobe): Likewise.
29394 * malloc/mtrace.c (mallwatch): Likewise.
29395 (tr_old_free_hook): Likewise.
29396 (tr_old_malloc_hook): Likewise.
29397 (tr_old_realloc_hook): Likewise.
29398 (tr_old_memalign_hook): Likewise.
29399 (tr_where): Likewise.
29400 (lock_and_info): Likewise.
29401 (tr_freehook): Likewise.
29402 (tr_mallochook): Likewise.
29403 (tr_reallochook): Likewise.
29404 (tr_memalignhook): Likewise.
29405 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
29406 * misc/mmap.c (__mmap): Likewise.
29407 * misc/mmap64.c (__mmap64): Likewise.
29408 * misc/mprotect.c (__mprotect): Likewise.
29409 * misc/msync.c (msync): Likewise.
29410 * misc/munmap.c (__munmap): Likewise.
29411 * posix/posix_madvise.c (posix_madvise): Likewise.
29412 * socket/send.c (__send): Likewise.
29413 * socket/sendto.c (__sendto): Likewise.
29414 * socket/setsockopt.c (__setsockopt): Likewise.
29415 * string/memcmp.c (__ptr_t): Remove macro.
29416 (MEMCMP): Use void * instead of ptr_t.
29417 * string/memrchr.c (__ptr_t): Remove macro.
29418 (__memrchr): Use void * instead of ptr_t.
29419 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
29420 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
29421 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
29422 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
29423 * sysdeps/mach/msync.c (msync): Likewise.
29424 * sysdeps/mach/munmap.c (__munmap): Likewise.
29425 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
29426 Likewise.
29427 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
29428 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
29429 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
29430 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
29431 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
29432 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
29433 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
29434 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
29435 Likewise.
29436 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
29437 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
29438 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
29439 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
29440 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
29441 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
29442 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
29443 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
29444 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
29445 Likewise.
29446 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
29447 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
29448 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
29449 (MEMCMP): Use void * instead of ptr_t.
29450 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
29451 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
29452
0df595b2
FW
294532017-08-08 Florian Weimer <fweimer@redhat.com>
29454
29455 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
29456 return statement.
29457
086df229
L
294582017-08-08 H.J. Lu <hongjiu.lu@intel.com>
29459
29460 [BZ #21913]
29461 * csu/libc-tls.c: Include <startup.h> first.
29462 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
29463 * elf/dl-tunables.c: Include <startup.h> first.
29464 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
29465 * sysdeps/generic/startup.h: New file.
29466 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
29467 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
29468 (I386_USE_SYSENTER): New. Defined to 0.
29469
fc5ad702
AS
294702017-08-08 Andreas Schwab <schwab@suse.de>
29471
29472 [BZ #21041]
29473 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
29474 * nptl/pt-system.c (system): Likewise.
29475
852d6312
AZ
294762017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29477
29478 [BZ #21780]
29479 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
29480 EOPNOTSUPP.
29481 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
29482 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
29483 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
29484 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
29485 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
29486 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
29487 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
29488
8b164787
JM
294892017-08-07 Joseph Myers <joseph@codesourcery.com>
29490
cd65836b
JM
29491 [BZ #21899]
29492 * bits/sigaction.h (struct sigaction): Define sa_handler and
29493 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
29494 (SA_ONSTACK): Change [__USE_UNIX98] condition to
29495 [__USE_XOPEN_EXTENDED].
29496 (SA_RESTART): Likewise.
29497 (SA_NODEFER): Likewise.
29498 (SA_RESETHAND): Likewise.
29499 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
29500 (struct sigaction): Define sa_handler and sa_sigaction using union
29501 also for [__USE_XOPEN_EXTENDED].
29502 (SA_ONSTACK): Change [__USE_UNIX98] condition to
29503 [__USE_XOPEN_EXTENDED].
29504 (SA_RESTART): Likewise.
29505 (SA_NODEFER): Likewise.
29506 (SA_RESETHAND): Likewise.
29507 * sysdeps/unix/sysv/linux/bits/sigaction.h
29508 (struct sigaction): Define sa_handler and sa_sigaction using union
29509 also for [__USE_XOPEN_EXTENDED].
29510 (SA_ONSTACK): Change [__USE_UNIX98] condition to
29511 [__USE_XOPEN_EXTENDED].
29512 (SA_RESTART): Likewise.
29513 (SA_NODEFER): Likewise.
29514 (SA_RESETHAND): Likewise.
29515 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
29516 (struct sigaction): Define sa_handler and sa_sigaction using union
29517 also for [__USE_XOPEN_EXTENDED].
29518 (SA_ONSTACK): Change [__USE_UNIX98] condition to
29519 [__USE_XOPEN_EXTENDED].
29520 (SA_RESTART): Likewise.
29521 (SA_NODEFER): Likewise.
29522 (SA_RESETHAND): Likewise.
29523 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
29524 (struct sigaction): Define sa_handler and sa_sigaction using union
29525 also for [__USE_XOPEN_EXTENDED].
29526 (SA_ONSTACK): Change [__USE_UNIX98] condition to
29527 [__USE_XOPEN_EXTENDED].
29528 (SA_RESTART): Likewise.
29529 (SA_NODEFER): Likewise.
29530 (SA_RESETHAND): Likewise.
29531 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
29532 (struct sigaction): Define sa_handler and sa_sigaction using union
29533 also for [__USE_XOPEN_EXTENDED].
29534 (SA_ONSTACK): Change [__USE_UNIX98] condition to
29535 [__USE_XOPEN_EXTENDED].
29536 (SA_RESTART): Likewise.
29537 (SA_NODEFER): Likewise.
29538 (SA_RESETHAND): Likewise.
29539 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
29540 (struct sigaction): Define sa_handler and sa_sigaction using union
29541 also for [__USE_XOPEN_EXTENDED].
29542 (SA_ONSTACK): Change [__USE_UNIX98] condition to
29543 [__USE_XOPEN_EXTENDED].
29544 (SA_RESTART): Likewise.
29545 (SA_NODEFER): Likewise.
29546 (SA_RESETHAND): Likewise.
29547 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
29548 (struct sigaction): Define sa_handler and sa_sigaction using union
29549 also for [__USE_XOPEN_EXTENDED].
29550 (SA_ONSTACK): Change [__USE_UNIX98] condition to
29551 [__USE_XOPEN_EXTENDED].
29552 (SA_RESTART): Likewise.
29553 (SA_NODEFER): Likewise. Define directly rather than as alias.
29554 (SA_RESETHAND): Likewise.
29555 (SA_INTERRUPT): Define only for [__USE_MISC].
29556 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
29557 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
29558 [__USE_MISC].
29559 (SA_STACK): Define only for [__USE_MISC].
29560 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
29561 (struct sigaction): Define sa_handler and sa_sigaction using union
29562 also for [__USE_XOPEN_EXTENDED].
29563 (SA_ONSTACK): Change [__USE_UNIX98] condition to
29564 [__USE_XOPEN_EXTENDED].
29565 (SA_RESTART): Likewise.
29566 (SA_NODEFER): Likewise.
29567 (SA_RESETHAND): Likewise.
29568 (SA_NOPTRACE): Define only for [__USE_MISC].
29569
d9fee042
JM
29570 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
29571 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
29572 (struct catalog_info): Likewise.
29573 * inet/htontest.c (lo): Likewise.
29574 (foo): Likewise.
29575 * inet/inet_lnaof.c (inet_lnaof): Likewise.
29576 * inet/inet_net.c (inet_network): Likewise.
29577 * inet/inet_netof.c (inet_netof): Likewise.
29578 * inet/rcmd.c (__ivaliduser): Likewise.
29579 (iruserok): Likewise.
29580 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
29581 * locale/programs/locale-spec.c (locale_special): Likewise.
29582 * nis/nis_findserv.c (struct findserv_req): Likewise.
29583 (__nis_findfastest_with_timeout): Likewise.
29584 * nss/test-netdb.c (test_network): Likewise.
29585 * resolv/inet_neta.c (inet_neta): Likewise.
29586 * resolv/ns_date.c (ns_datetosecs): Likewise.
29587 (SECS_PER_DAY): Likewise.
29588 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
29589 Likewise.
29590 * resolv/res_comp.c (__putlong): Likewise.
29591 (__putshort): Likewise.
29592 (_getlong): Likewise.
29593 (_getshort): Likewise.
29594 * resolv/res_debug.c (p_time): Likewise.
29595 (precsize_ntoa): Likewise.
29596 (precsize_aton): Likewise.
29597 (latlon2ul): Likewise.
29598 (loc_aton): Likewise.
29599 (loc_ntoa): Likewise.
29600 * resolv/res_hconf.c (struct netaddr): Likewise.
29601 (_res_hconf_reorder_addrs): Likewise.
29602 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
29603 (clnttcp_control): Likewise.
29604 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
29605 (clntudp_control): Likewise.
29606 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
29607 (clntunix_control): Likewise.
29608 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
29609 * sunrpc/rpc/auth.h (union des_block): Likewise.
29610 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
29611 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
29612 (xdrrec_create): Likewise.
29613 (xdrrec_endofrecord): Likewise.
29614 (flush_out): Likewise.
29615 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
29616 (xdrstdio_putlong): Likewise.
29617 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
29618 Likewise.
29619
8b164787
JM
29620 * misc/sys/cdefs.h (__long_double_t): Remove.
29621 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
29622 instead of __long_double_t,
29623 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
29624
7ee38e60
SP
296252017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
29626
dd3e86ad
SP
29627 * benchtests/scripts/compare_strings.py: Avoid display error when
29628 running on a text terminal.
29629
b115e819
SP
29630 * benchtests/scripts/compare_strings.py (main): Add an
29631 optional -base option.
29632 (process_results): New argument base_func.
29633
7ee38e60
SP
29634 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
29635 hardcoding memcpy.
29636 * benchtests/bench-memcpy-large.c (test_name): Likewise.
29637 * benchtests/bench-memcpy-random.c (test_name): Likewise.
29638
d5afb385
AS
296392017-08-07 Andreas Schwab <schwab@suse.de>
29640
29641 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
29642 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
29643 * intl/Makefile ($(objpfx)tst-gettext.out)
29644 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
29645 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
29646 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
29647 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
29648 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
29649 * posix/Makefile ($(objpfx)globtest.out)
29650 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
29651 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
29652 ($(objpfx)tst-printf.out): Likewise.
29653 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
29654 ($(objpfx)tst-setcontext3.out): Likewise.
29655
57a72fa3
L
296562017-08-07 H.J. Lu <hongjiu.lu@intel.com>
29657
29658 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29659 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
29660 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
29661 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
29662 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
29663 and mptan-fma.
29664 (CFLAGS-doasin-fma.c): New.
29665 (CFLAGS-dosincos-fma.c): Likewise.
29666 (CFLAGS-e_asin-fma.c): Likewise.
29667 (CFLAGS-e_atan2-fma.c): Likewise.
29668 (CFLAGS-e_exp-fma.c): Likewise.
29669 (CFLAGS-e_log-fma.c): Likewise.
29670 (CFLAGS-e_pow-fma.c): Likewise.
29671 (CFLAGS-halfulp-fma.c): Likewise.
29672 (CFLAGS-mpa-fma.c): Likewise.
29673 (CFLAGS-mpatan-fma.c): Likewise.
29674 (CFLAGS-mpatan2-fma.c): Likewise.
29675 (CFLAGS-mpexp-fma.c): Likewise.
29676 (CFLAGS-mplog-fma.c): Likewise.
29677 (CFLAGS-mpsqrt-fma.c): Likewise.
29678 (CFLAGS-mptan-fma.c): Likewise.
29679 (CFLAGS-s_atan-fma.c): Likewise.
29680 (CFLAGS-sincos32-fma.c): Likewise.
29681 (CFLAGS-slowexp-fma.c): Likewise.
29682 (CFLAGS-slowpow-fma.c): Likewise.
29683 (CFLAGS-s_sin-fma.c): Likewise.
29684 (CFLAGS-s_tan-fma.c): Likewise.
29685 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
29686 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
29687 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
29688 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
29689 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
29690 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
29691 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
29692 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
29693 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
29694 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
29695 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
29696 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
29697 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
29698 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
29699 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
29700 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
29701 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
29702 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
29703 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
29704 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
29705 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
29706 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
29707 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
29708 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
29709 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
29710 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29711 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29712 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
29713 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29714 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29715 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29716
219dd320
JM
297172017-08-04 Joseph Myers <joseph@codesourcery.com>
29718
29719 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
29720 (min_of_type_f): New macro.
29721 (min_of_type_): Likewise.
29722 (min_of_type_l): Likewise.
29723 (min_of_type_f128): Likewise.
29724 (min_of_type): Define using __MATH_TG and taking an expression
29725 argument.
29726 (math_check_force_underflow): Pass expression instead of type to
29727 min_of_type.
29728 (math_check_force_underflow_nonneg): Likewise.
29729
64d4dea6
L
297302017-08-04 H.J. Lu <hongjiu.lu@intel.com>
29731
29732 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
29733 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
29734 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
29735
973da22a
L
297362017-08-04 H.J. Lu <hongjiu.lu@intel.com>
29737
29738 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29739 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
29740 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
29741 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
29742 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
29743 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
29744 memcpy_chk-nonshared, mempcpy_chk-nonshared,
29745 memmove_chk-nonshared and memset_chk-nonshared
29746 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
29747 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
29748 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
29749 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
29750 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
29751 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
29752 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
29753 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
29754 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
29755 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
29756 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
29757 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
29758 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
29759 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
29760 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
29761 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
29762 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
29763 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
29764 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
29765 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
29766 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
29767 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
29768 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
29769 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
29770 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
29771 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
29772 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
29773 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
29774 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
29775 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
29776 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
29777 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
29778 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
29779 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
29780 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
29781 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
29782 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
29783 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
29784 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
29785 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
29786 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
29787 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
29788 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
29789 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
29790 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
29791 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
29792 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
29793 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
29794 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
29795 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
29796 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
29797 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
29798 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
29799 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
29800 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
29801 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
29802 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
29803 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
29804 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
29805 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
29806 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
29807 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
29808 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
29809 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
29810 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
29811 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
29812 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
29813 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
29814 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
29815 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
29816 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
29817 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29818 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29819 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29820 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29821 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29822 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29823 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29824 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29825 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29826 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29827 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29828 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29829 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29830 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
29831 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
29832 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29833 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
29834 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29835 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29836 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29837 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29838 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29839 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29840 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
29841 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
29842 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
29843 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
29844 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29845 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
29846 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29847 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29848 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29849 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29850 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29851 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29852 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29853 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29854
8537e0f6
L
298552017-08-04 H.J. Lu <hongjiu.lu@intel.com>
29856
29857 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
29858 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
29859 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
29860 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
29861 svml_d_log2_core-sse2, svml_d_log4_core-sse,
29862 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
29863 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
29864 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
29865 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
29866 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
29867 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
29868 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
29869 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
29870 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
29871 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
29872 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
29873 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
29874 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
29875 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
29876 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
29877 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
29878 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
29879 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
29880 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
29881 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
29882 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
29883 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
29884 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
29885 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
29886 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
29887 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
29888 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
29889 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
29890 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
29891 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
29892 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
29893 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
29894 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
29895 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
29896 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
29897 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
29898 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
29899 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
29900 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
29901 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
29902 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
29903 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
29904 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
29905 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
29906 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
29907 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
29908 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
29909 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
29910 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
29911 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
29912 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
29913 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
29914 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
29915 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
29916 ...
29917 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
29918 Don't include <sysdep.h> nor <init-arch.h>.
29919 (_ZGVbN2v_cos): Removed.
29920 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
29921 ...
29922 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
29923 Don't include <sysdep.h> nor <init-arch.h>.
29924 (_ZGVdN4v_cos): Removed.
29925 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
29926 ...
29927 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
29928 Don't include <sysdep.h> nor <init-arch.h>.
29929 (_ZGVeN8v_cos): Removed.
29930 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
29931 ...
29932 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
29933 Don't include <sysdep.h> nor <init-arch.h>.
29934 (_ZGVbN2v_exp): Removed.
29935 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
29936 ...
29937 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
29938 Don't include <sysdep.h> nor <init-arch.h>.
29939 (_ZGVdN4v_exp): Removed.
29940 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
29941 ...
29942 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
29943 Don't include <sysdep.h> nor <init-arch.h>.
29944 (_ZGVeN8v_exp): Removed.
29945 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
29946 ...
29947 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
29948 Don't include <sysdep.h> nor <init-arch.h>.
29949 (_ZGVbN2v_log): Removed.
29950 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
29951 ...
29952 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
29953 Don't include <sysdep.h> nor <init-arch.h>.
29954 (_ZGVdN4v_log): Removed.
29955 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
29956 ...
29957 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
29958 Don't include <sysdep.h> nor <init-arch.h>.
29959 (_ZGVeN8v_log): Removed.
29960 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
29961 ...
29962 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
29963 Don't include <sysdep.h> nor <init-arch.h>.
29964 (_ZGVbN2vv_pow): Removed.
29965 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
29966 ...
29967 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
29968 Don't include <sysdep.h> nor <init-arch.h>.
29969 (_ZGVdN4vv_pow): Removed.
29970 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
29971 ...
29972 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
29973 Don't include <sysdep.h> nor <init-arch.h>.
29974 (_ZGVeN8vv_pow): Removed.
29975 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
29976 ...
29977 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
29978 Don't include <sysdep.h> nor <init-arch.h>.
29979 (_ZGVbN2v_sin): Removed.
29980 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
29981 ...
29982 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
29983 Don't include <sysdep.h> nor <init-arch.h>.
29984 (_ZGVbN4v_sin): Removed.
29985 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
29986 ...
29987 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
29988 Don't include <sysdep.h> nor <init-arch.h>.
29989 (_ZGVbN8v_sin): Removed.
29990 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
29991 ...
29992 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
29993 Don't include <sysdep.h> nor <init-arch.h>.
29994 (_ZGVbN2vvv_sincos): Removed.
29995 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
29996 ...
29997 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
29998 Don't include <sysdep.h> nor <init-arch.h>.
29999 (_ZGVdN4vvv_sincos): Removed.
30000 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
30001 ...
30002 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
30003 Don't include <sysdep.h> nor <init-arch.h>.
30004 (_ZGVeN8vvv_sincos): Removed.
30005 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
30006 ...
30007 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
30008 Don't include <sysdep.h> nor <init-arch.h>.
30009 (_ZGVeN16v_cosf): Removed.
30010 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
30011 ...
30012 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
30013 Don't include <sysdep.h> nor <init-arch.h>.
30014 (_ZGVbN4v_cosf): Removed.
30015 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
30016 ...
30017 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
30018 Don't include <sysdep.h> nor <init-arch.h>.
30019 (_ZGVdN8v_cosf): Removed.
30020 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
30021 ...
30022 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
30023 Don't include <sysdep.h> nor <init-arch.h>.
30024 (_ZGVeN16v_expf): Removed.
30025 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
30026 ...
30027 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
30028 Don't include <sysdep.h> nor <init-arch.h>.
30029 (_ZGVbN4v_expf): Removed.
30030 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
30031 ...
30032 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
30033 Don't include <sysdep.h> nor <init-arch.h>.
30034 (_ZGVdN8v_expf): Removed.
30035 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
30036 ...
30037 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
30038 Don't include <sysdep.h> nor <init-arch.h>.
30039 (_ZGVeN16v_logf): Removed.
30040 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
30041 ...
30042 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
30043 Don't include <sysdep.h> nor <init-arch.h>.
30044 (_ZGVbN4v_logf): Removed.
30045 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
30046 ...
30047 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
30048 Don't include <sysdep.h> nor <init-arch.h>.
30049 (_ZGVdN8v_logf): Removed.
30050 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
30051 ...
30052 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
30053 Don't include <sysdep.h> nor <init-arch.h>.
30054 (_ZGVeN16vv_powf): Removed.
30055 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
30056 ...
30057 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
30058 Don't include <sysdep.h> nor <init-arch.h>.
30059 (_ZGVbN4vv_powf): Removed.
30060 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
30061 ...
30062 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
30063 Don't include <sysdep.h> nor <init-arch.h>.
30064 (_ZGVdN8vv_powf): Removed.
30065 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
30066 ...
30067 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
30068 Don't include <sysdep.h> nor <init-arch.h>.
30069 (_ZGVeN16vvv_sincosf): Removed.
30070 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
30071 ...
30072 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
30073 Don't include <sysdep.h> nor <init-arch.h>.
30074 (_ZGVbN4vvv_sincosf): Removed.
30075 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
30076 ...
30077 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
30078 Don't include <sysdep.h> nor <init-arch.h>.
30079 (_ZGVdN8vvv_sincosf): Removed.
30080 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
30081 ...
30082 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
30083 Don't include <sysdep.h> nor <init-arch.h>.
30084 (_ZGVeN16v_sinf): Removed.
30085 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
30086 ...
30087 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
30088 Don't include <sysdep.h> nor <init-arch.h>.
30089 (_ZGVbN4v_sinf): Removed.
30090 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
30091 ...
30092 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
30093 Don't include <sysdep.h> nor <init-arch.h>.
30094 (_ZGVdN8v_sinf): Removed.
30095
10a87ca4
L
300962017-08-04 H.J. Lu <hongjiu.lu@intel.com>
30097
30098 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30099 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
30100 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
30101 s_rint-sse4_1 and s_rintf-sse4_1.
30102 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
30103 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
30104 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
30105 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
30106 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
30107 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
30108 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
30109 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
30110 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
30111 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
30112 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
30113 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
30114 (__ceil): Removed.
30115 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
30116 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
30117 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
30118 (__ceilf): Removed.
30119 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
30120 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
30121 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
30122 (__floor): Removed.
30123 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
30124 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
30125 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
30126 (__floorf): Removed.
30127 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
30128 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
30129 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
30130 (__nearbyint): Removed.
30131 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
30132 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
30133 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
30134 (__nearbyintf): Removed.
30135 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
30136 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
30137 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
30138 (__rint): Removed.
30139 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
30140 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
30141 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
30142 (__rintf): Removed.
30143
1e8e527d
L
301442017-08-04 H.J. Lu <hongjiu.lu@intel.com>
30145
30146 * sysdeps/i386/start.S (_start): Check Check PIC instead of
30147 SHARED. Avoid dynamic relocation against main in static PIE.
30148
e13daad7
L
301492017-08-04 H.J. Lu <hongjiu.lu@intel.com>
30150
30151 [BZ #21815]
30152 * elf/Makefile (CFLAGS-tst-prelink.c): New.
30153 (LDFLAGS-tst-prelink): Likewise.
30154
627c69c8
L
301552017-08-04 H.J. Lu <hongjiu.lu@intel.com>
30156
30157 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
30158 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
30159 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
30160 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
30161 (INTERNAL_SYSCALL_NCS): Likewise.
30162 (LOADARGS_1): Likewise.
30163 (LOADARGS_5): Likewise.
30164 (RESTOREARGS_1): Likewise.
30165 (RESTOREARGS_5): Likewise.
30166
fc11ff8d
L
301672017-08-04 H.J. Lu <hongjiu.lu@intel.com>
30168
30169 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
30170 (MEMPCPY_SYMBOL): Likewise.
30171 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
30172 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
30173 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
30174 in libc.a.
30175 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30176 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
30177 Likewise.
30178 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
30179 (__hidden_ver1): Don't use in libc.a.
30180 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
30181 (__mempcpy): Don't create a weak alias in libc.a.
30182 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
30183 libc.a.
30184 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
30185 (__hidden_ver1): Don't use in libc.a.
30186
19f1a11e
L
301872017-08-04 H.J. Lu <hongjiu.lu@intel.com>
30188
30189 * config.make.in (have-insert): New.
30190 * configure.ac (libc_cv_insert): New. Set to yes if linker
30191 supports INSERT in linker script.
30192 (AC_SUBST(libc_cv_insert): New.
30193 * configure: Regenerated.
30194 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
30195 if $(have-insert) == yes.
30196
3093fd5e
L
301972017-08-04 H.J. Lu <hongjiu.lu@intel.com>
30198
30199 * elf/Makefile (tests): Add vismain only if
30200 $(have-protected-data) == yes.
30201 (tests-pie): Likewise.
30202
d2cf37c0
L
302032017-08-04 H.J. Lu <hongjiu.lu@intel.com>
30204
30205 [BZ #21871]
30206 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
30207 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
30208
c8a0e6ec
L
302092017-08-04 H.J. Lu <hongjiu.lu@intel.com>
30210
30211 [BZ #21790]
30212 * sysdeps/i386/i586/memset.S
30213 (__memset_zero_constant_len_parameter): Removed.
30214 * sysdeps/i386/i686/memset.S
30215 (__memset_zero_constant_len_parameter): Likewise.
30216 * sysdeps/i386/i686/multiarch/memset_chk.S
30217 (__memset_zero_constant_len_parameter): Likewise.
30218 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
30219 Likewise.
30220
2b34e271
AJ
302212017-08-03 Aurelien Jarno <aurelien@aurel32.net>
30222
30223 * stdlib/getentropy.c (getentropy): Change return type to int.
30224
144bdab0
AJ
302252017-08-03 Aurelien Jarno <aurelien@aurel32.net>
30226
30227 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
30228
24ab7723
JM
302292017-08-03 Joseph Myers <joseph@codesourcery.com>
30230
30231 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
30232 u_intN_t.
30233 * math/s_nexttowardf.c (__nexttowardf): Likewise.
30234 * sysdeps/generic/math_private.h (ieee_double_shape_type):
30235 Likewise.
30236 (ieee_float_shape_type): Likewise.
30237 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
30238 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
30239 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
30240 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30241 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
30242 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
30243 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
30244 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
30245 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
30246 Likewise.
30247 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
30248 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
30249 (__ieee754_yn): Likewise.
30250 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
30251 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
30252 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
30253 Likewise.
30254 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
30255 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
30256 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
30257 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
30258 (__erfc): Likewise.
30259 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
30260 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
30261 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
30262 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
30263 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
30264 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
30265 Likewise.
30266 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
30267 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
30268 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
30269 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
30270 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
30271 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
30272 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
30273 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
30274 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
30275 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
30276 (__issignaling): Likewise.
30277 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
30278 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
30279 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
30280 Likewise.
30281 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
30282 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
30283 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
30284 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
30285 Likewise.
30286 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
30287 Likewise.
30288 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
30289 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
30290 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
30291 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
30292 (__erfcf): Likewise.
30293 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
30294 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
30295 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
30296 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
30297 Likewise.
30298 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
30299 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
30300 Likewise.
30301 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
30302 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
30303 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
30304 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
30305 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
30306 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
30307 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
30308 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
30309 Likewise.
30310 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
30311 Likewise.
30312 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
30313 Likewise.
30314 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
30315 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
30316 Likewise.
30317 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
30318 Likewise.
30319 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
30320 (__ieee754_ynl): Likewise.
30321 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
30322 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
30323 Likewise.
30324 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
30325 Likewise.
30326 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
30327 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
30328 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
30329 Likewise.
30330 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
30331 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
30332 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
30333 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
30334 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
30335 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
30336 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
30337 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
30338 Likewise.
30339 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
30340 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
30341 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
30342 Likewise.
30343 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
30344 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
30345 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
30346 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
30347 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
30348 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
30349 Likewise.
30350 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
30351 Likewise.
30352 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
30353 Likewise.
30354 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
30355 Likewise.
30356 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
30357 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
30358 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
30359 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
30360 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
30361 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
30362 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
30363 Likewise.
30364 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
30365 Likewise.
30366 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
30367 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
30368 Likewise.
30369 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
30370 (__ieee754_remainderl): Likewise.
30371 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
30372 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
30373 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
30374 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
30375 Likewise.
30376 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
30377 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30378 Likewise.
30379 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
30380 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
30381 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
30382 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
30383 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
30384 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
30385 Likewise.
30386 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
30387 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
30388 (__ieee754_y0l): Likewise.
30389 (pzero): Likewise.
30390 (qzero): Likewise.
30391 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
30392 (__ieee754_y1l): Likewise.
30393 (pone): Likewise.
30394 (qone): Likewise.
30395 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
30396 (__ieee754_ynl): Likewise.
30397 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
30398 (__ieee754_lgammal_r): Likewise.
30399 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
30400 Likewise.
30401 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
30402 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
30403 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
30404 (__erfcl): Likewise.
30405 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
30406 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
30407 Likewise.
30408 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
30409 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
30410 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
30411 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
30412 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
30413 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
30414 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30415 Likewise.
30416 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
30417 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
30418 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
30419 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
30420 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30421 Likewise.
30422 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
30423 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
30424 Likewise.
30425 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
30426 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
30427 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
30428 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
30429 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
30430
964263bb
FW
304312017-08-03 Florian Weimer <fweimer@redhat.com>
30432
30433 [BZ #21885]
30434 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
30435 on memory allocation failure.
30436
e98c925f
AM
304372017-08-03 Alan Modra <amodra@gmail.com>
30438
30439 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
30440 tst-tlsopt-powerpc.c with function name change and no test harness.
30441 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
30442 Call tls_get_addr_opt_test.
30443 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
30444 (modules-names): Add mod-tlsopt-powerpc.
30445 (mod-tlsopt-powerpc.so-no-z-defs): Define.
30446 (tst-tlsopt-powerpc): Depend on .so.
30447 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
30448 define. Expand use in TLS_GD and TLS_LD.
30449
8ee1abdb
ST
304502017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
30451
30452 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
30453 function.
3da5756e 30454 * sysdeps/posix/shm_open.c: Include <pthread.h>.
8ee1abdb 30455
42df8d59
JM
304562017-08-02 Joseph Myers <joseph@codesourcery.com>
30457
30458 [BZ #21686]
30459 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
30460 comparing size with that of double.
30461 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
30462 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
30463 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
30464 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
30465 (__TGMATH_BINARY_REAL_IMAG): Likewise.
30466 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
30467 unsigned __int128 types.
30468
b7f95f49
SE
304692017-08-02 Steve Ellcey <sellcey@cavium.com>
30470
30471 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
30472 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
30473 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
30474 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
30475 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
30476
5b736bc9
L
304772017-08-02 H.J. Lu <hongjiu.lu@intel.com>
30478
30479 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
30480
dfc93c41
L
304812017-08-02 H.J. Lu <hongjiu.lu@intel.com>
30482
30483 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
30484 of SHARED.
30485 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
30486 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
30487 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30488 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30489 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30490 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30491 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30492
2fee621d
JM
304932017-08-02 Joseph Myers <joseph@codesourcery.com>
30494
30495 [BZ #21685]
30496 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
30497 bit-field expressions passed to sizeof or typeof.
30498 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
30499 (__TGMATH_F128): Likewise.
30500 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
30501 (__TGMATH_CF128): Likewise.
30502 (__TGMATH_UNARY_REAL_ONLY): Likewise.
30503 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
30504 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
30505 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
30506 (__TGMATH_BINARY_REAL_ONLY): Likewise.
30507 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
30508 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
30509 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
30510 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
30511 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
30512 (__TGMATH_UNARY_REAL_IMAG): Likewise.
30513 (__TGMATH_UNARY_IMAG): Likewise.
30514 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
30515 (__TGMATH_BINARY_REAL_IMAG): Likewise.
30516 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
30517 type.
30518 (define_vars_for_type): Handle bit_field type specially.
30519 (Tests.__init__): Declare structure with bit-field element.
30520
b358255f
L
305212017-08-02 H.J. Lu <hongjiu.lu@intel.com>
30522
30523 [BZ #21791]
30524 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
30525 (MEMCPY_CHK): Define only if SHARED is defined.
30526 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
30527 Likewise.
30528 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
30529 Likewise.
edf66db1
SP
30530
30531See ChangeLog.18 for earlier changes.