]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
437667385afd83387affc638c8af2b989a6f8912
[thirdparty/glibc.git] / ChangeLog
1 2016-10-06 Joseph Myers <joseph@codesourcery.com>
2
3 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
4 macro.
5 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6 (__iseqsig): New declaration.
7 * math/s_iseqsig_template.c: New file.
8 * math/Versions (__iseqsigf): New libm symbol at version
9 GLIBC_2.25.
10 (__iseqsig): Likewise.
11 (__iseqsigl): Likewise.
12 * math/libm-test.inc (iseqsig_test_data): New array.
13 (iseqsig_test): New function.
14 (main): Call iseqsig_test.
15 * math/Makefile (gen-libm-calls): Add s_iseqsigF.
16 * manual/arith.texi (FP Comparison Functions): Document iseqsig.
17 * manual/libm-err-tab.pl: Update comment on interfaces without
18 ulps tabulated.
19 * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
20 * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
21 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
22 * sysdeps/nacl/libm.abilist: Update.
23 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
24 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
26 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
27 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
28 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
29 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
30 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
31 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
32 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
33 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
34 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
35 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
36 Likewise.
37 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
38 Likewise.
39 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
40 Likewise.
41 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
42 Likewise.
43 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
44 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
45 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
46 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
47 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
48 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
49 Likewise.
50 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
51 Likewise.
52 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
53 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
54 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
55
56 2016-10-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
57
58 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
59 do_sincos_2, sloww, sloww1): Update comments.
60
61 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
62 do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
63
64 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
65 K boolean and rename it.
66 (__sin): Adjust.
67 (__cos): Adjust.
68
69 2016-10-06 Rical Jasan <ricaljasan@pacific.net>
70 Siddhesh Poyarekar <siddhesh@sourceware.org>
71
72 * manual/nss.texi: Fix typos in the manual.
73
74 2016-10-06 Rical Jasan <ricaljasan@pacific.net>
75
76 * manual/contrib.texi: Fix typos in the manual.
77
78 * manual/maint.texi: Fix typos in the manual.
79
80 * manual/install.texi: Fix typos in the manual.
81 * INSTALL: Regenerated.
82
83 * manual/lang.texi: Fix typos in the manual.
84
85 * manual/probes.texi: Fix typos in the manual.
86
87 * manual/threads.texi: Fix typos in the manual.
88
89 * manual/debug.texi: Fix typos in the manual.
90
91 * manual/crypt.texi: Fix typos in the manual.
92
93 * manual/conf.texi: Fix typos in the manual.
94
95 * manual/sysinfo.texi: Fix typos in the manual.
96
97 * manual/users.texi: Fix typos in the manual.
98
99 * manual/job.texi: Fix typos in the manual.
100
101 * manual/process.texi: Fix typos in the manual.
102
103 * manual/argp.texi: Fix typos in the manual.
104 * manual/getopt.texi: Likewise.
105 * manual/startup.texi: Likewise.
106
107 * manual/signal.texi: Fix typos in the manual.
108
109 * manual/setjmp.texi: Fix typos in the manual.
110
111 * manual/resource.texi: Fix typos in the manual.
112
113 * manual/time.texi: Fix typos in the manual.
114
115 * manual/arith.texi: Fix typos in the manual.
116
117 * manual/math.texi: Fix typos in the manual.
118
119 * manual/syslog.texi: Fix typos in the manual.
120
121 * manual/terminal.texi: Fix typos in the manual.
122
123 * manual/socket.texi: Fix typos in the manual.
124
125 * manual/filesys.texi: Fix typos in the manual.
126
127 * manual/llio.texi: Fix typos in the manual.
128
129 * manual/stdio.text: Fix typos in the manual.
130
131 2016-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
132
133 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
134 instead of K1.
135
136 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
137 SHIFT_QUADRANT and make it bool.
138 (do_sincos_2): Likewise.
139 (sloww): Likewise.
140 (sloww1): Likewise.
141 (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
142 (__cos): Likewise.
143
144 2016-10-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
145
146 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
147
148 2016-10-04 Joseph Myers <joseph@codesourcery.com>
149
150 * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
151 Define to __WORDSIZE, not conditional on [LONG_MAX ==
152 0x7fffffffL].
153 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
154
155 2016-10-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
156
157 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
158 inline by __inline__.
159 (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
160 (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
161 (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
162 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
163 sigset_t from signal.h.
164 * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
165 which is already required.
166
167 2016-10-04 Stefan Liebler <stli@linux.vnet.ibm.com>
168
169 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
170
171 2016-10-03 Joseph Myers <joseph@codesourcery.com>
172
173 * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
174 (struct tcp_repair_window): New type.
175
176 2016-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
177
178 * libio/tst-memstream3.c: Include string.h.
179
180 2016-09-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
181
182 [BZ #18241]
183 [BZ #20181]
184 * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
185 * libio/memstream.c (_IO_mem_sync): Only append a null byte if
186 write position is at the end the buffer.
187 * libio/wmemstream.c (_IO_wmem_sync): Likewise.
188 * libio/strops.c (_IO_str_switch_to_get_mode): New function.
189 (_IO_str_seekoff): Set correct offset from negative displacement and
190 set EINVAL for invalid ones.
191 * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
192 buffer length.
193 (_IO_wstr_switch_to_get_mode): New function.
194 (_IO_wstr_seekoff): Set correct offset from negative displacement and
195 set EINVAL for invalid ones.
196 * libio/tst-memstream3.c: New file.
197 * libio/tst-wmemstream3.c: Likewise.
198 * manual/examples/memstrm.c: Remove warning when priting size_t.
199
200 2016-09-30 Joseph Myers <joseph@codesourcery.com>
201
202 * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
203 macro to use __builtin_fma.
204 * sysdeps/x86_64/fpu/dla.h: Remove file.
205
206 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
207 [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
208 [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
209
210 2016-09-30 Carlos O'Donell <carlos@redhat.com>
211
212 [BZ #20292]
213 * elf/Makefile (routines): Add dl-addr-obj.
214 [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
215 tst-_dl_addr_inside_object.
216 [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
217 [ifeq (yesyes,$(have-fpie)$(build-shared))]
218 ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
219 [ifeq (yesyes,$(have-fpie)$(build-shared))]
220 (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
221 * elf/dl-addr.c: Remove _dl_addr_inside_object function.
222 * elf/dl-open.c: Likewise.
223 * elf/dl-addr-obj.c: New file.
224 * elf/tst-_dl_addr_inside_object.c: New file.
225
226 2016-09-30 Joseph Myers <joseph@codesourcery.com>
227
228 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
229 <bits/iscanonical.h>.
230 * bits/iscanonical.h: New file.
231 * math/s_iscanonicall.c: Likewise.
232 * math/Versions (__iscanonicall): New libm symbol at version
233 GLIBC_2.25.
234 * math/libm-test.inc (iscanonical_test_data): New array.
235 (iscanonical_test): New function.
236 (main): Call iscanonical_test.
237 * math/Makefile (headers): Add bits/iscanonical.h.
238 (type-ldouble-routines): Add s_iscanonicall.
239 * manual/arith.texi (Floating Point Classes): Document
240 iscanonical.
241 * manual/libm-err-tab.pl: Update comment on interfaces without
242 ulps tabulated.
243 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
244 * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
245 * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
246 Likewise.
247 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
248 test-iscanonical-ldbl-128ibm.
249 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
250 * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
251 * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
252 * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
253 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
254 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
255 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
257 Likewise.
258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
259 Likewise.
260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
261 Likewise.
262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
263 Likewise.
264 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
265 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
266
267 2016-09-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
268
269 * string/bits/string3.h: Remove C++ style comments.
270
271 2016-09-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
272
273 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
274 instead of ternary condition.
275 (do_sincos_2): Likewise.
276 (__sin): Likewise.
277 (__cos): Likewise.
278 (slow): Likewise.
279 (sloww): Likewise.
280 (sloww1): Likewise.
281 (bsloww): Likewise.
282 (bsloww1): Likewise.
283
284 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
285 instead of ternary condition.
286 (do_sin_slow): Likewise.
287 (do_sincos_1): Likewise.
288 (do_sincos_2): Likewise.
289 (__cos): Likewise.
290 (sloww): Likewise.
291 (sloww1): Likewise.
292 (sloww2): Likewise.
293 (bsloww): Likewise.
294 (bsloww1): Likewise.
295 (bsloww2): Likewise.
296
297 * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
298 check from here...
299 (slow2): ... and here...
300 (__sin): ... to here.
301
302 2016-09-28 Joseph Myers <joseph@codesourcery.com>
303
304 * math/math.h
305 [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
306 Cast argument to its own type.
307 * math/test-iszero-excess-precision.c: New file.
308 * math/Makefile (tests): Add test-iszero-excess-precision.
309 (CFLAGS-test-iszero-excess-precision.c): New variable.
310
311 2016-09-28 Rasmus Villemoes <rv@rasmusvillemoes.dk>
312
313 * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
314 field, add err field.
315 (__spawni_child): Report error through err member instead of pipe.
316 (__spawnix): Likewise.
317
318 2016-09-28 Zack Weinberg <zackw@panix.com>
319
320 * scripts/check-installed-headers.sh: Generalize treatment of
321 sys/elf.h to all target architectures.
322
323 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
324 deleted typedef ucontext_t.
325
326 2016-09-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
327
328 * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
329 (__INTERNAL_SYSCALL1): Likewise.
330 (__INTERNAL_SYSCALL2): Likewise.
331 (__INTERNAL_SYSCALL3): Likewise.
332 (__INTERNAL_SYSCALL4): Likewise.
333 (__INTERNAL_SYSCALL5): Likewise.
334 (__INTERNAL_SYSCALL6): Likewise.
335 (__INTERNAL_SYSCALL7): Likewise.
336 (__INTERNAL_SYSCALL_NARGS_X): Likewise.
337 (__INTERNAL_SYSCALL_NARGS): Likewise.
338 (__INTERNAL_SYSCALL_DISP): Likewise.
339 (INTERNAL_SYSCALL_CALL): Likewise.
340 (__SYSCALL0): Rename to __INLINE_SYSCALL0.
341 (__SYSCALL1): Rename to __INLINE_SYSCALL1.
342 (__SYSCALL2): Rename to __INLINE_SYSCALL2.
343 (__SYSCALL3): Rename to __INLINE_SYSCALL3.
344 (__SYSCALL4): Rename to __INLINE_SYSCALL4.
345 (__SYSCALL5): Rename to __INLINE_SYSCALL5.
346 (__SYSCALL6): Rename to __INLINE_SYSCALL6.
347 (__SYSCALL7): Rename to __INLINE_SYSCALL7.
348 (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
349 (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
350 (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
351 (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
352 (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
353
354 2016-09-23 Joseph Myers <joseph@codesourcery.com>
355
356 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
357 macro.
358 * math/libm-test.inc (iszero_test_data): New array.
359 (iszero_test): New function.
360 (main): Call iszero_test.
361 * manual/arith.texi (Floating Point Classes): Document iszero.
362 * manual/libm-err-tab.pl: Update comment on interfaces without
363 ulps tabulated.
364
365 2016-09-23 Zack Weinberg <zackw@panix.com>
366
367 * scripts/check-installed-headers.sh: New script.
368 * Rules: In each directory that defines header files to be installed,
369 run check-installed-headers.sh on them as a special test.
370 * Makefile: Likewise for the headers installed at top level.
371
372 * include/aliases.h, include/alloca.h, include/argz.h
373 * include/arpa/nameser.h, include/arpa/nameser_compat.h
374 * include/elf.h, include/envz.h, include/err.h
375 * include/execinfo.h, include/fpu_control.h, include/getopt.h
376 * include/gshadow.h, include/ifaddrs.h, include/libintl.h
377 * include/link.h, include/malloc.h, include/mcheck.h
378 * include/mntent.h, include/netinet/ether.h
379 * include/nss.h, include/obstack.h, include/printf.h
380 * include/pty.h, include/resolv.h, include/rpc/auth.h
381 * include/rpc/auth_des.h, include/rpc/auth_unix.h
382 * include/rpc/clnt.h, include/rpc/des_crypt.h
383 * include/rpc/key_prot.h, include/rpc/netdb.h
384 * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
385 * include/rpc/pmap_rmt.h, include/rpc/rpc.h
386 * include/rpc/rpc_msg.h, include/rpc/svc.h
387 * include/rpc/svc_auth.h, include/rpc/xdr.h
388 * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
389 * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
390 * include/rpcsvc/ypupd.h, include/shadow.h
391 * include/stdio_ext.h, include/sys/epoll.h
392 * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
393 * include/sys/prctl.h, include/sys/profil.h
394 * include/sys/statfs.h, include/sys/sysctl.h
395 * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
396 * sysdeps/arm/nacl/include/bits/setjmp.h
397 * sysdeps/mips/include/sys/asm.h
398 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
399 * sysdeps/unix/sysv/linux/include/sys/timex.h
400 * sysdeps/x86/fpu/include/bits/fenv.h:
401 Add #ifndef _ISOMAC guard around internal declarations.
402 Add multiple-inclusion guard if not already present.
403
404 2016-09-23 Zack Weinberg <zackw@panix.com>
405
406 * sysdeps/generic/sys/ucontext.h
407 * sysdeps/arm/sys/ucontext.h
408 * sysdeps/i386/sys/ucontext.h
409 * sysdeps/m68k/sys/ucontext.h
410 * sysdeps/mips/sys/ucontext.h
411 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
412 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
413 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
414 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
415 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
416 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
417 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
418 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
419 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
420 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
421 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
422 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
423 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
424 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
425 Include both bits/sigcontext.h and bits/sigstack.h.
426 Fix grammar error in comment, if present.
427
428 * bits/sigstack.h
429 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
430 * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
431 * sysdeps/unix/sysv/linux/bits/sigstack.h
432 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
433 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
434 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
435 * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
436 * bits/sigcontext.h
437 * sysdeps/mach/hurd/i386/bits/sigcontext.h
438 * sysdeps/unix/sysv/linux/bits/sigcontext.h
439 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
440 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
441 Add multiple inclusion guard. Permit inclusion by sys/ucontext.h
442 as well as signal.h, if this was not already allowed. Request
443 definition of size_t if necessary. Minimize semantically-null
444 differences across files.
445
446 2016-09-23 Zack Weinberg <zackw@panix.com>
447
448 * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
449 Remove all logic conditional on __need macros. Move all the
450 conditionally defined types to their own headers...
451 * time/bits/types/clock_t.h: Define clock_t here.
452 * time/bits/types/clockid_t.h: Define clockid_t here.
453 * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
454 * time/bits/types/struct_timespec.h: Define struct timespec here.
455 * time/bits/types/struct_timeval.h: Define struct timeval here.
456 * time/bits/types/struct_tm.h: Define struct tm here.
457 * time/bits/types/time_t.h: Define time_t here.
458 * time/bits/types/timer_t.h: Define timer_t here.
459 * time/Makefile: Install the new headers.
460
461 * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
462 * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
463 * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
464 * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
465 * sysdeps/unix/sysv/linux/alpha/bits/resource.h
466 * sysdeps/unix/sysv/linux/alpha/sys/acct.h
467 * sysdeps/unix/sysv/linux/bits/resource.h
468 * sysdeps/unix/sysv/linux/bits/timex.h
469 * sysdeps/unix/sysv/linux/mips/bits/resource.h
470 * sysdeps/unix/sysv/linux/net/ppp_defs.h
471 * sysdeps/unix/sysv/linux/sparc/bits/resource.h
472 * sysdeps/unix/sysv/linux/sys/acct.h
473 * sysdeps/unix/sysv/linux/sys/timerfd.h
474 * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
475 * time/sys/time.h, time/sys/timeb.h
476 Use the new bits/types headers.
477
478 * include/time.h: Remove __need logic.
479 * include/bits/time.h
480 * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
481 * include/bits/types/time_t.h, include/bits/types/timer_t.h
482 * include/bits/types/struct_itimerspec.h
483 * include/bits/types/struct_timespec.h
484 * include/bits/types/struct_timeval.h
485 * include/bits/types/struct_tm.h:
486 New wrapper headers.
487
488 2016-09-23 Zack Weinberg <zackw@panix.com>
489
490 * sysdeps/mach/hurd/net/if_ppp.h
491 * sysdeps/unix/sysv/linux/net/if_ppp.h:
492 Only define struct ifpppstatsreq and struct ifpppcstatsreq
493 if __USE_MISC is defined, to ensure struct ifreq is declared.
494
495 * inet/netinet/ether.h: Condition all function prototypes
496 on __USE_MISC, to ensure struct ether_addr is declared.
497
498 * socket/bits/types/struct_osockaddr.h: New header.
499 * include/bits/types/struct_osockaddr.h: New wrapper.
500 * socket/Makefile: Install the new header.
501 * socket/sys/socket.h, inet/protocols/talkd.h:
502 Refer to bits/types/struct_osockaddr.h for the definition of
503 struct osockaddr.
504
505 2016-09-23 Zack Weinberg <zackw@panix.com>
506
507 * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
508 * inet/protocols/routed.h, inet/protocols/talkd.h
509 * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
510 * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
511 * sysdeps/generic/netinet/if_ether.h
512 * sysdeps/generic/netinet/in_systm.h
513 * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
514 * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
515 * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
516 * sysdeps/mach/hurd/net/if_arp.h
517 * sysdeps/mach/hurd/net/if_ppp.h
518 * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
519 * sysdeps/unix/sysv/linux/bits/in.h
520 * sysdeps/unix/sysv/linux/net/ethernet.h
521 * sysdeps/unix/sysv/linux/net/if_arp.h
522 * sysdeps/unix/sysv/linux/net/if_ppp.h
523 * sysdeps/unix/sysv/linux/net/if_shaper.h
524 * sysdeps/unix/sysv/linux/net/route.h
525 * sysdeps/unix/sysv/linux/netinet/if_ether.h
526 * sysdeps/unix/sysv/linux/netinet/if_fddi.h
527 * sysdeps/unix/sysv/linux/netinet/if_tr.h
528 * sysdeps/unix/sysv/linux/netipx/ipx.h
529 * sysdeps/unix/sysv/linux/sys/acct.h
530 * include/arpa/nameser.h, include/resolv.h:
531 Change all uses of u_char to unsigned char,
532 u_short and ushort to unsigned short, u_int and uint to unsigned int,
533 u_long and ulong to unsigned long, u_int8_t to uint8_t,
534 u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
535 and u_int64_t and u_quad_t to uint64_t.
536
537 * mach/sys/reboot.h: Remove two casts of integer literals
538 to the types they already have.
539
540 * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
541 * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
542 * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
543 from referring to 'unsigned char' to 'uint8_t' for consistency with
544 the macro definition below.
545
546 * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
547 * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
548 * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
549 * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
550 * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
551 * sysdeps/unix/sysv/linux/sys/acct.h
552 * include/arpa/nameser.h, include/resolv.h:
553 Fix indentation disrupted by mechanical edits.
554
555 * inet/protocols/talkd.h, resolv/arpa/nameser.h
556 * sysdeps/generic/netinet/in_systm.h
557 * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
558 * sysdeps/gnu/netinet/udp.h
559 * sysdeps/unix/sysv/linux/net/ethernet.h
560 * sysdeps/unix/sysv/linux/net/if_arp.h
561 * sysdeps/unix/sysv/linux/net/if_ppp.h
562 * sysdeps/unix/sysv/linux/net/if_shaper.h
563 * sysdeps/unix/sysv/linux/netinet/if_fddi.h
564 * sysdeps/unix/sysv/linux/netinet/if_tr.h
565 * sysdeps/unix/sysv/linux/netipx/ipx.h
566 * sysdeps/unix/sysv/linux/sys/acct.h
567 Include stdint.h for uintNN_t definitions.
568 Don't include sys/cdefs.h, features.h, or asm/types.h directly.
569
570 2016-09-23 Zack Weinberg <zackw@panix.com>
571
572 * rpcsvc/nislib.h: Include rpcsvc/nis.h.
573 * sysdeps/unix/sysv/linux/netrose/rose.h:
574 Include sys/socket.h and netax25/ax25.h.
575
576 * inet/netinet/icmp6.h, inet/netinet/ip6.h
577 * resolv/arpa/nameser_compat.h:
578 Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
579
580 * sysdeps/unix/sysv/linux/sys/quota.h:
581 Use __caddr_t instead of caddr_t.
582 * sysdeps/unix/sysv/linux/sys/timerfd.h:
583 Use __clockid_t instead of clockid_t.
584
585 * sysvipc/sys/ipc.h: Remove unnecessary #warning.
586
587 * argp/argp.h: Check whether _LIBC is defined before expanding it.
588 * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
589 expanding it.
590
591 * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
592 Define __glibc_c99_flexarr_available to 1 when the compiler
593 supports C99-compatible flexible array members, 0 otherwise.
594 * sysdeps/unix/sysv/linux/bits/socket.h
595 * sysdeps/mach/hurd/bits/socket.h
596 * bits/socket.h: Use __glibc_c99_flexarr_available in
597 definitions of struct cmsghdr and CMSG_DATA.
598
599 2016-09-23 Florian Weimer <fweimer@redhat.com>
600
601 * manual/nss.texi (NSS Modules Interface): Adjust function return
602 type to enum nss_status. Document errnop argument. Clarify
603 h_errnop semantics. Fix cross-reference formatting.
604 (NSS Module Function Internals): Mention that *errnop needs to be
605 set on failure, but not to zero.
606
607 2016-09-23 Florian Weimer <fweimer@redhat.com>
608
609 * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
610 (get_random_name): New functions.
611 (check_wrapper_flags_mode): Use linkat to give the new file a name
612 determined by get_random_name.
613 (do_test): Add calls to test open64 and openat64.
614
615 2016-09-23 Florian Weimer <fweimer@redhat.com>
616
617 * test-skeleton.c: Remove #include <stdarg.h>.
618
619 2016-09-21 Alexandre Oliva <aoliva@redhat.com>
620
621 [BZ #19826]
622 * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
623 initialization of static TLS entries.
624 * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
625 * nptl/allocatestack.c (init_one_static_tls): Likewise.
626
627 2016-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
628
629 * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
630 _hurd_malloc_fork_prepare.
631 (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
632 (malloc_fork_child): Rename to _hurd_malloc_fork_child.
633 (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
634 (_hurd_fork_parent_hook): Drop malloc_fork_parent.
635 (_hurd_fork_child_hook): Drop malloc_fork_child.
636 * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
637 _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
638 * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
639 after locking locks (notably hurd_dtable_lock). Call
640 _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
641 before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
642 __malloc_fork_unlock_child.
643 * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
644
645 2016-09-21 James Greenhalgh <james.greenhalgh@arm.com>
646
647 * soft-fp/extendhftf2.c: New.
648 * soft-fp/fixhfti.c: Likewise.
649 * soft-fp/fixunshfti.c: Likewise.
650 * soft-fp/floattihf.c: Likewise.
651 * soft-fp/floatuntihf.c: Likewise.
652 * soft-fp/half.h: Likewise.
653 * soft-fp/trunctfhf2.c: Likewise.
654
655 2016-09-21 Joseph Myers <joseph@codesourcery.com>
656
657 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
658 macro.
659 * math/libm-test.inc (issubnormal_test_data): New array.
660 (issubnormal_test): New function.
661 * manual/arith.texi (Floating Point Classes): Document
662 issubnormal.
663 * manual/libm-err-tab.pl: Update comment on interfaces without
664 ulps tabulated.
665
666 * sysdeps/generic/stdint.h: Define
667 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
668 <bits/libc-header-start.h> instead of including <features.h>.
669 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
670 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
671 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
672 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
673 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
674 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
675 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
676 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
677 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
678 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
679 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
680 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
681 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
682 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
683 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
684 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
685 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
686 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
687 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
688 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
689 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
690 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
691 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
692 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
693 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
694 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
695 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
696 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
697 [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
698 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
699 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
700 [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
701 [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
702 * manual/arith.texi (Integers): Document these macros for types
703 specified by width properties.
704 * manual/lang.texi (Width of Type): Document these macros for
705 other standard typedefs.
706 * stdlib/tst-width-stdint.c: New file.
707 * stdlib/Makefile (tests): Add tst-width-stdint.
708
709 2016-09-21 Florian Weimer <fweimer@redhat.com>
710
711 [BZ #20016]
712 * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
713 * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
714 Move ...
715 * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
716 ... here, as compatibility symbols in a new file.
717 * resolv/Makefile (libresolv-routines): Add compat-hooks.
718 * resolv/res_init.c (__res_vinit): Adjust member names.
719 * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
720 * resolv/resolv.h (res_sendhookact, res_send_qhook)
721 (res_send_rhook): Remove.
722 (struct __res_state): Rename qhook, rhook members.
723
724 2016-09-21 Florian Weimer <fweimer@redhat.com>
725
726 malloc: Use __libc_lock wrappers.
727 * malloc/arena.c (list_lock, free_list_lock): Define using
728 __libc_lock_define_initialized.
729 (arena_lock): Adjust formatting.
730 * malloc/malloc.c (struct malloc_state): Define mutex using
731 __libc_lock_define.
732 * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
733 (mutex_lock, mutex_trylock, mutex_unlock): Remove.
734 * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
735 (mutex_unlock, mutex_trylock): Remove.
736 (__pthread_initialize): Remove unused macro.
737 * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
738 (mutex_unlock, mutex_trylock): Remove.
739
740 2016-09-21 Florian Weimer <fweimer@redhat.com>
741
742 [BZ #20592]
743 Remove RR type classification macros.
744 * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
745 (ns_t_udp_p, ns_t_xfr_p): Remove.
746
747 2016-09-21 Florian Weimer <fweimer@redhat.com>
748
749 Remove misleading version information.
750 * resolv/arpa/nameser.h (__NAMESER): Remove.
751 * resolv/arpa/nameser_compat.h (__BIND): Remove.
752
753 2016-09-21 Florian Weimer <fweimer@redhat.com>
754
755 Remove the always-defined BIND_4_COMPAT macro.
756 * resolv/arpa/nameser.h: Unconditionally include
757 <arpa/nameser_compat.h>.
758 (BIND_4_COMPAT): Remove.
759 * resolv/res_comp.c: Do not check BIND_4_COMPAT.
760
761 2016-09-21 Florian Weimer <fweimer@redhat.com>
762
763 [BZ #20591]
764 Remove obsolete DNSSEC support.
765 * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
766 (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
767 (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
768 (ns_verify_tcp, ns_verify_tcp_init): Remove.
769 (ns_cert_types): Add comment.
770 * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
771 separately.
772 (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
773 (dst_s_dns_key_id): Remove.
774 * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
775 variables.
776
777 2016-09-21 Florian Weimer <fweimer@redhat.com>
778
779 [BZ #20524]
780 * manual/string.texi (String/Array Comparison): Clarify the
781 strverscmp behavior.
782
783 2016-09-21 Florian Weimer <fweimer@redhat.com>
784
785 * test-skeleton.c (xasprintf): Add function.
786 * io/tst-open-tmpfile.c: New test.
787 * io/Makefile (tests): Add it.
788
789 2016-09-21 Florian Weimer <fweimer@redhat.com>
790
791 Avoid running $(CXX) during build to obtain header file paths.
792 * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
793 * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
794 * Makerules (cstdlib, cmath): Remove variables. Use
795 $(c++-cstdlib-header), $(c++-cmath-header) instead.
796 * configure: Regenerate.
797
798 2016-09-21 Florian Weimer <fweimer@redhat.com>
799
800 * Makeconfig (all-object-suffixes): Include .op only if
801 $(build-profile).
802
803 2016-09-21 Florian Weimer <fweimer@redhat.com>
804
805 * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
806 conditionals. Do not define PATH_MAX.
807
808 2016-09-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
809
810 * posix/Makefile (tests): Add tst-spawn3.
811 * posix/tst-spawn3.c: New file.
812 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
813 if it is already opened for open action.
814
815 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
816 all signals when executing the clone vfork child.
817 (SIGALL_SET): Remove macro.
818
819 * nptl/Makefile (tests): Add tst-exec5.
820 * nptl/tst-exec5.c: New file.
821 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
822 asynchronous cancellation.
823
824 2016-09-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
825
826 * hurd/exc2signal.c: #include <hurd/signal.h>
827 (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
828 'sigcode', 'error' parameters with 'detail' parameter. Fix code
829 accordingly.
830 * mach/mach_error.c (mach_error): Fix old-style function definition.
831 * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
832
833 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
834
835 * math/Makefile (libm-calls): Remove s_nanF.
836 (gen-libm-calls): Add s_nanF.
837
838 * math/s_nan.c: Refactor into ...
839 * math/s_nan_template.c: New file.
840
841 * math/s_nanf.c: Removed.
842 * math/s_nanl.c: Removed.
843 * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
844 * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
845
846 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
847 (LDOUBLE_nanl_libm_version): New macro.
848
849 * sysdeps/generic/math-type-macros-double.h:
850 (M_STRTO_NAN): New macro.
851 * sysdeps/generic/math-type-macros-float.h: Likewise.
852 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
853
854 * sysdeps/generic/math-type-macros.h: Document
855 M_STRTO_NAN.
856
857 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
858
859 * math/s_nanf.c: Remove __nanf undef.
860 * math/s_nan.c: Remove __nan undef.
861 * math/s_nanl.c: Remove __nanl undef.
862
863 * sysdeps/generic/math_private.h (__nan): Remove macro
864 override.
865 (__nanf): Likewise.
866 (__nanl): Likewise.
867
868 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
869
870 * math/Makefile (gen-all-calls): New variable.
871 (generated): Replace gen-libm-calls with gen-all-calls.
872 (gen-libm-templates.stmp): Likewise. Also, ensure
873 the output directory exists or is created and add
874 dependency on the Makefile.
875 (calls): Move s_ldexpF into gen-calls.
876 (gen-calls): New variable.
877
878 * math/s_ldexpf.c: Removed.
879 * math/s_ldexpl.c: Removed.
880 * math/s_ldexp.c: Refactored into ...
881 * math/s_ldexp_template.c: New file.
882
883 * sysdeps/generic/math-type-macros-double.h: Remove
884 redundant fall-through definition of declare_mgen_alias.
885 (declare_mgen_alias_2): New macro.
886
887 * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
888 New macro for function aliased to two exported symbols.
889
890 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
891 new template file.
892 sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
893
894 2016-09-20 Florian Weimer <fweimer@redhat.com>
895
896 * Makeconfig (all-object-suffixes): Remove .og.
897 * Makerules (elide-routines.og): Remove.
898 * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
899 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
900 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
901
902 2016-09-20 Florian Weimer <fweimer@redhat.com>
903
904 * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
905 .os objects.
906
907 2016-09-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
908
909 [BZ #20615]
910 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
911 fpu directory by non-fpu.
912 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
913 on non-fpu directory from a fpu directory.
914
915 2016-09-19 Joseph Myers <joseph@codesourcery.com>
916
917 * include/limits.h: Define
918 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
919 <bits/libc-header-start.h> instead of including <features.h>.
920 [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
921 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
922 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
923 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
924 [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
925 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
926 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
927 [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
928 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
929 [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
930 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
931 * manual/lang.texi (Width of Type): Document these macros.
932 * stdlib/tst-width.c: New file.
933 * stdlib/Makefile (tests): Add tst-width.
934
935 2016-09-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
936
937 * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
938 * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
939
940 2016-09-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
941
942 * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
943 * sysdeps/sparc/sparc32/sem_open.c: Remove file.
944 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
945
946 2016-09-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
947
948 [BZ #18243]
949 * rt/Makefile (test): Add tst-shm-cancel.
950 * rt/tst-shm-cancel.c: New file.
951 * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
952
953 [BZ #18243]
954 * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
955 * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
956 definition.
957 * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
958 uncontended case.
959 * nptl/sem_wait.c (__new_sem_wait): Likewise.
960 * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
961 (tf): Fix check for uncontended case.
962 (do_test): Likewise.
963 * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
964 (tf): Fix check for uncontended case.
965 (do_test): Likewise.
966 * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
967 (tf): Fix check for uncontended case.
968 (do_test): Likewise.
969 * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
970 (tf): Fix check for uncontended case.
971 (do_test): Likewise.
972
973 * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
974 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
975
976 [BZ #15765]
977 * nptl/Makefile (tests): Add tst-sem16.
978 * nptl/tst-sem16.c: New file.
979 * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
980
981 * nptl/sem_open.c (sem_open): Init pad value to 0.
982 * sysdeps/sparc/sparc32/sem_open.c: Remove file.
983 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
984
985 2016-09-15 Florian Weimer <fweimer@redhat.com>
986
987 [BZ #20611]
988 * inet/Makefile (routines): Add inet6_scopeid_pton.
989 (tests): Add tst-inet6_scopeid_pton.
990 * inet/inet6_scopeid_pton.c: New file.
991 * inet/net-internal.h: Likewise.
992 * inet/tst-inet6_scopeid_pton.c: New test.
993 * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
994 * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
995 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
996
997 2016-09-14 Florian Weimer <fweimer@redhat.com>
998
999 Remove support for compiling wrappers with PTW.
1000 * sysdeps/nptl/Makeconfig: Drop ptw- support.
1001 * nptl/Makefile (pthread-compat-wrappers): Define.
1002 (libpthread-routines): Use pthread-compat-wrappers.
1003 * sysdeps/unix/sysv/linux/alpha/Makefile
1004 (libpthread-routines, libpthread-shared-only-routines): Remove
1005 ptw- prefix.
1006 * sysdeps/s390/nptl/Makefile
1007 (libpthread-routines, libpthread-shared-only-routines): Likewise.
1008 * sysdeps/ia64/nptl/Makefile
1009 (libpthread-routines, libpthread-shared-only-routines): Likewise.
1010 * sysdeps/nacl/Makefile (libpthread-routines): Use
1011 pthread-compat-wrappers to filter the routines list instead of the
1012 ptw- prefix.
1013
1014 2016-09-13 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1015
1016 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
1017 with L() and remove explicit suffix, convert real literals
1018 which can be equivalentally substituted with integers, and
1019 transform -L(x) to L(-x).
1020
1021 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1022 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1023 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1024 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1025 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1026 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1027 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1028 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
1029 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1030 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1031 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1032 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1033 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1034 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
1035 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
1036 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
1037 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
1038 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1039 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
1040 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
1041 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
1042 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
1043 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
1044 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1045 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
1046 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1047 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1048 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1049 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1050 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1051 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1052 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
1053 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1054 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1055 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1056 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1057 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1058 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1059 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1060 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1061 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1062 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1063 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1064 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
1065 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1066 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1067 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1068 * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
1069 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
1070 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1071
1072 2016-09-13 Florian Weimer <fweimer@redhat.com>
1073
1074 * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
1075
1076 2016-09-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
1077
1078 * malloc/Makefile (tests): Remove individual static test names
1079 and just add all of tests-static.
1080
1081 * csu/libc-start.c (__libc_csu_irel): Remove declaration.
1082
1083 2016-09-07 Joseph Myers <joseph@codesourcery.com>
1084
1085 * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
1086 file.
1087
1088 * sysdeps/sparc/fpu/fegetmode.c: New file.
1089 * sysdeps/sparc/fpu/fesetmode.c: Likewise.
1090
1091 * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
1092 * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
1093
1094 * sysdeps/s390/fpu/fegetmode.c: New file.
1095 * sysdeps/s390/fpu/fesetmode.c: Likewise.
1096
1097 * sysdeps/powerpc/fpu/fegetmode.c: New file.
1098 * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
1099 * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
1100 * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
1101 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
1102 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
1103
1104 * sysdeps/mips/fpu/fegetmode.c: New file.
1105 * sysdeps/mips/fpu/fesetmode.c: Likewise.
1106
1107 * sysdeps/m68k/fpu/fegetmode.c: New file.
1108 * sysdeps/m69k/fpu/fesetmode.c: Likewise.
1109
1110 * sysdeps/ia64/fpu/fegetmode.c: New file.
1111 * sysdeps/ia64/fpu/fesetmode.c: Likewise.
1112
1113 * sysdeps/hppa/fpu/fegetmode.c: New file.
1114 * sysdeps/hppa/fpu/fesetmode.c: Likewise.
1115
1116 * sysdeps/arm/fegetmode.c: New file.
1117 * sysdeps/arm/fesetmode.c: Likewise.
1118
1119 * sysdeps/alpha/fpu/fegetmode.c: New file.
1120 * sysdeps/alpha/fpu/fesetmode.c: Likewise.
1121
1122 * sysdeps/aarch64/fpu/fegetmode.c: New file.
1123 * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
1124
1125 * math/fegetmode.c: New file.
1126 * math/fesetmode.c: Likewise.
1127 * sysdeps/i386/fpu/fegetmode.c: Likewise.
1128 * sysdeps/i386/fpu/fesetmode.c: Likewise.
1129 * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
1130 * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
1131 * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
1132 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
1133 declaration.
1134 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
1135 * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
1136 typedef.
1137 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1138 * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1139 (femode_t): New typedef.
1140 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1141 * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1142 (femode_t): New typedef.
1143 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1144 * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1145 (femode_t): New typedef.
1146 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1147 * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1148 (femode_t): New typedef.
1149 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1150 * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1151 (femode_t): New typedef.
1152 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1153 * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1154 (femode_t): New typedef.
1155 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1156 * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1157 (femode_t): New typedef.
1158 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1159 * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1160 (femode_t): New typedef.
1161 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1162 * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1163 (femode_t): New typedef.
1164 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1165 * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1166 (femode_t): New typedef.
1167 [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
1168 declaration.
1169 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1170 * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1171 (femode_t): New typedef.
1172 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1173 * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1174 (femode_t): New typedef.
1175 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1176 * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1177 (femode_t): New typedef.
1178 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1179 * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1180 (femode_t): New typedef.
1181 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1182 * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1183 (femode_t): New typedef.
1184 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1185 * manual/arith.texi (FE_DFL_MODE): Document macro.
1186 (fegetmode): Document function.
1187 (fesetmode): Likewise.
1188 * math/Versions (fegetmode): New libm symbol at version
1189 GLIBC_2.25.
1190 (fesetmode): Likewise.
1191 * math/Makefile (libm-support): Add fegetmode and fesetmode.
1192 (tests): Add test-femode and test-femode-traps.
1193 * math/test-femode-traps.c: New file.
1194 * math/test-femode.c: Likewise.
1195 * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
1196 alias for __fe_dfl_env.
1197 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
1198 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
1199 (__fe_dfl_mode): Likewise.
1200 * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
1201 version GLIBC_2.25.
1202 * sysdeps/nacl/libm.abilist: Update.
1203 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1204 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1205 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1206 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1207 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1208 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1209 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1210 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1211 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1212 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1213 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1214 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1216 Likewise.
1217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1218 Likewise.
1219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1220 Likewise.
1221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1222 Likewise.
1223 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1224 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1225 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1226 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1227 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1228 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1229 Likewise.
1230 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1231 Likewise.
1232 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1233 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1234 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1235
1236 2016-09-06 H.J. Lu <hongjiu.lu@intel.com>
1237
1238 [BZ #20495]
1239 [BZ #20508]
1240 * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
1241 processors, set Use_dl_runtime_resolve_slow and set
1242 Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
1243 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
1244 New.
1245 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
1246 (index_arch_Use_dl_runtime_resolve_opt): Likewise.
1247 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
1248 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
1249 _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
1250 if Use_dl_runtime_resolve_opt is set. Use
1251 _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
1252 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
1253 (_dl_runtime_resolve_opt): New. Defined for AVX and AVX512.
1254 (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
1255 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
1256 New.
1257 (_dl_runtime_resolve_opt): Likewise.
1258 (_dl_runtime_profile): Define only if _dl_runtime_profile is
1259 defined.
1260
1261 2016-09-06 Stefan Liebler <stli@linux.vnet.ibm.com>
1262
1263 * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
1264 __libc_memalign with "+ RELA R_390_GLOB_DAT".
1265
1266 2016-09-06 Florian Weimer <fweimer@redhat.com>
1267
1268 Convert malloc to __libc_lock. Automated part, using this Perl
1269 s/// command:
1270 s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
1271 \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
1272 * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
1273 conversion.
1274
1275 2016-09-05 Aurelien Jarno <aurelien@aurel32.net>
1276
1277 * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
1278 (linknamespace-symlists-tests): Likewise.
1279 (linknamespace-header-tests): Likewise.
1280
1281 2016-09-03 Aurelien Jarno <aurelien@aurel32.net>
1282
1283 [BZ #19810]
1284 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
1285 * elf/tst-noload.c: New test case.
1286 * elf/Makefile (tests): Add tst-noload.
1287
1288 2016-09-02 Roland McGrath <roland@hack.frob.com>
1289
1290 * sysdeps/nacl/dup.c: Add libc_hidden_def.
1291
1292 * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
1293 not any more.
1294
1295 * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
1296
1297 2016-09-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
1298
1299 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
1300 (do_cos_slow): Likewise.
1301 (do_sin): Likewise.
1302 (do_sin_slow): Likewise.
1303 (slow): Likewise.
1304 (slow1): Likewise.
1305 (slow2): Likewise.
1306 (sloww): Likewise.
1307 (sloww1): Likewise.
1308 (sloww2): Likewise.
1309 (bsloww): Likewise.
1310 (bsloww1): Likewise.
1311 (bsloww2): Likewise.
1312 (cslow2): Likewise.
1313
1314 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
1315
1316 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
1317 arguments. Consolidate input partitioning from callers here.
1318 (do_cos_slow): Likewise.
1319 (do_sin): Likewise.
1320 (do_sin_slow): Likewise.
1321 (do_sincos_1): Remove the no longer necessary input partitioning.
1322 (do_sincos_2): Likewise.
1323 (__sin): Likewise.
1324 (__cos): Likewise.
1325 (slow1): Likewise.
1326 (slow2): Likewise.
1327 (sloww1): Likewise.
1328 (sloww2): Likewise.
1329 (bsloww1): Likewise.
1330 (bsloww2): Likewise.
1331 (cslow2): Likewise.
1332
1333 2016-09-02 Florian Weimer <fweimer@redhat.com>
1334
1335 * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
1336 MB_CUR_MAX to avoid race condition. Avoid pointer arithmetic
1337 outside of allocated array.
1338
1339 2016-09-02 Florian Weimer <fweimer@redhat.com>
1340
1341 * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
1342 instead of MB_CUR_MAX to avoid variable-length array.
1343
1344 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1345
1346 * math/Makefile (libm-calls): Remove k_rem_pio2F.
1347 (type-double-routines): Add k_rem_pio2.
1348 (type-float-routines): Add k_rem_pio2f.
1349
1350 * sysdeps/generic/math_private.h:
1351 (__kernel_rem_pio2l): Removed.
1352
1353 * math/k_rem_pio2l.c: Removed.
1354 * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
1355 * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
1356 * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
1357 * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
1358
1359 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1360
1361 * math/Makefile (gen-libm-calls): Add s_fmin
1362 (libm-calls): Remove above.
1363
1364 * math/s_fmin.c: Refactor into ...
1365 * math/s_fmin_template.c: New file.
1366
1367 * math/s_fminf.c: Removed.
1368 * math/s_fminl.c: Removed.
1369 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
1370 (LDOUBLE_fmin_libm_version): New macro.
1371
1372 * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
1373 * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
1374
1375 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1376
1377 * math/Makefile: (gen-libm-calls): Add s_fmax.
1378 (libm-calls): Remove above.
1379
1380 * math/s_fmax.c: Refactor into ...
1381 * math/s_fmax_template.c: New file.
1382 * math/s_fmaxf.c: Removed.
1383 * math/s_fmaxl.c: Removed.
1384
1385 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
1386 (LDOUBLE_fmaxl_libm_version): New macro.
1387
1388 * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
1389 * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
1390
1391 * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
1392 s_fmin.c to pick the aarch64 version of the file.
1393 * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
1394 * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
1395
1396 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1397
1398 * math/Makefile: (gen-libm-calls): Add s_nextdown.
1399 (libm-calls): Remove above.
1400
1401 * math/s_nextdown.c: Refactor into ...
1402 * math/s_nextdown_template.c: New file.
1403 * math/s_nextdownf.c: Removed.
1404 * math/s_nextdownl.c: Removed.
1405
1406 * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
1407
1408 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1409
1410 * math/Makefile (gen-libm-calls): Add s_fdim.
1411 (libm-calls): Move to above.
1412
1413 * math/s_fdim.c: Renamed and refactored into to ...
1414 * math/s_fdim_template.c: New file.
1415 * math/s_fdiml.c: Removed.
1416 * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
1417 * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
1418
1419 * sysdeps/generic/math-type-macros-double.h:
1420 (declare_mgen_alias): Don't declare if already declared.
1421 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
1422 Likewise.
1423
1424 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
1425 (declare_mgen_alias): Don't declare if already declared.
1426 (M_LIBM_NEED_COMPAT): Likewise.
1427 (declare_mgen_libm_compat): Likewise.
1428 (LDOUBLE_fdiml_libm_version): New macro.
1429
1430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
1431 Include math/s_fdim.c now that ldbl-opt version is not needed.
1432 (declare_mgen_alias): New macro to disable aliasing.
1433
1434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
1435 (declare_mgen_alias): Likewise.
1436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
1437 (declare_mgen_alias): Likewise.
1438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
1439 (declare_mgen_alias): Likewise.
1440 (M_LIBM_NEED_COMPAT): Likewise.
1441
1442 2016-09-01 Florian Weimer <fweimer@redhat.com>
1443
1444 [BZ #20525]
1445 * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
1446 Include <linux/quota.h>.
1447 (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
1448 and btodb.
1449 (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
1450 (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
1451 (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
1452 (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
1453 (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
1454 (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
1455 (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
1456 (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
1457 types.
1458 * sysdeps/unix/sysv/linux/tst-quota.c: New test.
1459 * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
1460
1461 2016-08-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1462
1463 * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
1464 (gammal_positive): Fix spacing.
1465 (__ieee754_gammal_r): Likewise.
1466
1467 2016-08-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1468
1469 * sysdeps/ieee754/ldbl-128/math_ldbl.h:
1470 (_Float128): Define as long double, always.
1471 (L): Apply long double type suffix, always.
1472
1473 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
1474 _Float128, excepting comments.
1475
1476 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1477 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1478 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1479 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1480 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1481 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1482 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
1483 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
1484 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1485 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
1486 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1487 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1488 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1489 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1490 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
1491 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
1492 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
1493 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
1494 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1495 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
1496 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
1497 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
1498 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
1499 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
1500 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
1501 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1502 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
1503 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
1504 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1505 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1506 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1507 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
1508 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
1509 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1510 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1511 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1512 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
1513 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
1514 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
1515 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
1516 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1517 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1518 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
1519 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1520 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
1521 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1522 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1523 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1524 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
1525 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1526 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1527 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
1528 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1529 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1530 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
1531 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1532 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
1533 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
1534 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1535 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1536 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
1537 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1538 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1539 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1540 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1541 * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
1542 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1543 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1544
1545 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
1546 _Float128, and include math_private.h.
1547 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
1548
1549 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
1550 long double semantics.
1551 (_Float128): Likewise.
1552 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
1553 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
1554 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
1555 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
1556
1557 2016-08-31 Stefan Liebler <stli@linux.vnet.ibm.com>
1558
1559 * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
1560 * sysdeps/s390/configure.ac: Add test for z196 zarch support.
1561 * sysdeps/s390/configure: Regenerated.
1562 * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
1563 instruction for raising over-/underflow if z196 zarch is supported
1564 by default.
1565 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
1566
1567 2016-08-30 Svante Signell <svante.signell@gmail.com>
1568
1569 * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
1570 it point to a dumb buffer for RPC to fill it.
1571
1572 2016-08-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
1573
1574 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
1575 instead of if/else.
1576 (do_sin_slow): Likewise.
1577 (do_sincos_1): Use fabs instead of if/else.
1578 (do_sincos_2): Likewise.
1579 (__sin): Likewise.
1580 (__cos): Likewise.
1581 (slow2): Likewise.
1582 (sloww): Likewise.
1583 (sloww1): Likewise. Drop argument M.
1584 (sloww2): Use fabs instead of if/else.
1585 (bsloww): Likewise.
1586 (bsloww1): Likewise.
1587 (bsloww2): Likewise.
1588
1589 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
1590 fall through comment.
1591 (do_sincos_1): Likewise.
1592
1593 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
1594 Consolidate switch cases 0 and 2.
1595
1596 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1597
1598 * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
1599 (libm-calls): Remove the above.
1600
1601 * math/s_cexp_template.c: Update using type-generic macros.
1602 * math/s_clog10_template.c: Likewise.
1603 * math/s_cpow_template.c: Likewise.
1604 * math/s_clog_template.c: Likewise.
1605 * math/s_cproj_template.c: Likewise.
1606 * math/s_csqrt_template.c: Likewise.
1607
1608 * math/s_cexp.c: Removed.
1609 * math/s_cexpf.c: Removed.
1610 * math/s_cexpl.c: Removed.
1611 * math/s_clog10.c: Removed.
1612 * math/s_clog10f.c: Removed.
1613 * math/s_clog10l.c: Removed.
1614 * math/s_cpow.c: Removed.
1615 * math/s_cpowf.c: Removed.
1616 * math/s_cpowl.c: Removed.
1617 * math/s_clog.c: Removed.
1618 * math/s_clogf.c: Removed.
1619 * math/s_clogl.c: Removed.
1620 * math/s_cproj.c: Removed.
1621 * math/s_cprojf.c: Removed.
1622 * math/s_cprojl.c: Removed.
1623 * math/s_csqrt.c: Removed.
1624 * math/s_csqrtf.c: Removed.
1625 * math/s_csqrtl.c: Removed.
1626
1627 * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
1628 * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
1629 * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
1630 * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
1631 * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
1632 * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
1633
1634 * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
1635 * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
1636 * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
1637 * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
1638 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
1639 * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
1640 * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
1641 * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
1642 * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
1643 * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
1644 * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
1645
1646 * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
1647 version.
1648
1649 * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
1650 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
1651 * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
1652 * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
1653
1654 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1655
1656 * s_cexp_template.c: Copy of s_cexp.c.
1657 * s_clog_template.c: Copy of s_clog.c.
1658 * s_clog10_template.c: Copy of s_clog10.c.
1659 * s_cpow_template.c: Copy of s_cpow.c.
1660 * s_cproj_template.c: Copy of s_cproj.c.
1661 * s_csqrt_template.c: Copy of s_csqrt.c.
1662
1663 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1664
1665 [BZ #20517]
1666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
1667 Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
1668 exported.
1669
1670 2016-08-29 Joseph Myers <joseph@codesourcery.com>
1671
1672 * math/fetestexceptflag.c: New file.
1673 * sysdeps/s390/fpu/fetestexceptflag.c: Likewise. Comment by
1674 Stefan Liebler.
1675 * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1676 (fetestexceptflag): New function declaration.
1677 * manual/arith.texi (fetestexceptflag): Document function.
1678 * math/Versions (fetestexceptflag): New libm symbol at version
1679 GLIBC_2.25.
1680 * math/Makefile (libm-support): Add fetestexceptflag.
1681 (tests): Add test-fetestexceptflag.
1682 * math/test-fetestexceptflag.c: New file.
1683 * sysdeps/nacl/libm.abilist: Update.
1684 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1685 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1686 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1687 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1688 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1689 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1690 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1691 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1692 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1693 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1694 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1695 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1697 Likewise.
1698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1699 Likewise.
1700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1701 Likewise.
1702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1703 Likewise.
1704 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1705 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1706 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1707 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1708 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1709 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1710 Likewise.
1711 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1712 Likewise.
1713 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1714 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1715 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1716
1717 2016-08-26 Florian Weimer <fweimer@redhat.com>
1718
1719 [BZ #20432]
1720 Avoid strong references to malloc-internal symbols when linking
1721 statically, to support statically interposed mallocs.
1722 * include/libc-symbols.h (call_function_static_weak): New macro.
1723 * malloc/Makefile (tests): Add tst-interpose-nothread,
1724 tst-interpose-thread, tst-interpose-static-nothread,
1725 tst-interpose-static-thread.
1726 (tests-static): Add tst-interpose-static-nothread,
1727 tst-interpose-static-thread.
1728 (extra-tests-objs): Add tst-interpose-aux-nothread.o,
1729 tst-interpose-aux-thread.o.
1730 (test-extras): Add tst-interpose-aux-nothread,
1731 tst-interpose-aux-thread.
1732 (tst-interpose-nothread, tst-interpose-static-nothread): Link with
1733 tst-interpose-aux-nothread.o.
1734 (tst-interpose-thread, tst-interpose-static-thread): Link with
1735 tst-interpose-aux-thread.o and libthread.
1736 * malloc/tst-interpose-aux-nothread.c: New file.
1737 * malloc/tst-interpose-aux-thread.c: Likewise.
1738 * malloc/tst-interpose-aux.c: Likewise.
1739 * malloc/tst-interpose-aux.h: Likewise.
1740 * malloc/tst-interpose-nothread.c: Likewise.
1741 * malloc/tst-interpose-skeleton.c: Likewise.
1742 * malloc/tst-interpose-static-nothread.c: Likewise.
1743 * malloc/tst-interpose-static-thread.c: Likewise.
1744 * malloc/tst-interpose-thread.c: Likewise.
1745 * nptl/tst-tls3-malloc.c: Use new interposed malloc.
1746 * sysdeps/mach/hurd/fork.c (__fork): Only call
1747 __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
1748 __malloc_fork_unlock_child if defined.
1749 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
1750
1751 2016-08-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1752
1753 * test-skeleton.c (delayed_exit_thread): Add initializer on struct
1754 timespec C99 designated initialization.
1755
1756 2016-08-26 Florian Weimer <fweimer@redhat.com>
1757
1758 [BZ #19946]
1759 Avoid expected SIGALRM signals.
1760 * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
1761 (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
1762 (xpthread_create, xpthread_detach, xpthread_join)
1763 (delayed_exit_thread, delayed_exit): New functions.
1764 * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
1765 (tf): Use xpthread_cond_wait.
1766 (do_test): Likewise. Replace alarm with delayed_exit.
1767 * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
1768 (do_test): Call delayed_exit. Report failure.
1769 * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
1770 (do_test): Call delayed_exit.
1771 * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
1772 (do_test): Call delayed_exit. Use xpthread_join. Report error.
1773 * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
1774 (do_test): Call delayed_exit. Use xpthread_barrier_wait. Report
1775 error.
1776 * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
1777 (do_test): Call delayed_exit. Use xpthread_cond_wait. Report
1778 error.
1779 * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
1780 (do_test): Call delayed_exit.
1781 * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
1782 (do_test): Call delayed_exit.
1783 * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
1784 (do_test): Call delayed_exit instead of alarm. Use
1785 xpthread_mutex_lock.
1786 * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
1787 (do_test): Call delayed_exit instead of alarm. Use
1788 xpthread_mutex_lock.
1789 * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
1790 (do_test): Call delayed_exit instead of alarm.
1791 * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
1792 (do_test): Call delayed_exit instead of alarm. Use
1793 xpthread_spin_lock.
1794 * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
1795 (do_test): Call delayed_exit instead of alarm. Use
1796 xpthread_join.
1797
1798 2016-08-26 H.J. Lu <hongjiu.lu@intel.com>
1799
1800 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
1801 adjust CFA when allocating register save area on re-aligned
1802 stack.
1803
1804 2016-08-26 Florian Weimer <fweimer@redhat.com>
1805
1806 * string/tst-cmp.c: New test.
1807 * string/Makefile (tests): Add it.
1808
1809 2016-08-25 Mark Wielaard <mark@klomp.org>
1810
1811 * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
1812 USE_MALLOC_LOW_BIT. Define pointer/value accessors.
1813 (check_tree_recurse): Use newly defined accessors.
1814 (check_tree): Likewise.
1815 (maybe_split_for_insert): Likewise.
1816 (__tfind): Likewise.
1817 (__tdelete): Likewise.
1818 (trecurse): Likewise.
1819 (tdestroy_recurse): Likewise.
1820 (__tsearch): Likewise. And add asserts for malloc alignment.
1821 (__twalk): Cast root to node in case CHECK_TREE is defined.
1822
1823 2016-08-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
1824
1825 * scripts/check-local-headers.sh (exclude): Add mach_debug/.
1826
1827 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1828
1829 * math/Makefile (libm-gen-calls): Add
1830 catan, catanh, ctan, ctanh.
1831 (libm-calls): Remove the above.
1832
1833 * math/s_catan_template.c: Update using type-generic macros.
1834 * math/s_catanh_template.c: Likewise.
1835 * math/s_ctan_template.c: Likewise.
1836 * math/s_ctanh_template.c: Likewise.
1837
1838 * math/s_catanf.c: Removed.
1839 * math/s_catan.c: Removed.
1840 * math/s_catanl.c: Removed.
1841 * math/s_catanhf.c: Removed.
1842 * math/s_catanh.c: Removed.
1843 * math/s_catanhl.c: Removed.
1844 * math/s_ctanf.c: Removed.
1845 * math/s_ctan.c: Removed.
1846 * math/s_ctanl.c: Removed.
1847 * math/s_ctanhf.c: Removed.
1848 * math/s_ctanh.c: Removed.
1849 * math/s_ctanhl.c: Removed.
1850
1851 * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
1852 * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
1853 * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
1854 * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
1855 * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
1856 * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
1857
1858 * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
1859 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
1860 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
1861 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
1862
1863 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1864
1865 * s_catan_template.c: Copy of s_catan.c.
1866 * s_catanh_template.c: Copy of s_catanh.c.
1867 * s_ctan_template.c: Copy of s_ctan.c.
1868 * s_ctanh_template.c: Copy of s_ctanh.c.
1869
1870 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1871
1872 * math/Makefile (gen-libm-calls): Move
1873 casin, casinh, csin, csinh here.
1874 (libm-calls): Remove the above.
1875
1876 * math/s_casin_template.c: Update using type-generic macros.
1877 * math/s_casinh_template.c: Likewise.
1878 * math/s_csin_template.c: Likewise.
1879 * math/s_csinh_template.c: Likewise.
1880 * math/k_casinh_template.c: Likewise.
1881
1882 * math/s_casinf.c: Removed.
1883 * math/s_casin.c: Removed.
1884 * math/s_casinl.c: Removed.
1885 * math/s_casinh.c: Removed.
1886 * math/s_casinhf.c: Removed.
1887 * math/s_casinhl.c: Removed.
1888 * math/s_csin.c: Removed.
1889 * math/s_csinf.c: Removed.
1890 * math/s_csinl.c: Removed.
1891 * math/s_csinh.c: Removed.
1892 * math/s_csinhf.c: Removed.
1893 * math/s_csinhl.c: Removed.
1894 * math/k_casinh.c: Removed.
1895 * math/k_casinhf.c: Removed.
1896 * math/k_casinhl.c: Removed.
1897
1898 * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
1899 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
1900 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
1901 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
1902
1903 * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
1904 * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
1905 * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
1906 * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
1907 * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
1908 * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
1909 * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
1910 * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
1911
1912 * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
1913 * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
1914 * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
1915 * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
1916
1917 * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
1918 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
1919 * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
1920 * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
1921
1922 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1923
1924 * s_casin_template.c: Copy of s_casin.c.
1925 * s_casinh_template.c: Copy of s_casinh.c.
1926 * s_csin_template.c: Copy of s_csin.c.
1927 * s_csinh_template.c: Copy of s_csinh.c.
1928 * k_casinh_template.c: Copy of k_casinh.c.
1929
1930 2016-08-19 H.J. Lu <hongjiu.lu@intel.com>
1931
1932 * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
1933
1934 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1935
1936 * sysdeps/ieee754/ldbl-128/gamma_productl.c:
1937 (mul_split) Remove, rename as mul_splitl, remove
1938 redundant float.h include, and include via mul_splitl.h
1939
1940 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
1941 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1942 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
1943 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
1944 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
1945
1946 * math/mul_splitl.h: New file.
1947
1948 * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
1949 Move into mul_split.h, and remove redundant float.h include.
1950
1951 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
1952 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
1953 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
1954 * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
1955
1956 * math/mul_split.h: New file.
1957
1958 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1959
1960 * math/Makefile (libm-gen-calls): Move
1961 s_cacos, s_cacosh, s_ccos, s_ccosh from ...
1962 (libm-calls): Remove above.
1963
1964 * math/s_cacos_template.c: Update using type-generic macros.
1965 * math/s_cacosh_template.c: Likewise.
1966 * math/s_ccos_template.c: Likewise.
1967 * math/s_ccosh_template.c: Likwise.
1968
1969 * math/s_cacosf.c: Removed.
1970 * math/s_cacos.c: Removed.
1971 * math/s_cacosl.c: Removed.
1972 * math/s_cacoshf.c: Removed.
1973 * math/s_cacosh.c: Removed.
1974 * math/s_cacoshl.c: Removed.
1975 * math/s_ccosf.c: Removed.
1976 * math/s_ccos.c: Removed.
1977 * math/s_ccosl.c: Removed.
1978 * math/s_ccoshf.c: Removed.
1979 * math/s_ccosh.c: Removed.
1980 * math/s_ccoshl.c: Removed.
1981
1982 * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
1983 * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
1984 * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
1985 * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
1986 * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
1987 * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
1988
1989 * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
1990 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
1991 * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
1992 * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
1993
1994 * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
1995 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
1996 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
1997 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
1998
1999 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2000
2001 * s_cacos_template.c: Copy of s_cacos.c.
2002 * s_cacosh_template.c: Copy of s_cacosh.c.
2003 * s_ccos_template.c: Copy of s_ccos.c.
2004 * s_ccosh_template.c: Copy of s_ccosh.c.
2005
2006 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2007
2008 * stdlib/tst-strtod-round-skeleton.c:
2009 Refactored from tst-strtod-round.c.
2010
2011 (L_): New macro to apply literal modifier.
2012 (FNPFX): New macro to select str or wcs prefix.
2013 (CHAR): New macro to choose wchar_t or char.
2014 (STRM): New macro to choose printf for tested character type.
2015
2016 (STRTO): New macro to choose appropriate string -> real function.
2017 (FNPFXS): Stringitized version of FNPFX.
2018 (STR): Support for above macro.
2019 (STRX): Likewise.
2020
2021 (TEST): Update with above macros.
2022 (test): Likewise.
2023 (GEN_ONE_TEST): Likewise.
2024 (test_in_one_mode): Likewise.
2025
2026 * stdlib/tst-strtod-round.c: New file.
2027 * wcsmbs/tst-wcstod-round.c: New file.
2028
2029 * wcsmbs/Makefile: (tests): Add tst-wcstod-round
2030 (tst-wcstod-round): Add libm depencency for fesetround.
2031
2032 2016-08-19 Zack Weinberg <zackw@panix.com>
2033
2034 * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
2035
2036 2016-08-18 Torvald Riegel <triegel@redhat.com>
2037
2038 [BZ #20477]
2039 * resolv/res_hconf.c (do_init): Use atomic access.
2040 * resolv/res_hconf.h: Add comments.
2041 * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
2042 * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
2043 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2044
2045 2016-08-18 Stefan Liebler <stli@linux.vnet.ibm.com>
2046
2047 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
2048 Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
2049 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
2050 Likewise.
2051
2052 2016-08-18 Florian Weimer <fweimer@redhat.com>
2053
2054 [BZ #16907]
2055 * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
2056 (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
2057 * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
2058 (__attribute__): Remove definition.
2059
2060 2016-08-17 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2061
2062 * sysdeps/ieee754/ldbl-128/e_asinl.c:
2063 Remove unused sqrtl declaration.
2064
2065 2016-08-17 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2066
2067 * math/Makefile: (gen-libm-templates.stmp): New rule.
2068 (libm-calls): Move carg conj cimag and cabs into ...
2069 (gen-libm-calls): New variable.
2070 (generated): Inform Make objects from gen-libm-calls
2071 may be generated.
2072
2073 * sysdeps/generic/math-type-macros.h: New file.
2074 * sysdeps/generic/math-type-macros-float.h: Likewise.
2075 * sysdeps/generic/math-type-macros-double.h: Likewise.
2076 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
2077 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
2078 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
2079
2080 * math/cabs.c: Refactor into
2081 * math/cabs_template.c: new file.
2082 * math/cabsf.c: Removed.
2083 * math/cabsl.c: Removed.
2084 * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
2085 * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
2086
2087 * math/carg.c: Refactor into
2088 * math/carg_template.c: new file.
2089 * math/cargf.c: Removed.
2090 * math/cargl.c: Removed.
2091 * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
2092 * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
2093
2094 * math/conj.c: Refactor into
2095 * math/conj_template.c: new file.
2096 * math/conjf.c: Removed.
2097 * math/conjl.c: Removed.
2098 * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
2099 * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
2100
2101 * math/cimag.c: Refactor into
2102 * math/cimag_template.c: new file.
2103 * math/cimagf.c: Removed.
2104 * math/cimagl.c: Removed.
2105 * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
2106 * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
2107
2108 * math/cimag.c: Refactor into
2109 * math/cimag_template.c: new file.
2110 * math/cimagf.c: Removed.
2111 * math/cimagl.c: Removed.
2112 * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
2113 * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
2114
2115 2016-08-17 Florian Weimer <fweimer@redhat.com>
2116
2117 Reduce time to expected nptl/tst-once5 failure.
2118 * nptl/tst-once5.cc (TIMEOUT): Define.
2119
2120 2016-08-17 Florian Weimer <fweimer@redhat.com>
2121
2122 [BZ #20452]
2123 Avoid additional copies of objects in libc.a in static libraries.
2124 * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
2125 Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
2126 * sysdeps/mips/Makefile (librt-shared-only-routines): Add
2127 rt-sysdep.
2128 * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
2129 Add nptl-sysdep.
2130 * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
2131 Add ptw-sysdep.
2132 * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
2133 rt-sysdep.
2134 * sysdeps/unix/sysv/linux/alpha/Makefile
2135 (libpthread-shared-only-routines): Add ptw-sysdep,
2136 ptw-sigprocmask, ptw-rt_sigaction.
2137 * sysdeps/unix/sysv/linux/ia64/Makefile
2138 (librt-shared-only-routines): Add rt-sysdep.
2139 * sysdeps/unix/sysv/linux/i386/Makefile
2140 (libpthread-shared-only-routines): Add libc-do-syscall.
2141 * sysdeps/unix/sysv/linux/microblaze/Makefile
2142 (libpthread-shared-only-routines): Add sysdep.
2143 * sysdeps/unix/sysv/linux/powerpc/Makefile
2144 (librt-shared-only-routines): Add rt-sysdep.
2145 (libpthread-shared-only-routines): Add sysdep.
2146 * sysdeps/unix/sysv/linux/s390/Makefile
2147 (librt-shared-only-routines): Add rt-sysdep.
2148 * sysdeps/unix/sysv/linux/sparc/Makefile
2149 (librt-shared-only-routines): Add rt-sysdep.
2150 (libpthread-shared-only-routines): Add sysdep.
2151 * sysdeps/unix/sysv/linux/tile/Makefile
2152 (libpthread-shared-only-routines): Likewise.
2153
2154 2016-08-16 Joseph Myers <joseph@codesourcery.com>
2155
2156 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
2157 Mask implicit bit out of unpacked value.
2158 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
2159 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
2160 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
2161
2162 * sysdeps/sparc/fpu/fesetexcept.c: New file.
2163
2164 * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
2165
2166 * sysdeps/s390/fpu/fesetexcept.c: New file.
2167
2168 * sysdeps/powerpc/fpu/fesetexcept.c: New file.
2169 * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
2170 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
2171
2172 * sysdeps/mips/fpu/fesetexcept.c: New file.
2173
2174 * sysdeps/m68k/fpu/fesetexcept.c: New file.
2175
2176 * sysdeps/ia64/fpu/fesetexcept.c: New file.
2177
2178 * sysdeps/hppa/fpu/fesetexcept.c: New file.
2179
2180 * sysdeps/arm/fesetexcept.c: New file.
2181
2182 * sysdeps/alpha/fpu/fesetexcept.c: New file.
2183
2184 * sysdeps/aarch64/fpu/fesetexcept.c: New file.
2185
2186 * math/fesetexcept.c: New file.
2187 * sysdeps/i386/fpu/fesetexcept.c: Likewise.
2188 * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
2189 * math/fenv.h: Define
2190 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2191 <bits/libc-header-start.h> instead of including <features.h>.
2192 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
2193 declaration.
2194 * manual/arith.texi (fesetexcept): Document function.
2195 * math/Versions (fesetexcept): New libm symbol at version
2196 GLIBC_2.25.
2197 * math/Makefile (libm-support): Add fesetexcept.
2198 (tests): Add test-fesetexcept and test-fesetexcept-traps.
2199 * math/test-fesetexcept.c: New file.
2200 * math/test-fesetexcept-traps.c: Likewise.
2201 * sysdeps/nacl/libm.abilist: Update.
2202 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2203 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2204 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2205 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2206 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2207 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2208 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2209 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2210 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2211 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2212 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2213 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2215 Likewise.
2216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2217 Likewise.
2218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2219 Likewise.
2220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2221 Likewise.
2222 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2223 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2224 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2225 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2226 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2227 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2228 Likewise.
2229 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2230 Likewise.
2231 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2232 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2233 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2234
2235 2016-08-16 Florian Weimer <fweimer@redhat.com>
2236
2237 * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
2238 New.
2239 (do_test): Apply default_stack_size_in_mb if not set.
2240 * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
2241
2242 2016-08-15 Andreas Schwab <schwab@suse.de>
2243
2244 [BZ #20435]
2245 CVE-2016-6323
2246 * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
2247 as .cantunwind.
2248
2249 2016-08-12 Joseph Myers <joseph@codesourcery.com>
2250
2251 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
2252 comment from fraiseexcpt.c.
2253
2254 * math/test-fexcept.c (feraiseexcept_exact): New function.
2255 (test_set): Call feraiseexcept_exact instead of feraiseexcept.
2256 (test_except): Likewise.
2257
2258 2016-08-10 Joseph Myers <joseph@codesourcery.com>
2259
2260 [BZ #20455]
2261 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
2262 all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
2263 to be restored.
2264
2265 * math/test-fexcept-traps.c: New file.
2266 * math/test-fexcept.c: Likewise.
2267 * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
2268 * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
2269 macro.
2270 * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
2271 (EXCEPTION_SET_FORCES_TRAP): Likewise.
2272
2273 2016-08-09 Torvald Riegel <triegel@redhat.com>
2274
2275 * include/atomic.h (atomic_fetch_and_relaxed,
2276 atomic_fetch_and_release, atomic_fetch_or_release,
2277 atomic_fetch_xor_release): New.
2278
2279 2016-08-06 Christian Seiler <christian@iwakd.de>
2280
2281 [BZ #20444]
2282 * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
2283 MACH_PORT_NULL.
2284
2285 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
2286
2287 * math/s_fdim.c: Avoid alias renamed.
2288 * math/s_fdimf.c: Likewise.
2289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
2290 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
2291 Add s_fdimf-vis3, s_fdim-vis3.
2292 (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
2293 (CFLAGS-s_fdim-vis3.c): Likewise.
2294 sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
2295 sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
2296
2297 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
2298
2299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
2300 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
2301 Remove s_fdimf-vis3, s_fdim-vis3.
2302 * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
2303 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
2304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
2305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
2306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
2307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
2308 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
2309 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
2310 * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
2311 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
2312
2313 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
2314
2315 * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
2316 * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
2317 -Wa,-Av9a -mvis.
2318
2319 2016-08-05 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2320
2321 * math/gen-libm-test.pl (apply_lit): Rewrite to apply
2322 LIT() to individual constants in simple expressions
2323 after splitting on spaces.
2324 (_apply_lit): Rename replaced version, and use it to
2325 apply to what appears to be a token.
2326
2327 * math/libm-test.inc: Fix many, many issues with
2328 spacing.
2329
2330 2016-08-05 Joseph Myers <joseph@codesourcery.com>
2331
2332 * math/math.h: Move comment about <bits/mathdef.h> definitions
2333 above inclusion of <bits/mathdef.h>. Do not mention
2334 FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
2335
2336 2016-08-05 Torvald Riegel <triegel@redhat.com>
2337
2338 * include/atomic.h (atomic_exchange_relaxed): New.
2339
2340 2016-08-04 Joseph Myers <joseph@codesourcery.com>
2341
2342 * math/e_scalb.c: Do not include <fenv.h>.
2343 (invalid_fn): Do calculation resulting in NaN instead of raising
2344 FE_INVALID and returning a NaN explicitly.
2345 * math/e_scalbf.c: Do not include <fenv.h>.
2346 (invalid_fn): Do calculation resulting in NaN instead of raising
2347 FE_INVALID and returning a NaN explicitly.
2348 * math/e_scalbl.c: Do not include <fenv.h>.
2349 (invalid_fn): Do calculation resulting in NaN instead of raising
2350 FE_INVALID and returning a NaN explicitly.
2351
2352 2016-08-04 Carlos O'Donell <carlos@redhat.com>
2353
2354 * po/de.po: Updated from Translation Project.
2355 * po/fi.po: Likewise.
2356 * po/sv.po: Likewise.
2357
2358 2016-08-04 Florian Weimer <fweimer@redhat.com>
2359
2360 [BZ #20452]
2361 Use sysdep.o from libc.a in static libraries.
2362 * sysdeps/unix/sysv/linux/i386/Makefile
2363 (libpthread-shared-only-routines): Add sysdep.
2364 (librt-shared-only-routines): Likewise.
2365
2366 2016-08-03 Joseph Myers <joseph@codesourcery.com>
2367
2368 * math/tgmath.h (nextdown): Define if
2369 [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
2370 (nextup): Likewise.
2371
2372 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
2373 macro.
2374 * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
2375 Document.
2376 * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
2377 Document macro.
2378 * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
2379 (exp10f): Likewise.
2380 (exp10l): Likewise.
2381 * math/bits/mathcalls.h (exp10): Declare if
2382 [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
2383
2384 * manual/arith.texi (nextup): Fix typo in last change.
2385
2386 2016-08-03 Zack Weinberg <zackw@panix.com>
2387
2388 [BZ #19239]
2389 * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
2390 * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
2391 define major, minor, and makedev to issue deprecation warnings on use.
2392 If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
2393 previously-activated deprecation warnings for these macros and prevent
2394 subsequent inclusions of this header from having any effect.
2395 * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
2396 including <sys/sysmacros.h>, and undefine it again afterward.
2397
2398 2016-08-03 Zack Weinberg <zackw@panix.com>
2399
2400 * sysdeps/generic/sys/sysmacros.h: Delete file.
2401 * sysdeps/unix/sysv/linux/makedev.c: Delete file.
2402 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
2403 * bits/sysmacros.h: ... here; this encoding is now the generic
2404 encoding. Now defines only the following macros:
2405 __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
2406 __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
2407 __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
2408
2409 * misc/sys/sysmacros.h, misc/makedev.c: New files that use
2410 bits/sysmacros.h and the above new macros to generate the
2411 public implementations of major, minor, and makedev.
2412 * misc/tst-makedev.c: New test.
2413 * include/sys/sysmacros.h: New wrapper.
2414
2415 * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
2416 (routines): Add makedev.
2417 (tests): Add tst-makedev.
2418 * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
2419 gnu_dev_makedev.
2420 * posix/Makefile (headers): Remove sys/sysmacros.h.
2421 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
2422
2423 * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
2424 gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
2425 * sysdeps/unix/sysv/linux/aarch64/libc.abilist
2426 * sysdeps/unix/sysv/linux/alpha/libc.abilist
2427 * sysdeps/unix/sysv/linux/arm/libc.abilist
2428 * sysdeps/unix/sysv/linux/hppa/libc.abilist
2429 * sysdeps/unix/sysv/linux/i386/libc.abilist
2430 * sysdeps/unix/sysv/linux/ia64/libc.abilist
2431 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
2432 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
2433 * sysdeps/unix/sysv/linux/microblaze/libc.abilist
2434 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2435 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2436 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2437 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2438 * sysdeps/unix/sysv/linux/nios2/libc.abilist
2439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
2442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
2443 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
2444 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
2445 * sysdeps/unix/sysv/linux/sh/libc.abilist
2446 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
2447 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
2448 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
2449 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
2450 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
2451 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
2452 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
2453 Add GLIBC_2.25.
2454
2455 * include/features.h (__glibc_clang_prereq): New macro.
2456 * misc/sys/cdefs.h (__glibc_clang_has_extension)
2457 (__attribute_deprecated_msg__): New macros.
2458
2459 2016-08-03 Joseph Myers <joseph@codesourcery.com>
2460
2461 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
2462 macro.
2463 * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
2464 * manual/arith.texi (issignaling): Document as ISO from TS
2465 18661-1:2014.
2466 (nextup): Likewise.
2467 (nextupf): Likewise.
2468 (nextupl): Likewise.
2469 (nextdown): Likewise.
2470 (nextdownf): Likewise.
2471 (nextdownl): Likewise.
2472 * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
2473 macro.
2474 * math/math.h: Define
2475 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2476 <bits/libc-header-start.h> instead of including <features.h>.
2477 (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
2478 [__USE_GNU].
2479 * math/bits/mathcalls.h (nextdown): Declare if
2480 [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
2481 (nextup): Likewise.
2482 (__issignaling): Likewise.
2483
2484 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2485
2486 * s_ccoshf.c (__ccoshf): Remove FE_INVALID
2487 check, and remove __glibc_likely hint
2488 from FP_INFINITE check.
2489 * s_csinhf.c (__csinhf): Likewise.
2490
2491 * s_ccoshl.c (__ccoshl): Remove __glibc_likely
2492 hint from FP_INFINITE check.
2493 * s_csinhl.c (__csinhl): Likewise.
2494
2495 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2496
2497 * math/Makefile (libm-calls): Insert F placeholder into
2498 object names. Move w_lgamma_compat* routines into
2499 (libm-compat-calls): New variable.
2500 (libm-compat-calls-ldouble-yes): New variable.
2501 (calls): Insert F placeholder.
2502 (generated): Redefine using new type-foreach macro call.
2503 (routines): Likewise.
2504
2505 (types): New variable to hold a list of symbolic names
2506 for each type supported by the target machine.
2507 (libm-routines): Redefine using new types variable.
2508 (type-foreach): macro to replace fooF with the
2509 appropriately suffixed foo for each types.
2510
2511 (type-ldouble-suffix): New variable.
2512 (type-ldouble-routines): Likewise.
2513 (type-ldouble-yes): Likewise.
2514 (type-double-suffix): Likewise.
2515 (type-double-routines): Likewise.
2516 (type-float-suffix): Likewise.
2517 (type-float-routines): Likewise.
2518
2519 (dbl-only-routines): Remove.
2520 (long-c-yes): Likewise.
2521 (long-m-routines): Likewise.
2522 (long-m-support): Likewise.
2523 (long-m-yes): Likewise.
2524 (test-longdouble-yes): Likewise.
2525
2526 (test-float.o): Simplify by increasing the scope of the
2527 recipe which adds libm-test.stmp to the vector types.
2528 (test-ifloat.o): Likewise.
2529 (test-float-finite.o): Likewise.
2530 (test-double.o): Likewise
2531 (test-idouble.o): Likewise.
2532 (test-double-finite.o): Likewise.
2533 (test-ldouble.o): Likewise
2534 (test-ildoubl.o): Likewise.
2535 (test-ldouble-finite.o): Likewise.
2536
2537 (libm-tests): Redefine type tests using foreach and the
2538 list of types in types.
2539
2540 (CPPFLAGS-test-ildoubl.c): Rename to
2541 (CPPFLAGS-test-ildouble.c): New variable
2542
2543 * math/test-ildoubl.c: Rename to
2544 * math/test-ildouble.c: New file.
2545
2546 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2547
2548 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
2549 Use fabsl instead of fabs.
2550 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
2551 Likewise.
2552 * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
2553 Add long double suffix to constant to ensure proper
2554 promotion to long double.
2555
2556 2016-08-03 Tom Tromey <tom@tromey.com>
2557
2558 [BZ #20311]
2559 * nptl_db/Makefile (headers): Add proc_service.h.
2560 * nptl_db/proc_service.h: Add include guard. Use
2561 __BEGIN/__END_DECLS.
2562 (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
2563 (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
2564 arguments.
2565
2566
2567 2016-08-03 Florian Weimer <fweimer@redhat.com>
2568
2569 [BZ #17730]
2570 Avoid using memalign for TCB allocations.
2571 * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
2572 (_dl_allocate_tls_storage): Use malloc and manual alignment.
2573 Avoid alignment gap in the TLS_DTV_AT_TP case.
2574 (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
2575 determine the pointer to free.
2576 * nptl/tst-tls3-malloc.c: New test.
2577 * nptl/Makefile (tests): Add it.
2578 (tst-tls3-malloc): Link with libdl, libpthread.
2579 (LDFLAGS-tst-tls3-malloc): Set.
2580 (tst-tls3-malloc.out): Depend on DSO used in test.
2581
2582 2016-08-03 Florian Weimer <fweimer@redhat.com>
2583
2584 [BZ #17730]
2585 Avoid using memalign for TLS allocations.
2586 * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New. Replaces
2587 is_static member with to_free member.
2588 (union dtv): Use struct dtv_pointer.
2589 * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
2590 dtv_pointer instead of is_static.
2591 * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
2592 (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
2593 instead of val.
2594 (allocate_dtv_entry): New function.
2595 (allocate_and_init): Return struct dtv_pointer. Call
2596 allocate_dtv_entry instead of __libc_memalign.
2597 (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
2598 instead of val.
2599 (tls_get_addr_tail): Set to_free member of struct dtv_pointer
2600 instead of is_static. Adjust call to allocate_and_init.
2601 * nptl/allocatestack.c (get_cached_stack): Free to_free member of
2602 struct dtv_pointer instead of val.
2603
2604 2016-08-03 Florian Weimer <fweimer@redhat.com>
2605
2606 * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
2607 (MALLOC_ALIGN_MASK): Move ...
2608 * malloc/malloc-internal.h: ... to here.
2609 * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
2610
2611 2016-08-03 Joseph Myers <joseph@codesourcery.com>
2612
2613 * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
2614 (UDP_ENCAP_GTP1U): Likewise.
2615
2616 * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
2617 (PF_MAX): Update value.
2618 (AF_QIPCRTR): New macro.
2619
2620 2016-08-03 Aurelien Jarno <aurelien@aurel32.net>
2621
2622 * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
2623 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
2624 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
2625 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
2626 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
2627 Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
2628 s_truncf-vis3, s_trunc-vis3.
2629 (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
2630 (CFLAGS-s_ceil-vis3.c): Likewise.
2631 (CFLAGS-s_floorf-vis3.c): Likewise.
2632 (CFLAGS-s_floor-vis3.c): Likewise.
2633 (CFLAGS-s_truncf-vis3.c): Likewise.
2634 (CFLAGS-s_trunc-vis3.c): Likewise.
2635 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
2636 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
2637 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
2638 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
2639 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
2640 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
2641 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
2642 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
2643 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
2644 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
2645 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
2646 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
2647
2648 2016-08-02 David S. Miller <davem@davemloft.net>
2649
2650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
2651 (__nearbyint_vis3): Don't check for sNaN before float register is
2652 loaded with the incoming argument.
2653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
2654 (__nearbyintf_vis3): Likewise.
2655 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
2656 Likewise.
2657 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
2658 Likewise.
2659
2660 * string/test-strncmp.c (do_test_limit): Make sure the test data
2661 stream is aligned as required for the type "CHAR".
2662 (do_test): Likewise.
2663
2664 2016-08-03 Aurelien Jarno <aurelien@aurel32.net>
2665
2666 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
2667 by beq instructions jumping to the end of the function.
2668 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
2669 clobber list. Use "i" constraint instead of "X".
2670 (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
2671 of "X".
2672
2673 2016-08-02 Joseph Myers <joseph@codesourcery.com>
2674
2675 * bits/libc-header-start.h: New file.
2676 * Makefile (headers): Add bits/libc-header-start.h.
2677 * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
2678 (__GLIBC_USE): New macro.
2679 * libio/stdio.h: Define
2680 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2681 <bits/libc-header-start.h> instead of including <features.h>.
2682 (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
2683 (open_memstream): Likewise.
2684 (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
2685 (__asprintf): Likewise.
2686 (asprintf): Likewise.
2687 (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
2688 (getdelim): Likewise.
2689 (getline): Likewise.
2690 * string/string.h: Define
2691 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2692 <bits/libc-header-start.h> instead of including <features.h>.
2693 (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
2694 (strndup): Likewise.
2695 * wcsmbs/wchar.h: Define
2696 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2697 <bits/libc-header-start.h> instead of including <features.h>.
2698 (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
2699 * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
2700
2701 2016-08-02 Florian Weimer <fweimer@redhat.com>
2702
2703 Support linking against compatibility symbols, for use in tests.
2704 * include/libc-symbols.h (symbol_version_reference): New macro.
2705 (symbol_version): Use it.
2706 * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
2707 (compat_symbol): Use compat_symbol_reference.
2708 (compat_symbol_1, compat_symbol_2): Remove.
2709 (compat_symbol_reference, compat_symbol_reference_1)
2710 (compat_symbol_reference_2): New macro. Use
2711 symbol_version_reference.
2712
2713 2016-08-02 Florian Weimer <fweimer@redhat.com>
2714
2715 [BZ #19469]
2716 * malloc/Makefile (CPPFLAGS): Compile tests with
2717 -DTEST_NO_MALLOPT.
2718 * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
2719
2720 2016-08-02 Andrew Senkevich <andrew.senkevich@intel.com>
2721
2722 [BZ #20033]
2723 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
2724 finite version.
2725 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
2726 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
2727 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
2728 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
2729 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
2730 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
2731 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
2732 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
2733 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
2734 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
2735 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
2736 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
2737 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
2738 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
2739 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
2740 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
2741 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
2742 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
2743 * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
2744 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
2745 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
2746 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
2747 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
2748 * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
2749 in zero power.
2750
2751 2016-08-02 Florian Weimer <fweimer@redhat.com>
2752
2753 [BZ #20370]
2754 * malloc/arena.c (get_free_list): Update comment. Assert that
2755 arenas on the free list have no attached threads.
2756 (remove_from_free_list): New function.
2757 (reused_arena): Call it.
2758
2759 2016-08-02 Aurelien Jarno <aurelien@aurel32.net>
2760
2761 * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
2762 when it is a NaN.
2763 [_IEEE_FP_INEXACT] Remove.
2764 * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
2765 * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
2766 when it is a NaN.
2767 [_IEEE_FP_INEXACT] Remove.
2768 * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
2769 * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
2770 when it is a NaN.
2771 * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
2772 * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
2773 when its absolute value is greater than 0x1.0p52.
2774 [_IEEE_FP_INEXACT] Remove.
2775 * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
2776 when its absolute value is greater than 0x1.0p23.
2777 [_IEEE_FP_INEXACT] Remove.
2778
2779 2016-08-01 Carlos O'Donell <carlos@redhat.com>
2780
2781 * version.h (RELEASE): Set to "development"
2782 (VERSION): Set to 2.24.90.
2783 * NEWS: Add 2.25 section.
2784
2785 * version.h (RELEASE): Set to "stable"
2786 (VERSION): Set to 2.24.
2787 * include/features.h (__GLIBC_MINOR__): Set to 24.
2788
2789 * NEWS: Add 2.24 fixed bugs.
2790 * po/libc.pot: Regenerate.
2791
2792 2016-08-01 Aurelien Jarno <aurelien@aurel32.net>
2793
2794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
2795 [$(subdir) = math] (libm-sysdep_routines): Remove.
2796 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
2797 Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
2798 s_truncf-vis3, s_trunc-vis3.
2799 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
2801 file.
2802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
2803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
2804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
2805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
2806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
2807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
2808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
2809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
2811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
2812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
2813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
2814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
2815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
2816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
2817 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
2818 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2819 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
2820 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
2821 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
2822 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
2823 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
2824 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
2825 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2826 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
2827 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
2828 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2829 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
2830 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
2831 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2832 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
2833 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
2834 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2835 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
2836 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
2837 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
2838 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
2839 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2840 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2841 * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
2842 * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
2843 * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
2844 * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
2845
2846 2016-07-27 H.J. Lu <hongjiu.lu@intel.com>
2847
2848 [BZ #20384]
2849 * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
2850 test-double-libmvec-sincos-avx-main.o,
2851 test-double-libmvec-sincos-avx2-main.o,
2852 test-double-libmvec-sincos-main.o,
2853 test-float-libmvec-sincosf-avx-main.o,
2854 test-float-libmvec-sincosf-avx2-main.o and
2855 test-float-libmvec-sincosf-main.o.
2856 test-float-libmvec-sincosf-avx512-main.o.
2857 ($(objpfx)test-double-libmvec-sincos): Also link with
2858 $(objpfx)test-double-libmvec-sincos-main.o.
2859 ($(objpfx)test-double-libmvec-sincos-avx): Also link with
2860 $(objpfx)test-double-libmvec-sincos-avx-main.o.
2861 ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
2862 $(objpfx)test-double-libmvec-sincos-avx2-main.o.
2863 ($(objpfx)test-float-libmvec-sincosf): Also link with
2864 $(objpfx)test-float-libmvec-sincosf-main.o.
2865 ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
2866 $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
2867 [$(config-cflags-avx512) == yes] (extra-test-objs): Add
2868 test-double-libmvec-sincos-avx512-main.o and
2869 ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
2870 $(objpfx)test-double-libmvec-sincos-avx512-main.o.
2871 ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
2872 $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
2873 (CFLAGS-test-double-libmvec-sincos.c): Removed.
2874 (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
2875 (CFLAGS-test-double-libmvec-sincos-main.c): New.
2876 (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
2877 (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
2878 (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
2879 (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
2880 (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
2881 (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
2882 (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
2883 (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
2884 (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
2885 -DREQUIRE_AVX2.
2886 (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
2887 (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
2888 -DREQUIRE_AVX512F.
2889 (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
2890 * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
2891 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
2892 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
2893 file.
2894 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
2895 Likewise.
2896 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
2897 Likewise.
2898 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
2899 Likewise.
2900 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
2901 Likewise.
2902 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
2903 Likewise.
2904 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
2905 Likewise.
2906 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
2907 Likewise.
2908
2909 2016-07-27 Chung-Lin Tang <cltang@codesourcery.com>
2910
2911 * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
2912
2913 2016-07-21 Gustavo Romero <gromero@linux.vnet.ibm.com>
2914
2915 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
2916 and typo in a comment about AT_HWCAP entry.
2917
2918 2016-07-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
2919
2920 * sysdeps/aarch64/libm-test-ulps: Updated.
2921
2922 2016-07-20 Stefan Liebler <stli@linux.vnet.ibm.com>
2923
2924 * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
2925 of r13 as it is not restored in mvcle case.
2926
2927 2016-07-19 Mike Frysinger <vapier@gentoo.org>
2928
2929 * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
2930 Rename "ret" to "__ret".
2931 (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
2932 inline_syscall5, inline_syscall6): Likewise.
2933
2934 2016-07-19 Will Newton <will.newton@gmail.com>
2935
2936 * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
2937 R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
2938 R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
2939 R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
2940 R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
2941
2942 2016-07-18 H.J. Lu <hongjiu.lu@intel.com>
2943
2944 * sysdeps/i386/Makefile (rtld-CFLAGS): New.
2945 [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
2946 -mfpmath=387 with $(rtld-CFLAGS).
2947 [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
2948 $(rtld-CFLAGS).
2949
2950 2016-07-18 Ross Burton <ross.burton@intel.com>
2951 Khem Raj <raj.khem@gmail.com>
2952
2953 * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
2954 R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
2955 R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
2956 R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
2957 R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
2958 R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
2959 R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
2960 R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
2961 R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
2962 R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
2963 R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
2964 R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
2965 R_METAG_TLS_DTPOFF): New.
2966
2967 2016-07-18 Siddhesh Poyarekar <siddhesh@sourceware.org>
2968 Matt Clay <mclay@lycos.com>
2969
2970 [BZ #20357]
2971 * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
2972 to call __mpsin/__mpcos and to negate values.
2973 * math/auto-libm-test-in: Add test.
2974 * math/auto-libm-test-out: Regenerate.
2975
2976 2016-07-18 Zack Weinberg <zackw@panix.com>
2977
2978 * grp/Makefile: Don't install the internal header grp-merge.h.
2979
2980 2016-07-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
2981
2982 * sysdeps/aarch64/libm-test-ulps: Regenerated.
2983
2984 2016-07-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
2985
2986 * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
2987
2988 2016-07-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2989
2990 [BZ #15368]
2991 * sysdeps/unix/sysv/linux/nptl-signals.h
2992 (__nptl_clear_internal_signals): New function.
2993 (__libc_signal_block_all): Likewise.
2994 (__libc_signal_block_app): Likewise.
2995 (__libc_signal_restore_set): Likewise.
2996 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
2997 implementation.
2998 * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
2999 the cached pid/tid value in pthread structure.
3000
3001 2016-07-13 H.J. Lu <hongjiu.lu@intel.com>
3002
3003 [BZ #20347]
3004 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
3005
3006 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
3007
3008 [BZ #20348]
3009 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
3010 preadv64, pwrite64 and pwritev64.
3011
3012 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
3013
3014 [BZ #20350]
3015 * posix/tst-preadwrite.c: Renamed to ...
3016 * posix/tst-preadwrite-common.c: This.
3017 (PREAD): Removed.
3018 (PWRITE): Likewise.
3019 (STRINGIFY): Likewise.
3020 (STRINGIFY2): Likewise.
3021 (do_prepare): Make it static and remove function arguments.
3022 (do_test): Likewise.
3023 (PREPARE): Updated.
3024 (TEST_FUNCTION): New.
3025 (name): Make it static.
3026 (fd): Likewise.
3027 (do_prepare): Use create_temp_file.
3028 (do_test): Renamed to ...
3029 (do_test_with_offset): This. Make it static and accept offset.
3030 Properly check return value of PWRITE and PREAD. Return bytes
3031 read. Don't close fd nor unlink name.
3032 * posix/tst-preadwrite.c: Rewrite.
3033 * posix/tst-preadwrite64.c: Likewise.
3034
3035 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
3036
3037 [BZ #20309]
3038 * configure.ac (have-mtls-dialect-gnu2): Set to yes if
3039 -mtls-dialect=gnu2 works.
3040 * configure: Regenerated.
3041 * elf/Makefile [have-mtls-dialect-gnu2 = yes]
3042 (tests): Add tst-gnu2-tls1.
3043 (modules-names): Add tst-gnu2-tls1mod.
3044 ($(objpfx)tst-gnu2-tls1): New.
3045 (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
3046 (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
3047 * elf/tst-gnu2-tls1.c: New file.
3048 * elf/tst-gnu2-tls1mod.c: Likewise.
3049 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
3050 bytes for push in the PLT entry to align the stack.
3051
3052 2016-07-11 H.J. Lu <hongjiu.lu@intel.com>
3053
3054 [BZ #20349]
3055 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
3056
3057 2016-07-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
3058
3059 [BZ #18707]
3060 * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
3061 * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
3062
3063 2016-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3064
3065 * sysdeps/unix/sysv/linux/sysdep.h
3066 [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
3067 guards.
3068 * misc/tst-preadvwritev-common.c: New file.
3069 * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
3070 * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
3071 a check for files larger than 2GB.
3072
3073 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3074 (__ASSUME_OFF_DIFF_OFF64): Remove define.
3075 * sysdeps/unix/sysv/linux/pread.c
3076 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
3077 __OFF_T_MATCHES_OFF64_T.
3078 * sysdeps/unix/sysv/linux/pread64.c
3079 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
3080 * sysdeps/unix/sysv/linux/preadv.c
3081 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
3082 * sysdeps/unix/sysv/linux/preadv64.c
3083 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
3084 * sysdeps/unix/sysv/linux/pwrite.c
3085 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
3086 * sysdeps/unix/sysv/linux/pwrite64.c
3087 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
3088 * sysdeps/unix/sysv/linux/pwritev.c
3089 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
3090 * sysdeps/unix/sysv/linux/pwritev64.c
3091 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
3092
3093 2016-07-08 Chris Metcalf <cmetcalf@mellanox.com>
3094
3095 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3096 (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
3097
3098 2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
3099
3100 * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
3101
3102 2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
3103
3104 [BZ #20240]
3105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3106 (CFLAGS-s_modf-ppc32.c): New variable.
3107 (CFLAGS-s_modff-ppc32.c): Likewise.
3108 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3109 (CFLAGS-s_modf-ppc64.c): Likewise.
3110 (CFLAGS-s_modff-ppc64.c): Likewise.
3111
3112 2016-07-07 Andreas Schwab <schwab@suse.de>
3113
3114 [BZ #20263]
3115 * nptl/tst-robust10.c: New test.
3116 * nptl/Makefile (tests): Add tst-robust10.
3117
3118 2016-07-07 Jiyoung Yun <t2wish@gmail.com>
3119
3120 [BZ #20263]
3121 * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
3122
3123 2016-07-06 Stefan Liebler <stli@linux.vnet.ibm.com>
3124
3125 * sysdeps/s390/linkmap.h (struct link_map_machine):
3126 Remove member gotplt and add member jmprel.
3127 * sysdeps/s390/s390-32/dl-machine.h
3128 (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
3129 instead of gotplt with &got[3].
3130 (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
3131 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
3132
3133 2016-07-06 John David Anglin <danglin@gcc.gnu.org>
3134
3135 * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
3136
3137 2016-07-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
3138
3139 * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
3140 _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
3141 [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
3142 (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
3143 * libio/vtables.c (_IO_vtable_check)
3144 [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
3145 * libio/libioP.h (IO_set_accept_foreign_vtables)
3146 [!PTR_MANGLE]: Do not call PTR_MANGLE.
3147
3148 2016-07-05 H.J. Lu <hongjiu.lu@intel.com>
3149
3150 [BZ #20314]
3151 * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
3152 * Makerules (before-compile): Add $(common-objpfx)cstdlib and
3153 $(common-objpfx)cmath.
3154 ($(common-objpfx)cstdlib): New target.
3155 ($(common-objpfx)cmath): Likewise.
3156
3157 2016-07-05 Chris Metcalf <cmetcalf@mellanox.com>
3158
3159 * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
3160
3161 2016-07-05 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3162
3163 [BZ #20327]
3164 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
3165 are not part of the string.
3166
3167 2016-07-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3168
3169 * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
3170 * nptl/tst-cancel4-common.h (fifoname): New variable.
3171 (fifofd): Likewise.
3172 (cl_fifo): New function.
3173 * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
3174 SIGINT.
3175 (tf_open): Add early cancel test.
3176
3177 2016-07-04 Andreas Schwab <schwab@linux-m68k.org>
3178
3179 * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
3180
3181 2016-07-01 Maciej W. Rozycki <macro@imgtec.com>
3182
3183 * sysdeps/generic/ldsodefs.h
3184 (dl_symbol_visibility_binds_local_p): New inline function.
3185 * elf/dl-addr.c (determine_info): Treat hidden and internal
3186 symbols as local.
3187 * elf/dl-lookup.c (do_lookup_x): Likewise.
3188 * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
3189
3190 2016-07-01 Aurelien Jarno <aurelien@aurel32.net>
3191
3192 * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
3193 invalid exception for a sNaN input.
3194 * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
3195 * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
3196 (__nearbyint_vis3): Likewise
3197 * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
3198 (__nearbyintf_vis3): Likewise
3199 * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
3200 * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
3201 * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
3202 Likewise.
3203 * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
3204 Likewise.
3205
3206 2016-07-01 H.J. Lu <hongjiu.lu@intel.com>
3207
3208 [BZ #20139]
3209 * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
3210 (HAVE_AVX512DQ_ASM_SUPPORT): This.
3211 * sysdeps/x86_64/configure.ac: Require assembler from binutils
3212 2.24 or above.
3213 (HAVE_AVX512_ASM_SUPPORT): Removed.
3214 (HAVE_AVX512DQ_ASM_SUPPORT): New.
3215 * sysdeps/x86_64/configure: Regenerated.
3216 * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
3217 check unconditional.
3218 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
3219 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3220 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3221 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
3222 Likewise.
3223 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
3224 Likewise.
3225 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
3226 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
3227 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3228 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3229 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
3230 Likewise.
3231 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
3232 Likewise.
3233 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3234 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3235 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
3236 HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
3237 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
3238 Likewise.
3239 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
3240 Likewise.
3241 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
3242 Likewise.
3243 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
3244 Likewise.
3245 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
3246 Likewise.
3247 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
3248 Likewise.
3249 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
3250 Likewise.
3251 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
3252 Likewise.
3253 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
3254 Likewise.
3255 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
3256 Likewise.
3257 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
3258 Likewise.
3259
3260 2016-07-01 Andrew Senkevich <andrew.senkevich@intel.com>
3261
3262 [BZ #20024]
3263 * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
3264 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
3265 of this implementation of vector function.
3266 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
3267 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
3268 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
3269 Likewise.
3270 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
3271 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
3272 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
3273 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
3274 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
3275 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
3276 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
3277 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
3278 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
3279 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
3280 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
3281 for testing vector sincos with fixed ABI.
3282 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3283 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3284 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3285 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
3286 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3287 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3288 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3289 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
3290 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
3291 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
3292 * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
3293 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
3294 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
3295 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
3296 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
3297 * sysdeps/x86_64/fpu/Makefile: Added new tests.
3298
3299 2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
3300
3301 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
3302
3303 2016-06-30 Anton Blanchard <anton@samba.org>
3304
3305 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3306 [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
3307 s_sinf-ppc64.
3308 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
3309 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
3310 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
3311 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
3312
3313 2016-06-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3314
3315 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3316 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3317 [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
3318 e_expf-ppc64.
3319 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
3320 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
3321 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
3322 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
3323
3324 2016-06-30 John David Anglin <danglin@gcc.gnu.org>
3325
3326 [BZ #20277]
3327 * sysdeps/hppa/start.S (_start): Correct loading of global pointer
3328 when SHARED is defined.
3329
3330 2016-06-30 H.J. Lu <hongjiu.lu@intel.com>
3331
3332 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
3333 (index_arch_Prefer_ERMS): Likewise.
3334 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
3335 __memcpy_erms for Prefer_ERMS.
3336 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
3337 (__memmove_erms): Enabled for libc.a.
3338 * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
3339 __memmove_erms or Prefer_ERMS.
3340 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
3341 __mempcpy_erms for Prefer_ERMS.
3342 * sysdeps/x86_64/multiarch/memset.S (memset): Return
3343 __memset_erms for Prefer_ERMS.
3344
3345 2016-06-30 Andreas Schwab <schwab@suse.de>
3346
3347 [BZ #20262]
3348 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
3349 NSS_STATUS_SUCCESS when done. Return NSS_STATUS_TRYAGAIN when out
3350 of memory.
3351
3352 2016-06-29 H.J. Lu <hongjiu.lu@intel.com>
3353
3354 [BZ #18645]
3355 * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
3356 (test-extras): Add tst-cleanupx4aux.
3357 (CFLAGS-tst-cleanupx4aux.c): New. Set to -fexceptions.
3358 ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
3359 tst-cleanupx4aux.o.
3360 * nptl/tst-cleanupx4aux.c: New file.
3361
3362 2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
3363
3364 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
3365
3366 2016-06-29 Andreas Schwab <schwab@suse.de>
3367
3368 [BZ #20260]
3369 * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
3370 address before the beginning of the string as an integer to avoid
3371 array-bounds warning.
3372
3373 2016-06-28 Richard Henderson <rth@redhat.com>
3374
3375 * elf/elf.h (EM_BPF): New.
3376 (EM_NUM): Update.
3377 (R_BPF_NONE, R_BPF_MAP_FD): New.
3378
3379 * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
3380 EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
3381 EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
3382 EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
3383 EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
3384 EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
3385 EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
3386 EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
3387 EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
3388 EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
3389 EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
3390 EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
3391 EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
3392 EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
3393 EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
3394 EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
3395 EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
3396 (EM_NUM): Update.
3397
3398 2016-06-28 Stefan Liebler <stli@linux.vnet.ibm.com>
3399
3400 [BZ #18960]
3401 * locale/localeinfo.h (_NL_CURRENT_DEFINE):
3402 Set _nl_current_LC_CATEGORY_used to two instead of one.
3403
3404 2016-06-27 Aurelien Jarno <aurelien@aurel32.net>
3405
3406 * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
3407 (do_test): ... this.
3408 (TEST_FUNCTION): New macro.
3409 Include test-skeleton.c.
3410 * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
3411 * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
3412
3413 2016-06-27 Joseph Myers <joseph@codesourcery.com>
3414
3415 [BZ #15479]
3416 * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
3417 floating-point environment rather than just control word.
3418 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
3419 * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
3420 floating-point environment, with "invalid" exceptions merged in,
3421 rather than just control word.
3422 * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
3423 * math/libm-test.inc (trunc_test_data): Do not allow spurious
3424 "inexact" exceptions.
3425
3426 [BZ #15479]
3427 * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
3428 floating-point environment rather than just control word.
3429 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
3430 * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
3431 floating-point environment, with "invalid" exceptions merged in,
3432 rather than just control word.
3433 * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
3434 * math/libm-test.inc (floor_test_data): Do not allow spurious
3435 "inexact" exceptions.
3436
3437 [BZ #15479]
3438 * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
3439 floating-point environment rather than just control word.
3440 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
3441 * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
3442 floating-point environment, with "invalid" exceptions merged in,
3443 rather than just control word.
3444 * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
3445 * math/libm-test.inc (ceil_test_data): Do not allow spurious
3446 "inexact" exceptions.
3447
3448 2016-06-21 Aurelien Jarno <aurelien@aurel32.net>
3449
3450 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
3451 __libc_vfork.
3452 (__vfork) [IS_IN (libc)]: Remove alias.
3453 (__libc_vfork) [IS_IN (libc)]: Define as an alias.
3454 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
3455 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
3456
3457 2016-06-24 Torvald Riegel <triegel@redhat.com>
3458
3459 * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
3460 of atomic_compare_and_exchange_bool_rel.
3461 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3462 * include/atomic.h (atomic_compare_and_exchange_bool_rel,
3463 catomic_compare_and_exchange_bool_rel): Remove.
3464 * sysdeps/aarch64/atomic-machine.h
3465 (atomic_compare_and_exchange_bool_rel): Likewise.
3466 * sysdeps/alpha/atomic-machine.h
3467 (atomic_compare_and_exchange_bool_rel): Likewise.
3468 * sysdeps/arm/atomic-machine.h
3469 (atomic_compare_and_exchange_bool_rel): Likewise.
3470 * sysdeps/mips/atomic-machine.h
3471 (atomic_compare_and_exchange_bool_rel): Likewise.
3472 * sysdeps/microblaze/atomic-machine.h
3473 ( __arch_compare_and_exchange_bool_8_rel,
3474 __arch_compare_and_exchange_bool_16_rel): Likewise.
3475 * sysdeps/powerpc/atomic-machine.h
3476 ( __arch_compare_and_exchange_bool_8_rel,
3477 __arch_compare_and_exchange_bool_16_rel): Likewise.
3478 * sysdeps/powerpc/powerpc32/atomic-machine.h
3479 ( __arch_compare_and_exchange_bool_32_rel,
3480 __arch_compare_and_exchange_bool_64_rel): Likewise.
3481 * sysdeps/powerpc/powerpc64/atomic-machine.h
3482 ( __arch_compare_and_exchange_bool_32_rel,
3483 __arch_compare_and_exchange_bool_64_rel): Likewise.
3484 * sysdeps/tile/atomic-machine.h
3485 (atomic_compare_and_exchange_bool_rel): Likewise.
3486
3487 2016-06-23 Joseph Myers <joseph@codesourcery.com>
3488
3489 [BZ #20296]
3490 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
3491 when either argument is a NaN.
3492 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
3493 * math/libm-test.inc (scalb_test_data): Add sNaN tests.
3494
3495 * math/libm-test.inc (snan_value_ld): New macro.
3496 (isgreater_test_data): Add sNaN tests.
3497 (isgreaterequal_test_data): Likewise.
3498 (isless_test_data): Likewise.
3499 (islessequal_test_data): Likewise.
3500 (islessgreater_test_data): Likewise.
3501 (isunordered_test_data): Likewise.
3502 (nextafter_test_data): Likewise.
3503 (nexttoward_test_data): Likewise.
3504 (remainder_test_data): Likewise.
3505 (remquo_test_data): Likewise.
3506 (significand_test_data): Likewise.
3507 * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
3508
3509 2016-06-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
3510
3511 * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
3512 environment macros are defined.
3513 (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
3514
3515 2016-06-23 Florian Weimer <fweimer@redhat.com>
3516
3517 [BZ #20191]
3518 Implement vtable verification in libio.
3519 * Makerules (shlib.lds): Place __libc_IO_vtables section.
3520 * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
3521 * debug/vdprintf_chk.c (__vdprintf_chk): Call
3522 _IO_new_file_init_internal instead of _IO_file_init.
3523 * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
3524 * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
3525 * libio/Makefile (routines): Add vtables.
3526 * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
3527 (_IO_init): Remove, not for internal use.
3528 (_IO_init_internal): Declare, internal replacement for _IO_init.
3529 (_IO_file_init): Remove, not for internal use.
3530 (_IO_new_file_init): Remove, not for internal use.
3531 (_IO_new_file_init_internal): Declare, internal replacement for
3532 _IO_new_file_init.
3533 (_IO_old_file_init): Remove, not for internal use.
3534 (_IO_old_file_init_internal): Declare, internal replacement for
3535 _IO_old_file_init.
3536 (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
3537 internal use.
3538 (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
3539 Declare.
3540 (libio_vtable): New macro.
3541 (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
3542 functions.
3543 * libio/fileops.c (_IO_new_file_init_internal): Rename from
3544 _IO_new_file_init.
3545 (_IO_new_file_init): New externally visible wrapper which disables
3546 vtable verification.
3547 (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
3548 Define as vtables.
3549 * libio/genops.c (_IO_init_internal): Rename from _IO_init.
3550 (_IO_init): New externally visible wrapper which disables
3551 vtable verification.
3552 * libio/iofdopen.c (_IO_new_fdopen): Call
3553 _IO_new_file_init_internal instead of _IO_file_init. Adjust
3554 comment.
3555 * libio/iofopen.c (__fopen_internal): Call
3556 _IO_new_file_init_internal instead of _IO_file_init.
3557 * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
3558 Define as vtables.
3559 (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
3560 _IO_new_file_init_internal instead of _IO_file_init.
3561 * libio/iopopen.c (_IO_new_popen): Likewise.
3562 (_IO_proc_jumps): Define as vtable.
3563 * libio/iovdprintf.c (_IO_vdprintf): Call
3564 _IO_new_file_init_internal instead of _IO_file_init.
3565 * libio/memstream.c (_IO_mem_jumps): Define as vtable.
3566 (__open_memstream): Call _IO_init_internal instead of _IO_init.
3567 * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
3568 * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
3569 _IO_old_file_init.
3570 (_IO_old_file_init): New externally visible wrapper which disables
3571 vtable verification.
3572 (_IO_old_file_jumps): Define as vtable.
3573 * libio/oldiofdopen.c (_IO_old_fdopen): Call
3574 _IO_old_file_init_internal instead of _IO_old_file_init.
3575 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
3576 * libio/oldiopopen.c (_IO_old_popen): Likewise.
3577 (_IO_old_proc_jumps): Define as vtable.
3578 * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
3579 Define as vtables.
3580 * libio/vtables.c: New file.
3581 * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
3582 (_IO_wfile_jumps_maybe_mmap): Define as vtables.
3583 * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
3584 * libio/wstrops.c (_IO_wstr_jumps): Likewise.
3585 * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
3586 * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
3587 instead of _IO_init.
3588
3589 2016-06-23 Florian Weimer <fweimer@redhat.com>
3590
3591 * test-skeleton.c (xrealloc): Support deallocation with n == 0.
3592
3593 2016-06-23 Florian Weimer <fweimer@redhat.com>
3594
3595 * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
3596 potentially unused.
3597
3598 2016-06-22 Florian Weimer <fweimer@redhat.com>
3599
3600 * test-skeleton.c (write_message): New function.
3601 * malloc/tst-mallocfork2.c (write_message): Remove.
3602 * debug/tst-longjmp_chk2.c (write_indented): New function.
3603 (write_message): Remove.
3604 (stackoverflow_handler): Call write_indented.
3605
3606 2016-06-22 Joseph Myers <joseph@codesourcery.com>
3607
3608 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
3609 "inexact" exceptions after fnstenv.
3610 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
3611 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
3612 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
3613
3614 2015-06-22 Zack Weinberg <zackw@panix.com>
3615
3616 * sysdeps/generic/bits/hwcap.h: Moved to ...
3617 * bits/hwcap.h: Here.
3618
3619 2016-06-22 Wilco Dijkstra <wdijkstr@arm.com>
3620
3621 * sysdeps/aarch64/memcpy.S (memcpy):
3622 Further tuning for performance.
3623
3624 2016-06-21 Florian Weimer <fweimer@redhat.com>
3625
3626 [BZ #20284]
3627 * malloc/arena.c (reused_arena): Do not return NULL if we start
3628 out with a non-corrupted arena.
3629
3630 2016-06-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3631
3632 * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
3633 * misc/tst-preadvwritev.c: New file.
3634 * misc/tst-preadvwritev64.c: Likewise.
3635 * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
3636 usage.
3637 * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
3638 * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
3639 * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
3640 * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
3641
3642 2016-06-20 Andrew Senkevich <andrew.senkevich@intel.com>
3643
3644 [BZ #19654]
3645 * sysdeps/x86_64/fpu/Makefile: Added new tests.
3646 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
3647 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
3648 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
3649 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
3650 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
3651 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
3652 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
3653 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
3654 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
3655 * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
3656 * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
3657 * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
3658 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
3659 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
3660 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
3661 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
3662 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
3663 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
3664 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
3665 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
3666 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
3667 * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
3668 * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
3669 * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
3670 * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
3671
3672 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
3673
3674 * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
3675 * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
3676
3677 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
3678
3679 * sysdeps/aarch64/memcpy.S (memcpy):
3680 Rewrite of optimized memcpy and memmove.
3681 * sysdeps/aarch64/memmove.S (memmove): Remove
3682 memmove code (merged into memcpy.S).
3683
3684 2016-06-20 Florian Weimer <fweimer@redhat.com>
3685
3686 Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
3687 * sysdeps/generic/dl-dtv.h: New file.
3688 * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3689 * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
3690 (dtv_t): Remove.
3691 * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3692 * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
3693 (dtv_t): Remove.
3694 * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3695 * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
3696 (dtv_t): Remove.
3697 * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3698 * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
3699 (dtv_t): Remove.
3700 * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3701 * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
3702 (dtv_t): Remove.
3703 * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3704 * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
3705 (dtv_t): Remove.
3706 * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3707 * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
3708 (dtv_t): Remove.
3709 * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
3710 (dtv_t): Remove.
3711 * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3712 * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
3713 (dtv_t): Remove.
3714 * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3715 * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
3716 (dtv_t): Remove.
3717 * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3718 * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
3719 (dtv_t): Remove.
3720 * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3721 * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
3722 (dtv_t): Remove.
3723 * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3724 * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
3725 (dtv_t): Remove.
3726 * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3727 * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
3728 (dtv_t): Remove.
3729 * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3730 * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
3731 (dtv_t): Remove.
3732 * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3733 * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
3734 (dtv_t): Remove.
3735
3736 2016-06-20 Florian Weimer <fweimer@redhat.com>
3737
3738 Revert symbol poisoning of __malloc_initialize_hook.
3739 * include/stdc-predef.h (__malloc_initialize_hook): Remove
3740 poisoning.
3741 * malloc/Makefile: Remove un-poisoning.
3742 * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
3743 instead of old__malloc_initialize_hook.
3744 * malloc/malloc-hooks.h: Likewise.
3745 * malloc/malloc.c: Likewise.
3746 * malloc/mcheck-init.c: Likewise.
3747
3748 2016-06-19 Carlos O'Donell <carlos@redhat.com>
3749
3750 * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
3751
3752 2016-06-18 Aurelien Jarno <aurelien@aurel32.net>
3753
3754 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
3755 hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
3756 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
3757 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
3758
3759 2016-06-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3760
3761 * NEWS: Mention addition of nextup and nextdown.
3762 * manual/arith.texi: Document nextup and nextdown.
3763 * manual/libm-err-tab.pl: Add nextup and nextdown.
3764 * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
3765 * math/Versions (libm): Add GLIBC_2.24.
3766 * math/bits/mathcalls.h: Add nextup and nextdown declaration.
3767 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
3768 Add new test.
3769 (nextafter_test_data) [TEST_COND_binary32]: Likewise.
3770 (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
3771 (nextafter_test_data) [TEST_COND_binary64]: Likewise.
3772 (nextafter_test_data) [TEST_COND_binary128]: Likewise.
3773 (nextup_test_data): Likewise.
3774 (nextdown_test_data): Likewise.
3775 * math/s_nextdown.c: New file.
3776 * math/s_nextdownf.c: Likewise.
3777 * math/s_nextdownl.c: Likewise.
3778 * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
3779 F(nextup): New function.
3780 F(nextdown): Likewise.
3781 * math/tgmath.h: Add nextup and nextdown.
3782 * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
3783 * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
3784 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
3785 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
3786 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
3787 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
3788 Add nextup and nextdown.
3789 (CFLAGS-nldbl-nextup.c): New variable.
3790 (CFLAGS-nldbl-nextdown.c): Likewise.
3791 * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
3792 * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
3793 * sysdeps/nacl/libm.abilist: Update.
3794 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3795 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3796 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3797 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3798 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3799 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3800 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3801 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3802 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3803 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3804 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3805 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
3807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3808 Likewise.
3809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
3810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
3811 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3812 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3813 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3814 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3815 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3816 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
3817 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
3818 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3819 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3820 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
3821 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3822
3823 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
3824
3825 * manual/pattern.texi: Fix typos & grammar errors.
3826
3827 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
3828
3829 * manual/search.texi: Fix typos & grammar errors.
3830
3831 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
3832
3833 * manual/message.texi: Fix typos & grammar errors.
3834
3835 2016-06-16 Mike Frysinger <vapier@gentoo.org>
3836
3837 * manual/contrib.texi: Fix spelling typos.
3838 * manual/crypt.texi: Likewise.
3839 * manual/filesys.texi: Likewise.
3840 * manual/locale.texi: Likewise.
3841 * manual/message.texi: Likewise.
3842 * manual/nss.texi: Likewise.
3843 * manual/string.texi: Likewise.
3844
3845 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
3846
3847 * manual/locale.texi: Fix typos & grammar errors.
3848
3849 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
3850
3851 * manual/charset.texi: Fix typos & grammar errors.
3852
3853 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
3854
3855 * manual/string.texi: Fix typos.
3856
3857 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
3858
3859 * manual/ctype.texi: Fix typos.
3860
3861 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
3862
3863 * manual/memory.texi: Fix various typos & grammar errors.
3864
3865 2016-06-14 Joseph Myers <joseph@codesourcery.com>
3866
3867 [BZ #20255]
3868 * sysdeps/i386/fpu/s_fdim.c: New file. Based on math/s_fdim.c.
3869 * math/libm-test.inc (fdim_test_data): Add another test.
3870
3871 [BZ #6796]
3872 [BZ #20255]
3873 [BZ #20256]
3874 * math/s_fdim.c: Include <math_private.h>.
3875 (__fdim): Use math_narrow_eval on result.
3876 * math/s_fdimf.c: Include <math_private.h>.
3877 (__fdimf): Use math_narrow_eval on result.
3878 * sysdeps/i386/fpu/s_fdim.S: Remove file.
3879 * sysdeps/i386/fpu/s_fdimf.S: Likewise.
3880 * sysdeps/i386/fpu/s_fdiml.S: Likewise.
3881 * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
3882 * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
3883 * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
3884 * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
3885 * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
3886 * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
3887 * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
3888 * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
3889 * math/libm-test.inc (fdim_test_data): Expect errno setting on
3890 overflow. Add sNaN tests.
3891
3892 * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
3893 fpclassify.
3894 * math/s_fdimf.c (__fdimf): Likewise.
3895 * math/s_fdiml.c (__fdiml): Likewise.
3896
3897 2016-06-14 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3898
3899 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
3900 (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
3901 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3902 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
3903 ifunc'ed strcasecmp/strncasecmp.
3904 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
3905 [EALIGN]: Removed.
3906 [END]: Likewise.
3907 [__strcasecmp]: Define instead of the above to control symbol name.
3908 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
3909 for __strcasecmp_power8.
3910 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
3911 for __strncasecmp_power8.
3912 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
3913 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
3914 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
3915 * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
3916 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
3917 * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
3918
3919 2016-06-13 Joseph Myers <joseph@codesourcery.com>
3920
3921 [BZ #20252]
3922 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
3923 arguments when second argument is a NaN.
3924 * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
3925 qNaN tests.
3926
3927 * math/libm-test.inc (cimag_test_data): Add sNaN tests.
3928 (conj_test_data): Likewise.
3929 (copysign_test_data): Likewise.
3930 (creal_test_data): Likewise.
3931 (fma_test_data): Likewise.
3932 (fmod_test_data): Likewise.
3933
3934 [BZ #20250]
3935 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
3936 itself.
3937 * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
3938 zero input to itself.
3939 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
3940 Likewise.
3941 * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
3942 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
3943 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
3944 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
3945 * math/libm-test.inc (frexp_test_data): Add sNaN tests.
3946
3947 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3948
3949 * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
3950 * nptl/tst-cancel4-common.c: New file.
3951 * nptl/tst-cancel4-common.h: Likewise.
3952 * nptl/tst-cancel4.c: Move common definitions to
3953 tst-cancel4-common.{c,h} file.
3954 * nptl/tst-cancel4_1.c: New test.
3955 * nptl/tst-cancel4_2.c: New test.
3956
3957 2016-06-13 Florian Weimer <fweimer@redhat.com>
3958
3959 [BZ #20248]
3960 * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
3961 (write_message): New function.
3962 (stackoverflow_handler): Call it instead of printf, to avoid
3963 excessive stack usage by printf.
3964 (do_test): Restore SIGSEGV, SIGBUS default handlers.
3965
3966 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3967
3968 * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
3969 (prio_inherit_missing): Remove define.
3970 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3971 (__ASSUME_FUTEX_LOCK_PI): Likewise.
3972 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
3973 Likewise.
3974 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3975 (__ASSUME_FUTEX_LOCK_PI): Likewise.
3976 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3977 (__ASSUME_FUTEX_LOCK_PI): Likewise.
3978 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3979 (__ASSUME_FUTEX_LOCK_PI): Likewise.
3980
3981 2016-06-11 Paul Pluzhnikov <ppluzhnikov@google.com>
3982
3983 [BZ #19670]
3984 [BZ #19672]
3985
3986 * io/test-lfs.c (do_prepare): Use xmalloc.
3987 * io/tst-fcntl.c (do_prepare): Likewise.
3988 * libio/tst-fopenloc.c (do_bz17916): Likewise.
3989 * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
3990 * login/tst-utmp.c (do_prepare): Likewise.
3991 * posix/tst-exec.c (do_prepare): Likewise.
3992 * posix/tst-pathconf.c (prepare): Likewise.
3993 * posix/tst-spawn.c (do_prepare): Likewise.
3994 * posix/tst-truncate.c (do_prepare): Likewise.
3995 * rt/tst-aio.c (do_prepare): Likewise.
3996 * rt/tst-aio64.c (do_prepare): Likewise.
3997
3998 2016-06-11 Florian Weimer <fweimer@redhat.com>
3999
4000 [BZ #20237]
4001 * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
4002 (get*ent): Set entidx to NULL during initialization. If entidx is
4003 NULL, start iteration from the beginning.
4004
4005 2016-06-11 Florian Weimer <fweimer@redhat.com>
4006
4007 * malloc/malloc.c (musable): Return correct size for dumped fake
4008 mmapped chunk.
4009
4010 2016-06-11 Florian Weimer <fweimer@redhat.com>
4011
4012 [BZ #20222]
4013 * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
4014 (_IO_cookie_write): Likewise.
4015 (_IO_cookie_seek): Likewise.
4016 (_IO_cookie_close): Likewise.
4017 (_IO_old_cookie_seek): Likewise.
4018 (set_callbacks): New function.
4019 (_IO_cookie_init): Call set_callbacks to copy callbacks.
4020
4021 2016-06-11 Marko Myllynen <myllynen@redhat.com>
4022
4023 * locale/programs/localedef.c (oldstyle_tables): Remove.
4024 * locale/programs/localedef.h (oldstyle_tables): Likewise.
4025
4026 2016-06-10 Joseph Myers <joseph@codesourcery.com>
4027
4028 [BZ #20240]
4029 * math/Makefile (CFLAGS-s_modf.c): New variable.
4030 (CFLAGS-s_modff.c): Likewise.
4031 (CFLAGS-s_modfl.c): Likewise.
4032 * math/libm-test.inc (modf_test_data): Add sNaN tests.
4033
4034 2016-06-09 Carlos O'Donell <carlos@redhat.com>
4035
4036 [BZ #20215]
4037 * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
4038 [!__GNUC_PREREQ (3,2)]: Likewise.
4039
4040 2016-06-10 Adhemerval Zanela <adhemerval.zanella@linaro.org>
4041
4042 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
4043 (msghdr.msg_controllen): Likewise.
4044 (cmsghdr.cmsg_len): Likewise.
4045 * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
4046 ptw-oldsendmsg.
4047 (CFLAGS-oldrecvmsg.c): Remove rule.
4048 (CFLAGS-oldsendmsg.c): Likewise.
4049 (CFLAGS-recvmsg.c): Add rule.
4050 (CFLAGS-sendmsg.c): Likewise.
4051 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
4052 oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
4053 (CFLAGS-recvmsg.c): Remove rule.
4054 (CFLAGS-sendmsg.c): Likewise.
4055 (CFLAGS-oldrecvmsg.c): Likewise.
4056 (CFLAGS-oldsendmsg.c): Likewise.
4057 (CFLAGS-recvmmsg.c): Likewise.
4058 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
4059 to kernel defined interfaces.
4060 (msghdr.msg_controllen): Likewise.
4061 (cmsghdr.cmsg_len): Likewise.
4062 (msghdr.__glibc_reserved1): Remove member.
4063 (msghdr.__glibc_reserved2): Likewise.
4064 (cmsghdr.__glibc_reserved1): Likewise.
4065 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
4066 * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
4067 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
4068 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
4069 * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
4070 version.
4071 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
4072 * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
4073 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
4074 * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
4075 Remove recvmsg and sendmsg.
4076 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
4077 Likewise.
4078 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
4079 Likewise.
4080 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
4081 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
4082 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
4083 Likewise.
4084 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
4085 Likewise.
4086 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
4087 [libc] (GLIBC_2.24): Likewise.
4088 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
4089 Likewise.
4090 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
4091 Likewise.
4092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
4093 [libc] (GLIBC_2.24): Likewise.
4094 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
4095 Likewise.
4096 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
4097 Likewise.
4098 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
4099 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
4100 Likewise.
4101 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
4102 Likewise.
4103 * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
4104 Likewise.
4105 * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
4106 Likewise.
4107 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
4108 * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
4109 * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
4110 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
4111 version for {recv,send,recm,sendm}msg.
4112 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4113 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4114 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4115 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4116 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4117 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4118 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4119 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4120 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4121 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4122 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4123 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4125 Likewise.
4126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4127 Likewise.
4128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4130 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4131 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4132 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4133 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4134 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4135 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4136 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4137 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4138 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4139 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4140 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4141
4142 2016-06-10 Florian Weimer <fweimer@redhat.com>
4143
4144 [BZ #19564]
4145 Remove __malloc_initialize_hook from the API.
4146 * malloc/malloc.h (__malloc_initialize_hook): Remove.
4147 * include/stdc-predef.h (__malloc_initialize_hook): Poison with
4148 #pragma GCC poison.
4149 * malloc/malloc-hooks.h: New file.
4150 * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
4151 * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
4152 (old__malloc_initialize_hook): Rename from
4153 __malloc_initialize_hook to evade poisoning. Turn into compat
4154 symbol.
4155 * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
4156 __malloc_initialize_hook.
4157 * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
4158 (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
4159 * manual/memory.texi (Hooks for Malloc): Remove
4160 __malloc_initialize_hook. Adjust hook example.
4161
4162 2016-06-09 Joseph Myers <joseph@codesourcery.com>
4163
4164 [BZ #20235]
4165 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
4166 itself.
4167 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
4168 * math/libm-test.inc (log2_test_data): Add sNaN tests.
4169
4170 [BZ #20234]
4171 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
4172 infinity or NaN input to itself.
4173
4174 [BZ #20233]
4175 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
4176 to itself.
4177
4178 [BZ #20232]
4179 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
4180 itself.
4181
4182 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
4183
4184 * sysdeps/x86_64/start.S (_start): Always indirect branch to
4185 __libc_start_main via GOT.
4186
4187 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
4188
4189 * sysdeps/x86_64/memcopy.h: New file.
4190 * sysdeps/x86_64/wordcopy.c: Likewise.
4191
4192 2016-06-09 Florian Weimer <fweimer@redhat.com>
4193
4194 Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
4195 * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
4196 <cstdlib>.
4197 (optimization_barrier): New.
4198 (do_test): Use it. Call quick_exit in the global namespace.
4199 * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
4200 instead of <cstdlib>, <thread>.
4201 (optimization_barrier): New.
4202 (non_main_thread): Adjust declaration. Call optimization_barrier.
4203 Call quick_exit in the global namespace.
4204 (do_test): Call optimization_barrier. Use pthread_create,
4205 pthread_join instead of std::thread.
4206
4207 2016-06-09 Andreas Schwab <schwab@suse.de>
4208
4209 [BZ #19755]
4210 * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
4211 new entries in auto-propagate mode.
4212 * nscd/grpcache.c (cache_addgr): Likewise.
4213
4214 2016-06-09 Paul Pluzhnikov <ppluzhnikov@google.com>
4215
4216 * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
4217 New functions.
4218 (add_temp_file): Use them.
4219
4220 2016-06-09 Samuel Thibault <samuel.thibault@ens-lyon.org
4221
4222 * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
4223
4224 2016-06-08 Joseph Myers <joseph@codesourcery.com>
4225
4226 [BZ #20229]
4227 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
4228 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
4229 * math/libm-test.inc (log1p_test_data): Add sNaN tests.
4230
4231 [BZ #20228]
4232 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
4233 itself.
4234 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
4235 * math/libm-test.inc (log10_test_data): Add sNaN tests.
4236
4237 [BZ #20227]
4238 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
4239 itself.
4240 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4241 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
4242 * math/libm-test.inc (log_test_data): Add sNaN tests.
4243
4244 [BZ #20226]
4245 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
4246 itself.
4247 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
4248 * math/libm-test.inc (exp_test_data): Add sNaN tests.
4249 (exp10_test_data): Likewise.
4250 (expm1_test_data): Likewise.
4251
4252 [BZ #20225]
4253 * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
4254 itself.
4255 * math/s_ldexpf.c (__ldexpf): Likewise.
4256 * math/s_ldexpl.c (__ldexpl): Likewise.
4257 * math/w_scalbln.c (__w_scalbln): Likewise.
4258 * math/w_scalblnf.c (__w_scalblnf): Likewise.
4259 * math/w_scalblnl.c (__w_scalblnl): Likewise.
4260 * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
4261 (scalbln_test_data): Likewise.
4262
4263 [BZ #20224]
4264 * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
4265 argument to itself.
4266 * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
4267
4268 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
4269
4270 [BZ #19776]
4271 * sysdeps/x86_64/memcpy.S: Make it dummy.
4272 * sysdeps/x86_64/mempcpy.S: Likewise.
4273 * sysdeps/x86_64/memmove.S: New file.
4274 * sysdeps/x86_64/memmove_chk.S: Likewise.
4275 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
4276 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
4277 * sysdeps/x86_64/memmove.c: Removed.
4278 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
4279 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4280 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
4281 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
4282 Likewise.
4283 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4284 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
4285 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4286 memcpy-sse2-unaligned, memmove-avx-unaligned,
4287 memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
4288 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4289 (__libc_ifunc_impl_list): Replace
4290 __memmove_chk_avx512_unaligned_2 with
4291 __memmove_chk_avx512_unaligned. Remove
4292 __memmove_chk_avx_unaligned_2. Replace
4293 __memmove_chk_sse2_unaligned_2 with
4294 __memmove_chk_sse2_unaligned. Remove __memmove_chk_sse2 and
4295 __memmove_avx_unaligned_2. Replace __memmove_avx512_unaligned_2
4296 with __memmove_avx512_unaligned. Replace
4297 __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
4298 Remove __memmove_sse2. Replace __memcpy_chk_avx512_unaligned_2
4299 with __memcpy_chk_avx512_unaligned. Remove
4300 __memcpy_chk_avx_unaligned_2. Replace
4301 __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
4302 Remove __memcpy_chk_sse2. Remove __memcpy_avx_unaligned_2.
4303 Replace __memcpy_avx512_unaligned_2 with
4304 __memcpy_avx512_unaligned. Remove __memcpy_sse2_unaligned_2
4305 and __memcpy_sse2. Replace __mempcpy_chk_avx512_unaligned_2
4306 with __mempcpy_chk_avx512_unaligned. Remove
4307 __mempcpy_chk_avx_unaligned_2. Replace
4308 __mempcpy_chk_sse2_unaligned_2 with
4309 __mempcpy_chk_sse2_unaligned. Remove __mempcpy_chk_sse2.
4310 Replace __mempcpy_avx512_unaligned_2 with
4311 __mempcpy_avx512_unaligned. Remove __mempcpy_avx_unaligned_2.
4312 Replace __mempcpy_sse2_unaligned_2 with
4313 __mempcpy_sse2_unaligned. Remove __mempcpy_sse2.
4314 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
4315 __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
4316 Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
4317 if processor has ERMS. Default to __memcpy_sse2_unaligned.
4318 (ENTRY): Removed.
4319 (END): Likewise.
4320 (ENTRY_CHK): Likewise.
4321 (libc_hidden_builtin_def): Likewise.
4322 Don't include ../memcpy.S.
4323 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
4324 __memcpy_chk_avx512_unaligned_erms and
4325 __memcpy_chk_avx512_unaligned. Use
4326 __memcpy_chk_avx_unaligned_erms and
4327 __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
4328 Default to __memcpy_chk_sse2_unaligned.
4329 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
4330 Change function suffix from unaligned_2 to unaligned.
4331 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
4332 __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
4333 Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
4334 if processor has ERMS. Default to __mempcpy_sse2_unaligned.
4335 (ENTRY): Removed.
4336 (END): Likewise.
4337 (ENTRY_CHK): Likewise.
4338 (libc_hidden_builtin_def): Likewise.
4339 Don't include ../mempcpy.S.
4340 (mempcpy): New. Add a weak alias.
4341 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
4342 __mempcpy_chk_avx512_unaligned_erms and
4343 __mempcpy_chk_avx512_unaligned. Use
4344 __mempcpy_chk_avx_unaligned_erms and
4345 __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
4346 Default to __mempcpy_chk_sse2_unaligned.
4347
4348 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
4349
4350 [BZ #19881]
4351 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
4352 into ...
4353 * sysdeps/x86_64/memset.S: This.
4354 (__bzero): Removed.
4355 (__memset_tail): Likewise.
4356 (__memset_chk): Likewise.
4357 (memset): Likewise.
4358 (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
4359 defined.
4360 (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
4361 * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
4362 (__memset_zero_constant_len_parameter): Check SHARED instead of
4363 PIC.
4364 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4365 memset-avx2 and memset-sse2-unaligned-erms.
4366 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4367 (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
4368 __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
4369 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
4370 (__bzero): Enabled.
4371 * sysdeps/x86_64/multiarch/memset.S (memset): Replace
4372 __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
4373 and __memset_avx2_unaligned. Use __memset_sse2_unaligned_erms
4374 or __memset_avx2_unaligned_erms if processor has ERMS. Support
4375 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
4376 (memset): Removed.
4377 (__memset_chk): Likewise.
4378 (MEMSET_SYMBOL): New.
4379 (libc_hidden_builtin_def): Replace __memset_sse2 with
4380 __memset_sse2_unaligned.
4381 * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
4382 __memset_chk_sse2 and __memset_chk_avx2 with
4383 __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
4384 Use __memset_chk_sse2_unaligned_erms or
4385 __memset_chk_avx2_unaligned_erms if processor has ERMS. Support
4386 __memset_chk_avx512_unaligned_erms and
4387 __memset_chk_avx512_unaligned.
4388
4389 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4390
4391 * math/gen-auto-libm-test.c (fp_format_desc): remove
4392 suffix member.
4393 (output_generic_value): Remove usage of suffix member,
4394 and the resulting unuse of the fp_format argument.
4395 (output_for_one_input_case): Remove unused fp_format
4396 parameter.
4397
4398 * math/auto-libm-test-out: Regenerate.
4399
4400 * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
4401 usage with TEST_COND_ibm128.
4402 (TEST_COND_flt_32): Remove.
4403 (TEST_COND_dbl_64): Remove.
4404 (TEST_COND_ldbl_96_intel): Remove.
4405 (TEST_COND_ldbl_96_m68k): Remove.
4406 (TEST_COND_ldbl_128): Remove.
4407
4408 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4409
4410 * auto-libm-test-in:
4411 Replace flt-32 usage with binary32.
4412 Replace dbl-64 usage with binary64.
4413 Replace ldbl-intel-96 usage with intel96.
4414 Replace ldbl-m68k-96 usage with m68k96.
4415 Replace ldbl-128ibm usage with ibm128.
4416 Replace ldbl-128 usage with binary128.
4417
4418 * auto-libm-test-out: Regenerate.
4419
4420 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4421
4422 * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
4423 (parse_ulps): Dynamically generate type name matching
4424 string from all_floats.
4425 (get_ulps): Generate the ulps as an array instead.
4426 (output_ulps): Dynamically compose the type based
4427 on the number of supported formats, and print
4428 the indices as type specific helper macros.
4429
4430 * math/libm-test.inc: Remove comment about CHOOSE.
4431 (ulp_data): Generate the type in libm-test-ulps.h.
4432 (ULP_IDX): New macro.
4433 (find_ulps): Update usage of max_ulp.
4434
4435 * math/test-double-vlen2.h (CHOOSE): Remove.
4436 * math/test-double-vlen4.h (CHOOSE): Likewise.
4437 * math/test-double-vlen8.h (CHOOSE): Likewise.
4438 * math/test-float.c (CHOOSE): Likewise.
4439 * math/test-float-finite.c (CHOOSE): Likewise.
4440 * math/test-double.c (CHOOSE): Likewise.
4441 * math/test-double-finite.c (CHOOSE): Likewise.
4442 * math/test-idouble.c (CHOOSE): Likewise.
4443 * math/test-ifloat.c (CHOOSE): Likewise.
4444 * math/test-ildoubl.c (CHOOSE): Likewise.
4445 * math/test-ldouble-finite.c (CHOOSE): Likewise.
4446 * math/test-ldouble.c (CHOOSE): Likewise.
4447
4448 * math/test-float.h (TEST_FLOAT): Remove.
4449 * math/test-double.h (TEST_DOUBLE): Likewise.
4450 * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
4451
4452 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4453
4454 * math/gen-libm-test.pl: (apply_lit): New subroutine.
4455 (parse_args): Strip C suffix from floating point literals
4456 typed with 'f' and wrap them with LIT().
4457
4458 * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
4459 (test_ff_f_data_nexttoward): Rename to
4460 (test_fj_f_data): New struct.
4461 (nexttoward_test_data): Relabel tests as
4462 TEST_fj_f instead of TEST_ff_f.
4463
4464 2016-06-08 Florian Weimer <fweimer@redhat.com>
4465
4466 Emacs bug 23726.
4467 * malloc/malloc.c (dumped_main_arena_start): Update comment.
4468 (__libc_realloc): Correct size computation for dumped fake mmapped
4469 chunks.
4470
4471 2016-06-07 Joseph Myers <joseph@codesourcery.com>
4472
4473 [BZ #20219]
4474 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
4475 to itself.
4476 * math/libm-test.inc (atanh_test_data): Add sNaN tests.
4477
4478 [BZ #20218]
4479 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
4480 to itself.
4481 * math/libm-test.inc (asinh_test_data): Add sNaN tests.
4482
4483 2016-06-07 H.J. Lu <hongjiu.lu@intel.com>
4484
4485 [BZ #20195]
4486 * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
4487 check to ...
4488 (init_cpu_features): Here.
4489
4490 2016-06-07 Carlos O'Donell <carlos@redhat.com>
4491
4492 [BZ #20214]
4493 * sysdeps/unix/sysv/linux/bits/in.h
4494 [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
4495 || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
4496 Define to 1.
4497 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
4498 || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
4499 Define to 0.
4500 [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
4501 [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
4502
4503 2016-06-06 Carlos O'Donell <carlos@redhat.com>
4504
4505 [BZ #20198]
4506 * stdlib/Makefile (tests): Add tst-quick_exit, and
4507 tst-thread-quick_exit.
4508 [ifeq ($(have-cxx-thread_local),yes)]
4509 (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
4510 (CFLAGS-tst-thread-quick_exit.o): Likewise.
4511 (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
4512 (LDLIBS-tst-thread-quick_exit): Likewise.
4513 [ifneq ($(have-cxx-thread_local),yes)]
4514 (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
4515 * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
4516 If run_dtors is true call __call_tls_dtors.
4517 (exit): Call __run_exit_handlers with run_dtors set to true.
4518 * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
4519 definition.
4520 * stdlib/quick_exit.c (quick_exit): Remove function.
4521 (__new_quick_exit): New function.
4522 [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
4523 function.
4524 * stdlib/tst-quick_exit.cc: New file.
4525 * stdlib/tst-thread-quick_exit.cc: New file.
4526 * stdlib/Versions: Add quick_exit@GLIBC_2.24.
4527 * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
4528 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
4529 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
4530 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
4531 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
4532 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
4533 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
4534 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
4535 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
4536 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
4537 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
4538 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
4539 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
4540 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
4541 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
4542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
4543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
4544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
4545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
4546 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
4547 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
4548 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
4549 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
4550 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
4551 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
4552 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
4553 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
4554 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
4555 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
4556
4557 2016-06-06 H.J. Lu <hongjiu.lu@intel.com>
4558
4559 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
4560 a typo in comments.
4561
4562 2016-06-06 Joseph Myers <joseph@codesourcery.com>
4563
4564 [BZ #20213]
4565 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
4566 argument to itself.
4567 * math/libm-test.inc (asin_test_data): Add sNaN tests.
4568
4569 2016-06-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4570
4571 * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
4572 required flags.
4573 (CFLAGS-pwritev64.c): Likewise.
4574 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
4575 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
4576 * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
4577 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
4578 * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
4579 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
4580 syscall from auto-generation.
4581 * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
4582 [WORDSIZE == 64] (pwritev64): Remove macro.
4583 [!PWRITEV] (PWRITEV): Likewise.
4584 [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
4585 [!PWRITEV] (PWRITE): Likewise.
4586 [!PWRITEV] (OFF_T): Likewise.
4587 [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
4588 (LO_HI_LONG): Remove macro.
4589 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
4590 * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
4591 (PWRITEV): Remove macro.
4592 (PWRITEV_REPLACEMENTE): Likewise.
4593 (PWRITE): Likewise.
4594 (OFF_T): Likewise.
4595 (pwritev64): New function.
4596 * nptl/tst-cancel4.c (tf_writev): Add test.
4597
4598 * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
4599 required flags.
4600 (CFLAGS-preadv64.c): Likewise.
4601 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
4602 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
4603 * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
4604 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
4605 * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
4606 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
4607 syscall from auto-generation.
4608 * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
4609 [WORDSIZE == 64] (preadv64): Remove macro.
4610 [!PREADV] (PREADV): Likewise.
4611 [!PREADV] (PREADV_REPLACEMENT): Likewise.
4612 [!PREADV] (PREAD): Likewise.
4613 [!PREADV] (OFF_T): Likewise.
4614 [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
4615 (LO_HI_LONG): Remove macro.
4616 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
4617 * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
4618 (PREADV): Remove macro.
4619 (PREADV_REPLACEMENTE): Likewise.
4620 (PREAD): Likewise.
4621 (OFF_T): Likewise.
4622 (preadv64): New function.
4623 * nptl/tst-cancel4.c (tf_preadv): Add test.
4624
4625 2016-06-06 Joseph Myers <joseph@codesourcery.com>
4626
4627 [BZ #20212]
4628 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
4629 argument to itself.
4630 * math/libm-test.inc (acos_test_data): Add sNaN tests.
4631
4632 2016-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4633
4634 * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
4635 New symbol defined as libc_hidden_def.
4636 (strcasestr): Became a weak alias to __strcasestr.
4637 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
4638 according to multi-arch support. Move __stpncpy hidden
4639 definition from here to...
4640 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here. Add
4641 symbol stpncpy.
4642 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
4643 libc_hidden_builtin_def.
4644 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
4645 memset symbol to use when multi-arch support is available.
4646
4647 2016-06-06 Stefan Liebler <stli@linux.vnet.ibm.com>
4648
4649 * dlfcn/tst-rec-dlopen.c: Include string.h.
4650
4651 2016-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
4652
4653 * manual/install.texi: Remove mention of --without-tls
4654 * INSTALL: Regenerate.
4655
4656 2016-06-05 Florian Weimer <fweimer@redhat.com>
4657
4658 * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
4659 Remove.
4660 (call_function, interposed_malloc_called): New variables.
4661 (malloc): New function.
4662 (do_test): Do not change malloc hooks. Initialize malloc. Set
4663 and clear call_function as needed.
4664
4665 2016-06-04 Andreas Schwab <schwab@linux-m68k.org>
4666
4667 * include/wchar.h (__wmemset): Use __typeof.
4668
4669 2016-06-03 Carlos O'Donell <carlos@redhat.com>
4670
4671 * include/wchar.h (__wmemset): Declare function without typeof.
4672
4673 2016-06-03 Joseph Myers <joseph@codesourcery.com>
4674
4675 [BZ #20205]
4676 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
4677 exponent when incrementing negative subnormal with low mantissa
4678 word zero.
4679 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
4680 Add another test.
4681
4682 2016-06-03 Florian Weimer <fweimer@redhat.com>
4683
4684 * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
4685 __wmemset instead of wmemset.
4686
4687 2016-06-02 Carlos O'Donell <carlos@redhat.com>
4688
4689 * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
4690 defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
4691 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
4692 __USE_KERNEL_IPV6_DEFS to 0.
4693 * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
4694 Update comment.
4695
4696 2016-06-01 Florian Weimer <fweimer@redhat.com>
4697
4698 [BZ #19861]
4699 Do not use IFUNC resolver with potentially unrelocated symbol.
4700 * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
4701 (DEFINE_FORK): Remove macro and inline definition.
4702 (fork_alias): Renamed from fork_ifunc.
4703 (__fork_alias): Renamed from __fork_ifunc.
4704
4705 2016-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
4706
4707 [BZ 19653]
4708 * inet/if_index.c (__protocol_available): Delete #if 0'd code.
4709 * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
4710
4711 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
4712
4713 * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
4714 include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
4715 i386-linux-gnu).
4716 * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
4717 Set to no.
4718 * sysdeps/mach/hurd/configure: Refresh.
4719
4720 2016-05-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4721
4722 [BZ #20178]
4723 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
4724 on failure instead of exit.
4725
4726 2016-05-30 Roland McGrath <roland@hack.frob.com>
4727
4728 [BZ #3629]
4729 * manual/string.texi (Copying Strings and Arrays): stpcpy is part
4730 of POSIX.1-2008.
4731
4732 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
4733
4734 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
4735 Use PLT entry for calling _hurd_self_sigstate.
4736
4737 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
4738
4739 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
4740 available logical processors with SMT level type sharing L2
4741 cache for Intel processors.
4742
4743 2016-05-27 Joseph Myers <joseph@codesourcery.com>
4744
4745 [BZ #20160]
4746 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
4747 argument to itself before returning the result.
4748 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
4749 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
4750 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
4751 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
4752 Likewise.
4753 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
4754 Likewise.
4755 * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
4756 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
4757 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
4758 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
4759 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
4760 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
4761
4762 [BZ #20160]
4763 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
4764 argument to itself before returning the result.
4765 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
4766 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
4767 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
4768 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
4769 Likewise.
4770 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
4771 Likewise.
4772 * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
4773 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
4774 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
4775 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
4776 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
4777 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
4778
4779 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4780
4781 * libm-test.inc: Replace usage of M_El with
4782 (lit_e): New macro.
4783
4784 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4785
4786 * libm-test.inc: Replace usage of M_PI_4l with
4787 (lit_pi_4_d): New macro.
4788
4789 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4790
4791 * libm-test.inc: Replace usage of M_PIl with
4792 (lit_pi): New macro.
4793
4794 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4795
4796 * libm-test.inc: Replace usage of M_PI2l with
4797 (lit_pi_2_d): New macro.
4798
4799 * math/test-double.h (LITM): New macro.
4800 * math/test-float.h (LITM): Likewise.
4801 * math/test-ldouble.h (LITM): Likewise.
4802
4803 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4804
4805 * libm-test.inc (M_PI_34l): Rename to
4806 (lit_pi_3_m_4_d): New Macro.
4807 (M_PI_34_LOG10El): Rename to
4808 (lit_pi_3_m_4_ln10_m_d): New Macro.
4809 (M_PI2_LOG10El): Rename to
4810 (lit_pi_2_ln10_m_d): New Macro.
4811 (M_PI4_LOG10El): Rename to
4812 (lit_pi_4_ln10_m_d): New Macro.
4813 (M_PI_LOG10El): Rename to
4814 (lit_pi_ln10_d): New Macro.
4815
4816 2016-05-27 Joseph Myers <joseph@codesourcery.com>
4817
4818 [BZ #20157]
4819 * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
4820 determine whether to negate low half if [_ARCH_PPCGR], and integer
4821 comparison otherwise.
4822 * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
4823 determine whether to negate low half.
4824
4825 * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
4826 (NO_TEST_INLINE_DOUBLE): Likewise.
4827 (TEST_COND_x86_64): Likewise.
4828 (TEST_COND_x86): Likewise.
4829 (M_PI_6l): Likewise.
4830
4831 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4832
4833 * math/libm-test.inc:
4834 (TEST_FLOAT): Change usage to TEST_COND_binary32.
4835 (TEST_DOUBLE): Change usage to TEST_COND_binary64.
4836 (TEST_LDOUBLE): Update usage to evaluate as true if
4837 the guarded tests match the property being tested.
4838 (LDBL_MAX_EXP): Change to MAX_EXP.
4839 (LDBL_MIN_EXP): Change to MIN_EXP.
4840 (LDBL_MANT_DIG): Change to MANT_DIG, except for
4841 nexttoward tests.
4842
4843 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4844
4845 * math/libm-test.inc:
4846 (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
4847 (TYPE_MIN): Likewise.
4848 (TYPE_TRUE_MIN): Likewise.
4849 (TYPE_MAX): Likewise.
4850 (MIN_EXP): Likewise.
4851 (MAX_EXP): Likewise.
4852 (MANT_DIG): Likewise.
4853
4854 (FSTR_MAX): New macro.
4855 (__CONCATX): Likewise.
4856 (QTYPE_STR): Likewise.
4857 (TEST_COND_binary32): Likewise.
4858 (TEST_COND_binary64): Likewise.
4859 (TEST_COND_binary128): Likewise.
4860 (TEST_COND_ibm128): Likewise.
4861 (TEST_COND_intel96): Likewise.
4862 (TEST_COND_m68k96): Likewise.
4863
4864 (TEST_COND_flt_32): Redefine as equivalent format test macro.
4865 (TEST_COND_dbl_64): Likewise.
4866 (TEST_COND_ldbl_96_intel): Likewise.
4867 (TEST_COND_ldbl_96_m68k): Likewise.
4868 (TEST_COND_ldbl_128): Likewise.
4869 (TEST_COND_ldbl_128ibm): Likewise.
4870
4871 (plus_zero): Redefine using LIT macro.
4872 (minus_zero): Likewise.
4873 (plus_infty): Redefine as (INF).
4874 (minux_infty): Redefine as (-INF).
4875 (max_value): Redefine as TYPE_MAX.
4876 (min_value): Redefine as TYPE_MIN.
4877 (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
4878
4879 (print_float): Refactor to use snprintf to convert FLOAT values
4880 to string. This brings it closer to dropin replacement of strtof
4881 for the TS 18661 defined types.
4882 (update_stats): Likewise.
4883 (print_complex_function_ulps): Likewise.
4884 (print_max_error): Likewise.
4885 (print_complex_max_error): Likewise.
4886 (check_float_internal): Likewise.
4887
4888 * math/test-float.h (PREFIX): New macro.
4889 (LIT): Likewise.
4890 (TYPE_STR): Likewise.
4891 (FTOSTR): Likewise.
4892
4893 * math/test-double.h (PREFIX): New macro.
4894 (LIT): Likewise.
4895 (TYPE_STR): Likewise.
4896 (FTOSTR): Likewise.
4897
4898 * math/test-ldouble.h (PREFIX): New macro.
4899 (LIT): Likewise.
4900 (TYPE_STR): Likewise.
4901 (FTOSTR): Likewise.
4902
4903 2016-05-27 Joseph Myers <joseph@codesourcery.com>
4904
4905 [BZ #20156]
4906 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
4907 to itself when zero or not finite.
4908 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
4909 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
4910 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
4911 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
4912
4913 2016-05-26 Joseph Myers <joseph@codesourcery.com>
4914
4915 [BZ #20153]
4916 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
4917 x * x + x for infinities and NaNs.
4918
4919 [BZ #20151]
4920 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
4921 argument to itself before returning result.
4922 (__ieee754_y0l): Likewise.
4923 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
4924 (__ieee754_y1l).
4925
4926 * math/libm-test.inc (acosh_test_data): Add sNaN tests.
4927 (atan_test_data): Likewise.
4928 (ceil_test_data): Likewise.
4929 (cos_test_data): Likewise.
4930 (cosh_test_data): Likewise.
4931 (erf_test_data): Likewise.
4932 (exp2_test_data): Likewise.
4933 (fabs_test_data): Likewise.
4934 (floor_test_data): Likewise.
4935 (ilogb_test_data): Likewise.
4936 (j0_test_data): Likewise.
4937 (j1_test_data): Likewise.
4938 (jn_test_data): Likewise.
4939 (lgamma_test_data): Likewise.
4940 (lrint_test_data): Likewise.
4941 (llrint_test_data): Likewise.
4942 (logb_test_data): Likewise.
4943 (lround_test_data): Likewise.
4944 (llround_test_data): Likewise.
4945 (nearbyint_test_data): Likewise.
4946 (rint_test_data): Likewise.
4947 (round_test_data): Likewise.
4948 (sin_test_data): Likewise.
4949 (sincos_test_data): Likewise.
4950 (sinh_test_data): Likewise.
4951 (sqrt_test_data): Likewise.
4952 (tan_test_data): Likewise.
4953 (tanh_test_data): Likewise.
4954 (tgamma_test_data): Likewise.
4955 (trunc_test_data): Likewise.
4956 (y0_test_data): Likewise.
4957 (y1_test_data): Likewise.
4958 (yn_test_data): Likewise.
4959
4960 * math/libm-test.inc: Update comment about NaN testing.
4961 (TEST_SNAN): New macro.
4962 (snan_value): Likewise.
4963 (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
4964 (fpclassify_test_data): Add sNaN tests.
4965 (isfinite_test_data): Likewise.
4966 (isinf_test_data): Likewise.
4967 (isnan_test_data): Likewise.
4968 (isnormal_test_data): Likewise.
4969 (issignaling_test_data): Likewise.
4970 (signbit_test_data): Likewise.
4971 * math/gen-libm-test.pl (%beautify): Add snan_value.
4972 (show_exceptions): Add argument $test_snan.
4973 (parse_args): Handle snan_value as non-finite. Update call to
4974 show_exceptions.
4975 * math/Makefile (libm-test-no-inline-cflags): Add
4976 -fsignaling-nans.
4977
4978 2016-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4979
4980 * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
4981 (CFLAGS-oldsendmsg.c): Add rule.
4982 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
4983 Correct recvmsg symbol name.
4984 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
4985 Likewise.
4986
4987 2016-05-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4988
4989 * sysdeps/unix/sysv/linux/Makefile
4990 [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
4991 oldsendmmsg.
4992 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
4993 sendmmsg.
4994 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4995 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4996 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4997 * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4999 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5000 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5001 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
5002 Likewise.
5003 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5004 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
5005 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
5006 * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
5007 iovlen and controllen fields to adjust to POSIX specification.
5008 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
5009
5010 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
5011 and change to correct expected type.
5012 (msghdr.msg_controllen): Likewise.
5013 (cmsghdr.cmsg_len): Likewise.
5014 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
5015 expected POSIX assumption about the size.
5016 (msghdr.msg_controllen): Likewise.
5017 (msghdr.__glibc_reserved1): Likewise.
5018 (msghdr.__glibc_reserved2): Likewise.
5019 (cmsghdr.cmsg_len): Likewise.
5020 (cmsghdr.__glibc_reserved1): Likewise.
5021 * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
5022 Add ptw-oldrecvmsg and ptw-oldsendmsg.
5023 (CFLAGS-sendmsg.c): Remove rule.
5024 (CFLAGS-recvmsg.c): Likewise.
5025 (CFLAGS-oldsendmsg.c): Add rule.
5026 (CFLAGS-oldrecvmsg.c): Likewise.
5027 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
5028 recvmsg and sendmsg.
5029 * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
5030 Likewise.
5031 * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
5032 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
5033 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
5034 * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
5035 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
5036 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
5037 Likewise.
5038 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
5039 Likewise.
5040 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
5041 Likewise.
5042 * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
5043 Likewise.
5044 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
5045 Likewise.
5046 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
5047 Likewise.
5048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
5049 (GLIBC_2.24): Likewise.
5050 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
5051 Likewise.
5052 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
5053 Likewise.
5054 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
5055 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
5056 Likewise.
5057 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
5058 Likewise.
5059 ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
5060 Likewise.
5061 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
5062 (GLIBC_2.24): Likewise.
5063 ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
5064 Likewise.
5065 * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
5066 Likewise.
5067 * sysdeps/unix/sysv/linux/Makefile
5068 [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
5069 (CFLAGS-sendmsg.c): Add rule.
5070 (CFLAGS-recvmsg.c): Likewise.
5071 (CFLAGS-oldsendmsg.c): Likewise.
5072 (CFLAGS-oldrecvmsg.c): Likewise.
5073 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
5074 initialization.
5075 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
5076 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
5077 * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
5078 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
5079 * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
5080 iovlen and controllen fields to adjust to POSIX specification.
5081 * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
5082 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
5083 added recvmsg and sendmsg.
5084 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5085 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5086 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5087 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5088 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5089 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5090 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5091 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5092 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
5093 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5094 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5095 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
5096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5097 Likewise.
5098 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
5099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
5100 * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
5101 Likewise.
5102 Likewise.
5103 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5104 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5105 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5106 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5107 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5108 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5109 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
5110 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5111 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
5112 Likewise.
5113 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5114 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5115
5116 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
5117 from auto-generation.
5118 (sendmsg): Likewise.
5119 * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
5120 (sendmsg): Likewise.
5121 * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
5122 (sendmsg): Likewise.
5123 * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
5124 (sendmsg): Likewise.
5125 * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
5126 (sendmsg): Likewise.
5127 * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
5128 (sendmsg): Likewise.
5129 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
5130 Likewise.
5131 (sendmsg): Likewise.
5132 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
5133 (sendmsg): Likewise.
5134 * sysdeps/unix/sysv/linux/i386/kernel-features.h
5135 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5136 Remove.
5137 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5138 Likewise.
5139 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5140 Undefine.
5141 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5142 Likewise.
5143 * sysdeps/unix/sysv/linux/kernel-features.h
5144 (__ASSUME_SENDMSG_SYSCALL): Define.
5145 (__ASSUME_RECVMSG_SYSCALL): Likewise.
5146 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5147 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5148 Remove.
5149 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5150 Likewise.
5151 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5152 Undefine.
5153 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5154 Likewise.
5155 * sysdeps/unix/sysv/linux/s390/kernel-features.h
5156 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5157 Remove.
5158 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5159 Likewise.
5160 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5161 Undefine.
5162 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5163 Likewise.
5164 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5165 (__ASSUME_SENDMSG_SYSCALL): Undefine.
5166 (__ASSUME_RECVMSG_SYSCALL): Likewise.
5167 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5168 (__ASSUME_SENDMSG_SYSCALL): Likewise.
5169 (__ASSUME_RECVMSG_SYSCALL): Likewise.
5170 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5171 (__ASSUME_SENDMSG_SYSCALL): Likewise.
5172 (__ASSUME_RECVMSG_SYSCALL): Likewise.
5173
5174 2016-05-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5175
5176 * stdlib/gen-tst-strtod-round.c: Add backslash to
5177 compile command in comment.
5178 (printfp): Remove the literal suffix, and define an infinite
5179 value as INF to avoid expansion clash with INFINITY.
5180 (round_str): Remove the literal suffix.
5181 (round_for_all): Likewise, remove the now duplicate ldbl-64
5182 entry, and remove some magic constants.
5183
5184 * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
5185 duplication. Remove duplicate dbl-64 and ldbl-64 entries.
5186 (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
5187 (_CONCAT): New macro.
5188 (CONCAT): Likewise.
5189 (CHOOSE_ld): Likewise.
5190 (CHOOSE_f): Likewise.
5191 (CHOOSE_d): Likewise.
5192 (FTYPE_MEMBER): Likewise.
5193 (BOOL_MEMBER): Likewise.
5194 (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
5195 (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
5196 (_XNTRY): Likewise.
5197 (XNTRY): Likewise.
5198 (_ENTRY): Likewise.
5199 (ENTRY): Likewise.
5200 (test_exactness): Generate members via macro.
5201 (test_results): Likewise.
5202 (test): Update members.
5203 (TEST): Redefine using new macros.
5204 (INF): New macro.
5205 (fetestmodes): New structure.
5206 (do_test): Refactor to be type generic.
5207 (test_in_one_mode): Refactor duplicate code into
5208 (GEN_ONE_TEST): New macro.
5209
5210 * stdlib/tst-strtod-round-data.h: Regenerate.
5211
5212 * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
5213 Extend to pass additional arbitrary parameters to
5214 generators.
5215
5216 2016-05-25 Joseph Myers <joseph@codesourcery.com>
5217
5218 [BZ #15479]
5219 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
5220 floating-point state after first floating-point operation on
5221 input. Restore full floating-point state instead of just rounding
5222 mode.
5223 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
5224 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
5225 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
5226 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
5227 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
5228
5229 [BZ #15479]
5230 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
5231 floating-point state after first floating-point operation on
5232 input. Restore full floating-point state instead of just rounding
5233 mode.
5234 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
5235 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
5236 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
5237 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
5238 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
5239
5240 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
5241
5242 [BZ #19727]
5243 * iconvdata/utf-16.c (BODY): Report an error if first word is not a
5244 valid high surrogate.
5245 * iconvdata/utf-32.c (BODY): Report an error if the value is in range
5246 of an utf16 surrogate.
5247 * iconv/gconv_simple.c (BODY): Likewise.
5248 * iconvdata/bug-iconv12.c: New file.
5249 * iconvdata/Makefile (tests): Add bug-iconv12.
5250
5251 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
5252
5253 [BZ #19726]
5254 * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
5255 outptrp in case of an illegal input.
5256 * iconv/tst-iconv6.c: New file.
5257 * iconv/Makefile (tests): Add tst-iconv6.
5258
5259 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
5260
5261 * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
5262 an error in case of a value in range of an utf16 low surrogate.
5263
5264 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
5265
5266 * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
5267 an error in case of a value in range of an utf16 low surrogate.
5268
5269 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
5270
5271 * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
5272 Move to ...
5273 * sysdeps/s390/Makefile: ... here.
5274 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
5275 * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
5276 (BRANCH_ON_COUNT): New define.
5277 (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
5278 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
5279 * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
5280 run on s390-32, too.
5281 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
5282 * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
5283 run on s390-32, too.
5284 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
5285 * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
5286 run on s390-32, too.
5287
5288 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
5289
5290 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
5291 etf3eh or new vector loop-variant.
5292
5293 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
5294
5295 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
5296 etf3eh or new vector loop-variant.
5297
5298 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
5299
5300 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
5301 or new vector loop-variant.
5302
5303 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
5304
5305 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
5306 Rename to TR_LOOP and usage of tr instead of troo instruction.
5307
5308 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
5309
5310 * sysdeps/s390/multiarch/gconv_simple.c: New File.
5311 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
5312
5313 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
5314
5315 * sysdeps/s390/multiarch/8bit-generic.c: New File.
5316 * sysdeps/s390/multiarch/gen-8bit.sh: New File.
5317 * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
5318 New override define.
5319 * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
5320
5321 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
5322
5323 * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
5324 * sysdeps/s390/configure.ac: Add test for S390 vector register
5325 support in gcc.
5326 * sysdeps/s390/configure: Regenerated.
5327
5328 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
5329
5330 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
5331 Install file from $(objpfx)gconv-modules.
5332 ($(objpfx)gconv-modules): Concatenate architecture specific file
5333 in variable sysdeps-gconv-modules and gconv-modules in src dir.
5334 * sysdeps/s390/gconv-modules: New file.
5335 * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
5336 Deleted.
5337 ($(objpfx)gconv-modules-s390): Deleted.
5338 (sysdeps-gconv-modules): New variable.
5339
5340 2016-05-24 Joseph Myers <joseph@codesourcery.com>
5341
5342 [BZ #15479]
5343 * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
5344 of immediate operand to rounding instruction.
5345 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
5346 Likewise.
5347 * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
5348 Likewise.
5349 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
5350 Likewise.
5351
5352 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5353
5354 * math/libm-test.inc (MIN_EXP): Directly define as
5355 (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
5356
5357 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5358
5359 * math/libm-test.inc (MANT_DIG): Directly define as
5360 (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
5361
5362 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5363
5364 * stdlib/gen-tst-strtod-round.c (main):
5365 Change usage to more closely match the generated
5366 output. Add usage and compilation instructions.
5367 (string_to_fp): Add and use FILE* parameter as
5368 output target.
5369 (print_fp): Likewise.
5370 (round_str): Likewise.
5371 (round_for_all): Likewise.
5372 * stdlib/tst-strtod-round.c (tests): Move into
5373 * stdlib/tst-strtod-round-data.h: New file.
5374
5375 2016-05-24 Joseph Myers <joseph@codesourcery.com>
5376
5377 [BZ #15479]
5378 * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
5379 (__round): Do not force "inexact" exception.
5380 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
5381 variable.
5382 (__round): Do not force "inexact" exception.
5383 * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
5384 (__roundf): Do not force "inexact" exception.
5385 * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
5386 (__roundl): Do not force "inexact" exception.
5387 * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
5388 (__roundl): Do not force "inexact" exception.
5389 * math/libm-test.inc (round_test_data): Do not allow spurious
5390 "inexact" exceptions.
5391
5392 [BZ #15479]
5393 * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
5394 exception in comment.
5395 (huge): Remove variable.
5396 (__floor): Do not force "inexact" exception.
5397 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
5398 "inexact" exception in comment.
5399 (huge): Remove variable.
5400 (__floor): Do not force "inexact" exception.
5401 * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
5402 exception in comment.
5403 (huge): Remove variable.
5404 (__floorf): Do not force "inexact" exception.
5405 * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
5406 exception in comment.
5407 (huge): Remove variable.
5408 (__floorl): Do not force "inexact" exception.
5409
5410 [BZ #15479]
5411 * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
5412 exception in comment.
5413 (huge): Remove variable.
5414 (__ceil): Do not force "inexact" exception.
5415 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
5416 "inexact" exception in comment.
5417 (huge): Remove variable.
5418 (__ceil): Do not force "inexact" exception.
5419 * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
5420 (__ceilf): Do not force "inexact" exception.
5421 * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
5422 exception in comment.
5423 (huge): Remove variable.
5424 (__ceill): Do not force "inexact" exception.
5425
5426 2016-05-24 H.J. Lu <hongjiu.lu@intel.com>
5427
5428 * config.h.in (BIND_NOW): New.
5429 * configure.ac (BIND_NOW): New. Defined for --enable-bind-now.
5430 * configure: Regenerated.
5431 * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
5432 indirect branch via the GOT slot.
5433
5434 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
5435
5436 [BZ #19765]
5437 * sysdeps/s390/mempcpy.S: New File.
5438 * sysdeps/s390/multiarch/mempcpy.c: Likewise.
5439 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
5440 * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5441 Add mempcpy variants.
5442 * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
5443 (memcpy): Adjust to be usable from mempcpy entry point.
5444 (__memcpy_mvcle): Likewise.
5445 * sysdeps/s390/s390-64/memcpy.S: Likewise.
5446 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
5447 ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
5448 (__memcpy_z196): Adjust to be usable from mempcpy entry point.
5449 (__memcpy_z10): Likewise.
5450 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
5451
5452 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
5453
5454 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
5455 Remove __GI_ symbol.
5456 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
5457 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
5458 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
5459 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
5460 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
5461 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
5462
5463 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
5464
5465 * sysdeps/s390/s390-64/memcpy.S (memcpy):
5466 Use cghi instead of chi to compare 64bit value.
5467
5468 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
5469
5470 * sysdeps/s390/s390-32/memcpy.S (memcpy):
5471 Jump to 1MB check before executing mvc-loop.
5472
5473 2016-05-24 Florian Weimer <fweimer@redhat.com>
5474
5475 [BZ #6527]
5476 * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
5477 unconditionally.
5478 * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
5479
5480 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5481
5482 * stdlib/tst-strtod6.c (do_test): Use new type generic
5483 invocation of the test function.
5484 (test): Refactor into ...
5485 (TEST_STRTOD): New macro base function.
5486
5487 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5488
5489 * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
5490 (TEST_STRTOD): New macro.
5491 (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
5492
5493 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5494
5495 * stdlib/tst-strtod6.c (do_test): Use new type generic
5496 invocation of the test function.
5497 (test): Refactor into ...
5498 (TEST_STRTOD): New macro base function.
5499
5500 2016-05-23 Florian Weimer <fweimer@redhat.com>
5501
5502 CVE-2016-4429
5503 [BZ #20112]
5504 * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
5505 payload.
5506
5507 2016-05-23 Florian Weimer <fweimer@redhat.com>
5508
5509 [BZ #20111]
5510 * bits/sockaddr.h (_SS_SIZE): Define.
5511 * bits/socket.h (_SS_SIZE): Remove.
5512 (_SS_PADSIZE): Adjust to account for all padding.
5513 (struct sockaddr_storage): Update comment. Avoid implicit
5514 padding.
5515 * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
5516 (_SS_PADSIZE): Adjust to account for all padding.
5517 (struct sockaddr_storage): Update comment. Avoid implicit
5518 padding.
5519 * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
5520 * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
5521 (_SS_PADSIZE): Adjust to account for all padding.
5522 (struct sockaddr_storage): Update comment. Avoid implicit
5523 padding.
5524 * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
5525 __SS_SIZE is 126 in this version.
5526 * inet/tst-sockaddr.c: New file.
5527 * inet/Makefile (tests): Add tst-sockaddr.c
5528 (tst-sockaddr.c): Compile with non-strict aliasing.
5529
5530 2016-05-23 Joseph Myers <joseph@codesourcery.com>
5531
5532 * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
5533 [XPG3 || XPG4].
5534 (NL_ARGMAX): Also expect for [XPG3].
5535 (NL_LANGMAX): Likewise.
5536 (NL_MSGMAX): Likewise.
5537 (NL_NMAX): Likewise.
5538 (NL_SETMAX): Likewise.
5539 (NL_TEXTMAX): Likewise.
5540 (NZERO): Likewise.
5541 (TMP_MAX): Likewise.
5542 * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
5543 variable.
5544
5545 * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
5546 (PF_MAX): Update value.
5547 (AF_KCM): New macro.
5548 (SOL_NETBEUI): Likewise.
5549 (SOL_LLC): Likewise.
5550 (SOL_DCCP): Likewise.
5551 (SOL_NETLINK): Likewise.
5552 (SOL_TIPC): Likewise.
5553 (SOL_RXRPC): Likewise.
5554 (SOL_PPPOL2TP): Likewise.
5555 (SOL_BLUETOOTH): Likewise.
5556 (SOL_PNPIPE): Likewise.
5557 (SOL_RDS): Likewise.
5558 (SOL_IUCV): Likewise.
5559 (SOL_CAIF): Likewise.
5560 (SOL_ALG): Likewise.
5561 (SOL_NFC): Likewise.
5562 (SOL_KCM): Likewise.
5563 (MSG_BATCH): New enum value and macro.
5564
5565 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
5566
5567 [BZ #18185]
5568 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
5569 sharing L2 cache to 2 for Knights Landing.
5570
5571 2016-05-20 Joseph Myers <joseph@codesourcery.com>
5572
5573 * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
5574 (FTW_DP): Do not expect for [XPG3 || XPG4].
5575 (FTW_SL): Do not expect for [XPG3].
5576 (FTW_SLN): Likewise.
5577 (FTW_PHYS): Likewise.
5578 (FTW_MOUNT): Likewise.
5579 (FTW_DEPTH): Likewise.
5580 (FTW_CHDIR): Likewise.
5581 (nftw): Likewise.
5582 * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
5583 variable.
5584
5585 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
5586
5587 * manual/errno.texi: Fix various typos & grammar errors.
5588
5589 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
5590
5591 * manual/intro.texi: Fix duplicated typo.
5592
5593 2016-05-19 Joseph Myers <joseph@codesourcery.com>
5594
5595 [BZ #13304]
5596 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
5597 <float.h>, <math_private.h> and <stdlib.h>.
5598 (add_split): New function.
5599 (mul_split): Likewise.
5600 (ext_val): New typedef.
5601 (store_ext_val): New function.
5602 (mul_ext_val): New function.
5603 (compare): New function.
5604 (add_split_ext): New function.
5605 (__fmal): After checking for Inf, NaN and zero, compute result as
5606 an exact sum of scaled double values in round-to-nearest before
5607 adding those up and adjusting for other rounding modes.
5608 * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
5609 tests of fma.
5610 * math/auto-libm-test-out: Regenerated.
5611
5612 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
5613
5614 [BZ #20119]
5615 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
5616 processor level type mask for CPUID with EAX == 11.
5617
5618 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
5619
5620 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
5621 logical threads if the HTT bit is 0.
5622 * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
5623 (index_cpu_HTT): Likewise.
5624 (reg_HTT): Likewise.
5625
5626 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
5627
5628 [BZ #20115]
5629 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
5630 Remove alignments on jump targets.
5631
5632 2016-05-19 Joseph Myers <joseph@codesourcery.com>
5633
5634 * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
5635 (getpwent): Likewise.
5636 (setpwent): Likewise.
5637 * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
5638 variable.
5639
5640 * conform/data/search.h-data (insque): Do not expect for [XPG3].
5641 (remque): Likewise.
5642 * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
5643 variable.
5644
5645 2016-05-18 Joseph Myers <joseph@codesourcery.com>
5646
5647 * math/libm-test.inc: Update comment not to refer to signs of NaNs
5648 not being tested.
5649
5650 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
5651
5652 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
5653 (__condvar_cleanup2): Remove JUMPTARGET from _Unwind_Resume
5654 call.
5655 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
5656 (__condvar_cleanup1): Likewise.
5657
5658 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
5659
5660 * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
5661 New
5662 (__pthread_unwind): Renamed to ...
5663 (PTHREAD_UNWIND): This.
5664 (__pthread_enable_asynccancel): Replace
5665 JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
5666
5667 2016-05-18 Joseph Myers <joseph@codesourcery.com>
5668
5669 * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
5670 (CLONE_NEWCGROUP): New macro.
5671
5672 * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
5673 (Q_GETNEXTQUOTA): New macro.
5674
5675 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
5676
5677 [BZ #19907]
5678 * benchtests/bench-memcpy.c (do_one_test): Clear the destination
5679 buffer updated by the previous run.
5680 * string/test-memcpy.c (do_one_test): Likewise.
5681 * benchtests/bench-memmove.c (do_one_test): Add a comment.
5682 * string/test-memmove.c (do_one_test): Likewise.
5683
5684 2016-05-17 Joseph Myers <joseph@codesourcery.com>
5685
5686 [BZ #20094]
5687 * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
5688 not [__USE_XOPEN].
5689 (unlockpt): Likewise.
5690 (ptsname): Likewise.
5691 * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
5692 variable.
5693
5694 [BZ #20076]
5695 * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
5696 instead of [__USE_UNIX98].
5697 (S_ISSOCK): Likewise.
5698 * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
5699 variable.
5700
5701 [BZ #20074]
5702 * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
5703 [__USE_POSIX].
5704 * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
5705 variable.
5706
5707 [BZ #20051]
5708 * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
5709 (ttyslot): Do not declare.
5710 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
5711 (ttyslot): New prototype.
5712 * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
5713 variable.
5714 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
5715
5716 2016-05-17 Stefan Liebler <stli@linux.vnet.ibm.com>
5717
5718 * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
5719
5720 2016-05-13 Florian Weimer <fweimer@redhat.com>
5721
5722 Fix race condition in tst-mallocfork2, use fewer resources.
5723 * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
5724 to current process group.
5725 (signal_sender): Yield in the non-sleeping case.
5726
5727 2016-05-13 Joseph Myers <joseph@codesourcery.com>
5728
5729 * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
5730 (ecvt): Likewise.
5731 (fcvt): Likewise.
5732 (gcvt): Likewise.
5733 (getsubopt): Likewise.
5734 (grantpt): Likewise.
5735 (initstate): Likewise.
5736 (l64a): Likewise.
5737 (mktemp): Likewise.
5738 (mkstemp): Likewise.
5739 (ptsname): Likewise.
5740 (random): Likewise.
5741 (realpath): Likewise.
5742 (setstate): Likewise.
5743 (srandom): Likewise.
5744 (ttyslot): Likewise.
5745 (unlockpt): Likewise.
5746 (valloc): Likewise.
5747
5748 * conform/data/string.h-data (strdup): Do not expect for [XPG3].
5749 * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
5750 variable.
5751
5752 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
5753
5754 [BZ #20072]
5755 * sysdeps/i386/dl-machine.h (dl_platform_init): Call
5756 init_cpu_features only if SHARED is defined.
5757 * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
5758
5759 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
5760
5761 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
5762 non-inclusive caches on Intel processors.
5763
5764 2016-05-13 Florian Weimer <fweimer@redhat.com>
5765
5766 * malloc/malloc.c (dumped_main_arena_start)
5767 (dumped_main_arena_end): New variables.
5768 (DUMPED_MAIN_ARENA_CHUNK): New macro.
5769 (do_check_chunk): Skip dumped fake mmapped chunks.
5770 (munmap_chunk): Likewise.
5771 (__libc_free): Do not adjust statistics for fake mmapped chunks.
5772 (__libc_realloc): Adjust hardening check. Always copy dumped fake
5773 mmapped chunks.
5774 * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
5775 Mark dumped chunks as using mmap. Update dumped_main_arena_start
5776 and dumped_main_arena_end to cover the dumped heap.
5777
5778 2016-05-12 Joseph Myers <joseph@codesourcery.com>
5779
5780 * conform/data/time.h-data (getdate_err): Do not expect for
5781 [XPG3].
5782 (getdate): Likewise.
5783 * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
5784 variable.
5785
5786 * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
5787 (F_ULOCK): Likewise.
5788 (F_TEST): Likewise.
5789 (F_TLOCK): Likewise.
5790 (useconds_t): Likewise.
5791 (intptr_t): Do not expect for [XPG3] or [XPG4].
5792 (brk): Do not expect for [XPG3]
5793 (fchown): Likewise.
5794 (fchdir): Likewise.
5795 (ftruncate): Likewise.
5796 (getdtablesize): Likewise.
5797 (gethostid): Likewise.
5798 (getpagesize): Likewise.
5799 (getpgid): Likewise.
5800 (getsid): Likewise.
5801 (getwd): Likewise.
5802 (lchown): Likewise.
5803 (lockf): Likewise.
5804 (readlink): Likewise.
5805 (sbrk): Likewise.
5806 (setpgrp): Likewise.
5807 (setregid): Likewise.
5808 (setreuid): Likewise.
5809 (symlink): Likewise.
5810 (sync): Likewise.
5811 (truncate): Likewise.
5812 (ualarm): Likewise.
5813 (usleep): Likewise.
5814 (vfork): Likewise.
5815 * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
5816 variable.
5817
5818 [BZ #20054]
5819 * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
5820 not [__USE_UNIX98].
5821 * conform/data/unistd.h-data (gethostname): Do not expect for
5822 [XPG3].
5823
5824 * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
5825 [!POSIX] (S_IFBLK): Likewise.
5826 [!POSIX] (S_IFCHR): Likewise.
5827 [!POSIX] (S_IFIFO): Likewise.
5828 [!POSIX] (S_IFREG): Likewise.
5829 [!POSIX] (S_IFDIR): Likewise.
5830 [!POSIX] (S_IFLNK): Likewise.
5831 [!POSIX] (S_IFSOCK): Likewise.
5832 * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
5833 variable.
5834 (test-xfail-XPG4/fcntl.h/conform): Likewise.
5835
5836 2016-05-12 Wilco Dijkstra <wdijkstr@arm.com>
5837
5838 * sysdeps/aarch64/memset.S (__memset):
5839 Rewrite of optimized memset.
5840
5841 2016-05-12 Florian Weimer <fweimer@redhat.com>
5842
5843 [BZ #19703]
5844 Partially async-signal-safe fork for single-threaded processes.
5845 * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
5846 variable. Do not acquire and reset/release malloc and libio locks
5847 in single-threaded processes.
5848 * malloc/tst-mallocfork2.c: New file.
5849 * malloc/Makefile (tests): Add it.
5850
5851 2016-05-12 Florian Weimer <fweimer@redhat.com>
5852
5853 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
5854 argument. Use scratch buffer instead of extend_alloca.
5855 (gethosts): Use scratch buffer instead of extend_alloca.
5856 (gaih_inet): Add tmpbuf argument. Use scratch buffer instead of
5857 extend_alloca.
5858 (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
5859
5860 2016-05-11 Joseph Myers <joseph@codesourcery.com>
5861
5862 [BZ #20055]
5863 * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
5864 instead of [__USE_UNIX98].
5865 (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
5866 [__USE_UNIX98].
5867 * conform/data/termios.h-data (tcgetsid): Do not expect for
5868 [XPG3].
5869 * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
5870 variable.
5871 (test-xfail-XPG4/termios.h/conform): Likewise.
5872
5873 2016-05-11 Florian Weimer <fweimer@redhat.com>
5874
5875 Do not use mcheck in localedef.
5876 * locale/programs/localedef.c (turn_on_mcheck)
5877 (__malloc_initialize_hook): Remove.
5878
5879 2016-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
5880
5881 * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
5882 * sysdeps/s390/s390-64/Makefile: Likewise.
5883
5884 2016-05-11 H.J. Lu <hongjiu.lu@intel.com>
5885
5886 * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
5887 Remove ifunc-defines.sym.
5888 * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
5889 Likewise.
5890 * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
5891 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
5892 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
5893 * sysdeps/x86/Makefile (gen-as-const-headers): Remove
5894 rtld-global-offsets.sym.
5895 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
5896 * sysdeps/x86/cpu-features-offsets.sym: This.
5897 * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
5898 instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
5899
5900 2016-05-10 Joseph Myers <joseph@codesourcery.com>
5901
5902 [BZ #20073]
5903 * io/sys/stat.h (fchmod): Declare for
5904 [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
5905 * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
5906 variable.
5907
5908 * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
5909 [XPG3] (S_IFSOCK): Likewise.
5910 [XPG3] (S_ISVTX): Likewise.
5911 [XPG3] (S_ISLNK): Likewise.
5912 [XPG3] (S_ISSOCK): Likewise.
5913 [XPG3] (fchmod): Likewise.
5914 [XPG3] (lstat): Likewise.
5915 [XPG3] (mknod): Likewise.
5916
5917 * conform/data/sys/stat.h-data (st_blksize): Do not expect for
5918 [XPG3]. Expect type long and XFAIL for [XPG4].
5919 (st_blocks): Likewise.
5920
5921 [BZ #20044]
5922 * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
5923 (pthread_atfork): New prototype.
5924 * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
5925 variable.
5926
5927 [BZ #20043]
5928 * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
5929 prototype.
5930
5931 2016-05-10 Florian Weimer <fweimer@redhat.com>
5932
5933 [BZ #20017]
5934 * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
5935 gmtime.
5936
5937 2016-05-10 Florian Weimer <fweimer@redhat.com>
5938
5939 [BZ #19994]
5940 * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
5941 flag in _res.options.
5942
5943 2016-05-09 Joseph Myers <joseph@codesourcery.com>
5944
5945 * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
5946 [XPG3 || XPG4].
5947 (blksize_t): Likewise.
5948 (clockid_t): Likewise.
5949 * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
5950 variable.
5951 (test-xfail-XPG4/sys/types.h/conform): Likewise.
5952
5953 2016-05-09 Stefan Liebler <stli@linux.vnet.ibm.com>
5954
5955 * sysdeps/unix/sysv/linux/s390/init-first.c:
5956 Add VDSO_SYMBOL(getcpu).
5957 (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
5958 * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
5959 Add VDSO_SYMBOL(getcpu).
5960 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
5961 New define HAVE_GETCPU_VSYSCALL.
5962 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5963
5964 2016-05-08 H.J. Lu <hongjiu.lu@intel.com>
5965
5966 * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
5967 instead of <sysdeps/x86_64/cacheinfo.c>.
5968 * sysdeps/x86_64/cacheinfo.c: Moved to ...
5969 * sysdeps/x86/cacheinfo.c: Here.
5970
5971 2016-05-04 Florian Weimer <fweimer@redhat.com>
5972
5973 * malloc/malloc-internal.h: Adjust header file guard.
5974
5975 2016-05-04 Florian Weimer <fweimer@redhat.com>
5976
5977 [BZ #19787]
5978 * inet/getnameinfo.c (check_sprintf_result): New function.
5979 (CHECKED_SNPRINTF): New macro.
5980 (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
5981 to the host buffer.
5982 (gni_host_local): Use checked_copy to copy the host name.
5983 (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
5984 (gni_serv_local): Use checked_copy to copy the service name.
5985 (getnameinfo): Remove unnecessary truncation of result buffers.
5986
5987 2016-05-04 Florian Weimer <fweimer@redhat.com>
5988
5989 * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
5990 in case of inet_ntop failure.
5991
5992 2016-05-04 Florian Weimer <fweimer@redhat.com>
5993
5994 * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
5995 avoid long lines.
5996 (gni_host_inet_numeric): Likewise. Reduce scope of local
5997 variables.
5998 (gni_host_inet, gni_host_local): Add comment.
5999 (gni_host): Add comment. Use temporary to avoid long lines.
6000
6001 2016-05-04 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6002
6003 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
6004 registers specifiers where general purpose registers specifiers should
6005 have been used.
6006
6007 2016-05-04 Florian Weimer <fweimer@redhat.com>
6008
6009 [BZ #19779]
6010 CVE-2016-1234
6011 Avoid copying names of directory entries.
6012 * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
6013 (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
6014 (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
6015 (struct readdir_result): New type.
6016 (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
6017 (GL_READDIR): New macros.
6018 (readdir_result_might_be_symlink, readdir_result_might_be_dir)
6019 (convert_dirent, convert_dirent64): New functions.
6020 (glob_in_dir): Use struct readdir_result. Call convert_dirent or
6021 convert_dirent64. Adjust references to the readdir result.
6022 * sysdeps/unix/sysv/linux/i386/glob64.c:
6023 (convert_dirent, GL_READDIR): Redefine for second file inclusion.
6024 * posix/bug-glob2.c (LONG_NAME): Define.
6025 (filesystem): Add LONG_NAME.
6026 (my_DIR): Increase the size of room_for_dirent.
6027
6028 2016-05-03 Joseph Myers <joseph@codesourcery.com>
6029
6030 [BZ #20041]
6031 * misc/sys/select.h (__need_timespec): Only define if
6032 [__USE_XOPEN2K].
6033 * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
6034 variable.
6035 (test-xfail-XPG4/utmpx.h/conform): Likewise.
6036 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
6037 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
6038
6039 2016-05-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6040 Segher Boessenkool <segher@gcc.gnu.org>
6041
6042 [BZ #20004]
6043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
6044 (__novec_swapcontext): Add missing load.
6045
6046 2016-05-02 Joseph Myers <joseph@codesourcery.com>
6047
6048 [BZ #20023]
6049 * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
6050 <time.h>.
6051 * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
6052 variable.
6053 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
6054
6055 2016-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6056
6057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
6058 flags CLONE_VM compare.
6059
6060 2016-05-02 Florian Weimer <fweimer@redhat.com>
6061
6062 [BZ #20031]
6063 * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
6064 completely empty.
6065
6066 2016-05-02 Florian Weimer <fweimer@redhat.com>
6067
6068 [BZ #19573]
6069 * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
6070 * hesiod/nss_hesiod/hesiod-init.c: Remove file.
6071 * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
6072 * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
6073 (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
6074 (hesiod_free_list): Mark as hidden.
6075 * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
6076 res_set, res_get.
6077 * hesiod/hesiod.c: Remove unnecessary forward declarations.
6078 (init, __hesiod_res_get, __hesiod_res_set): Remove.
6079 (hesiod_init): Remove obsolete res_ninit call.
6080 (hesiod_end): Do not free resolver state. Do not invoke callback.
6081 (hesiod_bind): Do not call init.
6082 (get_txt_records): Use res_mkquery, res_send instead of
6083 res_nmkquery, res_nsend.
6084 * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
6085 instead of _nss_hesiod_init.
6086 (_nss_hesiod_initgroups_dyn): Likewise.
6087 * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
6088 * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
6089 * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
6090
6091 2016-05-02 Florian Weimer <fweimer@redhat.com>
6092
6093 * hesiod/hesiod_p.h (DEF_RHS): Remove.
6094 * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
6095
6096 2016-05-02 Florian Weimer <fweimer@redhat.com>
6097
6098 * hesiod/hesiod.h: Remove RCS keyword.
6099 * hesiod/hesiod_p.h: Likewise.
6100
6101 * hesiod/hesiod.c: Likewise.
6102
6103 2016-05-01 Arnas Udovičius <arnas.udovicius@gmail.com>
6104
6105 [BZ #12450]
6106 * locale/iso-639.def: Add Samogitian/sgs.
6107
6108 2016-04-30 Andreas Schwab <schwab@linux-m68k.org>
6109
6110 * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
6111
6112 * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
6113
6114 2016-04-29 Stephen Gallagher <sgallagh@redhat.com>
6115 Carlos O'Donell <carlos@redhat.com>
6116
6117 [BZ #19072]
6118 * grp/Makefile (headers): Add grp-merge.h
6119 (routines): Add grp-merge.
6120 * grp/getgrgid_r.c: Include grp-merge.h.
6121 (DEEPCOPY_FN): Define.
6122 (MERGE_FN): Define.
6123 * grp/getgrname_r.c: Include grp-merge.h.
6124 (DEEPCOPY_FN): Define.
6125 (MERGE_FN): Define.
6126 * grp/grp-merge.c: New file.
6127 * grp/grp-merge.h: New file.
6128 * include/grp-merge.h: New file.
6129 * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
6130 __copy_grp@GLIBC_PRIVATE.
6131 * manual/nss.texi (Actions in the NSS configuration): Describe
6132 return, continue, and merge.
6133 * nscd/getgrgid_r.c: Include grp/grp-merge.h.
6134 (DEEPCOPY_FN): Define.
6135 (MERGE_FN): Define.
6136 * nscd/getgrnam_r.c: Include grp/grp-merge.h.
6137 (DEEPCOPY_FN): Define.
6138 (MERGE_FN): Define.
6139 * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
6140 [!MERGE_FN]: Define __merge_einval.
6141 (CHECK_MERGE): Define.
6142 (REENTRANT_NAME): Process merge if do_merge is true.
6143 * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
6144 (__nss_getent_r): Likewise.
6145 * nss/nsswitch.c (nss_parse_service_list): Likewise.
6146 * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
6147
6148 2016-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6149
6150 [BZ #20012]
6151 * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
6152 length to calculate the buffer to read.
6153 (fmemopen_write): Set the buffer position based on bytes written.
6154 (fmemopen_seek): Return EINVAL for invalid whence modes.
6155
6156 [BZ #19957]
6157 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
6158 tst-getpid2.
6159 (test): Add tst-clone2.
6160 * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
6161 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
6162 pid/tid fields for CLONE_VM.
6163 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
6164 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
6165 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
6166 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
6167 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
6168 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
6169 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
6170 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
6171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
6172 Likewise.
6173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
6174 Likewise.
6175 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
6176 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
6177 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
6178 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
6179 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
6180 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
6181 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
6182 * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
6183
6184 2016-04-29 Florian Weimer <fweimer@redhat.com>
6185
6186 [BZ #19642]
6187 * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
6188 (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
6189 (gni_serv_local, gni_serv): New functions extracted from
6190 getnameinfo.
6191 (getnameinfo): Call gni_host and gni_serv to perform the
6192 processing. Always free scratch buffer.
6193
6194 2016-04-29 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
6195
6196 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
6197 remaining bytes in the dest string, with zeros.
6198
6199 2016-04-29 Florian Weimer <fweimer@redhat.com>
6200
6201 [BZ #20010]
6202 CVE-2016-3706
6203 * sysdeps/posix/getaddrinfo.c
6204 (convert_hostent_to_gaih_addrtuple): New function.
6205 (gethosts): Call convert_hostent_to_gaih_addrtuple.
6206 (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
6207 AF_INET data.
6208
6209 2016-04-29 Florian Weimer <fweimer@redhat.com>
6210
6211 glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
6212 callback function gl_readdir.
6213 * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
6214 (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
6215 (glob_in_dir): Remove len. Use strdup instead of malloc and
6216 memcpy to copy the name.
6217 * manual/pattern.texi (Calling Glob): Document requirements for
6218 implementations of the gl_readdir callback function.
6219 * manual/examples/mkdirent.c: New example.
6220 * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
6221 per the manual guidance.
6222 * posix/tst-gnuglob.c (my_readdir): Likewise.
6223
6224 2016-04-28 Joseph Myers <joseph@codesourcery.com>
6225
6226 [BZ #20014]
6227 * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
6228 not [__USE_POSIX].
6229 (getchar_unlocked): Likewise.
6230 (putc_unlocked): Likewise.
6231 (putchar_unlocked): Likewise.
6232 (flockfile): Likewise.
6233 (ftrylockfile): Likewise.
6234 (funlockfile): Likewise.
6235 * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
6236 variable.
6237 (test-xfail-XPG4/stdio.h/conform): Likewise.
6238
6239 * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
6240 Expect constant.
6241 [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
6242 * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
6243 variable.
6244 (test-xfail-XPG4/langinfo.h/conform): Likewise.
6245 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
6246
6247 * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
6248 [__USE_LARGEFILE64] (off64_t): Likewise.
6249 * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
6250 variable.
6251
6252 2016-04-28 Florian Weimer <fweimer@redhat.com>
6253
6254 * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
6255
6256 2016-04-28 Florian Weimer <fweimer@redhat.com>
6257
6258 * resolv/inet_addr.c: Reindent preprocessor conditionals.
6259 * resolv/res_init.c: Likewise.
6260 * resolv/res_mkquery.c: Likewise.
6261
6262 2016-04-28 Florian Weimer <fweimer@redhat.com>
6263
6264 * resolv/res_init.c (isascii): Do not define. Use definition in
6265 <ctype.h>.
6266 * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
6267 (LOG_AUTH): Remove.
6268 (SPRINTF): Remove, adjust caller.
6269 (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
6270
6271 2016-04-28 Florian Weimer <fweimer@redhat.com>
6272
6273 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
6274 SUNSECURITY conditional.
6275 * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
6276
6277 2016-04-28 Florian Weimer <fweimer@redhat.com>
6278
6279 * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
6280 * resolv/gethnamaddr.c: Use include files from conf/portability.h.
6281 Remove BSD-related preprocessor conditionals.
6282 * conf/portability.h: Remove.
6283
6284 2016-04-28 Florian Weimer <fweimer@redhat.com>
6285
6286 * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
6287 * resolv/res_data.c: Likewise.
6288
6289 2016-04-28 Florian Weimer <fweimer@redhat.com>
6290
6291 * resolv/res_comp.c: Remove code conditional on __ultrix__.
6292 * resolv/res_data.c: Remove code conditional on ultrix.
6293
6294 2016-04-28 Florian Weimer <fweimer@redhat.com>
6295
6296 * resolv/res_init.c (RFC1535): Do not define. Remove
6297 RFC1535 preprocessor conditionals.
6298 * resolv/README: Update. Do not claim strict RFC 1535 compliance
6299 because there configuration options which make the resolver
6300 behavior different.
6301
6302 2016-04-28 Florian Weimer <fweimer@redhat.com>
6303
6304 * resolv/gethnamaddr.c (RESOLVSORT): Do not define. Remove
6305 RESOLVSORT preprocessor conditionals.
6306 * resolv/nss_dns/dns-host.c: Likewise.
6307 * resolv/res_init.c: Likewise.
6308
6309 2016-04-28 Florian Weimer <fweimer@redhat.com>
6310
6311 * resolv/res_data.c: Remove code conditional on BIND_UPDATE. It
6312 is never defined.
6313
6314 2016-04-28 Florian Weimer <fweimer@redhat.com>
6315
6316 * inet/inet_lnaof.c: Remove SCSS keyword.
6317 * inet/inet_mkadr.c: Likewise.
6318 * inet/inet_net.c: Likewise.
6319 * inet/inet_netof.c: Likewise.
6320 * inet/rcmd.c: Likewise.
6321 * inet/rexec.c: Likewise.
6322 * inet/ruserpass.c: Likewise.
6323
6324 2016-04-28 Florian Weimer <fweimer@redhat.com>
6325
6326 * resolv/inet_addr.c: Remove _LIBC conditionals.
6327 * resolv/res_data.c: Likewise.
6328 * resolv/res_init.c: Likewise.
6329 * resolv/res_mkquery.c: Likewise.
6330 * resolv/res_libc.c: Update comment.
6331 * resolv/README: Update.
6332
6333 2016-04-28 Florian Weimer <fweimer@redhat.com>
6334
6335 * resolv/gethnamaddr.c: Remove SCSS keyword.
6336 * resolv/herror.c: Likewise.
6337 * resolv/inet_addr.c: Likewise.
6338 * resolv/inet_net_ntop.c: Likewise.
6339 * resolv/inet_net_pton.c: Likewise.
6340 * resolv/inet_neta.c: Likewise.
6341 * resolv/inet_ntop.c: Likewise.
6342 * resolv/inet_pton.c: Likewise.
6343 * resolv/ns_date.c: Remove RCS keyword.
6344 * resolv/ns_name.c: Likewise.
6345 * resolv/ns_netint.c: Likewise.
6346 * resolv/ns_parse.c: Likewise.
6347 * resolv/ns_print.c: Likewise.
6348 * resolv/ns_samedomain.c: Likewise.
6349 * resolv/ns_ttl.c: Likewise.
6350 * resolv/nsap_addr.c: Likewise.
6351 * resolv/res_comp.c: Remove SCSS and RCS keyword.
6352 * resolv/res_data.c: Remove RCS keyword.
6353 * resolv/res_debug.c: Remove SCSS and RCS keyword.
6354 * resolv/res_init.c: Likewise.
6355 * resolv/res_mkquery.c: Likewise.
6356 * resolv/res_query.c: Likewise.
6357 * resolv/res_send.c: Likewise.
6358
6359 2016-04-27 Joseph Myers <joseph@codesourcery.com>
6360
6361 * conform/data/stdio.h-data (fdopen): Expect also for
6362 [XPG3 || XPG4].
6363
6364 * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
6365 (fseeko): Likewise.
6366 (ftello): Likewise.
6367 (ftrylockfile): Likewise.
6368 (funlockfile): Likewise.
6369 (getc_unlocked): Likewise.
6370 (getchar_unlocked): Likewise.
6371 (putc_unlocked): Likewise.
6372 (putchar_unlocked): Likewise.
6373
6374 2016-04-27 Florian Weimer <fweimer@redhat.com>
6375
6376 [BZ #19868]
6377 * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
6378 DNS packet syntax checks (which were not needed before). Skip
6379 over non-PTR records.
6380
6381 2016-04-27 Florian Weimer <fweimer@redhat.com>
6382
6383 * resolv/nss_dns/dns-network.c (offsetof): Remove macro
6384 definition. Include <stddef.h> instead.
6385
6386 2016-04-27 Florian Weimer <fweimer@redhat.com>
6387
6388 [BZ #19831]
6389 * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
6390 function.
6391 (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
6392 (gaih_getanswer_slice): Check RDATA length against RRTYPE.
6393
6394 2016-04-27 Florian Weimer <fweimer@redhat.com>
6395
6396 [BZ #19862]
6397 * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
6398 (getanswer_r): Do not call syslog.
6399 (gaih_getanswer_slice): Likewise.
6400 * resolv/gethnamaddr.c (AskedForGot): Remove.
6401 (getanswer): Do not call syslog.
6402 (gethostbyaddr): Likewise.
6403
6404 2016-04-27 Joseph Myers <joseph@codesourcery.com>
6405
6406 * conform/data/signal.h-data (union sigval): Expect also if
6407 [XOPEN2K].
6408 (struct sigevent): Likewise.
6409 (SIGEV_NONE): Likewise.
6410 (SIGEV_SIGNAL): Likewise.
6411 (SIGEV_THREAD): Likewise.
6412 (SIGRTMIN): Likewise.
6413 (SIGRTMAX): Likewise.
6414 * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
6415 variable.
6416 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
6417
6418 2016-04-27 Florian Weimer <fweimer@redhat.com>
6419
6420 [BZ #19830]
6421 * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
6422 (gaih_getanswer_slice): Likewise.
6423 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
6424 Also check for availability of RR metadata.
6425
6426 2016-04-27 Florian Weimer <fweimer@redhat.com>
6427
6428 [BZ #19825]
6429 * resolv/res_send.c (send_vc): Remove early *resplen2
6430 initialization. Set *resplen2 on socket error. Call
6431 close_and_return_error for other errors.
6432
6433 2016-04-27 Stefan Liebler <stli@linux.vnet.ibm.com>
6434
6435 * sysdeps/unix/sysv/linux/netiucv/iucv.h
6436 (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
6437 (SCM_IUCV_TRGCLS): New define.
6438
6439 2016-04-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6440
6441 [BZ #20005]
6442 * libio/fmemopen.c (fmemopen_write): Update internal position after
6443 write.
6444 * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
6445 * stdio-common/tst-fmemopen4.c: New file..
6446
6447 2016-04-26 Joseph Myers <joseph@codesourcery.com>
6448
6449 [BZ #19996]
6450 * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
6451 not [__USE_XOPEN2K].
6452 * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
6453 variable.
6454
6455 * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
6456 * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
6457 variable.
6458
6459 * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
6460 [__USE_XOPEN2K8].
6461 [__USE_LARGEFILE64] (off64_t): Likewise.
6462 * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
6463 variable.
6464
6465 2016-04-25 Joseph Myers <joseph@codesourcery.com>
6466
6467 [BZ #19989]
6468 * libio/stdio.h (cuserid): Do not declare if
6469 [__USE_XOPEN2K && !__USE_GNU].
6470 * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
6471 variable.
6472
6473 2016-04-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6474
6475 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6476 (sysdep_routines): Add P8 and PPC64 strcspn targets.
6477 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6478 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
6479 ifunc'ed strcspn.
6480 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
6481 [EALIGN]: Removed.
6482 [END]: Likewise
6483 [STRSPN]: Define instead of the above to control symbol name.
6484 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
6485 New file.
6486 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
6487 Likewise.
6488 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
6489 Likewise.
6490 * sysdeps/powerpc/powerpc64/power8/strcspn.S:
6491 Likewise.
6492 * sysdeps/powerpc/powerpc64/power8/strspn.S:
6493 [INITIAL_MASK]: New macro.
6494 [STRCSPN]: Likewise.
6495 [UPDATE_MASK]: Likewise.
6496 [USE_AS_STRCSPN]: Lisewise.
6497
6498 2016-04-25 Florian Weimer <fweimer@redhat.com>
6499
6500 [BZ #19931]
6501 * stdio-common/tst-vfprintf-width-prec.c: New file.
6502 * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
6503 (tests-special): Add tst-vfprintf-width-prec-mem.out.
6504 (generated): Add mtrace-related files.
6505 (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
6506 (tst-%-mem.out): New pattern rule, replaces
6507 tst-printf-bz18872-mem.out.
6508 * stdio-common/vfprintf.c (vfprintf): When handling a precision
6509 specifier, deallocate any previously allocated work buffer.
6510
6511 2016-04-25 Chung-Lin Tang <cltang@codesourcery.com>
6512
6513 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
6514 Add nop before __startcontext, add explaining comments.
6515
6516 2016-04-25 Samuel thibault <samuel.thibault@ens-lyon.org>
6517
6518 RFC2292 macros were obsoleted by RFC3542, and should not be exposed
6519 any more. Notably since IPV6_PKTINFO has been reintroduced with a
6520 completely different API.
6521
6522 * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
6523 (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
6524 (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
6525 (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
6526 (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
6527 (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
6528 (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
6529 IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
6530 IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
6531 IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
6532
6533 2016-04-23 H.J. Lu <hongjiu.lu@intel.com>
6534
6535 * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
6536
6537 2016-04-23 Mike Frysinger <vapier@gentoo.org>
6538
6539 * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
6540 when it is the default of 0.
6541
6542 2016-04-22 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6543
6544 * sysdeps/powerpc/locale-defines.sym: Add new macros.
6545 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6546 (sysdep_routines): Add new strcasestr targets.
6547 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6548 (__libc_ifunc_impl_list): Likewise.
6549 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
6550 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
6551 * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
6552 * sysdeps/powerpc/powerpc64/power8/Makefile:
6553 New file to add strcasestr-ppc64 to sysdep_routines.
6554 * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
6555 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
6556
6557 2016-04-20 Siddhesh Poyarekar <sid@reserved-bit.com>
6558
6559 * benchtests/Makefile (wcsmbs-benchset): Include only for
6560 native builds and runs.
6561 (LOCALES): Likewise.
6562 (bench-build): Build timing-type here instead of the bench
6563 target. Generate locale only for native builds.
6564 * benchtests/README: Add note for cross-building.
6565
6566 * benchtests/Makefile (bench-clean): Clean up extra-objs.
6567
6568 * benchtests/README: Update README to include instructions on
6569 using bench-build.
6570
6571 * Makefile.in (bench-build): New target.
6572 * Rules (PHONY): Add bench-build target.
6573 * benchtests/Makefile (bench): Depend on bench-build.
6574 (bench-build): New target.
6575
6576 2016-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
6577
6578 * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
6579 profil_reply_port.
6580 (profile_waiter): Do not initialize profil_reply_port.
6581 * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
6582 frequency instead of tick length in us.
6583
6584 2016-04-18 Wilco Dijkstra <wdijkstr@arm.com>
6585
6586 [BZ #18712]
6587 * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
6588 (__old_mempcpy_small): Likewise.
6589 (__old_strcpy_small): Likewise.
6590 (__old_stpcpy_small): Likewise.
6591 (__old_strpbrk_c2): Fix compat symbol name.
6592 (__old_strpbrk_c3): Likewise.
6593 * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
6594 (__mempcpy_small): Remove.
6595 (__strcpy_small): Remove.
6596 (__stpcpy_small): Remove.
6597
6598 2016-04-16 Robin van der Vliet <info@robinvandervliet.com>
6599
6600 [BZ #19400]
6601 * locale/iso-639.def: Add the Talossan/tzl language.
6602
6603 2016-04-16 Mike Frysinger <vapier@gentoo.org>
6604
6605 [BZ #16983]
6606 * locale/programs/ld-address.c (address_finish): Update postal_fmt
6607 comment. Add "ln" to strchr check on postal_fmt.
6608
6609 2016-04-16 Mike Frysinger <vapier@gentoo.org>
6610
6611 * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
6612 default tel_int_fmt. Add "Cet" to strchr check on tel_int_fmt and
6613 tel_dom_fmt.
6614
6615 2016-04-15 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
6616
6617 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6618 (sysdep_routines): Added __strlen_power8.
6619 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
6620 __strlen_power8 entry.
6621 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
6622 Implementation for POWER8.
6623 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
6624 for __strlen_power8.
6625 * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
6626 Implementation for POWER8.
6627
6628 2016-04-15 Mike Frysinger <vapier@gentoo.org>
6629
6630 * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
6631
6632 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
6633
6634 * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
6635 Goldmont and Airmont processors.
6636
6637 2016-04-15 Wilco Dijkstra <wdijkstr@arm.com>
6638
6639 * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
6640 * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
6641 (__STRING2_SMALL_GET32): Remove.
6642 (memset): Remove.
6643 (__memset_1): Remove.
6644 (__memset_gc): Remove.
6645 (__mempcpy): Remove.
6646 (mempcpy): Remove.
6647 (__mempcpy_args): Remove.
6648 (strchr): Remove.
6649 (strcpy): Remove.
6650 (strcpy_args): Remove.
6651 (__stpcpy_args): Remove.
6652 (__strcmp_cc): Remove.
6653 (__strcmp_gc): Remove.
6654 (strstr): Remove.
6655
6656 2016-04-15 Yvan Roux <yvan.roux@linaro.org>
6657
6658 * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
6659 * nis/nis_call.c (nis_server_cache_add): Likewise.
6660
6661 2016-04-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6662
6663 * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
6664
6665 2016-04-14 Florian Weimer <fweimer@redhat.com>
6666
6667 * malloc/arena.c (__malloc_fork_lock_parent)
6668 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
6669 internal_function attribute.
6670
6671 2016-04-14 Stefan Liebler <stli@linux.vnet.ibm.com>
6672
6673 * stdio-common/printf_fp.c (__printf_fp_l):
6674 Rename ___printf_fp_l to __printf_fp_l and
6675 remove strong alias. Use libc_hidden_def instead
6676 of ldbl_hidden_def macro.
6677
6678 2016-04-14 Florian Weimer <fweimer@redhat.com>
6679
6680 Remove malloc hooks from fork handler. They are no longer needed
6681 because malloc runs right before fork, and no malloc calls from
6682 other fork handlers are not possible anymore.
6683 * malloc/malloc.c (malloc_atfork, free_atfork): Remove
6684 declarations.
6685 * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
6686 (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
6687 (atfork_recursive_cntr): Remove.
6688 (__malloc_fork_lock_parent): Do not override malloc hooks and
6689 thread_arena.
6690 (__malloc_fork_unlock_parent): Do not restore malloc hooks and
6691 thread_arena.
6692 (__malloc_fork_unlock_child): Do not restore malloc hooks. Use
6693 thread_arena instead of save_arena.
6694
6695 2016-04-14 Florian Weimer <fweimer@redhat.com>
6696
6697 * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
6698 (thread_atfork, thread_atfork_static): Remove.
6699 * sysdeps/mach/hurd/malloc-machine.h:
6700 (thread_atfork, thread_atfork_static): Remove.
6701
6702 2016-04-14 Florian Weimer <fweimer@redhat.com>
6703
6704 [BZ #19431]
6705 Run the malloc fork handler as late as possible to avoid deadlocks.
6706 * malloc/malloc-internal.h: New file.
6707 * malloc/malloc.c: Include it.
6708 * malloc/arena.c (ATFORK_MEM): Remove.
6709 (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
6710 Update comment.
6711 (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
6712 (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
6713 Remove outdated comment.
6714 (ptmalloc_init): Do not call thread_atfork. Remove
6715 thread_atfork_static.
6716 * malloc/tst-malloc-fork-deadlock.c: New file.
6717 * Makefile (tests): Add tst-malloc-fork-deadlock.
6718 (tst-malloc-fork-deadlock): Link against libpthread.
6719 * manual/memory.texi (Aligned Memory Blocks): Update safety
6720 annotation comments.
6721 * sysdeps/nptl/fork.c (__libc_fork): Call
6722 __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
6723 __malloc_fork_unlock_child.
6724 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
6725
6726 2016-04-14 Florian Weimer <fweimer@redhat.com>
6727
6728 [BZ #19613]
6729 Remove union wait.
6730 * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
6731 (w_stopsig, w_stopval): Remove.
6732 * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
6733 stat_loc argument.
6734 * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
6735 (__WAIT_STATUS_DEFN): Remove.
6736 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
6737 (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
6738 (wait, wait3, wait4): Use int * for the stat_loc argument.
6739 * posix/wait.c (__wait): Likewise.
6740 * posix/wait3.c (__wait3): Likewise.
6741 * posix/wait4.c (__wait4): Likewise.
6742 * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
6743 (__WAIT_STATUS_DEFN): Remove.
6744 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
6745 (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
6746 * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
6747 argument.
6748 * sysdeps/posix/wait.c (__libc_wait): Likewise.
6749 * sysdeps/posix/wait3.c (__wait3): Likewise.
6750 * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
6751 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
6752 * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
6753 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
6754 stat_loc argument.
6755 * manual/process.texi (BSD Wait Functions): Remove union wait.
6756
6757 2016-04-13 Andreas Schwab <schwab@suse.de>
6758
6759 * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
6760 (test-extras): Add tst-tlsalign-vars.
6761 * math/Makefile: Wrap long lines.
6762 (libm-vec-test-wrappers): Define.
6763 (test-extras): Add $(libm-vec-test-wrappers).
6764 (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
6765 * nss/Makefile (extra-test-objs): Add nss_test1.os.
6766 * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
6767 * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
6768 tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
6769 (extra-test-objs): Add corresponding objects.
6770
6771 2016-04-12 H.J. Lu <hongjiu.lu@intel.com>
6772
6773 [BZ #19928]
6774 * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
6775 New.
6776 (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
6777 times of shared cache size.
6778 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
6779 (VMOVNT): New.
6780 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
6781 (VMOVNT): Likewise.
6782 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
6783 (VMOVNT): Likewise.
6784 (VMOVU): Changed to movups for smaller code sizes.
6785 (VMOVA): Changed to movaps for smaller code sizes.
6786 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
6787 comments.
6788 (PREFETCH): New.
6789 (PREFETCH_SIZE): Likewise.
6790 (PREFETCHED_LOAD_SIZE): Likewise.
6791 (PREFETCH_ONE_SET): Likewise.
6792 Rewrite to use forward and backward loops, which move 4 vector
6793 registers at a time, to support overlapping addresses and use
6794 non temporal store if size is above the threshold and there is
6795 no overlap between destination and source.
6796
6797 2016-04-12 Alex Smith <alex.smith@imgtec.com>
6798
6799 * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
6800 Include dl-vdso.
6801 * sysdeps/unix/sysv/linux/mips/Versions: Add
6802 __vdso_clock_gettime.
6803 * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
6804 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
6805 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
6806 (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
6807 definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
6808 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
6809 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
6810 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
6811 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
6812
6813 2016-04-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6814
6815 * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
6816 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
6817 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
6818 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
6819 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
6820 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
6821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
6822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
6823 * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
6824 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
6825 syscalls generation.
6826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6827 [__NR_pwrite64] (__NR_write): Remove define.
6828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6829 [__NR_pwrite64] (__NR_write): Remove define.
6830 * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
6831 Remove define.
6832 (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
6833 * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
6834 Remove define.
6835 (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
6836 * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
6837 Linux implementation as base.
6838 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
6839
6840 * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
6841 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
6842 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
6843 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
6844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
6845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
6846 * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
6847 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
6848 syscall generation.
6849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6850 [__NR_pread64] (__NR_pread): Remove define.
6851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
6852 [__NR_pread64] (__NR_pread): Likewise.
6853 * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
6854 define.
6855 (__libc_pread): Use SYSCALL_LL macro on offset argument.
6856 * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
6857 Remove define.
6858 (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
6859 * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
6860 Linux implementation as base.
6861 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
6862 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
6863 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
6864
6865 * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
6866 definition.
6867 (__ALIGNMENT_COUNT): Likewise.
6868 * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
6869 (__ALIGNMENT_COUNT): Likewise.
6870 (SYSCALL_LL): New define.
6871 (SYSCALL_LL64): Likewise.
6872 * sysdeps/unix/sysv/linux/mips/kernel-features.h:
6873 [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
6874 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
6875 [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
6876
6877 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6878 (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
6879 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6880 [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
6881 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6882 [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
6883
6884 2016-04-11 Florian Weimer <fweimer@redhat.com>
6885
6886 [BZ #19865]
6887 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
6888 original buffer before retry.
6889
6890 2016-04-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6891
6892 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
6893 [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
6894 * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
6895 GLRO(dl_auxv) list.
6896 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
6897 including <ldsodefs.h>.
6898 * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
6899
6900 2016-04-09 Nick Alcock <nick.alcock@oracle.com>
6901
6902 * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
6903 * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
6904 $(CPPFLAGS).
6905
6906 2016-04-09 Khem Raj <raj.khem@gmail.com>
6907
6908 [BZ #17950]
6909 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
6910 Add -mfpmath=387.
6911
6912 2016-04-09 Mike Frysinger <vapier@gentoo.org>
6913
6914 * sysdeps/i386/configure.ac: Change == to = when calling test.
6915 * sysdeps/x86_64/configure.ac: Likewise.
6916 * sysdeps/i386/configure: Regenerated.
6917 * sysdeps/x86_64/configure: Likewise.
6918
6919 2016-04-08 Mike Frysinger <vapier@gentoo.org>
6920
6921 [BZ #16137]
6922 * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
6923 * benchtests/bench-strcoll.c (input_files): Likewise.
6924 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
6925 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
6926 * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
6927
6928 2016-04-08 Joseph Myers <joseph@codesourcery.com>
6929
6930 [BZ #19929]
6931 * include/bits/xopen_lim.h (NL_NMAX): Do not define if
6932 [__USE_XOPEN2K8 && !__USE_GNU].
6933 * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
6934 variable.
6935
6936 [BZ #19925]
6937 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
6938 define if [!__USE_MISC && __USE_XOPEN2K].
6939 * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
6940 * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
6941 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
6942 Likewise.
6943 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
6944 * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
6945 variable.
6946 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
6947
6948 2016-04-07 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6949
6950 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6951 (sysdep_routines): Add new strspn targets.
6952 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6953 (__libc_ifunc_impl_list): Add strspn.
6954 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
6955 New file.
6956 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
6957 Likewise.
6958 * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
6959 Likewise.
6960 * sysdeps/powerpc/powerpc64/power8/strspn.S:
6961 Likewise.
6962
6963 2016-04-07 Florian Weimer <fweimer@redhat.com>
6964
6965 * misc/hsearch_r.c: Include <limits.h>.
6966
6967 2016-04-07 Florian Weimer <fweimer@redhat.com>
6968
6969 * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
6970
6971 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
6972
6973 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
6974 (MEMCPY_SYMBOL): New.
6975 (MEMPCPY_SYMBOL): Likewise.
6976 (MEMMOVE_CHK_SYMBOL): Likewise.
6977 Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
6978 symbols. Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
6979 __mempcpy symbols. Provide alias for __memcpy_chk in libc.a.
6980 Provide alias for memcpy in libc.a and ld.so.
6981
6982 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
6983
6984 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
6985 (MEMSET_CHK_SYMBOL): New. Define if not defined.
6986 (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
6987 Disabled fro now.
6988 Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
6989 symbols. Properly check USE_MULTIARCH on __memset symbols.
6990
6991 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
6992
6993 * benchtests/Makefile (string-benchset): Add memcpy-large,
6994 memmove-large and memset-large.
6995 * benchtests/bench-memcpy-large.c: New file.
6996 * benchtests/bench-memmove-large.c: Likewise.
6997 * benchtests/bench-memmove-large.c: Likewise.
6998 * benchtests/bench-string.h (TIMEOUT): Don't redefine.
6999
7000 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
7001
7002 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
7003 32-bit displacement to avoid long nop between instructions.
7004
7005 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
7006
7007 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
7008 a comment on VMOVU and VMOVA.
7009
7010 2016-04-04 Florian Weimer <fweimer@redhat.com>
7011
7012 [BZ #19633]
7013 Use specified locale for number formatting in strfmon_l.
7014 * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
7015 (__nl_lookup_word): New inline functions.
7016 * include/printf.h (__print_fp_l): Declare.
7017 * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
7018 ___printf_fp. Add locale argument. Replace _NL_CURRENT with
7019 _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
7020 (___printf_fp): New function.
7021 * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
7022 (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
7023 * stdlib/tst-strfmon_l.c (do_test): New test.
7024 * stdlib/Makefile (tests): Add kt.
7025 (LOCALES): Build additional locales.
7026 (tst-strfmon_l.out): Require locales.
7027
7028 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
7029
7030 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
7031 if not in libc.
7032 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
7033 Likewise.
7034 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
7035 Likewise.
7036 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
7037 Likewise.
7038
7039 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
7040
7041 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
7042 (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
7043 with unaligned_erms.
7044 (__memmove_erms): Skip if source == destination.
7045 (__memmove_unaligned_erms): Don't check source == destination
7046 first.
7047
7048 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
7049
7050 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
7051 bit_arch_Fast_Copy_Backward for Intel Core proessors.
7052
7053 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7054
7055 * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
7056 * string/strspn.c (strspn): Likewise.
7057
7058 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
7059
7060 * benchtests/bench-memset.c (do_test): Support 64-byte
7061 alignment.
7062 (test_main): Test 64-byte alignment.
7063
7064 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
7065
7066 * benchtests/bench-memmove.c (test_main): Test 64-byte
7067 alignment.
7068
7069 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
7070
7071 * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
7072
7073 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7074
7075 * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
7076 * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
7077 * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
7078
7079 * string/strpbrk.c (strpbrk): Rewrite function.
7080 * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
7081 (__strpbrk_c2): Likewise.
7082 (__strpbrk_c3): Likewise.
7083 * string/string-inlines.c
7084 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
7085 Likewise.
7086 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
7087 Likewise.
7088
7089 * string/strspn.c (strcspn): Rewrite function.
7090 * string/bits/string2.h (strspn): Use __builtin_strcspn.
7091 (__strspn_c1): Remove inline function.
7092 (__strspn_c2): Likewise.
7093 (__strspn_c3): Likewise.
7094 * string/string-inlines.c
7095 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
7096 compatibility symbol.
7097 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
7098 Likewise.
7099 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
7100 Likewise.
7101 * string/string-inlines.c: Include generic version.
7102
7103 2016-04-01 Wilco Dijkstra <wdijkstr@arm.com>
7104 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7105
7106 * string/Version (libc): Add GLIBC_2.24.
7107 * string/strcspn.c (strcspn): Rewrite function.
7108 * string/bits/string2.h (strcspn): Use __builtin_strcspn.
7109 (__strcspn_c1): Remove inline function.
7110 (__strcspn_c2): Likewise.
7111 (__strcspn_c3): Likewise.
7112 * string/string-inline.c
7113 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
7114 compatibility symbol.
7115 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
7116 Likewise.
7117 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
7118 Likewise.
7119 * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
7120
7121 2016-04-01 Stefan Liebler <stli@linux.vnet.ibm.com>
7122
7123 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
7124 Use ahi instead of aghi to adjust stack pointer.
7125
7126 2016-03-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7127
7128 [BZ #19853]
7129 * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
7130 TEST to take significant digits as second parameter.
7131 [TEST]: Redefine in terms of TEST_N taking 30
7132 significant digits.
7133 (do_test): Add test case to demonstrate precision
7134 failure in the ldbl-128ibm printf.
7135 * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
7136 (__mpn_extract_long_double): Carry 7 extra intermediate
7137 bits of precision to aide computing difference when
7138 signs differ.
7139
7140 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
7141
7142 [BZ #19881]
7143 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7144 memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
7145 memset-avx512-unaligned-erms.
7146 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7147 (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
7148 __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
7149 __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
7150 __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
7151 __memset_sse2_unaligned_erms, __memset_erms,
7152 __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
7153 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
7154 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
7155 file.
7156 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
7157 Likewise.
7158 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
7159 Likewise.
7160 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
7161 Likewise.
7162
7163 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
7164
7165 [BZ #19776]
7166 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7167 memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
7168 memmove-avx512-unaligned-erms.
7169 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7170 (__libc_ifunc_impl_list): Test
7171 __memmove_chk_avx512_unaligned_2,
7172 __memmove_chk_avx512_unaligned_erms,
7173 __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
7174 __memmove_chk_sse2_unaligned_2,
7175 __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
7176 __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
7177 __memmove_avx512_unaligned_erms, __memmove_erms,
7178 __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
7179 __memcpy_chk_avx512_unaligned_2,
7180 __memcpy_chk_avx512_unaligned_erms,
7181 __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
7182 __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
7183 __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
7184 __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
7185 __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
7186 __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
7187 __mempcpy_chk_avx512_unaligned_erms,
7188 __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
7189 __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
7190 __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
7191 __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
7192 __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
7193 __mempcpy_erms.
7194 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
7195 file.
7196 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
7197 Likwise.
7198 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
7199 Likwise.
7200 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
7201 Likwise.
7202
7203 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
7204
7205 * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
7206 (La_s390_32_regs): Append vector register lr_v24-lr_v31.
7207 (La_s390_64_regs): Likewise.
7208 (La_s390_32_retval): Append vector register lrv_v24.
7209 (La_s390_64_retval): Likeweise.
7210 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
7211 Handle extended structs La_s390_32_regs and La_s390_32_retval.
7212 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
7213 Handle extended structs La_s390_64_regs and La_s390_64_retval.
7214
7215 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
7216
7217 [BZ #19916]
7218 * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
7219 to create a non-vector/vector version for _dl_runtime_resolve and
7220 _dl_runtime_profile. Move implementation to ...
7221 * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
7222 (_dl_runtime_resolve) Save and restore fpr/vrs.
7223 (_dl_runtime_profile) Save and restore vrs and fix some issues
7224 if _dl_call_pltexit is called.
7225 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
7226 Choose the correct resolver function if running on a machine with vx.
7227 * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
7228 to create a non-vector/vector version for _dl_runtime_resolve and
7229 _dl_runtime_profile. Move implementation to ...
7230 * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
7231 (_dl_runtime_resolve) Save and restore fpr/vrs.
7232 (_dl_runtime_profile) Save and restore vrs and fix some issues
7233 * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
7234 Choose the correct resolver function if running on a machine with vx.
7235
7236 2016-03-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7237
7238 * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
7239
7240 2016-03-31 Florian Weimer <fweimer@redhat.com>
7241
7242 [BZ #19509]
7243 * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
7244 skip_map != NULL.
7245 * elf/tst-dlsym-error.c: New file.
7246 * elf/Makefile (tests): Add tst-dlsym-error.
7247 (tst-dlsym-error): Link against libdl.
7248
7249 2016-03-29 Joseph Myers <joseph@codesourcery.com>
7250
7251 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7252 (__ASSUME_FUTIMESAT): Remove macro.
7253 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
7254
7255 2016-03-29 Florian Weimer <fweimer@redhat.com>
7256
7257 [BZ #19879]
7258 CVE-2016-3075
7259 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
7260 copy name.
7261
7262 2016-03-29 Florian Weimer <fweimer@redhat.com>
7263
7264 [BZ #19837]
7265 * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
7266 error if parse_line fails.
7267
7268 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
7269
7270 * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
7271 (index_cpu_ERMS): Likewise.
7272 (reg_ERMS): Likewise.
7273
7274 2016-03-28 Aurelien Jarno <aurelien@aurel32.net>
7275
7276 * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
7277 PER_LINUX_FDPIC): Add.
7278
7279 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
7280
7281 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7282 memcpy-avx512-no-vzeroupper.
7283 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
7284 to ...
7285 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
7286 (MEMCPY): Don't define.
7287 (MEMCPY_CHK): Likewise.
7288 (MEMPCPY): Likewise.
7289 (MEMPCPY_CHK): Likewise.
7290 (MEMPCPY_CHK): Renamed to ...
7291 (__mempcpy_chk_avx512_no_vzeroupper): This.
7292 (MEMPCPY_CHK): Renamed to ...
7293 (__mempcpy_chk_avx512_no_vzeroupper): This.
7294 (MEMCPY_CHK): Renamed to ...
7295 (__memmove_chk_avx512_no_vzeroupper): This.
7296 (MEMCPY): Renamed to ...
7297 (__memmove_avx512_no_vzeroupper): This.
7298 (__memcpy_avx512_no_vzeroupper): New alias.
7299 (__memcpy_chk_avx512_no_vzeroupper): Likewise.
7300
7301 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
7302
7303 [BZ #18858]
7304 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7305 mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
7306 and mempcpy-avx512-no-vzeroupper.
7307 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
7308 New.
7309 (MEMPCPY): Likewise.
7310 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
7311 (MEMPCPY_CHK): New.
7312 (MEMPCPY): Likewise.
7313 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
7314 (MEMPCPY): Likewise.
7315 * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
7316 (MEMPCPY): Likewise.
7317 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
7318 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
7319 Likewise.
7320 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
7321 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
7322
7323 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
7324 Amit Pawar <Amit.Pawar@amd.com>
7325
7326 [BZ #19583]
7327 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
7328 Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
7329 processors. Set Fast_Copy_Backward for AMD Excavator
7330 processors.
7331 * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
7332 New.
7333 (index_arch_Fast_Unaligned_Copy): Likewise.
7334 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
7335 Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
7336
7337 2016-03-25 Florian Weimer <fweimer@redhat.com>
7338
7339 [BZ #19791]
7340 * resolv/res_send.c (close_and_return_error): New function.
7341 (send_dg): Initialize *resplen2 after reopen failure. Call
7342 close_and_return_error for error returns. On error paths without
7343 __res_iclose, initialze *resplen2 explicitly. Update comment for
7344 successful return.
7345
7346 2016-03-25 Florian Weimer <fweimer@redhat.com>
7347
7348 [BZ# 19860]
7349 * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
7350 zero if the compiler does not provide the AVX512F bit.
7351
7352 2016-03-24 Joseph Myers <joseph@codesourcery.com>
7353
7354 [BZ #19848]
7355 * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
7356 from 8 to 4.
7357 (__ieee754_powl): Compare integer exponent against 4 not 8.
7358 * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
7359 from 8 to 4.
7360 (__ieee754_powl): Compare integer exponent against 4 not 8.
7361 * math/auto-libm-test-in: Add more tests of pow.
7362 * math/auto-libm-test-out: Regenerated.
7363 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
7364 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7365
7366 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
7367
7368 * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
7369 Make code unconditional.
7370 [!__NR_utimensat]: Remove conditional code.
7371 * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
7372 Make code unconditional.
7373 [!__NR_utimensat]: Remove conditional code.
7374 * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
7375 Make code unconditional.
7376 [!__NR_utimensat]: Remove conditional code.
7377
7378 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
7379
7380 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
7381 Make code unconditional.
7382
7383 2016-03-23 Nick Alcock <nick.alcock@oracle.com>
7384
7385 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
7386 call-clobbered %eax on retry path.
7387 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
7388
7389 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
7390
7391 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
7392 Don't set %rcx twice before "rep movsb".
7393
7394 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
7395
7396 [BZ #19583]
7397 * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
7398 inline. Check family before setting family, model and
7399 extended_model. Set AVX, AVX2, AVX512, FMA and FMA4 usable
7400 bits here.
7401 (init_cpu_features): Replace HAS_CPU_FEATURE and
7402 HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
7403 CPU_FEATURES_ARCH_P. Set index_arch_AVX_Fast_Unaligned_Load
7404 for Intel processors with usable AVX2. Call get_common_indeces
7405 for other processors with family == NULL.
7406 * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
7407 (CPU_FEATURES_ARCH_P): Likewise.
7408 (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
7409 (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
7410
7411 2016-03-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
7412
7413 * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
7414 $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
7415 $(shared-thread-library) instead of hardcoding the path to libpthread.
7416
7417 2016-03-22 Joseph Myers <joseph@codesourcery.com>
7418
7419 * sysdeps/unix/sysv/linux/kernel-features.h
7420 (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
7421 * sysdeps/unix/sysv/linux/getdents.c
7422 [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
7423 [!have_no_getdents64_defined]: Likewise.
7424 (__GETDENTS): Remove __have_no_getdents64 conditional.
7425
7426 2016-03-21 Joseph Myers <joseph@codesourcery.com>
7427
7428 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
7429 Remove macro.
7430 * sysdeps/unix/sysv/linux/signalfd.c: Do not include
7431 <kernel-features.h>.
7432 (signalfd) [__NR_signalfd4]: Make code unconditional.
7433 (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
7434
7435 2016-03-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7436
7437 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
7438 style.
7439
7440 2016-03-21 H.J. Lu <hongjiu.lu@intel.com>
7441
7442 * sysdeps/unix/sysv/linux/x86_64/cancellation.S
7443 (__pthread_enable_asynccancel): Use JUMPTARGET to call
7444 __pthread_unwind.
7445 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
7446 (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
7447 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
7448 (__condvar_cleanup1): Likewise.
7449
7450 2016-03-21 Dylan Alex Simon <dylan-sourceware@dylex.net>
7451
7452 [BZ #19822]
7453 * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
7454 move it to the final $@ location.
7455
7456 2016-03-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7457
7458 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
7459 access where posix_spawn success and pid argument is null.
7460 * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
7461 success case.
7462
7463 2016-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>:
7464
7465 * sysdeps/mach/hurd/i386/c++-types.data: New file.
7466
7467 * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
7468
7469 * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
7470 and __fcntl.
7471 * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
7472 __fcntl only.
7473 * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
7474 adding attribute_hidden to __open and __fcntl.
7475
7476 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
7477 "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
7478 depend on libc-modules.h,
7479 * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
7480
7481 2016-03-17 Joseph Myers <joseph@codesourcery.com>
7482
7483 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
7484 Remove macro.
7485 * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
7486 * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
7487 entry.
7488
7489 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
7490 Remove macro.
7491 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
7492 include <kernel-features.h>.
7493 [!__ASSUME_FALLOCATE]: Remove conditional code.
7494 (posix_fallocate) [__NR_fallocate]: Make code unconditional.
7495
7496 2016-03-16 H.J. Lu <hongjiu.lu@intel.com>
7497
7498 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
7499 (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
7500 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
7501 (_ZGVdN4v_cos_avx2): Likewise.
7502 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
7503 (_ZGVdN4v_cos): Likewise.
7504 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
7505 (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
7506 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
7507 (_ZGVdN4v_exp_avx2): Likewise.
7508 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
7509 (_ZGVdN4v_exp): Likewise.
7510 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
7511 (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
7512 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
7513 (_ZGVdN4v_log_avx2): Likewise.
7514 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
7515 (_ZGVdN4v_log): Likewise.
7516 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
7517 (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
7518 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
7519 (_ZGVdN4vv_pow_avx2): Likewise.
7520 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
7521 (_ZGVdN4vv_pow): Likewise.
7522 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
7523 (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
7524 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
7525 (_ZGVdN4v_sin_avx2): Likewise.
7526 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
7527 (_ZGVdN4v_sin): Likewise.
7528 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
7529 (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
7530 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
7531 (_ZGVdN4vvv_sincos_avx2): Likewise.
7532 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
7533 (_ZGVdN4vvv_sincos): Likewise.
7534 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
7535 (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
7536 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
7537 (_ZGVbN4v_cosf_sse4): Likewise.
7538 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
7539 (_ZGVdN8v_cosf_avx2): Likewise.
7540 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
7541 (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
7542 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
7543 (_ZGVbN4v_expf_sse4): Likewise.
7544 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
7545 (_ZGVdN8v_expf_avx2): Likewise.
7546 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
7547 (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
7548 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
7549 (_ZGVbN4v_logf_sse4): Likewise.
7550 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
7551 (_ZGVdN8v_logf_avx2): Likewise.
7552 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
7553 (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
7554 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
7555 (_ZGVbN4vv_powf_sse4): Likewise.
7556 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
7557 (_ZGVdN8vv_powf_avx2): Likewise.
7558 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
7559 (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
7560 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
7561 (_ZGVbN4vvv_sincosf_sse4): Likewise.
7562 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
7563 (_ZGVdN8vvv_sincosf_avx2): Likewise.
7564 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
7565 (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
7566 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
7567 (_ZGVbN4v_sinf_sse4): Likewise.
7568 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
7569 (_ZGVdN8v_sinf_avx2): Likewise.
7570 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
7571 Use JUMPTARGET to call callee.
7572 (WRAPPER_IMPL_SSE2_ff): Likewise.
7573 (WRAPPER_IMPL_SSE2_fFF): Likewise.
7574 (WRAPPER_IMPL_AVX): Likewise.
7575 (WRAPPER_IMPL_AVX_ff): Likewise.
7576 (WRAPPER_IMPL_AVX_fFF): Likewise.
7577 (WRAPPER_IMPL_AVX512): Likewise.
7578 (WRAPPER_IMPL_AVX512_ff): Likewise.
7579 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
7580 Likewise.
7581 (WRAPPER_IMPL_SSE2_ff): Likewise.
7582 (WRAPPER_IMPL_SSE2_fFF): Likewise.
7583 (WRAPPER_IMPL_AVX): Likewise.
7584 (WRAPPER_IMPL_AVX_ff): Likewise.
7585 (WRAPPER_IMPL_AVX_fFF): Likewise.
7586 (WRAPPER_IMPL_AVX512): Likewise.
7587 (WRAPPER_IMPL_AVX512_ff): Likewise.
7588 (WRAPPER_IMPL_AVX512_fFF): Likewise.
7589
7590 2016-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
7591
7592 * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
7593 * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
7594 qualifier.
7595 * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
7596 internal_function qualifiers.
7597
7598 2016-03-15 Carlos O'Donell <carlos@redhat.com>
7599
7600 * catgets/tst-catgets.c (do_bz17905): Mark result unused.
7601 * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
7602 * math/atest-exp.c (exp_mpn): Mark chk unused.
7603 * math/atest-exp2.c (exp_mpn): Likwise.
7604 * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
7605 * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
7606
7607 2016-03-15 Joseph Myers <joseph@codesourcery.com>
7608
7609 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
7610 Remove macro.
7611 * sysdeps/unix/sysv/linux/ppoll.c: Do not include
7612 <kernel-features.h>.
7613 [__NR_ppoll]: Make code unconditional.
7614 [!__ASSUME_PPOLL]: Remove conditional code.
7615
7616 * sysdeps/unix/sysv/linux/kernel-features.h
7617 (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
7618 (__ASSUME_ACCEPT4): Likewise.
7619 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7620 Define.
7621 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
7622 Likewise.
7623 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7624 Likewise.
7625 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
7626 Likewise.
7627 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
7628 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
7629 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7630 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
7631 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7632 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7633 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7634 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7635 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7636 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7637 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7638 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7639 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7640 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7641 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7642 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7643 Likewise.
7644 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7645 Likewise.
7646 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7647 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
7648 0x040300].
7649 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7650 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
7651 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7652 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7653 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
7654 0x030300].
7655 [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
7656 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7657 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7658 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
7659 0x040300].
7660 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7661 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7662 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7663 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7664 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7665 (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7666 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
7667 0x030300].
7668 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7669 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7670 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7671 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7672 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7673 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7674 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7675 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7676 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7677 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7678 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
7679 0x040300].
7680 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7681 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7682 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7683 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7684 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7685 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7686 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7687 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7688 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7689 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7690 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7691 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7692 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7693 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7694 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
7695 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7696 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7697 Likewise.
7698 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7699 Likewise.
7700
7701 2016-03-15 Andreas Schwab <schwab@suse.de>
7702
7703 [BZ #19257]
7704 * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
7705 statp->_u._ext.nscount as loop count.
7706
7707 2016-03-14 Andreas Schwab <schwab@linux-m68k.org>
7708
7709 * math/test-signgam-finite-c99.c: Also #undef
7710 __LIBC_INTERNAL_MATH_INLINES.
7711 * math/test-signgam-main.c: Likewise.
7712
7713 2016-03-14 Joseph Myers <joseph@codesourcery.com>
7714
7715 * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
7716 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
7717 (MADV_FREE): Likewise.
7718 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
7719 * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
7720 EPOLLEXCLUSIVE.
7721
7722 2016-03-14 Carlos O'Donell <carlos@redhat.com>
7723
7724 * timezone/README: Remove mention of checktab.awk. Mention wiki
7725 SharedSourceFiles.
7726
7727 2016-03-13 Samuel Thibault <samuel.thibault@ens-lyon.org
7728
7729 * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
7730 WUNTRACED.
7731
7732 2016-03-11 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7733
7734 * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
7735 order to match the type of p when calling atomic_exchange_acq().
7736
7737 2016-03-11 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7738
7739 * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
7740 cfi_offset calls.
7741 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
7742 * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
7743 * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
7744 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
7745 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
7746
7747 2016-03-10 Carlos O'Donell <carlos@redhat.com>
7748
7749 * timezone/checktab.awk: Removed.
7750
7751 2016-03-10 Joseph Myers <joseph@codesourcery.com>
7752
7753 * manual/math.texi (Errors in Math Functions): Document relaxed
7754 accuracy goals for IBM long double.
7755 * math/libm-test.inc (test_exceptions): Always allow spurious
7756 "underflow" and "inexact" exceptions for IBM long double.
7757
7758 2016-03-10 H.J. Lu <hongjiu.lu@intel.com>
7759
7760 [BZ #19762]
7761 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
7762 (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
7763 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
7764 * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
7765 (bit_arch_*): This for feature array.
7766 (bit_*): Renamed to ...
7767 (bit_cpu_*): This for cpu array.
7768 (index_*): Renamed to ...
7769 (index_arch_*): This for feature array.
7770 (index_*): Renamed to ...
7771 (index_cpu_*): This for cpu array.
7772 [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
7773 [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
7774 [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
7775 [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
7776 bit_##name with index_cpu_##name and bit_cpu_##name.
7777 [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
7778 bit_##name with index_arch_##name and bit_arch_##name.
7779
7780 2016-03-09 Aurelien Jarno <aurelien@aurel32.net>
7781
7782 [BZ #19792]
7783 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
7784 Terminate FDE before return label.
7785
7786 2016-03-09 Joseph Myers <joseph@codesourcery.com>
7787
7788 [BZ #19790]
7789 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
7790 (rintl): Define as macro.
7791 [USE_AS_NEARBYINTL] (__rintl): Likewise.
7792 (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
7793 of fesetround. Ensure results are evaluated before end of scope.
7794 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
7795 USE_AS_NEARBYINTL and include s_rintl.c.
7796 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
7797 Disable exception traps in new environment.
7798 (libc_feholdsetround_ppc_ctx): Likewise.
7799
7800 2016-03-08 Roland McGrath <roland@hack.frob.com>
7801
7802 * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
7803 * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
7804 (tst_audit10_aux) [__AVX512F__]: ... here.
7805
7806 2016-03-08 Aurelien Jarno <aurelien@aurel32.net>
7807
7808 * include/sys/auxv.h: New file.
7809
7810 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
7811
7812 [BZ #19759]
7813 * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
7814
7815 2016-03-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
7816
7817 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
7818 operand modifier.
7819 (feclearexcept): Likewise.
7820
7821 2016-03-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
7822
7823 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
7824 to reflect the entire 32-bit HWCAP.
7825 * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
7826 (_DL_HWCAP_FIRST): Removed. Replaced by 0 accordingly.
7827
7828 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
7829
7830 [BZ #19783]
7831 * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
7832 $(test-via-rtld-prefix).
7833 ($(binaries-bench)): Replace $(+link) with $(+link-tests).
7834
7835 2016-03-08 Florian Weimer <fweimer@redhat.com>
7836
7837 * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
7838 union wait. Report any non-zero exit status as error.
7839
7840 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7841
7842 * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
7843 configured with --enable-hardcoded-path-in-tests.
7844
7845 2016-03-08 Joseph Myers <joseph@codesourcery.com>
7846
7847 [BZ #19677]
7848 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
7849 (__ieee754_remainderl): Put zero low parts in canonical form.
7850 * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
7851 file. Based on
7852 sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
7853 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
7854 with wrapper round test-fmodrem-ldbl-128ibm.c.
7855 * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
7856 file.
7857 * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
7858 Likewise.
7859 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
7860 test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
7861
7862 2016-03-07 Florian Weimer <fweimer@redhat.com>
7863
7864 [BZ #19610]
7865 * elf/ldconfig.c (opt_link): Update comment.
7866 (options): Update help string for option -X.
7867 (search_dir): Unlink stale symbolic link only if updating symbolic
7868 links.
7869 * elf/tst-ldconfig-X.sh: New file.
7870 * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
7871 (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
7872
7873 2016-03-07 Andreas Schwab <schwab@suse.de>
7874
7875 * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
7876 needed arguments.
7877
7878 2016-03-07 Hongjiu Zhang <noctuorare@gmail.com>
7879
7880 [BZ #15333]
7881 * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
7882 to lstat64.
7883
7884 2016-03-07 Florian Weimer <fweimer@redhat.com>
7885
7886 * libio/filedoalloc.c (isatty): Remove.
7887 (local_isatty): Add comment. Call __isatty directly.
7888 (_IO_file_doallocate): Update comment. Assume _LIBC.
7889 * libio/wfiledoalloc.c (isatty): Remove.
7890 (_IO_wfile_doallocate): Update comment.
7891
7892 2016-03-07 Florian Weimer <fweimer@redhat.com>
7893
7894 [BZ #19269]
7895 * sysdeps/x86_64/Makefile (tst-audit4): Depend on
7896 tst-audit4-aux.o.
7897 (tst-audit10): Depend on tst-audit10-aux.o.
7898 (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
7899 (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
7900 * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
7901 instead of inline AVX code.
7902 * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
7903 instead of inline AVX512 code.
7904 * sysdeps/x86_64/tst-audit4-aux.c: New file
7905 * sysdeps/x86_64/tst-audit10-aux.c: New file
7906
7907 [BZ #19648]
7908 * test-skeleton.c (main): Do not set RLIMIT_DATA.
7909
7910 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7911
7912 [BZ #14750]
7913 [BZ #10354]
7914 [BZ #18433]
7915 * include/sched.h (__clone): Add hidden prototype.
7916 (__clone2): Likewise.
7917 * include/unistd.h (__dup): Likewise.
7918 * posix/Makefile (tests): Add tst-spawn2.
7919 * posix/tst-spawn2.c: New file.
7920 * sysdeps/posix/dup.c (__dup): Add hidden definition.
7921 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
7922 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
7923 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
7924 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
7925 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
7926 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
7927 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
7928 * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
7929 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
7930 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
7931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
7932 Likewise.
7933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7934 Likewise.
7935 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
7936 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
7937 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
7938 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
7939 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
7940 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
7941 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
7942 * sysdeps/unix/sysv/linux/nptl-signals.h
7943 (____nptl_is_internal_signal): New function.
7944 * sysdeps/unix/sysv/linux/spawni.c: New file.
7945
7946 * posix/execvpe.c (__execvpe): Remove dynamic allocation.
7947 * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
7948 * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
7949 * posix/tst-execvp2.c (do_test): Likewise.
7950 * posix/tst-execvp3.c (do_test): Likewise.
7951 * posix/tst-execvp4.c (do_test): Likewise.
7952 * posix/tst-execvpe1.c: New file.
7953 * posix/tst-execvpe2.c: Likewise.
7954 * posix/tst-execvpe3.c: Likewise.
7955 * posix/tst-execvpe4.c: Likewise.
7956 * posix/tst-execvpe5.c: Likewise.
7957 * posix/tst-execvpe6.c: Likewise.
7958
7959 [BZ #19534]
7960 * posix/execl.c (execl): Remove dynamic memory allocation.
7961 * posix/execle.c (execle): Likewise.
7962 * posix/execlp.c (execlp): Likewise.
7963
7964 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
7965
7966 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
7967 Replace .text with .text.avx512.
7968 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
7969 Likewise.
7970
7971 2016-03-07 Aurelien Jarno <aurelien@aurel32.net>
7972
7973 * sysdeps/generic/libnsl.abilist: New file.
7974 * sysdeps/generic/libutil.abilist: New file.
7975
7976 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
7977
7978 [BZ #19762]
7979 * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
7980 HAS_ARCH_FEATURE with Fast_Rep_String.
7981 * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
7982 * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
7983 * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
7984 Likewise.
7985 * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
7986 Likewise.
7987 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
7988 * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
7989 Likewise.
7990 * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
7991 * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
7992 Likewise.
7993
7994 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
7995
7996 [BZ #19745]
7997 * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
7998 with *%rax in call.
7999
8000 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
8001
8002 [BZ #19745]
8003 * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
8004 with *__libc_start_main@GOTPCREL(%rip) in call.
8005
8006 2016-03-04 Roland McGrath <roland@hack.frob.com>
8007
8008 * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
8009 inside conditional for nonempty $(CXX).
8010
8011 * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
8012 nonempty.
8013
8014 * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
8015 to test for empty $(CXX) rather than $(CXX) of "no".
8016
8017 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
8018
8019 * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
8020
8021 2016-03-04 Amit Pawar <Amit.Pawar@amd.com>
8022 H.J. Lu <hongjiu.lu@intel.com>
8023
8024 [BZ #18880]
8025 * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
8026 instead of Slow_BSF, and also check for Fast_Copy_Backward to
8027 enable __memcpy_ssse3_back.
8028
8029 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
8030
8031 [BZ #19758]
8032 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
8033 (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
8034
8035 2016-03-03 Paul Pluzhnikov <ppluzhnikov@google.com>
8036
8037 [BZ #19490]
8038 * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
8039 (__fentry__): Likewise.
8040
8041 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
8042
8043 * gmon/Makefile (noprof): Add $(sysdep_noprof).
8044 * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
8045
8046 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
8047
8048 * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
8049 __mcount_internal directly.
8050 (C_LABEL(__fentry__)): Likewise.
8051 * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
8052 directly.
8053
8054 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
8055
8056 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
8057 (__start_context): Call __setcontext directly.
8058
8059 2016-02-26 Joseph Myers <joseph@codesourcery.com>
8060
8061 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8062 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8063 [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
8064 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
8065 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8066 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8067 [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
8068 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8069 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8070 [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
8071 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
8072 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
8073 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8074 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8075 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8076 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8077 [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
8078 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8079 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8080 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
8081 [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
8082 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8083 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8084 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
8085 [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
8086 Remove conditional code.
8087 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8088 [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
8089 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8090 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8091 [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
8092 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8093 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
8094 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8095 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8096 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8097 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8098 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8099
8100 2016-02-24 Marko Myllynen <myllynen@redhat.com>
8101
8102 * NEWS (2.23): Fix typo in bug 19048 text.
8103
8104 2016-02-24 Carlos O'Donell <carlos@redhat.com>
8105
8106 [BZ #14259]
8107 * Makeconfig: Rename msgcatdir to localedir.
8108 Rename inst_msgcatdir to inst_localedir.
8109 * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
8110 * config.make.in: Add localedir.
8111 * elf/Makefile ($(objpfx)sotruss): Use localedir.
8112 (ldd-rewrite): Likewise.
8113 * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
8114 (install-others): Use inst_localedir.
8115 (CPPFLAGS): Use localedir.
8116 * locale/Makefile (locale-CPPFLAGS): Likewise.
8117 * po/Makefile (mo-installed): Use inst_localedir.
8118
8119 [BZ #19575]
8120 * localedata/charmaps/GB18030: Update comments regarding PAU to
8121 non-PUA mappings.
8122
8123 2016-02-24 Joseph Myers <joseph@codesourcery.com>
8124
8125 * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
8126 test for header.
8127 * sysdeps/unix/sysv/linux/configure: Regenerated.
8128 * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
8129 * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
8130 Remove conditional code.
8131 [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
8132
8133 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
8134 Define to 3.2.0.
8135 (arch_minimum_kernel): Likewise.
8136 * sysdeps/unix/sysv/linux/configure: Regenerated.
8137 * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
8138 Define to 2.6.32.
8139 * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
8140 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
8141 (arch_minimum_kernel): Define to 2.6.32.
8142 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
8143 * README: Document Linux 3.2 requirement.
8144 * manual/install.texi (Linux): Document Linux 3.2 headers
8145 requirement.
8146 * INSTALL: Regenerated.
8147
8148 2016-02-24 Andreas Schwab <schwab@suse.de>
8149
8150 * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
8151 if !NO_LONG_DOUBLE.
8152
8153 2016-02-22 Roland McGrath <roland@hack.frob.com>
8154
8155 * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
8156 fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
8157
8158 2016-02-22 Dmitry V. Levin <ldv@altlinux.org>
8159
8160 [BZ #19512]
8161 * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
8162
8163 2016-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
8164
8165 * posix/tst-dir.c: Include libc-internal.h.
8166
8167 2016-02-20 Florian Weimer <fweimer@redhat.com>
8168
8169 [BZ #19056]
8170 * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
8171 * manual/filesys.texi (Reading/Closing Directory): Mention
8172 deprecaion.
8173 * posix/tst-dir.c (main): Disable deprecation warning in test.
8174
8175 2016-02-19 H.J. Lu <hongjiu.lu@intel.com>
8176
8177 [BZ #19679]
8178 * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
8179 Renamed to ...
8180 (DL_RUNTIME_UNALIGNED_VEC_SIZE): This. Set to 8.
8181 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
8182 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This. Updated.
8183 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
8184 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
8185 * sysdeps/x86_64/dl-trampoline.h
8186 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
8187 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
8188
8189 2016-02-19 Mark Wielaard <mjw@redhat.com>
8190
8191 * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
8192
8193 2016-02-19 Mark Wielaard <mjw@redhat.com>
8194
8195 * elf/elf.h (R_386_GOT32X): New.
8196 (R_386_NUM): Update.
8197 (R_X86_64_GOTPCRELX: New.
8198 (R_X86_64_REX_GOTPCRELX): New.
8199 (R_X86_64_NUM): Update.
8200
8201 2016-02-19 Mike Frysinger <vapier@gentoo.org>
8202
8203 * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
8204
8205 2016-02-19 Carlos O'Donell <carlos@systemhalted.org>
8206
8207 * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
8208 assign attr->stackaddr to it, and adjust it down when
8209 _STACK_GROWS_UP. Change all attr->stackaddr to stackaddr.
8210 [_STACK_GROWS_UP]: Delete assert.
8211 * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
8212 Implement stack grows up logic.
8213 * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
8214 stack grows up logic.
8215
8216 2016-02-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8217
8218 * NEWS: Update with 2.24 template.
8219
8220 2016-02-19 Joseph Myers <joseph@codesourcery.com>
8221
8222 [BZ #19678]
8223 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
8224 Ensure +0.0 is returned when taking the next value below the least
8225 positive value.
8226
8227 2016-02-19 Florian Weimer <fweimer@redhat.com>
8228
8229 * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
8230 available. Do not define NO_THREADS.
8231 * malloc/malloc.c: Do not check NO_THREADS.
8232 * malloc/arena.c: Likewise.
8233
8234 2016-02-19 Florian Weimer <fweimer@redhat.com>
8235
8236 * malloc/malloc.c (__libc_mallinfo): Update comment.
8237 (struct malloc_par): Remove max_total_mem member, it was always 0.
8238 (int_mallinfo): Store 0 into usmblks (no functional change).
8239 * malloc/hooks.c (struct malloc_state): Document that
8240 max_total_mem is always 0.
8241 * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
8242 always 0.
8243 * manual/memory.texi (Statistics of Malloc): Likewise.
8244
8245 2016-02-19 Florian Weimer <fweimer@redhat.com>
8246
8247 * malloc/malloc.c (sysmalloc): Do not update arena_max.
8248 * malloc/arena.c (arena_max): Remove.
8249 (heap_trim, _int_new_arena): Do not update arena_max.
8250
8251 2016-02-19 Florian Weimer <fweimer@redhat.com>
8252
8253 * resolv/res_init.c (res_ninit): Update comment.
8254
8255 2016-02-19 Florian Weimer <fweimer@redhat.com>
8256
8257 [BZ #19505]
8258 * posix/spawn_int.h: Add headers and include guard.
8259 (__spawn_valid_fd): New function.
8260 * posix/spawn_faction_addopen.c
8261 (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
8262 * posix/spawn_faction_addclose.c
8263 (posix_spawn_file_actions_addclose): Likewise.
8264 * posix/spawn_faction_adddup2.c
8265 (posix_spawn_file_actions_adddup2): Likewise. Add check for
8266 second file descriptor.
8267 * posix/spawn_valid_fd.c: New file.
8268 * posix/tst-posix_spawn-fd.c: New file.
8269 * posix/Makefile (routines): Add spawn_valid_fd.
8270 (tests): Add tst-posix_spawn-fd.
8271
8272 2016-02-19 Florian Weimer <fweimer@redhat.com>
8273
8274 * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
8275 (do_test): Limit the number of arenas, so that we can use fewer
8276 outer threads. Limit timeout to 3 seconds, in preparation for a
8277 larger TIMEOUT value.
8278
8279 2016-02-19 Joseph Myers <joseph@codesourcery.com>
8280
8281 [BZ #19674]
8282 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
8283 sign in overflowing and underflowing results when overflow or
8284 underflow is detected early. Include sign in result before rather
8285 than after scaling.
8286
8287 [BZ #19603]
8288 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
8289 (__ieee754_remainderl): Adjust sign of integer version of low part
8290 when taking absolute value of high part.
8291 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
8292 * math/libm-test.inc (remainder_test_data): Add another test.
8293 (remquo_test_data): Likewise.
8294
8295 2016-02-18 Joseph Myers <joseph@codesourcery.com>
8296
8297 [BZ #19602]
8298 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
8299 equal high parts and both low parts zero specially.
8300 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
8301 * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
8302 Add test-fmodl-ldbl-128ibm.
8303
8304 [BZ #19595]
8305 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
8306 common logic for all cases of shifting subnormal results. Do not
8307 insert sign bit in shifted mantissa. Always pass -1023 as biased
8308 exponent to ldbl_insert_mantissa in subnormal case.
8309
8310 [BZ #19594]
8311 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
8312 on high and low parts then adjust result and use
8313 ldbl_canonicalize_int if needed.
8314
8315 [BZ #19593]
8316 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
8317 on high part and __floor or __ceil on low part then use
8318 ldbl_canonicalize_int if needed.
8319
8320 [BZ #19592]
8321 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
8322 high and low parts then use ldbl_canonicalize_int if needed.
8323
8324 [BZ #17899]
8325 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
8326 New function.
8327 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
8328 on high and low parts then use ldbl_canonicalize_int if needed.
8329
8330 2016-02-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8331
8332 * configure: Regenerated.
8333
8334 * po/libc.pot: Regenerated.
8335
8336 * po/be.po: Updated translation.
8337 * po/bg.po: Likewise.
8338 * po/ca.po: Likewise.
8339 * po/cs.po: Likewise.
8340 * po/da.po: Likewise.
8341 * po/el.po: Likewise.
8342 * po/eo.po: Likewise.
8343 * po/es.po: Likewise.
8344 * po/fi.po: Likewise.
8345 * po/fr.po: Likewise.
8346 * po/gl.po: Likewise.
8347 * po/hr.po: Likewise.
8348 * po/hu.po: Likewise.
8349 * po/ia.po: Likewise.
8350 * po/id.po: Likewise.
8351 * po/it.po: Likewise.
8352 * po/ja.po: Likewise.
8353 * po/lt.po: Likewise.
8354 * po/nb.po: Likewise.
8355 * po/nl.po: Likewise.
8356 * po/pt_BR.po: Likewise.
8357 * po/rw.po: Likewise.
8358 * po/sk.po: Likewise.
8359 * po/sl.po: Likewise.
8360 * po/sv.po: Likewise.
8361 * po/tr.po: Likewise.
8362 * po/zh_CN.po: Likewise.
8363 * po/zh_TW.po: Likewise.
8364
8365 * version.h (RELEAES): Set to "development".
8366 (VERSION): Set to 2.23.90.
8367
8368 * version.h (RELEASE): Set to "stable".
8369 (VERSION): Set to 2.23.
8370 * include/feature.h (__GLIBC_MINOR__): Set to 23.
8371
8372 * NEWS: Updated fixed bugs.
8373
8374 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
8375 Wilco Dijkstra <wdijkstr@arm.com>
8376
8377 [BZ #19462]
8378 * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
8379 (_STRING_INLINE_unaligned): This.
8380 * include/string.h: Include <string_private.h>.
8381 * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
8382 _STRING_INLINE_unaligned.
8383 * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
8384 (_STRING_INLINE_unaligned): New.
8385 * sysdeps/aarch64/string_private.h: New file.
8386 * sysdeps/generic/string_private.h: Likewise.
8387 * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
8388 * sysdeps/s390/string_private.h: Likewise.
8389 * sysdeps/x86/string_private.h: Likewise.
8390 * sysdeps/m68k/m680x0/m68020/bits/string.h
8391 (_STRING_ARCH_unaligned): Renamed to ...
8392 (_STRING_INLINE_unaligned): This.
8393 * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
8394 to ...
8395 (_STRING_INLINE_unaligned): This.
8396 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
8397 to ...
8398 (_STRING_INLINE_unaligned): This.
8399 * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
8400 to ...
8401 (_STRING_INLINE_unaligned): This.
8402
8403 2016-02-17 Andrew Senkevich <andrew.senkevich@intel.com>
8404 H.J. Lu <hongjiu.lu@intel.com>
8405
8406 [BZ #19590]
8407 * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
8408 relocation.
8409
8410 2016-02-15 Carlos O'Donell <carlos@redhat.com>
8411
8412 [BZ #18665]
8413 * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
8414 *herrno_p.
8415 (gaih_getanswer): Document functional behviour. Return tryagain
8416 if any result is tryagain.
8417 * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
8418 when freed.
8419 * resolv/res_send.c: Add copyright text.
8420 (__libc_res_nsend): Document that MAXPACKET is expected.
8421 (send_vc): Document. Remove buffer reuse.
8422 (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
8423 size of the buffer. Add Dprint for truncated UDP buffer.
8424
8425 2016-02-14 Carlos O'Donell <carlos@redhat.com>
8426
8427 * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
8428 4.1.3, and sed 4.2.2. Remove po2test.sed comments.
8429 * INSTALL: Regenerate.
8430
8431 2016-02-14 Jakub Jelinek <jakub@redhat.com>
8432 Jonathan Wakely <jwakely@redhat.com>
8433 Carlos O'Donell <carlos@redhat.com>
8434
8435 [BZ 19439]
8436 * math/Makefile (tests): Add test-math-isinff.
8437 (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
8438 * math/bits/mathcalls.h [__USE_MISC]: Use
8439 '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
8440 functions not in C++11 and which don't conflict e.g. isinff,
8441 isinfl etc.
8442 * math/test-math-isinff.cc: New file.
8443
8444 2016-02-12 Florian Weimer <fweimer@redhat.com>
8445
8446 * misc/bug18240.c (do_test): Set RLIMIT_AS.
8447
8448 2016-02-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
8449
8450 [BZ #19529]
8451 * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
8452
8453 2016-02-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8454
8455 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
8456
8457 2016-02-01 Joseph Myers <joseph@codesourcery.com>
8458
8459 [BZ #19550]
8460 * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
8461 * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
8462 * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
8463 * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
8464 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
8465 New syscall entry.
8466 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
8467 New syscall entry.
8468 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
8469 syscall entry.
8470
8471 2016-01-27 Paul Eggert <eggert@cs.ucla.edu>
8472
8473 [BZ #18240]
8474 * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
8475 unsigned int wraparound.
8476
8477 2016-01-27 Florian Weimer <fweimer@redhat.com>
8478
8479 [BZ #18240]
8480 * misc/bug18240.c: New test.
8481 * misc/Makefile (tests): Add it.
8482
8483 2016-01-28 Steve Ellcey <sellcey@imgtec.com>
8484 Joseph Myers <joseph@codesourcery.com>
8485
8486 * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
8487 load in branch delay slot when less than a word of input left.
8488
8489 2016-01-27 Andreas Schwab <schwab@suse.de>
8490
8491 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
8492 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
8493 * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
8494 * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
8495
8496 2016-01-26 David S. Miller <davem@davemloft.net>
8497
8498 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
8499
8500 2016-01-25 David S. Miller <davem@davemloft.net>
8501
8502 * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
8503 __sqrtl_finite.
8504 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
8505 instead using versioned_symbol.
8506 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
8507 of entries.
8508
8509 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
8510 __sqrtl_finite to GLIBC_2.23
8511
8512 2016-01-25 Ricchard Henderson <rth@redhat.com>
8513
8514 * sysdeps/alpha/fpu/libm-test-ulps: Update.
8515
8516 2016-01-25 Andreas Schwab <schwab@suse.de>
8517
8518 [BZ #17514]
8519 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
8520 <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
8521 * nptl/Makefile (tests): Add tst-mutex-errorcheck.
8522 * nptl/tst-mutex-errorcheck.c: New file.
8523
8524 2016-01-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
8525
8526 [BZ #18560]
8527 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
8528 (IPCOP_semop): Likewise.
8529 (IPCOP_semget): Likewise.
8530 (IPCOP_semctl): Likewise.
8531 (IPCOP_msgsnd): Likewise.
8532 (IPCOP_msgrcv): Likewise.
8533 (IPCOP_msgget): Likewise.
8534 (IPCOP_msgctl): Likewise.
8535 (IPCOP_shmat): Likewise.
8536 (IPCOP_shmdt): Likewise.
8537 (IPCOP_shmget): Likewise.
8538 (IPCOP_shmctl): Likewise.
8539
8540 2016-01-22 Stefan Liebler <stli@linux.vnet.ibm.com>
8541
8542 * string/tst-endian.c: Include <libc-internal.h>.
8543 (do_test): Ignore tautological-compare warnings around
8544 "htobeXX (beXXtoh (i)) != i" and
8545 "htoleXX (leXXtoh (i)) != i" if-statements.
8546
8547 2016-01-24 David S. Miller <davem@davemloft.net>
8548
8549 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
8550 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
8551 alias.
8552 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
8553 __sqrtl_finite.
8554
8555 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8556
8557 2016-01-25 Maciej W. Rozycki <macro@imgtec.com>
8558
8559 * sysdeps/unix/sysv/linux/mips/configure.ac: Set
8560 `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
8561 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
8562
8563 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
8564
8565 * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
8566 (thread_func): Use new function to simplify barrier check.
8567 (do_test): Use new function to simplify checking barrier exit
8568 code, and actually join the child thread.
8569
8570 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
8571
8572 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
8573 semicolon.
8574 (__libc_tend): Likewise.
8575 (__libc_tabort): Likewise.
8576
8577 2016-01-22 Chung-Lin Tang <cltang@codesourcery.com>
8578
8579 * sysdeps/nios2/libm-test-ulps: Update.
8580 * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
8581 (__gtsf2): Likewise.
8582 (__unorddf2): Likewise.
8583 (__unordsf2): Likewise.
8584 (__ledf2): Likewise.
8585
8586 2016-01-20 Chris Metcalf <cmetcalf@ezchip.com>
8587
8588 * nis/nis_table.c (__follow_path): Disable diagnostic for
8589 uninitialized variable that is a false positive for gcc 4.7.
8590 * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
8591
8592 2016-01-20 Roland McGrath <roland@hack.frob.com>
8593
8594 * sysdeps/nacl/lowlevellock-futex.h
8595 (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
8596 Always evaluate PRIVATE argument.
8597
8598 2016-01-20 Paul Pluzhnikov <ppluzhnikov@google.com>
8599
8600 [BZ #19490]
8601 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
8602 (pthread_cond_broadcast): Use ENTRY/END
8603 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
8604 (pthread_cond_signal): Likewise.
8605 * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
8606 Likewise.
8607 * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
8608 Likewise.
8609 * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
8610 Likewise.
8611
8612 2016-01-20 Joseph Myers <joseph@codesourcery.com>
8613
8614 * sysdeps/ieee754/dbl-64/s_finite.c
8615 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
8616 compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
8617 SHLIB_COMPAT condition for libm, not GLIBC_2_0.
8618 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
8619 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
8620
8621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
8622 (__gtsf2): Add as optional for libc.so.
8623 (__unordsf2): Likewise.
8624 (__signbit): Remove for libc.so.
8625 (__signbitl): Likewise.
8626
8627 2016-01-19 Stefan Liebler <stli@linux.vnet.ibm.com>
8628
8629 * iconvdata/bug-iconv11.c (test_ibm93x):
8630 Use %zu printf format specifier for size_t argument.
8631
8632 2016-01-19 Joseph Myers <joseph@codesourcery.com>
8633
8634 * math/gen-libm-test.pl (parse_ulps): Do not reduce
8635 already-recorded ulps.
8636 * sysdeps/arm/libm-test-ulps: Regenerated.
8637 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8638 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8639 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8640
8641 2016-01-19 Andrew Senkevich <andrew.senkevich@intel.com>
8642 Paul Pluzhnikov <ppluzhnikov@google.com>
8643
8644 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
8645 assembler not supporting AVX-512.
8646
8647 2016-01-18 Stefan Liebler <stli@linux.vnet.ibm.com>
8648
8649 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8650
8651 2016-01-18 Joseph Myers <joseph@codesourcery.com>
8652
8653 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
8654 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8655
8656 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8657
8658 * sysdeps/arm/libm-test-ulps: Regenerated.
8659
8660 2016-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8661
8662 [BZ #19451]
8663 * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
8664
8665 2016-01-15 Stefan Liebler <stli@linux.vnet.ibm.com>
8666
8667 [BZ #19486]
8668 * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
8669 * sysdeps/generic/fix-fp-int-convert-overflow.h
8670 (FIX_LDBL_LONG_CONVERT_OVERFLOW,
8671 FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
8672 * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
8673 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
8674 Likewise.
8675 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
8676 Avoid conversions to long int where inexact exceptions
8677 could be raised.
8678 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
8679 Likewise.
8680 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
8681 Avoid conversions to long long int where inexact exceptions
8682 could be raised.
8683 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
8684 Likewise.
8685
8686 2016-01-17 Mike Frysinger <vapier@gentoo.org>
8687
8688 * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
8689 * configure: Regenerated.
8690
8691 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
8692
8693 * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
8694
8695 2016-01-16 Mike Frysinger <vapier@gentoo.org>
8696
8697 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
8698 outside of comment.
8699
8700 2016-01-15 Torvald Riegel <triegel@redhat.com>
8701
8702 * nptl/tst-barrier1.c: Add description on first line.
8703 * nptl/tst-barrier2.c: Likewise.
8704 * nptl/tst-barrier3.c: Likewise.
8705 * nptl/tst-barrier4.c: Likewise.
8706 * nptl/tst-barrier5.c: Likewise.
8707
8708 2016-01-15 Torvald Riegel <triegel@redhat.com>
8709
8710 [BZ #18868]
8711 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
8712
8713 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
8714
8715 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
8716 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
8717 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
8718 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
8719 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
8720 * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
8721 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8722 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8723 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8724 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8725 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8726
8727 2016-01-15 Torvald Riegel <triegel@redhat.com>
8728
8729 [BZ #13065]
8730 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
8731 new implementation.
8732 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
8733 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
8734 * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
8735 (BARRIER_IN_THRESHOLD): New macro.
8736 * nptl/pthread_barrierattr_setpshared.c
8737 (pthread_barrierattr_setpshared): Clean up.
8738 * nptl/tst-barrier4.c: Correct comment.
8739 * nptl/tst-barrier5.c: New file.
8740 * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
8741 (gen-as-const-headers): Remove lowlevelbarrier.sym.
8742 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
8743 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
8744 * nptl/lowlevelbarrier.sym: Remove.
8745 * nptl/DESIGN-barrier.txt: Remove.
8746 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
8747 * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
8748 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
8749 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
8750 error.
8751 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
8752 implementation.
8753
8754 2016-01-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
8755
8756 * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
8757 (do_child): Mask SIGRTMIN while thr is running.
8758
8759 2016-01-15 Martin Sebor <msebor@redhat.com>
8760
8761 [BZ #19432]
8762 * iconvdata/Makefile: Add bug-iconv11.
8763 * iconvdata/bug-iconv11.c: New test.
8764 * iconvdata/ibm930.c: Do not reject redundant shift sequences.
8765 * iconvdata/ibm933.c: Same.
8766 * iconvdata/ibm935.c: Same.
8767 * iconvdata/ibm937.c: Same.
8768 * iconvdata/ibm939.c: Same.
8769
8770 2016-01-15 Martin Sebor <msebor@redhat.com>
8771
8772 [BZ #19443]
8773 * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
8774 [DEBUG] (_ufc_set_bits): Declare used.
8775 * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
8776 [DEBUG] (print_all): Declare used.
8777 * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
8778 operands of the ternary ?: expression to target type.
8779 * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
8780 calling the undeclared abort.
8781 * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
8782
8783 2016-01-15 Martin Sebor <msebor@redhat.com>
8784
8785 [BZ #18755]
8786 * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
8787 warnings.
8788 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
8789 (__gai_create_helper_thread): Same.
8790 * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
8791 * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
8792 to suppress -Wmaybe-uninitialized warnings.
8793
8794 2016-01-15 H.J. Lu <hongjiu.lu@intel.com>
8795
8796 [BZ #19465]
8797 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
8798 inside if.
8799 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8800 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8801 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8802
8803 2016-01-14 H.J. Lu <hongjiu.lu@intel.com>
8804
8805 [BZ #19466]
8806 * time/tst-mktime2.c (time_t_max): Removed.
8807 (time_t_min): Likewise.
8808 (TYPE_SIGNED): New.
8809 (TYPE_MINIMUM): Likewise.
8810 (TYPE_MAXIMUM): Likewise.
8811 (TIME_T_MIN): Likewise.
8812 (TIME_T_MAX): Likewise.
8813 (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
8814 and TIME_T_MIN.
8815 (do_test): Likewise.
8816
8817 2016-01-14 Amit Pawar <amit.pawar@amd.com>
8818
8819 [BZ #19467]
8820 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
8821 index_Fast_Unaligned_Load flag for Excavator family CPUs.
8822
8823 2016-01-02 Marcin Kościelnicki <koriakin@0x04.net>
8824
8825 * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
8826
8827 2016-01-13 Carlos O'Donell <carlos@redhat.com>
8828
8829 * benchtests/Makefile (PYTHON): Define.
8830 (bench-func): Use $(PYTHON) to run python scripts.
8831 ($(objpfx)bench-%.c): Likewise.
8832
8833 2016-01-13 Flavio Cruz <flaviocruz@gmail.com>
8834
8835 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
8836 leading slash when `file_name' is "/".
8837
8838 2016-01-12 Joseph Myers <joseph@codesourcery.com>
8839
8840 * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
8841 * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
8842 Likewise.
8843 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
8844 Likewise.
8845 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
8846 Likewise.
8847 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
8848 enum constant and macro.
8849 (PTRACE_SETSIGMASK): Likewise.
8850 (PTRACE_SECCOMP_GET_FILTER): Likewise.
8851 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
8852 (PTRACE_GETSIGMASK): Likewise.
8853 (PTRACE_SETSIGMASK): Likewise.
8854 (PTRACE_SECCOMP_GET_FILTER): Likewise.
8855 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
8856 Likewise.
8857 (PTRACE_SETSIGMASK): Likewise.
8858 (PTRACE_SECCOMP_GET_FILTER): Likewise.
8859 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
8860 (PTRACE_GETSIGMASK): Likewise.
8861 (PTRACE_SETSIGMASK): Likewise.
8862 (PTRACE_SECCOMP_GET_FILTER): Likewise.
8863 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
8864 Likewise.
8865 (PTRACE_SETSIGMASK): Likewise.
8866 (PTRACE_SECCOMP_GET_FILTER): Likewise.
8867 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
8868 Likewise.
8869 (PTRACE_SETSIGMASK): Likewise.
8870 (PTRACE_SECCOMP_GET_FILTER): Likewise.
8871 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
8872 Likewise.
8873 (PTRACE_SETSIGMASK): Likewise.
8874 (PTRACE_SECCOMP_GET_FILTER): Likewise.
8875
8876 2016-01-11 Jonathan Wakely <jwakely.gcc@gmail.com>
8877 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8878
8879 [BZ #19439]
8880 * math/bits/mathcalls.h
8881 [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
8882 prototype.
8883 [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
8884
8885 2016-01-11 Andreas Schwab <schwab@suse.de>
8886
8887 [BZ #19253]
8888 * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
8889 cache when TZDEFRULES was used.
8890 * time/tst-tzname.c: New file.
8891 * time/Makefile (test): Add tst-tzname.
8892 (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
8893 * timezone/Makefile (test-zones): Add $(posixrules-file).
8894 ($(testdata)/$(posixrules-file)): New rule.
8895
8896 2016-01-10 Paul Eggert <eggert@cs.ucla.edu>
8897
8898 Fix doc quoting problems with Texinfo 5
8899 Without this change, in the info file output, Texinfo 5 quotes code
8900 in text with undirected single quotes 'like this' and generates
8901 code examples that with many PDF readers cannot be cut out of PDFs
8902 and pasted into code.
8903 * manual/libc.texinfo: Configure the libc manual like the GNU
8904 Emacs manual, by using @documentencoding and setting
8905 txicodequoteundirected and txicodequotebacktick. This way,
8906 Texinfo 5 quotes code in text with directed single quotes ‘like
8907 this’ and produces examples that can be cut out of PDFs. This
8908 change causes Texinfo 5 to generate info files that contain UTF-8
8909 characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
8910 '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
8911
8912 2016-01-08 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8913
8914 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
8915 __libc_tabort, __libc_tend): New wrappers that enforce compiler
8916 barriers to their respective compiler built-ins.
8917 * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
8918 ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
8919 * sysdeps/powerpc/sysdep.h: Likewise.
8920 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
8921 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
8922 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
8923
8924 2016-01-08 Marko Myllynen <myllynen@redhat.com>
8925
8926 * scripts/config.guess: Revert previous shebang change.
8927 * scripts/config.sub: Likewise.
8928 * scripts/mkinstalldirs: Likewise.
8929
8930 2016-01-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
8931
8932 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
8933 PPC_FEATURE2_HAS_IEEE128.
8934 * sysdeps/powerpc/dl-procinfo.c:
8935 (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
8936
8937 2016-01-08 John David Anglin <danglin@gcc.gnu.org>
8938
8939 [BZ #19415]
8940 * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
8941 (elf_machine_resolve): New. Return address of _dl_runtime_resolve.
8942 (_dl_lookup_address): Rewrite using function resolver trampoline.
8943 * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
8944 two bits in address.
8945
8946 2016-01-07 Mike Frysinger <vapier@gentoo.org>
8947
8948 * longlong.h: Change !__SHMEDIA__ to
8949 (!defined (__SHMEDIA__) || !__SHMEDIA__).
8950 Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
8951
8952 2016-01-07 Daniel Jacobowitz <dan@codesourcery.com>
8953 Joseph Myers <joseph@codesourcery.com>
8954 Mark Shinwell <shinwell@codesourcery.com>
8955 Andrew Stubbs <ams@codesourcery.com>
8956 Rich Felker <dalias@libc.org>
8957
8958 * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
8959
8960 2016-01-07 Richard Henderson <rth@redhat.com>
8961
8962 * longlong.h [__alpha] (umul_ppmm): Disable for c++.
8963
8964 2016-01-07 Mike Frysinger <vapier@gentoo.org>
8965
8966 * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
8967 __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
8968 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
8969 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
8970 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
8971
8972 2016-01-07 Paul Eggert <eggert@cs.ucla.edu>
8973 Joseph Myers <joseph@codesourcery.com>
8974
8975 * timezone/private.h: Update from tzcode 2015g.
8976 * timezone/tzfile.h: Likewise.
8977 * timezone/tzselect.ksh: Likewise.
8978 * timezone/zdump.c: Likewise.
8979 * timezone/zic.c: Likewise.
8980 * timezone/ialloc.c: Remove file.
8981 * timezone/scheck.c: Likewise.
8982 * timezone/Makefile (extra-objs): Remove variable.
8983 ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
8984 (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
8985 -Wno-maybe-uninitialized.
8986 (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
8987 (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
8988 (CFLAGS-ialloc.c): Remove variable.
8989 (CFLAGS-scheck.c): Likewise.
8990 * timezone/README: Update list of files from tzcode.
8991
8992 2016-01-07 Khem Raj <raj.khem@gmail.com>
8993
8994 * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
8995 instead of __fxprintf when _LIBC is undefined.
8996
8997 2016-01-07 Marko Myllynen <myllynen@redhat.com>
8998
8999 * catgets/test-gencat.sh: Remove space after shebang.
9000 * conform/GlibcConform.pm: Likewise.
9001 * conform/check-header-lists.sh: Likewise.
9002 * conform/conformtest.pl: Likewise.
9003 * conform/linknamespace.pl: Likewise.
9004 * conform/list-header-symbols.pl: Likewise.
9005 * debug/catchsegv.sh: Likewise.
9006 * elf/genrtldtbl.awk: Likewise.
9007 * elf/tst-pathopt.sh: Likewise.
9008 * elf/tst-rtld-load-self.sh: Likewise.
9009 * grp/tst_fgetgrent.sh: Likewise.
9010 * iconvdata/gen-8bit-gap-1.sh: Likewise.
9011 * iconvdata/gen-8bit-gap.sh: Likewise.
9012 * iconvdata/gen-8bit.sh: Likewise.
9013 * iconvdata/run-iconv-test.sh: Likewise.
9014 * intl/tst-gettext.sh: Likewise.
9015 * intl/tst-gettext2.sh: Likewise.
9016 * intl/tst-gettext4.sh: Likewise.
9017 * intl/tst-gettext6.sh: Likewise.
9018 * intl/tst-translit.sh: Likewise.
9019 * io/ftwtest-sh: Likewise.
9020 * libio/test-freopen.sh: Likewise.
9021 * locale/gen-translit.pl: Likewise.
9022 * malloc/tst-mtrace.sh: Likewise.
9023 * manual/check-safety.sh: Likewise.
9024 * manual/libc-texinfo.sh: Likewise.
9025 * manual/tsort.awk: Likewise.
9026 * manual/xtract-typefun.awk: Likewise.
9027 * nptl/tst-cancel-wrappers.sh: Likewise.
9028 * nptl/tst-tls6.sh: Likewise.
9029 * posix/globtest.sh: Likewise.
9030 * posix/tst-getconf.sh: Likewise.
9031 * posix/wordexp-tst.sh: Likewise.
9032 * scripts/check-c++-types.sh: Likewise.
9033 * scripts/check-local-headers.sh: Likewise.
9034 * scripts/config.guess: Likewise.
9035 * scripts/config.sub: Likewise.
9036 * scripts/cpp: Likewise.
9037 * scripts/cross-test-ssh.sh: Likewise.
9038 * scripts/documented.sh: Likewise.
9039 * scripts/evaluate-test.sh: Likewise.
9040 * scripts/gen-libc-abis: Likewise.
9041 * scripts/gen-sorted.awk: Likewise.
9042 * scripts/list-fixed-bugs.py: Likewise.
9043 * scripts/merge-test-results.sh: Likewise.
9044 * scripts/mkinstalldirs: Likewise.
9045 * scripts/rellns-sh: Likewise.
9046 * scripts/test-installation.pl: Likewise.
9047 * scripts/update-copyrights: Likewise.
9048 * stdio-common/tst-printf.sh: Likewise.
9049 * stdio-common/tst-unbputc.sh: Likewise.
9050 * stdlib/tst-fmtmsg.sh: Likewise.
9051 * stdlib/tst-setcontext3.sh: Likewise.
9052 * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
9053 * sysdeps/unix/make-syscalls.sh: Likewise.
9054
9055 2016-01-06 John David Anglin <dave.anglin@bell.net>
9056
9057 * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
9058 asm stw with atomic_exchange_rel. Add explanatory comment.
9059 * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
9060 Likewise.
9061
9062 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
9063
9064 [BZ #19122]
9065 * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
9066 * sysdeps/generic/dl-unistd.h: New file.
9067 * sysdeps/mach/hurd/dl-unistd.h: Likewise.
9068
9069 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
9070
9071 [BZ #19122]
9072 * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
9073 * sysdeps/generic/dl-mman.h: New file.
9074 * sysdeps/mach/hurd/dl-mman.h: Likewise.
9075
9076 2016-01-05 Joseph Myers <joseph@codesourcery.com>
9077
9078 * manual/texinfo.tex: Update to version 2016-01-04.21 with
9079 trailing whitespace removed.
9080 * scripts/config.guess: Update to version 2016-01-01.
9081 * scripts/config.sub: Update to version 2016-01-01.
9082 * scripts/move-if-change: Update from gnulib.
9083
9084 2016-01-04 Anton Blanchard <anton@samba.org>
9085
9086 * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
9087 for array indices.
9088 * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
9089
9090 2016-01-04 Joseph Myers <joseph@codesourcery.com>
9091
9092 * NEWS: Update copyright dates.
9093 * catgets/gencat.c (print_version): Likewise.
9094 * csu/version.c (banner): Likewise.
9095 * debug/catchsegv.sh: Likewise.
9096 * debug/pcprofiledump.c (print_version): Likewise.
9097 * debug/xtrace.sh (do_version): Likewise.
9098 * elf/ldconfig.c (print_version): Likewise.
9099 * elf/ldd.bash.in: Likewise.
9100 * elf/pldd.c (print_version): Likewise.
9101 * elf/sotruss.sh: Likewise.
9102 * elf/sprof.c (print_version): Likewise.
9103 * iconv/iconv_prog.c (print_version): Likewise.
9104 * iconv/iconvconfig.c (print_version): Likewise.
9105 * locale/programs/locale.c (print_version): Likewise.
9106 * locale/programs/localedef.c (print_version): Likewise.
9107 * login/programs/pt_chown.c (print_version): Likewise.
9108 * malloc/memusage.sh (do_version): Likewise.
9109 * malloc/memusagestat.c (print_version): Likewise.
9110 * malloc/mtrace.pl: Likewise.
9111 * manual/libc.texinfo: Likewise.
9112 * nptl/version.c (banner): Likewise.
9113 * nscd/nscd.c (print_version): Likewise.
9114 * nss/getent.c (print_version): Likewise.
9115 * nss/makedb.c (print_version): Likewise.
9116 * posix/getconf.c (main): Likewise.
9117 * scripts/test-installation.pl: Likewise.
9118 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
9119
9120 * All files with FSF copyright notices: Update copyright dates
9121 using scripts/update-copyrights.
9122 * intl/plural.c: Regenerated.
9123 * locale/programs/charmap-kw.h: Likewise.
9124 * locale/programs/locfile-kw.h: Likewise.
9125
9126 2016-01-02 Helge Deller <deller@gmx.de>
9127
9128 [BZ #19285]
9129 * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
9130 (MAP_HUGETLB, MCL_ONFAULT): Likewise.
9131 (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
9132 (MADV_xxK_PAGES): Remove.
9133
9134 2016-01-01 Mike Frysinger <vapier@gentoo.org>
9135
9136 [BZ #15421]
9137 * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
9138 [BUILD_LGAMMA]: Wrap all code by define. Re-indent sub-preprocessor.
9139 * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
9140 * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
9141
9142 2015-12-30 Dmitry V. Levin <ldv@altlinux.org>
9143
9144 [BZ #19408]
9145 * sysdeps/unix/sysv/linux/personality.c: New file.
9146 * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
9147 * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
9148 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
9149 (sysdep_routines): Add personality.
9150 (tests): Add tst-personality.
9151 * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
9152 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
9153 * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
9154 * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
9155 * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
9156 * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
9157 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
9158 Likewise.
9159 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
9160 Likewise.
9161 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
9162 Likewise.
9163 * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
9164 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
9165 Likewise.
9166
9167 2015-12-30 Aurelien Jarno <aurelien@aurel32.net>
9168
9169 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
9170 (PATH_ARM_SYSTYPE): Remove.
9171 (PATH_CPUINFO): Likewise.
9172 (IO_BASE_FOOTBRIDGE): Likewise.
9173 (IO_SHIFT_FOOTBRIDGE): Likewise.
9174 (struct platform): Likewise.
9175 (init_iosys): Remove compatibility code for 2.4 kernels.
9176 * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
9177
9178 2015-12-29 Florian Weimer <fweimer@redhat.com>
9179
9180 * malloc/tst-malloc-thread-fail.c: New file.
9181 * malloc/Makefile (tests): Add tst-malloc-thread-fail.
9182 (tst-malloc-thread-fail): Link against libpthread.
9183
9184 2015-12-29 Mike Frysinger <vapier@gentoo.org>
9185
9186 * scripts/list-fixed-bugs.py: Import argparse. Call main instead.
9187 (get_parser): New function.
9188 (main): New function.
9189
9190 2015-12-29 Rob Wu <rob@robwu.nl>
9191
9192 [BZ #19369]
9193 * resolv/res_init.c (__res_vinit): Reset defdname before use.
9194
9195 2015-12-29 John David Anglin <danglin@gcc.gnu.org>
9196
9197 [BZ #19270]
9198 * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
9199
9200 2015-12-28 Mike Frysinger <vapier@gentoo.org>
9201
9202 [BZ #15421]
9203 * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
9204
9205 2015-12-23 Torvald Riegel <triegel@redhat.com>
9206
9207 [BZ #13690]
9208 * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
9209 after releasing it.
9210 (__lll_robust_unlock): Likewise.
9211 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
9212 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
9213 (lll_robust_unlock): Likewise.
9214 * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
9215 Prevent warnings in callers.
9216
9217 2015-12-23 Florian Weimer <fweimer@redhat.com>
9218
9219 * malloc/arena.c (list_lock): Update comment.
9220
9221 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
9222
9223 * sysdeps/powerpc/hwcapinfo.c: Export symbol
9224 __parse_hwcap_and_convert_at_platform to libc.a.
9225
9226 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
9227
9228 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
9229 platform and feature support for POWER9.
9230 * sysdeps/powerpc/dl-procinfo.h: Likewise.
9231 * sysdeps/powerpc/powerpc32/power9/Implies: New file.
9232 * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
9233 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
9234 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
9235 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
9236 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
9237 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
9238
9239 2015-12-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
9240
9241 Harmonize generic stdio-lock support with nptl
9242
9243 This fixes build when _IO_funlockfile is a macro, fixes build where
9244 _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
9245 stack unwind.
9246
9247 * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
9248 _IO_release_lock ): Use cleanup attribute on new
9249 _IO_acquire_lock_file variable instead of assuming that
9250 _IO_release_lock will be called.
9251 [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
9252 _IO_acquire_lock_needs_exceptions_enabled.
9253 (_IO_acquire_lock_clear_flags2): New macro.
9254
9255 2015-12-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9256
9257 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
9258
9259 2015-12-21 Florian Weimer <fweimer@redhat.com>
9260
9261 [BZ #19182]
9262 * malloc/arena.c (list_lock): Document lock ordering requirements.
9263 (free_list_lock): New lock.
9264 (ptmalloc_lock_all): Comment on free_list_lock.
9265 (ptmalloc_unlock_all2): Reinitialize free_list_lock.
9266 (detach_arena): Update comment. free_list_lock is now needed.
9267 (_int_new_arena): Use free_list_lock around detach_arena call.
9268 Acquire arena lock after list_lock. Add comment, including FIXME
9269 about incorrect synchronization.
9270 (get_free_list): Switch to free_list_lock.
9271 (reused_arena): Acquire free_list_lock around detach_arena call
9272 and attached threads counter update. Add two FIXMEs about
9273 incorrect synchronization.
9274 (arena_thread_freeres): Switch to free_list_lock.
9275 * malloc/malloc.c (struct malloc_state): Update comments to
9276 mention free_list_lock.
9277
9278 2015-12-21 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
9279
9280 * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
9281 Remove functions.
9282 (sloww, sloww1): Accept argument to offset quadrant.
9283 (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
9284 quadrant.
9285 (__sin, __cos): Consolidate common code into new functions.
9286 (reduce_sincos_1, do_sincos_1): New functions.
9287 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
9288
9289 * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
9290 code to new functions.
9291 (reduce_sincos_2, do_sincos_2): New functions.
9292 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
9293
9294 * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
9295 common code for sincos.
9296 (__cos) [!IN_SINCOS]: Likewise.
9297 * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
9298 New function.
9299 (__sincos): Use it.
9300
9301 2015-12-20 Aurelien Jarno <aurelien@aurel32.net>
9302
9303 * sysdeps/i386/fpu/libm-test-ulps: Move to ....
9304 * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
9305 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
9306
9307 2015-12-19 Andrew Senkevich <andrew.senkevich@intel.com>
9308
9309 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
9310 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
9311 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
9312 * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
9313 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9314 * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
9315 index_Prefer_No_VZEROUPPER): New feature.
9316 * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
9317 Prefer_No_VZEROUPPER for Knights Landing.
9318
9319 015-12-18 Torvald Riegel <triegel@redhat.com>
9320
9321 * math/atest-exp2.c (mp_exp_m1): Remove.
9322
9323 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9324
9325 * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
9326 syscalls.
9327 (__SYSCALL0): New macro.
9328 (__SYSCALL1): Likewise.
9329 (__SYSCALL2): Likewise.
9330 (__SYSCALL3): Likewise.
9331 (__SYSCALL4): Likewise.
9332 (__SYSCALL5): Likewise.
9333 (__SYSCALL6): Likewise.
9334 (__SYSCALL_CONCAT_X): Likewise.
9335 (__SYSCALL_CONCAT): Likewise.
9336 (__SYSCALL_DIST): Likewise.
9337 (__SYSCALL_CALL): Likewise.
9338
9339 2015-12-17 H.J. Lu <hongjiu.lu@intel.com>
9340
9341 [BZ #19363]
9342 * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
9343
9344 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9345
9346 [BZ #19375]
9347 * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
9348 negative subnormals.
9349
9350 2015-12-16 H.J. Lu <hongjiu.lu@intel.com>
9351
9352 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
9353 (REGISTERS_CLOBBERED_BY_SYSCALL): New.
9354 (INTERNAL_SYSCALL_NCS): Use it.
9355 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
9356
9357 2015-12-16 Florian Weimer <fweimer@redhat.com>
9358
9359 [BZ #19243]
9360 * malloc/arena.c (get_free_list): Remove assert and adjust
9361 reference count handling. Add comment about reused_arena
9362 interaction.
9363 (reused_arena): Add comments abount get_free_list interaction.
9364 * malloc/tst-malloc-thread-exit.c: New file.
9365 * malloc/Makefile (tests): Add tst-malloc-thread-exit.
9366 (tst-malloc-thread-exit): Link against libpthread.
9367
9368 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
9369
9370 [BZ #19367]
9371 * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
9372 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
9373 * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
9374 * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
9375 (index_Prefer_MAP_32BIT_EXEC): Likewise.
9376
9377 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
9378
9379 * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
9380 Silvermont optimizations for Knights Landing.
9381
9382 2015-12-15 Andreas Schwab <schwab@suse.de>
9383
9384 [BZ #17197]
9385 * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
9386 immediately after emitting SI.
9387 * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
9388 * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
9389 * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
9390 * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
9391 * iconvdata/bug-iconv10.c: New file.
9392 * iconvdata/Makefile (tests): Add bug-iconv10.
9393 ($(objpfx)bug-iconv10.out): New rule.
9394
9395 2015-12-15 Florian Weimer <fweimer@redhat.com>
9396
9397 * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
9398 aliasing violation.
9399
9400 2015-12-14 Joseph Myers <joseph@codesourcery.com>
9401
9402 [BZ #18472]
9403 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
9404 for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
9405 conditionals for them.
9406 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
9407 * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
9408 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
9409 sys/kdaemon.h.
9410 * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
9411 compat-only syscall, obsoleted in glibc 2.23.
9412 (create_module): Likewise.
9413 (get_kernel_syms): Likewise.
9414 (query_module): Likewise.
9415 (uselib): Likewise.
9416 * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
9417
9418 2015-12-11 Aurelien Jarno <aurelien@aurel32.net>
9419
9420 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
9421 <linux/version.h>.
9422 [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
9423 conditional code.
9424 (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
9425 and ioshift_name initialization.
9426
9427 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
9428
9429 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
9430 Fix indentation.
9431
9432 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
9433
9434 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
9435
9436 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
9437
9438 * stdlib/strtol_l.c (__strtol_l): Fix indentation.
9439
9440 2015-12-10 Aurelien Jarno <aurelien@aurel32.net>
9441 Jakub Wilk <jwilk@debian.org>
9442
9443 [BZ #19347]
9444 * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
9445 to change the group of the device to the tty group.
9446
9447 2015-12-10 Paul Eggert <eggert@cs.ucla.edu>
9448
9449 Split large string section; add truncation advice
9450 * manual/examples/strncat.c: Remove.
9451 This example was misleading, as the code would have undefined
9452 behavior if "hello" was longer than SIZE. Anyway, the manual
9453 shouldn't encourage strncpy+strncat for this sort of thing.
9454 * manual/string.texi (Copying Strings and Arrays): Split into
9455 three sections Copying Strings and Arrays, Concatenating Strings,
9456 and Truncating Strings, as this section was way too long. All
9457 cross-referenced changed. Add advice about string-truncation
9458 functions. Remove misleading strncat example.
9459
9460 2015-12-10 Carlos O'Donell <carlos@redhat.com>
9461
9462 * manual/nss.texi (NSS Modules Interface): Document
9463 NSS_STATUS_NOTFOUND and SUCCESS.
9464
9465 2015-12-09 Mike FABIAN <mfabian@redhat.com>
9466
9467 [BZ 18568]
9468 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
9469 201505L, for Unicode 8.
9470
9471 2015-12-09 Carlos O'Donell <carlos@redhat.com>
9472
9473 * locale/C-translit.h: Regenerate.
9474
9475 2015-12-09 Mike FABIAN <mfabian@redhat.com>
9476
9477 * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
9478 and U+0153.
9479
9480 2015-12-09 Joseph Myers <joseph@codesourcery.com>
9481
9482 [BZ #19351]
9483 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
9484 expanding log(1+z), compare z rather than its square with epsilon
9485 to determine when to avoid evaluating the expansion.
9486
9487 [BZ #19350]
9488 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
9489 Increase overflow threshold.
9490
9491 [BZ #19349]
9492 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
9493 when small.
9494
9495 * sysdeps/unix/sysv/linux/i386/kernel-features.h
9496 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
9497 New macro.
9498 [__LINUX_KERNEL_VERSION >= 0x040300]
9499 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
9500 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
9501 Likewise.
9502 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
9503 Likewise.
9504 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
9505 Likewise.
9506 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
9507 Likewise.
9508 [__LINUX_KERNEL_VERSION >= 0x040300]
9509 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
9510 [__LINUX_KERNEL_VERSION >= 0x040300]
9511 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
9512 [__LINUX_KERNEL_VERSION >= 0x040300]
9513 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9514 [__LINUX_KERNEL_VERSION >= 0x040300]
9515 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
9516 [__LINUX_KERNEL_VERSION >= 0x040300]
9517 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
9518 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
9519 Likewise.
9520 [__LINUX_KERNEL_VERSION >= 0x040300]
9521 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
9522 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9523 Likewise.
9524 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
9525 Likewise.
9526 [__LINUX_KERNEL_VERSION >= 0x040300]
9527 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
9528 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9529 Likewise.
9530 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
9531 Likewise.
9532 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9533 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
9534 Likewise.
9535 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
9536 Likewise.
9537 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
9538 Likewise.
9539 [__LINUX_KERNEL_VERSION >= 0x040300]
9540 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
9541 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
9542 Likewise.
9543 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
9544 Likewise.
9545 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
9546 Likewise.
9547 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
9548 Likewise.
9549 [__LINUX_KERNEL_VERSION >= 0x040300]
9550 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
9551 [__LINUX_KERNEL_VERSION >= 0x040300]
9552 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
9553 [__LINUX_KERNEL_VERSION >= 0x040300]
9554 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9555 [__LINUX_KERNEL_VERSION >= 0x040300]
9556 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
9557 [__LINUX_KERNEL_VERSION >= 0x040300]
9558 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
9559 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
9560 Likewise.
9561 [__LINUX_KERNEL_VERSION >= 0x040300]
9562 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
9563 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9564 Likewise.
9565 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
9566 Likewise.
9567 [__LINUX_KERNEL_VERSION >= 0x040300]
9568 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
9569 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9570 Likewise.
9571 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
9572 Likewise.
9573 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9574 (__ASSUME_SOCKET_SYSCALL): Likewise.
9575 (__ASSUME_BIND_SYSCALL): Likewise.
9576 (__ASSUME_CONNECT_SYSCALL): Likewise.
9577 (__ASSUME_LISTEN_SYSCALL): Likewise.
9578 (__ASSUME_ACCEPT_SYSCALL): Likewise.
9579 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
9580 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
9581 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
9582 (__ASSUME_SEND_SYSCALL): Likewise.
9583 (__ASSUME_SENDTO_SYSCALL): Likewise.
9584 (__ASSUME_RECV_SYSCALL): Likewise.
9585 (__ASSUME_RECVFROM_SYSCALL): Likewise.
9586 (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
9587 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
9588 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9589 (__ASSUME_SENDMSG_SYSCALL): Likewise.
9590 (__ASSUME_RECVMSG_SYSCALL): Likewise.
9591 * sysdeps/unix/sysv/linux/sh/kernel-features.h
9592 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
9593 Likewise.
9594 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
9595 Likewise.
9596 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
9597 Likewise.
9598 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
9599 Likewise.
9600 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
9601 Likewise.
9602 [__LINUX_KERNEL_VERSION >= 0x020625]
9603 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
9604 [__LINUX_KERNEL_VERSION >= 0x020625]
9605 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
9606 [__LINUX_KERNEL_VERSION >= 0x020625]
9607 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
9608 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
9609 Likewise.
9610 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
9611 Likewise.
9612 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
9613 Likewise.
9614 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
9615 Likewise.
9616 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
9617 Likewise.
9618 [__LINUX_KERNEL_VERSION >= 0x020625]
9619 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
9620 [__LINUX_KERNEL_VERSION >= 0x020625]
9621 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9622 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
9623 Likewise.
9624 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
9625 Likewise.
9626
9627 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
9628
9629 * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
9630 record the current if the current ABI and CPU support the FP64
9631 extension.
9632 (has-modd-spreg): Define to record the current if the current ABI and
9633 CPU support 32-bit floating point values in odd FPU registers.
9634 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
9635 * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
9636 $(has-modd-spreg) equals yes.
9637 (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
9638 (tst-abi-fp64mod): Only build when both $(has-mpf64) and
9639 $(has-modd-spreg) equal yes.
9640
9641 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
9642
9643 * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
9644 basename.
9645
9646 2015-12-08 Siddhesh Poyarekar <sid@reserved-bit.com>
9647
9648 * benchtests/Makefile (bench-math): Move ffs and ffsll...
9649 (bench-string): ... here.
9650 (bench): Add bench-string.
9651 (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
9652 to *-benchset to reflect what they are.
9653 (benchset): Adjust.
9654
9655 * benchtests/sincos-inputs: Add inputs from sin-inputs and
9656 cos-inputs.
9657
9658 2015-12-07 Andrew Senkevich <andrew.senkevich@intel.com>
9659
9660 * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
9661 __attribute__ ((__simd__)) for vector math function declarations.
9662
9663 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
9664
9665 Fix typo in strncat, wcsncat manual entries
9666 * manual/string.texi (Copying and Concatenation): Fix typos in
9667 sample implementations of strncat and wcsncat, by having them use
9668 the old value of the destination length, not the new one.
9669
9670 2015-12-04 Joseph Myers <joseph@codesourcery.com>
9671
9672 [BZ #16961]
9673 [BZ #16962]
9674 * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
9675 string on the stack for strtod.
9676 * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
9677 a string on the stack for strtof.
9678 * math/s_nanl.c (__nanl): Use __strtold_nan instead of
9679 constructing a string on the stack for strtold.
9680 * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
9681 __strtold_nan to GLIBC_PRIVATE.
9682 * math/test-nan-overflow.c: New file.
9683 * math/test-nan-payload.c: Likewise.
9684 * math/Makefile (tests): Add test-nan-overflow and
9685 test-nan-payload.
9686
9687 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
9688
9689 Consistency about byte vs character in string.texi
9690 * manual/string.texi (String and Array Utilities):
9691 Distinguish more carefully among bytes, multibyte characters,
9692 and wide characters. Use "byte" when talking about C 'char',
9693 to distinguish it more clearly from multibyte characters.
9694 Say "wide character" or "multibyte character" instead of
9695 "character", when a wide or multibyte character is intended.
9696 Similarly for "multibyte string" versus "string".
9697 Define these terms more carefully.
9698
9699 2015-12-03 Chris Metcalf <cmetcalf@ezchip.com>
9700
9701 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
9702 * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
9703 Likewise.
9704 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
9705 * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
9706 * sysdeps/sh/math_private.h: New file.
9707 * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
9708 * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
9709 defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
9710 long double function name.
9711 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9712 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9713 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9714 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
9715 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9716 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
9717 Remove __finitel, __isinfl, and __isnanl.
9718 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
9719 Likewise.
9720 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9721 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9722 Remove __finitel.
9723 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9724 Likewise.
9725 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9726
9727 2015-12-03 Andrew Senkevich <andrew.senkevich@intel.com>
9728
9729 * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
9730 installed libmvec_nonshared.a.
9731
9732 2015-12-03 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
9733
9734 * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
9735 (sysdep_routines): Likewise.
9736 (sysdep-rtld-routines): Likewise.
9737 [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
9738 [$(subdir) = nptl](tests-static): test-get_hwcap-static
9739 * sysdeps/powerpc/Versions: Added new
9740 __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
9741 * sysdeps/powerpc/hwcapinfo.c: New file.
9742 (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
9743 and parse hwcap, hwcap2 and platform number information.
9744 * sysdeps/powerpc/hwcapinfo.h: New file. Creates global variables
9745 to store HWCAP+HWCAP2 and platform number.
9746 * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
9747 for HWCAP+HWCAP2 and platform number in the TCB.
9748 * sysdeps/powerpc/nptl/tls.h: New functionality. Stores
9749 the HWCAP, HWCAP2 and platform number in the TCB.
9750 (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
9751 (TLS_INIT_TP): Included calls to add the hwcap and
9752 at_platform values in the TCB in TP initialization.
9753 (TLS_DEFINE_INIT_TP): Likewise.
9754 (THREAD_GET_HWCAP): New macro.
9755 (THREAD_SET_HWCAP): Likewise.
9756 (THREAD_GET_AT_PLATFORM): Likewise.
9757 (THREAD_SET_AT_PLATFORM): Likewise.
9758 * sysdeps/powerpc/powerpc32/dl-machine.h:
9759 (dl_platform_init): New function that calls
9760 __parse_hwcap_and_convert_at_platform for the dymanic linking case for
9761 powerpc32.
9762 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
9763 * sysdeps/powerpc/test-get_hwcap-static.c: New file. Testcase for
9764 this functionality, static linking case.
9765 * sysdeps/powerpc/test-get_hwcap.c: New file. Likewise, dynamic
9766 linking case.
9767 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
9768 __parse_hwcap_and_convert_at_platform for the static linking case.
9769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
9770 Included the new __parse_hwcap_and_convert_at_platform symbol in the
9771 ABI list for GLIBC 2.23.
9772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
9773 Likewise.
9774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
9775 Likewise.
9776
9777 2015-12-02 Ludovic Courtès <ludo@gnu.org>
9778
9779 * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
9780 * configure: Regenerate.
9781 * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
9782 * scripts/rellns-sh: Likewise. Remove 'pwd' variable.
9783
9784 2015-12-02 Carlos O'Donell <carlos@redhat.com>
9785
9786 * iconvdata/ibm930.c: Add comment explaining encoding uses.
9787 * iconvdata/ibm933.c: Likewise.
9788 * iconvdata/ibm935.c: Likewise.
9789 * iconvdata/ibm937.c: Likewise.
9790 * iconvdata/ibm939.c: Likewise.
9791
9792 2015-12-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9793
9794 * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
9795 pthread_join.
9796 * nptl/tst-cancel21.c (tf): Likewise.
9797
9798 2015-12-01 H.J. Lu <hongjiu.lu@intel.com>
9799
9800 [BZ #19313]
9801 * bits/typesizes.h (__CPU_MASK_TYPE): New.
9802 * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
9803 * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
9804 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
9805 Likewise.
9806 * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
9807 Likewise.
9808 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
9809 Likewise.
9810 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
9811 Likewise.
9812 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
9813 * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
9814 unsigned long int with __CPU_MASK_TYPE.
9815
9816 2015-12-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
9817
9818 * sysdeps/aarch64/libm-test-ulps: Regenerated.
9819
9820 2015-12-01 Joseph Myers <joseph@codesourcery.com>
9821
9822 * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
9823 (__ieee754_sqrt): Use hex float constants instead of tm256.x and
9824 t512.x.
9825 * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
9826
9827 2015-11-30 Amit Pawar <amit.pawar@amd.com>
9828
9829 [BZ #19214]
9830 * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
9831 argument to return extended model. Update family and model
9832 with extended family and model when family == 0x0f.
9833 (init_cpu_features): Updated.
9834
9835 2015-11-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
9836
9837 The RPC interface used by mmap uses the unsigned vm_offset_t, not the
9838 signed off_t, so 32bit bigger than 2GiB values are fine actually.
9839
9840 * sysdeps/mach/hurd/mmap64.c: New file.
9841
9842 2015-11-29 Thomas Schwinge <thomas@codesourcery.com>
9843
9844 * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
9845 rights for its main user thread in NEWTASK.
9846
9847 2015-11-28 Maciej W. Rozycki <macro@imgtec.com>
9848
9849 * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
9850 (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
9851
9852 2015-11-27 Carlos O'Donell <carlos@redhat.com>
9853
9854 [BZ #14259]
9855 * Makeconfig: Rename localedir to complocaledir.
9856 Rename inst_localedir to inst_complocaledir.
9857 * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
9858 * config.make.in: Use complocaledir and libc_cv_complocaledir.
9859 * configure.ac: Use libc_cv_complocaledir.
9860 * configure: Regenerate.
9861 * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
9862 -DCOMPLOCALEDIR.
9863 * locale/findlocale.c: Use COMPLOCALEDIR.
9864 * locale/loadarchive.c: Likewise.
9865 * locale/programs/locale.c: Likewise.
9866 * locale/programs/localedef.c: Likewise.
9867 * locale/programs/locarchive.c: Likewise.
9868 * localedata/Makefile: Use inst_complocaledir.
9869 * sysdeps/gnu/configure: Regenerate.
9870 * sysdeps/hppa/configure: Regenerate.
9871 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
9872 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
9873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
9874 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
9875 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
9876 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
9877 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
9878
9879 2015-11-27 Andrew Senkevich <andrew.senkevich@intel.com>
9880
9881 [BZ #19058]
9882 * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
9883 AS_NEEDED.
9884 * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
9885 workaround.
9886 * sysdeps/x86_64/fpu/Makefile (libmvec-support,
9887 libmvec-static-only-routines): Added new file.
9888 * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
9889
9890 2015-11-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
9891
9892 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
9893 of interrupted RPC instead of restoring it.
9894
9895 * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
9896 * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
9897 libc_hidden_def.
9898 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
9899 into initialized data instead of common. Define rtld_hidden_data_def.
9900 * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
9901 * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
9902 libc_hidden_def.
9903 (if_freenameindex): Add libc_hidden_weak.
9904 (if_nameindex): Add libc_hidden_weak.
9905 * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
9906 __open64.
9907 * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
9908 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
9909 * sysdeps/mach/nanosleep.c: Include <time.h>
9910 (__nanosleep): Rename to __libc_nanosleep.
9911 (__nanosleep): Add weak_alias.
9912 (nanosleep): Update alias.
9913
9914 2015-11-24 Joseph Myers <joseph@codesourcery.com>
9915
9916 * stdlib/strtod_nan.c: New file.
9917 * stdlib/strtod_nan_double.h: Likewise.
9918 * stdlib/strtod_nan_float.h: Likewise.
9919 * stdlib/strtod_nan_main.c: Likewise.
9920 * stdlib/strtod_nan_narrow.h: Likewise.
9921 * stdlib/strtod_nan_wide.h: Likewise.
9922 * stdlib/strtof_nan.c: Likewise.
9923 * stdlib/strtold_nan.c: Likewise.
9924 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
9925 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
9926 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
9927 * wcsmbs/wcstod_nan.c: Likewise.
9928 * wcsmbs/wcstof_nan.c: Likewise.
9929 * wcsmbs/wcstold_nan.c: Likewise.
9930 * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
9931 strtold_nan.
9932 * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
9933 wcstof_nan.
9934 * include/stdlib.h (__strtof_nan): Declare and use
9935 libc_hidden_proto.
9936 (__strtod_nan): Likewise.
9937 (__strtold_nan): Likewise.
9938 (__wcstof_nan): Likewise.
9939 (__wcstod_nan): Likewise.
9940 (__wcstold_nan): Likewise.
9941 * include/wchar.h (____wcstoull_l_internal): Declare.
9942 * stdlib/strtod_l.c: Do not include <ieee754.h>.
9943 (____strtoull_l_internal): Remove declaration.
9944 (STRTOF_NAN): Define macro.
9945 (SET_MANTISSA): Remove macro.
9946 (STRTOULL): Likewise.
9947 (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
9948 * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
9949 (STRTOF_NAN): Define macro.
9950 (SET_MANTISSA): Remove macro.
9951 * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
9952 (SET_MANTISSA): Remove macro.
9953 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
9954 macro.
9955 (SET_MANTISSA): Remove macro.
9956 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
9957 macro.
9958 (SET_MANTISSA): Remove macro.
9959 * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
9960 (SET_MANTISSA): Remove macro.
9961 * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
9962 * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
9963 * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
9964
9965 [BZ #19266]
9966 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
9967 upper case and lower case letters inside NAN(), not using TOLOWER.
9968 * stdlib/tst-strtod-nan-locale-main.c: New file.
9969 * stdlib/tst-strtod-nan-locale.c: Likewise.
9970 * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
9971 [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
9972 Depend on $(gen-locales).
9973 ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
9974 * wcsmbs/tst-wcstod-nan-locale.c: New file.
9975 * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
9976 [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
9977 Depend on $(gen-locales).
9978 ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
9979
9980 2015-11-24 Chris Metcalf <cmetcalf@ezchip.com>
9981
9982 * misc/tst-tsearch.c (TIMEOUT): Set to 10.
9983
9984 * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
9985 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
9986 __finitel, __isinfl, and __isnanl.
9987 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
9988 Likewise.
9989 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9990 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
9991 __finitel.
9992 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9993 Likewise.
9994 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9995
9996 2015-11-24 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
9997
9998 * malloc/memusage.c (me): Remove redundant getenv call.
9999
10000 2015-10-24 Florian Weimer <fweimer@redhat.com>
10001
10002 [BZ #19143]
10003 [BZ #19164]
10004 * nptl/check-cpuset.h: Remove.
10005 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
10006 Remove CPU set size check.
10007 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
10008 Likewise.
10009 * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
10010 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
10011 (__kernel_cpumask_size, __determine_cpumask_size): Remove.
10012 (__pthread_setaffinity_new): Remove CPU set size check.
10013 * sysdeps/unix/sysv/linux/sched_setaffinity.c
10014 (__kernel_cpumask_size): Remove.
10015 (__sched_setaffinity_new): Remove CPU set size check.
10016 * manual/threads.texi (Default Thread Attributes): Remove stale
10017 reference to check_cpuset_attr, determine_cpumask_size in comment.
10018 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
10019 Remove tst-getcpu. Add tst-affinity, tst-affinity-pid.
10020 [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
10021 tst-thread-affinity-pthread2, tst-thread-affinity-sched.
10022 * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
10023 * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
10024 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
10025 * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
10026 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
10027 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
10028 * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
10029 skeleton test file.
10030 * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove. Superseded by
10031 tst-affinity-pid.
10032
10033 2015-11-24 Florian Weimer <fweimer@redhat.com>
10034
10035 * scripts/update-abilist.sh: New file.
10036 * Makefile (+subdir_targets): Add subdir_update-all-abi.
10037 * Makerules (update-all-abi-%, update-all-abi)
10038 (subdir_update-all-abi): New targets.
10039 * elf/Makefile (update-all-abi): New target.
10040
10041 2015-11-24 Florian Weimer <fweimer@redhat.com>
10042
10043 Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
10044 * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
10045 (__libc_lock_define_initialized): Use it.
10046 * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
10047 * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
10048 * malloc/malloc.c (main_arena): Likewise.
10049 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
10050 * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
10051
10052 2015-11-23 Joseph Myers <joseph@codesourcery.com>
10053
10054 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
10055 (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
10056 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
10057 (PTRACE_O_MASK): Update value.
10058 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
10059 New value in enum __ptrace_setoptions.
10060 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
10061 (PTRACE_O_MASK): Update value.
10062 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
10063 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
10064 (PTRACE_O_MASK): Update value.
10065 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
10066 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
10067 (PTRACE_O_MASK): Update value.
10068 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
10069 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
10070 (PTRACE_O_MASK): Update value.
10071 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
10072 New value in enum __ptrace_setoptions.
10073 (PTRACE_O_MASK): Update value.
10074 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
10075 New value in enum __ptrace_setoptions.
10076 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
10077 (PTRACE_O_MASK): Update value.
10078
10079 * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
10080 New macro.
10081 (PACKET_AUXDATA): Likewise.
10082 (PACKET_ORIGDEV): Likewise.
10083 (PACKET_VERSION): Likewise.
10084 (PACKET_HDRLEN): Likewise.
10085 (PACKET_RESERVE): Likewise.
10086 (PACKET_TX_RING): Likewise.
10087 (PACKET_LOSS): Likewise.
10088 (PACKET_VNET_HDR): Likewise.
10089 (PACKET_TX_TIMESTAMP): Likewise.
10090 (PACKET_TIMESTAMP): Likewise.
10091 (PACKET_FANOUT): Likewise.
10092 (PACKET_TX_HAS_OFF): Likewise.
10093 (PACKET_QDISC_BYPASS): Likewise.
10094 (PACKET_ROLLOVER_STATS): Likewise.
10095 (PACKET_FANOUT_DATA): Likewise.
10096 (PACKET_MR_UNICAST): Likewise.
10097
10098 [BZ #19242]
10099 * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
10100 (TOUPPER): Likewise.
10101 * stdlib/tst-strtol-locale-main.c: New file.
10102 * stdlib/tst-strtol-locale.c: Likewise.
10103 * stdlib/Makefile (tests): Add tst-strtol-locale.
10104 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
10105 [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
10106 Depend on $(gen-locales).
10107 * wcsmbs/tst-wcstol-locale.c: New file.
10108 * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
10109 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
10110 tr_TR.ISO-8859-9.
10111 [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
10112 Depend on $(gen-locales).
10113
10114 2015-11-20 Roland McGrath <roland@hack.frob.com>
10115
10116 * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
10117 __glibc_likely instead of __builtin_expect. After falling back to
10118 dyncode_create in a non-ET_DYN case, use the allocate_code_data
10119 system interface to register the code pages as occupied.
10120
10121 2015-11-20 Joseph Myers <joseph@codesourcery.com>
10122
10123 * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10124 [!ARM_MATH_PRIVATE_H].
10125 [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
10126 * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10127 [!HPPA_MATH_PRIVATE_H].
10128 [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
10129 * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
10130 to [!I386_MATH_PRIVATE_H].
10131 [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
10132 * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
10133 Change guard to [!M68K_MATH_PRIVATE_H].
10134 [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
10135 * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
10136 guard to [!MICROBLAZE_MATH_PRIVATE_H].
10137 [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
10138 macro.
10139 * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10140 [!MIPS_MATH_PRIVATE_H].
10141 [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
10142 * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10143 [!NIO2_MATH_PRIVATE_H].
10144 [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
10145 * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10146 [!TILE_MATH_PRIVATE_H].
10147 [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
10148
10149 [BZ #15421]
10150 * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
10151 initialize with 0 and define as weak alias of __signgam.
10152 * include/math.h [!_ISOMAC] (__signgam): Declare.
10153 * math/Makefile (libm-calls): Add w_lgamma_compat.
10154 (tests): Add test-signgam-uchar, test-signgam-uchar-init,
10155 test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
10156 test-signgam-ullong-init.
10157 (tests-static): Add test-signgam-uchar-static,
10158 test-signgam-uchar-init-static, test-signgam-uint-static,
10159 test-signgam-uint-init-static, test-signgam-ullong-static and
10160 test-signgam-ullong-init-static.
10161 (CFLAGS-test-signgam-uchar.c): New variable.
10162 (CFLAGS-test-signgam-uchar-init.c): Likewise.
10163 (CFLAGS-test-signgam-uchar-static.c): Likewise.
10164 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
10165 (CFLAGS-test-signgam-uint.c): Likewise.
10166 (CFLAGS-test-signgam-uint-init.c): Likewise.
10167 (CFLAGS-test-signgam-uint-static.c): Likewise.
10168 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
10169 (CFLAGS-test-signgam-ullong.c): Likewise.
10170 (CFLAGS-test-signgam-ullong-init.c): Likewise.
10171 (CFLAGS-test-signgam-ullong-static.c): Likewise.
10172 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
10173 * math/Versions (libm): Add GLIBC_2.23.
10174 * math/lgamma-compat.h: New file.
10175 * math/test-signgam-main.c: Likewise.
10176 * math/test-signgam-uchar-init-static.c: Likewise.
10177 * math/test-signgam-uchar-init.c: Likewise.
10178 * math/test-signgam-uchar-static.c: Likewise.
10179 * math/test-signgam-uchar.c: Likewise.
10180 * math/test-signgam-uint-init-static.c: Likewise.
10181 * math/test-signgam-uint-init.c: Likewise.
10182 * math/test-signgam-uint-static.c: Likewise.
10183 * math/test-signgam-uint.c: Likewise.
10184 * math/test-signgam-ullong-init-static.c: Likewise.
10185 * math/test-signgam-ullong-init.c: Likewise.
10186 * math/test-signgam-ullong-static.c: Likewise.
10187 * math/test-signgam-ullong.c: Likewise.
10188 * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
10189 wrapper of w_lgamma_main.c.
10190 * math/w_lgamma_compat.c: New file.
10191 * math/w_lgamma_compatf.c: Likewise.
10192 * math/w_lgamma_compatl.c: Likewise.
10193 * math/w_lgamma_main.c: New file. Based on w_lgamma.c. Include
10194 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
10195 defining compatibility symbols.
10196 (__lgamma): Change to LGFUNC (__lgamma). Use CALL_LGAMMA.
10197 * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
10198 wrapper of w_lgammaf_main.c.
10199 * math/w_lgammaf_main.c: New file. Based on w_lgammaf.c. Include
10200 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
10201 defining compatibility symbols.
10202 (__lgammaf): Change to LGFUNC (__lgammaf). Use CALL_LGAMMA.
10203 * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
10204 wrapper of w_lgammal_main.c.
10205 * math/w_lgammal_main.c: New file. Based on w_lgammal.c. Include
10206 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
10207 defining compatibility symbols.
10208 (__lgammal): Change to LGFUNC (__lgammal). Use CALL_LGAMMA.
10209 * sysdeps/ia64/fpu/lgamma-compat.h: New file.
10210 * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
10211 * sysdeps/ia64/fpu/w_lgamma_main.c: ...here. Include
10212 <lgamma-compat.h>.
10213 (__ieee754_lgamma): Change to LGFUNC (lgamma). Use CALL_LGAMMA.
10214 (__ieee754_gamma): Define as alias.
10215 * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
10216 * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here. Include
10217 <lgamma-compat.h>.
10218 (__ieee754_lgammaf): Change to LGFUNC (lgammaf). Use CALL_LGAMMA.
10219 (__ieee754_gammaf): Define as alias.
10220 * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
10221 * sysdeps/ia64/fpu/w_lgammal_main.c: ...here. Include
10222 <lgamma-compat.h>.
10223 (__ieee754_lgammal): Change to LGFUNC (lgammal). Use CALL_LGAMMA.
10224 (__ieee754_gammal): Define as alias.
10225 * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
10226 * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here. Include
10227 <math/w_lgamma_compat.c>.
10228 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
10229 Define as alias of __lgamma_compat and use in defining lgammal.
10230 * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
10231 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here. Include
10232 <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
10233 (USE_AS_COMPAT): New macro.
10234 (LGAMMA_OLD_VER): Undefine and redefine.
10235 (lgammal): Do not define here.
10236 (gammal): Only define here if [GAMMA_ALIAS].
10237 * conform/linknamespace.pl (@whitelist): Remove signgam.
10238 * sysdeps/nacl/libm.abilist: Update.
10239 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10240 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10241 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10242 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10243 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10244 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10245 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10246 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10247 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10248 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10249 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10250 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10252 Likewise.
10253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10254 Likewise.
10255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10256 Likewise.
10257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10258 Likewise.
10259 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10260 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10261 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10262 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10263 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10264 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10265 Likewise.
10266 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10267 Likewise.
10268 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10269 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10270 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10271
10272 2015-11-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10273
10274 [BZ #16364]
10275 * sysdeps/unix/sysv/linux/sleep.c: Remove file.
10276 * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
10277
10278 2015-11-20 Stefan Liebler <stli@linux.vnet.ibm.com>
10279
10280 * sysdeps/s390/fpu/bits/mathinline.h:
10281 Use __asm__ [__volatile__] instead of asm [volatile].
10282 * sysdeps/s390/abort-instr.h: Likewise.
10283 * sysdeps/s390/atomic-machine.h: Likewise.
10284 * sysdeps/s390/bits/string.h: Likewise.
10285 * sysdeps/s390/dl-tls.h: Likewise.
10286 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
10287 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
10288 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
10289 * sysdeps/s390/fpu/fesetround.c: Likewise.
10290 * sysdeps/s390/fpu/fpu_control.h: Likewise.
10291 * sysdeps/s390/fpu/s_fma.c: Likewise.
10292 * sysdeps/s390/fpu/s_fmaf.c: Likewise.
10293 * sysdeps/s390/memusage.h: Likewise.
10294 * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
10295 * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
10296 * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
10297 * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
10298 * sysdeps/s390/nptl/tls.h: Likewise.
10299 * sysdeps/s390/s390-32/__longjmp.c: Likewise.
10300 * sysdeps/s390/s390-32/backtrace.c: Likewise.
10301 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10302 * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
10303 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10304 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
10305 * sysdeps/s390/s390-64/__longjmp.c: Likewise.
10306 * sysdeps/s390/s390-64/backtrace.c: Likewise.
10307 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10308 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
10309 * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
10310 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10311 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
10312 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
10313 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
10314 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
10315 * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
10316 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
10317 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
10318 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10319 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
10320 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10321 * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
10322
10323 2015-11-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10324 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10325
10326 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
10327 Add lwarx hint, and use macro for acquire instruction.
10328 * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
10329 Likewise.
10330 * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
10331 * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
10332 update to use new atomic macros.
10333
10334 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10335
10336 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
10337 (__lll_trylock_elision): Fix setting of adapt_count.
10338 * sysdeps/unix/sysv/linux/powerpc/htm.h
10339 (_ABORT_PERSISTENT): Define to clarify persistent aborts.
10340 (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
10341 (_ABORT_SYSCALL): Renumber, and clarify definition.
10342 (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
10343
10344 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10345
10346 * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
10347 after system headers to prevent MIN/MAX redefinition. Define
10348 HAVE_ALLOCA to preserve builtin alloca usage.
10349
10350 2015-11-17 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
10351
10352 * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
10353 static and don't set or restore rounding.
10354 (__cos)[IN_SINCOS]: Likewise.
10355 * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
10356 (__sincos): Set and restore rounding mode. Remove check for infinite
10357 or NaN input.
10358
10359 * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
10360
10361 * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
10362 as used.
10363
10364 2015-11-16 Florian Weimer <fweimer@redhat.com>
10365
10366 * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
10367
10368 2015-11-14 H.J. Lu <hongjiu.lu@intel.com>
10369
10370 * config.make.in (have-glob-dat-reloc): New.
10371 * configure.ac (libc_cv_has_glob_dat): New. Set to yes if
10372 target supports GLOB_DAT relocaton. AC_SUBST.
10373 * configure: Regenerated.
10374 * elf/Makefile (tests): Add tst-prelink.
10375 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
10376 (tst-prelink-ENV): New.
10377 ($(objpfx)tst-prelink-conflict.out): Likewise.
10378 ($(objpfx)tst-prelink-cmp.out): Likewise.
10379 * sysdeps/x86/tst-prelink.c: Moved to ...
10380 * elf/tst-prelink.c: Here.
10381 * sysdeps/x86/tst-prelink.exp: Moved to ...
10382 * elf/tst-prelink.exp: Here.
10383 * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
10384 (tst-prelink-ENV): Removed.
10385 ($(objpfx)tst-prelink-conflict.out): Likewise.
10386 ($(objpfx)tst-prelink-cmp.out): Likewise.
10387 (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
10388
10389 2015-11-13 Joseph Myers <joseph@codesourcery.com>
10390
10391 [BZ #14551]
10392 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
10393 (__mpn_construct_long_double): If high part overflows to infinity,
10394 set errno and recompute overflowed result of the correct sign.
10395 * sysdeps/ieee754/ldbl-128ibm/Makefile
10396 [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
10397 [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
10398 $(libm).
10399 * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
10400
10401 2015-11-12 Joseph Myers <joseph@codesourcery.com>
10402
10403 [BZ #15479]
10404 [BZ #19238]
10405 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
10406 floating-point state after first operation on input. Restore full
10407 state rather than just rounding mode.
10408 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
10409 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
10410 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
10411
10412 [BZ #19235]
10413 * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
10414 add 0.5 to integer arguments.
10415 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
10416 Likewise.
10417 (.LC2): New object.
10418
10419 2015-11-11 Mike Frysinger <vapier@gentoo.org>
10420
10421 * scripts/pylintrc (reports): Set to no.
10422
10423 2015-11-10 Roland McGrath <roland@hack.frob.com>
10424
10425 * elf/dl-load.c (open_verify): Take new argument FD.
10426 Skip __open call if passed FD is not -1.
10427 (_dl_map_object, open_path): Update callers.
10428 * elf/dl-sysdep-open.h: New file.
10429 * elf/dl-load.c: Include it.
10430 (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
10431 * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
10432 * sysdeps/nacl/dl-sysdep-open.h: New file.
10433 * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
10434 from libc to rtld.
10435
10436 2015-11-10 Joseph Myers <joseph@codesourcery.com>
10437
10438 [BZ #19228]
10439 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
10440 and restore full floating-point state.
10441 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
10442 Likewise.
10443 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
10444 Likewise.
10445 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
10446 Likewise.
10447 * math/test-nearbyint-except-2.c: New file.
10448 * math/Makefile (tests): Add test-nearbyint-except-2.
10449
10450 2015-11-10 H.J. Lu <hongjiu.lu@intel.com>
10451
10452 [BZ #19178]
10453 * sysdeps/x86/Makefile (tests): Add tst-prelink.
10454 (tst-prelink-ENV): New.
10455 ($(objpfx)tst-prelink-conflict.out): Likewise.
10456 ($(objpfx)tst-prelink-cmp.out): Likewise.
10457 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
10458 * sysdeps/x86/tst-prelink.c: New file.
10459 * sysdeps/x86/tst-prelink.exp: Likewise.
10460
10461 2015-11-10 Joseph Myers <joseph@codesourcery.com>
10462
10463 * math/auto-libm-test-in: Add another test of pow.
10464 * math/auto-libm-test-out: Regenerated.
10465 * math/libm-test.inc (pow_test_data): Add another test.
10466
10467 2015-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10468
10469 [BZ #19219]
10470 * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
10471 weak_alias to nearbyintl.
10472
10473 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
10474
10475 * sysdeps/aarch64/bits/string.h: New file.
10476 (_STRING_ARCH_unaligned): Define.
10477
10478 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
10479
10480 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
10481 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
10482 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
10483 * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
10484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
10485
10486 2015-11-09 Ulrich Drepper <drepper@gmail.com>
10487
10488 * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
10489 for original name of the DSO. Add it to the name list of the DSO
10490 if it is actually given.
10491 (_dl_map_object): Keep track of whether an audit module rewrote
10492 the file name. If yes, pass the original name to
10493 _dl_map_object_from_fd in a new parameter, otherwise NULL. When
10494 debugging is enabled, log the change of the file name.
10495 * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
10496 _dl_map_object_from_fd.
10497 * elf/Makefile: Build and run tst-audit11 and tst-audit12.
10498 * elf/tst-audit11.c: New file
10499 * elf/tst-auditmod11.c: New file.
10500 * elf/tst-audit11mod1.c: New file.
10501 * elf/tst-audit11mod2.c: New file.
10502 * elf/tst-audit11mod2.map: New file.
10503 * elf/tst-audit12.c: New file
10504 * elf/tst-auditmod12.c: New file.
10505 * elf/tst-audit12mod1.c: New file.
10506 * elf/tst-audit12mod2.c: New file.
10507 * elf/tst-audit12mod2.map: New file.
10508 * elf/tst-audit12mod3.c: New file.
10509
10510 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
10511
10512 * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
10513 Don't create weak aliases,
10514 because versioned symbols are created later.
10515 * sysdeps/s390/s390-32/setjmp.S
10516 (setjmp, _setjmp): Remove weak and rename to an unique name
10517 in SHARED case due to existing versioned symbols.
10518 * sysdeps/s390/s390-64/setjmp.S: Likewise.
10519 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
10520 (getcontext): Create weak alias only in non SHARED case.
10521 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
10522
10523 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
10524
10525 * sysdeps/unix/sysv/linux/s390/kernel-features.h:
10526 (__ASSUME_*_SYSCALL) Define new macros.
10527 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
10528 Remove socketcall syscalls.
10529 * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
10530 Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
10531 * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
10532 Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
10533 * sysdeps/unix/sysv/linux/send.c (__libc_send):
10534 Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
10535
10536 2015-11-09 Florian Weimer <fweimer@redhat.com>
10537
10538 [BZ #12926]
10539 Terminate process on invalid netlink response.
10540 * sysdeps/unix/sysv/linux/netlinkaccess.h
10541 (__netlink_assert_response): Declare.
10542 * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
10543 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
10544 (sysdep_routines): Add netlink_assert_response.
10545 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
10546 __netlink_assert_response.
10547 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
10548 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
10549 * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
10550 __netlink_assert_response.
10551
10552 2015-11-07 H.J. Lu <hongjiu.lu@intel.com>
10553
10554 [BZ #19178]
10555 * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
10556 (RTYPE_CLASS_PLT): Likewise.
10557 (RTYPE_CLASS_COPY): Likewise.
10558 (RTYPE_CLASS_TLS): Likewise.
10559 (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
10560 to set relocation type class for DL_DEBUG_PRELINK. Keep only
10561 ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
10562 DL_DEBUG_PRELINK.
10563
10564 2015-11-06 Joseph Myers <joseph@codesourcery.com>
10565
10566 * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
10567 calls with argument -0.5.
10568 * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
10569
10570 * configure.ac (libc_cv_z_nodelete): Remove configure test.
10571 (libc_cv_z_nodlopen): Likewise.
10572 (libc_cv_z_initfirst): Likewise.
10573 * configure: Regenerated.
10574
10575 2015-11-06 Florian Weimer <fweimer@redhat.com>
10576
10577 Simplify abilist format to be line-based.
10578 * scripts/abilist.awk: Collect descriptors in the descs variable.
10579 (emit): Write descs variable and sort it
10580 externally, with sort.
10581 * sysdeps/**/*.abilist: Convert to new format.
10582
10583 2015-11-06 Mark Wielaard <mjw@redhat.com>
10584
10585 [BZ #11460]
10586 * io/Makefile (routines): Add fts64.
10587 (tests): Add tst-fts and tst-fts-lfs.
10588 (CFLAGS-fts64.c): New.
10589 * io/Versions (GLIBC_2.23): New.
10590 * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
10591 function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
10592 FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
10593 FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
10594 * io/fts.h (FTS64): New if _USE_LARGEFILE64.
10595 (FTSENT64): Likewise.
10596 (fts64_children): Likewise.
10597 (fts64_close): Likewise.
10598 (fts64_open): Likewise.
10599 (fts64_read): Likewise.
10600 (fts64_set): Likewise.
10601 * io/fts64.c: New file.
10602 * io/tst-fts.c: New test.
10603 * io/tst-fts-lfs.c: Likewise.
10604 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
10605 GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
10606 fts64_set.
10607 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10608 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
10609 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10610 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
10611 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10612 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10613 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10614 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10615 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10616 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
10617 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10618 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10619 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10621 Likewise.
10622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10623 Likewise.
10624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10626 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10627 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10628 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10629 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10630 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10631 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
10632 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
10633 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
10634 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10635 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10636 * sysdeps/wordsize-64/fts.c: New file.
10637 * sysdeps/wordsize-64/fts64.c: Likewise.
10638 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
10639 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
10640 * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
10641 * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
10642
10643 2015-11-05 Joseph Myers <joseph@codesourcery.com>
10644
10645 * math/libm-test.inc (NON_FINITE): New macro.
10646 (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
10647 * math/gen-libm-test.pl (show_exceptions): Add argument
10648 $non_finite.
10649 (parse_args): Update call to show_exceptions.
10650 * math/test-math-finite.h: New file.
10651 * math/test-math-no-finite.h: Likewise.
10652 * math/test-double-finite.c: Likewise.
10653 * math/test-float-finite.c: Likewise.
10654 * math/test-ldouble-finite.c: Likewise.
10655 * math/test-double.c: Include "test-math-no-finite.h".
10656 * math/test-float.c: Include "test-math-no-finite.h".
10657 * math/test-ldouble.c: Include "test-math-no-finite.h".
10658 * math/test-math-inline.h (TEST_FINITE): New macro.
10659 * math/test-math-vector.h (TEST_FINITE): Likewise.
10660 * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
10661 (libm-tests): Add test-float-finite and test-double-finite.
10662 ($(objpfx)test-float-finite.o): New dependency on
10663 $(objpfx)libm-test.stmp.
10664 ($(objpfx)test-double-finite.o): Likewise.
10665 ($(objpfx)test-ldouble-finite.o): Likewise.
10666 (libm-test-no-inline-cflags): New variable.
10667 (libm-test-finite-cflags): Likewise.
10668 (CFLAGS-test-float-finite.c): Likewise.
10669 (CFLAGS-test-double-finite.c): Likewise.
10670 (CFLAGS-test-ldouble-finite.c): Likewise.
10671 (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
10672 (CFLAGS-test-double.c): Likewise.
10673 (CFLAGS-test-ldouble.c): Likewise.
10674
10675 2015-11-05 Roland McGrath <roland@hack.frob.com>
10676
10677 * io/fcntl.c (__fcntl): Add ... to prototype.
10678 * misc/ioctl.c (__ioctl): Likewise.
10679 * misc/syscall.c (syscall): Likewise.
10680
10681 2015-11-05 Joseph Myers <joseph@codesourcery.com>
10682
10683 * scripts/list-fixed-bugs.py: New file.
10684
10685 [BZ #19213]
10686 * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
10687 returned for argument 1.
10688 * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
10689 * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
10690 * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
10691 * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
10692 * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
10693 * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
10694
10695 [BZ #19211]
10696 * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
10697 __USE_XOPEN], not if [!__USE_ISOC99].
10698 (lgammaf): Likewise.
10699 (lgammal): Likewise.
10700 (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
10701 (gammaf): Likewise.
10702 (gammal): Likewise.
10703 * math/test-signgam-finite-c11.c: New file.
10704 * math/test-signgam-finite-c99.c: Likewise.
10705 * math/test-signgam-finite.c: Likewise.
10706 * math/Makefile (tests): Add test-signgam-finite,
10707 test-signgam-finite-c99 and test-signgam-finite-c11.
10708 (CFLAGS-test-signgam-finite.c): New variable.
10709 (CFLAGS-test-signgam-finite-c99.c): Likewise.
10710 (CFLAGS-test-signgam-finite-c11.c): Likewise.
10711
10712 [BZ #19212]
10713 * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
10714 conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
10715 500].
10716 [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
10717 _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
10718 [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
10719 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
10720 [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
10721 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
10722 [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
10723 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
10724 [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
10725 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
10726
10727 [BZ #19209]
10728 * math/bits/math-finite.h (ldexp): Remove declaration.
10729 (ldexpf): Likewise.
10730 (ldexpl): Likewise.
10731
10732 [BZ #19205]
10733 * math/bits/math-finite.h (acosf): Condition declaration on
10734 [__USE_ISOC99].
10735 (acosl): Likewise.
10736 (acoshf): Likewise.
10737 (acoshl): Likewise.
10738 (asinf): Likewise.
10739 (asinl): Likewise.
10740 (atan2f): Likewise.
10741 (atan2l): Likewise.
10742 (atanhf): Likewise.
10743 (atanhl): Likewise.
10744 (coshf): Likewise.
10745 (coshl): Likewise.
10746 (expf): Likewise.
10747 (expl): Likewise.
10748 (fmodf): Likewise.
10749 (fmodl): Likewise.
10750 (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
10751 (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
10752 (j0l): Likewise.
10753 (y0f): Likewise.
10754 (y0l): Likewise.
10755 (j1f): Likewise.
10756 (j1l): Likewise.
10757 (y1f): Likewise.
10758 (y1l): Likewise.
10759 (jnf): Likewise.
10760 (jnl): Likewise.
10761 (ynf): Likewise.
10762 (ynl): Likewise.
10763 (lgammaf_r): Condition declaration on [__USE_ISOC99].
10764 (lgammal_r): Likewise.
10765 (__lgamma_r_finite): New declaration.
10766 (__lgammaf_r_finite): Likewise.
10767 (__lgammal_r_finite): Likewise.
10768 (lgamma): Use __lgamma_r_finite.
10769 (lgammaf): Condition definition on [__USE_ISOC99]. Use
10770 __lgammaf_r_finite.
10771 (lgammal): Condition definition on [__USE_ISOC99]. Use
10772 __lgammal_r_finite.
10773 (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K]. Use
10774 __lgamma_r_finite.
10775 (gammaf): Condition definition on [__USE_ISOC99]. Use
10776 __lgammaf_r_finite.
10777 (gammal): Condition definition on [__USE_ISOC99]. Use
10778 __lgammal_r_finite.
10779 (logf): Condition declaration on [__USE_ISOC99].
10780 (logl): Likewise.
10781 (log10f): Likewise.
10782 (log10l): Likewise.
10783 (ldexpf): Likewise.
10784 (ldexpl): Likewise.
10785 (powf): Likewise.
10786 (powl): Likewise.
10787 (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
10788 __USE_ISOC99].
10789 (remainderf): Condition declaration on [__USE_ISOC99].
10790 (remainderl): Likewise.
10791 (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
10792 (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
10793 (scalbl): Likewise.
10794 (sinhf): Condition declaration on [__USE_ISOC99].
10795 (sinhl): Likewise.
10796 (sqrtf): Likewise.
10797 (sqrtl): Likewise.
10798
10799 2015-11-04 Joseph Myers <joseph@codesourcery.com>
10800
10801 * sysdeps/arm/atomic-machine.h
10802 [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
10803 Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
10804 [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
10805 Remove conditional code.
10806 [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
10807 Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
10808 * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
10809 Change conditional to [__ASSEMBLER__].
10810 [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
10811 [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
10812 [!__ASSEMBLER__].
10813 [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
10814 code.
10815 * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
10816 conditional macro definitions.
10817 (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
10818 (__arch_compare_and_exchange_val_16_acq): Likewise.
10819 (__arch_compare_and_exchange_val_32_acq): Likewise.
10820 (atomic_exchange_and_add): Likewise.
10821 (atomic_add): Likewise.
10822 (atomic_add_negative): Likewise.
10823 (atomic_add_zero): Likewise.
10824 (atomic_bit_set): Likewise.
10825 (atomic_bit_test_set): Likewise.
10826 * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
10827 code unconditional.
10828 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10829
10830 * math/test-math-errno.h: New file.
10831 * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
10832 empty.
10833 (TEST_ERRNO): New macro.
10834 (TEST_EXCEPTIONS): Likewise.
10835 * math/test-math-no-inline.h (TEST_INLINE): Likewise.
10836 (TEST_EXCEPTIONS): Likewise.
10837 * math/test-math-vector.h (TEST_ERRNO): Likewise.
10838 * math/test-double.c: Include "test-math-errno.h".
10839 * math/test-float.c: Likewise.
10840 * math/test-ldouble.c: Likewise.
10841 * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
10842 code unconditional.
10843 (test_exceptions): Only run code if TEST_EXCEPTIONS.
10844 (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
10845 unconditional.
10846 (test_errno): Only run code if TEST_ERRNO.
10847 (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
10848
10849 2015-11-04 Florian Weimer <fweimer@redhat.com>
10850
10851 * nptl/tst-once5.cc: Remove attribution.
10852
10853 2015-11-04 Joseph Myers <joseph@codesourcery.com>
10854
10855 * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
10856 sqrt, tan, tanh, y0, y1 and yn.
10857 * math/auto-libm-test-out: Regenerated.
10858 * math/libm-test.inc (scalb_test_data): Add more tests.
10859 (scalbn_test_data): Likewise.
10860 (scalbln_test_data): Likewise.
10861 (signbit_test_data): Likewise.
10862 (sin_test_data): Likewise.
10863 (sincos_test_data): Likewise.
10864 (sinh_test_data): Likewise.
10865 (sqrt_test_data): Likewise.
10866 (tan_test_data): Likewise.
10867 (tanh_test_data): Likewise.
10868 (tgamma_test_data): Likewise.
10869 (y0_test_data): Likewise.
10870 (y1_test_data): Likewise.
10871 (yn_test_data): Likewise.
10872 (significand_test_data): Likewise.
10873 * sysdeps/i386/fpu/libm-test-ulps: Update.
10874
10875 2015-11-03 David Kastrup <dak@gnu.org>
10876
10877 [BZ #18604]
10878 * assert/assert.h (assert): Don't macro-expand failed assertion
10879 expression in error message.
10880 * malloc/malloc.c (assert): Likewise.
10881
10882 2015-11-03 Joseph Myers <joseph@codesourcery.com>
10883
10884 * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
10885 test.
10886 * configure: Regenerated.
10887
10888 2015-11-02 Joseph Myers <joseph@codesourcery.com>
10889
10890 * math/libm-test.inc (modf_test_data): Add more tests.
10891 (nearbyint_test_data): Likewise.
10892 (nextafter_test_data): Likewise.
10893 (nexttoward_test_data): Likewise.
10894 (pow_test_data): Likewise.
10895 (remainder_test_data): Likewise.
10896 (remquo_test_data): Likewise.
10897 (rint_test_data): Likewise.
10898
10899 [BZ #19201]
10900 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
10901 Check for zero remainder in case of large exponents and ensure
10902 correct sign of result in that case.
10903 * math/libm-test.inc (remainder_test_data): Add more tests.
10904
10905 [BZ #6799]
10906 * math/s_nextafter.c: Include <errno.h>.
10907 (__nextafter): Set errno on overflow and underflow.
10908 * math/s_nexttowardf.c: Include <errno.h>.
10909 (__nexttowardf): Set errno on overflow and underflow.
10910 * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
10911 (__nextafterl): Set errno on overflow and underflow.
10912 * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
10913 (__nexttoward): Set errno on overflow and underflow.
10914 * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
10915 (__nexttowardf): Set errno on overflow and underflow.
10916 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
10917 (__nextafterf): Set errno on overflow and underflow.
10918 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
10919 (__nextafterl): Set errno on overflow and underflow.
10920 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
10921 (__nexttoward): Set errno on overflow and underflow.
10922 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
10923 (__nexttowardf): Set errno on overflow and underflow.
10924 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
10925 (__nextafterl): Set errno on overflow and underflow.
10926 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
10927 (__nexttoward): Set errno on overflow and underflow.
10928 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
10929 (__nexttowardf): Set errno on overflow and underflow.
10930 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
10931 (__nexttoward): Set errno on overflow and underflow.
10932 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
10933 (__nexttowardf): Set errno on overflow and underflow.
10934 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
10935 (__nldbl_nexttowardf): Set errno on overflow and underflow.
10936 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
10937 (__nextafterl): Set errno on overflow and underflow.
10938 * math/libm-test.inc (nextafter_test_data): Do not allow errno
10939 setting to be missing on overflow. Add more tests.
10940 (nexttoward_test_data): Likewise.
10941
10942 * configure.ac (libc_cv_initfini_array): Remove configure test.
10943 * configure: Regenerated.
10944
10945 2015-10-29 Joseph Myers <joseph@codesourcery.com>
10946
10947 [BZ #19189]
10948 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
10949 non-finite argument handle arguments with negative sign.
10950
10951 * math/libm-test.inc (j0_test_data): Do not test sign of zero
10952 result from infinite argument.
10953 (j1_test_data): Likewise.
10954 (jn_test_data): Likewise.
10955 (y0_test_data): Likewise.
10956 (y1_test_data): Likewise.
10957 (yn_test_data): Likewise.
10958
10959 [BZ #16171]
10960 * math/w_remainder.c (drem): Define as weak alias of __remainder.
10961 [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
10962 * math/w_remainderf.c (dremf): Define as weak alias of
10963 __remainderf.
10964 * math/w_remainderl.c (dreml): Define as weak alias of
10965 __remainderl.
10966 * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
10967 __remainder.
10968 * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
10969 __remainderf.
10970 * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
10971 __remainderl.
10972 * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
10973 weak alias of remainderl.
10974 * sysdeps/ieee754/ldbl-opt/w_remainder.c
10975 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
10976 alias of __remainder.
10977 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
10978 * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
10979 strong alias of __remainderl.
10980 (dreml): Use long_double_symbol.
10981 * math/Makefile (libm-calls): Remove w_drem.
10982 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
10983 (CFLAGS-nldbl-drem.c): Remove variable.
10984 (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
10985 * math/w_drem.c: Remove file.
10986 * math/w_dremf.c: Likewise.
10987 * math/w_dreml.c: Likewise.
10988 * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
10989 * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
10990 * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
10991
10992 * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
10993 * sysdeps/i386/configure: Regenerated.
10994 * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
10995 * sysdeps/x86_64/configure: Regenerated.
10996
10997 * configure.ac (libc_cv_asm_protected_directive): Remove configure
10998 test.
10999 (libc_cv_visibility_attribute): Likewise.
11000 (libc_cv_protected_data): Test unconditionally.
11001 (libc_cv_broken_visibility_attribute): Remove configure test.
11002 (libc_cv_have_sdata_section): Test unconditionally.
11003 * configure: Regenerated.
11004
11005 * include/libc-internal.h (libc_max_align_t): Remove typedef.
11006 * include/scratch_buffer.h: Include <stddef.h> instead of
11007 <libc-internal.h>.
11008 (struct scratch_buffer): Use max_align_t instead of
11009 libc_max_align_t.
11010
11011 2015-10-29 Florian Weimer <fweimer@redhat.com>
11012
11013 * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
11014 instead of extend_alloca. Change control flow to avoid a goto.
11015 Remove assert which is trivially always true.
11016
11017 2015-10-28 Joseph Myers <joseph@codesourcery.com>
11018
11019 [BZ #16068]
11020 * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
11021 (FE_ALL_EXCEPT_X86): New macro.
11022 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
11023 FE_ALL_EXCEPT. Ensure precision control is included in
11024 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
11025 handle "denormal operand exception" and clear FZ and DAZ bits.
11026 * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
11027 (FE_ALL_EXCEPT_X86): New macro.
11028 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
11029 FE_ALL_EXCEPT. Ensure precision control is included in
11030 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
11031 handle "denormal operand exception" and clear FZ and DAZ bits.
11032 * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
11033 * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
11034 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
11035 test-fenv-x87 and test-fenv-sse-2.
11036 [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
11037
11038 * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
11039 * math/test-double.h (BUILD_COMPLEX): New macro.
11040 * math/test-float.h (BUILD_COMPLEX): Likewise.
11041 * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
11042
11043 * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
11044 DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
11045 __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
11046 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
11047 instead of DBL_DENORM_MIN in comment.
11048 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
11049 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
11050 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
11051 (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
11052 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
11053 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
11054
11055 2015-10-28 Florian Weimer <fweimer@redhat.com>
11056
11057 [BZ# 19048]
11058 * malloc/malloc.c (struct malloc_state): Update comment. Add
11059 attached_threads member.
11060 (main_arena): Initialize attached_threads.
11061 * malloc/arena.c (list_lock): Update comment.
11062 (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
11063 (ptmalloc_unlock_all2): Reinitialize arena reference counts.
11064 (deattach_arena): New function.
11065 (_int_new_arena): Initialize arena reference count and deattach
11066 replaced arena.
11067 (get_free_list, reused_arena): Update reference count and deattach
11068 replaced arena.
11069 (arena_thread_freeres): Update arena reference count and only put
11070 unreferenced arenas on the free list.
11071
11072 2015-10-28 Joseph Myers <joseph@codesourcery.com>
11073
11074 [BZ #19181]
11075 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
11076 SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
11077 * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
11078 * math/test-fenv-clear-main.c: New file.
11079 * math/test-fenv-clear.c: Likewise.
11080 * math/Makefile (tests): Add test-fenv-clear.
11081 * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
11082 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
11083 test-fenv-clear-sse.
11084 [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
11085
11086 * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
11087 DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
11088 __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
11089
11090 2015-10-28 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
11091
11092 * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
11093 static libc.
11094
11095 2015-10-28 Joseph Myers <joseph@codesourcery.com>
11096
11097 * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
11098 test.
11099 * sysdeps/i386/configure: Regenerated.
11100 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
11101 test.
11102 * sysdeps/x86_64/configure: Regenerated.
11103 * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
11104 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11105 memset-avx2 unconditionally instead of conditionally on
11106 [$(config-cflags-avx2) = yes].
11107 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11108 (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
11109 unconditional.
11110 * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
11111 * sysdeps/x86_64/multiarch/memset_chk.S
11112 [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
11113 to [IS_IN (libc) && SHARED].
11114
11115 2015-10-27 Joseph Myers <joseph@codesourcery.com>
11116
11117 * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
11118 configure test.
11119 * sysdeps/arm/configure: Regenerated.
11120 * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
11121 Define variable if not already defined.
11122
11123 [BZ #17404]
11124 * sysdeps/mips/atomic-machine.h
11125 [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
11126 Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
11127 [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
11128
11129 * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
11130 unconditional.
11131 * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
11132 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11133 * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
11134 unconditional.
11135 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11136 * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
11137 unconditional.
11138 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11139 * stdlib/setenv.c
11140 [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
11141 code unconditional.
11142 [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
11143 Remove conditional code.
11144 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
11145 (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
11146 unconditional.
11147 (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
11148 code.
11149 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
11150 (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
11151 unconditional.
11152 (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
11153 code.
11154 * sysdeps/ieee754/ldbl-128/k_tanl.c
11155 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
11156 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11157 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
11158 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
11159 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11160 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
11161 (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
11162 unconditional.
11163 (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
11164 code.
11165 * sysdeps/ieee754/ldbl-96/k_tanl.c
11166 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
11167 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11168
11169 * nptl/tst-initializers1-c11.c: New file.
11170 * nptl/tst-initializers1-gnu11.c: Likewise.
11171 * nptl/Makefile (tests): Add these new tests.
11172 (CFLAGS-tst-initializers1-c11.c): New variable.
11173 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
11174
11175 * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
11176 * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
11177 instead of -std=gnu99.
11178 * configure.ac (systemtap): Test with -std=gnu11 instead of
11179 -std=gnu99.
11180 * configure: Regenerated.
11181 * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
11182 in compilation command in comment.
11183
11184 * sysdeps/nptl/configure.ac: Remove file.
11185 * sysdeps/nptl/configure: Remove generated file.
11186 * configure.ac (libc_cv_forced_unwind): Do not substitute.
11187 * configure: Regenerated.
11188 * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
11189 * config.make.in (have-forced-unwind): Remove variable.
11190 * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
11191 unconditional.
11192 * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
11193 * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
11194 (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
11195 * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
11196 * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
11197 unconditional.
11198
11199 2015-10-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
11200
11201 [BZ #19174]
11202 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
11203 .skip_lock_out_of_tbegin_retries.
11204 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
11205 (__lll_lock_elision): Likewise, and respect a value of
11206 try_tbegin <= 0.
11207
11208 2015-10-27 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
11209
11210 * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
11211 statement.
11212
11213 2015-10-27 Joseph Myers <joseph@codesourcery.com>
11214
11215 * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
11216 variable.
11217 (test-xfail-ISO11/stdalign.h/conform): Likewise.
11218 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
11219
11220 * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
11221 of -std=c1x -D_ISOC11_SOURCE.
11222
11223 * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
11224 * configure: Regenerated.
11225 * manual/install.texi (Tools for Compilation): Document
11226 requirement for GCC 4.7 or later.
11227 * INSTALL: Regenerated.
11228
11229 2015-10-27 Ludovic Courtès <ludo@gnu.org>
11230
11231 * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
11232 on CNT to a conditional jump to 'puntdata'.
11233
11234 2015-10-27 Joseph Myers <joseph@codesourcery.com>
11235
11236 * configure.ac (libc_cv_gcc___thread): Remove configure test.
11237 (libc_cv_gcc_tls_model_attr): Likewise.
11238 * configure: Regenerated.
11239
11240 * configure.ac (libc_cv_need_minus_P): Remove configure test.
11241 * configure: Regenerated.
11242 * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
11243
11244 2015-10-26 Joseph Myers <joseph@codesourcery.com>
11245
11246 * configure.ac (old_glibc_headers): Remove configure test.
11247 * configure: Regenerated.
11248 * config.make.in (old-glibc-headers): Remove variable.
11249 * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
11250 (install): Remove dependency on remove-old-headers.
11251 (headers2_0): Remove variable.
11252 (remove-old-headers): Remove rule.
11253
11254 * configure.ac (libc_cv_dot_text): Remove configure test.
11255 (libc_cv_asm_set_directive): Use .text instead of
11256 ${libc_cv_dot_text} in configure test.
11257 * configure: Regenerated.
11258
11259 2015-10-26 Florian Weimer <fweimer@redhat.com>
11260
11261 [BZ #19168]
11262 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11263
11264 2015-10-26 Florian Weimer <fweimer@redhat.com>
11265
11266 * configure.ac (CXX): Clear the variable if the C++ toolchain does
11267 not support static linking.
11268 * configure: Regenerate.
11269
11270 2015-10-23 Joseph Myers <joseph@codesourcery.com>
11271
11272 * math/libm-test.inc (check_float_internal): Do not special-case
11273 errors up to 0.5 ulp.
11274
11275 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
11276 log2.
11277 * math/auto-libm-test-out: Regenerated.
11278 * math/libm-test.inc (MAX_EXP): New macro.
11279 (ilogb_test_data): Add more tests.
11280 (isfinite_test_data): Likewise.
11281 (isgreater_test_data): Likewise.
11282 (isgreaterequal_test_data): Likewise.
11283 (isinf_test_data): Likewise.
11284 (isless_test_data): Likewise.
11285 (islessequal_test_data): Likewise.
11286 (islessgreater_test_data): Likewise.
11287 (isnan_test_data): Likewise.
11288 (isnormal_test_data): Likewise.
11289 (issignaling_test_data): Likewise.
11290 (isunordered_test_data): Likewise.
11291 (j0_test_data): Likewise.
11292 (j1_test_data): Likewise.
11293 (jn_test_data): Likewise.
11294 (lgamma_test_data): Likewise.
11295 (log_test_data): Likewise.
11296 (log10_test_data): Likewise.
11297 (log1p_test_data): Likewise.
11298 (log2_test_data): Likewise.
11299 (logb_test_data): Likewise.
11300 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11301
11302 [BZ #18611]
11303 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
11304 avoid excess range and precision on underflow.
11305 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
11306 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
11307 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
11308 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
11309 underflow.
11310 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
11311 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11312 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
11313 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
11314 * math/auto-libm-test-in: Do not allow missing errno setting for
11315 tests of j1 and jn.
11316 * math/auto-libm-test-out: Regenerated.
11317
11318 2015-10-22 Joseph Myers <joseph@codesourcery.com>
11319
11320 [BZ #15491]
11321 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
11322 floating-point environment instead of clearing all exceptions.
11323 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
11324 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
11325 merging in "invalid" exceptions from frndint.
11326 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
11327 * math/test-nearbyint-except.c: New file.
11328 * math/Makefile (tests): Add test-nearbyint-except.
11329
11330 2015-10-22 Chris Metcalf <cmetcalf@ezchip.com>
11331
11332 * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
11333
11334 * sysdeps/tile/libm-test-ulps: Regenerated.
11335
11336 2015-10-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11337
11338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
11339 (__NR_sync_file_range2): Assume it is always defined.
11340 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
11341 (__NR_sync_file_range): Assume it is always defined.
11342
11343 2015-10-22 Andreas Schwab <schwab@suse.de>
11344
11345 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
11346 INTERNAL_SYSCALL_ERRNO.
11347 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11348 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
11349 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11350 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
11351 Likewise.
11352 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11353
11354 2015-10-21 Joseph Myers <joseph@codesourcery.com>
11355
11356 * io/tst-fcntl.c (fd): New static variable.
11357 (do_prepare): Open temporary file here....
11358 (do_test): ...not here.
11359
11360 * io/ftwtest-sh: Also trap on exit to remove temporary files.
11361
11362 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
11363
11364 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
11365 __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
11366 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
11367 Moved before "#ifdef __ASSEMBLER__".
11368
11369 2015-10-21 Joseph Myers <joseph@codesourcery.com>
11370
11371 [BZ #19156]
11372 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
11373 arguments very close to 0.
11374
11375 2015-10-21 Chris Metcalf <cmetcalf@ezchip.com>
11376
11377 * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
11378 (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
11379
11380 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
11381
11382 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
11383 New. Defined for GCC 5 and above when not compiling for
11384 profiling.
11385 Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
11386
11387 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
11388 Renamed to ...
11389 (CFLAGS-epoll_pwait.o): This.
11390 (CFLAGS-mmap.c): Renamed to ...
11391 (CFLAGS-mmap.o): This.
11392 (CFLAGS-mmap64.c): Renamed to ...
11393 (CFLAGS-mmap64.o): This.
11394 (CFLAGS-epoll_pwait.os): New.
11395 (CFLAGS-mmap.os): Likewise.
11396 (CFLAGS-mmap64.os): Likewise.
11397 (CFLAGS-semtimedop.os): Likewise.
11398 (CFLAGS-semtimedop.c): Renamed to ...
11399 (CFLAGS-semtimedop.o): This.
11400
11401 2015-10-21 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11402
11403 * debug/tst-backtrace4.c (handle_signal): Fix a comment and
11404 warning message.
11405
11406 2015-10-21 Joseph Myers <joseph@codesourcery.com>
11407
11408 * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
11409 * Makefile ($(objpfx)c++-types-check.out): Filter out
11410 $(+gccwarn-c) instead of -Wstrict-prototypes.
11411
11412 * io/fts.c (fts_open): Convert to prototype-style function
11413 definition.
11414 * malloc/mcheck.c (mcheck): Likewise.
11415 (mcheck_pedantic): Likewise.
11416 * posix/regexec.c (re_search_2_stub): Likewise. Use
11417 internal_function.
11418 (re_search_internal): Likewise.
11419 * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
11420 prototype-style function definition.
11421 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
11422 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
11423 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
11424 (xdr_utmpptr): Likewise.
11425 (xdr_utmparr): Likewise.
11426 (xdr_utmpidle): Likewise.
11427 (xdr_utmpidleptr): Likewise.
11428 (xdr_utmpidlearr): Likewise.
11429
11430 * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
11431 log, log10 and log2.
11432 * math/auto-libm-test-out: Regenerated.
11433 * math/libm-test.inc (fmod_test_data): Add more tests.
11434 (fpclassify_test_data): Likewise.
11435 (frexp_test_data): Likewise.
11436 (hypot_test_data): Likewise.
11437 (ilogb_test_data): Likewise.
11438
11439 2015-10-20 Joseph Myers <joseph@codesourcery.com>
11440
11441 * debug/fortify_fail.c (__fortify_fail): Convert to
11442 prototype-style function definition. Use internal_function.
11443 * libio/genops.c (save_for_backup): Convert to prototype-style
11444 function definition.
11445 * libio/wgenops.c (save_for_wbackup): Likewise.
11446 * login/grantpt.c (grantpt): Likewise.
11447 * login/ptsname.c (ptsname): Likewise.
11448 (__ptsname_r): Likewise.
11449 * login/unlockpt.c (unlockpt): Likewise.
11450 * mach/msgserver.c (__mach_msg_server): Likewise.
11451 * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
11452 (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
11453 (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
11454 * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
11455 (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
11456 * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
11457 * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
11458 Likewise.
11459 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise. Use
11460 internal_function.
11461 * nptl/pthread_atfork.c (__pthread_atfork): Convert to
11462 prototype-style function definition.
11463 * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
11464 [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
11465 (__pthread_create_2_0): Likewise.
11466 * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
11467 * nptl/register-atfork.c (__register_atfork): Likewise.
11468 * posix/glob.c (glob): Likewise.
11469 * posix/regcomp.c (re_comp): Likewise.
11470 * posix/regexec.c (re_exec): Likewise.
11471 * stdlib/add_n.c [__STDC__]: Make code unconditional.
11472 [!__STDC__]: Remove conditional code.
11473 * stdlib/cmp.c [__STDC__]: Make code unconditional.
11474 [!__STDC__]: Remove conditional code.
11475 * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
11476 [!__STDC__]: Remove conditional code.
11477 * stdlib/divrem.c [__STDC__]: Make code unconditional.
11478 [!__STDC__]: Remove conditional code.
11479 * stdlib/lshift.c [__STDC__]: Make code unconditional.
11480 [!__STDC__]: Remove conditional code.
11481 * stdlib/mod_1.c [__STDC__]: Make code unconditional.
11482 [!__STDC__]: Remove conditional code.
11483 * stdlib/mul.c [__STDC__]: Make code unconditional.
11484 [!__STDC__]: Remove conditional code.
11485 * stdlib/mul_n.c [__STDC__]: Make code unconditional.
11486 [!__STDC__]: Remove conditional code.
11487 * stdlib/rshift.c [__STDC__]: Make code unconditional.
11488 [!__STDC__]: Remove conditional code.
11489 * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
11490 function definition.
11491 (STRTOF): Likewise.
11492 * stdlib/strtod_l.c (__STRTOF): Likewise.
11493 * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
11494 * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
11495 (__strtol_l): Likewise.
11496 * stdlib/sub_n.c [__STDC__]: Make code unconditional.
11497 [!__STDC__]: Remove conditional code.
11498 * string/memrchr.c (MEMRCHR): Convert to prototype-style function
11499 definition.
11500 * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
11501 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
11502 type.
11503 (__strcasecmp): Convert to prototype-style function definition.
11504 * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
11505 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
11506 type.
11507 (__strncasecmp): Convert to prototype-style function definition.
11508 * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
11509 * sunrpc/xdr.c (xdr_union): Likewise.
11510 * sunrpc/xdr_array.c (xdr_array): Likewise.
11511 * sunrpc/xdr_ref.c (xdr_reference): Likewise.
11512 * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
11513 * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
11514 Likewise.
11515 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
11516 Likewise.
11517 * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
11518 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
11519 Likewise.
11520 * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
11521 (LOCALE_PARAM_PROTO): Likewise.
11522 [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
11523 argument type.
11524 (ut_argument_spec): Remove macro.
11525 (ut_argument_spec_iso): Rename to ut_argument_spec.
11526 (memcpy_lowcase): Use LOCALE_PARAM in declaration. Convert to
11527 prototype-style function definition.
11528 (memcpy_uppcase): Likewise.
11529 (__strftime_internal): Likewise.
11530 (my_strftime): Likewise.
11531 * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
11532 (LOCALE_PARAM_DECL): Likewise.
11533 [_LIBC] (LOCALE_PARAM): Include argument type.
11534 (__strptime_internal): Convert to prototype-style function
11535 definition.
11536 (strptime): Likewise.
11537 * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
11538 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
11539 type.
11540 (__wcscasecmp): Convert to prototype-style function definition.
11541 * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
11542 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
11543 type.
11544 (__wcsncasecmp): Convert to prototype-style function definition.
11545
11546 * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
11547 function definition.
11548 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
11549 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
11550 * debug/backtracesyms.c (__backtrace_symbols): Likewise.
11551 * elf/dl-minimal.c (_itoa): Likewise.
11552 * hurd/hurdmalloc.c (malloc): Likewise.
11553 (free): Likewise.
11554 (realloc): Likewise.
11555 * inet/inet6_option.c (inet6_option_space): Likewise.
11556 (inet6_option_init): Likewise.
11557 (inet6_option_append): Likewise.
11558 (inet6_option_alloc): Likewise.
11559 (inet6_option_next): Likewise.
11560 (inet6_option_find): Likewise.
11561 * io/ftw.c (FTW_NAME): Likewise.
11562 (NFTW_NAME): Likewise.
11563 (NFTW_NEW_NAME): Likewise.
11564 (NFTW_OLD_NAME): Likewise.
11565 * libio/iofwide.c (_IO_fwide): Likewise.
11566 * libio/strops.c (_IO_str_init_static_internal): Likewise.
11567 (_IO_str_init_static): Likewise.
11568 (_IO_str_init_readonly): Likewise.
11569 (_IO_str_overflow): Likewise.
11570 (_IO_str_underflow): Likewise.
11571 (_IO_str_count): Likewise.
11572 (_IO_str_seekoff): Likewise.
11573 (_IO_str_pbackfail): Likewise.
11574 (_IO_str_finish): Likewise.
11575 * libio/wstrops.c (_IO_wstr_init_static): Likewise.
11576 (_IO_wstr_overflow): Likewise.
11577 (_IO_wstr_underflow): Likewise.
11578 (_IO_wstr_count): Likewise.
11579 (_IO_wstr_seekoff): Likewise.
11580 (_IO_wstr_pbackfail): Likewise.
11581 (_IO_wstr_finish): Likewise.
11582 * locale/programs/localedef.c (normalize_codeset): Likewise.
11583 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
11584 (add_locales_to_archive): Likewise.
11585 (delete_locales_from_archive): Likewise.
11586 * malloc/malloc.c (__libc_mallinfo): Likewise.
11587 * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
11588 * misc/tsearch.c (__tfind): Likewise.
11589 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
11590 * nptl/pthread_attr_getdetachstate.c
11591 (__pthread_attr_getdetachstate): Likewise.
11592 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
11593 Likewise.
11594 * nptl/pthread_attr_getinheritsched.c
11595 (__pthread_attr_getinheritsched): Likewise.
11596 * nptl/pthread_attr_getschedparam.c
11597 (__pthread_attr_getschedparam): Likewise.
11598 * nptl/pthread_attr_getschedpolicy.c
11599 (__pthread_attr_getschedpolicy): Likewise.
11600 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
11601 Likewise.
11602 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
11603 Likewise.
11604 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
11605 Likewise.
11606 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
11607 Likewise.
11608 * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
11609 (__pthread_attr_init_2_0): Likewise.
11610 * nptl/pthread_attr_setdetachstate.c
11611 (__pthread_attr_setdetachstate): Likewise.
11612 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
11613 Likewise.
11614 * nptl/pthread_attr_setinheritsched.c
11615 (__pthread_attr_setinheritsched): Likewise.
11616 * nptl/pthread_attr_setschedparam.c
11617 (__pthread_attr_setschedparam): Likewise.
11618 * nptl/pthread_attr_setschedpolicy.c
11619 (__pthread_attr_setschedpolicy): Likewise.
11620 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
11621 Likewise.
11622 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
11623 Likewise.
11624 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
11625 Likewise.
11626 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
11627 Likewise.
11628 * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
11629 Likewise.
11630 * nptl/pthread_create.c (__find_in_stack_list): Likewise.
11631 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
11632 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
11633 use internal_function.
11634 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
11635 prototype-style function definition.
11636 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
11637 (__pthread_mutex_cond_lock_adjust): Likewise. Use
11638 internal_function.
11639 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
11640 Convert to prototype-style function definition.
11641 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
11642 Likewise.
11643 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
11644 Likewise.
11645 (__pthread_mutex_unlock): Likewise.
11646 * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
11647 * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
11648 * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
11649 * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
11650 * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
11651 * nss/makedb.c (process_input): Likewise.
11652 * posix/fnmatch.c (__strchrnul): Likewise.
11653 (__wcschrnul): Likewise.
11654 (fnmatch): Likewise.
11655 * posix/fnmatch_loop.c (FCT): Likewise.
11656 * posix/glob.c (globfree): Likewise.
11657 (__glob_pattern_type): Likewise.
11658 (__glob_pattern_p): Likewise.
11659 * posix/regcomp.c (re_compile_pattern): Likewise.
11660 (re_set_syntax): Likewise.
11661 (re_compile_fastmap): Likewise.
11662 (regcomp): Likewise.
11663 (regerror): Likewise.
11664 (regfree): Likewise.
11665 * posix/regexec.c (regexec): Likewise.
11666 (re_match): Likewise.
11667 (re_search): Likewise.
11668 (re_match_2): Likewise.
11669 (re_search_2): Likewise.
11670 (re_search_stub): Likewise. Use internal_function
11671 (re_copy_regs): Likewise.
11672 (re_set_registers): Convert to prototype-style function
11673 definition.
11674 (prune_impossible_nodes): Likewise. Use internal_function.
11675 * resolv/inet_net_pton.c (inet_net_pton): Convert to
11676 prototype-style function definition.
11677 (inet_net_pton_ipv4): Likewise.
11678 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11679 * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
11680 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
11681 * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
11682 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
11683 Make variadic.
11684 * time/strptime_l.c (localtime_r): Convert to prototype-style
11685 function definition.
11686 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
11687 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
11688 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
11689 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
11690
11691 * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
11692 definition.
11693 (_ufc_doit_r): Likewise.
11694 * crypt/crypt_util.c (_ufc_copymem): Likewise.
11695 (_ufc_output_conversion_r): Likewise.
11696 * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
11697 * inet/rcmd.c (rcmd_af): Likewise.
11698 (rcmd): Likewise.
11699 (ruserok_af): Likewise.
11700 (ruserok): Likewise.
11701 (ruserok2_sa): Likewise.
11702 (ruserok_sa): Likewise.
11703 (iruserok_af): Likewise.
11704 (iruserok): Likewise.
11705 (__ivaliduser): Likewise.
11706 (__validuser2_sa): Likewise.
11707 * inet/rexec.c (rexec_af): Likewise.
11708 (rexec): Likewise.
11709 * inet/ruserpass.c (ruserpass): Likewise.
11710 * locale/programs/xmalloc.c (xcalloc): Likewise.
11711 * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
11712 * math/w_drem.c (__drem): Likewise.
11713 * math/w_dremf.c (__dremf): Likewise.
11714 * math/w_dreml.c (__dreml): Likewise.
11715 * misc/daemon.c (daemon): Likewise.
11716 * resolv/res_debug.c (p_fqnname): Likewise.
11717 * stdlib/div.c (div): Likewise.
11718 * string/memcmp.c (memcmp_bytes): Likewise.
11719 * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
11720 * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
11721
11722 * crypt/cert.c (main): Convert to prototype-style function
11723 definition.
11724 * io/pipe.c (__pipe): Likewise.
11725 * io/pipe2.c (__pipe2): Likewise.
11726 * misc/futimesat.c (futimesat): Likewise.
11727 * misc/utimes.c (__utimes): Likewise.
11728 * posix/execve.c (__execve): Likewise.
11729 * posix/execvp.c (execvp): Likewise.
11730 * posix/execvpe.c (__execvpe): Likewise.
11731 * posix/fexecve.c (fexecve): Likewise.
11732 * socket/socketpair.c (socketpair): Likewise.
11733 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
11734 * stdlib/erand48.c (erand48): Likewise.
11735 * stdlib/erand48_r.c (__erand48_r): Likewise.
11736 * stdlib/jrand48.c (jrand48): Likewise.
11737 * stdlib/jrand48_r.c (__jrand48_r): Likewise.
11738 * stdlib/lcong48.c (lcong48): Likewise.
11739 * stdlib/lcong48_r.c (__lcong48_r): Likewise.
11740 * stdlib/nrand48.c (nrand48): Likewise.
11741 * stdlib/nrand48_r.c (__nrand48_r): Likewise.
11742 * stdlib/seed48.c (seed48): Likewise.
11743 * stdlib/seed48_r.c (__seed48_r): Likewise.
11744 * sysdeps/mach/hurd/execve.c (__execve): Likewise.
11745 * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
11746 * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
11747
11748 2015-10-19 Joseph Myers <joseph@codesourcery.com>
11749
11750 * configure.ac (libc_cv_asm_unique_object): Remove configure test.
11751 * configure: Regenerated.
11752 * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
11753 * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
11754 unconditional.
11755 * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
11756 * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
11757 * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
11758 (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
11759 * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
11760 unconditional.
11761 * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
11762
11763 * posix/Makefile (CFLAGS-regex.c): Remove variable.
11764 * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
11765
11766 * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
11767 function definition.
11768 * crypt/crypt_util.c (__encrypt_r): Likewise.
11769 * libio/genops.c (_IO_no_init): Likewise.
11770 * libio/iofopncook.c (_IO_fopencookie): Likewise.
11771 (_IO_old_fopencookie): Likewise.
11772 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
11773 * libio/iogetline.c (_IO_getline): Likewise.
11774 (_IO_getline_info): Likewise.
11775 * libio/iogetwline.c (_IO_getwline): Likewise.
11776 (_IO_getwline_info): Likewise.
11777 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
11778 * libio/vswprintf.c (_IO_vswprintf): Likewise.
11779 * locale/programs/simple-hash.c (insert_entry_2): Likewise.
11780 (find_entry): Likewise.
11781 (iterate_table): Likewise.
11782 (lookup): Likewise.
11783 * login/forkpty.c (forkpty): Likewise.
11784 * misc/hsearch_r.c (__hsearch_r): Likewise.
11785 * misc/select.c (__select): Likewise.
11786 * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
11787 Likewise.
11788 * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
11789 Likewise.
11790 * nptl/old_pthread_cond_timedwait.c
11791 (__pthread_cond_timedwait_2_0): Likewise.
11792 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
11793 * nptl/pthread_barrierattr_getpshared.c
11794 (pthread_barrierattr_getpshared): Likewise.
11795 * nptl/pthread_getschedparam.c (__pthread_getschedparam):
11796 Likewise.
11797 * nptl/pthread_mutex_setprioceiling.c
11798 (pthread_mutex_setprioceiling): Likewise.
11799 * nptl/pthread_mutexattr_getprioceiling.c
11800 (pthread_mutexattr_getprioceiling): Likewise.
11801 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
11802 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
11803 Likewise.
11804 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
11805 Likewise.
11806 * nptl/pthread_setschedparam.c (__pthread_setschedparam):
11807 Likewise.
11808 * socket/recvfrom.c (__recvfrom): Likewise.
11809 * socket/sendto.c (__sendto): Likewise.
11810 * socket/setsockopt.c (__setsockopt): Likewise.
11811 * stdio-common/_itoa.c (_itoa): Likewise.
11812 * stdio-common/_itowa.c (_itowa): Likewise.
11813 * stdio-common/reg-printf.c (__register_printf_specifier):
11814 Likewise.
11815 (__register_printf_function): Likewise.
11816 * stdio-common/tempname.c (__path_search): Likewise.
11817 * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
11818 * stdlib/mul_1.c (mpn_mul_1): Likewise.
11819 * stdlib/random_r.c (__initstate_r): Likewise.
11820 * stdlib/setenv.c (__add_to_environ): Likewise.
11821 * stdlib/submul_1.c (mpn_submul_1): Likewise.
11822 * streams/getpmsg.c (getpmsg): Likewise.
11823 * streams/putmsg.c (putmsg): Likewise.
11824 * streams/putpmsg.c (putpmsg): Likewise.
11825 * sunrpc/clnt_raw.c (clntraw_call): Likewise.
11826 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
11827 * sunrpc/clnt_udp.c (clntudp_create): Likewise.
11828 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
11829 * sunrpc/pm_getport.c (pmap_getport): Likewise.
11830 * sunrpc/svc_udp.c (cache_get): Likewise.
11831 * sunrpc/xdr_array.c (xdr_vector): Likewise.
11832 * sysdeps/mach/hurd/getcwd.c
11833 (__canonicalize_directory_name_internal): Likewise.
11834 * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
11835 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
11836 * sysdeps/mach/hurd/select.c (__select): Likewise.
11837 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
11838 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
11839 * sysdeps/sparc/nptl/pthread_barrier_init.c
11840 (__pthread_barrier_init): Likewise.
11841 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
11842 (__pthread_cond_timedwait): Likewise.
11843 * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
11844 * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
11845 Likewise.
11846 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
11847 * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
11848 Likewise.
11849 * sysvipc/semtimedop.c (semtimedop): Likewise.
11850 * time/setitimer.c (__setitimer): Likewise.
11851 * time/strftime_l.c (emacs_strftime): Likewise.
11852
11853 2015-10-19 Mike Frysinger <vapier@gentoo.org>
11854
11855 * config.make.in (have-ssp): Delete.
11856 (stack-protector): New variable.
11857 * configure.ac: Delete libc_cv_ssp export. Add libc_cv_ssp_strong
11858 cache test for -fstack-protector-strong. Export stack_protector to
11859 the best ssp flag.
11860 * configure: Regenerated.
11861 * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
11862 * nscd/Makefile (CFLAGS-nscd): Likewise.
11863 * resolv/Makefile (CFLAGS-libresolv): Likewise.
11864
11865 2015-10-16 H.J. Lu <hongjiu.lu@intel.com>
11866
11867 [BZ #19122]
11868 * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
11869 attribute_hidden.
11870
11871 2015-10-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11872
11873 [BZ #18743]
11874 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
11875 code to...
11876 (ELIDE_LOCK): ...here.
11877 (__get_new_count): New function with part of the code from
11878 __elide_lock that updates the value of adapt_count after a
11879 transaction abort.
11880 (__elided_trylock): Moved this code to...
11881 (ELIDE_TRYLOCK): ...here.
11882
11883 2015-10-19 Mike Frysinger <vapier@gentoo.org>
11884
11885 * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
11886 * configure: Regenerate.
11887 * INSTALL: Regenerate.
11888 * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
11889 and tweak grammar.
11890
11891 2015-10-19 Geoffrey Thomas <geofft@ldpreload.com>
11892
11893 * login/programs/pt_chown.c: Include signal.h
11894 (main): Clear any signal mask from the parent process.
11895
11896 2015-10-19 Joseph Myers <joseph@codesourcery.com>
11897
11898 * configure.ac (libc_cv_gnu89_inline): Remove configure test.
11899 * configure: Regenerated.
11900 * config.make.in (gnu89-inline-CFLAGS): Remove variable.
11901 * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
11902 $(gnu89-inline-CFLAGS).
11903
11904 * configure.ac (libc_cv_asm_weak_directive): Remove configure
11905 test.
11906 (libc_cv_asm_weakext_directive): Likewise.
11907 * configure: Regenerated.
11908 * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
11909 (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
11910 * include/libc-symbols.h
11911 [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
11912 #error.
11913 [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
11914 [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
11915
11916 * sysdeps/arm/backtrace.c (__backtrace): Convert to
11917 prototype-style function definition.
11918 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
11919 * sysdeps/i386/ffs.c (__ffs): Likewise.
11920 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
11921 * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
11922 Likewise.
11923 * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
11924 Likewise.
11925 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
11926 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
11927 Likewise.
11928 * sysdeps/m68k/ffs.c (__ffs): Likewise.
11929 * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
11930 * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
11931 * sysdeps/mach/adjtime.c (__adjtime): Likewise.
11932 * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
11933 * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
11934 * sysdeps/mach/hurd/access.c (__access): Likewise.
11935 * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
11936 * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
11937 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
11938 * sysdeps/mach/hurd/chown.c (__chown): Likewise.
11939 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
11940 (cthread_getspecific): Likewise.
11941 (cthread_setspecific): Likewise.
11942 (__libc_getspecific): Likewise.
11943 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
11944 * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
11945 * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
11946 * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
11947 * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
11948 * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
11949 * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
11950 * sysdeps/mach/hurd/flock.c (__flock): Likewise.
11951 * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
11952 * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
11953 * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
11954 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
11955 * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
11956 * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
11957 * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
11958 * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
11959 * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
11960 * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
11961 * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
11962 * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
11963 * sysdeps/mach/hurd/link.c (__link): Likewise.
11964 * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
11965 * sysdeps/mach/hurd/listen.c (__listen): Likewise.
11966 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
11967 * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
11968 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
11969 * sysdeps/mach/hurd/poll.c (__poll): Likewise.
11970 * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
11971 * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
11972 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
11973 * sysdeps/mach/hurd/rename.c (rename): Likewise.
11974 * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
11975 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
11976 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
11977 * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
11978 * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
11979 * sysdeps/mach/hurd/send.c (__send): Likewise.
11980 * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
11981 * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
11982 * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
11983 * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
11984 * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
11985 * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
11986 * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
11987 * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
11988 * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
11989 * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
11990 * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
11991 * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
11992 * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
11993 * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
11994 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
11995 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
11996 * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
11997 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
11998 * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
11999 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
12000 * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
12001 * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
12002 * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
12003 * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
12004 * sysdeps/mach/hurd/umask.c (__umask): Likewise.
12005 * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
12006 * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
12007 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
12008 * sysdeps/posix/alarm.c (alarm): Likewise.
12009 * sysdeps/posix/cuserid.c (cuserid): Likewise.
12010 * sysdeps/posix/dirfd.c (dirfd): Likewise.
12011 * sysdeps/posix/dup.c (__dup): Likewise.
12012 * sysdeps/posix/dup2.c (__dup2): Likewise.
12013 * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
12014 (main): Likewise.
12015 * sysdeps/posix/flock.c (__flock): Likewise.
12016 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
12017 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
12018 * sysdeps/posix/gethostname.c (__gethostname): Likewise.
12019 * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
12020 * sysdeps/posix/isatty.c (__isatty): Likewise.
12021 * sysdeps/posix/killpg.c (killpg): Likewise.
12022 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
12023 * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
12024 * sysdeps/posix/raise.c (raise): Likewise.
12025 * sysdeps/posix/remove.c (remove): Likewise.
12026 * sysdeps/posix/rename.c (rename): Likewise.
12027 * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
12028 * sysdeps/posix/seekdir.c (seekdir): Likewise.
12029 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
12030 * sysdeps/posix/sigignore.c (sigignore): Likewise.
12031 * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
12032 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
12033 * sysdeps/posix/sigset.c (sigset): Likewise.
12034 * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
12035 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
12036 * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
12037 * sysdeps/posix/time.c (time): Likewise.
12038 * sysdeps/posix/ttyname.c (getttyname): Likewise.
12039 (ttyname): Likewise.
12040 * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
12041 * sysdeps/posix/utime.c (utime): Likewise.
12042 * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
12043 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
12044 Likewise.
12045 * sysdeps/powerpc/nptl/pthread_spin_trylock.c
12046 (pthread_spin_trylock): Likewise.
12047 * sysdeps/pthread/aio_error.c (aio_error): Likewise.
12048 * sysdeps/pthread/aio_read.c (aio_read): Likewise.
12049 * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
12050 * sysdeps/pthread/aio_write.c (aio_write): Likewise.
12051 * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
12052 * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
12053 * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
12054 * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
12055 * sysdeps/pthread/timer_create.c (timer_create): Likewise.
12056 * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
12057 * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
12058 * sysdeps/s390/ffs.c (__ffs): Likewise.
12059 * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
12060 Likewise.
12061 * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
12062 Likewise.
12063 * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
12064 Likewise.
12065 * sysdeps/sparc/nptl/pthread_barrier_destroy.c
12066 (pthread_barrier_destroy): Likewise.
12067 * sysdeps/sparc/nptl/pthread_barrier_wait.c
12068 (__pthread_barrier_wait): Likewise.
12069 * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
12070 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
12071 (__pthread_barrier_wait): Likewise.
12072 * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
12073 * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
12074 (memcmp_not_common_alignment): Likewise.
12075 (MEMCMP): Likewise.
12076 * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
12077 (_wordcopy_fwd_dest_aligned): Likewise.
12078 (_wordcopy_bwd_aligned): Likewise.
12079 (_wordcopy_bwd_dest_aligned): Likewise.
12080 * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
12081 * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
12082 * sysdeps/unix/bsd/stty.c (stty): Likewise.
12083 * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
12084 * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
12085 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
12086 * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
12087 * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
12088 * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
12089 * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
12090 * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
12091 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
12092 * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
12093 * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
12094 * sysdeps/unix/stime.c (stime): Likewise.
12095 * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
12096 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
12097 Likewise. Use internal_function.
12098 * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
12099 Convert to prototype-style function definition.
12100 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
12101 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
12102 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
12103 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
12104 Likewise. Use internal_function.
12105 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
12106 prototype-style function definition
12107 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12108 Likewise.
12109 (__getlogin_r): Likewise.
12110 * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
12111 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
12112 (__pthread_cond_broadcast): Likewise.
12113 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
12114 (__pthread_cond_destroy): Likewise.
12115 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
12116 (__pthread_cond_init): Likewise.
12117 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
12118 (__pthread_cond_signal): Likewise.
12119 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
12120 (__pthread_cond_wait): Likewise.
12121 * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
12122 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
12123 * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
12124 Likewise.
12125 * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
12126 Likewise.
12127 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
12128 Likewise.
12129 * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
12130 Likewise.
12131 * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
12132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
12133 (__ftruncate64): Likewise.
12134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
12135 (truncate64): Likewise.
12136 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
12137 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
12138 (pthread_getcpuclockid): Likewise.
12139 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
12140 Likewise.
12141 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
12142 Likewise.
12143 * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
12144 Likewise.
12145 * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
12146 Likewise.
12147 * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
12148 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
12149 (__libc_sigaction): Likewise.
12150 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
12151 Likewise.
12152 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
12153 (__sigprocmask): Likewise.
12154 * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
12155 * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
12156 * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
12157 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
12158 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
12159 * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
12160 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
12161 Likewise.
12162 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
12163 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
12164 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
12165 * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
12166 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
12167 Likewise.
12168 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
12169 (__sigprocmask): Likewise.
12170 * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
12171 (cfgetispeed): Likewise.
12172 (cfsetospeed): Likewise.
12173 (cfsetispeed): Likewise.
12174 * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
12175 * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
12176 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
12177 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
12178 * sysdeps/unix/sysv/linux/time.c (time): Likewise.
12179 * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
12180 * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
12181 * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
12182 Likewise.
12183 * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
12184 Likewise.
12185 * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
12186 Likewise.
12187 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
12188 Likewise.
12189 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
12190
12191 2015-10-17 Florian Weimer <fweimer@redhat.com>
12192
12193 sunrpc: Rewrite with explicit TLS access using __thread.
12194 * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
12195 (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
12196 directly.
12197 (__rpc_thread_variables): Access thread_rpc_vars directly.
12198 Eliminate redundant assignment of the tvp variable.
12199
12200 2015-10-17 Florian Weimer <fweimer@redhat.com>
12201
12202 malloc: Rewrite with explicit TLS access using __thread.
12203 * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
12204 (tsd_setspecific, tsd_getspecific): Remove.
12205 * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
12206 (tsd_setspecific, tsd_getspecific): Likewise.
12207 * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
12208 (tsd_setspecific, tsd_getspecific): Likewise.
12209 * malloc/arena.c (thread_arena): New TLS variable.
12210 (arena_key): Remove variable.
12211 (arena_get): Use thread_arena.
12212 (arena_lookup): Remove macro.
12213 (malloc_atfork, free_atfork, ptmalloc_lock_all)
12214 (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
12215 (_int_new_arena, get_free_list, reused_arena)
12216 (arena_thread_freeres): Use thread_arena.
12217 * manual/memory.texi (Basic Allocation): Remove arena_lookup,
12218 tsd_getspecific, tsd_setspecific from safety annotations.
12219 (Allocating Cleared Space): Remove arena_lookup from safety
12220 annotations.
12221
12222 2015-10-17 Florian Weimer <fweimer@redhat.com>
12223
12224 * stdio-common/vfprintf.c (printf_positional): Rewrite to use
12225 struct scratch_buffer instead of extend_alloca.
12226
12227 2015-10-17 Florian Weimer <fweimer@redhat.com>
12228
12229 * sysdeps/unix/sysv/linux/kernel-features.h
12230 (__ASSUME_SOCK_CLOEXEC): Remove.
12231 * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
12232 (__have_paccept): Remove unused macro.
12233 * include/unistd.h (__have_sock_cloexec): Remove declaration.
12234 * misc/syslog.c (openlog_internal): Remove fallback code for
12235 !__ASSUME_SOCK_CLOEXEC.
12236 * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
12237 missing SOCK_CLOEXEC.
12238 * nscd/connections.c (have_sock_cloexec): Remove definition.
12239 (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
12240 * nscd/nscd_helper.c (open_socket): Remove fallback code for
12241 !__ASSUME_SOCK_CLOEXEC.
12242 * resolv/res_send.c (__have_o_nonblock): Remove definition.
12243 (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
12244 * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
12245 definition.
12246 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
12247 code for !__ASSUME_SOCK_CLOEXEC.
12248
12249 2015-10-17 Florian Weimer <fweimer@redhat.com>
12250
12251 [BZ #18982]
12252 * manual/stdio.texi (Variable Arguments Output): Add portability
12253 note, explaining that vfprintf clobbers the va_list pointer.
12254
12255 2015-10-16 Joseph Myers <joseph@codesourcery.com>
12256
12257 * math/libm-test.inc (fabs_test_data): Add more tests.
12258 (fdim_test_data): Likewise.
12259 (fma_test_data): Likewise.
12260 (fmax_test_data): Likewise.
12261 (fmin_test_data): Likewise.
12262 (fmod_test_data): Likewise.
12263
12264 2015-10-16 Steve Ellcey <sellcey@imgtec.com>
12265
12266 * sysdeps/mips/memcpy.S (memcpy): Add word copies for small aligned
12267 data.
12268
12269 2015-10-16 Joseph Myers <joseph@codesourcery.com>
12270
12271 * math/libm-test.inc (ceil_test_data): Add more tests and more
12272 expectations for "inexact".
12273 (floor_test_data): Add more tests.
12274 (round_test_data): Likewise.
12275 (trunc_test_data): Likewise.
12276
12277 * crypt/cert.c (good_bye): Convert to prototype-style function
12278 definition.
12279 (get8): Likewise.
12280 (put8): Likewise.
12281 * crypt/crypt-entry.c (crypt): Likewise.
12282 (__fcrypt): Likewise.
12283 * crypt/crypt_util.c (_ufc_prbits): Likewise.
12284 (_ufc_set_bits): Likewise.
12285 (_ufc_clearmem): Likewise.
12286 (__init_des_r): Likewise.
12287 (shuffle_sb): Likewise.
12288 (shuffle_sb): Likewise.
12289 (_ufc_setup_salt_r): Likewise.
12290 (_ufc_mk_keytab_r): Likewise.
12291 (_ufc_dofinalperm_r): Likewise.
12292 (encrypt): Likewise.
12293 (__setkey_r): Likewise.
12294 (setkey): Likewise.
12295 * crypt/md5.c (md5_init_ctx): Likewise.
12296 (md5_read_ctx): Likewise.
12297 (md5_finish_ctx): Likewise.
12298 (md5_stream): Likewise.
12299 (md5_buffer): Likewise.
12300 (md5_process_bytes): Likewise.
12301 * crypt/sha256.c (__sha256_init_ctx): Likewise.
12302 (__sha256_finish_ctx): Likewise.
12303 (__sha256_process_bytes): Likewise.
12304 * crypt/sha512.c (__sha512_init_ctx): Likewise.
12305 (__sha512_finish_ctx): Likewise.
12306 (__sha512_process_bytes): Likewise.
12307 * ctype/isctype.c (__isctype): Likewise.
12308 * debug/backtrace.c (__backtrace): Likewise.
12309 * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
12310 * debug/fgets_chk.c (__fgets_chk): Likewise.
12311 * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
12312 * debug/memcpy_chk.c (__memcpy_chk): Likewise.
12313 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
12314 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
12315 * debug/memset_chk.c (__memset_chk): Likewise.
12316 * debug/strcat_chk.c (__strcat_chk): Likewise.
12317 * debug/strncat_chk.c (__strncat_chk): Likewise.
12318 * debug/strncpy_chk.c (__strncpy_chk): Likewise.
12319 * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
12320 * dirent/dirfd.c (dirfd): Likewise.
12321 * dirent/getdents.c (__getdirentries): Likewise.
12322 * dirent/getdents64.c (getdirentries64): Likewise.
12323 * dirent/rewinddir.c (__rewinddir): Likewise.
12324 * dirent/seekdir.c (seekdir): Likewise.
12325 * dirent/telldir.c (telldir): Likewise.
12326 * elf/sln.c (makesymlinks): Likewise.
12327 (makesymlink): Likewise.
12328 * gmon/gmon.c (__moncontrol): Likewise.
12329 (__monstartup): Likewise.
12330 (write_hist): Likewise.
12331 (write_call_graph): Likewise.
12332 (write_bb_counts): Likewise.
12333 * grp/setgroups.c (setgroups): Likewise.
12334 * inet/inet_lnaof.c (inet_lnaof): Likewise.
12335 * inet/inet_net.c (inet_network): Likewise.
12336 * inet/inet_netof.c (inet_netof): Likewise.
12337 * inet/rcmd.c (rresvport_af): Likewise.
12338 (rresvport): Likewise.
12339 * io/access.c (__access): Likewise.
12340 * io/chdir.c (__chdir): Likewise.
12341 * io/chmod.c (__chmod): Likewise.
12342 * io/chown.c (__chown): Likewise.
12343 * io/close.c (__close): Likewise.
12344 * io/creat.c (creat): Likewise.
12345 * io/creat64.c (creat64): Likewise.
12346 * io/dup.c (__dup): Likewise.
12347 * io/dup2.c (__dup2): Likewise.
12348 * io/dup3.c (__dup3): Likewise.
12349 * io/euidaccess.c (__euidaccess): Likewise.
12350 * io/faccessat.c (faccessat): Likewise.
12351 * io/fchmod.c (__fchmod): Likewise.
12352 * io/fchmodat.c (fchmodat): Likewise.
12353 * io/fchown.c (__fchown): Likewise.
12354 * io/fchownat.c (fchownat): Likewise.
12355 * io/fcntl.c (__fcntl): Likewise.
12356 * io/flock.c (__flock): Likewise.
12357 * io/fts.c (fts_load): Likewise.
12358 (fts_close): Likewise.
12359 (fts_read): Likewise.
12360 (fts_set): Likewise.
12361 (fts_children): Likewise.
12362 (fts_build): Likewise.
12363 (fts_stat): Likewise.
12364 (fts_sort): Likewise.
12365 (fts_alloc): Likewise.
12366 (fts_lfree): Likewise.
12367 (fts_palloc): Likewise.
12368 (fts_padjust): Likewise.
12369 (fts_maxarglen): Likewise.
12370 (fts_safe_changedir): Likewise.
12371 * io/getwd.c (getwd): Likewise.
12372 * io/isatty.c (__isatty): Likewise.
12373 * io/lchown.c (__lchown): Likewise.
12374 * io/link.c (__link): Likewise.
12375 * io/linkat.c (linkat): Likewise.
12376 * io/lseek.c (__libc_lseek): Likewise.
12377 * io/mkdir.c (__mkdir): Likewise.
12378 * io/mkdirat.c (mkdirat): Likewise.
12379 * io/mkfifo.c (mkfifo): Likewise.
12380 * io/mkfifoat.c (mkfifoat): Likewise.
12381 * io/open.c (__libc_open): Likewise.
12382 * io/open64.c (__libc_open64): Likewise.
12383 * io/readlink.c (__readlink): Likewise.
12384 * io/readlinkat.c (readlinkat): Likewise.
12385 * io/rmdir.c (__rmdir): Likewise.
12386 * io/symlink.c (__symlink): Likewise.
12387 * io/symlinkat.c (symlinkat): Likewise.
12388 * io/ttyname.c (ttyname): Likewise.
12389 * io/ttyname_r.c (__ttyname_r): Likewise.
12390 * io/umask.c (__umask): Likewise.
12391 * io/unlink.c (__unlink): Likewise.
12392 * io/unlinkat.c (unlinkat): Likewise.
12393 * io/utime.c (utime): Likewise.
12394 * libio/clearerr.c (clearerr): Likewise.
12395 * libio/clearerr_u.c (clearerr_unlocked): Likewise.
12396 * libio/feof.c (_IO_feof): Likewise.
12397 * libio/feof_u.c (feof_unlocked): Likewise.
12398 * libio/ferror.c (_IO_ferror): Likewise.
12399 * libio/ferror_u.c (ferror_unlocked): Likewise.
12400 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
12401 * libio/fileno.c (__fileno): Likewise.
12402 * libio/fputc.c (fputc): Likewise.
12403 * libio/fputc_u.c (fputc_unlocked): Likewise.
12404 * libio/fputwc.c (fputwc): Likewise.
12405 * libio/fputwc_u.c (fputwc_unlocked): Likewise.
12406 * libio/freopen.c (freopen): Likewise.
12407 * libio/freopen64.c (freopen64): Likewise.
12408 * libio/fseek.c (fseek): Likewise.
12409 * libio/fseeko.c (fseeko): Likewise.
12410 * libio/fseeko64.c (fseeko64): Likewise.
12411 * libio/ftello.c (__ftello): Likewise.
12412 * libio/ftello64.c (ftello64): Likewise.
12413 * libio/fwide.c (fwide): Likewise.
12414 * libio/genops.c (_IO_un_link): Likewise.
12415 (_IO_link_in): Likewise.
12416 (_IO_least_marker): Likewise.
12417 (_IO_switch_to_main_get_area): Likewise.
12418 (_IO_switch_to_backup_area): Likewise.
12419 (_IO_switch_to_get_mode): Likewise.
12420 (_IO_free_backup_area): Likewise.
12421 (_IO_switch_to_put_mode): Likewise.
12422 (__overflow): Likewise.
12423 (__underflow): Likewise.
12424 (__uflow): Likewise.
12425 (_IO_setb): Likewise.
12426 (_IO_doallocbuf): Likewise.
12427 (_IO_default_underflow): Likewise.
12428 (_IO_default_uflow): Likewise.
12429 (_IO_default_xsputn): Likewise.
12430 (_IO_sgetn): Likewise.
12431 (_IO_default_xsgetn): Likewise.
12432 (_IO_sync): Likewise.
12433 (_IO_default_setbuf): Likewise.
12434 (_IO_default_seekpos): Likewise.
12435 (_IO_default_doallocate): Likewise.
12436 (_IO_init): Likewise.
12437 (_IO_old_init): Likewise.
12438 (_IO_default_sync): Likewise.
12439 (_IO_default_finish): Likewise.
12440 (_IO_default_seekoff): Likewise.
12441 (_IO_sputbackc): Likewise.
12442 (_IO_sungetc): Likewise.
12443 (_IO_set_column): Likewise.
12444 (_IO_set_column): Likewise.
12445 (_IO_adjust_column): Likewise.
12446 (_IO_get_column): Likewise.
12447 (_IO_init_marker): Likewise.
12448 (_IO_remove_marker): Likewise.
12449 (_IO_marker_difference): Likewise.
12450 (_IO_marker_delta): Likewise.
12451 (_IO_seekmark): Likewise.
12452 (_IO_unsave_markers): Likewise.
12453 (_IO_nobackup_pbackfail): Likewise.
12454 (_IO_default_pbackfail): Likewise.
12455 (_IO_default_seek): Likewise.
12456 (_IO_default_stat): Likewise.
12457 (_IO_default_read): Likewise.
12458 (_IO_default_write): Likewise.
12459 (_IO_default_showmanyc): Likewise.
12460 (_IO_default_imbue): Likewise.
12461 (_IO_iter_next): Likewise.
12462 (_IO_iter_file): Likewise.
12463 * libio/getc.c (_IO_getc): Likewise.
12464 * libio/getwc.c (_IO_getwc): Likewise.
12465 * libio/iofclose.c (_IO_new_fclose): Likewise.
12466 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
12467 * libio/iofflush.c (_IO_fflush): Likewise.
12468 * libio/iofflush_u.c (__fflush_unlocked): Likewise.
12469 * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
12470 * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
12471 * libio/iofgets.c (_IO_fgets): Likewise.
12472 * libio/iofgets_u.c (__fgets_unlocked): Likewise.
12473 * libio/iofgetws.c (fgetws): Likewise.
12474 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
12475 * libio/iofopen64.c (_IO_fopen64): Likewise.
12476 * libio/iofopncook.c (_IO_cookie_read): Likewise.
12477 (_IO_cookie_write): Likewise.
12478 (_IO_cookie_seek): Likewise.
12479 (_IO_cookie_close): Likewise.
12480 (_IO_cookie_seekoff): Likewise.
12481 (_IO_old_cookie_seek): Likewise.
12482 * libio/iofputs.c (_IO_fputs): Likewise.
12483 * libio/iofputs_u.c (__fputs_unlocked): Likewise.
12484 * libio/iofputws.c (fputws): Likewise.
12485 * libio/iofputws_u.c (fputws_unlocked): Likewise.
12486 * libio/iofread.c (_IO_fread): Likewise.
12487 * libio/iofread_u.c (__fread_unlocked): Likewise.
12488 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
12489 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
12490 * libio/ioftell.c (_IO_ftell): Likewise.
12491 * libio/iofwrite.c (_IO_fwrite): Likewise.
12492 * libio/iogetdelim.c (_IO_getdelim): Likewise.
12493 * libio/iogets.c (_IO_gets): Likewise.
12494 * libio/iopadn.c (_IO_padn): Likewise.
12495 * libio/iopopen.c (_IO_new_proc_open): Likewise.
12496 (_IO_new_popen): Likewise.
12497 (_IO_new_proc_close): Likewise.
12498 * libio/ioputs.c (_IO_puts): Likewise.
12499 * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
12500 (_IO_seekoff): Likewise.
12501 * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
12502 (_IO_seekpos): Likewise.
12503 * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
12504 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
12505 * libio/ioungetc.c (_IO_ungetc): Likewise.
12506 * libio/ioungetwc.c (ungetwc): Likewise.
12507 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
12508 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
12509 * libio/iowpadn.c (_IO_wpadn): Likewise.
12510 * libio/libc_fatal.c (__libc_fatal): Likewise.
12511 * libio/memstream.c (__open_memstream): Likewise.
12512 (_IO_mem_sync): Likewise.
12513 (_IO_mem_finish): Likewise.
12514 * libio/oldfileops.c (_IO_old_file_init): Likewise.
12515 (_IO_old_file_close_it): Likewise.
12516 (_IO_old_file_finish): Likewise.
12517 (_IO_old_file_fopen): Likewise.
12518 (_IO_old_file_attach): Likewise.
12519 (_IO_old_file_setbuf): Likewise.
12520 (_IO_old_do_write): Likewise.
12521 (old_do_write): Likewise.
12522 (_IO_old_file_underflow): Likewise.
12523 (_IO_old_file_overflow): Likewise.
12524 (_IO_old_file_sync): Likewise.
12525 (_IO_old_file_seekoff): Likewise.
12526 (_IO_old_file_write): Likewise.
12527 (_IO_old_file_xsputn): Likewise.
12528 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
12529 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
12530 * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
12531 * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
12532 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
12533 * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
12534 * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
12535 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
12536 (_IO_old_popen): Likewise.
12537 (_IO_old_proc_close): Likewise.
12538 * libio/oldpclose.c (__old_pclose): Likewise.
12539 * libio/pclose.c (__new_pclose): Likewise.
12540 * libio/peekc.c (_IO_peekc_locked): Likewise.
12541 * libio/putc.c (_IO_putc): Likewise.
12542 * libio/putc_u.c (putc_unlocked): Likewise.
12543 * libio/putchar.c (putchar): Likewise.
12544 * libio/putchar_u.c (putchar_unlocked): Likewise.
12545 * libio/putwc.c (putwc): Likewise.
12546 * libio/putwc_u.c (putwc_unlocked): Likewise.
12547 * libio/putwchar.c (putwchar): Likewise.
12548 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
12549 * libio/rewind.c (rewind): Likewise.
12550 * libio/setbuf.c (setbuf): Likewise.
12551 * libio/setlinebuf.c (setlinebuf): Likewise.
12552 * libio/vasprintf.c (_IO_vasprintf): Likewise.
12553 * libio/vscanf.c (_IO_vscanf): Likewise.
12554 * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
12555 * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
12556 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
12557 * libio/wgenops.c (_IO_least_wmarker): Likewise.
12558 (_IO_switch_to_main_wget_area): Likewise.
12559 (_IO_switch_to_wbackup_area): Likewise.
12560 (_IO_wsetb): Likewise.
12561 (_IO_wdefault_pbackfail): Likewise.
12562 (_IO_wdefault_finish): Likewise.
12563 (_IO_wdefault_uflow): Likewise.
12564 (__woverflow): Likewise.
12565 (__wuflow): Likewise.
12566 (__wunderflow): Likewise.
12567 (_IO_wdefault_xsputn): Likewise.
12568 (_IO_wdefault_xsgetn): Likewise.
12569 (_IO_wdoallocbuf): Likewise.
12570 (_IO_wdefault_doallocate): Likewise.
12571 (_IO_switch_to_wget_mode): Likewise.
12572 (_IO_free_wbackup_area): Likewise.
12573 (_IO_switch_to_wput_mode): Likewise.
12574 (_IO_sputbackwc): Likewise.
12575 (_IO_sungetwc): Likewise.
12576 (_IO_adjust_wcolumn): Likewise.
12577 (_IO_init_wmarker): Likewise.
12578 (_IO_wmarker_delta): Likewise.
12579 (_IO_seekwmark): Likewise.
12580 (_IO_unsave_wmarkers): Likewise.
12581 * libio/wmemstream.c (open_wmemstream): Likewise.
12582 (_IO_wmem_sync): Likewise.
12583 (_IO_wmem_finish): Likewise.
12584 * locale/nl_langinfo.c (nl_langinfo): Likewise.
12585 * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
12586 * locale/programs/simple-hash.c (init_hash): Likewise.
12587 (delete_hash): Likewise.
12588 (insert_entry): Likewise.
12589 (set_entry): Likewise.
12590 (next_prime): Likewise.
12591 (is_prime): Likewise.
12592 * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
12593 (xmalloc): Likewise.
12594 (xrealloc): Likewise.
12595 * locale/programs/xstrdup.c (xstrdup): Likewise.
12596 * localedata/collate-test.c (xstrcoll): Likewise.
12597 * localedata/xfrm-test.c (xstrcmp): Likewise.
12598 * login/getlogin_r.c (__getlogin_r): Likewise.
12599 * login/getpt.c (__posix_openpt): Likewise.
12600 * login/login_tty.c (login_tty): Likewise.
12601 * login/setlogin.c (setlogin): Likewise.
12602 * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
12603 (mach_msg_destroy_port): Likewise.
12604 (mach_msg_destroy_memory): Likewise.
12605 * malloc/mcheck.c (flood): Likewise.
12606 * misc/acct.c (acct): Likewise.
12607 * misc/brk.c (__brk): Likewise.
12608 * misc/chflags.c (chflags): Likewise.
12609 * misc/chroot.c (chroot): Likewise.
12610 * misc/fchflags.c (fchflags): Likewise.
12611 * misc/fstab.c (getfsspec): Likewise.
12612 (getfsfile): Likewise.
12613 * misc/fsync.c (fsync): Likewise.
12614 * misc/ftruncate.c (__ftruncate): Likewise.
12615 * misc/ftruncate64.c (__ftruncate64): Likewise.
12616 * misc/getdomain.c (getdomainname): Likewise.
12617 (getdomainname): Likewise.
12618 * misc/gethostname.c (__gethostname): Likewise.
12619 * misc/getpass.c (getpass): Likewise.
12620 * misc/getttyent.c (skip): Likewise.
12621 (value): Likewise.
12622 * misc/gtty.c (gtty): Likewise.
12623 * misc/hsearch.c (hsearch): Likewise.
12624 (hcreate): Likewise.
12625 * misc/hsearch_r.c (__hcreate_r): Likewise.
12626 (__hdestroy_r): Likewise.
12627 * misc/ioctl.c (__ioctl): Likewise.
12628 * misc/mkdtemp.c (mkdtemp): Likewise.
12629 * misc/mkostemp.c (mkostemp): Likewise.
12630 * misc/mkostemp64.c (mkostemp64): Likewise.
12631 * misc/mkostemps.c (mkostemps): Likewise.
12632 * misc/mkostemps64.c (mkostemps64): Likewise.
12633 * misc/mkstemp.c (mkstemp): Likewise.
12634 * misc/mkstemp64.c (mkstemp64): Likewise.
12635 * misc/mkstemps.c (mkstemps): Likewise.
12636 * misc/mkstemps64.c (mkstemps64): Likewise.
12637 * misc/mktemp.c (__mktemp): Likewise.
12638 * misc/preadv.c (preadv): Likewise.
12639 * misc/preadv64.c (preadv64): Likewise.
12640 * misc/pwritev.c (pwritev): Likewise.
12641 * misc/pwritev64.c (pwritev64): Likewise.
12642 * misc/readv.c (__readv): Likewise.
12643 * misc/revoke.c (revoke): Likewise.
12644 * misc/setdomain.c (setdomainname): Likewise.
12645 * misc/setegid.c (setegid): Likewise.
12646 * misc/seteuid.c (seteuid): Likewise.
12647 * misc/sethostid.c (sethostid): Likewise.
12648 * misc/sethostname.c (sethostname): Likewise.
12649 * misc/setregid.c (__setregid): Likewise.
12650 * misc/setreuid.c (__setreuid): Likewise.
12651 * misc/sstk.c (sstk): Likewise.
12652 * misc/stty.c (stty): Likewise.
12653 * misc/syscall.c (syscall): Likewise.
12654 * misc/syslog.c (setlogmask): Likewise.
12655 * misc/truncate.c (__truncate): Likewise.
12656 * misc/truncate64.c (truncate64): Likewise.
12657 * misc/ualarm.c (ualarm): Likewise.
12658 * misc/usleep.c (usleep): Likewise.
12659 * misc/ustat.c (ustat): Likewise.
12660 * misc/writev.c (__writev): Likewise.
12661 * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
12662 * nptl/old_pthread_cond_broadcast.c
12663 (__pthread_cond_broadcast_2_0): Likewise.
12664 * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
12665 Likewise.
12666 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
12667 Likewise.
12668 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
12669 Likewise.
12670 * nptl/pt-raise.c (raise): Likewise.
12671 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
12672 Likewise.
12673 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
12674 * nptl/pthread_barrierattr_destroy.c
12675 (pthread_barrierattr_destroy): Likewise.
12676 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
12677 Likewise.
12678 * nptl/pthread_barrierattr_setpshared.c
12679 (pthread_barrierattr_setpshared): Likewise.
12680 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
12681 Likewise.
12682 * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
12683 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
12684 * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
12685 * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
12686 Likewise.
12687 * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
12688 Likewise.
12689 * nptl/pthread_condattr_getpshared.c
12690 (pthread_condattr_getpshared): Likewise.
12691 * nptl/pthread_condattr_init.c (__pthread_condattr_init):
12692 Likewise.
12693 * nptl/pthread_condattr_setpshared.c
12694 (pthread_condattr_setpshared): Likewise.
12695 * nptl/pthread_detach.c (pthread_detach): Likewise.
12696 * nptl/pthread_equal.c (__pthread_equal): Likewise.
12697 * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
12698 * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
12699 * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
12700 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
12701 Likewise.
12702 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
12703 Likewise.
12704 * nptl/pthread_mutex_getprioceiling.c
12705 (pthread_mutex_getprioceiling): Likewise.
12706 * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
12707 Likewise.
12708 * nptl/pthread_mutexattr_getprotocol.c
12709 (pthread_mutexattr_getprotocol): Likewise.
12710 * nptl/pthread_mutexattr_getpshared.c
12711 (pthread_mutexattr_getpshared): Likewise.
12712 * nptl/pthread_mutexattr_getrobust.c
12713 (pthread_mutexattr_getrobust): Likewise.
12714 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
12715 Likewise.
12716 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
12717 Likewise.
12718 * nptl/pthread_mutexattr_setprioceiling.c
12719 (pthread_mutexattr_setprioceiling): Likewise.
12720 * nptl/pthread_mutexattr_setprotocol.c
12721 (pthread_mutexattr_setprotocol): Likewise.
12722 * nptl/pthread_mutexattr_setpshared.c
12723 (pthread_mutexattr_setpshared): Likewise.
12724 * nptl/pthread_mutexattr_setrobust.c
12725 (pthread_mutexattr_setrobust): Likewise.
12726 * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
12727 Likewise.
12728 * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
12729 Likewise.
12730 * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
12731 Likewise.
12732 * nptl/pthread_rwlockattr_getkind_np.c
12733 (pthread_rwlockattr_getkind_np): Likewise.
12734 * nptl/pthread_rwlockattr_getpshared.c
12735 (pthread_rwlockattr_getpshared): Likewise.
12736 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
12737 Likewise.
12738 * nptl/pthread_rwlockattr_setkind_np.c
12739 (pthread_rwlockattr_setkind_np): Likewise.
12740 * nptl/pthread_rwlockattr_setpshared.c
12741 (pthread_rwlockattr_setpshared): Likewise.
12742 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
12743 Likewise.
12744 * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
12745 Likewise.
12746 * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
12747 Likewise.
12748 * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
12749 * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
12750 * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
12751 * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
12752 * nptl/sem_close.c (sem_close): Likewise.
12753 * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
12754 * nptl/sem_init.c (__old_sem_init): Likewise.
12755 * nptl/sigaction.c (__sigaction): Likewise.
12756 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
12757 * posix/_exit.c (_exit): Likewise.
12758 * posix/alarm.c (alarm): Likewise.
12759 * posix/confstr.c (confstr): Likewise.
12760 * posix/fpathconf.c (__fpathconf): Likewise.
12761 * posix/getgroups.c (__getgroups): Likewise.
12762 * posix/getpgid.c (__getpgid): Likewise.
12763 * posix/group_member.c (__group_member): Likewise.
12764 * posix/pathconf.c (__pathconf): Likewise.
12765 * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
12766 * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
12767 * posix/setgid.c (__setgid): Likewise.
12768 * posix/setpgid.c (__setpgid): Likewise.
12769 * posix/setuid.c (__setuid): Likewise.
12770 * posix/sleep.c (__sleep): Likewise.
12771 * posix/sysconf.c (__sysconf): Likewise.
12772 * posix/times.c (__times): Likewise.
12773 * posix/uname.c (__uname): Likewise.
12774 * posix/waitid.c (__waitid): Likewise.
12775 * pwd/getpw.c (__getpw): Likewise.
12776 * resolv/base64.c (b64_pton): Likewise.
12777 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
12778 * resolv/gethnamaddr.c (Dprintf): Likewise.
12779 (gethostbyname): Likewise.
12780 (gethostbyname2): Likewise.
12781 (gethostbyaddr): Likewise.
12782 (_sethtent): Likewise.
12783 (_gethtbyname): Likewise.
12784 (_gethtbyname2): Likewise.
12785 (_gethtbyaddr): Likewise.
12786 (map_v4v6_address): Likewise.
12787 (map_v4v6_hostent): Likewise.
12788 (addrsort): Likewise.
12789 (ht_sethostent): Likewise.
12790 (ht_gethostbyname): Likewise.
12791 (ht_gethostbyaddr): Likewise.
12792 * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
12793 (inet_net_ntop_ipv4): Likewise.
12794 * resolv/inet_neta.c (inet_neta): Likewise.
12795 * resolv/inet_ntop.c (inet_ntop): Likewise.
12796 (inet_ntop4): Likewise.
12797 (inet_ntop6): Likewise.
12798 * resolv/inet_pton.c (__inet_pton): Likewise.
12799 (inet_pton4): Likewise.
12800 (inet_pton6): Likewise.
12801 * resolv/res_debug.c (loc_aton): Likewise.
12802 (loc_ntoa): Likewise.
12803 * resource/getpriority.c (__getpriority): Likewise.
12804 * resource/getrusage.c (__getrusage): Likewise.
12805 * resource/nice.c (nice): Likewise.
12806 * resource/setpriority.c (__setpriority): Likewise.
12807 * resource/setrlimit64.c (setrlimit64): Likewise.
12808 * resource/vlimit.c (vlimit): Likewise.
12809 * resource/vtimes.c (vtimes): Likewise.
12810 * rt/aio_error.c (aio_error): Likewise.
12811 * rt/aio_return.c (aio_return): Likewise.
12812 * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
12813 * signal/kill.c (__kill): Likewise.
12814 * signal/killpg.c (killpg): Likewise.
12815 * signal/raise.c (raise): Likewise.
12816 * signal/sigaction.c (__sigaction): Likewise.
12817 * signal/sigaddset.c (sigaddset): Likewise.
12818 * signal/sigaltstack.c (sigaltstack): Likewise.
12819 * signal/sigandset.c (sigandset): Likewise.
12820 * signal/sigblock.c (__sigblock): Likewise.
12821 * signal/sigdelset.c (sigdelset): Likewise.
12822 * signal/sigempty.c (sigemptyset): Likewise.
12823 * signal/sigfillset.c (sigfillset): Likewise.
12824 * signal/sighold.c (sighold): Likewise.
12825 * signal/sigignore.c (sigignore): Likewise.
12826 * signal/sigintr.c (siginterrupt): Likewise.
12827 * signal/sigisempty.c (sigisemptyset): Likewise.
12828 * signal/sigismem.c (sigismember): Likewise.
12829 * signal/signal.c (signal): Likewise.
12830 * signal/sigorset.c (sigorset): Likewise.
12831 * signal/sigpause.c (__sigpause): Likewise.
12832 * signal/sigpending.c (sigpending): Likewise.
12833 * signal/sigprocmask.c (__sigprocmask): Likewise.
12834 * signal/sigrelse.c (sigrelse): Likewise.
12835 * signal/sigreturn.c (__sigreturn): Likewise.
12836 * signal/sigset.c (sigset): Likewise.
12837 * signal/sigsetmask.c (__sigsetmask): Likewise.
12838 * signal/sigstack.c (sigstack): Likewise.
12839 * signal/sigsuspend.c (__sigsuspend): Likewise.
12840 * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
12841 * signal/sysv_signal.c (__sysv_signal): Likewise.
12842 * socket/accept.c (accept): Likewise.
12843 * socket/accept4.c (__libc_accept4): Likewise.
12844 * socket/bind.c (__bind): Likewise.
12845 * socket/connect.c (__connect): Likewise.
12846 * socket/getpeername.c (getpeername): Likewise.
12847 * socket/getsockname.c (__getsockname): Likewise.
12848 * socket/getsockopt.c (getsockopt): Likewise.
12849 * socket/listen.c (__listen): Likewise.
12850 * socket/recv.c (__recv): Likewise.
12851 * socket/recvmsg.c (__recvmsg): Likewise.
12852 * socket/send.c (__send): Likewise.
12853 * socket/sendmsg.c (__sendmsg): Likewise.
12854 * socket/shutdown.c (shutdown): Likewise.
12855 * socket/sockatmark.c (sockatmark): Likewise.
12856 * socket/socket.c (__socket): Likewise.
12857 * stdio-common/ctermid.c (ctermid): Likewise.
12858 * stdio-common/cuserid.c (cuserid): Likewise.
12859 * stdio-common/printf-prs.c (parse_printf_format): Likewise.
12860 * stdio-common/remove.c (remove): Likewise.
12861 * stdio-common/rename.c (rename): Likewise.
12862 * stdio-common/renameat.c (renameat): Likewise.
12863 * stdio-common/tempname.c (__gen_tempname): Likewise.
12864 * stdio-common/xbug.c (InitBuffer): Likewise.
12865 (AppendToBuffer): Likewise.
12866 (ReadFile): Likewise.
12867 * stdlib/a64l.c (a64l): Likewise.
12868 * stdlib/drand48_r.c (drand48_r): Likewise.
12869 * stdlib/getcontext.c (getcontext): Likewise.
12870 * stdlib/getenv.c (getenv): Likewise.
12871 * stdlib/l64a.c (l64a): Likewise.
12872 * stdlib/llabs.c (llabs): Likewise.
12873 * stdlib/lldiv.c (lldiv): Likewise.
12874 * stdlib/lrand48_r.c (lrand48_r): Likewise.
12875 * stdlib/mrand48_r.c (mrand48_r): Likewise.
12876 * stdlib/putenv.c (putenv): Likewise.
12877 * stdlib/random.c (__srandom): Likewise.
12878 (__initstate): Likewise.
12879 (__setstate): Likewise.
12880 * stdlib/random_r.c (__srandom_r): Likewise.
12881 (__setstate_r): Likewise.
12882 (__random_r): Likewise.
12883 * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
12884 * stdlib/setcontext.c (setcontext): Likewise.
12885 * stdlib/setenv.c (setenv): Likewise.
12886 (unsetenv): Likewise.
12887 * stdlib/srand48.c (srand48): Likewise.
12888 * stdlib/srand48_r.c (__srand48_r): Likewise.
12889 * stdlib/swapcontext.c (swapcontext): Likewise.
12890 * stdlib/system.c (__libc_system): Likewise.
12891 * stdlib/tst-strtod.c (expand): Likewise.
12892 * stdlib/tst-strtol.c (expand): Likewise.
12893 * stdlib/tst-strtoll.c (expand): Likewise.
12894 * streams/fattach.c (fattach): Likewise.
12895 * streams/fdetach.c (fdetach): Likewise.
12896 * streams/getmsg.c (getmsg): Likewise.
12897 * streams/isastream.c (isastream): Likewise.
12898 * string/ffs.c (__ffs): Likewise.
12899 * string/ffsll.c (ffsll): Likewise.
12900 * string/memcmp.c (memcmp_common_alignment): Likewise.
12901 (memcmp_not_common_alignment): Likewise.
12902 (MEMCMP): Likewise.
12903 * string/memcpy.c (memcpy): Likewise.
12904 * string/memmove.c (MEMMOVE): Likewise.
12905 * string/memset.c (memset): Likewise.
12906 * string/rawmemchr.c (RAWMEMCHR): Likewise.
12907 * string/strchrnul.c (STRCHRNUL): Likewise.
12908 * string/strerror.c (strerror): Likewise.
12909 * string/strndup.c (__strndup): Likewise.
12910 * string/strverscmp.c (__strverscmp): Likewise.
12911 * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
12912 * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
12913 (clnttcp_freeres): Likewise.
12914 * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
12915 * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
12916 * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
12917 * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
12918 * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
12919 (xdr_callhdr): Likewise.
12920 * sunrpc/rpcinfo.c (udpping): Likewise.
12921 (tcpping): Likewise.
12922 (pstatus): Likewise.
12923 (pmapdump): Likewise.
12924 (brdcst): Likewise.
12925 (deletereg): Likewise.
12926 (getprognum): Likewise.
12927 (getvers): Likewise.
12928 (get_inet_address): Likewise.
12929 * sunrpc/svc_raw.c (svcraw_recv): Likewise.
12930 * sunrpc/svc_udp.c (svcudp_create): Likewise.
12931 (svcudp_stat): Likewise.
12932 (svcudp_recv): Likewise.
12933 (svcudp_reply): Likewise.
12934 (svcudp_getargs): Likewise.
12935 (svcudp_freeargs): Likewise.
12936 (svcudp_destroy): Likewise.
12937 * sunrpc/xdr.c (xdr_bytes): Likewise.
12938 (xdr_netobj): Likewise.
12939 (xdr_string): Likewise.
12940 (xdr_wrapstring): Likewise.
12941 * sunrpc/xdr_float.c (xdr_float): Likewise.
12942 (xdr_double): Likewise.
12943 * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
12944 * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
12945 * sysvipc/ftok.c (ftok): Likewise.
12946 * sysvipc/msgctl.c (msgctl): Likewise.
12947 * sysvipc/msgget.c (msgget): Likewise.
12948 * sysvipc/msgrcv.c (msgrcv): Likewise.
12949 * sysvipc/msgsnd.c (msgsnd): Likewise.
12950 * sysvipc/semget.c (semget): Likewise.
12951 * sysvipc/semop.c (semop): Likewise.
12952 * sysvipc/shmat.c (shmat): Likewise.
12953 * sysvipc/shmctl.c (shmctl): Likewise.
12954 * sysvipc/shmdt.c (shmdt): Likewise.
12955 * sysvipc/shmget.c (shmget): Likewise.
12956 * termios/cfmakeraw.c (cfmakeraw): Likewise.
12957 * termios/speed.c (cfgetospeed): Likewise.
12958 (cfgetispeed): Likewise.
12959 (cfsetospeed): Likewise.
12960 (cfsetispeed): Likewise.
12961 * termios/tcflow.c (tcflow): Likewise.
12962 * termios/tcflush.c (tcflush): Likewise.
12963 * termios/tcgetattr.c (__tcgetattr): Likewise.
12964 * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
12965 * termios/tcgetsid.c (tcgetsid): Likewise.
12966 * termios/tcsendbrk.c (tcsendbreak): Likewise.
12967 * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
12968 * time/adjtime.c (__adjtime): Likewise.
12969 * time/dysize.c (dysize): Likewise.
12970 * time/ftime.c (ftime): Likewise.
12971 * time/getitimer.c (__getitimer): Likewise.
12972 * time/gettimeofday.c (__gettimeofday): Likewise.
12973 * time/gmtime.c (__gmtime_r): Likewise.
12974 (gmtime): Likewise.
12975 * time/localtime.c (__localtime_r): Likewise.
12976 (localtime): Likewise.
12977 * time/offtime.c (__offtime): Likewise.
12978 * time/settimeofday.c (__settimeofday): Likewise.
12979 * time/stime.c (stime): Likewise.
12980 * time/strftime_l.c (tm_diff): Likewise.
12981 (iso_week_days): Likewise.
12982 * time/strptime.c (strptime): Likewise.
12983 * time/time.c (time): Likewise.
12984 * time/timespec_get.c (timespec_get): Likewise.
12985 * time/tzset.c (tzset_internal): Likewise.
12986 (compute_change): Likewise.
12987 (__tz_compute): Likewise.
12988 * wcsmbs/btowc.c (__btowc): Likewise.
12989 * wcsmbs/mbrlen.c (__mbrlen): Likewise.
12990 * wcsmbs/mbsinit.c (__mbsinit): Likewise.
12991 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
12992 * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
12993 * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
12994 * wcsmbs/wcscat.c (__wcscat): Likewise.
12995 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
12996 * wcsmbs/wcscmp.c (WCSCMP): Likewise.
12997 * wcsmbs/wcscpy.c (WCSCPY): Likewise.
12998 * wcsmbs/wcscspn.c (wcscspn): Likewise.
12999 * wcsmbs/wcsdup.c (wcsdup): Likewise.
13000 * wcsmbs/wcslen.c (__wcslen): Likewise.
13001 * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
13002 * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
13003 * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
13004 * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
13005 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
13006 * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
13007 * wcsmbs/wcsspn.c (wcsspn): Likewise.
13008 * wcsmbs/wcsstr.c (wcsstr): Likewise.
13009 * wcsmbs/wcstok.c (wcstok): Likewise.
13010 * wcsmbs/wctob.c (wctob): Likewise.
13011 * wcsmbs/wmemchr.c (__wmemchr): Likewise.
13012 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13013 * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
13014 * wcsmbs/wmemmove.c (__wmemmove): Likewise.
13015 * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
13016 * wcsmbs/wmemset.c (__wmemset): Likewise.
13017 * wctype/wcfuncs.c (__towlower): Likewise.
13018 (__towupper): Likewise.
13019
13020 * sysdeps/unix/sysv/linux/i386/lowlevellock.h
13021 (lll_unlock_elision): Add adapt_count parameter.
13022
13023 2015-10-15 Joseph Myers <joseph@codesourcery.com>
13024
13025 * sysdeps/nptl/configure.ac: Do not give errors based on the
13026 results of top-level configure tests.
13027 * sysdeps/nptl/configure: Regenerated.
13028
13029 * configure.ac (libc_cv_Bgroup): Remove configure test.
13030 * configure: Regenerated.
13031 * config.make.in (have-Bgroup): Remove variable.
13032
13033 * configure.ac (sizeof_long_double): Remove configure test.
13034 * configure: Regenerated.
13035 * config.make.in (sizeof-long-double): Remove variable.
13036
13037 * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
13038 * configure: Regenerated.
13039 * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
13040 variable.
13041 (exceptions): Likewise.
13042 * sysdeps/arm/configure: Regenerated.
13043 * config.make.in (exceptions): Remove variable.
13044 * Makeconfig (uses-callbacks): Use -fexceptions instead of
13045 $(exceptions).
13046 * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
13047 (CFLAGS-vdprintf_chk.c): Likewise.
13048 (CFLAGS-printf_chk.c): Likewise.
13049 (CFLAGS-fprintf_chk.c): Likewise.
13050 (CFLAGS-vprintf_chk.c): Likewise.
13051 (CFLAGS-vfprintf_chk.c): Likewise.
13052 (CFLAGS-gets_chk.c): Likewise.
13053 (CFLAGS-fgets_chk.c): Likewise.
13054 (CFLAGS-fgets_u_chk.c): Likewise.
13055 (CFLAGS-fread_chk.c): Likewise.
13056 (CFLAGS-fread_u_chk.c): Likewise.
13057 (CFLAGS-wprintf_chk.c): Likewise.
13058 (CFLAGS-fwprintf_chk.c): Likewise.
13059 (CFLAGS-vwprintf_chk.c): Likewise.
13060 (CFLAGS-vfwprintf_chk.c): Likewise.
13061 (CFLAGS-fgetws_chk.c): Likewise.
13062 (CFLAGS-fgetws_u_chk.c): Likewise.
13063 * libio/Makefile (CFLAGS-fileops.c): Likewise.
13064 (CFLAGS-fputc.c): Likewise.
13065 (CFLAGS-fputwc.c): Likewise.
13066 (CFLAGS-freopen64.c): Likewise.
13067 (CFLAGS-freopen.c): Likewise.
13068 (CFLAGS-fseek.c): Likewise.
13069 (CFLAGS-fseeko64.c): Likewise.
13070 (CFLAGS-fseeko.c): Likewise.
13071 (CFLAGS-ftello64.c): Likewise.
13072 (CFLAGS-ftello.c): Likewise.
13073 (CFLAGS-fwide.c): Likewise.
13074 (CFLAGS-genops.c): Likewise.
13075 (CFLAGS-getc.c): Likewise.
13076 (CFLAGS-getchar.c): Likewise.
13077 (CFLAGS-getwc.c): Likewise.
13078 (CFLAGS-getwchar.c): Likewise.
13079 (CFLAGS-iofclose.c): Likewise.
13080 (CFLAGS-iofflush.c): Likewise.
13081 (CFLAGS-iofgetpos64.c): Likewise.
13082 (CFLAGS-iofgetpos.c): Likewise.
13083 (CFLAGS-iofgets.c): Likewise.
13084 (CFLAGS-iofgetws.c): Likewise.
13085 (CFLAGS-iofputs.c): Likewise.
13086 (CFLAGS-iofputws.c): Likewise.
13087 (CFLAGS-iofread.c): Likewise.
13088 (CFLAGS-iofsetpos64.c): Likewise.
13089 (CFLAGS-iofsetpos.c): Likewise.
13090 (CFLAGS-ioftell.c): Likewise.
13091 (CFLAGS-iofwrite.c): Likewise.
13092 (CFLAGS-iogetdelim.c): Likewise.
13093 (CFLAGS-iogetline.c): Likewise.
13094 (CFLAGS-iogets.c): Likewise.
13095 (CFLAGS-iogetwline.c): Likewise.
13096 (CFLAGS-ioputs.c): Likewise.
13097 (CFLAGS-ioseekoff.c): Likewise.
13098 (CFLAGS-ioseekpos.c): Likewise.
13099 (CFLAGS-iosetbuffer.c): Likewise.
13100 (CFLAGS-iosetvbuf.c): Likewise.
13101 (CFLAGS-ioungetc.c): Likewise.
13102 (CFLAGS-ioungetwc.c): Likewise.
13103 (CFLAGS-oldfileops.c): Likewise.
13104 (CFLAGS-oldiofclose.c): Likewise.
13105 (CFLAGS-oldiofgetpos64.c): Likewise.
13106 (CFLAGS-oldiofgetpos.c): Likewise.
13107 (CFLAGS-oldiofsetpos64.c): Likewise.
13108 (CFLAGS-oldiofsetpos.c): Likewise.
13109 (CFLAGS-peekc.c): Likewise.
13110 (CFLAGS-putc.c): Likewise.
13111 (CFLAGS-putchar.c): Likewise.
13112 (CFLAGS-putwc.c): Likewise.
13113 (CFLAGS-putwchar.c): Likewise.
13114 (CFLAGS-rewind.c): Likewise.
13115 (CFLAGS-wfileops.c): Likewise.
13116 (CFLAGS-wgenops.c): Likewise.
13117 (CFLAGS-oldiofopen.c): Likewise.
13118 (CFLAGS-iofopen.c): Likewise.
13119 (CFLAGS-iofopen64.c): Likewise.
13120 (CFLAGS-oldtmpfile.c): Likewise.
13121 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
13122 (CFLAGS-fprintf.c): Likewise.
13123 (CFLAGS-printf.c): Likewise.
13124 (CFLAGS-vfwprintf.c): Likewise.
13125 (CFLAGS-vfscanf.c): Likewise.
13126 (CFLAGS-vfwscanf.c): Likewise.
13127 (CFLAGS-fscanf.c): Likewise.
13128 (CFLAGS-scanf.c): Likewise.
13129 (CFLAGS-isoc99_vfscanf.c): Likewise.
13130 (CFLAGS-isoc99_vscanf.c): Likewise.
13131 (CFLAGS-isoc99_fscanf.c): Likewise.
13132 (CFLAGS-isoc99_scanf.c): Likewise.
13133 * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
13134 (CFLAGS-isoc99_fwscanf.c): Likewise.
13135 (CFLAGS-isoc99_vwscanf.c): Likewise.
13136 (CFLAGS-isoc99_vfwscanf.c): Likewise.
13137
13138 * io/test-lfs.c (do_prepare): Do not call add_temp_file until
13139 after mkstemp64.
13140 * login/tst-utmp.c (do_prepare): Likewise.
13141 * rt/tst-aio.c (do_prepare): Likewise.
13142 * rt/tst-aio64.c (do_prepare): Likewise.
13143
13144 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
13145
13146 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
13147 (__lll_lock_elision): Remove adapt_count decrement...
13148 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
13149 (__lll_trylock_elision): Likewise.
13150 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
13151 (__lll_unlock_elision): ... to here. And utilize
13152 new adapt_count parameter.
13153 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
13154 (__lll_unlock_elision): Update to include adapt_count
13155 parameter.
13156 (lll_unlock_elision): Pass pointer to adapt_count
13157 variable.
13158
13159 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
13160
13161 * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
13162 Add elision adapt_count parameter to list of arguments.
13163 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
13164 (lll_unlock_elision): Update with new parameter list
13165 * sysdeps/unix/sysv/linux/s390/lowlevellock.h
13166 (lll_unlock_elision): Likewise.
13167 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
13168 (lll_unlock_elision): Likewise.
13169
13170 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
13171
13172 [BZ #19122]
13173 * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
13174 attribute_hidden.
13175
13176 * include/string.h [IS_IN (rtld)] (__stpcpy): Add
13177 attribute_hidden.
13178 [IS_IN (rtld)] (__strdup): Likewise.
13179 [IS_IN (rtld)] (__strerror_r): Likewise.
13180 [IS_IN (rtld)] (__strsep_g): Likewise.
13181 [IS_IN (rtld)] (memchr): Likewise.
13182 [IS_IN (rtld)] (memcmp): Likewise.
13183 [IS_IN (rtld)] (memcpy): Likewise.
13184 [IS_IN (rtld)] (memmove): Likewise.
13185 [IS_IN (rtld)] (memset): Likewise.
13186 [IS_IN (rtld)] (rawmemchr): Likewise.
13187 [IS_IN (rtld)] (stpcpy): Likewise.
13188 [IS_IN (rtld)] (strchr): Likewise.
13189 [IS_IN (rtld)] (strcmp): Likewise.
13190 [IS_IN (rtld)] (strlen): Likewise.
13191 [IS_IN (rtld)] (strnlen): Likewise.
13192 [IS_IN (rtld)] (strsep): Likewise.
13193
13194 * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
13195 attribute_hidden.
13196 [IS_IN (rtld)] (__strtoul_internal): Likewise.
13197
13198 * include/signal.h [IS_IN (rtld)] (__sigaction): Add
13199 attribute_hidden.
13200 [IS_IN (rtld)] (__libc_sigaction): Likewise.
13201
13202 * include/setjmp.h (__longjmp): Add attribute_hidden.
13203 [IS_IN (rtld)] (__sigsetjmp): Likewise.
13204
13205 * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
13206 Add attribute_hidden.
13207
13208 * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
13209 [IS_IN (rtld)] (__open): Likewise.
13210 [IS_IN (rtld)] (__fcntl): Likewise.
13211
13212 * include/dirent.h (__opendirat): Add attribute_hidden.
13213 (__getdents): Likewise.
13214 (__getdents64): Likewise.
13215 (__alloc_dir): Likewise.
13216 [IS_IN (rtld)] (__closedir): Likewise.
13217 [IS_IN (rtld)] (__fdopendir): Likewise.
13218 [IS_IN (rtld)] (__readdir): Likewise.
13219 [IS_IN (rtld)] (__readdir64): Likewise.
13220 [IS_IN (rtld)] (__rewinddir): Likewise.
13221
13222 * include/dlfcn.h (_dl_catch_error): Moved to ...
13223 * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
13224 attribute_hidden.
13225
13226 * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
13227 (_itoa_word): Likewise.
13228
13229 * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
13230 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
13231 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
13232 * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
13233 (_dl_higher_prime_number): Likewise.
13234 (_dl_debug_printf_c): Likewise.
13235 (_dl_signal_cerror): Likewise.
13236 (_dl_receive_error): Likewise.
13237 (_dl_reloc_bad_type): Likewise.
13238 (_dl_resolve_conflicts): Likewise.
13239 (_dl_check_all_versions): Likewise.
13240 (_dl_check_map_versions): Likewise.
13241 (_dl_sort_fini): Likewise.
13242 (_dl_debug_initialize): Likewise.
13243 (_dl_init_paths): Likewise.
13244 (_dl_show_auxv): Likewise.
13245 (_dl_next_ld_env_entry): Likewise.
13246 (_dl_important_hwcaps): Likewise.
13247 (_dl_load_cache_lookup): Likewise.
13248 (_dl_update_slotinfo): Likewise.
13249 (_dl_show_scope): Likewise.
13250
13251 * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
13252 attribute_hidden.
13253 (_wordcopy_fwd_dest_aligned): Likewise.
13254 (_wordcopy_bwd_aligned): Likewise.
13255 (_wordcopy_bwd_dest_aligned): Likewise.
13256
13257 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
13258 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
13259 Likewise.
13260 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
13261 Likewise.
13262 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
13263
13264 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
13265
13266 * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
13267 GCC 5 requirement.
13268
13269 2015-10-15 Joseph Myers <joseph@codesourcery.com>
13270
13271 * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
13272 test.
13273 * sysdeps/i386/configure: Regenerated.
13274 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
13275 code unconditional.
13276
13277 * configure.ac (libc_cv_asm_previous_directive): Remove configure
13278 test.
13279 (libc_cv_asm_popsection_directive): Likewise.
13280 * configure: Regenerated.
13281 * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
13282 (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
13283 * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
13284 (__make_section_unallocated): Make definition unconditional.
13285 [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
13286 Remove conditional definition.
13287 [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
13288 (__make_section_unallocated): Likewise.
13289
13290 * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
13291 * configure: Regenerated.
13292 * config.make.in (static-libgcc): Remove variable.
13293 * Makerules (build-shlib-helper): Use -static-libgcc instead of
13294 $(static-libgcc).
13295 (build-module-helper): Likewise.
13296
13297 * configure.ac (libc_cv_friendly_stddef): Remove configure test.
13298 * configure: Regenerated.
13299
13300 2015-10-15 Florian Weimer <fweimer@redhat.com>
13301
13302 * stdio-common/vfscanf.c (MEMCPY): Remove macro.
13303 (struct char_buffer): New type.
13304 (char_buffer_start, char_buffer_size, char_buffer_error)
13305 (char_buffer_rewind, char_buffer_add): New functions.
13306 (ADDW): Remove macro, replaced by the char_buffer_add function.
13307 (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
13308 of extend_alloca. Make control flow more explicit.
13309
13310 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
13311
13312 [BZ #19137]
13313 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
13314 Add -fomit-frame-pointer.
13315 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
13316
13317 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
13318
13319 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
13320 (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
13321 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
13322 only if !__GNUC_PREREQ (5,0).
13323 (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
13324 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
13325 (INTERNAL_SYSCALL_NCS): Likewise.
13326 (LOADREGS_0): New macro for GCC 5.
13327 (ASMARGS_0): Likewise.
13328 (LOADREGS_1): Likewise.
13329 (ASMARGS_1): Likewise.
13330 (LOADREGS_2): Likewise.
13331 (ASMARGS_2): Likewise.
13332 (LOADREGS_3): Likewise.
13333 (ASMARGS_3): Likewise.
13334 (LOADREGS_4): Likewise.
13335 (ASMARGS_4): Likewise.
13336 (LOADREGS_5): Likewise.
13337 (ASMARGS_5): Likewise.
13338 (LOADREGS_6): Likewise.
13339 (ASMARGS_6): Likewise.
13340
13341 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
13342
13343 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
13344 -fomit-frame-pointer.
13345 (CFLAGS-mmap64.c): Likewise.
13346 (CFLAGS-semtimedop.c): Likewise.
13347 * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
13348 * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
13349 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
13350 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
13351
13352 2015-10-15 Florian Weimer <fweimer@redhat.com>
13353
13354 [BZ #18928]
13355 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
13356 _dl_pointer_guard member.
13357 * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
13358 initializer.
13359 (security_init): Always set up pointer guard.
13360 (process_envvars): Do not process LD_POINTER_GUARD.
13361
13362 2015-10-14 Joseph Myers <joseph@codesourcery.com>
13363
13364 [BZ #19134]
13365 * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
13366 (.LC2): Likewise.
13367 (.LC3): Likewise.
13368 (__lround): Do not add 0.5 to integer or out-of-range arguments.
13369
13370 2015-10-14 Szabolcs Nagy <szabolcs.nagy@arm.com>
13371
13372 [BZ #19129]
13373 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
13374 r0 and r1.
13375
13376 2015-10-14 Namhyung Kim <namhyung@gmail.com>
13377
13378 * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
13379
13380 2015-10-14 Carlos O'Donell <carlos@redhat.com>
13381
13382 * include/stap-probe.h: Fix macro definition formatting.
13383
13384 2015-10-14 Florian Weimer <fweimer@redhat.com>
13385
13386 [BZ #19074]
13387 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
13388 load and store num_ifs.
13389
13390 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
13391
13392 [BZ #18822]
13393 * sysdeps/unix/sysv/linux/sched_getaffinity.c
13394 (__sched_getaffinity_new): Add libc_hidden_proto and
13395 libc_hidden_def.
13396
13397 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
13398
13399 [BZ #19007]
13400 * scripts/localplt.awk: Also allow GOT references.
13401 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
13402 _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
13403 with "+ REL R_386_GLOB_DAT".
13404 * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
13405 and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
13406
13407 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
13408
13409 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
13410 INLINE_SYSCALL_ERROR_RETURN_VALUE.
13411 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
13412 Likewise.
13413 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
13414 * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
13415 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
13416 INTERNAL_SYSCALLINTERNAL_SYSCALL and
13417 INLINE_SYSCALL_ERROR_RETURN_VALUE.
13418 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
13419 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13420 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
13421 Likewise.
13422 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13423
13424 2015-10-13 Joseph Myers <joseph@codesourcery.com>
13425
13426 [BZ #19125]
13427 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
13428 <math_private.h> and <stdint.h>.
13429 (__llround): Avoid conversions to and from long long int, and
13430 subtractions, where those might raise spurious exceptions.
13431 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
13432 <math_private.h> and <stdint.h>.
13433 (__llroundf): Avoid conversions to and from long long int, and
13434 subtractions, where those might raise spurious exceptions.
13435
13436 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
13437
13438 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
13439 INLINE_SYSCALL_ERROR_RETURN_VALUE.
13440 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
13441 * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
13442 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
13443 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
13444 * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
13445 * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
13446 * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
13447 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
13448 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13449 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13450 * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
13451 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13452 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13453 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
13454 * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
13455 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
13456 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
13457 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
13458 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
13459 * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
13460 * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
13461 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
13462 * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
13463 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
13464 * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
13465 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
13466 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13467 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
13468 (__xstat64_conv): Likewise.
13469 (__xstat32_conv): Likewise.
13470
13471 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
13472
13473 * sysdeps/unix/sysv/linux/sysdep.h: New file.
13474 * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
13475 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
13476 <sysdeps/unix/sysv/linux/sysdep.h>.
13477 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
13478 * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
13479 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
13480 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13481 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
13482 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
13483 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
13484 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
13485 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
13486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13488 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13489 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13490 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13491 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
13492 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13493 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
13494 (sysdep-dl-routines): Add sysdep.
13495 [$(subdir) == nptl] (libpthread-routines): Likewise.
13496 [$(subdir) == rt] (librt-routines): Likewise.
13497 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
13498 PIC when branching to SYSCALL_ERROR_LABEL.
13499 * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
13500 * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
13501 <sysdeps/unix/sysv/linux/sysdep.h>.
13502 (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
13503 (SYSCALL_ERROR_ERRNO): Removed.
13504 (SYSCALL_ERROR_HANDLER): Changed to empty.
13505 (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
13506 (__syscall_error): New prototype.
13507 [IS_IN (libc)] (INLINE_SYSCALL): New macro.
13508 (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
13509
13510 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
13511
13512 [BZ #19124]
13513 * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
13514 (_dl_runtime_resolve_avx512): Make it a hidden alias of
13515 _dl_runtime_resolve_avx.
13516 (_dl_runtime_profile_avx512): Make it a hidden alias of
13517 _dl_runtime_profile_avx.
13518
13519 2015-10-13 Joseph Myers <joseph@codesourcery.com>
13520
13521 * sysdeps/powerpc/fpu/s_llround.c: Move to ....
13522 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
13523 * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
13524 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
13525
13526 [BZ #16422]
13527 * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
13528 New configure test.
13529 * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
13530 * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
13531 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
13532 <math_private.h> and <stdint.h>.
13533 (__llrint): Avoid conversions to long long int where those might
13534 raise spurious exceptions.
13535 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
13536 <math_private.h> and <stdint.h>.
13537 (__llrintf): Avoid conversions to long long int where those might
13538 raise spurious exceptions.
13539
13540 2015-10-12 Andreas Schwab <schwab@suse.de>
13541
13542 [BZ #18969]
13543 * debug/Makefile (LOCALES): Define. Include gen-locales.mk.
13544 ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
13545 * iconvdata/Makefile (LOCALES): Define. Include gen-locales.mk.
13546 ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
13547 $(gen-locales).
13548 * intl/Makefile (LOCALES): Define. Include gen-locales.mk.
13549 ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
13550 ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
13551 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
13552 ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
13553 $(gen-locales).
13554 * libio/Makefile (LOCALES): Define. Include gen-locales.mk.
13555 ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
13556 ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
13557 ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
13558 ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
13559 ($(objpfx)tst-ftell-active-handler.out)
13560 ($(objpfx)tst-ftell-append.out)
13561 ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
13562 ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
13563 ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
13564 ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
13565 * posix/Makefile (LOCALES): Define. Include gen-locales.mk.
13566 ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
13567 ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
13568 ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
13569 ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
13570 ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
13571 ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
13572 ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
13573 ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
13574 ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
13575 ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
13576 ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
13577 ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
13578 ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
13579 * stdio-common/Makefile (LOCALES): Define. Include gen-locales.mk.
13580 ($(objpfx)bug14.out, $(objpfx)scanf13.out)
13581 ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
13582 ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
13583 ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
13584 * stdlib/Makefile (LOCALES): Define. Include gen-locales.mk.
13585 ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
13586 ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
13587 ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
13588 $(gen-locales).
13589 * time/Makefile (LOCALES): Define. Include gen-locales.mk.
13590 ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
13591 $(gen-locales).
13592 * wcsmbs/Makefile (LOCALES): Define. Include gen-locales.mk.
13593 ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
13594 ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
13595 ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
13596 $(gen-locales).
13597 * libio/tst_wprintf2.c (main): Use explicit locale.
13598 * wcsmbs/wcsmbs-tst1.c (main): Likewise.
13599
13600 2015-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13601
13602 * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
13603 __msg_sig_post.
13604 * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
13605
13606 2015-10-09 Joseph Myers <joseph@codesourcery.com>
13607
13608 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
13609 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13610
13611 * sysdeps/arm/libm-test-ulps: Regenerated.
13612
13613 [BZ #15470]
13614 * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
13615
13616 [BZ #16399]
13617 * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
13618 * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
13619 and <fix-fp-int-convert-overflow.h>.
13620 (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
13621 FIX_DBL_LLONG_CONVERT_OVERFLOW.
13622 * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
13623 and <fix-fp-int-convert-overflow.h>.
13624 (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
13625 FIX_DBL_LLONG_CONVERT_OVERFLOW.
13626 * sysdeps/ieee754/dbl-64/s_lrint.c: Include
13627 <fix-fp-int-convert-overflow.h>.
13628 (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
13629 FIX_DBL_LLONG_CONVERT_OVERFLOW.
13630 * sysdeps/ieee754/dbl-64/s_lround.c: Include
13631 <fix-fp-int-convert-overflow.h>.
13632 (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
13633 FIX_DBL_LLONG_CONVERT_OVERFLOW.
13634 * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
13635 and <fix-fp-int-convert-overflow.h>.
13636 (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
13637 FIX_DBL_LLONG_CONVERT_OVERFLOW.
13638 * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
13639 <limits.h> and <fix-fp-int-convert-overflow.h>.
13640 (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
13641 FIX_DBL_LLONG_CONVERT_OVERFLOW.
13642 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
13643 and <fix-fp-int-convert-overflow.h>.
13644 (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
13645 FIX_DBL_LLONG_CONVERT_OVERFLOW.
13646 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
13647 and <fix-fp-int-convert-overflow.h>.
13648 (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
13649 FIX_DBL_LLONG_CONVERT_OVERFLOW.
13650 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
13651
13652 2015-10-09 Carlos O'Donell <carlos@redhat.com>
13653
13654 [BZ #18589]
13655 * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
13656 * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
13657 $(gen-locales).
13658
13659 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13660 Phil Blundell <pb@pbcl.net>
13661
13662 * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
13663 * nptl/tst-cancel26.c: New file.
13664 * nptl/tst-cancel27.c: Likewise.
13665
13666 2015-10-09 H.J. Lu <hongjiu.lu@intel.com>
13667
13668 * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
13669 __ILP32__ isn't defined.
13670 (lrint): Likewise.
13671 * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
13672 (lrintf): Likewise.
13673 * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
13674 (lrintl): Likewise.
13675 * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
13676 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
13677 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
13678
13679 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13680
13681 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
13682 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
13683
13684 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
13685 file.
13686 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
13687 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
13688
13689 2015-10-09 Joseph Myers <joseph@codesourcery.com>
13690
13691 * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
13692 configure test.
13693 * sysdeps/i386/configure: Regenerated.
13694 * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
13695 configure test.
13696 * sysdeps/x86_64/configure: Regenerated.
13697 * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
13698 Make code unconditional.
13699
13700 * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
13701 test.
13702 * sysdeps/i386/configure: Regenerated.
13703 * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
13704 test.
13705 * sysdeps/x86_64/configure: Regenerated.
13706 * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
13707 Make code unconditional.
13708 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
13709 Likewise.
13710 * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
13711 Likewise.
13712 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13713 * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
13714 code unconditional.
13715 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13716 * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
13717 code unconditional.
13718 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13719 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
13720 code unconditional.
13721 * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
13722 code unconditional.
13723 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13724 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
13725 code unconditional.
13726 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13727 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
13728 code unconditional.
13729 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13730 * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
13731 code unconditional.
13732 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13733 * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
13734 code unconditional.
13735 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13736 * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
13737
13738 [BZ #19095]
13739 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
13740 mantissa to long int before shifting left.
13741
13742 2015-10-08 Joseph Myers <joseph@codesourcery.com>
13743
13744 [BZ #19094]
13745 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
13746 <limits.h>.
13747 (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
13748 when result overflows but exception would not result from cast.
13749 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
13750 <limits.h>.
13751 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
13752 when result overflows but exception would not result from cast.
13753 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
13754 <limits.h>.
13755 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
13756 when result overflows but exception would not result from cast.
13757 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
13758 <limits.h>.
13759 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
13760 when result overflows but exception would not result from cast.
13761 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
13762 <limits.h>.
13763 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
13764 when result overflows but exception would not result from cast.
13765 * math/libm-test.inc (lrint_test_data): Add more tests.
13766 (llrint_test_data): Likewise.
13767
13768 2015-10-08 Roland McGrath <roland@hack.frob.com>
13769
13770 [BZ #18872]
13771 * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
13772 Move out from under [$(run-built-tests) = yes] conditional.
13773 ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
13774 ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
13775
13776 2015-10-08 Carlos O'Donell <carlos@redhat.com>
13777
13778 [BZ #18589]
13779 * string/Makefile (tests): Add bug-strcoll2.
13780 (LOCALES): Add cs_CZ.UTF-8.
13781 * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
13782
13783 [BZ #18589]
13784 * string/bug-strcoll2.c: New file.
13785 * locale/categories.def: Revert commit
13786 f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
13787 * locale/langinfo.h: Likewise.
13788 * locale/localeinfo.h: Likewise.
13789 * locale/C-collate.c: Likewise.
13790 * locale/programs/ld-collate.c (collate_output): Likewise.
13791 * string/strcoll_l.c (STRDIFF): Likewise.
13792 (STRCOLL): Likewise.
13793 * wcsmbs/wcscoll_l.c: Likewise.
13794
13795 2015-10-08 Joseph Myers <joseph@codesourcery.com>
13796
13797 * math/libm-test.inc (lround_test_data): Do not expect the absence
13798 of "inexact" for some tests with non-integer arguments.
13799 (llround_test_data): Likewise.
13800
13801 * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
13802 test.
13803 (libc_cv_cc_sse2avx): Likewise.
13804 * sysdeps/i386/configure: Regenerated.
13805 * sysdeps/i386/i686/multiarch/Makefile
13806 [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
13807 [$(subdir) = math].
13808 * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
13809 code unconditional.
13810 * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
13811 Likewise.
13812 * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
13813 Likewise.
13814 * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
13815 Likewise.
13816 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
13817 test.
13818 (libc_cv_cc_sse2avx): Likewise.
13819 * sysdeps/x86_64/configure: Regenerated.
13820 * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
13821 unconditional.
13822 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
13823 [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
13824 unconditional.
13825 (_dl_runtime_profile)
13826 [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
13827 conditional code.
13828 * sysdeps/x86_64/fpu/multiarch/Makefile
13829 [$(config-cflags-sse2avx) = yes]: Make code unconditional.
13830 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
13831 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13832 * sysdeps/x86_64/fpu/multiarch/e_exp.c
13833 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13834 * sysdeps/x86_64/fpu/multiarch/e_log.c
13835 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13836 * sysdeps/x86_64/fpu/multiarch/s_atan.c
13837 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13838 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
13839 Likewise.
13840 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
13841 Likewise.
13842 * sysdeps/x86_64/fpu/multiarch/s_sin.c
13843 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13844 * sysdeps/x86_64/fpu/multiarch/s_tan.c
13845 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13846 * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
13847 * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
13848 (HAVE_SSE2AVX_SUPPORT): Likewise.
13849
13850 2015-10-07 Paul Pluzhnikov <ppluzhnikov@google.com>
13851
13852 * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
13853 instead of #pragma optimize.
13854
13855 2015-10-07 Carlos O'Donell <carlos@redhat.com>
13856
13857 [BZ #17195]
13858 * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
13859 as is similarly done in systrim and _int_free already.
13860
13861 2015-10-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
13862
13863 * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
13864
13865 2015-10-07 Joseph Myers <joseph@codesourcery.com>
13866
13867 [BZ #19088]
13868 * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
13869 <limits.h>.
13870 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
13871 overflows but exception would not result from cast.
13872 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
13873 and <limits.h>.
13874 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
13875 overflows but exception would not result from cast.
13876 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
13877 <limits.h>.
13878 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
13879 overflows but exception would not result from cast.
13880 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
13881 <limits.h>.
13882 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
13883 overflows but exception would not result from cast.
13884 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
13885 <limits.h>.
13886 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
13887 overflows but exception would not result from cast.
13888 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
13889 <limits.h>.
13890 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
13891 overflows but exception would not result from cast.
13892 * math/libm-test.inc (lround_test_data): Add more tests.
13893 (llround_test_data): Likewise.
13894
13895 2015-10-07 Steve Ellcey <sellcey@imgtec.com>
13896
13897 * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
13898 (CFLAGS-ialloc.c): Ditto.
13899 (CFLAGS-scheck.c): Ditto.
13900
13901 2015-10-07 Carlos O'Donell <carlos@redhat.com>
13902
13903 [BZ #19086]
13904 * manual/filesys.texi (Storage Allocation): Fix argument order for
13905 posix_fallocate64.
13906
13907 2015-10-07 Joseph Myers <joseph@codesourcery.com>
13908
13909 [BZ #19085]
13910 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
13911 exponent below 48 inside case for non-overflowing exponent.
13912 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
13913
13914 2015-10-07 Florian Weimer <fweimer@redhat.com>
13915
13916 * iconvdata/cp737.h (from_idx): Add const.
13917 * iconvdata/cp775.h (from_idx): Likewise.
13918
13919 2015-10-07 Joseph Myers <joseph@codesourcery.com>
13920
13921 * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
13922 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
13923 (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
13924
13925 [BZ #19079]
13926 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
13927 file, conditioned on [!_LP64].
13928 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
13929 [!_LP64] (__lround): Do not define as function or alias.
13930 [!_LP64] (lround): Likewise.
13931 [!_LP64] (__lroundl): Likewise.
13932 [!_LP64] (lroundl): Likewise.
13933 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
13934 macro.
13935 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
13936 Likewise.
13937
13938 2015-10-06 Joseph Myers <joseph@codesourcery.com>
13939
13940 * math/libm-test.inc (lrint_test_data): Add more tests.
13941 (llrint_test_data): Likewise.
13942 (lround_test_data): Likewise.
13943 (llround_test_data): Likewise.
13944
13945 * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
13946 (llrint_test_data): Add tests used for lrint.
13947
13948 * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
13949 test.
13950 * sysdeps/i386/configure: Regenerated.
13951 * sysdeps/i386/i686/multiarch/Makefile
13952 [$(config-cflags-sse4) = yes]: Make code unconditional.
13953 * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
13954 Likewise.
13955 * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
13956 Likewise.
13957 * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
13958 test.
13959 * sysdeps/x86_64/configure: Regenerated.
13960 * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
13961 Make code unconditional.
13962 * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
13963 Likewise.
13964 * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
13965 * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
13966
13967 * scripts/rpm2dynsym.sh: Remove file.
13968
13969 2015-10-06 Florian Weimer <fweimer@redhat.com>
13970
13971 * configure.ac (libc_cv_cxx_thread_local): Define.
13972 * configure: Regenerate.
13973 * config.make.in (have-cxx-thread_local): Define.
13974 * nptl/Makefile (CFLAGS-tst-thread_local1.o):
13975 (LDLIBS-tst-thread_local1): Define.
13976 (tests): Add tst-thread_local1.
13977 [have-cxx-thread_local != yes] (tests-unsupported): Add
13978 tst-thread_local1.
13979 * nptl/tst-thread_local1.cc: New file.
13980
13981 2015-10-06 Joseph Myers <joseph@codesourcery.com>
13982
13983 [BZ #19078]
13984 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
13985 (u_thres): Likewise.
13986 (__expl): Determine whether to call __kernel_standard_l based on
13987 value of result, not argument.
13988
13989 * math/libm-test.inc (scalb_test_data): Add more expectations for
13990 the "inexact" exception.
13991
13992 [BZ #19077]
13993 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
13994 0.0L for argument 1.0L.
13995
13996 [BZ #19076]
13997 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
13998 constant 0.0L when computing infinite result.
13999
14000 2015-10-06 Florian Weimer <fweimer@redhat.com>
14001
14002 [BZ #10432]
14003 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
14004 malloc_usable_size.
14005
14006 2015-10-06 Florian Weimer <fweimer@redhat.com>
14007
14008 [BZ #19018]
14009 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
14010 Mangle function pointer before storing it.
14011 (__call_tls_dtors): Demangle function pointer before calling it.
14012
14013 2015-10-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14014
14015 [BZ #19012]
14016 * iconv/gconv_db.c (gen_steps): Check for additional errors.
14017 Clean up on failure.
14018
14019 2015-10-05 Joseph Myers <joseph@codesourcery.com>
14020
14021 [BZ #19071]
14022 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
14023 long int variable to store possibly incremented high part of
14024 mantissa.
14025 * math/libm-test.inc (lround_test_data): Add tests used for
14026 llround. Use [LONG_MAX > 0x7fffffff] consistently as condition
14027 for tests requiring 64-bit long. Do not condition tests on
14028 [TEST_FLOAT] unnecessarily.
14029 (llround_test_data): Add tests used for lround. Add another
14030 expectation for the "inexact" exception. Do not condition tests
14031 on [TEST_FLOAT] unnecessarily.
14032
14033 [BZ #887]
14034 [BZ #19049]
14035 [BZ #19050]
14036 * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
14037 * sysdeps/ieee754/dbl-64/e_log10.c: Include
14038 <fix-int-fp-convert-zero.h>.
14039 (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14040 * sysdeps/ieee754/dbl-64/e_log2.c: Include
14041 <fix-int-fp-convert-zero.h>.
14042 (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14043 * sysdeps/ieee754/dbl-64/s_erf.c: Include
14044 <fix-int-fp-convert-zero.h>.
14045 (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14046 * sysdeps/ieee754/dbl-64/s_logb.c: Include
14047 <fix-int-fp-convert-zero.h>.
14048 (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14049 * sysdeps/ieee754/flt-32/e_log10f.c: Include
14050 <fix-int-fp-convert-zero.h>.
14051 (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14052 * sysdeps/ieee754/flt-32/e_log2f.c: Include
14053 <fix-int-fp-convert-zero.h>.
14054 (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14055 * sysdeps/ieee754/flt-32/s_erff.c: Include
14056 <fix-int-fp-convert-zero.h>.
14057 (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14058 * sysdeps/ieee754/flt-32/s_logbf.c: Include
14059 <fix-int-fp-convert-zero.h>.
14060 (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14061 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
14062 <fix-int-fp-convert-zero.h>.
14063 (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14064 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
14065 <fix-int-fp-convert-zero.h>.
14066 (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14067 * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
14068 * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
14069 * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
14070 file.
14071 * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
14072
14073 2015-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
14074
14075 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14076
14077 2015-10-02 Joseph Myers <joseph@codesourcery.com>
14078
14079 [BZ #19059]
14080 * math/s_nexttowardf.c (__nexttowardf): Do not return value from
14081 overflowing computation.
14082 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
14083 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
14084 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
14085 Likewise.
14086 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
14087 Likewise.
14088 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
14089 Likewise.
14090 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14091 Likewise.
14092 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
14093 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
14094 Likewise.
14095 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
14096 Likewise.
14097 * math/libm-test.inc (nexttoward_test_data): Add more tests.
14098
14099 * nss/rewrite_field.c (__nss_rewrite_field): Use
14100 internal_function.
14101 * nss/valid_field.c (__nss_valid_field): Likewise.
14102 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
14103
14104 2015-10-02 Florian Weimer <fweimer@redhat.com>
14105
14106 [BZ #18724]
14107 * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
14108 (__nss_invalid_field_characters, __nss_valid_field)
14109 (__nss_valid_list_field, __nss_rewrite_field): Declare.
14110 * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
14111 tst-field.c: New file.
14112 * nss/Makefile (routines): Add valid_field, rewrite_field.
14113 (tests-static): Define unconditionally.
14114 (tests): Include tests-static.
14115 [build-static-nss] (tests-static): Use append.
14116 [build-static-nss] (tests): Remove modification.
14117 * nss/getent.c (print_group): Call putgrent. Report error.
14118 (print_gshadow): Call putsgent. Report error.
14119 (print_passwd): Call putpwent. Report error.
14120 (print_shadow): Call putspent. Report error.
14121 * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
14122 * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
14123 * pwd/putpwent.c (putpwent): Use ISO function definition. Check
14124 name, password, directory, shell fields for valid syntax. Rewrite
14125 GECOS field to match syntax.
14126 * pwd/Makefile (tests): Add tst-putpwent.
14127 * pwd/tst-putpwent.c: New file.
14128 * grp/putgrent.c (putgrent): Convert to ISO function definition.
14129 Check grName, grpasswd, gr_mem fields for valid syntax.
14130 Change loop variable i to size_t.
14131 * grp/Makefile (tests): Add tst-putgrent.
14132 * grp/tst-putgrent.c: New file.
14133 * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
14134 valid syntax.
14135 * shadow/Makefile (tests): Add tst-putspent.
14136 * shadow/tst-putspent.c: New file.
14137 * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
14138 sg_mem fields for valid syntax.
14139 * gshadow/Makefile (tests): Add tst-putsgent.
14140 * gshadow/tst-putsgent.c: New file.
14141
14142 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
14143
14144 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
14145 assembly instructions.
14146
14147 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
14148
14149 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
14150 prefix from operands.
14151
14152 2015-10-01 Joseph Myers <joseph@codesourcery.com>
14153
14154 [BZ #16347]
14155 [BZ #19046]
14156 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
14157 <libc-internal.h>.
14158 (MAXLGM): Do not use diagnostic control macros.
14159 [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
14160 threshold for ldbl-128ibm.
14161 (__ieee754_lgammal_r): For large arguments, multiply by log - 1
14162 instead of multiplying by log then subtracting.
14163 * math/auto-libm-test-in: Add more tests of lgamma.
14164 * math/auto-libm-test-out: Regenerated.
14165
14166 * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
14167 (TYPE_HEX_DIG): Likewise.
14168 (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
14169 precisions when printing floating-point numbers.
14170 (check_float_internal): Likewise.
14171
14172 2015-09-30 Joseph Myers <joseph@codesourcery.com>
14173
14174 [BZ #16620]
14175 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
14176 of log (10) rounded downward to 48 bits.
14177 (log10_low): Use corresponding low part of log (10).
14178
14179 [BZ #19032]
14180 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
14181 compute result as (x - x) / (x - x) not as 0 / 0.
14182 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
14183 * math/libm-test.inc (acosh_test_data): Add another test of acosh.
14184
14185 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14186 atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
14187 and expm1.
14188 * math/auto-libm-test-out: Regenerated.
14189 * math/libm-test.inc (acos_test_data): Add more tests.
14190 (asin_test_data): Likewise.
14191 (asinh_test_data): Likewise.
14192 (atan_test_data): Likewise.
14193 (atanh_test_data): Likewise.
14194 (atan2_test_data): Likewise.
14195 (cbrt_test_data): Likewise.
14196 (ceil_test_data): Likewise.
14197 (copysign_test_data): Likewise.
14198 (cos_test_data): Likewise.
14199 (cosh_test_data): Likewise.
14200 (erf_test_data): Likewise.
14201 (erfc_test_data): Likewise.
14202 (exp_test_data): Likewise.
14203 (exp10_test_data): Likewise.
14204 (exp2_test_data): Likewise.
14205 (expm1_test_data): Likewise.
14206 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14207
14208 2015-09-30 H.J. Lu <hongjiu.lu@intel.com>
14209
14210 [BZ #19006]
14211 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
14212 to ...
14213 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
14214 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
14215 to ...
14216 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
14217 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
14218 to ...
14219 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
14220 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
14221 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
14222 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
14223 to ...
14224 * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
14225 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
14226 Moved to ...
14227 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
14228 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
14229 Moved to ...
14230 * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
14231 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
14232 to ...
14233 * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
14234 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
14235 Moved to ...
14236 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
14237 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
14238 to ...
14239 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
14240 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
14241 Removed.
14242 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
14243 Likewise.
14244 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
14245 Likewise.
14246 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
14247 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
14248 Likewise.
14249 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
14250 Likewise.
14251 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
14252 Likewise.
14253 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
14254 Likewise.
14255 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
14256 Likewise.
14257 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
14258 Likewise.
14259 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
14260 Likewise.
14261 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
14262 Likewise.
14263 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
14264 Likewise.
14265 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
14266 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
14267 Likewise.
14268 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
14269 Likewise.
14270 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
14271 Likewise.
14272 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
14273 Likewise.
14274 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
14275 Likewise.
14276 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
14277 Replace ../i486/pthread_cond_timedwait.S with
14278 ../pthread_cond_timedwait.S.
14279
14280 2015-09-30 Joseph Myers <joseph@codesourcery.com>
14281
14282 * math/libm-test.inc (acos_test_data): Refine expectations for
14283 errno and "inexact" exceptions.
14284 (acosh_test_data): Likewise.
14285 (asin_test_data): Likewise.
14286 (asinh_test_data): Likewise.
14287 (atan_test_data): Likewise.
14288 (atanh_test_data): Likewise.
14289 (atan2_test_data): Likewise.
14290 (cbrt_test_data): Likewise.
14291 (ceil_test_data): Likewise.
14292 (copysign_test_data): Likewise.
14293 (cosh_test_data): Likewise.
14294 (erf_test_data): Likewise.
14295 (erfc_test_data): Likewise.
14296 (exp_test_data): Likewise.
14297 (exp10_test_data): Likewise.
14298 (exp2_test_data): Likewise.
14299 (expm1_test_data): Likewise.
14300 (fabs_test_data): Likewise.
14301 (floor_test_data): Likewise.
14302 (fma_test_data): Likewise.
14303 (fmax_test_data): Likewise.
14304 (fmin_test_data): Likewise.
14305 (fmod_test_data): Likewise.
14306 (fpclassify_test_data): Likewise.
14307 (frexp_test_data): Likewise.
14308 (hypot_test_data): Likewise.
14309 (ilogb_test_data): Likewise.
14310 (isgreater_test_data): Likewise.
14311 (isgreaterequal_test_data): Likewise.
14312 (isinf_test_data): Likewise.
14313 (isless_test_data): Likewise.
14314 (islessequal_test_data): Likewise.
14315 (islessgreater_test_data): Likewise.
14316 (isnan_test_data): Likewise.
14317 (isnormal_test_data): Likewise.
14318 (issignaling_test_data): Likewise.
14319 (isunordered_test_data): Likewise.
14320 (j0_test_data): Likewise.
14321 (j1_test_data): Likewise.
14322 (jn_test_data): Likewise.
14323 (lgamma_test_data): Likewise.
14324 (lrint_test_data): Likewise.
14325 (llrint_test_data): Likewise.
14326 (log_test_data): Likewise.
14327 (log10_test_data): Likewise.
14328 (log1p_test_data): Likewise.
14329 (log2_test_data): Likewise.
14330 (logb_test_data): Likewise.
14331 (lround_test_data): Likewise.
14332 (llround_test_data): Likewise.
14333 (modf_test_data): Likewise.
14334 (nearbyint_test_data): Likewise.
14335 (nextafter_test_data): Likewise.
14336 (nexttoward_test_data): Likewise.
14337 (pow_test_data): Likewise.
14338 (remainder_test_data): Likewise.
14339 (remquo_test_data): Likewise.
14340 (rint_test_data): Likewise.
14341 (round_test_data): Likewise.
14342 (signbit_test_data): Likewise.
14343 (sinh_test_data): Likewise.
14344 (sqrt_test_data): Likewise.
14345 (tanh_test_data): Likewise.
14346 (tgamma_test_data): Likewise.
14347 (trunc_test_data): Likewise.
14348 (y0_test_data): Likewise.
14349 (y1_test_data): Likewise.
14350 (yn_test_data): Likewise.
14351 (significand_test_data): Likewise.
14352
14353 2015-09-29 Carlos O'Donell <carlos@redhat.com>
14354
14355 * manual/filesys.texi (Storage Allocation): Document that
14356 posix_fallocate emulation fails when fd is open with O_WRONLY.
14357
14358 2015-09-28 Joseph Myers <joseph@codesourcery.com>
14359
14360 [BZ #19016]
14361 * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
14362 allow more cases with X^2 + Y^2 >= 0.5.
14363 * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise. Add -1 as
14364 normal element in sum instead of special-casing based on values of
14365 arguments.
14366 * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
14367 * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise. Add
14368 -1 as normal element in sum instead of special-casing based on
14369 values of arguments.
14370 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
14371 * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
14372 (__x2y2m1): Update comment.
14373 * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise. Add -1
14374 as normal element in sum instead of special-casing based on values
14375 of arguments.
14376 * math/s_clog.c (__clog): Handle more cases using log1p without
14377 hypot.
14378 * math/s_clog10.c (__clog10): Likewise.
14379 * math/s_clog10f.c (__clog10f): Likewise.
14380 * math/s_clog10l.c (__clog10l): Likewise.
14381 * math/s_clogf.c (__clogf): Likewise.
14382 * math/s_clogl.c (__clogl): Likewise.
14383 * math/auto-libm-test-in: Add more tests of clog and clog10.
14384 * math/auto-libm-test-out: Regenerated.
14385 * sysdeps/i386/fpu/libm-test-ulps: Update.
14386 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14387
14388 2015-09-28 Martin Sebor <msebor@redhat.com>
14389
14390 [BZ #18969]
14391 * string/Makefile (LOCALES): Define.
14392 (gen-locales.mk): Include.
14393 (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
14394 (tst-strxfrm2.out): Add deppendency on $(gen-locales).
14395 * string/tst-strxfrm2.c (do_test): Print the name of the locale
14396 on setlocale failure.
14397
14398 2015-09-26 Paul Pluzhnikov <ppluzhnikov@google.com>
14399
14400 [BZ #18985]
14401 * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
14402 (__strftime_internal): Likewise.
14403 * time/tst-strftime.c (do_bz18985): New test.
14404 (do_test): Call it.
14405
14406 2015-09-26 Joseph Myers <joseph@codesourcery.com>
14407
14408 [BZ #18956]
14409 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
14410 not 0x0040000 for high bit of mantissa. Mask with 0xfffff000 when
14411 extracting high part.
14412 * math/auto-libm-test-in: Add another test of pow.
14413 * math/auto-libm-test-out: Regenerated.
14414 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14415
14416 2015-09-25 Joseph Myers <joseph@codesourcery.com>
14417
14418 [BZ #18825]
14419 * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
14420 New macro.
14421 (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
14422 (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
14423 * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
14424 (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
14425 DBL_NARROW_EVAL, reloading the PIC register as needed.
14426 * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
14427 (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
14428 FLT_NARROW_EVAL. Use separate return path for case when first
14429 argument is NaN.
14430 * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>. Use
14431 DEFINE_LDBL_MIN.
14432 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
14433 PIC register.
14434 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
14435 math_check_force_underflow_nonneg.
14436 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
14437 underflow for subnormal result.
14438 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
14439 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
14440 math_check_force_underflow_nonneg.
14441 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
14442 math_check_force_underflow.
14443 * sysdeps/x86_64/fpu/x86_64-math-asm.h
14444 (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
14445 * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>. Use
14446 DEFINE_LDBL_MIN.
14447 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
14448 * math/auto-libm-test-in: Add more tests of pow.
14449 * math/auto-libm-test-out: Regenerated.
14450
14451 2015-09-25 Florian Weimer <fweimer@redhat.com>
14452
14453 * nss/bug17079.c (init_test_items): Add diagnostic for
14454 inconsistent entries.
14455 (test_buffer_size): Skip inconsistent entries.
14456
14457 2015-09-25 Joseph Myers <joseph@codesourcery.com>
14458
14459 [BZ #13304]
14460 * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
14461 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
14462 * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
14463
14464 [BZ #13304]
14465 * sysdeps/microblaze/s_fma.c: New file.
14466 * sysdeps/microblaze/s_fmaf.c: Likewise.
14467 * sysdeps/microblaze/sfp-machine.h: Likewise.
14468
14469 2015-09-25 Maciej W. Rozycki <macro@imgtec.com>
14470
14471 [BZ #17250]
14472 * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
14473 member.
14474
14475 2015-09-24 Joseph Myers <joseph@codesourcery.com>
14476
14477 [BZ #18803]
14478 * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
14479 (MO): New macro.
14480 (__ieee754_hypot) [PIC]: Load PIC register.
14481 (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
14482 DBL_NARROW_EVAL.
14483 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
14484 math_check_force_underflow_nonneg in case where result might be
14485 tiny.
14486 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
14487 Likewise.
14488 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
14489 Likewise.
14490 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
14491 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
14492 * math/auto-libm-test-in: Add more tests of hypot.
14493 * math/auto-libm-test-out: Regenerated.
14494
14495 2015-09-24 Steve Ellcey <sellcey@imgtec.com>
14496
14497 * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
14498
14499 2015-09-24 Joseph Myers <joseph@codesourcery.com>
14500
14501 * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
14502 * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
14503 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
14504 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
14505 * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
14506 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
14507 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
14508
14509 * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
14510 LOAD_PIC_REG.
14511
14512 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
14513 (FLT_CHECK_FORCE_UFLOW): Likewise.
14514 (DBL_CHECK_FORCE_UFLOW): Likewise.
14515 (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
14516 (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
14517 (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
14518 (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
14519 (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
14520 (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
14521 (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
14522 (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
14523 * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
14524 (dbl_min): Replace with use of DEFINE_DBL_MIN.
14525 (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
14526 * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
14527 (flt_min): Replace with use of DEFINE_FLT_MIN.
14528 (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
14529 * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
14530 (dbl_min): Replace with use of DEFINE_DBL_MIN.
14531 (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
14532 * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
14533 (flt_min): Replace with use of DEFINE_FLT_MIN.
14534 (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
14535 * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
14536 (dbl_min): Replace with use of DEFINE_DBL_MIN.
14537 (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
14538 * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
14539 (flt_min): Replace with use of DEFINE_FLT_MIN.
14540 (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
14541 * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
14542 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
14543 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
14544 * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
14545 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
14546 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
14547 * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
14548 (dbl_min): Replace with use of DEFINE_DBL_MIN.
14549 (__atan): Use DBL_CHECK_FORCE_UFLOW.
14550 * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
14551 (flt_min): Replace with use of DEFINE_FLT_MIN.
14552 (__atanf): Use FLT_CHECK_FORCE_UFLOW.
14553 * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
14554 (dbl_min): Replace with use of DEFINE_DBL_MIN.
14555 (__expm1): Use DBL_CHECK_FORCE_UFLOW. Move underflow check after
14556 main computation.
14557 * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
14558 (flt_min): Replace with use of DEFINE_FLT_MIN.
14559 (__expm1f): Use FLT_CHECK_FORCE_UFLOW. Move underflow check after
14560 main computation.
14561 * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
14562 (dbl_min): Replace with use of DEFINE_DBL_MIN.
14563 (MO): New macro.
14564 (__log1p): Use MO. Use DBL_CHECK_FORCE_UFLOW_NONNAN.
14565 * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
14566 (flt_min): Replace with use of DEFINE_FLT_MIN.
14567 (MO): New macro.
14568 (__log1pf): Use MO. Use FLT_CHECK_FORCE_UFLOW_NONNAN.
14569 * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
14570 (__log1pl): Use MO.
14571
14572 [BZ #19003]
14573 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
14574 $(config-cflags-nofma).
14575
14576 2015-09-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
14577
14578 * sysdeps/aarch64/libm-test-ulps: Regenerated.
14579
14580 2015-09-23 Joseph Myers <joseph@codesourcery.com>
14581
14582 * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
14583 (TWO127): Likewise.
14584
14585 * sysdeps/generic/math_private.h (fabs_tg): New macro.
14586 (min_of_type): Likewise.
14587 (math_check_force_underflow): Likewise.
14588 (math_check_force_underflow_nonneg): Likewise.
14589 (math_check_force_underflow_complex): Likewise.
14590 * math/e_exp2l.c (__ieee754_exp2l): Use
14591 math_check_force_underflow_nonneg.
14592 * math/k_casinh.c (__kernel_casinh): Likewise.
14593 * math/k_casinhf.c (__kernel_casinhf): Likewise.
14594 * math/k_casinhl.c (__kernel_casinhl): Likewise.
14595 * math/s_catan.c (__catan): Use
14596 math_check_force_underflow_complex.
14597 * math/s_catanf.c (__catanf): Likewise.
14598 * math/s_catanh.c (__catanh): Likewise.
14599 * math/s_catanhf.c (__catanhf): Likewise.
14600 * math/s_catanhl.c (__catanhl): Likewise.
14601 * math/s_catanl.c (__catanl): Likewise.
14602 * math/s_ccosh.c (__ccosh): Likewise.
14603 * math/s_ccoshf.c (__ccoshf): Likewise.
14604 * math/s_ccoshl.c (__ccoshl): Likewise.
14605 * math/s_cexp.c (__cexp): Likewise.
14606 * math/s_cexpf.c (__cexpf): Likewise.
14607 * math/s_cexpl.c (__cexpl): Likewise.
14608 * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
14609 * math/s_clog10.c (__clog10): Likewise.
14610 * math/s_clog10f.c (__clog10f): Likewise.
14611 * math/s_clog10l.c (__clog10l): Likewise.
14612 * math/s_clogf.c (__clogf): Likewise.
14613 * math/s_clogl.c (__clogl): Likewise.
14614 * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
14615 * math/s_csinf.c (__csinf): Likewise.
14616 * math/s_csinh.c (__csinh): Likewise.
14617 * math/s_csinhf.c (__csinhf): Likewise.
14618 * math/s_csinhl.c (__csinhl): Likewise.
14619 * math/s_csinl.c (__csinl): Likewise.
14620 * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
14621 * math/s_csqrtf.c (__csqrtf): Likewise.
14622 * math/s_csqrtl.c (__csqrtl): Likewise.
14623 * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
14624 * math/s_ctanf.c (__ctanf): Likewise.
14625 * math/s_ctanh.c (__ctanh): Likewise.
14626 * math/s_ctanhf.c (__ctanhf): Likewise.
14627 * math/s_ctanhl.c (__ctanhl): Likewise.
14628 * math/s_ctanl.c (__ctanl): Likewise.
14629 * stdlib/strtod_l.c (round_and_return): Use math_force_eval
14630 instead of volatile.
14631 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
14632 math_check_force_underflow.
14633 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
14634 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
14635 volatile when forcing underflow.
14636 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
14637 math_check_force_underflow_nonneg.
14638 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
14639 Likewise.
14640 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
14641 math_check_force_underflow.
14642 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
14643 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
14644 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
14645 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
14646 math_check_force_underflow_nonneg.
14647 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
14648 math_check_force_underflow.
14649 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
14650 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
14651 instead of volatile.
14652 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
14653 math_check_force_underflow.
14654 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
14655 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
14656 math_check_force_underflow_nonneg.
14657 * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
14658 math_check_force_underflow.
14659 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
14660 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
14661 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
14662 math_check_force_underflow_nonneg.
14663 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
14664 Likewise.
14665 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
14666 math_check_force_underflow.
14667 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
14668 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
14669 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
14670 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
14671 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
14672 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
14673 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
14674 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
14675 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
14676 * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
14677 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
14678 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
14679 Likewise.
14680 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
14681 math_check_force_underflow_nonneg.
14682 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
14683 Likewise.
14684 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
14685 math_check_force_underflow.
14686 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
14687 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
14688 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
14689 Likewise.
14690 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
14691 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
14692 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
14693 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
14694 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
14695 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
14696 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
14697 instead of volatile.
14698 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
14699 math_check_force_underflow.
14700 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
14701 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
14702 math_check_force_underflow.
14703 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
14704 Likewise.
14705 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14706 Use math_check_force_underflow_nonneg.
14707 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
14708 math_check_force_underflow.
14709 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
14710 Likewise.
14711 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
14712 Likewise.
14713 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14714 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
14715 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
14716 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
14717 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
14718 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
14719 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
14720 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
14721 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
14722 math_check_force_underflow_nonneg.
14723 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
14724 math_check_force_underflow.
14725 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
14726 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
14727 * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
14728 * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
14729 math_check_force_underflow_nonneg.
14730 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
14731 math_check_force_underflow.
14732 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
14733 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
14734 instead of volatile.
14735 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
14736 math_check_force_underflow.
14737
14738 * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
14739 * stdlib/strtod_l.c: Include <math_private.h>.
14740 (overflow_value): Use math_narrow_eval.
14741 (underflow_value): Likewise.
14742 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
14743 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
14744 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
14745 (__ieee754_gamma_r): Likewise.
14746 * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
14747 Likewise.
14748 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
14749 Likewise.
14750 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
14751 * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
14752 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
14753 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
14754 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
14755 (__ieee754_gammaf_r): Likewise.
14756 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
14757 Likewise.
14758 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
14759 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
14760 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
14761 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
14762 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
14763 volatile.
14764 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
14765 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
14766 math_narrow_eval.
14767 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
14768 Likewise.
14769 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14770 Likewise.
14771 * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
14772 Likewise.
14773 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
14774 volatile.
14775 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
14776 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
14777 math_narrow_eval.
14778 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
14779 Likewise.
14780 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
14781 Likewise.
14782
14783 2015-09-22 H.J. Lu <hongjiu.lu@intel.com>
14784
14785 * nptl/Versions: Remove ignored symbols.
14786
14787 2015-09-22 Florian Weimer <fweimer@redhat.com>
14788
14789 * nss/bug17079.c: Renamed from nss/bug18287.c. Add description.
14790 * nss/Makefile (tests): Update.
14791
14792 2015-09-22 Florian Weimer <fweimer@redhat.com>
14793
14794 * nss/bug18287.c: New file.
14795 * nss/Makefile (tests): Add bug18287.
14796
14797 2015-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
14798
14799 * mach/Versions (__mach_host_self_): Add symbol.
14800
14801 2015-09-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
14802
14803 * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
14804 vm_page_size.
14805
14806 2015-09-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
14807
14808 Really fix sysdeps/i386/fpu/s_scalbn.S build
14809
14810 * math/Versions (libc: GLIBC_2_20): New (empty) version set.
14811 (libc: GLIBC_2_22): Remove unused version set.
14812
14813 2015-09-18 Mike Frysinger <vapier@gentoo.org>
14814
14815 * config.make.in (enable-timezone-tools): New variable.
14816 * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
14817 (enable_timezone_tools): Export to generated files.
14818 * configure: Regenerate.
14819 * INSTALL: Regenerate.
14820 * manual/install.texi (--disable-timezone-tools): Document new flag.
14821 * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
14822 ifeq ($(enable-timezone-tools),yes) check.
14823
14824 2015-09-18 Joseph Myers <joseph@codesourcery.com>
14825
14826 * timezone/Makefile: Revert previous change.
14827
14828 [BZ #18980]
14829 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
14830 (DEFINE_DBL_MIN): Likewise.
14831 (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
14832 (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
14833 (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
14834 (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
14835 * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
14836 (dbl_min): Replace with use of DEFINE_DBL_MIN.
14837 (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
14838 (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
14839 * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
14840 (dbl_min): Replace with use of DEFINE_DBL_MIN.
14841 (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
14842 * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
14843 (flt_min): Replace with use of DEFINE_FLT_MIN.
14844 (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
14845 * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
14846 (dbl_min): Replace with use of DEFINE_DBL_MIN.
14847 (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
14848 * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
14849 (flt_min): Replace with use of DEFINE_FLT_MIN.
14850 (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
14851 * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
14852 (flt_min): Replace with use of DEFINE_FLT_MIN.
14853 (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
14854 (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
14855 * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
14856 (__ieee754_hypot): Use DBL_NARROW_EVAL.
14857 * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
14858 (__ieee754_hypotf): Use FLT_NARROW_EVAL.
14859 * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
14860 (__ieee754_pow): Use DBL_NARROW_EVAL.
14861 * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
14862 (__ieee754_powf): Use FLT_NARROW_EVAL.
14863 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
14864 (__ieee754_expf_sse2): Convert double-precision result to single
14865 precision.
14866 * sysdeps/i386/fpu/libm-test-ulps: Update.
14867
14868 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
14869
14870 * timezone/Makefile: Ignore unused variable errors due to private.h
14871 (time_t_min) and (time_t_max).
14872 * timezone/private.h (time_t_min): Revert removal. (time_t_max):
14873 Likewise.
14874
14875 2015-09-18 Joseph Myers <joseph@codesourcery.com>
14876
14877 [BZ #18981]
14878 * sysdeps/i386/fpu/i386-math-asm.h: New file.
14879 * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
14880 (__ieee754_scalb): Use DBL_NARROW_EVAL.
14881 * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
14882 (__ieee754_scalbf): Use FLT_NARROW_EVAL.
14883 * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
14884 (__scalbn): Use DBL_NARROW_EVAL.
14885 * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
14886 (__scalbnf): Use FLT_NARROW_EVAL.
14887
14888 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
14889
14890 * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
14891 * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
14892 * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
14893 * stdio-common/printf_fp.c (___printf_fp):
14894 Use signbit to get the sign. Use isinf macro to allow inlining.
14895 * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
14896 * stdio-common/printf_size.c (__printf_size): Likewise.
14897
14898 2015-09-18 Mike Frysinger <vapier@gentoo.org>
14899
14900 * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
14901
14902 2015-09-18 Joseph Myers <joseph@codesourcery.com>
14903
14904 [BZ #18980]
14905 * sysdeps/generic/math_private.h: Include <float.h>.
14906 (math_narrow_eval): New macro.
14907 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
14908 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
14909 math_narrow_eval on overflowing return value.
14910 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
14911 Likewise.
14912 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
14913 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
14914 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
14915 Likewise.
14916 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
14917
14918 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
14919
14920 * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
14921 * math/Makefile: Remove isinf_ns.c.
14922 * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
14923 * math/multc3.c (__multc3): Likewise.
14924 * math/s_casin.c (__casin): Likewise.
14925 * math/s_casinf.c (__casinf): Likewise.
14926 * math/s_casinl.c (__casinl): Likewise.
14927 * math/s_cproj.c (__cproj): Likewise.
14928 * math/s_cprojf.c (__cprojf): Likewise.
14929 * math/s_cprojl.c (__cprofl): Likewise.
14930 * math/s_ctan.c (__ctan): Likewise.
14931 * math/s_ctanf.c (__ctanf): Likewise.
14932 * math/s_ctanh.c (__ctanh): Likewise.
14933 * math/s_ctanhf.c (__ctanhf): Likewise.
14934 * math/s_ctanhl.c (__ctanhl): Likewise.
14935 * math/s_ctanl.c (__ctanl): Likewise.
14936 * math/w_fmod.c (__fmod): Likewise.
14937 * math/w_fmodf.c (__fmodf): Likewise.
14938 * math/w_fmodl.c (_fmodl): Likewise.
14939 * math/w_remainder.c (__remainder): Likewise.
14940 * math/w_remainderf.c (__remainderf): Likewise.
14941 * math/w_remainderl.c (__remainderl): Likewise.
14942 * math/w_scalb.c (__scalb): Likewise.
14943 * math/w_scalbf.c (__scalbf): Likewise.
14944 * math/w_scalbl.c (__scalbl): Likewise.
14945 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
14946 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
14947 with isinf.
14948 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
14949 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
14950 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
14951 __isinf_nsf with isinf.
14952 * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
14953 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
14954 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
14955 * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
14956 with isinf.
14957 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
14958 __isinf_nsl with isinf.
14959 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
14960 with isinf.
14961 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
14962 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
14963 __isinf_nsl with isinf.
14964 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
14965 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
14966 with isinf.
14967
14968 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
14969
14970 * resolv/base64.c (rcsid): Remove unused static.
14971 * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
14972 static. (tqpi1): Likewise.
14973 * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
14974 * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
14975 * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
14976 * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
14977 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
14978 * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
14979 * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
14980 * timezone/private.h (time_t_min): Likewise. (time_t_max):
14981 Likewise.
14982
14983 2015-09-18 H.J. Lu <hongjiu.lu@intel.com>
14984
14985 * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
14986 <nptl/pthreadP.h>.
14987 (_longjmp_unwind): Use __libc_ptf_call.
14988 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
14989
14990 2015-09-18 David Lamparter <equinox-gentoo@diac24.net>
14991
14992 * sysdeps/arm/setjmp.S: Change PIC to SHARED.
14993 * sysdeps/arm/__longjmp.S: Likewise.
14994
14995 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
14996
14997 * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
14998 Use __builtin_signbit.
14999 * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
15000 Use __builtin_signbitf.
15001 * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
15002 Use __builtin_signbitl.
15003 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
15004 * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
15005
15006 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
15007
15008 [BZ #15367]
15009 [BZ #17441]
15010
15011 * math/Makefile: Build test-snan.c with -fsignaling-nans.
15012 * math/math.h (fpclassify): Use __builtin_fpclassify when
15013 available. (signbit): Use __builtin_signbit(f/l).
15014 (isfinite): Use__builtin_isfinite. (isnormal): Use
15015 __builtin_isnormal. (isnan): Use __builtin_isnan.
15016 (isinf): Use __builtin_isinf_sign.
15017
15018 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
15019
15020 * benchtests/Makefile: Add bench-math-inlines, link with libm.
15021 * benchtests/bench-math-inlines.c: New benchmark.
15022 * benchtests/bench-util.h: New file.
15023 * benchtests/bench-util.c: New file.
15024 * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
15025
15026 2015-09-18 Carlos O'Donell <carlos@redhat.com>
15027
15028 * elf/tst-dlmopen1.c: Define TEST_SO.
15029 (do_test): Use TEST_SO.
15030
15031 * elf/dl-load.c: Include libc-internal.h.
15032 (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
15033
15034 2015-09-18 Vincent Bernat <vincent@bernat.im>
15035
15036 [BZ #17887]
15037 * time/strptime_l.c (__strptime_internal): Make %z accept
15038 [+-]HH:MM time zones.
15039
15040 2015-09-18 Vincent Bernat <vincent@bernat.im>
15041
15042 [BZ #17886]
15043 * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
15044 valid time zone.
15045
15046 2015-09-17 Mike Frysinger <vapier@gentoo.org>
15047
15048 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
15049 * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
15050 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15051 (__ASSUME_FDATASYNC): Delete.
15052
15053 2015-09-17 Joseph Myers <joseph@codesourcery.com>
15054
15055 * conform/linknamespace.pl: Require weak undefined symbols to be
15056 in the standard namespace.
15057 (%strong_syms): Rename to %seen_syms.
15058 (%strong_seen): Rename to %seen_where.
15059
15060 2015-09-17 H.J. Lu <hongjiu.lu@intel.com>
15061
15062 [BZ #18970]
15063 * misc/error.c (error): Replace pthread_setcancelstate with
15064 __pthread_setcancelstate.
15065 (error_at_line): Likewise.
15066 * posix/wordexp.c (parse_comm): Likewise.
15067 * stdlib/fmtmsg.c (fmtmsg): Likewise.
15068 * nptl/forward.c (pthread_setcancelstate): Renamed to ...
15069 (__pthread_setcancelstate): This.
15070 (pthread_setcancelstate): Add an alias.
15071 * nptl/nptl-init.c (pthread_functions): Replace
15072 ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
15073 * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
15074 * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
15075 hidden_proto.
15076 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
15077 it with hidden_def.
15078 * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
15079 (pthread_setcancelstate): Renamed to ...
15080 (__pthread_setcancelstate): This.
15081 * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
15082 __libc_ptf_call with __pthread_setcancelstate.
15083
15084 2015-09-17 Joseph Myers <joseph@codesourcery.com>
15085 Andreas Schwab <schwab@suse.de>
15086
15087 [BZ #17118]
15088 * math/s_ctan.c (__ctan): Determine sign of zero real part of
15089 result when imaginary part of argument is infinite using sine and
15090 cosine.
15091 * math/s_ctanf.c (__ctanf): Likewise.
15092 * math/s_ctanl.c (__ctanl): Likewise.
15093 * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
15094 of result when real part of argument is infinite using sine and
15095 cosine.
15096 * math/s_ctanhf.c (__ctanhf): Likewise.
15097 * math/s_ctanhl.c (__ctanhl): Likewise.
15098 * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
15099 (ctanh_test_data): Add more tests of ctanh.
15100
15101 2015-09-17 Joseph Myers <joseph@codesourcery.com>
15102
15103 [BZ #15384]
15104 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
15105 bit-mask as in subtraction.
15106 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
15107 Likewise.
15108 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
15109 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
15110 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
15111
15112 [BZ #18951]
15113 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
15114 underflow exception for small results.
15115 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
15116 Likewise.
15117 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
15118 Likewise.
15119 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
15120 Likewise.
15121 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
15122 Likewise.
15123 * math/auto-libm-test-in: Add more tests of tgamma.
15124 * math/auto-libm-test-out: Regenerated.
15125
15126 2015-09-17 Andreas Schwab <schwab@suse.de>
15127
15128 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
15129
15130 2015-09-16 Joseph Myers <joseph@codesourcery.com>
15131
15132 [BZ #18977]
15133 * math/bits/mathcalls.h
15134 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
15135 not declare.
15136 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
15137 Likewise.
15138 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
15139 Likewise.
15140 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
15141 Likewise.
15142 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
15143 Likewise.
15144 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
15145 Likewise.
15146 * conform/data/math.h-data
15147 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
15148 function.
15149 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
15150 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
15151 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
15152 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
15153 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
15154 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
15155 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
15156 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
15157 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
15158 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
15159 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
15160
15161 [BZ #6803]
15162 * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
15163 [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
15164 * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
15165 * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
15166 * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
15167 * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
15168 * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
15169 * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
15170 [NO_LONG_DOUBLE] (scalbnl): Likewise.
15171 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
15172 Likewise.
15173 [NO_LONG_DOUBLE] (scalbnl): Likewise.
15174 * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
15175 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
15176 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
15177 long_double_symbol calls.
15178 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
15179 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
15180 strong alias of __ldexpl.
15181 (scalbnl): Define using long_double_symbol.
15182 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
15183 Remove alias.
15184 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
15185 * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
15186 * math/libm-test.inc (scalbn_test_data): Add errno expectations.
15187 (scalbln_test_data): Add more errno expectations.
15188
15189 2015-09-16 Justus Winter <4winter@informatik.uni-hamburg.de>
15190
15191 Cache the host port like we cache the task port. This way we do not
15192 need to call the kernel just to get the port. Furthermore, we no
15193 longer increase the reference count on every invocation of
15194 `mach_host_self'.
15195
15196 * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
15197 Protect declarations against the macro expansion.
15198 * mach/mach_init.c (__mach_host_self_): New variable.
15199 (mach_init): Initialize `__mach_host_self_'.
15200 * mach/mach_init.h (__mach_host_self_): New declaration.
15201 (__mach_host_self, mach_host_self): New macros.
15202 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
15203 Release reference.
15204
15205 2015-09-16 Joseph Myers <joseph@codesourcery.com>
15206
15207 [BZ #4404]
15208 * po/de.po: Update from Translation Project.
15209
15210 [BZ #16415]
15211 * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
15212 (__expm1l): Remove code to handle positive infinity and overflow.
15213 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
15214 variable.
15215 (__expm1l): Remove code to handle positive infinity and overflow.
15216
15217 2015-09-16 Paul Eggert <eggert@cs.ucla.edu>
15218 Paul Pluzhnikov <ppluzhnikov@google.com>
15219
15220 [BZ #18872]
15221 * stdio-common/Makefile (tst-printf-bz18872): New test.
15222 (tst-printf-bz18872-mem.out): Likewise.
15223 * stdio-common/tst-printf-bz18872.sh: Generate new test.
15224 * stdio-common/vfprintf.c: Fix memory leaks.
15225
15226 2015-09-16 Andreas Schwab <schwab@suse.de>
15227
15228 [BZ #17244]
15229 * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
15230 Remove extra va_start/va_end calls.
15231
15232 [BZ #17243]
15233 * posix/execl.c (execl): Add missing va_end.
15234 * posix/execle.c (execle): Likewise.
15235 * posix/execlp.c (execlp): Likewise.
15236
15237 2015-09-15 Roland McGrath <roland@hack.frob.com>
15238
15239 * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
15240 (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
15241
15242 2015-09-15 Joseph Myers <joseph@codesourcery.com>
15243
15244 [BZ #18967]
15245 * math/math.h (__MATH_DECLARING_DOUBLE): New macro. Define and
15246 undefine around includes of <bits/mathcalls.h>.
15247 * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
15248 not declare function.
15249 [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
15250 [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
15251 (scalb): Likewise.
15252 * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
15253 not define macro.
15254 * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
15255 variable.
15256 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
15257 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
15258 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
15259
15260 [BZ #18857]
15261 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
15262 return non-finite argument without doing ordered comparisons on
15263 it.
15264
15265 [BZ #16296]
15266 * math/fenv.h (fegetround): Use __attribute_pure__.
15267 * include/fenv.h (__fegetround): Likewise.
15268
15269 [BZ #18595]
15270 * math/s_ctan.c (__ctan): Force underflow exception for results
15271 whose real or imaginary part has small absolute value.
15272 * math/s_ctanf.c (__ctanf): Likewise.
15273 * math/s_ctanh.c (__ctanh): Likewise.
15274 * math/s_ctanhf.c (__ctanhf): Likewise.
15275 * math/s_ctanhl.c (__ctanhl): Likewise.
15276 * math/s_ctanl.c (__ctanl): Likewise.
15277 * math/auto-libm-test-in: Do not allow missing underflow for ctan
15278 and ctanh. Add more tests of ctan and ctanh.
15279
15280 [BZ #15918]
15281 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
15282 handling of cases where one argument is an infinity.
15283
15284 [BZ #18875]
15285 [BZ #18966]
15286 * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
15287 (MO): New macro.
15288 (__ieee754_exp10): For small results, force underflow exception
15289 and remove excess range and precision from return value.
15290 * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
15291 (MO): New macro.
15292 (__ieee754_exp10f): For small results, force underflow exception
15293 and remove excess range and precision from return value.
15294 * math/auto-libm-test-in: Add more tests of exp10.
15295 * math/auto-libm-test-out: Regenerated.
15296
15297 2015-09-14 Joseph Myers <joseph@codesourcery.com>
15298
15299 [BZ #18875]
15300 [BZ #18961]
15301 * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
15302 (MO): New macro.
15303 (__ieee754_exp): For small results, force underflow exception and
15304 remove excess range and precision from return value.
15305 (__exp_finite): Likewise.
15306 * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
15307 (MO): New macro.
15308 (__ieee754_expf): For small results, force underflow exception and
15309 remove excess range and precision from return value.
15310 (__expf_finite): Likewise.
15311 * math/auto-libm-test-in: Add more tests of exp.
15312 * math/auto-libm-test-out: Regenerated.
15313
15314 [BZ #16521]
15315 [BZ #18875]
15316 * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
15317 small results.
15318 * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
15319 (MO): New macro.
15320 (__ieee754_exp2): For small results, force underflow exception and
15321 remove excess range and precision from return value.
15322 * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
15323 (MO): New macro.
15324 (__ieee754_exp2f): For small results, force underflow exception
15325 and remove excess range and precision from return value.
15326 * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
15327 (MO): New macro.
15328 (__ieee754_exp2l): Force underflow exception for small results.
15329 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
15330 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
15331 * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
15332 (MO): New macro.
15333 (__ieee754_exp2l): Force underflow exception for small results.
15334 * math/auto-libm-test-in: Add more tests or exp2.
15335 * math/auto-libm-test-out: Regenerated.
15336
15337 2015-09-14 Carlos O'Donell <carlos@redhat.com>
15338
15339 * malloc/malloc.c (systrim): Use ALIGN_DOWN.
15340
15341 * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
15342 /dev/null.
15343
15344 2015-09-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
15345
15346 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
15347 io fs process)): Drop spurious backslash.
15348
15349 2015-09-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
15350
15351 * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
15352 Use sysinfo system call instead of parsing /proc/meminfo.
15353 * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
15354 Likewise.
15355
15356 2015-09-11 Mike Frysinger <vapier@gentoo.org>
15357
15358 [BZ #16985]
15359 * programs/localedef.c (main): Display argv[remaining] when
15360 output_path is NULL.
15361
15362 2015-09-11 Joseph Myers <joseph@codesourcery.com>
15363
15364 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
15365 asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
15366 exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
15367 tanh.
15368 * math/auto-libm-test-out: Regenerated.
15369 * sysdeps/i386/fpu/libm-test-ulps: Update.
15370 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
15371 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15373
15374 2015-09-11 Roland McGrath <roland@hack.frob.com>
15375
15376 * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
15377 Use 'override' keyword to freeze the value here, preventing
15378 the addition of sys/mtio.h by sysdeps/gnu/Makefile.
15379
15380 2015-09-11 Joseph Myers <joseph@codesourcery.com>
15381
15382 [BZ #14912]
15383 * sysdeps/aarch64/bits/atomic.h: Move to ...
15384 * sysdeps/aarch64/atomic-machine.h: ...here.
15385 (_AARCH64_BITS_ATOMIC_H): Rename macro to
15386 _AARCH64_ATOMIC_MACHINE_H.
15387 * sysdeps/alpha/bits/atomic.h: Move to ...
15388 * sysdeps/alpha/atomic-machine.h: ...here.
15389 * sysdeps/arm/bits/atomic.h: Move to ...
15390 * sysdeps/arm/atomic-machine.h: ...here. Update comments.
15391 * bits/atomic.h: Move to ...
15392 * sysdeps/generic/atomic-machine.h: ...here.
15393 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15394 * sysdeps/i386/bits/atomic.h: Move to ...
15395 * sysdeps/i386/atomic-machine.h: ...here.
15396 * sysdeps/ia64/bits/atomic.h: Move to ...
15397 * sysdeps/ia64/atomic-machine.h: ...here.
15398 * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
15399 * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
15400 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15401 * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
15402 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
15403 * sysdeps/microblaze/bits/atomic.h: Move to ...
15404 * sysdeps/microblaze/atomic-machine.h: ...here.
15405 * sysdeps/mips/bits/atomic.h: Move to ...
15406 * sysdeps/mips/atomic-machine.h: ...here.
15407 (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
15408 * sysdeps/powerpc/bits/atomic.h: Move to ...
15409 * sysdeps/powerpc/atomic-machine.h: ...here. Update comments.
15410 * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
15411 * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here. Update
15412 comments. Include <atomic-machine.h> instead of <bits/atomic.h>.
15413 * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
15414 * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here. Include
15415 <atomic-machine.h> instead of <bits/atomic.h>.
15416 * sysdeps/s390/bits/atomic.h: Move to ...
15417 * sysdeps/s390/atomic-machine.h: ...here.
15418 * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
15419 * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
15420 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15421 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
15422 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
15423 * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
15424 * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
15425 * sysdeps/tile/bits/atomic.h: Move to ...
15426 * sysdeps/tile/atomic-machine.h: ...here.
15427 * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
15428 * sysdeps/tile/tilegx/atomic-machine.h: ...here. Include
15429 <sysdeps/tile/atomic-machine.h> instead of
15430 <sysdeps/tile/bits/atomic.h>.
15431 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15432 * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
15433 * sysdeps/tile/tilepro/atomic-machine.h: ...here. Include
15434 <sysdeps/tile/atomic-machine.h> instead of
15435 <sysdeps/tile/bits/atomic.h>.
15436 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15437 * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
15438 * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here. Include
15439 <sysdeps/arm/atomic-machine.h> instead of
15440 <sysdeps/arm/bits/atomic.h>.
15441 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
15442 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
15443 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15444 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
15445 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
15446 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15447 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
15448 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
15449 (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
15450 * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
15451 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
15452 * sysdeps/x86_64/bits/atomic.h: Move to ...
15453 * sysdeps/x86_64/atomic-machine.h: ...here.
15454 * include/atomic.h: Include <atomic-machine.h> instead of
15455 <bits/atomic.h>.
15456
15457 * sysdeps/mips/mips32/libm-test-ulps: Update.
15458 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15459
15460 [BZ #18952]
15461 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
15462 not convert non-integer negative arguments to int to determine the
15463 value of signgam.
15464 * math/auto-libm-test-in: Add more tests of lgamma.
15465 * math/auto-libm-test-out: Regenerated.
15466
15467 * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
15468 cosh, csqrt, erfc, expm1 and lgamma.
15469 * math/auto-libm-test-out: Regenerated.
15470 * sysdeps/i386/fpu/libm-test-ulps: Update.
15471 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15472
15473 2015-09-10 Joseph Myers <joseph@codesourcery.com>
15474
15475 [BZ #2542]
15476 [BZ #2543]
15477 [BZ #2558]
15478 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
15479 __lgamma_neg for arguments from -28.0 to -2.0.
15480 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
15481 __lgamma_negf for arguments from -15.0 to -2.0.
15482 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
15483 Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
15484 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
15485 Call __lgamma_negl for arguments from -33.0 to -2.0.
15486 * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
15487 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
15488 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
15489 * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
15490 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
15491 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
15492 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
15493 * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
15494 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
15495 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
15496 * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
15497 * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
15498 (__lgamma_neg): Likewise.
15499 (__lgamma_negl): Likewise.
15500 (__lgamma_product): Likewise.
15501 (__lgamma_productl): Likewise.
15502 * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
15503 * math/auto-libm-test-in: Add more tests of lgamma.
15504 * math/auto-libm-test-out: Regenerated.
15505 * sysdeps/i386/fpu/libm-test-ulps: Update.
15506 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15507
15508 2015-09-09 Justin Maggard <jmaggard@netgear.com>
15509
15510 [BZ #18675]
15511 * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
15512
15513 2015-09-08 Joseph Myers <joseph@codesourcery.com>
15514
15515 [BZ #14912]
15516 * bits/libc-lock.h: Move to ...
15517 * sysdeps/generic/libc-lock.h: ...here.
15518 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
15519 * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
15520 * sysdeps/mach/hurd/libc-lock.h: ...here.
15521 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
15522 [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
15523 * sysdeps/mach/bits/libc-lock.h: Move to ...
15524 * sysdeps/mach/libc-lock.h: ...here.
15525 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
15526 * sysdeps/nptl/bits/libc-lock.h: Move to ...
15527 * sysdeps/nptl/libc-lock.h: ...here.
15528 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
15529 * sysdeps/nptl/bits/libc-lockP.h: Move to ...
15530 * sysdeps/nptl/libc-lockP.h: ...here.
15531 (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
15532 * crypt/crypt_util.c: Include <libc-lock.h> instead of
15533 <bits/libc-lock.h>.
15534 * dirent/scandir-tail.c: Likewise.
15535 * dlfcn/dlerror.c: Likewise.
15536 * elf/dl-close.c: Likewise.
15537 * elf/dl-iteratephdr.c: Likewise.
15538 * elf/dl-lookup.c: Likewise.
15539 * elf/dl-open.c: Likewise.
15540 * elf/dl-support.c: Likewise.
15541 * elf/dl-writev.h: Likewise.
15542 * elf/rtld.c: Likewise.
15543 * grp/fgetgrent.c: Likewise.
15544 * gshadow/fgetsgent.c: Likewise.
15545 * gshadow/sgetsgent.c: Likewise.
15546 * iconv/gconv_conf.c: Likewise.
15547 * iconv/gconv_db.c: Likewise.
15548 * iconv/gconv_dl.c: Likewise.
15549 * iconv/gconv_int.h: Likewise.
15550 * iconv/gconv_trans.c: Likewise.
15551 * include/link.h: Likewise.
15552 * inet/getnameinfo.c: Likewise.
15553 * inet/getnetgrent.c: Likewise.
15554 * inet/getnetgrent_r.c: Likewise.
15555 * intl/bindtextdom.c: Likewise.
15556 * intl/dcigettext.c: Likewise.
15557 * intl/finddomain.c: Likewise.
15558 * intl/gettextP.h: Likewise.
15559 * intl/loadmsgcat.c: Likewise.
15560 * intl/localealias.c: Likewise.
15561 * intl/textdomain.c: Likewise.
15562 * libidn/idn-stub.c: Likewise.
15563 * libio/libioP.h: Likewise.
15564 * locale/duplocale.c: Likewise.
15565 * locale/freelocale.c: Likewise.
15566 * locale/newlocale.c: Likewise.
15567 * locale/setlocale.c: Likewise.
15568 * login/getutent_r.c: Likewise.
15569 * login/getutid_r.c: Likewise.
15570 * login/getutline_r.c: Likewise.
15571 * login/utmp-private.h: Likewise.
15572 * login/utmpname.c: Likewise.
15573 * malloc/mtrace.c: Likewise.
15574 * misc/efgcvt.c: Likewise.
15575 * misc/error.c: Likewise.
15576 * misc/fstab.c: Likewise.
15577 * misc/getpass.c: Likewise.
15578 * misc/mntent.c: Likewise.
15579 * misc/syslog.c: Likewise.
15580 * nis/nis_call.c: Likewise.
15581 * nis/nis_callback.c: Likewise.
15582 * nis/nss-default.c: Likewise.
15583 * nis/nss_compat/compat-grp.c: Likewise.
15584 * nis/nss_compat/compat-initgroups.c: Likewise.
15585 * nis/nss_compat/compat-pwd.c: Likewise.
15586 * nis/nss_compat/compat-spwd.c: Likewise.
15587 * nis/nss_nis/nis-alias.c: Likewise.
15588 * nis/nss_nis/nis-ethers.c: Likewise.
15589 * nis/nss_nis/nis-grp.c: Likewise.
15590 * nis/nss_nis/nis-hosts.c: Likewise.
15591 * nis/nss_nis/nis-network.c: Likewise.
15592 * nis/nss_nis/nis-proto.c: Likewise.
15593 * nis/nss_nis/nis-pwd.c: Likewise.
15594 * nis/nss_nis/nis-rpc.c: Likewise.
15595 * nis/nss_nis/nis-service.c: Likewise.
15596 * nis/nss_nis/nis-spwd.c: Likewise.
15597 * nis/nss_nisplus/nisplus-alias.c: Likewise.
15598 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
15599 * nis/nss_nisplus/nisplus-grp.c: Likewise.
15600 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
15601 * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
15602 * nis/nss_nisplus/nisplus-network.c: Likewise.
15603 * nis/nss_nisplus/nisplus-proto.c: Likewise.
15604 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
15605 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
15606 * nis/nss_nisplus/nisplus-service.c: Likewise.
15607 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
15608 * nis/ypclnt.c: Likewise.
15609 * nptl/libc_pthread_init.c: Likewise.
15610 * nss/getXXbyYY.c: Likewise.
15611 * nss/getXXent.c: Likewise.
15612 * nss/getXXent_r.c: Likewise.
15613 * nss/nss_db/db-XXX.c: Likewise.
15614 * nss/nss_db/db-netgrp.c: Likewise.
15615 * nss/nss_db/nss_db.h: Likewise.
15616 * nss/nss_files/files-XXX.c: Likewise.
15617 * nss/nss_files/files-alias.c: Likewise.
15618 * nss/nsswitch.c: Likewise.
15619 * posix/regex_internal.h: Likewise.
15620 * posix/wordexp.c: Likewise.
15621 * pwd/fgetpwent.c: Likewise.
15622 * resolv/res_hconf.c: Likewise.
15623 * resolv/res_libc.c: Likewise.
15624 * shadow/fgetspent.c: Likewise.
15625 * shadow/lckpwdf.c: Likewise.
15626 * shadow/sgetspent.c: Likewise.
15627 * socket/opensock.c: Likewise.
15628 * stdio-common/reg-modifier.c: Likewise.
15629 * stdio-common/reg-printf.c: Likewise.
15630 * stdio-common/reg-type.c: Likewise.
15631 * stdio-common/vfprintf.c: Likewise.
15632 * stdio-common/vfscanf.c: Likewise.
15633 * stdlib/abort.c: Likewise.
15634 * stdlib/cxa_atexit.c: Likewise.
15635 * stdlib/fmtmsg.c: Likewise.
15636 * stdlib/random.c: Likewise.
15637 * stdlib/setenv.c: Likewise.
15638 * string/strsignal.c: Likewise.
15639 * sunrpc/auth_none.c: Likewise.
15640 * sunrpc/bindrsvprt.c: Likewise.
15641 * sunrpc/create_xid.c: Likewise.
15642 * sunrpc/key_call.c: Likewise.
15643 * sunrpc/rpc_thread.c: Likewise.
15644 * sysdeps/arm/backtrace.c: Likewise.
15645 * sysdeps/generic/ldsodefs.h: Likewise.
15646 * sysdeps/generic/stdio-lock.h: Likewise.
15647 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
15648 * sysdeps/i386/backtrace.c: Likewise.
15649 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
15650 * sysdeps/m68k/backtrace.c: Likewise.
15651 * sysdeps/mach/hurd/cthreads.c: Likewise.
15652 * sysdeps/mach/hurd/dirstream.h: Likewise.
15653 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
15654 * sysdeps/nptl/malloc-machine.h: Likewise.
15655 * sysdeps/nptl/stdio-lock.h: Likewise.
15656 * sysdeps/posix/dirstream.h: Likewise.
15657 * sysdeps/posix/getaddrinfo.c: Likewise.
15658 * sysdeps/posix/system.c: Likewise.
15659 * sysdeps/pthread/aio_suspend.c: Likewise.
15660 * sysdeps/s390/s390-32/backtrace.c: Likewise.
15661 * sysdeps/s390/s390-64/backtrace.c: Likewise.
15662 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15663 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
15664 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
15665 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
15666 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
15667 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
15668 * sysdeps/unix/sysv/linux/system.c: Likewise.
15669 * sysdeps/x86_64/backtrace.c: Likewise.
15670 * time/alt_digit.c: Likewise.
15671 * time/era.c: Likewise.
15672 * time/tzset.c: Likewise.
15673 * wcsmbs/wcsmbsload.c: Likewise.
15674 * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
15675 instead of <bits/libc-lock.h> in comment.
15676
15677 2015-09-08 Andrew Bennett <andrew.bennett@imgtec.com>
15678
15679 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
15680 Only use .set mips2 if the current ISA is below mips2.
15681 * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
15682 Likewise.
15683 * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
15684 mips32r2 if the current ISA is below mips32r2.
15685 * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
15686 (TLS_IE): Updated to use the TLD_RDHWR macro.
15687 (TLS_LE): Likewise.
15688 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
15689 __ASSEMBLER__ condition.
15690
15691 2015-09-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
15692
15693 Fix parallel build of before-compile targets.
15694
15695 * sysdeps/mach/Makefile ($(patsubst
15696 mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
15697 mach-before-compile target.
15698 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
15699 io fs process)): Move rule to dedicated hurd-before-compile target.
15700
15701 2015-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15702
15703 Fix rules generating headers in hurd/ and mach/ when initial make call
15704 has subdir= explicitly set.
15705
15706 * sysdeps/mach/Makefile ($(patsubst
15707 mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
15708 calling $(MAKE).
15709 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
15710 io fs process)): Force subdir to hurd when calling $(MAKE).
15711 ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
15712 subdir to mach when calling $(MAKE).
15713
15714 2015-09-06 Manolis Ragkousis <manolis837@gmail.com>
15715
15716 Check sysheaders when looking for Mach and Hurd headers
15717
15718 * sysdeps/mach/configure.ac: Add sysheaders check.
15719 * sysdeps/mach/configure: Regenerate.
15720 * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
15721 * sysdeps/mach/hurd/configure: Regenerate.
15722
15723 2015-09-04 Roland McGrath <roland@hack.frob.com>
15724
15725 [BZ #18921]
15726 * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
15727 Fix inverted sense of test of 'o_directory_works' value.
15728 Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
15729 Bernhard Voelker <mail@bernhard-voelker.de>.
15730
15731 2015-09-04 Joseph Myers <joseph@codesourcery.com>
15732
15733 [BZ #14912]
15734 * bits/linkmap.h: Move to ...
15735 * sysdeps/generic/linkmap.h: ...here.
15736 * sysdeps/aarch64/bits/linkmap.h: Move to ...
15737 * sysdeps/aarch64/linkmap.h: ...here.
15738 * sysdeps/arm/bits/linkmap.h: Move to ...
15739 * sysdeps/arm/linkmap.h: ...here.
15740 * sysdeps/hppa/bits/linkmap.h: Move to ...
15741 * sysdeps/hppa/linkmap.h: ...here.
15742 * sysdeps/ia64/bits/linkmap.h: Move to ...
15743 * sysdeps/ia64/linkmap.h: ...here.
15744 * sysdeps/mips/bits/linkmap.h: Move to ...
15745 * sysdeps/mips/linkmap.h: ...here.
15746 * sysdeps/s390/bits/linkmap.h: Move to ...
15747 * sysdeps/s390/linkmap.h: ...here.
15748 * sysdeps/sh/bits/linkmap.h: Move to ...
15749 * sysdeps/sh/linkmap.h: ...here.
15750 * sysdeps/x86/bits/linkmap.h: Move to ...
15751 * sysdeps/x86/linkmap.h: ...here.
15752 * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
15753
15754 2015-09-04 Andreas Schwab <schwab@suse.de>
15755
15756 [BZ #18635]
15757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
15758 (__makecontext): Terminate FDE before return label.
15759 (__novec_makecontext): Likewise.
15760
15761 2015-09-04 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
15762
15763 * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
15764 first member of struct sv in syscall macro.
15765
15766 2015-09-04 Joseph Myers <joseph@codesourcery.com>
15767
15768 [BZ #14912]
15769 * bits/stdio-lock.h: Move to ...
15770 * sysdeps/generic/stdio-lock.h: ...here.
15771 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
15772 * sysdeps/nptl/bits/stdio-lock.h: Move to ...
15773 * sysdeps/nptl/stdio-lock.h: ...here.
15774 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
15775 * include/libio.h: Include <stdio-lock.h> instead of
15776 <bits/stdio-lock.h>.
15777 * sysdeps/nptl/fork.c: Likewise.
15778 * sysdeps/pthread/flockfile.c: Likewise.
15779 * sysdeps/pthread/ftrylockfile.c: Likewise.
15780 * sysdeps/pthread/funlockfile.c: Likewise.
15781
15782 [BZ #14912]
15783 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
15784 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
15785 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
15786 <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
15787 * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
15788 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
15789 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
15790
15791 2015-09-03 Roland McGrath <roland@hack.frob.com>
15792
15793 * elf/Makefile (test-xfail-tst-protected1a): New variable.
15794 (test-xfail-tst-protected1b): New variable.
15795
15796 2015-09-03 Joseph Myers <joseph@codesourcery.com>
15797
15798 [BZ #14912]
15799 * bits/libc-tsd.h: Move to ...
15800 * sysdeps/generic/libc-tsd.h: ...here.
15801 (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
15802 * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
15803 * sysdeps/mach/hurd/libc-tsd.h: ...here.
15804 (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
15805 * include/ctype.h: Include <libc-tsd.h> instead of
15806 <bits/libc-tsd.h>.
15807 * include/rpc/rpc.h: Likewise.
15808 * locale/localeinfo.h: Likewise.
15809 * sunrpc/rpc_thread.c: Likewise.
15810 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
15811 * sysdeps/nptl/malloc-machine.h: Likewise.
15812
15813 * Makefile (headers): Remove bits/libc-lock.h.
15814 * libio/Makefile (headers): Remove bits/stdio-lock.h.
15815
15816 * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
15817 <bits/stdio-lock.h> and commented-out include of <comthread.h>.
15818 * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
15819 <bits/stdio-lock.h>.
15820 * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
15821 * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
15822
15823 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
15824
15825 [BZ #18757]
15826 * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
15827 * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
15828 BZ #18757.
15829
15830 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
15831
15832 * malloc/mtrace.pl: Filter out NULL entries.
15833
15834 2015-09-01 Joseph Myers <joseph@codesourcery.com>
15835
15836 * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
15837 * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
15838 macro.
15839
15840 * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
15841 (TCP_CC_INFO): Likewise.
15842 (TCP_SAVE_SYN): Likewise.
15843 (TCP_SAVED_SYN): Likewise.
15844
15845 2015-08-31 Brett Neumeier <brett@neumeier.us>
15846
15847 [BZ #18870]
15848 * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
15849
15850 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
15851
15852 [BZ #18873]
15853 Fix broken overflow check in posix_fallocate
15854 * sysdeps/posix/posix_fallocate.c (posix_fallocate):
15855 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
15856 Fix parenthesization typo.
15857
15858 2015-08-28 Mike Frysinger <vapier@gentoo.org>
15859
15860 [BZ #18887]
15861 * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
15862 tst-mntent-blank-passno.
15863 * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
15864 * misc/tst-mntent-blank-corrupt.c: New test.
15865 * misc/tst-mntent-blank-passno.c: New test ripped from ...
15866 * misc/tst-mntent.c (do_test): ... here.
15867
15868 2015-08-29 Mike Frysinger <vapier@gentoo.org>
15869
15870 [BZ #4404]
15871 * po/de.po: Fix SIGALRM typo.
15872
15873 2015-08-28 James Perkins <james@loowit.net>
15874
15875 * time/tst-strptime2.c (tests): Replace short list of test
15876 strings for strptime %z specifier with code which exhaustively
15877 tests every combination of sign and 0 to 5 digits. Tests for
15878 rejection of invalid strings.
15879
15880 2015-08-28 James Perkins <james@loowit.net>
15881
15882 [BZ #16141]
15883 * time/strptime_l.c (__strptime_internal): Fix %z minutes
15884 calculation, removing incorrect decimal time rounding, so that
15885 all minute values result in a valid seconds value.
15886 * time/strptime_l.c (__strptime_internal): Extend %z time zone
15887 offset range limits to UTC-99:59 through UTC+99:59 to parse
15888 current and historical use cases.
15889 * time/tst-strptime2.c (tests): Modify and add tests for the
15890 strptime %z input field descriptor, specifically conversion of
15891 minutes to seconds and validating an offset range of -9959 to
15892 +9959.
15893
15894 2015-08-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15895 Dmitry V. Levin <ldv@altlinux.org>
15896
15897 [BZ #18877]
15898 * posix/Makefile (tests): Add tst-mmap-offset.
15899 * posix/tst-mmap.c: New file.
15900 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
15901 offset calculation for negative values.
15902
15903 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
15904
15905 * sysdeps/i386/init-arch.h: New file.
15906 * sysdeps/i386/i586/init-arch.h: Likewise.
15907 * sysdeps/i386/i686/init-arch.h: Likewise.
15908 * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
15909 bit if CX8 is available. Set bit_I686 bit if CMOV is available.
15910 * sysdeps/x86/cpu-features.h (bit_I586): New.
15911 (bit_I686): Likewise.
15912 (bit_CX8): Likewise.
15913 (bit_CMOV): Likewise.
15914 (index_CX8): Likewise.
15915 (index_CMOV): Likewise.
15916 (index_I586): Likewise.
15917 (index_I686): Likewise.
15918 (reg_CX8): Likewise.
15919 (reg_CMOV): Likewise.
15920 (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
15921 available at compile-time.
15922 (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
15923 available at compile-time.
15924 * sysdeps/x86/init-arch.h (USE_I586): New macro.
15925 (USE_I686): Likewise.
15926
15927 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
15928
15929 * sysdeps/i386/bcopy.S: New file.
15930 * sysdeps/i386/bzero.S: Likewise.
15931 * sysdeps/i386/memcpy.S: Likewise.
15932 * sysdeps/i386/memmove.S: Likewise.
15933 * sysdeps/i386/mempcpy.S: Likewise.
15934 * sysdeps/i386/memset.S: Likewise.
15935 * sysdeps/i386/bzero.c: Removed.
15936 * sysdeps/i386/memset.c: Likewise.
15937 * sysdeps/i386/i586/memcpy_chk.S: Likewise.
15938 * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
15939 * sysdeps/i386/i586/memset_chk.S: Likewise.
15940 * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
15941 * sysdeps/i386/memcpy_chk.S: Here.
15942 * sysdeps/i386/i686/memmove_chk.S: Moved to ...
15943 * sysdeps/i386/memmove_chk.S: Here.
15944 * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
15945 * sysdeps/i386/mempcpy_chk.S: Likewise.
15946 * sysdeps/i386/i686/memset_chk.S: Moved to ...
15947 * sysdeps/i386/memset_chk.S: Likewise.
15948
15949 2015-08-27 Steve Ellcey <sellcey@imgtec.com>
15950
15951 * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
15952 Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
15953 file, move DIAG_POP_NEEDS_COMMENT to end of file.
15954 * soft-fp/fmadf4.c: Ditto.
15955 * soft-fp/fmatf4.c: Ditto.
15956
15957 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
15958
15959 * sysdeps/i386/i586/Implies: Removed.
15960 * sysdeps/i386/i686/Implies: Likewise.
15961
15962 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
15963
15964 * sysdeps/i386/i486/strlen.S: Moved to ...
15965 * sysdeps/i386/strlen.S: Here.
15966
15967 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
15968
15969 * sysdeps/i386/i486/strcat.S: Moved to ...
15970 * sysdeps/i386/strcat.S: Here.
15971
15972 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
15973
15974 * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
15975 * sysdeps/i386/pthread_spin_trylock.S: Here.
15976 * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
15977 * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
15978
15979 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
15980
15981 * sysdeps/i386/i486/string-inlines.c: Moved to ...
15982 * sysdeps/i386/string-inlines.c: Here.
15983
15984 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
15985
15986 * sysdeps/i386/i486/htonl.S: Moved ...
15987 * sysdeps/i386/htonl.S: here.
15988
15989 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
15990
15991 * sysdeps/i386/i486/bits/atomic.h: Moved to ...
15992 * sysdeps/i386/bits/atomic.h: Here.
15993
15994 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
15995
15996 * sysdeps/i386/i486/Versions: Removed.
15997
15998 2015-08-27 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
15999
16000 [BZ #2898]
16001 * misc/mktemp.c: Add mkdtemp to the link_warning message.
16002 Based on patch by Aurelien Jarno.
16003
16004 2015-08-26 Stan Shebs <stanshebs@google.com>
16005
16006 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
16007 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
16008
16009 2015-08-26 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
16010
16011 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
16012 * sysdeps/powerpc/dl-procinfo.c:
16013 (_dl_powerpc_cap_flags): Added descriptor for this hwcap
16014 feature so it shows when LD_SHOW_AUXV=1.
16015
16016 2015-08-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16017
16018 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
16019 (__arch_compare_and_exchange_val_32_acq): Remove and use common
16020 definition. ISA 2.07B no longer requires full sync.
16021
16022 2015-08-26 Mike Frysinger <vapier@gentoo.org>
16023
16024 [BZ #18863]
16025 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
16026 (si_call_addr): Define.
16027 (si_syscall): Define.
16028 (si_arch): Define.
16029
16030 2015-08-26 H.J. Lu <hongjiu.lu@intel.com>
16031
16032 * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
16033 * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
16034 * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
16035 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
16036 (__memset_zero_constant_len_parameter): New.
16037 * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
16038 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
16039 (__memset_zero_constant_len_parameter): Don't define if
16040 __memset_chk or USE_AS_BZERO are defined.
16041
16042 * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
16043 Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
16044 * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
16045
16046 * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
16047 tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
16048 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
16049 tests-special, $(objpfx)tst-ld-sse-use.out): Here. Update
16050 comments.
16051 * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
16052 -mno-mmx for $(all-rtld-routines).
16053 * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
16054 * sysdeps/i386/tst-ld-sse-use.sh: Here. Replace x86-64 with
16055 i386.
16056
16057 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
16058
16059 * sysdeps/generic/unwind.h
16060 (_Unwind_Word): Use __mode__(__unwind_word__)
16061 instead of __mode__(__word__).
16062 (_Unwind_Sword): Likewise.
16063
16064 * sysdeps/s390/s390-64/utf8-utf16-z9.c
16065 (MAX_NEEDED_INPUT): New define.
16066 (MAX_NEEDED_OUTPUT): New define.
16067
16068 * NEWS: New item for IBM z13 string optimizations.
16069
16070 * sysdeps/s390/multiarch/memrchr-c.c: New File.
16071 * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
16072 * sysdeps/s390/multiarch/memrchr.c: Likewise.
16073 * sysdeps/s390/multiarch/Makefile
16074 (sysdep_routines): Add memrchr functions.
16075 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
16076 (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
16077
16078 * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
16079 * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
16080 * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
16081 * sysdeps/s390/multiarch/Makefile
16082 (sysdep_routines): Add wmemcmp functions.
16083 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
16084 (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
16085 * benchtests/bench-wmemcmp.c: New File.
16086 * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
16087
16088 * sysdeps/s390/multiarch/wmemset-c.c: New File.
16089 * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
16090 * sysdeps/s390/multiarch/wmemset.c: Likewise.
16091 * sysdeps/s390/multiarch/Makefile
16092 (sysdep_routines): Add wmemset functions.
16093 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
16094 (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
16095 * wcsmbs/wmemset.c: Use WMEMSET if defined.
16096 * string/test-memset.c: Add wmemset support.
16097 * wcsmbs/test-wmemset.c: New File.
16098 * wcsmbs/Makefile (strop-tests): Add wmemset.
16099 * benchtests/bench-memset.c: Add wmemset support.
16100 * benchtests/bench-wmemset.c: New File.
16101 * benchtests/Makefile (wcsmbs-bench): Add wmemset.
16102
16103 * sysdeps/s390/multiarch/memccpy-c.c: New File.
16104 * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
16105 * sysdeps/s390/multiarch/memccpy.c: Likewise.
16106 * sysdeps/s390/multiarch/Makefile
16107 (sysdep_routines): Add memccpy functions.
16108 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
16109 (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
16110 * string/memccpy.c: Use MEMCCPY if defined.
16111
16112 * sysdeps/s390/multiarch/memchr-vx.S: New File.
16113 * sysdeps/s390/multiarch/memchr.c: Likewise.
16114 * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
16115 * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
16116 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
16117 * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
16118 * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
16119 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
16120 * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
16121 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
16122 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
16123 and rawmemchr functions.
16124 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
16125 (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
16126 and wmemchr.
16127 * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
16128 * string/test-memchr.c: Add wmemchr support.
16129 * wcsmbs/test-wmemchr.c: New File.
16130 * wcsmbs/Makefile (strop-tests): Add wmemchr.
16131 * benchtests/bench-memchr.c: Add wmemchr support.
16132 * benchtests/bench-wmemchr.c: New File.
16133 * benchtests/Makefile (wcsmbs-bench): wmemchr.
16134
16135 * sysdeps/s390/multiarch/strcspn-c.c: New File.
16136 * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
16137 * sysdeps/s390/multiarch/strcspn.c: Likewise.
16138 * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
16139 * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
16140 * sysdeps/s390/multiarch/wcscspn.c: Likewise.
16141 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
16142 wcscspn functions.
16143 * sysdeps/s390/multiarch/ifunc-impl-list.c
16144 (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
16145 * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
16146 * string/test-strcspn.c: Add wcscspn support.
16147 * wcsmbs/test-wcscspn.c: New File.
16148 * wcsmbs/Makefile (strop-tests): Add wcscspn.
16149 * benchtests/bench-strcspn.c: Add wcscspn support.
16150 * benchtests/bench-wcscspn.c: New File.
16151 * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
16152
16153 * sysdeps/s390/multiarch/strpbrk-c.c: New File.
16154 * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
16155 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
16156 * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
16157 * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
16158 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
16159 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
16160 wcspbrk functions.
16161 * sysdeps/s390/multiarch/ifunc-impl-list.c
16162 (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
16163 * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
16164 * string/test-strpbrk.c: Add wcspbrk support.
16165 * wcsmbs/test-wcspbrk.c: New File.
16166 * wcsmbs/Makefile (strop-tests): Add wcspbrk.
16167 * benchtests/bench-strpbrk.c: Add wcspbrk support.
16168 * benchtests/bench-wcspbrk.c: New File.
16169 * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
16170
16171 * sysdeps/s390/multiarch/strspn-c.c: New File.
16172 * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
16173 * sysdeps/s390/multiarch/strspn.c: Likewise.
16174 * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
16175 * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
16176 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
16177 * wcsmbs/wcsspn.c: Use WCSSPN if defined.
16178 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
16179 wcsspn functions.
16180 * sysdeps/s390/multiarch/ifunc-impl-list.c
16181 (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
16182 * string/test-strspn.c: Add wcsspn support.
16183 * wcsmbs/test-wcsspn.c: New File.
16184 * wcsmbs/Makefile (strop-tests): Add wcsspn.
16185 * benchtests/bench-strspn.c: Add wcsspn support.
16186 * benchtests/bench-wcsspn.c: New File.
16187 * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
16188
16189 * sysdeps/s390/multiarch/strrchr-c.c: New File.
16190 * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
16191 * sysdeps/s390/multiarch/strrchr.c: Likewise.
16192 * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
16193 * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
16194 * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
16195 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
16196 wcsrchr functions.
16197 * sysdeps/s390/multiarch/ifunc-impl-list.c
16198 (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
16199 * benchtests/bench-wcsrchr.c: New File.
16200 * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
16201
16202 * sysdeps/s390/multiarch/strchrnul-c.c: New File.
16203 * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
16204 * sysdeps/s390/multiarch/strchrnul.c: Likewise.
16205 * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
16206 * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
16207 * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
16208 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
16209 wcschrnul functions.
16210 * sysdeps/s390/multiarch/ifunc-impl-list.c
16211 (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
16212 * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
16213 * string/test-strchr.c: Add wcschrnul support.
16214 * wcsmbs/test-wcschrnul.c: New File.
16215 * wcsmbs/Makefile (strop-tests): Add wcschrnul.
16216 * benchtests/bench-strchr.c: Add wcschrnul support.
16217 * benchtests/bench-wcschrnul.c: New File.
16218 * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
16219
16220 * sysdeps/s390/multiarch/strchr-c.c: New File.
16221 * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
16222 * sysdeps/s390/multiarch/strchr.c: Likewise.
16223 * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
16224 * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
16225 * sysdeps/s390/multiarch/wcschr.c: Likewise.
16226 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
16227 wcschr functions.
16228 * sysdeps/s390/multiarch/ifunc-impl-list.c
16229 (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
16230 * string/strchr.c (STRCHR): Define and use macro.
16231 * benchtests/bench-wcschr.c: New File.
16232 * benchtests/Makefile (wcsmbs-bench): Add wcschr.
16233
16234 * sysdeps/s390/multiarch/strncmp-c.c: New File.
16235 * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
16236 * sysdeps/s390/multiarch/strncmp.c: Likewise.
16237 * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
16238 * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
16239 * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
16240 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
16241 wcsncmp functions.
16242 * sysdeps/s390/multiarch/ifunc-impl-list.c
16243 (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
16244 * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
16245 * benchtests/bench-strncmp.c: Add wcsncmp support.
16246 * benchtests/bench-wcsncmp.c: New File.
16247 * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
16248
16249 * sysdeps/s390/multiarch/strcmp-vx.S: New File.
16250 * sysdeps/s390/multiarch/strcmp.c: Likewise.
16251 * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
16252 * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
16253 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
16254 * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
16255 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
16256 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
16257 wcscmp functions.
16258 * sysdeps/s390/multiarch/ifunc-impl-list.c
16259 (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
16260 * string/strcmp.c (STRCMP): Define and use macro.
16261 * benchtests/bench-wcscmp.c: New File.
16262 * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
16263 * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
16264 instead of _HAVE_STRING_ARCH_memchr.
16265
16266 * sysdeps/s390/multiarch/strncat-c.c: New File.
16267 * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
16268 * sysdeps/s390/multiarch/strncat.c: Likewise.
16269 * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
16270 * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
16271 * sysdeps/s390/multiarch/wcsncat.c: Likewise.
16272 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
16273 wcsncat functions.
16274 * sysdeps/s390/multiarch/ifunc-impl-list.c
16275 (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
16276 * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
16277 * string/test-strncat.c: Add wcsncat support.
16278 * wcsmbs/test-wcsncat.c: New File.
16279 * wcsmbs/Makefile (strop-tests): Add wcsncat.
16280 * benchtests/bench-strncat.c: Add wcsncat support.
16281 * benchtests/bench-wcsncat.c: New File.
16282 * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
16283
16284 * sysdeps/s390/multiarch/strcat-c.c: New File.
16285 * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
16286 * sysdeps/s390/multiarch/strcat.c: Likewise.
16287 * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
16288 * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
16289 * sysdeps/s390/multiarch/wcscat.c: Likewise.
16290 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
16291 wcscat functions.
16292 * sysdeps/s390/multiarch/ifunc-impl-list.c
16293 (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
16294 * string/strcat.c (STRCAT): Define and use macro.
16295 * wcsmbs/wcscat.c: Use WCSCAT if defined.
16296 * string/test-strcat.c: Add wcscat support.
16297 * wcsmbs/test-wcscat.c: New File.
16298 * wcsmbs/Makefile (strop-tests): Add wcscat.
16299 * benchtests/bench-strcat.c: Add wcscat support.
16300 * benchtests/bench-wcscat.c: New File.
16301 * benchtests/Makefile (wcsmbs-bench): Add wcscat.
16302
16303 * sysdeps/s390/multiarch/stpncpy-c.c: New File.
16304 * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
16305 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
16306 * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
16307 * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
16308 * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
16309 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
16310 wcpncpy functions.
16311 * sysdeps/s390/multiarch/ifunc-impl-list.c
16312 (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
16313 * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
16314 * string/test-stpncpy.c: Add wcpncpy support.
16315 * wcsmbs/test-wcpncpy.c: New File.
16316 * wcsmbs/Makefile (strop-tests): Add wcpncpy.
16317 * benchtests/bench-stpncpy.c: Add wcpncpy support.
16318 * benchtests/bench-wcpncpy.c: New File.
16319 * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
16320
16321 * sysdeps/s390/multiarch/strncpy-vx.S: New File.
16322 * sysdeps/s390/multiarch/strncpy.c: Likewise.
16323 * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
16324 * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
16325 * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
16326 * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
16327 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
16328 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
16329 wcsncpy functions.
16330 * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
16331 * sysdeps/s390/multiarch/ifunc-impl-list.c
16332 (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
16333 * string/test-strncpy.c: Add wcsncpy support.
16334 * wcsmbs/test-wcsncpy.c: New File.
16335 * wcsmbs/Makefile (strop-tests): Add wcsncpy.
16336 * benchtests/bench-strncpy.c: Add wcsncpy support.
16337 * benchtests/bench-wcsncpy.c: New File.
16338 * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
16339
16340 * sysdeps/s390/multiarch/stpcpy-c.c: New File.
16341 * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
16342 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
16343 * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
16344 * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
16345 * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
16346 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
16347 wcpcpy functions.
16348 * string/stpcpy.c: Use STPCPY if defined.
16349 * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
16350 * sysdeps/s390/multiarch/ifunc-impl-list.c
16351 (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
16352 * string/test-stpcpy.c: Add wcpcpy support.
16353 * wcsmbs/test-wcpcpy.c: New File.
16354 * wcsmbs/Makefile (strop-tests): Add wcpcpy.
16355 * benchtests/bench-stpcpy.c: Add wcpcpy support.
16356 * benchtests/bench-wcpcpy.c: New File.
16357 * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
16358
16359 * sysdeps/s390/multiarch/strcpy-vx.S: New File.
16360 * sysdeps/s390/multiarch/strcpy.c: Likewise.
16361 * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
16362 * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
16363 * sysdeps/s390/multiarch/wcscpy.c: Likewise.
16364 * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
16365 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
16366 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
16367 wcscpy functions.
16368 * sysdeps/s390/multiarch/ifunc-impl-list.c
16369 (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
16370 * benchtests/bench-wcscpy.c: New File.
16371 * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
16372
16373 * sysdeps/s390/multiarch/strnlen-c.c: New File.
16374 * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
16375 * sysdeps/s390/multiarch/strnlen.c: Likewise.
16376 * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
16377 * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
16378 * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
16379 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
16380 wcsnlen functions.
16381 * sysdeps/s390/multiarch/ifunc-impl-list.c
16382 (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
16383 * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
16384 * string/test-strnlen.c: Add wcsnlen support.
16385 * wcsmbs/test-wcsnlen.c: New File.
16386 * wcsmbs/Makefile (strop-tests): Add wcsnlen.
16387 * benchtests/bench-strnlen.c: Add wcsnlen support.
16388 * benchtests/bench-wcsnlen.c: New File.
16389 * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
16390
16391 * sysdeps/s390/multiarch/Makefile: New File.
16392 * sysdeps/s390/multiarch/strlen-c.c: Likewise.
16393 * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
16394 * sysdeps/s390/multiarch/strlen.c: Likewise.
16395 * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
16396 * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
16397 * sysdeps/s390/multiarch/wcslen.c: Likewise.
16398 * string/strlen.c (STRLEN): Define and use macro.
16399 * sysdeps/s390/multiarch/ifunc-impl-list.c
16400 (IFUNC_VX_IMPL): New macro function.
16401 (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
16402 * benchtests/Makefile (wcsmbs-bench): New variable.
16403 (string-bench-all): Added wcsmbs-bench.
16404 * benchtests/bench-wcslen.c: New File.
16405
16406 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
16407 s390_vx_libc_ifunc2): New macro function.
16408
16409 * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
16410 * sysdeps/s390/configure.ac: Add test for S390 vector instruction
16411 assembler support.
16412 * sysdeps/s390/configure: Regenerated.
16413
16414 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
16415 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
16416
16417 * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
16418 * sysdeps/s390/dl-procinfo.h: Add vector capability.
16419 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
16420
16421 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
16422 Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
16423 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
16424 * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
16425 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
16426 (memcmp, bcmp): Use __memcmp_default as alias source.
16427 * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
16428 * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
16429 Rename to __memcmp_default.
16430 * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
16431 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
16432 (memcpy): Use __memcpy_default as alias source.
16433 * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
16434 * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
16435 Rename to __memcpy_default.
16436 * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
16437 * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
16438 (memset): Use __memset_default as alias source.
16439 * sysdeps/s390/s390-32/multiarch/memset.c: New File.
16440 * sysdeps/s390/s390-32/memset.S (__memset_g5):
16441 Rename to __memset_default.
16442 * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
16443 Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
16444 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
16445 * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
16446 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
16447 (memcmp, bcmp): Use __memcmp_default as alias source.
16448 * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
16449 * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
16450 Rename to __memcmp_default.
16451 * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
16452 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
16453 (memcpy): Use __memcpy_default as alias source.
16454 * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
16455 * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
16456 Rename to __memcpy_default.
16457 * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
16458 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
16459 (memset): Use __memset_default as alias source.
16460 * sysdeps/s390/s390-64/multiarch/memset.c: New File.
16461 * sysdeps/s390/s390-64/memset.S (__memset_z900):
16462 Rename to __memset_default.
16463 * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
16464 * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
16465
16466 [BZ #18610]
16467 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
16468 __ieee_instruction_pointer to __unused.
16469 * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
16470 __ieee_instruction_pointer.
16471 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
16472 * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
16473 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
16474 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
16475 * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
16476 Mark dxc-field as reserved.
16477
16478 2015-08-25 Roland McGrath <roland@hack.frob.com>
16479
16480 * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
16481 if the weak reference is not null.
16482
16483 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
16484
16485 * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
16486
16487 [BZ #11214]
16488 * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
16489
16490 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16491
16492 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
16493 * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
16494 * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
16495 * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
16496 * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
16497 * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
16498 * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
16499 * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
16500 * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
16501 * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
16502 * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
16503 * sysdeps/unix/sysv/linux/send.c: Call direct system call.
16504 * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
16505 * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
16506 * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
16507 * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
16508 * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
16509 * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
16510
16511 2015-08-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16512
16513 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
16514 register other than r0 for tabort, it has special meaning.
16515 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
16516 * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
16517 transaction before starting syscall.
16518
16519 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16520
16521 * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
16522
16523 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
16524
16525 * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
16526
16527 * sysdeps/x86_64/rtld-memcmp.c: Removed.
16528 * sysdeps/x86_64/rtld-memset.S: Likewise.
16529 * sysdeps/x86_64/rtld-strchr.S: Likewise.
16530 * sysdeps/x86_64/rtld-strlen.S: Likewise.
16531 * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
16532 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
16533
16534 * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
16535
16536 2015-08-25 Ondřej Bílka <neleai@seznam.cz>
16537
16538 * debug/strcpy_chk.c: Improve performance.
16539 * debug/stpcpy_chk.c: Likewise.
16540 * sysdeps/x86_64/strcpy_chk.S: Remove.
16541 * sysdeps/x86_64/stpcpy_chk.S: Remove.
16542
16543 [BZ #18240]
16544 * misc/hsearch_r.c (__hcreate_r): Handle overflow.
16545
16546 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
16547
16548 [BZ #15128]
16549 * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
16550 ifuncmain8.
16551 (modules-names): Add ifuncmod8.
16552 ($(objpfx)ifuncmain8): New rule.
16553 * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
16554 <cpuid.h>.
16555 (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
16556 _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
16557 _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
16558 _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
16559 * sysdeps/x86_64/dl-trampoline.S: Rewrite.
16560 * sysdeps/x86_64/dl-trampoline.h: Likewise.
16561 * sysdeps/x86_64/ifuncmain8.c: New file.
16562 * sysdeps/x86_64/ifuncmod8.c: Likewise.
16563 * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
16564 Removed.
16565 * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
16566 (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
16567 Change rtld_savespace_sse to __glibc_unused2.
16568 (RTLD_CHECK_FOREIGN_CALL): Removed.
16569 (RTLD_ENABLE_FOREIGN_CALL): Likewise.
16570 (RTLD_PREPARE_FOREIGN_CALL): Likewise.
16571 (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
16572
16573 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
16574
16575 * sysdeps/aarch64/bzero.S (__bzero): Remove.
16576
16577 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
16578
16579 * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
16580 Unconditionally set __fpcr to avoid uninialized warning.
16581 (libc_feholdsetround_noex_aarch64_ctx): Likewise.
16582
16583 2015-08-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16584
16585 * malloc/arena.c (arena_get_retry): Don't use main_arena if it
16586 is corrupt.
16587
16588 * malloc/arena.c (arena_get2): Drop unused argument.
16589 (arena_lock): Adjust.
16590 (arena_get_retry): Likewise.
16591
16592 2015-08-24 Andreas Schwab <schwab@suse.de>
16593
16594 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
16595 Don't define.
16596 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
16597 (__ASSUME_IPC64): Don't undef.
16598 * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
16599 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
16600 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
16601 * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
16602 * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
16603 * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
16604 * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
16605 * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
16606 * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
16607 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
16608 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
16609 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
16610 * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
16611 * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
16612 * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
16613 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
16614 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
16615 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
16616 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
16617 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
16618 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
16619
16620 2015-08-21 Mike Frysinger <vapier@gentoo.org>
16621
16622 * manual/Makefile (install): Only build manual when perl is available.
16623
16624 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
16625
16626 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
16627 '#undef memcpy' by '#undef memchr'.
16628
16629 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
16630
16631 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
16632 memchr not point to the internal __GI_memchr implementation.
16633
16634 2015-08-20 Joseph Myers <joseph@codesourcery.com>
16635
16636 * timezone/Makefile (CFLAGS-zdump.c): Remove
16637 -Wno-strict-prototypes.
16638 (CFLAGS-zic.c): Likewise.
16639 (CFLAGS-ialloc.c): Likewise.
16640 (CFLAGS-scheck.c): Likewise.
16641
16642 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
16643 -Wno-error=undef.
16644
16645 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
16646
16647 * i386/i686/multiarch/strcasestr-c.c: Removed.
16648 * x86_64/multiarch/strcasestr.c: Likewise.
16649 * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16650 Remove strcasestr.
16651
16652 2015-08-20 Joseph Myers <joseph@codesourcery.com>
16653
16654 * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
16655
16656 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
16657 variables for high and low parts before possibly modifying them.
16658
16659 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
16660
16661 * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
16662 * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
16663 * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
16664 of "multiarch/init-arch.h".
16665 * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
16666 * sysdeps/x86/init-arch.h: This.
16667
16668 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
16669
16670 * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
16671 * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
16672
16673 2015-08-20 Ondřej Bílka <neleai@seznam.cz>
16674
16675 [BZ #17787]
16676 * manual/macros.texi: Add twoexp macro.
16677 * manual/filesys.texi: Fix exponents.
16678 * manual/llio.texi: Likewise.
16679 * manual/stdio.texi: Likewise.
16680
16681 2015-08-20 Florian Weimer <fweimer@redhat.com>
16682
16683 * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
16684 incorrect use.
16685
16686 2015-08-19 Joseph Myers <joseph@codesourcery.com>
16687
16688 [BZ #18370]
16689 * math/s_csqrt.c (__csqrt): Force underflow exception for results
16690 whose real or imaginary part has small absolute value.
16691 * math/s_csqrtf.c (__csqrtf): Likewise.
16692 * math/s_csqrtl.c (__csqrtl): Likewise.
16693 * math/auto-libm-test-in: Add more tests of csqrt.
16694 * math/auto-libm-test-out: Regenerated.
16695 * sysdeps/i386/fpu/libm-test-ulps: Update.
16696
16697 2015-08-19 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
16698
16699 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
16700 __ppc_set_ppr_very_low): New functions.
16701 * manual/platform.texi: Add documentation about
16702 __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
16703
16704 2015-08-19 Wilco Dijkstra <wdijkstr@arm.com>
16705
16706 * string/stpncpy.c (stpncpy): Improve performance using
16707 __strnlen/memcpy/memset.
16708
16709 2015-08-19 Andrew Senkevich <andrew.senkevich@intel.com>
16710
16711 [BZ #18796]
16712 * scripts/test-installation.pl: Don't add -lmvec to build options if
16713 libmvec wasn't built.
16714
16715 2015-08-19 Petar Jovanovic <petar.jovanovic@rt-rk.com>
16716
16717 [BZ #14341]
16718 * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
16719 case when there is a gap between DT_REL and DT_JMPREL sections.
16720 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
16721 (LDFLAGS-tst-split-dynreloc): New.
16722 (tst-split-dynreloc-ENV): Likewise.
16723 * sysdeps/x86_64/tst-split-dynreloc.c: New file.
16724 * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
16725
16726 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
16727
16728 [BZ #18822]
16729 * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
16730 attribute_hidden.
16731 (__xstat64_conv): Likewise.
16732 (__xstat32_conv): Likewise.
16733
16734 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
16735
16736 [BZ #18822]
16737 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
16738 Don't load %ebx when calling __setcontext. Call __setcontext
16739 with HIDDEN_JUMPTARGET.
16740 * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
16741 libc_hidden_def.
16742
16743 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
16744
16745 * sysdeps/i386/i686/Makefile
16746 [$(subdir) == string] (sysdep_routines): Moved to ...
16747 * sysdeps/i386/Makefile: Here.
16748 * sysdeps/i386/i686/cacheinfo.c: Moved to ...
16749 * sysdeps/i386/cacheinfo.c: Here.
16750 * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
16751 * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
16752 * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
16753 * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
16754
16755 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
16756
16757 * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
16758 __i586__ is defined.
16759 (HAS_I686): Defined to 1 if __i686__ is defined.
16760
16761 2015-08-19 Joseph Myers <joseph@codesourcery.com>
16762
16763 * elf/Makefile [$(have-z-execstack) = yes]
16764 (CPPFLAGS-tst-execstack.c): New variable.
16765
16766 * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
16767 conditional to [defined UTMPX || _HAVE_UT_TYPE].
16768 [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
16769 UTMPX || _HAVE_UT_TV].
16770 [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
16771 UTMPX || _HAVE_UT_TV - 0].
16772
16773 2015-08-18 Joseph Myers <joseph@codesourcery.com>
16774
16775 * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
16776 conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
16777 * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
16778
16779 2015-08-18 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
16780
16781 * sysdeps/powerpc/dl-procinfo.c:
16782 (_dl_powerpc_cap_flags): Added missing strings for some
16783 hwcap features.
16784 * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
16785
16786 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
16787
16788 Port the 0x7efe...feff pattern to GCC 6.
16789 See Steve Ellcey's bug report in:
16790 https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
16791 * string/memrchr.c (MEMRCHR):
16792 * string/rawmemchr.c (RAWMEMCHR):
16793 * string/strchr.c (strchr):
16794 * string/strchrnul.c (STRCHRNUL):
16795 Rewrite code to avoid issues with signed shift overflow.
16796
16797 2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
16798
16799 * sysdeps/x86/cpu-features.c (init_cpu_features): Check
16800 whether cpuid is available only if HAS_CPUID is 0.
16801 * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
16802 (HAS_I586): Likewise.
16803 (HAS_I686): Likewise.
16804
16805 2015-08-18 Zack Weinberg <zackw@panix.com>
16806
16807 * misc/Versions (libc): Add GLIBC_2.23.
16808
16809 2015-08-18 Alan Modra <amodra@gmail.com>
16810
16811 [BZ #18421]
16812 * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
16813 .Lp__global.
16814 (_start): Load %dp via .Lp__global.
16815 [!SHARED]: Use .section .rodata.
16816
16817 2015-08-18 Mike Frysinger <vapier@gentoo.org>
16818
16819 * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
16820 * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
16821
16822 2015-08-18 Mike Frysinger <vapier@gentoo.org>
16823
16824 * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
16825 * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
16826
16827 2015-08-18 Mike Frysinger <vapier@gentoo.org>
16828
16829 * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
16830 * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
16831
16832 2015-08-18 Mike Frysinger <vapier@gentoo.org>
16833
16834 * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
16835 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
16836
16837 2015-08-18 Mike Frysinger <vapier@gentoo.org>
16838
16839 * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
16840 * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
16841
16842 2015-08-18 Mike Frysinger <vapier@gentoo.org>
16843
16844 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
16845 SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
16846
16847 2015-08-18 Mike Frysinger <vapier@gentoo.org>
16848
16849 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
16850
16851 2015-08-18 Mike Frysinger <vapier@gentoo.org>
16852
16853 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
16854 kernel-features.h include. Delete __ASSUME_LWS_CAS checks.
16855 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16856 (__ASSUME_LWS_CAS): Delete.
16857
16858 2015-08-18 Mike Frysinger <vapier@gentoo.org>
16859
16860 * sysdeps/hppa/configure.ac: Delete binutils tls checks.
16861 * sysdeps/hppa/configure: Regenerated.
16862 * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
16863 * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
16864 * sysdeps/hppa/nptl/tls.h: Likewise.
16865
16866 2015-08-17 Joseph Myers <joseph@codesourcery.com>
16867
16868 [BZ #18823]
16869 * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
16870 for scaling up small arguments.
16871 * math/s_csqrtf.c (__csqrtf): Likewise.
16872 * math/s_csqrtl.c (__csqrtl): Likewise.
16873 * math/auto-libm-test-in: Add more tests of csqrt.
16874 * math/auto-libm-test-out: Regenerated.
16875
16876 2015-08-17 Andreas Schwab <schwab@suse.de>
16877
16878 * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
16879 version set GLIBC_2.19.
16880
16881 2015-08-16 Zack Weinberg <zackw@panix.com>
16882
16883 [BZ #18681]
16884 * misc/regexp.h: This interface is no longer supported.
16885 Remove all contents, leaving only an #error directive.
16886 * misc/regexp.c (loc1, loc2, locs, step, advance):
16887 Demote to compatibility symbols.
16888
16889 2015-08-15 Paul Pluzhnikov <ppluzhnikov@google.com>
16890
16891 [BZ #18084]
16892 * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
16893 * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
16894 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
16895 * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
16896 * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
16897 * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
16898 * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
16899 * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
16900 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
16901
16902 2015-08-15 Zack Weinberg <zackw@panix.com>
16903
16904 [BZ #18795]
16905 * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
16906 buffer length is known to be too large, not if it's known to be
16907 small enough.
16908 * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
16909 overflow at runtime, involving a length parameter, twice: once
16910 with a compile-time constant length parameter, once without.
16911
16912 2015-08-14 Joseph Myers <joseph@codesourcery.com>
16913
16914 [BZ #18824]
16915 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
16916 scaling x * y up instead of down.
16917 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16918 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16919 * math/auto-libm-test-in: Add more tests of fma.
16920 * math/auto-libm-test-out: Regenerated.
16921
16922 2015-08-14 Paul Pluzhnikov <ppluzhnikov@google.com>
16923
16924 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16925
16926 2015-08-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16927
16928 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
16929 unnecessary movq.
16930 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
16931 Likewise.
16932
16933 2015-08-13 Joseph Myers <joseph@codesourcery.com>
16934
16935 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
16936 asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
16937 exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
16938 and tgamma.
16939 * math/auto-libm-test-out: Regenerated.
16940 * sysdeps/i386/fpu/libm-test-ulps: Update.
16941 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16942
16943 [BZ #16520]
16944 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
16945 (__tanh): Force underflow exception for arguments with small
16946 absolute value.
16947 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
16948 (__tanhf): Force underflow exception for arguments with small
16949 absolute value.
16950 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
16951 (__tanhl): Force underflow exception for arguments with small
16952 absolute value.
16953 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
16954 (__tanhl): Force underflow exception for arguments with small
16955 absolute value.
16956 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
16957 (__tanhl): Force underflow exception for arguments with small
16958 absolute value.
16959 * math/auto-libm-test-in: Add more tests of tanh.
16960 * math/auto-libm-test-out: Regenerated.
16961 * sysdeps/i386/fpu/libm-test-ulps: Update.
16962
16963 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
16964
16965 * sysdeps/x86/cpu-features.c (init_cpu_features): Call
16966 __get_cpuid_max if not compiling for i586, i686 nor x86-64.
16967
16968 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
16969
16970 * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
16971 <cpuid.h>.
16972
16973 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
16974
16975 * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
16976 Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
16977
16978 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
16979
16980 * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
16981 Remove $(objpfx)init-arch.o.
16982 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
16983 init-arch.
16984 * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
16985 (INIT_ARCH_EXT): Defined as empty.
16986 (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
16987 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
16988 __init_cpu_features call. Replace HAS_XXX with
16989 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16990 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
16991 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
16992 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
16993 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
16994 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
16995 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
16996 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
16997 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
16998 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
16999 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
17000 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
17001 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
17002 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
17003 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
17004 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
17005 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
17006 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
17007 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
17008 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
17009 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
17010 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
17011 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
17012 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
17013 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
17014 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
17015 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
17016 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
17017 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
17018 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
17019 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
17020 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
17021 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
17022 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
17023 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
17024 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
17025
17026 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
17027
17028 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
17029 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
17030 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
17031 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
17032 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
17033 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
17034 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
17035 * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
17036 * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
17037 * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
17038 call. Merge SHARED and !SHARED. Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
17039 Use LOAD_FUNC_GOT_EAX to load function address. Replace HAS_XXX
17040 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
17041 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17042 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17043 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17044 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17045 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17046 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17047 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17048 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17049 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17050 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17051 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17052 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17053 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17054 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17055 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17056 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17057 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17058 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17059 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17060 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17061 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17062 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17063 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17064 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17065 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17066 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17067 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17068 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17069 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17070 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17071
17072 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
17073
17074 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
17075 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
17076 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
17077 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17078 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17079 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
17080 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17081 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
17082 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
17083 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17084 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17085 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
17086 LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
17087 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
17088 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
17089 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
17090 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
17091 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
17092 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
17093 * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
17094 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
17095 * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
17096 * sysdeps/x86_64/multiarch/strstr.c: Likewise.
17097 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17098 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17099 * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
17100 * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
17101 call. Add LOAD_RTLD_GLOBAL_RO_RDX. Replace HAS_XXX with
17102 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
17103 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
17104 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17105 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17106 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17107 * sysdeps/x86_64/multiarch/memset.S: Likewise.
17108 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17109 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
17110 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
17111 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17112 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
17113 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
17114 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
17115 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
17116 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
17117
17118 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
17119
17120 * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
17121 (dl_platform_init): Call init_cpu_features.
17122 * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
17123 * sysdeps/i386/i686/cacheinfo.c
17124 (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
17125 * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
17126 * sysdeps/i386/i686/multiarch/Versions: Removed.
17127 * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
17128 Removed.
17129 * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
17130 * sysdeps/unix/sysv/linux/x86/Makefile
17131 (libpthread-sysdep_routines): Remove init-arch.
17132 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
17133 <sysdeps/x86_64/dl-procinfo.c> instead of
17134 sysdeps/generic/dl-procinfo.c>.
17135 * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
17136 Add cpu-features-offsets.sym and rtld-global-offsets.sym.
17137 [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
17138 [$(subdir) == elf] (tests): Add tst-get-cpu-features.
17139 [$(subdir) == elf] (tests-static): Add
17140 tst-get-cpu-features-static.
17141 * sysdeps/x86/Versions: New file.
17142 * sysdeps/x86/cpu-features-offsets.sym: Likewise.
17143 * sysdeps/x86/cpu-features.c: Likewise.
17144 * sysdeps/x86/cpu-features.h: Likewise.
17145 * sysdeps/x86/dl-get-cpu-features.c: Likewise.
17146 * sysdeps/x86/libc-start.c: Likewise.
17147 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
17148 * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
17149 * sysdeps/x86/tst-get-cpu-features.c: Likewise.
17150 * sysdeps/x86_64/dl-procinfo.c: Likewise.
17151 * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
17152 Assume USE_MULTIARCH is defined and don't check it.
17153 (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
17154 (is_amd): Likewise.
17155 (max_cpuid): Likewise.
17156 (intel_check_word): Likewise.
17157 (__cache_sysconf): Don't call __init_cpu_features.
17158 (__x86_preferred_memory_instruction): Removed.
17159 (init_cacheinfo): Don't call __init_cpu_features. Replace
17160 __cpu_features with GLRO(dl_x86_cpu_features).
17161 * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
17162 (dl_platform_init): Call init_cpu_features.
17163 * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
17164 * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
17165 * sysdeps/x86_64/multiarch/Versions: Removed.
17166 * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
17167 * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
17168 * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
17169 Removed.
17170 * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
17171
17172 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
17173
17174 [BZ #18820]
17175 * libio/Makefile (test-fmemopen-mem): New test.
17176 * libio/test-fmemopen.c (do_bz18820): New test.
17177 * libio/fmemopen.c (__fmemopen): Fix memory leak.
17178 * libio/oldfmemopen.c (__old_fmemopen): Likewise.
17179
17180 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
17181
17182 [BZ #16734]
17183 * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
17184 (FREE_BUF): Delete.
17185 * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
17186 * libio/genops.c (_IO_setb): Use malloc and free directly.
17187 (_IO_default_doallocate, _IO_default_finish): Likewise.
17188 ( _IO_unbuffer_all): Likewise.
17189 ( libc_freeres_fn): Likewise.
17190 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
17191 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
17192 * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
17193 (_IO_wdefault_doallocate): Likewise.
17194
17195 2015-08-11 Paul Pluzhnikov <ppluzhnikov@google.com>
17196
17197 [BZ #18086]
17198 * sysdeps/posix/nice.c (nice): Restore old errno.
17199 * posix/tst-nice.c (do_test): Add test for BZ #18086.
17200
17201 2015-08-10 Ondrej Bilka <neleai@seznam.cz>
17202
17203 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
17204
17205 2015-08-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17206
17207 * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
17208 __bcopy and add a weak_alias to bcopy.
17209 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
17210 for static build.
17211
17212 * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
17213 cleanup macro usage.
17214 * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
17215 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
17216 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
17217 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
17218 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
17219 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
17220 * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
17221 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
17222 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
17223 * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
17224 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
17225 [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
17226 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
17227 [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
17228 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
17229 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
17230 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
17231 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
17232 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
17233
17234 * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
17235 libc_hidden_def.
17236 (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
17237
17238 * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
17239 (sysdep_routines): Add strstr-ppc64.
17240 * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
17241
17242 2015-08-10 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
17243
17244 [BZ #18778]
17245 * elf/Makefile (tests): Add Add tst-nodelete2.
17246 (modules-names): Add tst-nodelete2mod.
17247 (tst-nodelete2mod.so-no-z-defs): New.
17248 ($(objpfx)tst-nodelete2): Likewise.
17249 ($(objpfx)tst-nodelete2.out): Likewise.
17250 (LDFLAGS-tst-nodelete2): Likewise.
17251 * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
17252 out of loop through all loaded libraries.
17253 * elf/tst-nodelete2.c: New file.
17254 * elf/tst-nodelete2mod.c: Likewise.
17255 * elf/tst-znodelete-zlib.cc: Delete.
17256
17257 2015-08-11 Andreas Schwab <schwab@suse.de>
17258
17259 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
17260 * sysdeps/unix/sysv/linux/wordsize-64/openat.c
17261 (__openat64_nocancel): Likewise.
17262
17263 2015-08-11 Joseph Myers <joseph@codesourcery.com>
17264
17265 * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
17266 atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
17267 expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
17268 * math/auto-libm-test-out: Regenerated.
17269 * sysdeps/i386/fpu/libm-test-ulps: Update.
17270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17271
17272 2015-08-10 Joseph Myers <joseph@codesourcery.com>
17273
17274 [BZ #18790]
17275 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
17276 threshold for returning +/- 1.
17277 * math/auto-libm-test-in: Add more tests of tanh.
17278 * math/auto-libm-test-out: Regenerated.
17279 * sysdeps/i386/fpu/libm-test-ulps: Update.
17280
17281 2015-08-10 Andreas Schwab <schwab@suse.de>
17282
17283 [BZ #18781]
17284 * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
17285 MORE_OFLAGS to oflag.
17286 * io/test-lfs.c (do_test): Test openat64.
17287
17288 2015-08-10 Joseph Myers <joseph@codesourcery.com>
17289
17290 [BZ #18789]
17291 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
17292 smaller threshold for returning the argument.
17293 * math/auto-libm-test-in: Add more tests of sinh.
17294 * math/auto-libm-test-out: Regenerated.
17295 * sysdeps/i386/fpu/libm-test-ulps: Update.
17296
17297 2015-08-09 H.J. Lu <hongjiu.lu@intel.com>
17298
17299 [BZ #18674]
17300 * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
17301 break.
17302
17303 2015-08-09 Andreas Schwab <schwab@linux-m68k.org>
17304
17305 * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
17306 (generated): Don't add $(addprefix z.,$(tzfiles)).
17307
17308 2015-08-09 Mike Frysinger <vapier@gentoo.org>
17309
17310 * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
17311 * scripts/sysd-rules.awk: Likewise.
17312
17313 2015-08-09 Mike Frysinger <vapier@gentoo.org>
17314
17315 * iconvdata/tst-tables.sh: Change echo -n to printf.
17316 * nss/db-Makefile: Likewise.
17317 * posix/tst-getconf.sh: Likewise.
17318 * stdio-common/tst-unbputc.sh: Likewise.
17319
17320 2015-08-09 Mike Frysinger <vapier@gentoo.org>
17321
17322 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
17323 MADV_*_PAGES defines behind this feature check.
17324
17325 2015-08-09 John David Anglin <danglin@gcc.gnu.org>
17326
17327 [BZ #18480]
17328 * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
17329 LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
17330 Define.
17331 (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
17332 LOAD_REGS_5, LOAD_REGS_6): Update.
17333 (INTERNAL_SYSCALL): Update using new LOAD defines.
17334 (INTERNAL_SYSCALL_NCS): Likewise.
17335 * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
17336
17337 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
17338
17339 [BZ #16734]
17340 * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
17341
17342 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
17343
17344 [BZ #17905]
17345 * catgets/Makefile (tst-catgets-mem): New test.
17346 * catgets/catgets.c (catopen): Don't use unbounded alloca.
17347 * catgets/open_catalog.c (__open_catalog): Likewise.
17348 * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
17349
17350 2015-08-08 John David Anglin <danglin@gcc.gnu.org>
17351
17352 [BZ #18787]
17353 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
17354 clobber registers.
17355 (atomic_compare_and_exchange_val_acq): Use register asms to assign
17356 operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks.
17357 Cast return to __typeof (oldval).
17358
17359 2015-08-08 Mike Frysinger <vapier@gentoo.org>
17360
17361 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
17362 in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h
17363 and delete sys/syscall.h include.
17364
17365 2015-08-07 Joseph Myers <joseph@codesourcery.com>
17366
17367 [BZ #16517]
17368 * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
17369 (tan): Force underflow exception for arguments with small absolute
17370 value.
17371 * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
17372 (__kernel_tanf): Force underflow exception for arguments with
17373 small absolute value.
17374 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
17375 (__kernel_tanl): Force underflow exception for arguments with
17376 small absolute value.
17377 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
17378 (__kernel_tanl): Force underflow exception for arguments with
17379 small absolute value.
17380 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
17381 (__kernel_tanl): Force underflow exception for arguments with
17382 small absolute value.
17383 * math/auto-libm-test-in: Add more tests of tan.
17384 * math/auto-libm-test-out: Regenerated.
17385
17386 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
17387
17388 Fix sysdeps/i386/fpu/s_scalbn.S build
17389
17390 * math/Versions (libc: GLIBC_2_22): New (empty) version set.
17391
17392 2015-08-07 Mike Frysinger <vapier@gentoo.org>
17393
17394 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
17395
17396 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
17397
17398 Fix gcrt0.o compilation
17399
17400 When static-start-installed-name is different from
17401 start-installed-name, we must not use the shared objects.
17402
17403 * csu/Makefile
17404 (extra-objs): Add gmon-start.o when building shared library and
17405 $(static-start-installed-name) is different from
17406 $(start-installed-name).
17407 $(objpfx)g$(static-start-installed-name): When building shared
17408 library and $(static-start-installed-name) is different from
17409 $(static-start-installed-name), revert to non-shared rule,
17410 i.e. using $(objpfx)% and gmon-start.o.
17411
17412 2015-08-06 Joseph Myers <joseph@codesourcery.com>
17413
17414 [BZ #16519]
17415 * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
17416 (__ieee754_sinh): Force underflow exception for arguments with
17417 small absolute value.
17418 * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
17419 (__ieee754_sinhf): Force underflow exception for arguments with
17420 small absolute value.
17421 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
17422 (__ieee754_sinhl): Force underflow exception for arguments with
17423 small absolute value.
17424 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
17425 (__ieee754_sinhl): Force underflow exception for arguments with
17426 small absolute value.
17427 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
17428 (__ieee754_sinhl): Force underflow exception for arguments with
17429 small absolute value.
17430 * math/auto-libm-test-in: Add more tests of sinh.
17431 * math/auto-libm-test-out: Regenerated.
17432 * sysdeps/i386/fpu/libm-test-ulps: Update.
17433
17434 2015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17435
17436 * libio/oldfileops.c: Include unistd.h.
17437
17438 2015-08-06 Mike Frysinger <vapier@gentoo.org>
17439
17440 * stdlib/isomac.c: Include ctype.h.
17441
17442 2015-08-06 Arjun Shankar <arjun.is@lostca.se>
17443
17444 * dirent/tst-seekdir.c (main): Converted to ...
17445 (do_test): ... this.
17446 (TEST_FUNCTION): New macro.
17447 Include test-skeleton.c.
17448 * elf/tst-dlmodcount.c (main): Converted to ...
17449 (do_test): ... this.
17450 (TEST_FUNCTION): New macro.
17451 Include test-skeleton.c.
17452 * elf/tst-order-main.c (main): Converted to ...
17453 (do_test): ... this.
17454 (TEST_FUNCTION): New macro.
17455 Include test-skeleton.c.
17456 * elf/tst-pie2.c (main): Converted to ...
17457 (do_test): ... this.
17458 (TEST_FUNCTION): New macro.
17459 Include test-skeleton.c.
17460 * inet/tst-ether_aton.c (main): Converted to ...
17461 (do_test): ... this.
17462 (TEST_FUNCTION): New macro.
17463 Include test-skeleton.c.
17464 * misc/tst-mntent.c (main): Converted to ...
17465 (do_test): ... this.
17466 (TEST_FUNCTION): New macro.
17467 Include test-skeleton.c.
17468 * misc/tst-tsearch.c (main): Converted to ...
17469 (do_test): ... this.
17470 (TEST_FUNCTION): New macro.
17471 Include test-skeleton.c.
17472 * posix/tst-regexloc.c (main): Converted to ...
17473 (do_test): ... this.
17474 (TEST_FUNCTION): New macro.
17475 Include test-skeleton.c.
17476 * resolv/tst-aton.c (main): Converted to ...
17477 (do_test): ... this.
17478 (TEST_FUNCTION): New macro.
17479 Include test-skeleton.c.
17480 * stdio-common/test-fwrite.c (main): Converted to ...
17481 (do_test): ... this.
17482 (TEST_FUNCTION): New macro.
17483 Include test-skeleton.c.
17484 * stdio-common/tst-ferror.c (main): Converted to ...
17485 (do_test): ... this.
17486 (TEST_FUNCTION): New macro.
17487 Include test-skeleton.c.
17488 * stdio-common/tst-printf.c (main): Converted to ...
17489 (do_test): ... this.
17490 (TEST_FUNCTION): New macro.
17491 Include test-skeleton.c.
17492 * stdio-common/tst-printfsz.c (main): Converted to ...
17493 (do_test): ... this.
17494 (TEST_FUNCTION): New macro.
17495 Include test-skeleton.c.
17496 * stdlib/tst-strtod.c (main): Converted to ...
17497 (do_test): ... this.
17498 (TEST_FUNCTION): New macro.
17499 Include test-skeleton.c.
17500 * string/tst-strlen.c (main): Converted to ...
17501 (do_test): ... this.
17502 (TEST_FUNCTION): New macro.
17503 Include test-skeleton.c.
17504 * string/tst-svc.c (main): Converted to ...
17505 (do_test): ... this.
17506 (TEST_FUNCTION): New macro.
17507 Include test-skeleton.c.
17508 * time/tst-strptime.c (main): Converted to ...
17509 (do_test): ... this.
17510 (TEST_FUNCTION): New macro.
17511 Include test-skeleton.c.
17512 * timezone/tst-timezone.c (main): Converted to ...
17513 (do_test): ... this.
17514 (TEST_FUNCTION): New macro.
17515 Include test-skeleton.c.
17516
17517 2015-08-05 Zack Weinberg <zackw@panix.com>
17518
17519 * misc/regexp.h: Update comments.
17520
17521 2015-08-05 Andreas Schwab <schwab@linux-m68k.org>
17522
17523 [BZ #18635]
17524 * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
17525 before return label.
17526
17527 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
17528
17529 [BZ #18661]
17530 * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
17531 when calling __errno_location.
17532 * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
17533 * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
17534
17535 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
17536
17537 [BZ #18661]
17538 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
17539 (__lll_timedwait_tid): Align stack to 16 bytes when calling
17540 __gettimeofday.
17541
17542 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
17543
17544 [BZ #18661]
17545 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
17546 (__start_context): Don't use pop to restore %rdi so that stack
17547 is aligned to 16 bytes when calling __setcontext.
17548
17549 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
17550
17551 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
17552 only for libc.
17553 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
17554
17555 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
17556
17557 * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
17558 (__mempcpy): Likewise. (__mempcpy_inline): New inline function.
17559 * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
17560
17561 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
17562
17563 * string/memccpy.c (memccpy):
17564 Improve performance by using memchr/memcpy/__mempcpy.
17565
17566 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
17567
17568 * string/strncpy.c (strncpy):
17569 Improve performance by using __strnlen/memcpy.
17570
17571 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
17572
17573 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
17574 Optimize to avoid an unnecessary FPCR read.
17575
17576 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
17577
17578 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
17579 Optimize to reduce FPCR/FPSR accesses.
17580
17581 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
17582
17583 * locale/loadarchive.c (_nl_archive_subfreeres): Also check
17584 dead->data[category] != NULL.
17585
17586 2015-08-05 Joseph Myers <joseph@codesourcery.com>
17587
17588 [BZ #18647]
17589 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
17590 and |x| close to 1, use absolute value of x when computing log.
17591 * math/auto-libm-test-in: Add more tests of pow.
17592 * math/auto-libm-test-out: Regenerated.
17593
17594 2015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17595
17596 * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
17597 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
17598 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
17599
17600 2015-08-05 Marko Myllynen <myllynen@redhat.com>
17601
17602 [BZ #18525]
17603 * locales/km_KH: Remove timezone definition.
17604 * locales/lo_LA: Likewise.
17605 * locales/my_MM: Likewise.
17606 * locales/nan_TW@latin: Likewise.
17607 * locales/th_TH: Likewise.
17608 * locales/uk_UA: Likewise.
17609
17610 2015-08-05 Daniel Marjamäki <daniel.marjamaki@evidente.se>
17611
17612 [BZ #18265]
17613 * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
17614 (wcsncat): Likewise.
17615 (wcscmp): Likewise.
17616 (wcsncmp): Likewise.
17617
17618 2015-08-05 Mike Frysinger <vapier@gentoo.org>
17619
17620 * test-skeleton.c (usage): New function.
17621 (main): Call usage when opt is '?'.
17622
17623 2015-08-05 Mike Frysinger <vapier@gentoo.org>
17624
17625 * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
17626 before first use.
17627
17628 2015-08-05 Mike Frysinger <vapier@gentoo.org>
17629
17630 * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
17631 bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment
17632 in there too.
17633
17634 2015-08-05 Carlos O'Donell <carlos@systemhalted.org>
17635
17636 * version.h (RELEASE): Set to "development".
17637 (VERSION): Set to "2.22.90"
17638
17639 * version.h (RELEASE): Set to "stable".
17640 (VERSION): Set to "2.22"
17641 * include/features.h (__GLIBC_MINOR__): Set to 22.
17642
17643 2015-08-04 Chris Metcalf <cmetcalf@ezchip.com>
17644
17645 * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
17646 Restructure macro to avoid "value computed is not used" warning.
17647 (atomic_compare_and_exchange_val_acq): Likewise.
17648
17649 2015-08-04 Andreas Schwab <schwab@suse.de>
17650
17651 [BZ #18635]
17652 * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
17653 ret.
17654 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
17655
17656 2015-08-01 Carlos O'Donell <carlos@redhat.com>
17657
17658 * po/pl.po: Updated translation.
17659 * po/uk.po: Likewise.
17660 * po/fi.po: Likewise.
17661 * po/ko.po: Likewise.
17662 * po/ru.po: Likewise.
17663 * po/vi.po: Likewise.
17664
17665 2015-07-31 Zack Weinberg <zackw@panix.com>
17666
17667 [BZ #18681]
17668 * regexp.h: Add unconditional #warning stating that this header
17669 will be removed soon. Revise banner comment to match.
17670 (compile): Consistently use ERROR instead of RETURN to report
17671 errors (partial fix for bz#18681).
17672 * regexp.c: Don't include regexp.h. Remove some unnecessary
17673 declarations.
17674
17675 2015-07-31 Carlos O'Donell <carlos@redhat.com>
17676
17677 * po/libc.pot: Regenerated.
17678
17679 2015-07-30 Andrew Senkevich <andrew.senkevich@intel.com>
17680
17681 [BZ #18740]
17682 * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
17683 float-vlen4-arch-ext-cflags): Removed.
17684 * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
17685 CFLAGS-test-float-vlen4-wrappers.c): Likewise.
17686
17687 2015-07-30 Mike Frysinger <vapier@gentoo.org>
17688
17689 [BZ #14113]
17690 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
17691 aligned to __aligned__.
17692 (pthread_cond_t, pthread_rwlock_t): Likewise.
17693
17694 2015-07-30 Torvald Riegel <triegel@redhat.com>
17695
17696 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
17697
17698 2015-07-30 Mike Frysinger <vapier@gentoo.org>
17699
17700 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
17701 (struct sigaction): Change sa_flags from a long to an int, and add
17702 __glibc_reserved0 before it for padding when __WORDSIZE is 64.
17703
17704 2015-07-30 Mike Frysinger <vapier@gentoo.org>
17705
17706 * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
17707 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
17708 sysdeps/generic/sysdep.h include.
17709 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
17710 _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and
17711 sysdeps/hppa/sysdep.h.
17712 (ENTRY, PSEUDO): Undefine before defining.
17713
17714 2015-07-30 Mike Frysinger <vapier@gentoo.org>
17715
17716 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
17717 from scratch to use INTERNAL_SYSCALL.
17718
17719 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
17720
17721 [BZ #18078]
17722 * scripts/check-localplt.awk: Support alternate relocations.
17723 * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
17724 sections.
17725 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
17726 malloc entries with + REL R_386_GLOB_DAT.
17727 * sysdeps/x86_64/localplt.data: New file.
17728
17729 2015-07-29 Andrew Senkevich <andrew.senkevich@intel.com>
17730
17731 [BZ #18731]
17732 * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
17733 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17734 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17735
17736 2015-07-27 Mike Frysinger <vapier@gentoo.org>
17737
17738 * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
17739
17740 2015-07-27 Mike Frysinger <vapier@gentoo.org>
17741
17742 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
17743 directly in terms of __sync_fetch_and_add and delete (int) cast.
17744
17745 2015-07-27 Mike Frysinger <vapier@gentoo.org>
17746
17747 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
17748 the -D_ASM_IA64_CURRENT_H flag.
17749
17750 2015-07-27 Mike Frysinger <vapier@gentoo.org>
17751
17752 [BZ #18641]
17753 * pwd/pwd.h (putpwent): Delete __nonnull markings.
17754
17755 2015-07-27 Andreas Schwab <schwab@suse.de>
17756
17757 * conform/conformtest.pl (checknamespace): Filter out string
17758 literals while tokenizing.
17759
17760 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
17761
17762 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
17763 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
17764 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
17765
17766 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
17767
17768 * nptl/tst-join7mod.c: Add #include <string.h>.
17769
17770 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
17771
17772 * sysdeps/nios2/libm-test-ulps: Update.
17773
17774 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
17775
17776 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
17777 Fix order of arguments to the rt_sigprocmask syscall.
17778 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
17779 Likewise.
17780
17781 2015-07-24 Roland McGrath <roland@hack.frob.com>
17782
17783 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
17784
17785 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17786
17787 [BZ #18457]
17788 * nptl/Makefile (tests): New test case tst-join7.
17789 (modules-names): New test case module tst-join7mod.
17790 * nptl/tst-join7.c: New file.
17791 * nptl/tst-join7mod.c: New file.
17792 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
17793 all translation units in libc.so, libpthread.so and rtld.
17794
17795 2015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17796
17797 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17798
17799 2015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
17800
17801 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
17802 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
17803 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
17804 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
17805 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
17806 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
17807 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
17808 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
17809 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
17810 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
17811 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
17812 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
17813 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
17814 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
17815 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
17816 implementation.
17817
17818 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
17819
17820 [BZ #17711]
17821 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
17822 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
17823 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
17824 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
17825 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
17826 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
17827
17828 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17829
17830 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
17831 instead of just saying load lock in the comments.
17832
17833 2015-07-23 Roland McGrath <roland@hack.frob.com>
17834
17835 * sysdeps/unix/Subdirs: Moved ...
17836 * sysdeps/posix/Subdirs: ... here.
17837 * login/pty.h (struct termios, struct winsize): Add forward decls.
17838 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
17839 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
17840 * sysdeps/arm/nacl/libc.abilist: Updated.
17841 * sysdeps/nacl/libutil.abilist: New file.
17842
17843 * bits/signum.h: Update comments to mention 1003.1-2013 too.
17844 (SIGWINCH): New macro.
17845
17846 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
17847 * sysdeps/arm/nacl/libc.abilist: Add it.
17848
17849 2015-07-23 Mike Frysinger <vapier@gentoo.org>
17850
17851 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
17852
17853 2015-07-23 Mike Frysinger <vapier@gentoo.org>
17854
17855 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
17856 Swap __glibc_reserved0 and sa_flags order.
17857
17858 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
17859
17860 [BZ #18657]
17861 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
17862 are pending TLS destructor calls.
17863 * include/link.h (struct link_map): Add concurrency note for
17864 L_TLS_DTOR_COUNT.
17865 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
17866 Don't touch the link map flag. Atomically increment
17867 l_tls_dtor_count.
17868 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
17869 Avoid taking the load lock and don't touch the link map flag.
17870 * stdlib/tst-tls-atexit-nodelete.c: New test case.
17871 * stdlib/Makefile (tests): Use it.
17872 * stdlib/tst-tls-atexit.c (do_test): dlopen
17873 tst-tls-atexit-lib.so again before dlclose. Add conditionals
17874 to allow tst-tls-atexit-nodelete test case to use it.
17875
17876 2015-07-22 Mike Frysinger <vapier@gentoo.org>
17877
17878 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
17879 to bits/types.h.
17880 (msgqnum_t): New typedef.
17881 (msglen_t): Likewise.
17882 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
17883 and msg_qbytes type to msglen_t.
17884
17885 2015-07-22 Mike Frysinger <vapier@gentoo.org>
17886
17887 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
17888 pad0 to __glibc_reserved0.
17889 (struct stat64): Likewise.
17890
17891 2015-07-22 Mike Frysinger <vapier@gentoo.org>
17892
17893 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
17894 Change sa_flags from a long to an int and add __glibc_reserved0 before
17895 it for padding.
17896
17897 2015-07-22 Mike Frysinger <vapier@gentoo.org>
17898
17899 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
17900 anonymous by deleting "siginfo" name.
17901
17902 2015-07-21 Roland McGrath <roland@hack.frob.com>
17903
17904 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
17905 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
17906 rather than __nacl_irt_filename.
17907 * sysdeps/nacl/xstat.c (__xstat): Likewise.
17908
17909 * NEWS: New item for arm-nacl port.
17910 * sysdeps/arm/nacl/libc.abilist: New file.
17911 * sysdeps/nacl/ld.abilist: New file.
17912 * sysdeps/nacl/libBrokenLocale.abilist: New file.
17913 * sysdeps/nacl/libanl.abilist: New file.
17914 * sysdeps/nacl/libcrypt.abilist: New file.
17915 * sysdeps/nacl/libdl.abilist: New file.
17916 * sysdeps/nacl/libm.abilist: New file.
17917 * sysdeps/nacl/libpthread.abilist: New file.
17918 * sysdeps/nacl/libresolv.abilist: New file.
17919 * sysdeps/nacl/librt.abilist: New file.
17920
17921 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
17922
17923 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
17924 __startcontext to initialize the new context.
17925 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
17926 up CFI directive to forbid further backtracing.
17927
17928 2015-07-21 Marko Myllynen <myllynen@redhat.com>
17929
17930 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
17931 reference.
17932 * charmaps/ANSI_X3.4-1968: Likewise.
17933 * charmaps/BS_4730: Likewise.
17934 * charmaps/BS_VIEWDATA: Likewise.
17935 * charmaps/CP1250: Likewise.
17936 * charmaps/CP1251: Likewise.
17937 * charmaps/CP1252: Likewise.
17938 * charmaps/CP1253: Likewise.
17939 * charmaps/CP1254: Likewise.
17940 * charmaps/CP1255: Likewise.
17941 * charmaps/CP1256: Likewise.
17942 * charmaps/CSN_369103: Likewise.
17943 * charmaps/EBCDIC-DK-NO: Likewise.
17944 * charmaps/GB_1988-80: Likewise.
17945 * charmaps/GREEK-CCITT: Likewise.
17946 * charmaps/GREEK7: Likewise.
17947 * charmaps/INIS-8: Likewise.
17948 * charmaps/ISIRI-3342: Likewise.
17949 * charmaps/ISO_2033-1983: Likewise.
17950 * charmaps/ISO_5427-EXT: Likewise.
17951 * locales/POSIX: Likewise.
17952 * locales/ar_SA: Likewise.
17953 * locales/be_BY: Likewise.
17954 * locales/be_BY@latin: Likewise.
17955 * locales/ca_ES: Likewise.
17956 * locales/cs_CZ: Likewise.
17957 * locales/da_DK: Likewise.
17958 * locales/de_BE: Likewise.
17959 * locales/de_CH: Likewise.
17960 * locales/de_LU: Likewise.
17961 * locales/en_AU: Likewise.
17962 * locales/en_BW: Likewise.
17963 * locales/en_CA: Likewise.
17964 * locales/en_DK: Likewise.
17965 * locales/en_GB: Likewise.
17966 * locales/en_IE: Likewise.
17967 * locales/en_NZ: Likewise.
17968 * locales/en_ZA: Likewise.
17969 * locales/en_ZW: Likewise.
17970 * locales/es_AR: Likewise.
17971 * locales/es_BO: Likewise.
17972 * locales/es_CL: Likewise.
17973 * locales/es_CO: Likewise.
17974 * locales/es_DO: Likewise.
17975 * locales/es_EC: Likewise.
17976 * locales/es_ES: Likewise.
17977 * locales/es_HN: Likewise.
17978 * locales/es_MX: Likewise.
17979 * locales/es_PA: Likewise.
17980 * locales/es_PE: Likewise.
17981 * locales/es_PY: Likewise.
17982 * locales/es_SV: Likewise.
17983 * locales/es_US: Likewise.
17984 * locales/es_UY: Likewise.
17985 * locales/es_VE: Likewise.
17986 * locales/et_EE: Likewise.
17987 * locales/fa_IR: Likewise.
17988 * locales/fo_FO: Likewise.
17989 * locales/fr_CA: Likewise.
17990 * locales/fr_CH: Likewise.
17991 * locales/gv_GB: Likewise.
17992 * locales/he_IL: Likewise.
17993 * locales/hr_HR: Likewise.
17994 * locales/id_ID: Likewise.
17995 * locales/is_IS: Likewise.
17996 * locales/it_CH: Likewise.
17997 * locales/iw_IL: Likewise.
17998 * locales/kl_GL: Likewise.
17999 * locales/ko_KR: Likewise.
18000 * locales/kw_GB: Likewise.
18001 * locales/lg_UG: Likewise.
18002 * locales/lt_LT: Likewise.
18003 * locales/lv_LV: Likewise.
18004 * locales/mi_NZ: Likewise.
18005 * locales/nhn_MX: Likewise.
18006 * locales/nl_BE: Likewise.
18007 * locales/pl_PL: Likewise.
18008 * locales/sk_SK: Likewise.
18009 * locales/sl_SI: Likewise.
18010 * locales/sv_FI: Likewise.
18011 * locales/tl_PH: Likewise.
18012 * locales/tr_TR: Likewise.
18013 * locales/vi_VN: Likewise.
18014
18015 2015-07-21 Khem Raj <raj.khem@gmail.com>
18016
18017 [BZ #17475]
18018 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
18019 of tu_IN and bh_IN.
18020
18021 2015-07-21 Mike Frysinger <vapier@gentoo.org>
18022
18023 [BZ #18694]
18024 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
18025 bits/wordsize.h.
18026 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
18027
18028 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18029
18030 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
18031 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
18032 (spawn_thread): New function.
18033 (load): Rename to reg_dtor_and_close. Move dlopen to...
18034 (do_test): ... here. Use IS_LOADED to test for its
18035 availability.
18036
18037 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
18038
18039 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
18040
18041 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
18042
18043 [BZ #18696]
18044 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
18045 si_addr_bnd.
18046 (si_lower): New.
18047 (si_upper): Likewise.
18048
18049 2015-07-16 David S. Miller <davem@davemloft.net>
18050
18051 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
18052
18053 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18054
18055 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
18056 buffer.
18057 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
18058 fail output information.
18059
18060 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18061
18062 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
18063 and strstr-ppc64..
18064 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
18065 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
18066 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
18067 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
18068 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
18069
18070 2015-07-16 Mike Frysinger <vapier@gentoo.org>
18071
18072 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
18073 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
18074 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
18075 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
18076
18077 2015-07-16 Mike Frysinger <vapier@gentoo.org>
18078
18079 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
18080 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
18081 rtld_hidden_proto.
18082 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
18083
18084 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18085
18086 * tst-nodelete-opened.c (do_test): Add comment to clarify how
18087 the test can fail.
18088
18089 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
18090
18091 [BZ #18676]
18092 * elf/tst-nodelete-opened.c: New test case.
18093 * elf/tst-nodelete-opened-lib.c: New test case module.
18094 * elf/Makefile (tests, modules-names): Use them.
18095 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
18096 early.
18097
18098 2015-07-15 David S. Miller <davem@davemloft.net>
18099
18100 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
18101 futex-intenal.h
18102 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
18103 * sysdeps/sparc/sparc64/Makefile: Likewise.
18104 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
18105 Remove space from macro define.
18106 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
18107
18108 2015-07-15 Pravin Satpute <psatpute@redhat.com>
18109
18110 [BZ #17475]
18111 * locale/iso-639.def: Update Bhili and Tulu language codes as
18112 per iso639-3.
18113
18114 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
18115
18116 * elf/tst-leaks1.c (main): Converted to ...
18117 (do_test): ... this.
18118 (TEST_FUNCTION): New macro.
18119 Include test-skeleton.c.
18120 * localedata/tst-langinfo.c (main): Converted to ...
18121 (do_test): ... this.
18122 (TEST_FUNCTION): New macro.
18123 Include test-skeleton.c.
18124 * math/test-fpucw.c (main): Converted to ...
18125 (do_test): ... this.
18126 (TEST_FUNCTION): New macro.
18127 Include test-skeleton.c.
18128 * math/test-tgmath.c (main): Converted to ...
18129 (do_test): ... this.
18130 (TEST_FUNCTION): New macro.
18131 Include test-skeleton.c.
18132 * math/test-tgmath2.c (main): Converted to ...
18133 (do_test): ... this.
18134 (TEST_FUNCTION): New macro.
18135 Include test-skeleton.c.
18136 * setjmp/tst-setjmp.c (main): Converted to ...
18137 (do_test): ... this.
18138 (TEST_FUNCTION): New macro.
18139 Include test-skeleton.c.
18140 * stdio-common/tst-sscanf.c (main): Converted to ...
18141 (do_test): ... this.
18142 (TEST_FUNCTION): New macro.
18143 Include test-skeleton.c.
18144 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
18145 (do_test): ... this.
18146 (TEST_FUNCTION): New macro.
18147 Include test-skeleton.c.
18148
18149 * elf/tst-audit9.c (main): Converted to ...
18150 (do_test): ... this.
18151 (TEST_FUNCTION): New macro.
18152 Include test-skeleton.c.
18153
18154 2015-07-15 Mike Frysinger <vapier@gentoo.org>
18155
18156 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
18157
18158 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
18159
18160 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
18161 New variable.
18162
18163 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
18164
18165 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18166
18167 2015-07-14 Roland McGrath <roland@hack.frob.com>
18168
18169 * sysdeps/generic/dl-fileid.h: New file.
18170 * sysdeps/posix/dl-fileid.h: New file.
18171 * sysdeps/nacl/dl-fileid.h: New file.
18172 * include/link.h: Include <dl-fileid.h>.
18173 (struct link_map): Replace l_dev and l_ino with l_file_id.
18174 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
18175 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
18176 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
18177
18178 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18179
18180 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
18181
18182 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18183
18184 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
18185 Add iff $CXX is set.
18186 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
18187 Likewise.
18188 (tst-nodelete-zmodiff): Likewise.
18189 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
18190
18191 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18192
18193 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
18194
18195 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
18196
18197 * sysdeps/aarch64/fpu/math_private.h
18198 (define math_opt_barrier): Add AArch64 version.
18199 (math_force_eval): Likewise.
18200
18201 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
18202
18203 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
18204
18205 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
18206
18207 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
18208 %ld with %jd and cast to intmax_t.
18209 (do_test_length_zero): Likewise.
18210
18211 2015-07-10 Roland McGrath <roland@hack.frob.com>
18212
18213 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
18214
18215 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
18216
18217 * sysdeps/tile/libm-test-ulps: Regenerated.
18218
18219 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
18220 Comment out the whole function, not just its body.
18221
18222 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18223
18224 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
18225 locks.
18226
18227 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
18228
18229 2015-07-10 Torvald Riegel <triegel@redhat.com>
18230
18231 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
18232 (sem_assume_only_signals_cause_futex_EINTR): Remove.
18233
18234 2015-07-10 Torvald Riegel <triegel@redhat.com>
18235
18236 * sysdeps/nptl/futex-internal.h: New file.
18237 * sysdeps/nacl/futex-internal.h: New file.
18238 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
18239 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
18240 error checking.
18241 (setxid_unmark_thread): Likewise.
18242 (__nptl_setxid): Likewise.
18243 (__wait_lookup_done): Likewise.
18244 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
18245 * nptl/nptl-init.c (sighandler_setxid): Likewise.
18246 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
18247 * nptl/pthread_once.c (clear_once_control): Likewise.
18248 (__pthread_once_slow): Likewise.
18249 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
18250 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
18251 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
18252 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
18253 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
18254 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
18255 Likewise.
18256 (__pthread_rwlock_rdlock): Likewise.
18257 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
18258 Likewise.
18259 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
18260 Likewise.
18261 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
18262 Likewise.
18263 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
18264 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
18265 Likewise.
18266 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
18267 __ASSUME_PRIVATE_FUTEX check.
18268 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
18269 Check that shared futexes are supported.
18270 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
18271 wrappers with error checking.
18272 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
18273 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
18274 * nptl/pthread_barrierattr_setpshared.c
18275 (pthread_barrierattr_setpshared): Check that shared futexes are
18276 supported.
18277 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
18278 Likewise.
18279 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
18280 Likewise.
18281 * nptl/sem_init.c (futex_private_if_supported): Remove.
18282 (__new_sem_init): Adapt and check that shared futexes are supported.
18283 * nptl/sem_open.c (sem_open): Likewise.
18284 * nptl/sem_post.c (futex_wake): Remove.
18285 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
18286 (do_futex_wait): Use futex wrappers with error checking.
18287 * nptl/sem_wait.c: Include lowlevellock.h.
18288 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
18289 Use futex_supports_pshared.
18290 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
18291 Use futex wrappers with error checking.
18292 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
18293 Likewise.
18294 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
18295 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
18296 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
18297 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
18298 (futex_wake): Likewise.
18299 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
18300 (do_futex_wait): Use futex wrappers with error checking.
18301 (__new_sem_wait_slow): Update EINTR handling.
18302 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
18303
18304 2015-07-09 Martin Sebor <msebor@redhat.com>
18305
18306 [BZ #18435]
18307 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
18308 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
18309 * nptl/Makefile (test-xfail-tst-once5): Define.
18310
18311 2015-07-09 Roland McGrath <roland@hack.frob.com>
18312
18313 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
18314 * elf/dl-minimal.c: For readability, reorder some definitions and
18315 introduce more page breaks. Include <stdio.h>.
18316 (__libc_fatal): New function.
18317
18318 * include/unistd.h: Add rtld_hidden_proto for _exit.
18319 * posix/_exit.c: Add rtld_hidden_def.
18320 * sysdeps/mach/hurd/_exit.c: Likewise.
18321 * sysdeps/nacl/_exit.c: Likewise.
18322 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
18323 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
18324
18325 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
18326
18327 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
18328 bndmov encoding with zero displacement.
18329
18330 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
18331 H.J. Lu <hongjiu.lu@intel.com>
18332
18333 [BZ #18134]
18334 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
18335 * sysdeps/i386/configure: Regenerated.
18336 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
18337 (_dl_runtime_profile): Save and restore Intel MPX return bound
18338 registers when calling _dl_call_pltexit. Add
18339 PRESERVE_BND_REGS_PREFIX before return.
18340 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
18341 (LRV_BND1_OFFSET): Likewise.
18342 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
18343 lrv_bnd1.
18344 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
18345 typo in bndmov encoding.
18346 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
18347 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
18348 branch instructions to preserve bounds.
18349
18350 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18351
18352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
18353 [GLIBC_2.22]: Add fmemopen.
18354
18355 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
18356
18357 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
18358 returns an error, also try to use host port from __mach_host_self for
18359 the __vm_wire call.
18360 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
18361
18362 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
18363
18364 [BZ #18400]
18365 [BZ #18648]
18366 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
18367 Fix pr_uid and pr_gid members.
18368 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
18369 definition to elf_greg_t.
18370
18371 2015-07-08 Roland McGrath <roland@hack.frob.com>
18372
18373 [BZ #18383]
18374 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
18375 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
18376 * sysdeps/arm/configure: Regenerated.
18377 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
18378 (test-xfail-tst-tlsalign-static): Variable removed.
18379
18380 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
18381 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
18382 rather than explicit 'ln -s'.
18383
18384 * resolv/rpc/netdb.h: New file.
18385 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
18386
18387 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18388
18389 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
18390 length buffers.
18391 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
18392 test-skeleton.c.
18393
18394 [BZ #6544]
18395 [BZ #11216]
18396 [BZ #12836]
18397 [BZ #13151]
18398 [BZ #13152]
18399 [BZ #14292]
18400 * include/stdio.h (fmemopen): Remove hidden prototype.
18401 (__fmemopen): Add new hidden prototype.
18402 * libio/Makefile: Add oldfmemopen object.
18403 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
18404 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
18405 compliance.
18406 * libio/oldfmemopen.c: New file: old fmemopen implementation for
18407 symbol compatibility.
18408 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
18409 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
18410 fmemopen.
18411 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
18412 on append and read mode.
18413 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
18414 fmemopen.
18415 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
18416 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
18417 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
18418 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
18419 Likewise.
18420 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
18421 [GLIBC_2.22]: Likewise.
18422 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
18423 Likewise.
18424 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
18425 Likewise.
18426 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
18427 [GLIBC_2.22]: Likewise.
18428 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
18429 [GLIBC_2.22]: Likewise.
18430 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
18431 [GLIBC_2.22]: Likewise.
18432 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
18433 [GLIBC_2.22]: Likewise.
18434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
18435 [GLIBC_2.22]: Likewise.
18436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
18437 [GLIBC_2.22]: Likewise.
18438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
18439 [GLIBC_2.22]: Likewise.
18440 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
18441 Likewise.
18442 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
18443 Likewise.
18444 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
18445 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
18446 [GLIBC_2.22]: Likewise.
18447 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
18448 [GLIBC_2.22]: Likewise.
18449 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
18450 [GLIBC_2.22]: Likewise.
18451 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
18452 [GLIBC_2.22]: Likewise.
18453 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
18454 Likewise.
18455 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
18456 Likewise.
18457 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
18458 Likewise.
18459 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
18460 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
18461
18462 2015-07-08 Carlos O'Donell <carlos@redhat.com>
18463
18464 [BZ #18643]
18465 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
18466 IPV6_PATHMTU, and IPV6_DONTFRAG.
18467
18468 2015-07-08 Feng Gao <gfree.wind@gmail.com>
18469
18470 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
18471 and _IO_UNBUFFERED.
18472 * libio/oldfileops.c: Likewise.
18473 * libio/wfileops.c: Likewise.
18474
18475 2015-07-08 Mike Frysinger <vapier@gentoo.org>
18476
18477 * nscd/selinux.c: Delete selinux/flask.h include.
18478
18479 2015-07-08 Mike Frysinger <vapier@gentoo.org>
18480
18481 [BZ #18641]
18482 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
18483 (putpwent): Likewise.
18484 (getpwnam): Likewise.
18485 (getpwent_r): Likewise.
18486 (getpwuid_r): Likewise.
18487 (getpwnam_r): Likewise.
18488 (fgetpwent_r): Likewise.
18489
18490 2015-07-08 Carlos O'Donell <carlos@redhat.com>
18491
18492 [BZ #18557]
18493 * inet/rcmd.c (__validuser2_sa): Check user first to
18494 short-circuit host check.
18495
18496 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
18497 Mikhail Ilin <m.ilin@samsung.com>
18498
18499 [BZ #17833]
18500 * elf/Makefile (tests): Add tst-nodelete.
18501 (modules-names): Add tst-nodelete-uniquemod.
18502 (tst-nodelete-uniquemod.so-no-z-defs): New.
18503 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
18504 (tst-nodelete-zmod.so-no-z-defs): Likewise.
18505 ($(objpfx)tst-nodelete): Likewise.
18506 ($(objpfx)tst-nodelete.out): Likewise.
18507 (LDFLAGS-tst-nodelete): Likewise.
18508 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
18509 * elf/dl-close.c (_dl_close_worker): Add a parameter to
18510 implement forced object deletion.
18511 (_dl_close): Pass false to _dl_close_worker.
18512 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
18513 * elf/tst-nodelete.cc: New file.
18514 * elf/tst-nodeletelib.cc: Likewise.
18515 * elf/tst-znodeletelib.cc: Likewise.
18516 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
18517
18518 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
18519
18520 [BZ #18508]
18521 * stdlib/Makefile ($(objpfx)tst-makecontext3):
18522 Depend on $(libdl).
18523 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
18524 is not called infinitely times.
18525 (backtrace_helper): New function.
18526 (trace_arg): New struct.
18527 (st1): Enlarge stack size.
18528 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
18529 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
18530 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
18531 Likewise.
18532
18533 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
18534
18535 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18536
18537 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
18538
18539 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
18540 Include sys/types.h instead of bits/types.h.
18541 Remove inclusion of bits/wordsize.h.
18542
18543 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
18544
18545 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
18546 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
18547 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
18548 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
18549 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
18550 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
18551
18552 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
18553
18554 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
18555 link-defines.sym.
18556 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
18557 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
18558 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
18559 and LR_SIZE.
18560 * sysdeps/i386/link-defines.sym: New file.
18561
18562 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
18563
18564 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
18565 (modules-names): Add tst-auditmod3a tst-auditmod3b.
18566 ($(objpfx)tst-audit3): New rule.
18567 ($(objpfx)tst-audit3.out): Likewise.
18568 * sysdeps/i386/tst-audit3.c: New file.
18569 * sysdeps/i386/tst-audit3.h: Likewise.
18570 * sysdeps/i386/tst-auditmod3a.c: Likewise.
18571 * sysdeps/i386/tst-auditmod3b.c: Likewise.
18572
18573 2015-07-07 Torvald Riegel <triegel@redhat.com>
18574
18575 [BZ #18633]
18576 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
18577 pointer in C code.
18578 (__strcat_c): Likewise.
18579 (__strcat_g): Likewise.
18580
18581 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
18582
18583 [BZ #18592]
18584 * misc/sbrk.c: Set errno to ENOMEM on overflow.
18585
18586 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
18587
18588 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
18589 New function. (__ieee754_sqrtf): New function.
18590 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
18591 New function.
18592 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
18593 New function.
18594
18595 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
18596
18597 * sysdeps/ieee754/support.c: Remove unused file.
18598
18599 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
18600
18601 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
18602 registers instead of d ones so the layout is kernel abi compatible.
18603 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
18604 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
18605 Likewise.
18606
18607 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
18608
18609 * sysdeps/aarch64/libm-test-ulps: Regenerated.
18610
18611 2015-07-01 Joseph Myers <joseph@codesourcery.com>
18612
18613 [BZ #18619]
18614 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
18615 and return argument in case of subnormal argument.
18616
18617 2015-07-01 Martin Sebor <msebor@redhat.com>
18618
18619 [BZ #18435]
18620 * nptl/Makefile: Add tst-once5.cc.
18621 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
18622 Remove macro redefinitions.
18623 * nptl/tst-once5.cc: New test.
18624
18625 2015-07-01 Joseph Myers <joseph@codesourcery.com>
18626
18627 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18628
18629 * sysdeps/arm/libm-test-ulps: Regenerated.
18630
18631 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
18632 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18633
18634 2015-06-30 Torvald Riegel <triegel@redhat.com>
18635
18636 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
18637 lll_lock_wait_private and lll_futex_wake probes.
18638
18639 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
18640 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
18641 Likewise.
18642 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
18643 atomic_spin_nop.
18644 * sysdeps/x86_64/bits/atomic.h: Likewise.
18645 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
18646 to atomic_spin_nop and move ...
18647 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
18648 ... here and ...
18649 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
18650 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
18651 atomic_spin_nop instead of BUSY_WAIT_NOP.
18652 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
18653 Likewise.
18654 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
18655 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
18656 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
18657 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
18658 instead of atomic_delay.
18659
18660 2015-06-29 Joseph Myers <joseph@codesourcery.com>
18661
18662 [BZ #18613]
18663 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
18664 X_ADJ not X when adjusting exponent.
18665 (__ieee754_gamma_r): Do intermediate computations in
18666 round-to-nearest then adjust overflowing and underflowing results
18667 as needed.
18668 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
18669 of X_ADJ not X when adjusting exponent.
18670 (__ieee754_gammaf_r): Do intermediate computations in
18671 round-to-nearest then adjust overflowing and underflowing results
18672 as needed.
18673 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
18674 log of X_ADJ not X when adjusting exponent.
18675 (__ieee754_gammal_r): Do intermediate computations in
18676 round-to-nearest then adjust overflowing and underflowing results
18677 as needed. Use 1.0L not 1.0f as numerator of division.
18678 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
18679 log of X_ADJ not X when adjusting exponent.
18680 (__ieee754_gammal_r): Do intermediate computations in
18681 round-to-nearest then adjust overflowing and underflowing results
18682 as needed. Use 1.0L not 1.0f as numerator of division.
18683 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
18684 of X_ADJ not X when adjusting exponent.
18685 (__ieee754_gammal_r): Do intermediate computations in
18686 round-to-nearest then adjust overflowing and underflowing results
18687 as needed. Use 1.0L not 1.0f as numerator of division.
18688 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
18689 to auto-libm-test-in.
18690 (tgamma_test): Use ALL_RM_TEST.
18691 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
18692 tests of tgamma with spurious-overflow.
18693 * math/auto-libm-test-out: Regenerated.
18694 * math/gen-libm-have-vector-test.sh: Do not check for START.
18695 * sysdeps/i386/fpu/libm-test-ulps: Update.
18696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18697
18698 [BZ #18612]
18699 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
18700 arguments, just return 0.5 times the argument, with underflow
18701 forced as needed.
18702 * math/auto-libm-test-in: Add more tests of j1.
18703 * math/auto-libm-test-out: Regenerated.
18704
18705 [BZ #16559]
18706 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
18707 (__ieee754_j1): Force underflow exception for small results.
18708 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
18709 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
18710 (__ieee754_j1f): Force underflow exception for small results.
18711 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
18712 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
18713 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18714 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
18715 (__ieee754_j1l): Force underflow exception for small results.
18716 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
18717 * math/auto-libm-test-in: Add more tests of j1 and jn.
18718 * math/auto-libm-test-out: Regenerated.
18719
18720 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
18721 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
18722 (PF_MPLS): Likewise.
18723 (AF_IB): Likewise.
18724 (AF_MPLS): Likewise.
18725 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
18726 value and macro.
18727 (MS_RMT_MASK): Include MS_LAZYTIME.
18728
18729 2015-06-26 Mel Gorman <mgorman@suse.de>
18730
18731 [BZ #18502]
18732 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
18733 already minimal.
18734
18735 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
18736
18737 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
18738 (DT_MIPS_NUM): Update.
18739 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
18740 DT_MIPS_RLD_MAP_REL.
18741
18742 2015-06-25 Joseph Myers <joseph@codesourcery.com>
18743
18744 [BZ #16559]
18745 [BZ #18602]
18746 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
18747 round-to-nearest internally then recompute results that
18748 underflowed to zero in the original rounding mode.
18749 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
18750 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
18751 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18752 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
18753 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
18754 * sysdeps/i386/fpu/libm-test-ulps: Update.
18755 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18756
18757 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
18758
18759 * NEWS: Fixed description of link with vector math library.
18760
18761 2015-06-25 Andreas Schwab <schwab@suse.de>
18762
18763 [BZ #18549]
18764 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
18765 * libio/test-fmemopen.c (do_test): Add test for it.
18766
18767 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
18768
18769 [BZ #17841]
18770 * Makeconfig (no-pie-ldflag): New.
18771 (+link): Set to $(+link-pie) if default to PIE.
18772 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
18773 * config.make.in (build-pie-default): New.
18774 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
18775 is default. AC_SUBST.
18776 * configure: Regenerated.
18777 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
18778
18779 2015-06-24 Roland McGrath <roland@hack.frob.com>
18780
18781 * nptl/descr.h (struct pthread): Change type of field setxid_futex
18782 to 'unsigned int'.
18783
18784 * resolv/gai_misc.h (struct waitlist): Change type of field
18785 counterp to 'volatile unsigned int *'.
18786 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
18787 FUTEXADDR and OLDVAL.
18788 * resolv/getaddrinfo_a.c (getaddrinfo_a):
18789 Give local variable TOTAL type 'volatile unsigned int'.
18790 (struct async_waitlist): Change type of field counter to 'unsigned int'.
18791 * resolv/gai_suspend.c (gai_suspend):
18792 Give local variable CNTR type 'unsigned int'.
18793
18794 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
18795 counterp to 'volatile unsigned int *'.
18796 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
18797 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
18798 (aio_suspend): Give local variable CNTR type 'unsigned int'.
18799 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
18800 Give local variable TOTAL type 'volatile unsigned int'.
18801 (struct async_waitlist): Change type of field counter to 'unsigned int'.
18802
18803 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
18804
18805 [BZ #18383]
18806 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
18807 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
18808 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
18809 comment for i386/x86-64.
18810 (test-xfail-tst-tlsalign-extern-static): Removed.
18811
18812 2015-06-24 Joseph Myers <joseph@codesourcery.com>
18813
18814 * math/test-double.h: New file.
18815 * math/test-float.h: Likewise.
18816 * math/test-ldouble.h: Likewise.
18817 * math/test-math-inline.h: Likewise.
18818 * math/test-math-no-inline.h: Likewise.
18819 * math/test-math-scalar.h: Likewise.
18820 * math/test-math-vector.h: Likewise.
18821 * math/test-vec-loop.h: Remove file. Contents moved into
18822 test-math-vector.h.
18823 * math/libm-test.inc (MATHCONST): Do not document macro.
18824 * math/test-double.c: Include test-double.h, test-math-no-inline.h
18825 and test-math-scalar.h.
18826 (FUNC): Remove macro.
18827 (FUNC_TEST): Likewise.
18828 (FLOAT): Likewise.
18829 (MATHCONST): Likewise.
18830 (PRINTF_EXPR): Likewise.
18831 (PRINTF_XEXPR): Likewise.
18832 (PRINTF_NEXPR): Likewise.
18833 (TEST_DOUBLE): Likewise.
18834 (TEST_MATHVEC): Likewise.
18835 (__NO_MATH_INLINES): Likewise.
18836 * math/test-float.c: Include test-float.h, test-math-no-inline.h
18837 and test-math-scalar.h.
18838 (FUNC): Remove macro.
18839 (FUNC_TEST): Likewise.
18840 (FLOAT): Likewise.
18841 (MATHCONST): Likewise.
18842 (PRINTF_EXPR): Likewise.
18843 (PRINTF_XEXPR): Likewise.
18844 (PRINTF_NEXPR): Likewise.
18845 (TEST_FLOAT): Likewise.
18846 (TEST_MATHVEC): Likewise.
18847 (__NO_MATH_INLINES): Likewise.
18848 * math/test-idouble.c: Include test-double.h, test-math-inline.h
18849 and test-math-scalar.h.
18850 (FUNC): Remove macro.
18851 (FUNC_TEST): Likewise.
18852 (FLOAT): Likewise.
18853 (MATHCONST): Likewise.
18854 (PRINTF_EXPR): Likewise.
18855 (PRINTF_XEXPR): Likewise.
18856 (PRINTF_NEXPR): Likewise.
18857 (TEST_DOUBLE): Likewise.
18858 (TEST_MATHVEC): Likewise.
18859 (TEST_INLINE): Likewise.
18860 (__NO_MATH_INLINES): Likewise.
18861 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
18862 test-math-scalar.h.
18863 (FUNC): Remove macro.
18864 (FUNC_TEST): Likewise.
18865 (FLOAT): Likewise.
18866 (MATHCONST): Likewise.
18867 (PRINTF_EXPR): Likewise.
18868 (PRINTF_XEXPR): Likewise.
18869 (PRINTF_NEXPR): Likewise.
18870 (TEST_FLOAT): Likewise.
18871 (TEST_MATHVEC): Likewise.
18872 (TEST_INLINE): Likewise.
18873 (__NO_MATH_INLINES): Likewise.
18874 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
18875 and test-math-scalar.h.
18876 (FUNC): Remove macro.
18877 (FUNC_TEST): Likewise.
18878 (FLOAT): Likewise.
18879 (MATHCONST): Likewise.
18880 (PRINTF_EXPR): Likewise.
18881 (PRINTF_XEXPR): Likewise.
18882 (PRINTF_NEXPR): Likewise.
18883 (TEST_LDOUBLE): Likewise.
18884 (TEST_MATHVEC): Likewise.
18885 (TEST_INLINE): Likewise.
18886 (__NO_MATH_INLINES): Likewise.
18887 * math/test-ldouble.c: Include test-ldouble.h,
18888 test-math-no-inline.h and test-math-scalar.h.
18889 (FUNC): Remove macro.
18890 (FUNC_TEST): Likewise.
18891 (FLOAT): Likewise.
18892 (MATHCONST): Likewise.
18893 (PRINTF_EXPR): Likewise.
18894 (PRINTF_XEXPR): Likewise.
18895 (PRINTF_NEXPR): Likewise.
18896 (TEST_LDOUBLE): Likewise.
18897 (TEST_MATHVEC): Likewise.
18898 (__NO_MATH_INLINES): Likewise.
18899 * math/test-double-vlen2.h: Include test-double.h,
18900 test-math-no-inline.h and test-math-vector.h.
18901 (FLOAT): Remove macro.
18902 (FUNC): Likewise.
18903 (MATHCONST): Likewise.
18904 (PRINTF_EXPR): Likewise.
18905 (PRINTF_XEXPR): Likewise.
18906 (PRINTF_NEXPR): Likewise.
18907 (TEST_DOUBLE): Likewise.
18908 (TEST_MATHVEC): Likewise.
18909 (__NO_MATH_INLINES): Likewise.
18910 (CNCT): Likewise.
18911 (CONCAT): Likewise.
18912 (WRAPPER_NAME): Likewise.
18913 (WRAPPER_DECL): Likewise.
18914 (WRAPPER_DECL_ff): Likewise.
18915 (WRAPPER_DECL_fFF): Likewise.
18916 (VECTOR_WRAPPER): Likewise.
18917 (VECTOR_WRAPPER_ff): Likewise.
18918 (VECTOR_WRAPPER_fFF): Likewise.
18919 (VEC_LEN): New macro.
18920 * math/test-double-vlen4.h: Include test-double.h,
18921 test-math-no-inline.h and test-math-vector.h.
18922 (FLOAT): Remove macro.
18923 (FUNC): Likewise.
18924 (MATHCONST): Likewise.
18925 (PRINTF_EXPR): Likewise.
18926 (PRINTF_XEXPR): Likewise.
18927 (PRINTF_NEXPR): Likewise.
18928 (TEST_DOUBLE): Likewise.
18929 (TEST_MATHVEC): Likewise.
18930 (__NO_MATH_INLINES): Likewise.
18931 (CNCT): Likewise.
18932 (CONCAT): Likewise.
18933 (WRAPPER_NAME): Likewise.
18934 (WRAPPER_DECL): Likewise.
18935 (WRAPPER_DECL_ff): Likewise.
18936 (WRAPPER_DECL_fFF): Likewise.
18937 (VECTOR_WRAPPER): Likewise.
18938 (VECTOR_WRAPPER_ff): Likewise.
18939 (VECTOR_WRAPPER_fFF): Likewise.
18940 (VEC_LEN): New macro.
18941 * math/test-double-vlen8.h: Include test-double.h,
18942 test-math-no-inline.h and test-math-vector.h.
18943 (FLOAT): Remove macro.
18944 (FUNC): Likewise.
18945 (MATHCONST): Likewise.
18946 (PRINTF_EXPR): Likewise.
18947 (PRINTF_XEXPR): Likewise.
18948 (PRINTF_NEXPR): Likewise.
18949 (TEST_DOUBLE): Likewise.
18950 (TEST_MATHVEC): Likewise.
18951 (__NO_MATH_INLINES): Likewise.
18952 (CNCT): Likewise.
18953 (CONCAT): Likewise.
18954 (WRAPPER_NAME): Likewise.
18955 (WRAPPER_DECL): Likewise.
18956 (WRAPPER_DECL_ff): Likewise.
18957 (WRAPPER_DECL_fFF): Likewise.
18958 (VECTOR_WRAPPER): Likewise.
18959 (VECTOR_WRAPPER_ff): Likewise.
18960 (VECTOR_WRAPPER_fFF): Likewise.
18961 (VEC_LEN): New macro.
18962 * math/test-float-vlen4.h: Include test-float.h,
18963 test-math-no-inline.h and test-math-vector.h.
18964 (FLOAT): Remove macro.
18965 (FUNC): Likewise.
18966 (MATHCONST): Likewise.
18967 (PRINTF_EXPR): Likewise.
18968 (PRINTF_XEXPR): Likewise.
18969 (PRINTF_NEXPR): Likewise.
18970 (TEST_FLOAT): Likewise.
18971 (TEST_MATHVEC): Likewise.
18972 (__NO_MATH_INLINES): Likewise.
18973 (CNCT): Likewise.
18974 (CONCAT): Likewise.
18975 (WRAPPER_NAME): Likewise.
18976 (WRAPPER_DECL): Likewise.
18977 (WRAPPER_DECL_ff): Likewise.
18978 (WRAPPER_DECL_fFF): Likewise.
18979 (VECTOR_WRAPPER): Likewise.
18980 (VECTOR_WRAPPER_ff): Likewise.
18981 (VECTOR_WRAPPER_fFF): Likewise.
18982 (VEC_LEN): New macro.
18983 * math/test-float-vlen8.h: Include test-float.h,
18984 test-math-no-inline.h and test-math-vector.h.
18985 (FLOAT): Remove macro.
18986 (FUNC): Likewise.
18987 (MATHCONST): Likewise.
18988 (PRINTF_EXPR): Likewise.
18989 (PRINTF_XEXPR): Likewise.
18990 (PRINTF_NEXPR): Likewise.
18991 (TEST_FLOAT): Likewise.
18992 (TEST_MATHVEC): Likewise.
18993 (__NO_MATH_INLINES): Likewise.
18994 (CNCT): Likewise.
18995 (CONCAT): Likewise.
18996 (WRAPPER_NAME): Likewise.
18997 (WRAPPER_DECL): Likewise.
18998 (WRAPPER_DECL_ff): Likewise.
18999 (WRAPPER_DECL_fFF): Likewise.
19000 (VECTOR_WRAPPER): Likewise.
19001 (VECTOR_WRAPPER_ff): Likewise.
19002 (VECTOR_WRAPPER_fFF): Likewise.
19003 (VEC_LEN): New macro.
19004 * math/test-float-vlen16.h: Include test-float.h,
19005 test-math-no-inline.h and test-math-vector.h.
19006 (FLOAT): Remove macro.
19007 (FUNC): Likewise.
19008 (MATHCONST): Likewise.
19009 (PRINTF_EXPR): Likewise.
19010 (PRINTF_XEXPR): Likewise.
19011 (PRINTF_NEXPR): Likewise.
19012 (TEST_FLOAT): Likewise.
19013 (TEST_MATHVEC): Likewise.
19014 (__NO_MATH_INLINES): Likewise.
19015 (CNCT): Likewise.
19016 (CONCAT): Likewise.
19017 (WRAPPER_NAME): Likewise.
19018 (WRAPPER_DECL): Likewise.
19019 (WRAPPER_DECL_ff): Likewise.
19020 (WRAPPER_DECL_fFF): Likewise.
19021 (VECTOR_WRAPPER): Likewise.
19022 (VECTOR_WRAPPER_ff): Likewise.
19023 (VECTOR_WRAPPER_fFF): Likewise.
19024 (VEC_LEN): New macro.
19025 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
19026 test-vec-loop.h.
19027 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19028 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19029 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19030 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19031 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19032 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19033 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
19034
19035 2015-06-24 Roland McGrath <roland@hack.frob.com>
19036
19037 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
19038 (__getlogin_r): ... this.
19039
19040 2015-06-24 Joseph Myers <joseph@codesourcery.com>
19041
19042 [BZ #18594]
19043 * math/s_ccosh.c (__ccosh): Compare with least normal value
19044 instead of comparing class with FP_SUBNORMAL.
19045 * math/s_ccoshf.c (__ccoshf): Likewise.
19046 * math/s_ccoshl.c (__ccoshl): Likewise.
19047 * math/s_cexp.c (__cexp): Likewise.
19048 * math/s_cexpf.c (__cexpf): Likewise.
19049 * math/s_cexpl.c (__cexpl): Likewise.
19050 * math/s_csin.c (__csin): Likewise.
19051 * math/s_csinf.c (__csinf): Likewise.
19052 * math/s_csinh.c (__csinh): Likewise.
19053 * math/s_csinhf.c (__csinhf): Likewise.
19054 * math/s_csinhl.c (__csinhl): Likewise.
19055 * math/s_csinl.c (__csinl): Likewise.
19056 * math/s_ctan.c (__ctan): Likewise.
19057 * math/s_ctanf.c (__ctanf): Likewise.
19058 * math/s_ctanh.c (__ctanh): Likewise.
19059 * math/s_ctanhf.c (__ctanhf): Likewise.
19060 * math/s_ctanhl.c (__ctanhl): Likewise.
19061 * math/s_ctanl.c (__ctanl): Likewise.
19062 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
19063 csin, csinh, ctan and ctanh.
19064 * math/auto-libm-test-out: Regenerated.
19065 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
19066 * sysdeps/i386/fpu/libm-test-ulps: Update.
19067 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19068
19069 2015-06-24 Roland McGrath <roland@hack.frob.com>
19070
19071 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
19072 return value is wrong, print the expected value too.
19073
19074 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
19075
19076 [BZ #18585]
19077 * elf/readlib.c (is_gdb_python_file): New.
19078 (process_file): Don't issue errors on filenames with -gdb.py
19079 suffix.
19080
19081 2015-06-24 Joseph Myers <joseph@codesourcery.com>
19082
19083 * math/auto-libm-test-in: Add more tests of csin and csinh.
19084 * math/auto-libm-test-out: Regenerated.
19085 * math/libm-test.inc (csin_test_data): Remove tests moved to
19086 auto-libm-test-in.
19087 (csinh_test_data): Likewise.
19088
19089 [BZ #18593]
19090 * math/s_csin.c (__csin): Negate before rather than after possibly
19091 overflowing multiplication.
19092 * math/s_csinf.c (__csinf): Likewise.
19093 * math/s_csinh.c (__csinh): Likewise.
19094 * math/s_csinhf.c (__csinhf): Likewise.
19095 * math/s_csinhl.c (__csinhl): Likewise.
19096 * math/s_csinl.c (__csinl): Likewise.
19097 * math/auto-libm-test-in: Add some tests of csin and csinh.
19098 * math/auto-libm-test-out: Regenerated.
19099 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
19100 (csinh_test_data): Likewise.
19101 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19102
19103 [BZ #18586]
19104 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
19105 underflow exception for small results.
19106
19107 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
19108
19109 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
19110 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
19111 variable and included header.
19112 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
19113 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
19114 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
19115 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
19116 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
19117 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
19118 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
19119 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
19120 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
19121 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
19122 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
19123 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
19124 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
19125 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
19126 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
19127 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
19128
19129 2015-06-23 Joseph Myers <joseph@codesourcery.com>
19130
19131 [BZ #16526]
19132 [BZ #16538]
19133 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
19134 (__sin): Force underflow exception for arguments with small
19135 absolute value.
19136 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
19137 (__kernel_sinf): Force underflow exception for arguments with
19138 small absolute value.
19139 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
19140 (__kernel_sincosl): Force underflow exception for arguments with
19141 small absolute value.
19142 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
19143 (__kernel_sinl): Force underflow exception for arguments with
19144 small absolute value.
19145 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
19146 (__kernel_sincosl): Force underflow exception for arguments with
19147 small absolute value.
19148 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
19149 (__kernel_sinl): Force underflow exception for arguments with
19150 small absolute value.
19151 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
19152 (__kernel_sinl): Force underflow exception for arguments with
19153 small absolute value.
19154 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
19155 (__kernel_sinf): Force underflow exception for arguments with
19156 small absolute value.
19157 * math/auto-libm-test-in: Add more tests of sin and sincos.
19158 * math/auto-libm-test-out: Regenerated.
19159
19160 [BZ #18245]
19161 [BZ #18583]
19162 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
19163 (__kernel_standard_l): Use feholdexcept and fesetenv around
19164 conversion to double instead of special-casing overflow and
19165 underflow.
19166 * math/libm-test.inc (fmod_test_data): Add more tests.
19167 (remainder_test_data): Likewise.
19168 (sqrt_test_data): Likewise.
19169
19170 2015-06-23 Torvald Riegel <triegel@redhat.com>
19171
19172 [BZ #17403]
19173 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
19174 atomic_read_barrier, atomic_write_barrier): Define.
19175 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
19176 atomic_read_barrier, atomic_write_barrier): Define.
19177
19178 2015-06-23 Joseph Myers <joseph@codesourcery.com>
19179
19180 * math/Makefile [$(PERL) != no]
19181 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
19182 dependency on libm-test.stmp below the inclusion of Rules.
19183
19184 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
19185
19186 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
19187 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
19188 and included header.
19189 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
19190 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
19191 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
19192 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
19193 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
19194 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
19195 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
19196 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
19197 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
19198 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
19199 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
19200 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
19201 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
19202 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
19203 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
19204 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
19205 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
19206 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
19207 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
19208
19209 2015-06-23 Joseph Myers <joseph@codesourcery.com>
19210
19211 [BZ #18371]
19212 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
19213 intermediate but not final result might underflow.
19214 * math/s_csqrtf.c (__csqrtf): Likewise.
19215 * math/s_csqrtl.c (__csqrtl): Likewise.
19216 * math/auto-libm-test-in: Add more tests of csqrt.
19217 * math/auto-libm-test-out: Regenerated.
19218 * sysdeps/i386/fpu/libm-test-ulps: Update.
19219
19220 [BZ #18219]
19221 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
19222 threshold on absolute value of exponent for which scaling is used.
19223 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
19224 * math/auto-libm-test-in: Add more tests of exp2.
19225 * math/auto-libm-test-out: Regenerated.
19226
19227 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
19228
19229 [BZ #17977]
19230 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
19231 when initializing interface list, based on the bug analysis
19232 and the patch proposed by Eric Newton.
19233 * resolv/tst-res_hconf_reorder.c: New test.
19234 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
19235 tst-res_hconf_reorder.
19236 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
19237 and $(shared-thread-library).
19238 (tst-res_hconf_reorder-ENV): New variable.
19239
19240 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
19241 in comment.
19242
19243 2015-06-22 Joseph Myers <joseph@codesourcery.com>
19244
19245 [BZ #16353]
19246 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
19247 (__expm1): Force underflow exception for arguments with small
19248 absolute value.
19249 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
19250 (__expm1f): Force underflow exception for arguments with small
19251 absolute value.
19252 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
19253 (__expm1): Force underflow exception for arguments with small
19254 absolute value.
19255 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
19256 (__expm1f): Force underflow exception for arguments with small
19257 absolute value.
19258 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
19259 Check for small arguments before calling __expm1.
19260 * math/auto-libm-test-in: Do not mark underflow exceptions as
19261 possibly missing for bug 16353.
19262 * math/auto-libm-test-out: Regenerated.
19263
19264 2015-06-22 Andreas Schwab <schwab@suse.de>
19265
19266 [BZ #18513]
19267 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
19268 PTR queries.
19269
19270 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
19271
19272 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
19273
19274 * string/strcoll_l.c: Remove unused struct element idxnow.
19275
19276 2015-06-21 Joseph Myers <joseph@codesourcery.com>
19277
19278 [BZ #18569]
19279 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
19280 underflow and return argument in case of subnormal argument.
19281 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
19282 Likewise.
19283 * math/auto-libm-test-in: Add more tests of expm1.
19284 * math/auto-libm-test-out: Regenerated.
19285
19286 [BZ #16361]
19287 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
19288 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
19289 tiny results.
19290 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
19291 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
19292 tiny results.
19293 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
19294 mark underflow exceptions as possibly missing for bug 16361.
19295 * math/auto-libm-test-out: Regenerated.
19296
19297 2015-06-19 Joseph Myers <joseph@codesourcery.com>
19298
19299 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
19300 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
19301 Remove variable.
19302 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
19303 (test-xfail-XOPEN2K8/utmpx.h/conform).
19304
19305 * conform/conformtest.pl ($xerrors): New variable.
19306 (note_error): New function.
19307 (compiletest): New argument $xfail. Use not_error.
19308 (runtest): Likewise.
19309 (top level): Handle xfail- lines. Update calls to compiletest and
19310 runtest. Handle xfail- and optional- in headers listed with
19311 allow-header.
19312 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
19313 (O_EXEC): Likewise.
19314 (O_SEARCH): Likewise.
19315 * conform/data/stropts.h-data (ioctl): Likewise.
19316 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
19317 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
19318 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
19319 (msghdr.msg_controllen): Likewise.
19320 (cmsghdr.cmsg_len): Likewise.
19321 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
19322 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
19323 variable.
19324 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
19325 (test-xfail-XPG4/stropts.h/conform): Likewise.
19326 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
19327 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
19328 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
19329 (test-xfail-UNIX98/stropts.h/conform): Likewise.
19330 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
19331 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
19332 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
19333 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
19334 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
19335 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
19336 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
19337 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
19338 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
19339 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
19340 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
19341 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
19342 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
19343 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
19344 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
19345
19346 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
19347
19348 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
19349 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
19350 definitions for proper unfolding of __MATHDECL_VEC.
19351
19352 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
19353
19354 * benchtests/bench-strcoll.c:
19355 Include string.h.
19356 (main): Remove unused variable res.
19357
19358 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
19359
19360 * timezone/Makefile (%/UTC %/Universal):
19361 Generate test-result files for UTC and Universal.
19362
19363 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
19364
19365 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
19366
19367 2015-06-18 Joseph Myers <joseph@codesourcery.com>
19368
19369 [BZ #16350]
19370 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
19371 for arguments with small absolute value.
19372 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
19373 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
19374 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
19375 (__asinh): Force underflow exception for arguments with small
19376 absolute value.
19377 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
19378 (__asinhf): Force underflow exception for arguments with small
19379 absolute value.
19380 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
19381 (__asinhl): Force underflow exception for arguments with small
19382 absolute value.
19383 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
19384 (__asinhl): Force underflow exception for arguments with small
19385 absolute value.
19386 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
19387 (__asinhl): Force underflow exception for arguments with small
19388 absolute value.
19389 * math/auto-libm-test-in: Do not mark underflow exceptions as
19390 possibly missing for bug 16350.
19391 * math/auto-libm-test-out: Regenerated.
19392
19393 * include/bits/ipc.h: Remove file.
19394 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
19395 variable.
19396 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
19397 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
19398 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
19399 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
19400 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
19401 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
19402 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
19403 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
19404 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
19405
19406 * math/auto-libm-test-in: Remove spurious underflow allowance for
19407 tests of cexp.
19408 * math/auto-libm-test-out: Regenerated.
19409
19410 [BZ #18558]
19411 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
19412 unconditional definition.
19413 (MCAST_BLOCK_SOURCE): Likewise.
19414 (MCAST_UNBLOCK_SOURCE): Likewise.
19415 (MCAST_LEAVE_GROUP): Likewise.
19416 (MCAST_JOIN_SOURCE_GROUP): Likewise.
19417 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
19418 (MCAST_MSFILTER): Likewise.
19419 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
19420 Remove variable.
19421 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
19422 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
19423 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
19424 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
19425 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
19426
19427 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
19428
19429 * NEWS: Mention addition of x86_64 vector sincosf.
19430 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
19431 * math/test-float-vlen4.h: Likewise.
19432 * math/test-float-vlen8.h: Likewise.
19433 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19434 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
19435 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19436 * sysdeps/x86_64/fpu/Versions: New versions added.
19437 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19438 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19439 Added build of SSE, AVX2 and AVX512 IFUNC versions.
19440 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
19441 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
19442 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
19443 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
19444 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
19445 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
19446 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
19447 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
19448 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
19449 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
19450 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
19451 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
19452 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
19453 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
19454 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
19455 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19456 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19457 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19458 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19459 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19460 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19461
19462 * NEWS: Mention addition of x86_64 vector sincos.
19463 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
19464 * math/math.h (__MATHDECL_VEC): New macro.
19465 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
19466 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
19467 declaration under condition.
19468 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
19469 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
19470 TEST_VEC_LOOP change.
19471 * math/test-double-vlen4.h: Likewise.
19472 * math/test-double-vlen8.h: Likewise.
19473 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
19474 * math/test-float-vlen4.h: Likewise.
19475 * math/test-float-vlen8.h: Likewise.
19476 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19477 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
19478 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19479 * sysdeps/x86_64/fpu/Versions: New versions added.
19480 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19481 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19482 Added build of SSE, AVX2 and AVX512 IFUNC versions.
19483 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
19484 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
19485 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
19486 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
19487 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
19488 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
19489 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
19490 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
19491 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
19492 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
19493 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
19494 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
19495 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
19496 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
19497 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19498 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19499 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19500 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19501 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19502 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19503 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19504
19505 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19506 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19507 redirections for powf.
19508 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19509 * sysdeps/x86_64/fpu/Versions: New versions added.
19510 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19511 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19512 Added build of SSE, AVX2 and AVX512 IFUNC versions.
19513 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
19514 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
19515 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
19516 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
19517 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
19518 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
19519 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
19520 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
19521 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
19522 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
19523 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
19524 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
19525 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
19526 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
19527 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
19528 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19529 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19530 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19531 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19532 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19533 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19534 * math/test-float-vlen16.h: Fixed 2 argument macro.
19535 * math/test-float-vlen4.h: Likewise.
19536 * math/test-float-vlen8.h: Likewise.
19537 * NEWS: Mention addition of x86_64 vector powf.
19538
19539 2015-06-17 Joseph Myers <joseph@codesourcery.com>
19540
19541 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19542 and redefine.
19543 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19544 and redefine.
19545 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
19546 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
19547 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19548
19549 [BZ #18553]
19550 * resource/getpriority.c (getpriority): Rename to __getpriority
19551 and define as weak alias of __getpriority.
19552 * resource/setpriority.c (setpriority): Rename to __setpriority
19553 and define as weak alias of __setpriority.
19554 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
19555 __getpriority and define as weak alias of __getpriority.
19556 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
19557 __setpriority and define as weak alias of __setpriority.
19558 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
19559 strong name.
19560 (setpriority): Use __setpriority as strong name.
19561 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
19562 __getpriority and define as weak alias of __getpriority.
19563 * include/sys/resource.h (__getpriority): Declare. Use
19564 libc_hidden_proto.
19565 (__setpriority): Likewise.
19566 (getpriority): Don't use libc_hidden_proto.
19567 (setpriority): Likewise.
19568 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
19569 getpriority. Call __setpriority instead of setpriority.
19570 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
19571 Remove variable.
19572
19573 [BZ #18547]
19574 * misc/getttyent.c (getttynam): Rename to __getttynam and define
19575 as weak alias of __getttynam. Use prototype function definition.
19576 Call __setttyent, __getttyent and __endttyent instead of
19577 setttyent, getttyent and endttyent.
19578 (getttyent): Rename to __getttyent and define as weak alias of
19579 __getttyent. Call __setttyent instead of setttyent. Call
19580 __fgets_unlocked instead of fgets_unlocked.
19581 (setttyent): Rename to __setttyent and define as weak alias of
19582 __setttyent.
19583 (endttyent): Rename to __endttyent and define as weak alias of
19584 __endttyent.
19585 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
19586 (__setttyent): Likewise.
19587 (__endttyent): Likewise.
19588 (getttyent): Don't use libc_hidden_proto.
19589 (setttyent): Likewise.
19590 (endttyent): Likewise.
19591 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
19592 __endttyent instead of setttyent, getttyent and endttyent.
19593 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
19594 Remove variable.
19595
19596 [BZ #18546]
19597 * socket/recv.c (__recv): Use libc_hidden_def.
19598 * socket/socket.c (__socket): Likewise.
19599 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
19600 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
19601 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
19602 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
19603 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
19604 libc_hidden_def.
19605 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
19606 libc_hidden_weak.
19607 * include/sys/socket.h (__socket): Do not use attribute_hidden.
19608 Use libc_hidden_proto.
19609 (__recv): Likewise.
19610 * socket/Versions (libc): Export __recv and __socket at version
19611 GLIBC_PRIVATE.
19612 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
19613 instead of recv.
19614 (init_mq_netlink): Call __socket instead of socket.
19615 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
19616 Remove variable.
19617
19618 [BZ #18545]
19619 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
19620 __mq_timedreceive and define as alias of __mq_timedreceive. Use
19621 hidden_weak.
19622 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
19623 define as alias of __mq_timedsend. Use hidden_weak.
19624 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
19625 __mq_timedsend as strong name.
19626 (mq_timedreceive): Use __mq_timedreceive as strong name.
19627 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
19628 (__mq_timedreceive): Likewise.
19629 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
19630 __mq_timedreceive instead of mq_timedreceive.
19631 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
19632 instead of mq_timedsend.
19633 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
19634 Remove variable.
19635
19636 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
19637 hidden_def and hidden_weak instead of libc_hidden_def and
19638 libc_hidden_weak.
19639 (top level): Refer to hidden_def in comment.
19640 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
19641 macro. Use it instead of libc_hidden_def.
19642 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
19643 specify __GI_* name explicitly.
19644 (mq_timedreceive): Likewise.
19645 (mq_setattr): Likewise.
19646
19647 [BZ #18544]
19648 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
19649 __pthread_barrier_init and define as weak alias of
19650 __pthread_barrier_init.
19651 * sysdeps/sparc/nptl/pthread_barrier_init.c
19652 (pthread_barrier_init): Likewise.
19653 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
19654 __pthread_barrier_wait and define as weak alias of
19655 __pthread_barrier_wait.
19656 * sysdeps/sparc/nptl/pthread_barrier_wait.c
19657 (pthread_barrier_wait): Likewise.
19658 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
19659 (pthread_barrier_wait): Likewise.
19660 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
19661 (pthread_barrier_wait): Likewise.
19662 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
19663 (pthread_barrier_wait): Likewise.
19664 * nptl/Versions (libpthread): Export __pthread_barrier_init and
19665 __pthread_barrier_wait at version GLIBC_PRIVATE.
19666 * include/pthread.h (__pthread_barrier_init): Declare.
19667 (__pthread_barrier_wait): Likewise.
19668 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
19669 Call __pthread_barrier_wait instead of pthread_barrier_wait.
19670 (helper_thread): Likewise.
19671 (init_mq_netlink): Call __pthread_barrier_init instead of
19672 pthread_barrier_init.
19673
19674 [BZ #18542]
19675 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
19676 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
19677 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
19678 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
19679 vswscanf.
19680 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
19681 Remove variable.
19682
19683 [BZ #18540]
19684 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
19685 strong alias of _IO_fflush. Use libc_hidden_def.
19686 * libio/iofflush_u.c (fflush_unlocked): Rename to
19687 __fflush_unlocked and define as weak alias of __fflush_unlocked.
19688 Use libc_hidden_weak.
19689 * include/stdio.h (__fflush_unlocked): Declare. Use
19690 libc_hidden_proto.
19691 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
19692 fflush_unlocked.
19693 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
19694 Remove variable.
19695
19696 [BZ #18539]
19697 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
19698 define as weak alias of __addseverity.
19699 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
19700 Remove variable.
19701 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
19702 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
19703 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
19704
19705 [BZ #18536]
19706 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
19707 (__tfind): Likewise.
19708 (__tdelete): Likewise.
19709 (__twalk): Likewise.
19710 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
19711 __twalk to GLIBC_PRIVATE.
19712 * include/search.h (__tsearch): Use libc_hidden_proto.
19713 (__tfind): Likewise.
19714 (__tdelete): Likewise.
19715 (__twalk): Likewise.
19716 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
19717 Call __tdelete instead of tdelete.
19718 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
19719 tfind. Call __tsearch instead of tsearch.
19720 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
19721 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
19722 Remove variable.
19723 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
19724
19725 [BZ #18534]
19726 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
19727 (dprintf): Define as a weak alias of __dprintf, not a strong
19728 alias.
19729 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
19730 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
19731 dprintf.
19732 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
19733 Remove variable.
19734 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
19735 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
19736
19737 [BZ #18533]
19738 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
19739 not a strong alias.
19740 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
19741 Remove variable.
19742
19743 [BZ #18532]
19744 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
19745 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
19746 (in6addr_loopback): Rename to __in6addr_loopback and define as
19747 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
19748 * include/netinet/in.h (__in6addr_loopback): Declare. Use
19749 libc_hidden_proto.
19750 (__in6addr_any): Likewise.
19751 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
19752 in6addr_any.
19753 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
19754 variable.
19755 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
19756
19757 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
19758
19759 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
19760 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
19761 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19762 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19763 redirections for pow.
19764 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19765 * sysdeps/x86_64/fpu/Versions: New versions added.
19766 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19767 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19768 build of SSE, AVX2 and AVX512 IFUNC versions.
19769 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
19770 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
19771 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
19772 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
19773 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
19774 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
19775 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
19776 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
19777 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
19778 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
19779 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
19780 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
19781 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
19782 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
19783 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19784 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19785 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19786 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19787 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19788 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19789 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19790 * NEWS: Mention addition of x86_64 vector pow.
19791
19792 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19793 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19794 redirections for expf.
19795 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19796 * sysdeps/x86_64/fpu/Versions: New versions added.
19797 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19798 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19799 build of SSE, AVX2 and AVX512 IFUNC versions.
19800 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
19801 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
19802 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
19803 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
19804 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
19805 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
19806 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
19807 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
19808 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
19809 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
19810 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
19811 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
19812 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
19813 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
19814 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19815 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19816 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19817 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19818 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19819 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19820 * NEWS: Mention addition of x86_64 vector expf.
19821
19822 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
19823 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
19824 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19825 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19826 redirections for exp.
19827 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19828 * sysdeps/x86_64/fpu/Versions: New versions added.
19829 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19830 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19831 build of SSE, AVX2 and AVX512 IFUNC versions.
19832 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
19833 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
19834 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
19835 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
19836 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
19837 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
19838 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
19839 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
19840 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
19841 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
19842 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
19843 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
19844 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
19845 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19846 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19847 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19848 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19849 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19850 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19851 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19852 * NEWS: Mention addition of x86_64 vector exp.
19853
19854 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19855 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19856 redirections for logf.
19857 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19858 * sysdeps/x86_64/fpu/Versions: New versions added.
19859 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19860 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19861 build of SSE, AVX2 and AVX512 IFUNC versions.
19862 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
19863 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
19864 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
19865 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
19866 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
19867 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
19868 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
19869 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
19870 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
19871 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
19872 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
19873 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
19874 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
19875 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
19876 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19877 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19878 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19879 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19880 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19881 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19882 * NEWS: Mention addition of x86_64 vector logf.
19883
19884 * bits/libm-simd-decl-stubs.h: Added stubs for log.
19885 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
19886 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19887 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19888 redirections for log.
19889 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19890 * sysdeps/x86_64/fpu/Versions: New versions added.
19891 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19892 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19893 build of SSE, AVX2 and AVX512 IFUNC versions.
19894 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
19895 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
19896 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
19897 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
19898 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
19899 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
19900 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
19901 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
19902 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
19903 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
19904 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
19905 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
19906 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
19907 test.
19908 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19909 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19910 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19911 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19912 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19913 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19914 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19915 * NEWS: Mention addition of x86_64 vector log.
19916
19917 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
19918
19919 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
19920 cfi_adjust_cfa_offset argument.
19921 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
19922 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
19923
19924 [BZ #18034]
19925 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
19926 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
19927 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
19928 ordering using ldar.
19929 (_dl_tlsdesc_dynamic): Likewise.
19930 (_dl_tlsdesc_return_lazy): Likewise.
19931 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
19932 relaxed atomics instead of volatile and synchronize with release store.
19933 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
19934 volatile.
19935 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
19936
19937 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
19938
19939 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19940 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
19941 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19942 * sysdeps/x86_64/fpu/Versions: New versions added.
19943 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19944 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19945 build of SSE, AVX2 and AVX512 IFUNC versions.
19946 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
19947 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
19948 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
19949 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
19950 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
19951 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
19952 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
19953 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
19954 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
19955 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
19956 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
19957 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
19958 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
19959 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
19960 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19961 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19962 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19963 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19964 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19965 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19966 * NEWS: Mention addition of x86_64 vector sinf.
19967
19968 2015-06-14 Joseph Myers <joseph@codesourcery.com>
19969
19970 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
19971 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
19972 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
19973 Remove variable.
19974 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
19975 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
19976
19977 2015-06-12 Joseph Myers <joseph@codesourcery.com>
19978
19979 [BZ #18530]
19980 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
19981 strong alias of _IO_fputs. Use libc_hidden_def.
19982 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
19983 and define as weak alias of __fputs_unlocked. Use
19984 libc_hidden_weak.
19985 * include/stdio.h (__fputs_unlocked): Declare. Use
19986 libc_hidden_proto.
19987 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
19988 fputs_unlocked.
19989
19990 [BZ #18529]
19991 * resolv/netdb.h [__USE_POSIX]: Change condition to
19992 [__USE_XOPEN2K].
19993 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
19994 not expect.
19995 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
19996 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
19997 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
19998 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
19999 [XPG4 || UNIX98] (AI_ALL): Likewise.
20000 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
20001 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
20002 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
20003 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
20004 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
20005 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
20006 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
20007 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
20008 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
20009 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
20010 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
20011 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
20012 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
20013 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
20014 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
20015 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
20016 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
20017 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
20018 [XPG4 || UNIX98] (gai_strerror): Likewise.
20019 [XPG4 || UNIX98] (getaddrinfo): Likewise.
20020 [XPG4 || UNIX98] (getnameinfo): Likewise.
20021
20022 [BZ #18528]
20023 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
20024 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
20025 __USE_XOPEN2K8].
20026 (getgrent): Likewise.
20027 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
20028 expect.
20029 [XPG3 || POSIX2008] (endgrent): Likewise.
20030 [XPG3] (setgrent): Likewise.
20031 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
20032 variable.
20033 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
20034
20035 [BZ #18527]
20036 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
20037 define as weak alias of __getlogin_r. Use libc_hidden_weak.
20038 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
20039 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
20040 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
20041 * include/unistd.h (__getlogin_r): Declare. Use
20042 libc_hidden_proto.
20043 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
20044 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
20045 variable.
20046 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
20047 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
20048 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
20049
20050 2015-06-12 Martin Sebor <msebor@redhat.com>
20051
20052 [BZ #18512]
20053 * Makerules (check-install-supported): New target.
20054 (install): Add check-install-supported as a dependency.
20055 * manual/install.texi (Installing the C Library): Document
20056 that overriding prefix and exec_prefix is not supported.
20057 Mention DESTDIR.
20058 * INSTALL: Regenerate from the above.
20059
20060 2015-06-12 Joseph Myers <joseph@codesourcery.com>
20061
20062 [BZ #18519]
20063 * posix/Versions (libc): Export __libc_pread at version
20064 GLIBC_PRIVATE.
20065 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
20066 instead of pread.
20067 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
20068 variable.
20069
20070 [BZ #18522]
20071 * misc/efgcvt_r.c
20072 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
20073 (cvt_symbol): Use weak_alias instead of strong_alias.
20074 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
20075 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
20076 Remove variable.
20077 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
20078 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
20079
20080 [BZ #18520]
20081 * inet/herrno.c (h_errno): Rename to __h_errno.
20082 (__libc_h_errno): Define as alias of __h_errno not h_errno.
20083 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
20084 to __h_errno instead of h_errno.
20085 * nptl/herrno.c (h_errno): Rename to __h_errno.
20086 (__h_errno_location): Refer to __h_errno not h_errno.
20087 * resolv/Versions (h_errno): Rename to __h_errno.
20088 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
20089 Remove variable.
20090 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
20091
20092 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
20093
20094 * configure.ac: More strict check for AVX512 assembler support.
20095 * configure: Regenerated.
20096
20097 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
20098 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
20099 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
20100 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
20101 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20102 * sysdeps/x86_64/fpu/Versions: New versions added.
20103 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20104 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20105 Added build of SSE, AVX2 and AVX512 IFUNC versions.
20106 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
20107 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
20108 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
20109 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
20110 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
20111 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
20112 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
20113 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
20114 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
20115 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
20116 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
20117 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
20118 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
20119 test.
20120 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
20121 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20122 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
20123 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20124 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20125 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20126 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
20127 * NEWS: Mention addition of x86_64 vector sin.
20128
20129 2015-06-11 Florian Weimer <fweimer@redhat.com>
20130
20131 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
20132 comment.
20133
20134 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
20135
20136 [BZ #18479]
20137 * nptl/pt-interp.c: New file.
20138 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
20139 Add pt-interp.
20140 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
20141 $(common-objpfx)runtime-linker.h.
20142
20143 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
20144
20145 * Makeconfig (+interp): Remove unused variable.
20146 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
20147 only. Depend on $(common-objpfx)runtime-linker.h instead of
20148 $(elf-objpfx)runtime-linker.h.
20149 ($(elf-objpfx)runtime-linker.h): Rename to
20150 $(common-objpfx)runtime-linker.h and move ...
20151 * Makerules [$(build-shared) = yes]: ... here.
20152 * elf/interp.c: Include <runtime-linker.h> instead of
20153 <elf/runtime-linker.h>.
20154
20155 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20156
20157 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
20158 (__gettimeofday_syscall): Remove vsyscall fallback.
20159 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
20160 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
20161 Add syscall fallback function.
20162 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
20163 if vDSO is not present.
20164 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
20165 fallback function.
20166 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
20167 present.
20168 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
20169 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
20170
20171 2015-06-09 Joseph Myers <joseph@codesourcery.com>
20172
20173 [BZ #18497]
20174 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
20175 of wcscmp.
20176 (wcscmp): Define as weak alias of WCSCMP.
20177 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
20178 wcscoll.
20179 (USE_HIDDEN_DEF): Define.
20180 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
20181 __wcscoll. Don't use libc_hidden_weak.
20182 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
20183 wcscmp.
20184 * sysdeps/i386/i686/multiarch/wcscmp-c.c
20185 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
20186 __GI_wcscmp.
20187 (weak_alias): Undefine and redefine.
20188 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
20189 __wcscmp and define as weak alias of __wcscmp.
20190 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
20191 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
20192 (__wcscoll): Likewise.
20193 (wcscmp): Don't use libc_hidden_proto.
20194 (wcscoll): Likewise.
20195 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
20196 wcscoll.
20197 * posix/regexec.c (check_node_accept_bytes): Likewise.
20198 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
20199 variable.
20200 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
20201 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
20202
20203 [BZ #18507]
20204 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
20205 __fstatvfs and define as weak alias of __fstatvfs. Use
20206 libc_hidden_weak.
20207 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
20208 and define as weak alias of __statvfs. Use libc_hidden_weak.
20209 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
20210 Define as alias of __fstatvfs, not fstatvfs.
20211 (fstatvfs64): Likewise.
20212 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
20213 Define as alias of __statvfs, not statvfs.
20214 (statvfs64): Likewise.
20215 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
20216 Remove variable.
20217
20218 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20219
20220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20221 (HAVE_GETCPU_VSYSCALL): Define.
20222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20223 (HAVE_GETCPU_VSYSCALL): Likewise.
20224 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
20225 * sysdeps/unix/sysv/linux/sched_getcpu.c
20226 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
20227 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
20228 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
20229 prototype.
20230 * sysdeps/unix/sysv/linux/x86_64/init-first.c
20231 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
20232 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
20233 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
20234 Define.
20235 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
20236 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
20237 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
20238 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20239
20240 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
20241
20242 * sysdeps/x86_64/fpu/Makefile: New file.
20243 * sysdeps/x86_64/fpu/Versions: New file.
20244 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
20245 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
20246 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
20247 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
20248 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
20249 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
20250 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
20251 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
20252 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
20253 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
20254 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
20255 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
20256 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
20257 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20258 Added build of SSE, AVX2 and AVX512 IFUNC versions.
20259 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
20260 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
20261 * sysdeps/x86_64/configure.ac: Options for libmvec build.
20262 * sysdeps/x86_64/configure: Regenerated.
20263 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
20264 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
20265 * manual/install.texi (Configuring and compiling): Document
20266 --disable-mathvec.
20267 * INSTALL: Regenerated.
20268 * NEWS: Mention addition of libmvec and x86_64 vector cos.
20269
20270 * math/Makefile: Added rules for vector tests.
20271 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
20272 declaration under condition.
20273 * math/test-double-vlen2.h: New file.
20274 * math/test-double-vlen4.h: New file.
20275 * math/test-double-vlen8.h: New file.
20276 * math/test-vec-loop.h: Added initialization macro.
20277 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
20278 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
20279 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
20280 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
20281 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
20282 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
20283 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
20284 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
20285 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
20286 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
20287 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
20288
20289 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20290 * sysdeps/x86_64/fpu/Versions: New versions added.
20291 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
20292 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
20293 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
20294 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
20295 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
20296 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
20297 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
20298 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
20299 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
20300 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
20301 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
20302 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
20303 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
20304 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20305 Added build of SSE, AVX2 and AVX512 IFUNC versions.
20306 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
20307 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
20308 * NEWS: Mention addition of x86_64 vector cosf.
20309
20310 * math/Makefile: Added CFLAGS for new tests.
20311 * math/test-float-vlen16.h: New file.
20312 * math/test-float-vlen4.h: New file.
20313 * math/test-float-vlen8.h: New file.
20314 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
20315 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
20316 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20317 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
20318 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
20319 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
20320 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
20321 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
20322 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
20323 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
20324 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
20325
20326 2015-06-09 Marko Myllynen <myllynen@redhat.com>
20327
20328 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
20329 * locale/programs/ld-ctype.c: Likewise.
20330
20331 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
20332
20333 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
20334 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
20335 bit_ZMM16_31_state): New macro.
20336 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20337 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
20338
20339 2015-06-08 Joseph Myers <joseph@codesourcery.com>
20340
20341 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
20342
20343 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
20344
20345 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
20346
20347 2015-06-05 Joseph Myers <joseph@codesourcery.com>
20348
20349 [BZ #18498]
20350 * libio/memstream.c (open_memstream): Rename to __open_memstream
20351 and define as weak alias of __open_memstream.
20352 * include/stdio.h (__open_memstream): Declare. Use
20353 libc_hidden_proto.
20354 (open_memstream): Don't use libc_hidden_proto.
20355 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
20356 open_memstream.
20357 * posix/getopt.c (_getopt_internal_r): Likewise.
20358 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
20359 variable.
20360 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
20361 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
20362 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
20363
20364 [BZ #18496]
20365 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
20366 instead of wcrtomb.
20367
20368 [BZ #18483]
20369 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
20370 [__USE_XOPEN2K8]. Remove redundant #endif.
20371 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
20372 Remove redundant #if.
20373 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
20374 Remove variable.
20375 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
20376 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
20377
20378 [BZ #18495]
20379 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
20380 (__iswlower): Likewise.
20381 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
20382 (__iswlower): Likewise.
20383 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
20384 instead of towlower.
20385 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
20386 instead of iswlower. Call __towupper instead of towupper.
20387 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
20388 instead of iswalnum.
20389
20390 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20391
20392 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
20393 errors to stderr.
20394
20395 2015-06-05 Florian Weimer <fweimer@redhat.com>
20396
20397 [BZ #15661]
20398 [BZ #17322]
20399 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
20400 Check for overflow properly. Check for O_APPEND. Ignore large
20401 file system block sizes. Add comments about problems.
20402 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
20403 * manual/filesys.texi (Storage Allocation): New node.
20404
20405 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20406
20407 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
20408 cancellable syscalls.
20409 (SYS_ify): Add guard to no redefine it.
20410 (INLINE_SYSCALL): Likewise.
20411 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
20412 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
20413 SYSCALL_CANCEL instead.
20414 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
20415 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
20416 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
20417 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
20418 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
20419 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
20420 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
20421 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
20422 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
20423 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
20424 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
20425 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
20426 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
20427 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
20428 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
20429 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
20430 Likewise.
20431 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
20432 (__libc_pread64): Likewise.
20433 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
20434 (__libc_preadv): Likewise.
20435 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
20436 (__libc_readv64): Likewise.
20437 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
20438 (__libc_pwrite): Likewise.
20439 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
20440 (__libc_pwrite64): Likewise.
20441 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
20442 (__libc_pwritev): Likewise.
20443 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
20444 (__libc_pwritev64): Likewise.
20445 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
20446 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
20447 (sync_file_range): Likewise.
20448 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
20449 Likewise.
20450 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
20451 Likewise.
20452 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
20453 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
20454 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
20455 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
20456 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
20457 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
20458 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
20459 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
20460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
20461 Likewise.
20462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
20463 (__libc_read64): Likewise.
20464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
20465 Likewise.
20466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
20467 Likewise.
20468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
20469 Likewise.
20470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
20471 Likewise.
20472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
20473 (__libc_pread64): Likewise.
20474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
20475 Likewise.
20476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
20477 (__libc_pwrite64): Likewise.
20478 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
20479 (sync_file_range): Likewise.
20480 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
20481 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
20482 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
20483 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
20484 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
20485 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
20486 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
20487 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
20488 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
20489 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
20490 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
20491 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
20492 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
20493 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
20494 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
20495 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
20496 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
20497 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
20498 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
20499 Likewise.
20500 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
20501 Likewise.
20502 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
20503 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
20504 Likewise.
20505 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
20506 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
20507 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
20508 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
20509 Likewise.
20510 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
20511 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
20512 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
20513 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
20514 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
20515
20516 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
20517
20518 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
20519 Include dl-vdso.
20520 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
20521 Use VDSO routines for gettimeofday, clock_gettime if
20522 available.
20523 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
20524 Declare VDSO symbols.
20525 * sysdeps/unix/sysv/linux/arm/sysdep.h:
20526 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
20527 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
20528 * sysdeps/unix/sysv/linux/arm/Versions: Add
20529 __vdso_clock_gettime.
20530
20531 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20532
20533 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
20534 be an inline implementation regardless of library is built within.
20535 (open_not_cancel_2): Likewise.
20536 (__read_nocancel): Likewise.
20537 (__write_nocancel): Likewise.
20538 (openat_not_cancel): Likewise.
20539 (openat_not_cancel_3): Likewise.
20540 (openat64_not_cancel): Likewise.
20541 (openat64_not_cancel_3): Likewise.
20542 (__close_nocancel): Likewise.
20543 (pause_not_cancel): Likewise.
20544 (nanosleep_not_cancel): Likewise.
20545 (sigsuspend_not_cancel): Likewise.
20546
20547 2015-06-04 Torvald Riegel <triegel@redhat.com>
20548
20549 [BZ #14958]
20550 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
20551 wake-up.
20552 (__pthread_rwlock_rdlock_slow): Likewise.
20553 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
20554 Likewise.
20555 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
20556 Likewise.
20557 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
20558 * nptl/tst-rwlock16.c: New file.
20559 * nptl/Makefile (tests): Add new test.
20560
20561 2015-06-04 Torvald Riegel <triegel@redhat.com>
20562
20563 [BZ #18324]
20564 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
20565 missing wake-up of readers.
20566 * nptl/tst-rwlock15.c: New file.
20567 * nptl/Makefile (tests): Add new test.
20568
20569 2015-06-03 Roland McGrath <roland@hack.frob.com>
20570
20571 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
20572 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
20573 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
20574 and __nacl_supply_interface_rtld.
20575 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
20576 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
20577 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
20578 Add __nacl_supply_interface_rtld.
20579 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
20580
20581 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
20582
20583 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
20584 isfinite.
20585 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20586 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
20587
20588 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
20589
20590 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
20591 __signbit* with standard C99 macros.
20592 * math/e_exp10l.c: Likewise.
20593 * math/e_exp2l.c: Likewise.
20594 * math/e_scalb.c: Likewise.
20595 * math/e_scalbf.c: Likewise.
20596 * math/e_scalbl.c: Likewise.
20597 * math/s_ldexp.c: Likewise.
20598 * math/s_ldexpf.c: Likewise.
20599 * math/s_ldexpl.c: Likewise.
20600 * math/w_atan2.c: Likewise.
20601 * math/w_atan2f.c: Likewise.
20602 * math/w_atan2l.c: Likewise.
20603 * math/w_cosh.c: Likewise.
20604 * math/w_coshf.c: Likewise.
20605 * math/w_coshl.c: Likewise.
20606 * math/w_exp10.c: Likewise.
20607 * math/w_exp10f.c: Likewise.
20608 * math/w_exp10l.c: Likewise.
20609 * math/w_exp2.c: Likewise.
20610 * math/w_exp2f.c: Likewise.
20611 * math/w_exp2l.c: Likewise.
20612 * math/w_fmod.c: Likewise.
20613 * math/w_fmodf.c: Likewise.
20614 * math/w_fmodl.c: Likewise.
20615 * math/w_hypot.c: Likewise.
20616 * math/w_hypotf.c: Likewise.
20617 * math/w_hypotl.c: Likewise.
20618 * math/w_jnl.c: Likewise.
20619 * math/w_lgamma.c: Likewise.
20620 * math/w_lgamma_r.c: Likewise.
20621 * math/w_lgammaf.c: Likewise.
20622 * math/w_lgammaf_r.c: Likewise.
20623 * math/w_lgammal.c: Likewise.
20624 * math/w_lgammal_r.c: Likewise.
20625 * math/w_pow.c: Likewise.
20626 * math/w_powf.c: Likewise.
20627 * math/w_powl.c: Likewise.
20628 * math/w_remainder.c: Likewise.
20629 * math/w_remainderf.c: Likewise.
20630 * math/w_remainderl.c: Likewise.
20631 * math/w_scalb.c: Likewise.
20632 * math/w_scalbf.c: Likewise.
20633 * math/w_scalbl.c: Likewise.
20634 * math/w_scalbln.c: Likewise.
20635 * math/w_scalblnf.c: Likewise.
20636 * math/w_scalblnl.c: Likewise.
20637 * math/w_sinh.c: Likewise.
20638 * math/w_sinhf.c: Likewise.
20639 * math/w_sinhl.c: Likewise.
20640 * math/w_tgamma.c: Likewise.
20641 * math/w_tgammaf.c: Likewise.
20642 * math/w_tgammal.c: Likewise.
20643 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20644 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
20645 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20646 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20647 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20648 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20649 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
20650 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
20651 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
20652 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20653 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20654 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
20655 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20656 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
20657 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
20658 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20659 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
20660 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
20661 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
20662 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20663 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20664 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20665 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20666 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20667 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
20668 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
20669 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
20670 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
20671 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
20672 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20673 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
20674 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
20675 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
20676 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
20677 * stdio-common/printf_fp.c: Likewise.
20678 * stdio-common/printf_fphex.c: Likewise.
20679 * stdio-common/printf_size.c: Likewise.
20680
20681 2015-06-03 Joseph Myers <joseph@codesourcery.com>
20682
20683 [BZ #18470]
20684 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
20685 strnlen.
20686 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
20687 Remove variable.
20688 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
20689 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
20690 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
20691 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
20692 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
20693 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
20694 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
20695 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
20696 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
20697 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
20698
20699 [BZ #18468]
20700 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
20701 weak alias of __wmemchr. Use libc_hidden_weak.
20702 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
20703 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
20704 instead of wmemchr.
20705
20706 2015-06-02 Roland McGrath <roland@hack.frob.com>
20707
20708 [BZ #18383]
20709 * elf/tst-tlsalign-extern.c: New file.
20710 * elf/tst-tlsalign-extern-static.c: New file.
20711 * elf/tst-tlsalign-vars.c: New file.
20712 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
20713 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
20714 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
20715 ($(objpfx)tst-tlsalign-extern-static): Likewise.
20716 (test-xfail-tst-tlsalign-extern-static): New variable.
20717
20718 2015-06-02 Joseph Myers <joseph@codesourcery.com>
20719
20720 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
20721 Use variable name _sc_err instead of err.
20722 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
20723 instead of ret.
20724 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
20725 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
20726 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
20727 (INLINE_SYSCALL): Likewise.
20728
20729 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
20730 * include/string.h (__strnlen): Use libc_hidden_proto.
20731 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
20732 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
20733 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
20734 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
20735 (libc_hidden_def): Undefine and redefine.
20736 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
20737 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
20738 __GI_strnlen.
20739 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
20740 libc_hidden_def.
20741 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
20742
20743 [BZ #18469]
20744 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
20745 weak alias of __towlower. Use libc_hidden_weak.
20746 (towupper): Rename to __towupper and define as weak alias of
20747 __towupper. Use libc_hidden_weak.
20748 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
20749 (__towupper): Likewise.
20750 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
20751 __towlower instead of towlower.
20752
20753 2015-06-02 Roland McGrath <roland@hack.frob.com>
20754
20755 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
20756 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
20757
20758 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
20759
20760 * sysdeps/aarch64/libm-test-ulps: Update.
20761
20762 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20763
20764 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
20765 Define.
20766 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20767 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
20768 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
20769 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20770 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
20771 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
20772 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
20773
20774 2015-06-01 Martin Sebor <msebor@redhat.com>
20775
20776 [BZ #18116]
20777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
20778 (__setcontext): Use extended four-operand version of mtsf whenever
20779 possible.
20780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
20781 (__novec_swapcontext): Likewise.
20782
20783 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
20784
20785 * benchtests/scripts/compare_bench.py: New file.
20786 * benchtests/scripts/import_bench.py (mean): New function.
20787 (split_list): Likewise.
20788 (do_for_all_timings): Likewise.
20789 (compress_timings): Likewise.
20790
20791 * benchtests/scripts/import_bench.py: New file.
20792 * benchtests/scripts/validate_benchout.py: Import import_bench
20793 instead of jsonschema.
20794 (validate_bench): Remove function.
20795 (main): Use import_bench.
20796
20797 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
20798
20799 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
20800 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
20801
20802 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20803
20804 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20805
20806 2015-05-28 Roland McGrath <roland@hack.frob.com>
20807
20808 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
20809 set THREAD_SELF->tid to a magic value and futex-wake it.
20810 Pass its address to the thread_exit system call.
20811 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
20812 bit is clear.
20813 * sysdeps/nacl/lowlevellock.h: New file.
20814 * sysdeps/nacl/lll_timedwait_tid.c: New file.
20815
20816 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
20817 Add TIMEOUT to current time, don't subtract it.
20818
20819 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
20820
20821 [BZ #2981]
20822 [BZ #18422]
20823 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
20824 ($(objpfx)tst-audit2.out): Also depend on
20825 $(objpfx)tst-auditmod9b.so.
20826 * elf/tst-audit2.c: Include <dlfcn.h>.
20827 (calloc_called): New.
20828 (calloc): Allow to be called more than once.
20829 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
20830
20831 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
20832
20833 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
20834 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
20835
20836 2015-05-27 Marko Myllynen <myllynen@redhat.com>
20837
20838 * stdlib/monetary.h: Fix comment.
20839
20840 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
20841
20842 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
20843 Avoid using variables in #defines that might cause shadowing.
20844 (INTERNAL_VSYSCALL_CALL): Likewise.
20845
20846 2015-05-26 Roland McGrath <roland@hack.frob.com>
20847
20848 * sysdeps/nacl/lll_timedlock_wait.c: New file.
20849
20850 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
20851 * nptl/lll_timedlock_wait.c: ... to this new file.
20852 * nptl/Makefile (libpthread-routines): Add it.
20853 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
20854 * nptl/lll_timedwait_tid.c: ... to this new file.
20855 * nptl/Makefile (libpthread-routines): Add it.
20856 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
20857 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
20858 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
20859 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
20860 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
20861 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
20862 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
20863 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
20864 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
20865 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
20866
20867 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20868
20869 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
20870 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
20871 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
20872 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
20873 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
20874 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
20875 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20876 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
20877 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20878 * sysdeps/unix/sysv/linux/tile/sysdep.h
20879 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20880 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
20881 using vDSO syscall macro.
20882
20883 2015-05-26 Andriy Rysin <arysin@gmail.com>
20884
20885 [BZ #17293]
20886 * uk_UA: Fix sorting order for Ukrainian locale
20887
20888 2015-05-26 Marko Myllynen <myllynen@redhat.com>
20889
20890 * stdlib/monetary.h: Fix comment.
20891
20892 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
20893
20894 [BZ #18234]
20895 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
20896 st_mtim and st_ctim members.
20897 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
20898 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
20899 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
20900 (struct stat64): Likewise.
20901 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
20902 (struct stat64): Likewise.
20903 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
20904 (struct stat64): Likewise.
20905
20906 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20907
20908 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
20909 Define and include sysdep-vdso.h.
20910 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
20911 Likewise.
20912 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
20913 Likewise.
20914 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
20915 Define with VDSO_SYMBOL and use PTR_MANGLE.
20916 (__vdso_clock_gettime): Likewise.
20917 (__vdso_clock_getres): Likewise.
20918 (_libc_vdso_platform_setup): Likewise.
20919 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
20920 Likewise.
20921 (_libc_vdso_platform_setup): Likewise.
20922 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
20923 Likewise.
20924 (__vdso_clock_gettime): Likewise.
20925 (__vdso_clock_getres): Likewise.
20926 (__vdso_get_tbfreq): Likewise.
20927 (__vdso_getcpu): Likewise.
20928 (__vdso_time): Likewise.
20929 (__vdso_sigtramp_rt64): Likewise.
20930 (__vdso_signtramp32): Likewise.
20931 (__vdso_sigtramp_rt32): Likewise.
20932 (_libc_vdso_platform_setup): Likewise.
20933 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
20934 Likewise.
20935 (__vdso_clock_gettime): Likewise.
20936 (__vdso_clock_getres): Likewise.
20937 (_libc_vdso_platform_setup): Likewise.
20938 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
20939 Likewise.
20940 (__vdso_clock_gettime): Likewise.
20941 (_libc_vdso_platform_setup): Likewise.
20942 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
20943 Likewise.
20944 (__vdso_getcpu): Likewise.
20945 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
20946 Use VDSO_SYMBOL macro to define.
20947 (__vdso_clock_gettime): Likewise.
20948 (__vdso_clock_getres): Likewise.
20949 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
20950 Likewise.
20951 (__vdso_clock_gettime): Likewise.
20952 (__vdso_clock_getres): Likewise.
20953 (__vdso_get_tbfreq): Likewise.
20954 (__vdso_getcpu): Likewise.
20955 (__vdso_time): Likewise.
20956 (__vdso_sigtramp_rt64): Likewise.
20957 (__vdso_signtramp32): Likewise.
20958 (__vdso_sigtramp_rt32): Likewise.
20959 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
20960 Likewise.
20961 (__vdso_clock_gettime): Likewise.
20962 (__vdso_clock_getres): Likewise.
20963 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
20964 Likewise.
20965 (__vdso_clock_gettime): Likewise.
20966 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
20967 Likewise.
20968 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
20969 macro.
20970 (INTERNAL_VSYSCALL): Likewise.
20971 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
20972 Remove macro.
20973 (INTERNAL_VSYSCALL): Likewise.
20974 (INTERNAL_VSYSCALL_NCS): Likewise.
20975 (INTERNAL_VSYSCALL_CALL): New macro.
20976 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
20977 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
20978 Likewise.
20979 (INTERNAL_VSYSCALL): Likewise.
20980 (INTERNAL_VSYSCALL_NCS): Likewise.
20981 (INTERNAL_VSYSCALL_CALL): New macro.
20982 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
20983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20984 (INLINE_VSYSCALL): Remove macro.
20985 (INTERNAL_VSYSCALL): Remove macro.
20986 (INTERNAL_VSYSCALL_NCS): Remove macro.
20987 (INTERNAL_VSYSCALL_CALL): New macro.
20988 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
20989 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
20990 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
20991 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
20992 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
20993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20994 (INLINE_VSYSCALL): Remove macro.
20995 (INTERNAL_VSYSCALL): Likewise.
20996 (INTERNAL_VSYSCALL_NCS): Likewise.
20997 (INTERNAL_VSYSCALL_CALL): New macro.
20998 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
20999 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
21000 PTR_DEMANGLE on vDSO pointer.
21001 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
21002 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
21003 macro.
21004 (INTERNAL_SYSCALL): Likewise.
21005 (INTERNAL_VSYSCALL_NCS): Remove macro.
21006 (INTERNAL_VSYSCALL_CALL): New macro.
21007 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
21008 Remove macro.
21009 (INTERNAL_VSYSCALL): Likewise.
21010 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
21011 sysdep-vdso.h instead of libc-vdso.h.
21012 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
21013 definition.
21014 (INLINE_VSYSCALL): Likewise.
21015 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
21016 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
21017 definition.
21018 (INLINE_VSYSCALL): Likewise.
21019 (INTERNAL_VSYSCALL): Likewise.
21020 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
21021 * sysdeps/unix/sysv/linux/timespec_get.c
21022 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
21023 (timespec_get): Use ANSI prototype.
21024 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
21025 and definition for Linux.
21026
21027 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
21028
21029 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
21030 * include/libc-symbols.h: libmvec_hidden_* macro series added.
21031
21032 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
21033
21034 [BZ #2981]
21035 [BZ #18410]
21036 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
21037 for missing DT_PLTRELSZ.
21038
21039 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
21040
21041 Remove obsolete aliases that broke 'locale -a'
21042 [BZ #18412]
21043 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
21044 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
21045 breaking some applications that use 'locale -a' output.
21046 Change the encoding of this file from Latin-1 to ASCII to avoid
21047 other potential problems with people grepping this file.
21048
21049 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21050
21051 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
21052 -fasynchronous-unwind-tables.
21053 (CFLAGS-sendto.c): Likewise.
21054 (CFLAGS-sendmsg.c): Likewise.
21055 (CFLAGS-connect.c): Likewise.
21056 (CFLAGS-recvmsg.c): Likewise.
21057 (CFLAGS-recvfrom.c): Likewise.
21058 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
21059 (SOCKETCALL): New macro: non-cancellable socketcall.
21060 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
21061 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
21062 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
21063 * sysdeps/unix/sysv/linux/accept.c: New file.
21064 * sysdeps/unix/sysv/linux/bind.c: Likewise.
21065 * sysdeps/unix/sysv/linux/connect.c: Likewise.
21066 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
21067 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
21068 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
21069 * sysdeps/unix/sysv/linux/listen.c: Likewise.
21070 * sysdeps/unix/sysv/linux/recv.c: Likewise.
21071 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
21072 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
21073 * sysdeps/unix/sysv/linux/send.c: Likewise.
21074 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
21075 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
21076 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
21077 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
21078 * sysdeps/unix/sysv/linux/socket.c: Likewise.
21079 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
21080 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
21081 prototype.
21082 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
21083 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
21084 instead of __internal_xxx function.
21085 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
21086 prototype.
21087 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
21088 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
21089 instead of __internal_xxx function.
21090 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
21091 prototype.
21092 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
21093 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
21094 instead of __internal_xxx function.
21095 * sysdeps/unix/sysv/linux/accept.S: Remove file.
21096 * sysdeps/unix/sysv/linux/bind.S: Likewise.
21097 * sysdeps/unix/sysv/linux/connect.S: Likewise.
21098 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
21099 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
21100 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
21101 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
21102 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
21103 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
21104 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
21105 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
21106 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
21107 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
21108 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
21109 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
21110 * sysdeps/unix/sysv/linux/listen.S: Likewise.
21111 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
21112 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
21113 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
21114 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
21115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
21116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
21117 * sysdeps/unix/sysv/linux/recv.S: Likewise.
21118 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
21119 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
21120 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
21121 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
21122 * sysdeps/unix/sysv/linux/send.S: Likewise.
21123 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
21124 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
21125 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
21126 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
21127 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
21128 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
21129 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
21130 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
21131 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
21132 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
21133 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
21134 socketcall is implemented in GLIBC.
21135
21136 2015-05-22 Joseph Myers <joseph@codesourcery.com>
21137
21138 * soft-fp/fmadf4.c: Include <libc-internal.h>.
21139 (__fma): Ignore uninitialized warnings around packing.
21140 * soft-fp/fmasf4.c: Include <libc-internal.h>.
21141 (__fmaf): Ignore uninitialized warnings around packing.
21142 * soft-fp/fmatf4.c: Include <libc-internal.h>.
21143 (__fmal): Ignore uninitialized warnings around packing.
21144
21145 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
21146 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
21147 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
21148 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
21149
21150 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
21151 switch statement into default case.
21152 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
21153
21154 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
21155 a conditional in forcing "inexact".
21156 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
21157 Likewise.
21158
21159 2015-05-22 Roland McGrath <roland@hack.frob.com>
21160
21161 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
21162 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
21163 for each INTERNAL_SYSCALL use.
21164
21165 2015-05-22 Joseph Myers <joseph@codesourcery.com>
21166
21167 [BZ #438]
21168 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
21169 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
21170 variable.
21171
21172 [BZ #18444]
21173 * string/basename.c (basename): Rename to __basename and define as
21174 weak alias of __basename. Use libc_hidden_weak.
21175 * include/string.h (__basename): Declare. Use libc_hidden_proto.
21176 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
21177 __basename instead of basename.
21178 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
21179 Remove variable.
21180 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
21181
21182 2015-05-18 Florian Weimer <fweimer@redhat.com>
21183
21184 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
21185 (_IO_JUMPS_FILE_plus): New.
21186 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
21187 _IO_CAST_FIELD_ACCESS.
21188 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
21189 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
21190 * libio/freopen.c (freopen): Likewise.
21191 * libio/freopen64.c (freopen64): Likewise.
21192 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
21193 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
21194 * libio/iofwide.c (_IO_fwide): Likewise.
21195 * libio/memstream.c (open_memstream): Likewise.
21196 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
21197 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
21198 * libio/oldiopopen.c (_IO_old_popen): Likewise.
21199
21200 2015-05-21 Joseph Myers <joseph@codesourcery.com>
21201
21202 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
21203 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
21204 NADJ.
21205 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
21206 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
21207 NADJ.
21208 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
21209 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
21210 NADJ.
21211
21212 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
21213 (p == 4) case.
21214
21215 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
21216 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
21217 Remove variable.
21218 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
21219 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
21220 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
21221
21222 2015-05-21 Florian Weimer <fweimer@redhat.com>
21223
21224 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
21225 Adjust jump table label generation macros.
21226
21227 2015-05-21 Florian Weimer <fweimer@redhat.com>
21228
21229 * stdio-common/vfprintf.c (vfprintf): Move local variables
21230 args_malloced, specs, specs_malloced, and the code after
21231 do_positional to the printf_positional function.
21232 (printf_positional): New function.
21233
21234 2015-05-21 Florian Weimer <fweimer@redhat.com>
21235
21236 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
21237 function.
21238 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
21239 STEP4_TABLE, process_arg): Move macro definitions
21240 out of the vfprintf function. (Cosmetic change only.)
21241
21242 2015-05-21 Carlos O'Donell <carlos@redhat.com>
21243
21244 * benchtests/Makefile (stdio-common-bench): Define.
21245 (benchset): Add stdio-common-bench.
21246 * sprintf-inputs: New file.
21247 * sprintf-source.c: New file.
21248
21249 2015-05-21 Andreas Schwab <schwab@suse.de>
21250
21251 [BZ #13028]
21252 [BZ #17053]
21253 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
21254 of struct __res_state.
21255 * resolv/res_send.c (__libc_res_nsend): Likewise.
21256 (get_nsaddr): New function.
21257 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
21258 statp directly.
21259
21260 2015-05-20 Joseph Myers <joseph@codesourcery.com>
21261
21262 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
21263 -D_POSIX_C_SOURCE=199506L.
21264
21265 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
21266
21267 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
21268 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
21269 Do not mention otherwise.
21270 [POSIX] (_XOPEN_VERSION): Do not expect.
21271 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
21272 [POSIX] (_POSIX2_C_BIND): Likewise.
21273 [POSIX] (_POSIX2_VERSION): Likewise.
21274 [POSIX] (_XOPEN_XPG2): Likewise.
21275 [POSIX] (_XOPEN_XPG3): Likewise.
21276 [POSIX] (_XOPEN_XPG4): Likewise.
21277 [POSIX] (_XOPEN_UNIX): Likewise.
21278 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
21279 [POSIX] (_POSIX_BARRIERS): Likewise.
21280 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
21281 [POSIX] (_POSIX_CPUTIME): Likewise.
21282 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
21283 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
21284 [POSIX] (_POSIX_SHELL): Likewise.
21285 [POSIX] (_POSIX_SPAWN): Likewise.
21286 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
21287 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
21288 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
21289 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
21290 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
21291 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
21292 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
21293 [POSIX] (_XBS5_LP64_OFF64): Likewise.
21294 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
21295 [POSIX] (_POSIX_TIMEOUTS): Likewise.
21296 [POSIX] (_POSIX2_PBS): Likewise.
21297 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
21298 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
21299 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
21300 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
21301 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
21302 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
21303 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
21304 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
21305 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
21306 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
21307 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
21308 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
21309 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
21310 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
21311 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
21312 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
21313 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
21314 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
21315 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
21316 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
21317 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
21318 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
21319 [POSIX] (_SC_2_C_BIND): Likewise.
21320 [POSIX] (_SC_2_C_VERSION): Likewise.
21321 [POSIX] (_SC_2_PBS): Likewise.
21322 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
21323 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
21324 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
21325 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
21326 [POSIX] (_SC_2_PBS_TRACK): Likewise.
21327 [POSIX] (_SC_ATEXIT_MAX): Likewise.
21328 [POSIX] (_SC_BARRIERS): Likewise.
21329 [POSIX] (_SC_BASE): Likewise.
21330 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
21331 [POSIX] (_SC_DEVICE_IO): Likewise.
21332 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
21333 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
21334 [POSIX] (_SC_FD_MGMT): Likewise.
21335 [POSIX] (_SC_FIFO): Likewise.
21336 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
21337 [POSIX] (_SC_FILE_LOCKING): Likewise.
21338 [POSIX] (_SC_FILE_SYSTEM): Likewise.
21339 [POSIX] (_SC_IOV_MAX): Likewise.
21340 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
21341 [POSIX] (_SC_NETWORKING): Likewise.
21342 [POSIX] (_SC_PAGE_SIZE): Likewise.
21343 [POSIX] (_SC_PASS_MAX): Likewise.
21344 [POSIX] (_SC_PIPE): Likewise.
21345 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
21346 [POSIX] (_SC_REGEXP): Likewise.
21347 [POSIX] (_SC_SHELL): Likewise.
21348 [POSIX] (_SC_SIGNALS): Likewise.
21349 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
21350 [POSIX] (_SC_SPIN_LOCKS): Likewise.
21351 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
21352 [POSIX] (_SC_USER_GROUPS): Likewise.
21353 [POSIX] (_SC_USER_GROUPS_R): Likewise.
21354 [POSIX] (_SC_STREAMS): Likewise.
21355 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
21356 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
21357 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
21358 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
21359 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
21360 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
21361 [POSIX] (_PC_FILESIZEBITS): Likewise.
21362 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
21363 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
21364 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
21365 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
21366 [POSIX] (uid_t): Likewise.
21367 [POSIX] (gid_t): Likewise.
21368 [POSIX] (off_t): Likewise.
21369 [POSIX] (pid_t): Likewise.
21370 [POSIX] (cuserid): Allow.
21371 (_SC_2_CHAR_TERM): Require constant.
21372 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
21373 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
21374 variable.
21375
21376 2015-05-20 Roland McGrath <roland@hack.frob.com>
21377
21378 * sysdeps/nacl/pthread-pids.h: New file.
21379 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
21380 (create_thread): Use __nacl_get_tid to initialize PD->tid.
21381
21382 * nptl/pthread-pids.h: New file.
21383 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
21384 * nptl/nptl-init.c: Include <pthread-pids.h>.
21385 (__pthread_initialize_minimal_internal):
21386 Call __pthread_initialize_pids instead of set_tid_address syscall.
21387
21388 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
21389 * sysdeps/posix/usleep.c: ... here.
21390
21391 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21392
21393 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
21394 call_pselect6 object.
21395 [$(subdir) = io]: Remove call_sync_file_range object.
21396 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
21397 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
21398 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
21399 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
21400
21401 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
21402
21403 * math/s_cproj.c: Add include "math_private.h".
21404 * math/s_cprojf.c: Likewise.
21405 * math/s_cprojl.c: Likewise.
21406
21407 2015-05-19 Joseph Myers <joseph@codesourcery.com>
21408
21409 [BZ #18244]
21410 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
21411 high mantissa bit when testing whether P is a NaN.
21412 * math/libm-test.inc (remainder_test_data): Add more tests.
21413 (remquo_test_data): Likewise.
21414
21415 [BZ #18049]
21416 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
21417 below -32, return the argument, with underflow if subnormal.
21418 * math/auto-libm-test-in: Add more tests of atanh.
21419 * math/auto-libm-test-out: Regenerated.
21420
21421 2015-05-19 Roland McGrath <roland@hack.frob.com>
21422
21423 [BZ #18434]
21424 * nptl/tst-sem15.c: New file.
21425 * nptl/Makefile (tests): Add it.
21426 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
21427 s/<</>>/ to fix typo in EOVERFLOW check.
21428 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
21429
21430 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21431
21432 * manual/strings.texi (envz_remove): Fix typo in safety
21433 annotations.
21434
21435 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
21436 Steve Ellcey <sellcey@imgtec.com>
21437
21438 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
21439 in order to avoid strict alias warnings.
21440 (iruserok_af): Ditto for ra.
21441
21442 2015-05-19 James Lemke <jwlemke@codesourcery.com>
21443
21444 [BZ #17581]
21445 * malloc/hooks.c
21446 (magicbyte): Convert to a function and avoid returning 0x01.
21447 (mem2mem_check): Avoid using a length byte equal to the magic byte.
21448 (mem2chunk_check): Fix unsigned comparisons to zero.
21449 Hoist defs of sz and magic.
21450
21451 2015-05-19 Richard Henderson <rth@redhat.com>
21452
21453 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
21454
21455 * sysdeps/alpha/fpu/libm-test-ulps: Update.
21456
21457 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21458
21459 [BZ #16159]
21460 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
21461 * malloc/arena.c (arena_lock): Check if arena is corrupt.
21462 (reused_arena): Find a non-corrupt arena.
21463 (heap_trim): Pass arena to unlink.
21464 * malloc/hooks.c (malloc_check_get_size): Pass arena to
21465 malloc_printerr.
21466 (top_check): Likewise.
21467 (free_check): Likewise.
21468 (realloc_check): Likewise.
21469 * malloc/malloc.c (malloc_printerr): Add arena argument.
21470 (unlink): Likewise.
21471 (munmap_chunk): Adjust.
21472 (ARENA_CORRUPTION_BIT): New macro.
21473 (arena_is_corrupt): Likewise.
21474 (set_arena_corrupt): Likewise.
21475 (sysmalloc): Use mmap if there are no usable arenas.
21476 (_int_malloc): Likewise.
21477 (__libc_malloc): Don't fail if arena_get returns NULL.
21478 (_mid_memalign): Likewise.
21479 (__libc_calloc): Likewise.
21480 (__libc_realloc): Adjust for additional argument to
21481 malloc_printerr.
21482 (_int_free): Likewise.
21483 (malloc_consolidate): Likewise.
21484 (_int_realloc): Likewise.
21485 (_int_memalign): Don't touch corrupt arenas.
21486 * malloc/tst-malloc-backtrace.c: New test case.
21487
21488 * Makefile (summarize-tests): Fix return value on success.
21489
21490 * manual/string.texi (Envz Functions): Add envz_remove.
21491
21492 2015-05-18 Roland McGrath <roland@hack.frob.com>
21493
21494 * sysdeps/posix/opendir.c: Include <stdbool.h>.
21495 (invalid_name): New function, broken out of ...
21496 (__opendirat): ... here. Call it.
21497 (need_isdir_precheck): New function, broken out of ...
21498 (__opendirat): ... here. Call it.
21499 Use __fxstatat64, not __xstatat64.
21500 (opendir_oflags): New function, broken out of ...
21501 (__opendirat): ... here. Call it.
21502 (opendir_tail): New function, broken out of ...
21503 (__opendirat): ... here. Call it.
21504 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
21505 opendir_tail, rather than punting to __opendirat.
21506 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
21507
21508 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21509
21510 * .gitignore: Ignore generated *.pyc.
21511
21512 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
21513
21514 * include/stdio.h: Define __need_wint_t.
21515 * test-skeleton.c: Avoid `for' loop initial declaration.
21516 * nptl/tst-initializers1.c: Use test-skeleton.c.
21517
21518 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21519
21520 [BZ #18418]
21521 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
21522
21523 2015-05-15 Joseph Myers <joseph@codesourcery.com>
21524
21525 [BZ #16352]
21526 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
21527 (__ieee754_atanh): Force underflow exception for results with
21528 small absolute value.
21529 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
21530 (__ieee754_atanhf): Force underflow exception for results with
21531 small absolute value.
21532 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
21533 (__ieee754_atanh): Force underflow exception for results with
21534 small absolute value.
21535 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
21536 (__ieee754_atanhf): Force underflow exception for results with
21537 small absolute value.
21538 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
21539 (__ieee754_atanhl): Force underflow exception for results with
21540 small absolute value.
21541 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
21542 (__ieee754_atanhl): Force underflow exception for results with
21543 small absolute value.
21544 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
21545 (__ieee754_atanhl): Force underflow exception for results with
21546 small absolute value.
21547 * math/auto-libm-test-in: Do not allow missing underflow
21548 exceptions from atanh.
21549 * math/auto-libm-test-out: Regenerated.
21550
21551 [BZ #18221]
21552 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
21553 2**-28 as threshold for returning x or +/- 1/x.
21554 * math/auto-libm-test-in: Add more tests of tan.
21555 * math/auto-libm-test-out: Regenerated.
21556
21557 [BZ #18220]
21558 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
21559 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
21560 * math/auto-libm-test-in: Add another test of lgamma.
21561 * math/auto-libm-test-out: Regenerated.
21562
21563 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
21564
21565 * stdio-common/printf_fp.c (___printf_fp): Use abs.
21566 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
21567 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
21568 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
21569 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
21570 (ADD2A): Use fabs. (SUB2A): Use fabs.
21571 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
21572 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
21573 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
21574 (log1): Use fabs. (my_log2): Use fabs.
21575 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
21576 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
21577 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
21578 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
21579 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
21580 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
21581 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
21582 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
21583 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
21584 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
21585 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
21586
21587 2015-05-15 Joseph Myers <joseph@codesourcery.com>
21588
21589 [BZ #18217]
21590 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
21591 as threshold for returning 1 - x.
21592 * math/auto-libm-test-in: Add more tests of erfc.
21593 * math/auto-libm-test-out: Regenerated.
21594
21595 2015-05-14 Joseph Myers <joseph@codesourcery.com>
21596
21597 [BZ #18196]
21598 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
21599 threshold for large arguments.
21600 * math/auto-libm-test-in: Add another test of atan.
21601 * math/auto-libm-test-out: Regenerated.
21602
21603 [BZ #16339]
21604 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
21605 (__log1p): Force underflow exception for results with small
21606 absolute value.
21607 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
21608 (__log1pf): Force underflow exception for results with small
21609 absolute value.
21610 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
21611 (__log1p): Force underflow exception for results with small
21612 absolute value.
21613 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
21614 (__log1pf): Force underflow exception for results with small
21615 absolute value.
21616 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
21617 (__log1pl): Force underflow exception for results with small
21618 absolute value.
21619 * math/auto-libm-test-in: Do not allow missing underflow
21620 exceptions from log1p.
21621 * math/auto-libm-test-out: Regenerated.
21622
21623 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
21624 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21625
21626 [BZ #16704]
21627 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
21628
21629 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
21630
21631 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
21632 (libmvec): New variable.
21633 * configure.ac: Added option for mathvec build.
21634 * configure: Regenerated.
21635 * mathvec/Depend: New file.
21636 * mathvec/Makefile: New file.
21637 * shlib-versions: Added libmvec.
21638 * math/Makefile: Added rule for libm.so installation.
21639
21640 * bits/math-vector.h: New file.
21641 * bits/libm-simd-decl-stubs.h: New header.
21642 * math/Makefile (headers): Added new header
21643 libm-simd-decl-stubs.h.
21644 * math/math.h (__MATHCALL_VEC): New macro.
21645
21646 * math/gen-libm-have-vector-test.sh: Script generates series of macros
21647 for conditions in testing functions.
21648 * math/Makefile: Added call of libm-have-vector-test.sh.
21649 * math/libm-test.inc (HAVE_VECTOR): New macros.
21650
21651 * math/libm-test.inc: START refactored.
21652 * math/test-double.c (TEST_MATHVEC): Add define.
21653 * math/test-float.c: Likewise.
21654 * math/test-idouble.c: Likewise.
21655 * math/test-ifloat.c: Likewise.
21656 * math/test-ildoubl.c: Likewise.
21657 * math/test-ldouble.c: Likewise.
21658 * sysdeps/generic/math-tests-arch.h
21659 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
21660 architecture check.
21661
21662 * math/test-double.c (FUNC_TEST): New macro.
21663 * math/test-float.c: Likewise.
21664 * math/test-idouble.c: Likewise.
21665 * math/test-ifloat.c: Likewise.
21666 * math/test-ildoubl.c: Likewise.
21667 * math/test-ldouble.c: Likewise.
21668 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
21669
21670 2015-05-13 Roland McGrath <roland@hack.frob.com>
21671
21672 * sysdeps/nacl/fdopendir.c: New file.
21673
21674 * dirent/scandir-tail.c: New file.
21675 * dirent/scandir64-tail.c: New file.
21676 * dirent/Makefile (routines): Add them.
21677 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
21678 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
21679 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
21680 [!SCANDIR] (SCANDIR_TAIL): New macro.
21681 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
21682 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
21683 (SCANDIRAT): Macro removed.
21684 (SCANDIR_TAIL): New macro.
21685 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
21686 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
21687 (SCANDIRAT): Just call __opendirat and __scandir_tail.
21688 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
21689 (READDIR): Macro removed.
21690 (SCANDIR_TAIL): New macro.
21691 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
21692 (SCANDIR_TAIL): New macro.
21693
21694 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
21695 * dirent/scandir-cancel.c: ... to this new file.
21696 * dirent/Makefile (routines): Add it.
21697 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
21698 * sysdeps/unix/sysv/linux/i386/scandir64.c
21699 (SKIP_SCANDIR_CANCEL): Macro removed.
21700 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
21701
21702 * dirent/tst-scandir.c: New file.
21703 * dirent/tst-scandir64.c: New file.
21704 * dirent/Makefile (tests): Add them.
21705
21706 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
21707
21708 [BZ #18409]
21709 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
21710
21711 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
21712
21713 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
21714 list.
21715
21716 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
21717
21718 * benchtests/bench-strcoll.c: New benchmark.
21719 * benchtests/Makefile: Generate locales and run benchmark.
21720 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
21721 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
21722 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
21723 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
21724 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
21725 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
21726 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
21727 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
21728 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
21729 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
21730 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
21731 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
21732 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
21733 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
21734 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
21735 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
21736 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
21737 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
21738 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
21739 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
21740 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
21741 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
21742 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
21743 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
21744
21745 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
21746
21747 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
21748 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
21749
21750 2015-05-12 Roland McGrath <roland@hack.frob.com>
21751
21752 * posix/uname-values.h: New file.
21753 * posix/uname.c: Include that instead of <config-name.h>.
21754 * sysdeps/nacl/uname-values.h: New file.
21755 * sysdeps/arm/nacl/uname-values.h: New file.
21756
21757 2015-05-12 Joseph Myers <joseph@codesourcery.com>
21758
21759 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
21760 splitting into fields.
21761
21762 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
21763
21764 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
21765 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
21766 * locale/localeinfo.h: Add enum collation_encoding_type.
21767 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
21768 * programs/ld-collate.c (collate_output): Add encoding type info.
21769 * string/strcoll_l.c (STRDIFF): New function.
21770 * (STRCOLL): Use STRDIFF to skip over equal prefix.
21771 * wcsmbs/wcscoll_l.c: Define STRDIFF.
21772
21773 2015-05-11 Joseph Myers <joseph@codesourcery.com>
21774
21775 [BZ #18397]
21776 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
21777 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
21778 <fpu_control.h> instead of <math/fpu_control.c>.
21779 * sysdeps/mips/mips32/fpu/Makefile: New file.
21780
21781 2015-05-11 Andreas Schwab <schwab@suse.de>
21782
21783 [BZ #18007]
21784 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
21785 nss_endgrent.
21786 (_nss_compat_endgrent): Call nss_endgrent.
21787 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
21788 nss_endpwent.
21789 (_nss_compat_endpwent): Call nss_endpwent.
21790 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
21791 needent, call nss_setspent only if non-zero.
21792 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
21793 (internal_endspent): Don't call nss_endspent.
21794 (_nss_compat_endspent): Call nss_endspent.
21795 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
21796 Remove. All uses removed.
21797 (internal_setent): Remove parameter stayopen, add parameter
21798 stream. Use it instead of global variable.
21799 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
21800 (internal_endent, internal_getent): Add parameter stream. Use it
21801 instead of global variable.
21802 (CONCAT(_nss_files_end,ENTNAME))
21803 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
21804 (_nss_files_get##name##_r): Pass local stream. Remove locking.
21805 * nss/nss_files/files-alias.c (position, last_use): Remove. All
21806 uses removed.
21807 (internal_setent, internal_endent): Add parameter stream. Use it
21808 instead of global variable.
21809 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
21810 stream.
21811 (get_next_alias): Add parameter stream.
21812 (_nss_files_getaliasent_r): Pass global stream.
21813 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
21814 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
21815 (_nss_files_gethostbyname4_r): Pass local stream to
21816 internal_setent, internal_getent and internal_endent. Remove
21817 locking.
21818
21819 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
21820
21821 * tst-strfmon1.c (tests): Update expected currency symbol.
21822
21823 2015-05-08 Roland McGrath <roland@hack.frob.com>
21824
21825 * sysdeps/nacl/gethostname.c: New file.
21826
21827 2015-05-08 Joseph Myers <joseph@codesourcery.com>
21828
21829 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
21830 and sinh.
21831 * math/auto-libm-test-out: Regenerated.
21832 * sysdeps/i386/fpu/libm-test-ulps: Update.
21833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21834
21835 2015-05-08 Carlos O'Donell <carlos@redhat.com>
21836
21837 [BZ #18125]
21838 * stdlib/tst-setcontext3.c: New file.
21839 * stdlib/tst-setcontext3.sh: New file.
21840 * stdlib/Makefile (tests): Add tst-setcontext3.
21841 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
21842 to verify test program created output file.
21843 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
21844 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
21845 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
21846 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
21847
21848 2015-05-06 Roland McGrath <roland@hack.frob.com>
21849
21850 [BZ #18383]
21851 * elf/tst-tlsalign.c: New file.
21852 * elf/tst-tlsalign-static.c: New file.
21853 * elf/tst-tlsalign-lib.c: New file.
21854 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
21855 (tests-static): Add tst-tlsalign-static.
21856 (modules-names): Add tst-tlsalign-lib.
21857 (test-xfail-tst-tlsalign): New variable.
21858 (test-xfail-tst-tlsalign-static): New variable.
21859
21860 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
21861 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
21862
21863 2015-05-06 Joseph Myers <joseph@codesourcery.com>
21864
21865 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
21866 csqrt, erfc, sin and sincos.
21867 * math/auto-libm-test-out: Regenerated.
21868 * sysdeps/i386/fpu/libm-test-ulps: Update.
21869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21870
21871 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
21872
21873 * sysdeps/aarch64/libm-test-ulps: Update.
21874
21875 2015-05-05 Joseph Myers <joseph@codesourcery.com>
21876
21877 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
21878 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
21879 * math/auto-libm-test-out: Regenerated.
21880 * sysdeps/i386/fpu/libm-test-ulps: Update.
21881 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21882
21883 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
21884
21885 [BZ #18265]
21886 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
21887 (wcsncpy): Likewise.
21888
21889 2015-05-05 Florian Weimer <fweimer@redhat.com>
21890
21891 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
21892 Assume __ASSUME_FALLOCATE is always true.
21893 * sysdeps/unix/sysv/linux/posix_fallocate64.c
21894 (__posix_fallocate64_l64): Likweise.
21895 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
21896 (posix_fallocate): Likewise.
21897 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
21898 (__posix_fallocate64_l64): Likewise.
21899 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
21900 [!__ASSUME_FALLOCATE]: Add comment.
21901
21902 2015-05-05 Florian Weimer <fweimer@redhat.com>
21903
21904 * sysdeps/unix/sysv/linux/i386/Makefile
21905 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
21906 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
21907 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
21908 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
21909 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
21910 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
21911 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
21912
21913 2015-05-02 Joseph Myers <joseph@codesourcery.com>
21914
21915 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
21916 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
21917 tgamma.
21918 * math/auto-libm-test-out: Regenerated.
21919 * sysdeps/i386/fpu/libm-test-ulps: Update.
21920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21921
21922 2015-05-01 Joseph Myers <joseph@codesourcery.com>
21923
21924 * math/auto-libm-test-in: Add more tests of tgamma.
21925 * math/auto-libm-test-out: Regenerated.
21926 * sysdeps/i386/fpu/libm-test-ulps: Update.
21927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21928
21929 * math/auto-libm-test-in: Add more tests of tanh.
21930 * math/auto-libm-test-out: Regenerated.
21931 * sysdeps/i386/fpu/libm-test-ulps: Update.
21932 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21933
21934 * math/auto-libm-test-in: Add more tests of tan.
21935 * math/auto-libm-test-out: Regenerated.
21936 * sysdeps/i386/fpu/libm-test-ulps: Update.
21937 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21938
21939 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
21940 * math/auto-libm-test-out: Regenerated.
21941 * sysdeps/i386/fpu/libm-test-ulps: Update.
21942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21943
21944 * math/auto-libm-test-in: Add another test of pow.
21945 * math/auto-libm-test-out: Regenerated.
21946 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21947
21948 * math/auto-libm-test-in: Add more tests of lgamma.
21949 * math/auto-libm-test-out: Regenerated.
21950 * sysdeps/i386/fpu/libm-test-ulps: Update.
21951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21952
21953 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
21954 log1p.
21955 * math/auto-libm-test-out: Regenerated.
21956 * sysdeps/i386/fpu/libm-test-ulps: Update.
21957 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21958
21959 2015-05-01 Mark Wielaard <mjw@redhat.com>
21960
21961 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
21962 Elf64_Chdr structs and ELFCOMPRESS constants.
21963
21964 2015-05-01 Joseph Myers <joseph@codesourcery.com>
21965
21966 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
21967 expm1.
21968 * math/auto-libm-test-out: Regenerated.
21969 * sysdeps/i386/fpu/libm-test-ulps: Update.
21970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21971
21972 * math/auto-libm-test-in: Add more tests of erf and erfc.
21973 * math/auto-libm-test-out: Regenerated.
21974 * sysdeps/i386/fpu/libm-test-ulps: Update.
21975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21976
21977 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
21978
21979 * config.h.in (HAVE_AARCH64_BE): Add.
21980
21981 2015-04-30 Joseph Myers <joseph@codesourcery.com>
21982
21983 * math/auto-libm-test-in: Add more tests of csqrt.
21984 * math/auto-libm-test-out: Regenerated.
21985 * sysdeps/i386/fpu/libm-test-ulps: Update.
21986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21987
21988 * math/auto-libm-test-in: Add more tests of cosh and sinh.
21989 * math/auto-libm-test-out: Regenerated.
21990 * sysdeps/i386/fpu/libm-test-ulps: Update.
21991 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21992
21993 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
21994
21995 2015-04-29 Roland McGrath <roland@hack.frob.com>
21996
21997 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
21998 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
21999
22000 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
22001 (euidaccess, eaccess): Define as weak aliases.
22002
22003 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
22004 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
22005 but __suseconds_t is often 'long int' so some sources assume that
22006 type is being used (e.g. they use %ld to print tv_usec).
22007
22008 2015-04-29 Florian Weimer <fweimer@redhat.com>
22009
22010 [BZ #18007]
22011 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
22012 (CVE-2014-8121)
22013 * nss/tst-nss-getpwent.c: New file.
22014 * nss/Makefile (tests): Add new test.
22015
22016 2015-04-28 Joseph Myers <joseph@codesourcery.com>
22017
22018 [BZ #18346]
22019 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
22020 exponents less than 48 as cases where high part of mantissa needs
22021 examining to determine whether argument is integral.
22022 * math/libm-test.inc (round_test_data): Add more tests.
22023
22024 2015-04-28 Mark Wielaard <mjw@redhat.com>
22025
22026 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
22027
22028 2015-04-27 David S. Miller <davem@davemloft.net>
22029
22030 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
22031 __tls_get_addr.
22032 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
22033
22034 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
22035
22036 [BZ#18333]
22037 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
22038
22039 2015-04-27 Florian Weimer <fweimer@redhat.com>
22040
22041 [BZ#18333]
22042 * time/tzset.c (parse_tzname): Return error on memory allocation
22043 failure.
22044 * test-skeleton.c (struct temp_name_list): Change type of name
22045 member to non-const.
22046 (add_temp_file): Create a copy of the file name.
22047 (delete_temp_files): Deallocate memory.
22048 (create_temp_file): Add comment.
22049
22050 2015-04-24 Florian Weimer <fweimer@redhat.com>
22051
22052 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
22053 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
22054
22055 2015-04-24 Roland McGrath <roland@hack.frob.com>
22056
22057 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
22058 * sysdeps/arm/configure: Regenerated.
22059
22060 2015-04-24 Florian Weimer <fweimer@redhat.com>
22061
22062 [BZ #17715]
22063 * time/tzfile.c (__tzfile_read): Check for large values of
22064 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
22065 * time/tzset.c (__tzstring_len): New function, based on the old
22066 __tzstring function.
22067 (__tzstring): Call __tzstring_len.
22068 (parse_tzname): New helper function extracted from
22069 __tzset_parse_tz. Call __tzstring_len, without making a copy of
22070 the input string.
22071 (parse_offset): New helper function extracted from
22072 __tzset_parse_tz. Replace switch with fallthrough with
22073 initialization before sscanf.
22074 (parse_rule): Likewise.
22075 (__tzset_parse_tz): Rewrite using the new helper functions. Use
22076 new-style function definition.
22077 * timezone/Makefile (tests): Add tst-tzset.
22078 (tst-tzset.out): Dependencies on time zone files.
22079 (tst-tzset-ENV): Set TZDIR.
22080 (testdata/XT%): Copy crafted time zone files.
22081 * timezone/README: Mention crafted time zone files.
22082 * timezone/testdata/XT1, timezone/testdata/XT2,
22083 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
22084 files.
22085 * timezone/tst-tzset.c: New test.
22086
22087 2015-04-24 Florian Weimer <fweimer@redhat.com>
22088
22089 * Makeconfig (+gccwarn): Remove -Winline.
22090
22091 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
22092
22093 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
22094
22095 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
22096
22097 * NEWS: Mention sysconf() cache information support for s390.
22098 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
22099
22100 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
22101
22102 * math/k_casinh.c (__kernel_casinh): Use __copysign.
22103 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
22104 (__nearbyint): Likewise.
22105 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
22106 (copysignl): Likewise.
22107
22108 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
22109
22110 [BZ #18287]
22111 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
22112 based on padding. (CVE-2015-1781)
22113
22114 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22115
22116 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
22117 libc-vdso.h.
22118 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
22119 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
22120 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
22121 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
22122 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
22123 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
22124 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
22125 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
22126 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
22127 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
22128 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
22129 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
22130 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
22131 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
22132 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
22133 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
22134 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
22135 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
22136 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
22137 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
22138 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
22139 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
22140 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
22141
22142 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
22143
22144 * stdlib/setenv.c (__add_to_environ):
22145 Dump core quickly if setenv (..., NULL, ...) is called.
22146 This time, do it the right way, and pacify GCC with a pragma.
22147
22148 2015-04-17 Roland McGrath <roland@hack.frob.com>
22149
22150 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
22151 IMAP->l_prev cannot be null, and #if out the code for the contrary
22152 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
22153 believe that NS (&_dl_ns[NSID]) could point outside the array.
22154
22155 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
22156 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
22157 before using NSID as an index.
22158
22159 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
22160
22161 [BZ #17825]
22162 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
22163 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
22164 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
22165
22166 2015-04-17 Roland McGrath <roland@hack.frob.com>
22167
22168 Add preliminary port to Google Native Client on ARM.
22169 * abi-tags (.*-.*-nacl.*): New entry.
22170 * sysdeps/arm/nacl: New directory.
22171 * sysdeps/nacl: New directory.
22172
22173 2015-04-16 David S. Miller <davem@davemloft.net>
22174
22175 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
22176 lowlevellock-futex.h
22177
22178 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
22179
22180 * sysdeps/tile/configure.ac: New file.
22181 * sysdeps/tile/configure: Regenerated.
22182
22183 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22184
22185 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
22186 conditionals for weak_alias and libc_hidden_weak.
22187 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
22188 libc_hidden_weak and weak_alias.
22189 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
22190 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
22191 and weak_alias for static one.
22192
22193 2015-04-15 David S. Miller <davem@davemloft.net>
22194
22195 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
22196
22197 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
22198
22199 [BZ #18206]
22200 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
22201 Use signed comparision instead of substraction to avoid
22202 overflow bug.
22203 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
22204 Take the sign of ret.
22205 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
22206 Do not expect precise return values. Only the sign matters.
22207 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
22208 * wcsmbs/test-wcsncmp.c: New File.
22209 * string/test-strncmp.c: Add wcsncmp support.
22210
22211 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
22212
22213 [BZ #6792]
22214 * math/w_log1p.c: New file.
22215 * math/w_log1pf.c: Likewise.
22216 * math/w_log1pl.c: Likewise.
22217 * math/Makefile (libm-calls): Add w_log1p.
22218 * math/s_log1pl.c (log1pl): Remove weak_alias.
22219 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
22220 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
22221 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
22222 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
22223 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
22224 [NO_LONG_DOUBLE] (log1pl): Likewise.
22225 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
22226 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
22227 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
22228 (log1p): Remove long_double_symbol.
22229 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
22230 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
22231 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
22232 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
22233 remove weak_alias for corresponding log1p function.
22234 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
22235 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
22236 * sysdeps/ia64/fpu/w_log1p.c: New file.
22237 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
22238 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
22239 * math/libm-test.inc (log1p_test_data): Add errno expectations.
22240
22241 2015-04-10 Joseph Myers <joseph@codesourcery.com>
22242
22243 [BZ #18247]
22244 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
22245 decimal exponent by 1.
22246 * stdlib/tst-strtod-round-data: Add more tests.
22247 * stdlib/tst-strtod-round.c (tests): Regenerated.
22248
22249 2015-04-09 Joseph Myers <joseph@codesourcery.com>
22250
22251 * math/auto-libm-test-in: Add more tests of clog and clog10.
22252 * math/auto-libm-test-out: Regenerated.
22253 * sysdeps/i386/fpu/libm-test-ulps: Update.
22254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22255
22256 2015-04-09 Roland McGrath <roland@hack.frob.com>
22257
22258 * Makeconfig (module-cppflags): Exclude all .v.i files.
22259 (skip-module-cppflags): Variable removed.
22260
22261 * configure.ac (libc_config_ok): Initialize before reading
22262 preconfigure scripts, not after.
22263 * configure: Regenerated.
22264
22265 * test-skeleton.c (TIMEOUT): Move #define to top level.
22266 (main): Grok environment variable TEST_DIRECT. If set, print
22267 test expectation details into that file and then behave as if
22268 given --direct.
22269
22270 2015-04-09 Florian Weimer <fweimer@redhat.com>
22271
22272 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
22273 warning on 32-bit.
22274
22275 2015-04-08 David S. Miller <davem@davemloft.net>
22276
22277 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22278
22279 2015-04-08 Joseph Myers <joseph@codesourcery.com>
22280
22281 * math/auto-libm-test-in: Add more tests of atanh.
22282 * math/auto-libm-test-out: Regenerated.
22283 * sysdeps/i386/fpu/libm-test-ulps: Update.
22284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22285
22286 * math/auto-libm-test-in: Add more tests of atan.
22287 * math/auto-libm-test-out: Regenerated.
22288 * sysdeps/i386/fpu/libm-test-ulps: Update.
22289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22290
22291 2015-04-08 Florian Weimer <fweimer@redhat.com>
22292
22293 * elf/pldd.c (main): Rewrite to use struct
22294 scratch_buffer instead of extend_alloca.
22295 * elf/pldd-xx.c (find_maps): Likewise.
22296 * grp/initgroups.c: Include <scratch_buffer.h> instead of
22297 <alloca.h>.
22298 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
22299 scratch_buffer instead of extend_alloca.
22300 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
22301 grp/compat-initgroups.c.
22302 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
22303 Rewrite to use struct scratch_buffer instead of extend_alloca.
22304 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
22305 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
22306
22307 2015-04-08 Joseph Myers <joseph@codesourcery.com>
22308
22309 * math/auto-libm-test-in: Add more tests of cbrt.
22310 * math/auto-libm-test-out: Regenerated.
22311 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22312
22313 * math/auto-libm-test-in: Add more tests of cabs.
22314 * math/auto-libm-test-out: Regenerated.
22315 * sysdeps/i386/fpu/libm-test-ulps: Update.
22316 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22317
22318 [BZ #18210]
22319 [BZ #18211]
22320 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
22321 (__ieee754_atan2): Set FE_TONEAREST mode for internal
22322 computations.
22323 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
22324 clog10.
22325 * math/auto-libm-test-out: Regenerated.
22326 * sysdeps/i386/fpu/libm-test-ulps: Update.
22327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22328
22329 [BZ #18197]
22330 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
22331 (atan): Set FE_TONEAREST mode for internal computations.
22332 * math/auto-libm-test-in: Add more tests of atan.
22333 * math/auto-libm-test-out: Regenerated.
22334
22335 2015-04-07 James Cowgill <james410@cowgill.org.uk>
22336
22337 [BZ #17930]
22338 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
22339
22340 2015-04-07 Florian Weimer <fweimer@redhat.com>
22341
22342 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
22343
22344 2015-04-07 Florian Weimer <fweimer@redhat.com>
22345
22346 * include/scratch_buffer.h: New file.
22347 * malloc/scratch_buffer_grow.c: Likewise.
22348 * malloc/scratch_buffer_grow_preserve.c: Likewise.
22349 * malloc/scratch_buffer_set_array_size.c: Likewise.
22350 * malloc/tst-scratch_buffer.c: Likewise.
22351 * malloc/Makefile (routines): Add scratch_buffer_grow.
22352 (tests): Add test case.
22353 * malloc/Versions (GLIBC_PRIVATE): Export
22354 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
22355 __libc_scratch_buffer_set_array_size.
22356
22357 2015-04-06 Richard Henderson <rth@redhat.com>
22358
22359 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
22360 * sysdeps/alpha/fpu/libm-test-ulps: Update.
22361
22362 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
22363 unsigned int before printing.
22364
22365 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22366
22367 [BZ #17596]
22368 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
22369 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
22370
22371 2015-04-02 Florian Weimer <fweimer@redhat.com>
22372
22373 * include/libc-internal.h (libc_max_align_t): Define.
22374
22375 2015-04-02 Andreas Schwab <schwab@suse.de>
22376
22377 [BZ #16850]
22378 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
22379
22380 2015-04-02 Mel Gorman <mgorman@suse.de>
22381
22382 [BZ #17195]
22383 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
22384 as well as the main arena.
22385
22386 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
22387
22388 [BZ #18185]
22389 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
22390 sharing L2 cache to 2 for Silvermont/Knights Landing.
22391
22392 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
22393
22394 [BZ #17711]
22395 * config.make.in (have-protected-data): New.
22396 * configure.ac: Check linker support for protected data symbol.
22397 * configure: Regenerated.
22398 * elf/Makefile (modules-names): Add tst-protected1moda and
22399 tst-protected1modb if $(have-protected-data) is yes.
22400 (tests): Add tst-protected1a and tst-protected1b if
22401 $(have-protected-data) is yes.
22402 ($(objpfx)tst-protected1a): New.
22403 ($(objpfx)tst-protected1b): Likewise.
22404 (tst-protected1modb.so-no-z-defs): Likewise.
22405 * elf/tst-protected1a.c: New file.
22406 * elf/tst-protected1b.c: Likewise.
22407 * elf/tst-protected1mod.h: Likewise.
22408 * elf/tst-protected1moda.c: Likewise.
22409 * elf/tst-protected1modb.c: Likewise.
22410
22411 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
22412
22413 [BZ #17711]
22414 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
22415 indicates it is called from do_lookup_x on relocation against
22416 protected data, skip the data definion in the executable from
22417 copy reloc.
22418 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
22419 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
22420 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
22421 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
22422 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
22423 otherwise to 0.
22424 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
22425 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
22426 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
22427 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
22428 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
22429 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
22430
22431 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
22432
22433 * sysdeps/nptl/pthread.h: Remove duplicate definition of
22434 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
22435
22436 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
22437
22438 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
22439 THREAD_SETMEM_NC.
22440 * sysdeps/x86_64/nptl/tls.h: Ditto.
22441
22442 2015-03-27 Roland McGrath <roland@hack.frob.com>
22443
22444 * dlfcn/tststatic.c (main): Converted to ...
22445 (do_test): ... this.
22446 (TEST_FUNCTION): New macro.
22447 Include test-skeleton.c.
22448
22449 2015-03-26 Alan Modra <amodra@gmail.com>
22450
22451 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
22452 Don't segfault if ifunc resolver returns a NULL. Do set plt to
22453 zero for undefined weak.
22454 (elf_machine_plt_conflict): Similarly.
22455
22456 2015-03-25 Joseph Myers <joseph@codesourcery.com>
22457
22458 * math/auto-libm-test-in: Add more tests of acosh, asinh and
22459 atanh.
22460 * math/auto-libm-test-out: Regenerated.
22461 * sysdeps/i386/fpu/libm-test-ulps: Update.
22462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22463
22464 * math/auto-libm-test-in: Add another test of asin.
22465 * math/auto-libm-test-out: Regenerated.
22466 * sysdeps/i386/fpu/libm-test-ulps: Update.
22467 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22468
22469 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
22470 Remove macro.
22471 (LLL_EBX_REG): Likewise.
22472 (LLL_ENTER_KERNEL): Likewise.
22473
22474 * math/auto-libm-test-in: Add more tests of asin.
22475 * math/auto-libm-test-out: Regenerated.
22476 * sysdeps/i386/fpu/libm-test-ulps: Update.
22477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22478
22479 [BZ #18138]
22480 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
22481 libc_do_syscall_args): New structure.
22482 (INTERNAL_SYSCALL_MAIN_0): New macro.
22483 (INTERNAL_SYSCALL_MAIN_1): Likewise.
22484 (INTERNAL_SYSCALL_MAIN_2): Likewise.
22485 (INTERNAL_SYSCALL_MAIN_3): Likewise.
22486 (INTERNAL_SYSCALL_MAIN_4): Likewise.
22487 (INTERNAL_SYSCALL_MAIN_5): Likewise.
22488 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
22489 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
22490 Replace conditional definitions by conditional definitions of ....
22491 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
22492 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
22493 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
22494 (libpthread-sysdep_routines): Add libc-do-syscall.
22495 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
22496 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
22497 to __NR_futex not 240.
22498
22499 2015-03-25 Alan Modra <amodra@gmail.com>
22500
22501 * NEWS: Advertise TLS optimization.
22502 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
22503 (DT_PPC_NUM): Increment.
22504 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
22505 (CHECK_STATIC_TLS): Use here.
22506 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
22507 TLS descriptors.
22508 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22509 * sysdeps/powerpc/dl-tls.c: New file.
22510 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
22511 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
22512 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
22513 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
22514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
22515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
22516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
22517
22518 2015-03-25 Alan Modra <amodra@gmail.com>
22519
22520 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
22521 for overlapping .opd entries" to "support...".
22522 * sysdeps/powerpc/powerpc64/configure: Regenerate
22523
22524 2015-03-25 Joseph Myers <joseph@codesourcery.com>
22525
22526 * math/auto-libm-test-in: Add more tests of acos.
22527 * math/auto-libm-test-out: Regenerated.
22528 * sysdeps/i386/fpu/libm-test-ulps: Update.
22529 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22530
22531 * math/auto-libm-test-in: Add more tests of expm1.
22532 * math/auto-libm-test-out: Regenerated.
22533 * sysdeps/i386/fpu/libm-test-ulps: Update.
22534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22535
22536 2015-03-24 Joseph Myers <joseph@codesourcery.com>
22537
22538 * math/auto-libm-test-in: Add more tests of cosh and sinh.
22539 * math/auto-libm-test-out: Regenerated.
22540 * sysdeps/i386/fpu/libm-test-ulps: Update.
22541 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22542
22543 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
22544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22545
22546 * math/auto-libm-test-in: Add more tests of log2.
22547 * math/auto-libm-test-out: Regenerated.
22548 * sysdeps/i386/fpu/libm-test-ulps: Update.
22549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22550
22551 2015-03-23 Roland McGrath <roland@hack.frob.com>
22552
22553 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
22554 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
22555 _IO_IS_APPENDING bit in READ_WRITE instead.
22556
22557 2015-03-23 Florian Weimer <fweimer@redhat.com>
22558
22559 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
22560 (__determine_cpumask_size): Replace extend_alloca with a
22561 variable-length array. Do not treat res == 0 as an error.
22562
22563 2015-03-23 Florian Weimer <fweimer@redhat.com>
22564
22565 [BZ #18100]
22566 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
22567 and integer overflow.
22568 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
22569 (main): Add integer overflow tests.
22570 * manual/pattern.texi (Calling Wordexp): Document additional use
22571 for WRDE_SYNTAX.
22572
22573 2015-03-23 Alan Modra <amodra@gmail.com>
22574
22575 * config.h.in: Remove HAVE_ASM_PPC_REL16.
22576 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
22577 and false branch of conditional.
22578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
22579 Likewise.
22580
22581 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
22582
22583 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
22584 libc-modules.h
22585 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
22586 unused declaration of _hurd_intr_rpc_msg_in_trap.
22587 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
22588 defined instead of whether it is non-zero.
22589 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
22590 input constraint instead of both input and output constraint. Use ecx
22591 clobber instead of %ecx.
22592 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
22593 mutex_unlock): Use a statement expression instead of an expression list.
22594 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
22595 type to vm_size_t instead of vm_address_t.
22596 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
22597 defined instead of whether it is non-zero.
22598 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
22599 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
22600 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
22601 comparisons with mapaddr.
22602 * nscd/nscd-client.h: Include <time.h>.
22603 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
22604 9th parameter to __vm_region instead of int.
22605 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
22606 * scripts/check-local-headers.sh (exclude): Add device/,
22607 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
22608 cthreads.h.
22609
22610 2015-03-19 Roland McGrath <roland@hack.frob.com>
22611
22612 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
22613 to account for alignment padding.
22614 * sysdeps/arm/memmove.S: Likewise.
22615
22616 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
22617
22618 * sysdeps/unix/sysv/linux/generic/README: New file.
22619
22620 2015-03-18 Joseph Myers <joseph@codesourcery.com>
22621
22622 [BZ #18138]
22623 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
22624 (futex_abstimed_wait)
22625 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
22626 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
22627 of lll_futex_timed_wait.
22628
22629 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
22630
22631 [BZ #17542]
22632 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
22633
22634 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
22635
22636 [BZ #17090]
22637 [BZ #17620]
22638 [BZ #17621]
22639 [BZ #17628]
22640 * NEWS: Update.
22641 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
22642 entries with Static TLS too. Skip entries past the end of the
22643 allocated DTV, from Alan Modra.
22644 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
22645 Static TLS DTV entry set up from...
22646 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
22647 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
22648 * nptl/allocatestack.c (init_one_static_tls): ... and here...
22649 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
22650 for Static TLS.
22651 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
22652 that the slot we find is associated with the given map before
22653 using its generation count.
22654 * nptl_db/db_info.c: Include ldsodefs.h.
22655 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
22656 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
22657 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
22658 (link_map::l_tls_offset): New struct field.
22659 (dtv_t::counter): Likewise.
22660 (rtld_global): New struct.
22661 (_rtld_global): New rtld variable.
22662 (dl_tls_dtv_slotinfo_list): New rtld global field.
22663 (dtv_slotinfo_list): New struct.
22664 (dtv_slotinfo): Likewise.
22665 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
22666 (td_lookup): Rename to...
22667 (td_mod_lookup): ... this. Use new mod parameter instead of
22668 LIBPTHREAD_SO.
22669 * nptl_db/td_thr_tlsbase.c: Include link.h.
22670 (dtv_slotinfo_list, dtv_slotinfo): New functions.
22671 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
22672 addresses even if the DTV is out of date or missing them.
22673 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
22674 index zero-length arrays.
22675 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
22676 (td_lookup): Make it a macro implemented in terms of...
22677 (td_mod_lookup): ... this declaration.
22678 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
22679 (DB_MAIN_VARIABLE): Likewise.
22680
22681 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
22682
22683 [BZ #18134]
22684 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
22685
22686 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
22687
22688 * stdlib/setenv.c (__add_to_environ): Revert previous change.
22689
22690 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
22691
22692 [BZ #18128]
22693 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
22694 (atomic_add, atomic_increment_and_test)
22695 (atomic_decrement_and_test): Fix 64-bit arithmetic.
22696
22697 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
22698
22699 * stdlib/setenv.c (__add_to_environ):
22700 Dump core quickly if setenv (..., NULL, ...) is called.
22701
22702 2015-03-13 Roland McGrath <roland@hack.frob.com>
22703
22704 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
22705 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
22706 all the necessary asm magic in one place.
22707 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
22708 using those.
22709
22710 2015-03-13 Carlos O'Donell <carlos@redhat.com>
22711
22712 [BZ #14906]
22713 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
22714 traced file mtime. Use consistent log message.
22715 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
22716 (register_traced_file): Call install_watches. Always set mtime.
22717 (invalidate_cache): Iterate over all trace files. Call install_watches.
22718 (inotify_check_files): Don't inline. Handle watching parent
22719 directories and configuration file movement in and out.
22720 (handle_inotify_events): New function.
22721 (main_loop_poll): Call handle_inotify_events.
22722 (main_loop_epoll): Likewise.
22723 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
22724 (struct traced_file): Use array of inotify fds. Add parent directory,
22725 and basename.
22726 (struct database_dyn): Remove unused file_mtime.
22727 (init_traced_file): New inline function.
22728 (define_traced_file): New macro.
22729 * nss/nss_db/db-init.c: Use define_traced_file.
22730 (_nss_db_init): Use init_traced_file.
22731 * nss/nss_files/files-init.c: Use define_traced_file.
22732 (_nss_files_init): Use init_traced_file.
22733
22734 2015-03-12 Joseph Myers <joseph@codesourcery.com>
22735
22736 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
22737 [_LIBC]: Do not include <stdlib.h>.
22738 [!_LIBC] (abort): Remove declaration.
22739 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
22740 _FP_STATIC_ASSERT instead of conditionally calling abort.
22741 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
22742 (_FP_EXTEND_CNAN): Likewise.
22743 (FP_TRUNC): Likewise.
22744 (__FP_CLZ): Likewise.
22745 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
22746
22747 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
22748
22749 * manual/string.texi (XPG basename): Fix prototype.
22750
22751 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
22752
22753 [BZ #18080]
22754 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
22755 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
22756 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
22757 (__setcontext): Likewise.
22758 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
22759 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
22760 Call rt_sigprocmask syscall one time to set new signal mask
22761 and retrieve the current signal mask instead of two calls.
22762 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
22763 (__swapcontext): Likewise.
22764 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
22765 * stdlib/tst-setcontext2.c: New file.
22766
22767 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
22768
22769 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22770
22771 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
22772
22773 [BZ #18093]
22774 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
22775 the wrong size.
22776
22777 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
22778
22779 [BZ #18043]
22780 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
22781
22782 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
22783
22784 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
22785 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
22786 Remove define.
22787 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
22788 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
22789 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
22790 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
22791 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
22792 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
22793 define.
22794 * nptl_db/td_symbol_list.c (td_lookup): Remove
22795 HAVE_ASM_GLOBAL_DOT_NAME code.
22796 * sysdeps/powerpc/powerpc64/configure.ac: Remove
22797 HAVE_ASM_GLOBAL_DOT_NAME check.
22798 * sysdeps/powerpc/powerpc64/configure: Regenerate.
22799 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
22800 (DOT_LABEL): Remove define.
22801 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
22802 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
22803 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
22804 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
22805 (__TLS_GET_ADDR): Likewise.
22806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
22807 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
22808
22809 2015-03-11 Carlos O'Donell <carlos@redhat.com>
22810
22811 [BZ #18111]
22812 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
22813 (_FPU_SETCW): Initialize cw from fpsr before storing.
22814 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
22815 (fesetexceptflag): Rewrite using fpu_control.h.
22816 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
22817
22818 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
22819
22820 [BZ #18110]
22821 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
22822 asms.
22823 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
22824
22825 2015-03-11 Joseph Myers <joseph@codesourcery.com>
22826
22827 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
22828 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
22829 abort.
22830 (_FP_FMA): Likewise.
22831 (_FP_DIV): Likewise.
22832
22833 2015-03-10 Roland McGrath <roland@hack.frob.com>
22834
22835 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
22836 with 0 in that case.
22837 * Makefile (summarize-tests): New canned sequence, factored out of
22838 commands for targets tests and xtests. Display summary lines that
22839 don't start with PASS: or XFAIL: rather than ones that do start with
22840 ERROR: or FAIL:. Make the commands fail if any summary lines fail
22841 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
22842 do start with ERROR: or FAIL:.
22843 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
22844 (except for [$(build-shared) = yes]).
22845 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
22846 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
22847 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
22848 * nptl/Makefile: Revert 2015-03-04 changes.
22849 [$(CXX) empty] (tests-unsupported): New variable.
22850 * debug/Makefile: Likewise.
22851
22852 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
22853 gnulib file. Replace __attribute with __attribute__ throughout.
22854
22855 2015-03-10 Carlos O'Donell <carlos@redhat.com>
22856
22857 * sysdeps/hppa/fpu/libm-test-ulps: Update.
22858
22859 2015-03-10 Joseph Myers <joseph@codesourcery.com>
22860
22861 [BZ #18104]
22862 * math/auto-libm-test-in: Add another test of pow.
22863 * math/auto-libm-test-out: Regenerated.
22864
22865 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22866
22867 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
22868 $(config-cflags-nofma).
22869
22870 2015-03-10 Joseph Myers <joseph@codesourcery.com>
22871
22872 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
22873 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
22874 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
22875 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
22876 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
22877 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
22878 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
22879 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
22880 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
22881 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
22882 Add comment on closing #endif.
22883
22884 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
22885
22886 * posix/wordexp.c (CHAR_IN_SET): New macro.
22887 (parse_param): Use it.
22888
22889 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22890
22891 * sysdeps/powerpc/fpu/libm-test-ulps: update.
22892
22893 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
22894
22895 [BZ #18043]
22896 * posix/wordexp.c (parse_param): Fix buffer overflow.
22897 * posix/wordexp-test.c (test_case): Add test case.
22898
22899 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
22900
22901 [BZ #18042]
22902 * posix/wordexp.c (parse_backtick): Fix off-by-one.
22903 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
22904
22905 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
22906
22907 [BZ #18043]
22908 * posix/wordexp-test.c (test_case): Add test for BZ #18043
22909 (do_bz18043): Delete.
22910 (at_page_end): New.
22911 (testit): Refactor to have words at the edge of unreadable page.
22912
22913 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
22914
22915 [BZ #16734]
22916 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
22917 Cleanup read-only streams as well.
22918 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
22919
22920 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
22921
22922 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
22923 <bits/libc-lockP.h>
22924
22925 2015-03-07 Joseph Myers <joseph@codesourcery.com>
22926
22927 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
22928 on [__KERNEL__].
22929 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
22930 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
22931 * soft-fp/op-common.h (_FP_DECL): Likewise.
22932
22933 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
22934
22935 * elf/ifuncdep2.c (global): Replace
22936 __attribute__((visibility("protected"))) with
22937 asm (".protected global").
22938 * elf/ifuncmod1.c (global): Likewise.
22939 * elf/ifuncmod5.c (global): Likewise.
22940
22941 2015-03-06 Joseph Myers <joseph@codesourcery.com>
22942
22943 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
22944 <asm/sfp-machine.h> instead of <sfp-machine.h>.
22945
22946 2015-03-06 Roland McGrath <roland@hack.frob.com>
22947
22948 * manual/install.texi (Configuring and compiling):
22949 Document test-wrapper-env-only.
22950 * INSTALL: Regenerated.
22951
22952 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22953
22954 [BZ #18043]
22955 * posix/wordexp.c (parse_param): Fix buffer overflow.
22956 * posix/wordexp-test.c (do_bz18043): Add test case.
22957
22958 2015-03-06 Vincent Bernat <vincent@bernat.im>
22959
22960 * time/tst-strptime2.c (do_test): Ensure failing tests are
22961 reported correctly.
22962 * time/tst-strptime3.c (do_test): Likewise.
22963
22964 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
22965
22966 Fix aio_error thread-safety.
22967 * sysdeps/pthread/aio_error.c: New file
22968 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
22969 synchronization.
22970
22971 2015-03-06 Florian Weimer <fweimer@redhat.com>
22972
22973 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
22974 (group_number, vfprintf): Use it.
22975 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
22976 (JUMP, REF): Use it.
22977 (WORK_BUFFER_SIZE): New enum constant.
22978 (process_arg, vfprintf): Use it.
22979
22980 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
22981
22982 * manual/errno.texi (Error Messages): Complete example function
22983 by adding missing #define.
22984 (program_invocation_name): Add statement indicating GNU
22985 extension and reference which header file declares the variable.
22986 (program_invocation_short_name): Likewise.
22987
22988 2015-03-06 Mike Frysinger <vapier@gentoo.org>
22989
22990 * manual/errno.texi (Error Messages): Delete strerror ISO C89
22991 compatibility note.
22992
22993 2015-03-05 Roland McGrath <roland@hack.frob.com>
22994
22995 * Makeconfig (test-wrapper-env-only): New variable.
22996 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
22997 then use that with $(test-wrapper-env-only) rather than using
22998 $(test-wrapper-env) $(run-program-env) $($*-ENV).
22999
23000 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
23001
23002 [BZ #18082]
23003 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
23004 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
23005 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
23006 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
23007 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
23008 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
23009 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
23010 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
23011 Likewise.
23012 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
23013 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
23014 Likewise.
23015 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
23016 Likewise.
23017 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
23018 Likewise.
23019 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
23020 Likewise.
23021 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
23022 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
23023 Likewise.
23024 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
23025 Likewise.
23026 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
23027 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
23028
23029 2015-03-04 Roland McGrath <roland@hack.frob.com>
23030
23031 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
23032 (ETH_ALEN): New macro.
23033 (struct ether_addr): Use it for length of ether_addr_octet.
23034
23035 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
23036 (setdb): Don't call __nss_configure_lookup for "rpc".
23037 (do_test): Don't call test_rpc.
23038 (output_rpcent, test_rpc): Functions moved ...
23039 * sunrpc/test-rpcent.c: ... to this new file.
23040 * sunrpc/Makefile (tests): Add it.
23041
23042 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
23043 __xpg_sigpause.
23044 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
23045 * nptl/tst-signal6.c: Likewise.
23046 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
23047 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
23048
23049 * configure.ac (libc_cv_cxx_link_ok): New check.
23050 Reset CXX to empty if it fails to link.
23051 * configure: Regenerated.
23052 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
23053 bug-atexit3-lib only if $(CXX) is nonempty.
23054 * nptl/Makefile (tests): Likewise for tst-cancel24.
23055 (tests, tests-static): Likewise for tst-cancel24-static.
23056 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
23057 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
23058 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
23059 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
23060
23061 2015-03-04 Andreas Schwab <schwab@suse.de>
23062
23063 [BZ #17631]
23064 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
23065 for non-GCC compilers.
23066 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
23067 Likewise.
23068
23069 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
23070
23071 [BZ #17776]
23072 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
23073 integer before bitwise and assembly operations.
23074 (feclearexcept): Likewise.
23075 * math/test-fenvinline.c: New file.
23076 * math/Makefile: Add test-fenvinline test.
23077
23078 2015-03-03 Alan Modra <amodra@gmail.com>
23079
23080 [BZ #16512]
23081 * scripts/localplt.awk: Strip off symbol version.
23082 * NEWS: Mention bug fix.
23083
23084 2015-03-02 Roland McGrath <roland@hack.frob.com>
23085
23086 * sysdeps/pthread/timer_routines.c
23087 (timer_free_list, thread_free_list, thread_active_list): Make static.
23088
23089 2015-03-02 Joseph Myers <joseph@codesourcery.com>
23090
23091 [BZ #17779]
23092 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
23093 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
23094 Undefine.
23095 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23096 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
23097 Likewise.
23098 * sysdeps/unix/sysv/linux/sh/kernel-features.h
23099 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
23100 Likewise.
23101
23102 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
23103
23104 [BZ #18036]
23105 * posix/fnmatch_loop.c (END): Detect invalid pattern.
23106 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
23107
23108 2015-03-02 Andreas Schwab <schwab@suse.de>
23109
23110 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
23111 variable name.
23112
23113 2015-03-02 Florian Weimer <fweimer@redhat.com>
23114
23115 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
23116 Return error status.
23117
23118 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
23119
23120 [BZ #15969]
23121 * locale/findlocale.c (_nl_find_locale): Introduce const
23122 version of loc_name and drop unsafe type casts.
23123
23124 2015-02-27 Roland McGrath <roland@hack.frob.com>
23125
23126 * dlfcn/tststatic2.c (main): Converted to ...
23127 (do_test): ... this.
23128 (TEST_FUNCTION): New macro.
23129 Include test-skeleton.c.
23130
23131 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
23132
23133 [BZ #17711]
23134 * elf/Makefile (tests): Add vismain only if PIE is enabled.
23135 (tests-pie): Add vismain.
23136 (CFLAGS-vismain.c): New.
23137 * elf/vismain.c: Add comments for PIE requirement.
23138
23139 2015-02-27 Joseph Myers <joseph@codesourcery.com>
23140
23141 [BZ #18046]
23142 [BZ #18047]
23143 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
23144 0x1p-56L as threshold for just returning the argument.
23145 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
23146 0x1p-32L as threshold for just returning the argument.
23147 * math/auto-libm-test-in: Add more tests of atanh.
23148 * math/auto-libm-test-out: Regenerated.
23149 * sysdeps/i386/fpu/libm-test-ulps: Update.
23150 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
23151
23152 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
23153
23154 * string/bcopy.c (bcopy): Call memmove for performance.
23155
23156 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
23157
23158 * string/bzero.c (__bzero): Call memset for performance.
23159
23160 2015-02-27 John David Anglin <dave.anglin@bell.net>
23161
23162 [BZ #18068]
23163 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
23164 to 00100000.
23165
23166 2015-02-27 Joseph Myers <joseph@codesourcery.com>
23167
23168 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
23169
23170 2015-02-26 Joseph Myers <joseph@codesourcery.com>
23171
23172 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
23173 (__kernel_standard): Use CSTR macro when setting exc.name.
23174 * sysdeps/ieee754/Makefile [$(subdir) = math]
23175 (CFLAGS-k_standard.c): Remove variable.
23176
23177 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
23178 setting p and q from "else if" to "else".
23179 (qzero): Likewise.
23180 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
23181 (qone): Likewise.
23182 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
23183 (qzerof): Likewise.
23184 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
23185 (qonef): Likewise.
23186 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
23187 (qzero): Likewise.
23188 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
23189 (qone): Likewise.
23190
23191 [BZ #18038]
23192 [BZ #18039]
23193 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
23194 return pi/2 for arguments below 0x1p-113L.
23195 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
23196 return pi/2 for arguments below 0x1p-106L.
23197 * math/auto-libm-test-in: Add more tests of acos.
23198 * math/auto-libm-test-out: Regenerated.
23199
23200 [BZ #16351]
23201 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
23202 (MO): New macro.
23203 (__ieee754_asin): Force underflow exception for results with small
23204 absolute value.
23205 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
23206 (MO): New macro.
23207 (__ieee754_asinf): Force underflow exception for results with
23208 small absolute value.
23209 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
23210 (__ieee754_asin): Force underflow exception for results with small
23211 absolute value.
23212 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
23213 (__ieee754_asinf): Force underflow exception for results with
23214 small absolute value.
23215 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
23216 (__ieee754_asinl): Force underflow exception for results with
23217 small absolute value.
23218 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
23219 (__ieee754_asinl): Force underflow exception for results with
23220 small absolute value.
23221 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
23222 (__ieee754_asinl): Force underflow exception for results with
23223 small absolute value.
23224 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
23225 Include <math.h>.
23226 * math/auto-libm-test-in: Do not mark underflow exceptions as
23227 possibly missing for bug 16351.
23228 * math/auto-libm-test-out: Regenerated.
23229
23230 [BZ #18030]
23231 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
23232 of power of 2 down when low part has opposite sign.
23233 * math/libm-test.inc (logb_test_data): Add more tests.
23234
23235 2015-02-26 Andreas Schwab <schwab@suse.de>
23236
23237 [BZ #18032]
23238 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
23239 over collating symbol inside a bracket expression. Minor cleanup.
23240 * posix/tst-fnmatch3.c (do_test): Add test case.
23241
23242 2015-02-26 Joseph Myers <joseph@codesourcery.com>
23243
23244 [BZ #18029]
23245 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
23246 Adjust exponent of power of 2 down when low part has opposite
23247 sign.
23248 * math/libm-test.inc (ilogb_test_data): Add more tests.
23249
23250 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
23251
23252 [BZ #15969]
23253 * locale/findlocale.c (_nl_find_locale): Fix constness error in
23254 the previous change.
23255
23256 [BZ #15969]
23257 * locale/findlocale.c (_nl_find_locale): Retry archive search
23258 after alias expansion.
23259
23260 2015-02-25 Roland McGrath <roland@hack.frob.com>
23261
23262 * iconv/tst-iconv3.c (main): Converted to ...
23263 (do_test): ... this.
23264 (TEST_FUNCTION): New macro.
23265 Include test-skeleton.c.
23266
23267 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
23268 (convert): Make function static.
23269 (test_unalign): Likewise. Add const to argument pointee types.
23270 (main): Replace with static function do_test.
23271 Print "Succeeded." only if RET is zero.
23272 (TEST_FUNCTION): New macro.
23273 Include test-skeleton.c.
23274
23275 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
23276 returns a null pointer.
23277
23278 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23279
23280 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
23281 to __memcpy_ppc only for static builds.
23282
23283 2015-02-25 Joseph Myers <joseph@codesourcery.com>
23284
23285 [BZ #18020]
23286 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
23287 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
23288 * math/auto-libm-test-in: Add more tests of asinh.
23289 * math/auto-libm-test-out: Regenerated.
23290 * sysdeps/i386/fpu/libm-test-ulps: Update.
23291 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23292
23293 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
23294
23295 [BZ #15850]
23296 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
23297 and ip6_mtuinfo definitions here.
23298 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
23299 in this define too. Update comment.
23300
23301 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
23302
23303 * elf/sprof.c (load_shobj): Tweak error message to match others.
23304
23305 2015-02-24 Kevin Easton <kevin@guarana.org>
23306
23307 [BZ #16145] (partial fix)
23308 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
23309 to reduce lock contention.
23310
23311 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
23312
23313 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
23314 (struct timex): Update time comment.
23315 (ADJ_SETOFFSET): Define.
23316
23317 2015-02-24 Joseph Myers <joseph@codesourcery.com>
23318
23319 [BZ #18019]
23320 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
23321 2**56 not 2**28 as threshold for log (2x) formula.
23322 * math/auto-libm-test-in: Add more tests of acosh.
23323 * math/auto-libm-test-out: Regenerated.
23324 * sysdeps/i386/fpu/libm-test-ulps: Update.
23325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23326
23327 2015-02-24 Mike Frysinger <vapier@gentoo.org>
23328
23329 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
23330 parenthesis around the buf assignment.
23331 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
23332
23333 2015-02-24 Joseph Myers <joseph@codesourcery.com>
23334
23335 [BZ #16783]
23336 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
23337 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
23338 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
23339 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
23340 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
23341 * math/libm-test.inc (scalb_test_data): Add more tests.
23342
23343 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
23344
23345 [BZ #17916]
23346 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
23347 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
23348
23349 2015-02-24 Eric Rannaud <e@nanocritical.com>
23350
23351 [BZ #17523]
23352 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
23353 * io/bits/fcntl2.h (open): Use it.
23354 (openat): Likewise.
23355 * io/open.c (__libc_open): Likewise.
23356 * io/open64.c (__libc_open64): Likewise.
23357 * io/open64_2.c (__open64_2): Likewise.
23358 * io/open_2.c (__open_2): Likewise.
23359 * io/openat.c (__openat): Likewise.
23360 * io/openat64.c (__openat64): Likewise.
23361 * io/openat64_2.c (__openat64_2): Likewise.
23362 * io/openat_2.c (__openat_2): Likewise.
23363 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
23364 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
23365 * sysdeps/posix/open64.c (__libc_open64): Likewise.
23366 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
23367 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
23368 (__open_nocancel): Likewise.
23369 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
23370 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
23371 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
23372
23373 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
23374
23375 [BZ #14841]
23376 * resolv/gethnamaddr.c (getanswer): Skip logging if
23377 RES_USE_DNSSEC is set.
23378 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
23379
23380 2015-02-24 Mike Frysinger <vapier@gentoo.org>
23381
23382 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
23383
23384 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
23385
23386 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
23387 201304L, for Unicode 7.
23388
23389 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
23390
23391 [BZ #17836]
23392 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
23393 shared library. Add gmon-start.os otherwise.
23394 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
23395 $(objpfx)gmon-start.os if builing shared library.
23396 ($(objpfx)g$(static-start-installed-name)): Likewise.
23397
23398 2015-02-23 Andreas Schwab <schwab@suse.de>
23399
23400 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
23401
23402 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
23403
23404 [BZ #17269]
23405 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
23406 (enlarge_userbuf): Likewise.
23407
23408 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
23409
23410 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
23411 * math/atest-exp.c (TIMEOUT): Adjust to 200.
23412 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
23413 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
23414
23415 2015-02-20 Joseph Myers <joseph@codesourcery.com>
23416
23417 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
23418 expression inside statement expression.
23419
23420 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
23421
23422 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
23423 <sysdeps/nptl/lowlevellock.h> and remove macros and
23424 functions that are now defined there.
23425 (SYS_futex): Remove.
23426 (lll_compare_and_swap): Remove.
23427 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
23428
23429 2015-02-19 Joseph Myers <joseph@codesourcery.com>
23430
23431 [BZ #17999]
23432 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
23433 instead of scandirat.
23434 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
23435 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
23436 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
23437 __scandirat.
23438 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
23439 (__scandirat): Declare. Use libc_hidden_proto.
23440 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
23441 Remove variable.
23442 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
23443
23444 2015-02-18 Joseph Myers <joseph@codesourcery.com>
23445
23446 [BZ #15319]
23447 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
23448 (MO): New macro.
23449 (__ieee754_atan2): For results with small absolute value, force
23450 underflow exception and remove excess range and precision from
23451 return value.
23452 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
23453 (MO): New macro.
23454 (__ieee754_atan2f): For results with small absolute value, force
23455 underflow exception and remove excess range and precision from
23456 return value.
23457 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
23458 (MO): New macro.
23459 (__atan): For results with small absolute value, force underflow
23460 exception and remove excess range and precision from return value.
23461 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
23462 (MO): New macro.
23463 (__atanf): For results with small absolute value, force underflow
23464 exception and remove excess range and precision from return value.
23465 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
23466 <math.h>.
23467 (__ieee754_atan2): Force underflow exception for results with
23468 small absolute value.
23469 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
23470 <math_private.h>.
23471 (atan): Force underflow exception for results with small absolute
23472 value.
23473 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
23474 (__atanf): Force underflow exception for results with small
23475 absolute value.
23476 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
23477 <math.h>.
23478 (__atanl): Force underflow exception for results with small
23479 absolute value.
23480 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
23481 (__atanl): Force underflow exception for results with small
23482 absolute value.
23483 * sysdeps/x86/fpu/bits/mathinline.h
23484 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
23485 (__ieee754_atan2): Only define inline for long double.
23486 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
23487 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
23488 * math/auto-libm-test-in: Do not mark underflow exceptions as
23489 possibly missing for bug 15319. Add more tests of atan2.
23490 * math/auto-libm-test-out: Regenerated.
23491 * math/libm-test.inc (casin_test_data): Do not mark underflow
23492 exceptions as possibly missing for bug 15319.
23493 (casinh_test_data): Likewise.
23494 * sysdeps/i386/fpu/libm-test-ulps: Update.
23495
23496 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
23497
23498 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
23499 * sysdeps/mips/bits/endian.h: Fix comments.
23500
23501 2015-02-18 Joseph Myers <joseph@codesourcery.com>
23502
23503 [BZ #17996]
23504 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
23505 (hdestroy_r): Likewise.
23506 (hsearch_r): Likewise.
23507 (__hcreate_r): Declare and use libc_hidden_proto.
23508 (__hdestroy_r): Likewise.
23509 (__hsearch_r): Likewise.
23510 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
23511 (hcreate): Call __hcreate_r instead of hcreate_r.
23512 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
23513 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
23514 as weak alias of __hcreate_r.
23515 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
23516 __hdestroy_r.
23517 (hsearch_r): Rename to __hsearch_r and define as weak alias of
23518 __hsearch_r.
23519 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
23520 Remove variable.
23521 (test-xfail-XPG4/search.h/linknamespace): Likewise.
23522 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
23523 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
23524 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
23525
23526 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23527
23528 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
23529 arena_lock into a single arena_get.
23530
23531 2015-02-17 Carlos O'Donell <carlos@redhat.com>
23532
23533 * dl-reloc.c: Inlucde libc-internal.h.
23534 (_dl_try_allocate_static_tls): Call ALIGN_UP.
23535 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
23536 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
23537 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
23538 (grow_heap): Likewise.
23539 * malloc/malloc.c: Include libc-internal.h.
23540 (do_check_malloc): Call powerof2.
23541 (sysmalloc): Use pagesize. Call ALIGN_UP.
23542 (systrim): Use pagesize.
23543 (mremap_chunk): Use pagesize. Call ALIGN_UP.
23544 (__libc_valloc): Use pagesize.
23545 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
23546
23547 2015-02-17 Joseph Myers <joseph@codesourcery.com>
23548
23549 [BZ #17991]
23550 * include/sys/resource.h (__getrlimit64): Declare. Use
23551 libc_hidden_proto.
23552 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
23553 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
23554 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
23555 getrlimit64.
23556 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
23557 __getrlimit64.
23558 [!getrlimit64] (getrlimit64): Define as weak alias of
23559 __getrlimit64. Use libc_hidden_weak.
23560 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
23561 using __getrlimit64 not __new_getrlimit64.
23562 (__GI_getrlimit64): Likewise.
23563 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
23564 Likewise.
23565 (__GI_getrlimit64): Likewise.
23566 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
23567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
23568 (getrlimit): Add __getrlimit64 alias.
23569 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
23570 Likewise.
23571 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
23572 Remove variable.
23573 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
23574 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
23575
23576 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
23577
23578 * libio/fileops.c: Add missing sys/mman.h
23579 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
23580
23581 2015-02-17 Joseph Myers <joseph@codesourcery.com>
23582
23583 * manual/math.texi (Errors in Math Functions): Clarify goals
23584 regarding inexact and underflow exceptions.
23585
23586 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
23587
23588 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
23589 * sysdeps/mips/memset.S: Ditto.
23590
23591 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
23592
23593 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
23594
23595 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
23596
23597 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
23598 (__v1longjmp): Remove versioned symbol.
23599 (__v1siglongjmp): Remove alias and versioned symbol.
23600 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
23601 (__v2siglongjmp): Likewise.
23602
23603 2015-02-16 Torvald Riegel <triegel@redhat.com>
23604
23605 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
23606
23607 2015-02-16 Mike Frysinger <vapier@gentoo.org>
23608
23609 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
23610
23611 2015-02-16 Joseph Myers <joseph@codesourcery.com>
23612
23613 [BZ #17987]
23614 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
23615 zero result does not depend on the sign resulting from
23616 subtraction.
23617 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
23618 Likewise.
23619 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
23620 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
23621 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
23622 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
23623 * math/libm-test.inc (remquo_test_data): Add more tests.
23624
23625 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
23626
23627 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
23628 Problem reported by J William Piggott.
23629
23630 2015-02-16 Joseph Myers <joseph@codesourcery.com>
23631
23632 [BZ #17978]
23633 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
23634 products 4 * y and 2 * y where those would overflow.
23635 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
23636 Likewise.
23637 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
23638 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
23639 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
23640 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
23641 * math/libm-test.inc (remquo_test_data): Add more tests.
23642
23643 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
23644
23645 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
23646 [defined _COMPILING_NEWLIB].
23647 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
23648 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
23649
23650 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
23651 [!defined __mips_isa_rev || __mips_isa_rev < 6].
23652
23653 2015-02-16 Torvald Riegel <triegel@redhat.com>
23654
23655 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
23656 acquired.
23657
23658 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
23659
23660 [BZ #17792]
23661 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
23662 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
23663 HOST_STACK_END_ADDR): Likewise.
23664
23665 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
23666
23667 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
23668 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
23669 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
23670
23671 2015-02-13 Roland McGrath <roland@hack.frob.com>
23672
23673 * sysdeps/generic/c++-types.data: New file.
23674 * sysdeps/generic/ld.abilist: New file.
23675 * sysdeps/generic/libBrokenLocale.abilist: New file.
23676 * sysdeps/generic/libanl.abilist: New file.
23677 * sysdeps/generic/libc.abilist: New file.
23678 * sysdeps/generic/libcrypt.abilist: New file.
23679 * sysdeps/generic/libdl.abilist: New file.
23680 * sysdeps/generic/libm.abilist: New file.
23681 * sysdeps/generic/libpthread.abilist: New file.
23682 * sysdeps/generic/libresolv.abilist: New file.
23683 * sysdeps/generic/librt.abilist: New file.
23684
23685 2015-02-13 Joseph Myers <joseph@codesourcery.com>
23686
23687 [BZ #17569]
23688 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
23689 Compute absolute value of x as modified by fmod, not original
23690 value of x.
23691 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
23692 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
23693 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
23694 RUN_TEST_ffI_f1_mod8.
23695 (remquo_test_data): Add more tests.
23696
23697 2015-02-13 Roland McGrath <roland@hack.frob.com>
23698
23699 * sysdeps/init_array/pt-crti.S: New file.
23700
23701 2015-02-13 Joseph Myers <joseph@codesourcery.com>
23702
23703 [BZ #17967]
23704 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
23705 __builtin_fmaf instead of relying on contraction of a * b + c.
23706
23707 2015-02-12 J William Piggott <elseifthen@gmx.com>
23708
23709 [BZ #17969]
23710 * manual/time.texi: correct the zoneinfo path in the TZ Variable
23711 node.
23712
23713 2015-02-12 Joseph Myers <joseph@codesourcery.com>
23714
23715 [BZ #17964]
23716 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
23717 __builtin_fma instead of relying on contraction of a * b + c.
23718
23719 2015-02-12 Roland McGrath <roland@hack.frob.com>
23720
23721 * Makeconfig (ASFLAGS): Add -Werror=undef.
23722 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
23723 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
23724 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
23725
23726 * Makeconfig (after-link): New variable.
23727 (+link-pie, +link-pie-tests): Use it.
23728 (+link-static, +link-static-tests): Likewise.
23729 (+link, +link-tests): Likewise.
23730 * Makerules (build-module, build-module-asneeded): Likewise.
23731 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
23732 Likewise.
23733 * elf/Makefile ($(objpfx)ld.so): Likewise.
23734
23735 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
23736
23737 [BZ #17965]
23738 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
23739 both struct timeval and struct timespec.
23740
23741 2015-02-12 Joseph Myers <joseph@codesourcery.com>
23742
23743 [BZ #16560]
23744 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
23745 and redefine.
23746 (__ieee754_exp2l): Do not multiply small fractional parts by
23747 M_LN2l.
23748 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
23749 small argument.
23750 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
23751 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
23752 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
23753 * math/auto-libm-test-in: Add more tests of exp2.
23754 * math/auto-libm-test-out: Regenerated.
23755
23756 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23757
23758 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
23759 unaligned path.
23760
23761 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23762
23763 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
23764 little endian.
23765
23766 2015-02-12 Andreas Schwab <schwab@suse.de>
23767
23768 [BZ #15790]
23769 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
23770 Filter out elision flags from value returned in kind.
23771 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
23772 * nptl/tst-pthread-mutexattr.c: New file.
23773
23774 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
23775
23776 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
23777 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
23778 into gnu-gnu, and update comment to refer to abi-tags.
23779
23780 2015-02-11 Joseph Myers <joseph@codesourcery.com>
23781
23782 [BZ #15467]
23783 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
23784 (__sincos): Set errno to EDOM for infinite argument.
23785 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
23786 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
23787 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
23788 (__sincosl): Set errno to EDOM for infinite argument.
23789 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
23790 (__sincosl): Set errno to EDOM for infinite argument.
23791 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
23792 (__sincosl): Set errno to EDOM for infinite argument.
23793 * math/libm-test.inc (sincos_test_data): Test errno setting.
23794
23795 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
23796
23797 * string/strxfrm_l.c: Remove #define STRCMP.
23798 * string/strcoll_l.c: Remove #define STRLEN.
23799 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
23800 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
23801
23802 2015-02-10 Joseph Myers <joseph@codesourcery.com>
23803
23804 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
23805 * sysdeps/mips/mips32/sfp-machine.h: ... here.
23806 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
23807 * sysdeps/mips/mips64/Makefile: ... here.
23808 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
23809 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
23810 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
23811 * sysdeps/mips/mips64/sfp-machine.h: ... here.
23812 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
23813 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
23814 * sysdeps/mips/mips64/n64/Implies: Likewise.
23815
23816 2015-02-10 Roland McGrath <roland@hack.frob.com>
23817
23818 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
23819 <sys/time.h>, <string.h>, and <errno.h>.
23820 (dest_offset, dest_address, value, zero): Remove unused variables.
23821 (ldouble): Remove typedef.
23822 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
23823 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
23824 1). Fix code style.
23825 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
23826 (check): Function removed.
23827 (CHECK): New macro.
23828 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
23829 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
23830 Don't call set_sigaction_FP and remove_sigaction_FP here.
23831 (ldouble_test): Just use 'long double' as macro argument, no need for
23832 the 'ldouble' typedef.
23833 (do_test): Set up SIGFPE handler at start, using plain signal rather
23834 than sigaction. Fix code style.
23835
23836 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
23837
23838 [BZ #17949]
23839 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
23840 jump label.
23841
23842 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
23843
23844 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
23845 * sysdeps/powerpc/powerpc32/configure: Regenerated.
23846
23847 * sysdeps/powerpc/configure.ac: Remove file.
23848 * sysdeps/powerpc/configure: Likewise.
23849
23850 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
23851 [sysdep_routines]: Remove wordcopy-power6 object.
23852 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
23853 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
23854 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
23855 (__memmove_ppc32): Likewise.
23856 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
23857 file.
23858 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
23859 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
23860 Remove preprocessor.
23861
23862 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
23863 [sysdep_routines]: Remove wide chars objects.
23864 [wcsmbs]: New rule for wide char objects.
23865
23866 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23867 Remove wordcopy-power6 obejct.
23868 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
23869 Use local call for wordcopy and memcpy symbols.
23870 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
23871 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
23872 implementation for loader.
23873 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
23874
23875 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23876 Remove wordcopy-power7 object.
23877 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
23878 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
23879 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
23880 (_wordcopy_fwd_dest_aligned): Likewise.
23881 (_wordcopy_bwd_aligned): Likewise.
23882 (_wordcopy_bwd_dest_aligned): Likewise.
23883
23884 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
23885 Rewrite to call __memmove_ppc instead of include default
23886 implementation.
23887
23888 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23889 Remove wide chars objects.
23890 [wcsmbs]: New rule for wide char objects.
23891
23892 2015-02-09 Andreas Schwab <schwab@suse.de>
23893
23894 [BZ #17912]
23895 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
23896 in terms of __O_DIRECTORY.
23897
23898 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
23899
23900 * time/getdate.c: Include <stdbool.h>.
23901 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
23902 call PTR_MANGLE.
23903 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
23904 PTR_DEMANGLE.
23905
23906 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
23907
23908 Add ersatz _Static_assert on older C hosts
23909 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
23910 pre-C11 C platform that is not known to support _Static_assert.
23911
23912 2015-02-07 Richard Braun <rbraun@sceen.net>
23913
23914 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
23915 sigstate.
23916 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
23917
23918 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
23919
23920 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
23921 priority against unexistent AIO_PRIO_DELTA_MAX.
23922 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
23923 instead of int.
23924 * misc/fchflags.c (fchflags): Likewise.
23925 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
23926 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
23927 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
23928 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
23929 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
23930 Declare macros.
23931 [__USE_MISC] (chflags, fchflags): Declare functions.
23932 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
23933 EINVAL when nfds is greater than FD_SETSIZE.
23934 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
23935 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
23936 45.
23937 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
23938 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
23939 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
23940 MACH_RCV_TIMED_OUT.
23941 * hurd/hurd/signal.h (_hurd_self_sigstate,
23942 _hurd_critical_section_lock, _hurd_critical_section_unlock):
23943 Explicit casts from void *.
23944 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
23945 * abi-tags: Rename gnu-gnu os into gnu.
23946
23947 [BZ #4719]
23948 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
23949 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
23950 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
23951 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
23952 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
23953 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
23954
23955 [BZ #17944]
23956 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
23957 duplicates ADDR->sun_path with sockaddr LEN limitation.
23958 * sysdeps/mach/hurd/connect.c: Include <string.h>
23959 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
23960 * sysdeps/mach/hurd/sendmsg.c: Likewise.
23961 * sysdeps/mach/hurd/sendto.c: Likewise.
23962 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
23963 implementing it by hand.
23964
23965 2015-02-06 Roland McGrath <roland@hack.frob.com>
23966
23967 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
23968 Use sfi_breg on ldr.
23969 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
23970 Likewise.
23971
23972 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
23973 it's defined.
23974 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
23975 Test SIGSETXID only if it's defined.
23976
23977 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
23978
23979 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
23980 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
23981
23982 * nptl/tst-align2.c: Moved ...
23983 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
23984 * nptl/Makefile (tests): Remove tst-align2.
23985 * sysdeps/unix/sysv/linux/Makefile
23986 [$(subdir) = nptl] (tests): Add tst-align-clone.
23987 * nptl/tst-getpid1.c: Moved ...
23988 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
23989 * nptl/tst-getpid2.c: Moved ...
23990 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
23991 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
23992 * sysdeps/unix/sysv/linux/Makefile
23993 [$(subdir) = nptl] (tests): ... here.
23994 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
23995 * sysdeps/unix/sysv/linux/Makefile
23996 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
23997
23998 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
23999 Drop trailing \n from perror argument. Use return rather than exit.
24000
24001 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
24002 on [SA_SIGINFO].
24003 * nptl/tst-cancel21.c (do_test): Likewise.
24004 * debug/tst-backtrace6.c: Include <signal.h> first thing.
24005 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
24006 [!SA_SIGINFO]: Make it a stub test.
24007
24008 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
24009 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
24010
24011 * posix/tst-getlogin.c: Move to ...
24012 * login/tst-getlogin.c: ... here.
24013 * posix/Makefile (tests): Move tst-getlogin to ...
24014 * login/Makefile (tests): ... here.
24015
24016 * libio/tst-atime.c (do_test): Move local variables SV and E
24017 inside [ST_NOATIME] conditional.
24018
24019 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
24020
24021 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
24022
24023 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
24024 (wait_code): New function replaces macro.
24025 Call nanosleep rather than syscall.
24026
24027 * nptl/pt-system.c: Rewritten. Put everything under
24028 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
24029 Use IFUNC to redirect when possible.
24030
24031 * nptl/pt-longjmp.c: Rewritten. Put everything under
24032 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
24033 Use IFUNC to redirect when possible.
24034
24035 * nptl/pt-fork.c: Rewritten. Put everything under
24036 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
24037 Use IFUNC to redirect when possible.
24038 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
24039
24040 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
24041 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
24042 unconditionally nowadays. This included the only reference to
24043 __vdso_clock_gettime that appears outside libc proper.
24044 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
24045 Remove version set (containing only __vdso_clock_gettime).
24046 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
24047 Add attribute_hidden.
24048 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
24049 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
24050 libc_hidden_data_def.
24051 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
24052 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
24053
24054 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
24055 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
24056 setrpcent, and getrpcport to ...
24057 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
24058 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
24059 getrpcbynumber_r, and getrpcent_r to ...
24060 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
24061 * inet/getrpcbyname.c: Moved ...
24062 * sunrpc/getrpcbyname.c: ... here.
24063 * inet/getrpcbyname_r.c: Moved ...
24064 * sunrpc/getrpcbyname_r.c: ... here.
24065 * inet/getrpcbynumber.c: Moved ...
24066 * sunrpc/getrpcbynumber.c: ... here.
24067 * inet/getrpcbynumber_r.c: Moved ...
24068 * sunrpc/getrpcbynumber_r.c: ... here.
24069 * inet/getrpcent.c: Moved ...
24070 * sunrpc/getrpcent.c: ... here.
24071 * inet/getrpcent_r.c: Moved ...
24072 * sunrpc/getrpcent_r.c: ... here.
24073 * inet/Makefile (routines): Move those to ...
24074 * sunrpc/Makefile (routines): ... here.
24075 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
24076 the $(subdirs) list.
24077 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
24078 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
24079 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
24080 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
24081
24082 * elf/Makefile (routines): Include $(all-dl-routines), not just
24083 $(dl-routines).
24084 (rtld-routines): Likewise. Use = rather than :=.
24085 * sysdeps/aarch64/Makefile [$(subdir) = elf]
24086 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
24087 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
24088 * sysdeps/arm/Makefile: Likewise.
24089 * sysdeps/i386/Makefile: Likewise.
24090 * sysdeps/x86_64/Makefile: Likewise.
24091 * sysdeps/hppa/Makefile [$(subdir) = elf]
24092 (sysdep_routines, sysdep-rtld-routines): Don't add
24093 $(sysdep-dl-routines) to these.
24094 * sysdeps/ia64/Makefile: Likewise.
24095 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
24096 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
24097 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
24098 Don't add dl-static to these; sysdep-dl-routines alone is enough.
24099 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
24100 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
24101 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
24102 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
24103 * sysdeps/powerpc/Makefile [$(subdir) = elf]
24104 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
24105 these; sysdep-dl-routines alone is enough.
24106
24107 2015-02-06 Joseph Myers <joseph@codesourcery.com>
24108
24109 [BZ #17932]
24110 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
24111 where multiplication results in zero and third argument is finite
24112 and nonzero.
24113 * math/auto-libm-test-in: Add more tests of fma.
24114 * math/auto-libm-test-out: Regenerated.
24115
24116 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
24117 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
24118 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
24119 (_FP_CMP_EQ): Likewise.
24120 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
24121
24122 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
24123 extra argument CHECK_NAN. Redefine as wrapper around
24124 _FP_EXTEND_CNAN.
24125
24126 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
24127
24128 * version.h (RELEASE): Set to "stable".
24129 (VERSION): Set to "2.21"
24130 * include/features.h (__GLIBC_MINOR__): Set to 21.
24131
24132 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
24133
24134 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
24135 Paul Eggert <eggert@cs.ucla.edu>
24136
24137 [BZ #16618]
24138 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
24139 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
24140 size in bytes. Store needed elements in wpmax. Use needed size
24141 in bytes for extend_alloca.
24142
24143 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
24144
24145 * manual/install.texi: Latest tested versions are GCC 4.9.2,
24146 binutls 2.25, and texinfo 5.2.
24147 * INSTALL: Regenerate.
24148 * sysdeps/nios2/configure: Regenerate.
24149 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
24150 * manual/contrib.texi: Update.
24151 * po/be.po: Update.
24152 * po/bg.po: Update.
24153 * po/ca.po: Update.
24154 * po/cs.po: Update.
24155 * po/da.po: Update.
24156 * po/de.po: Update.
24157 * po/el.po: Update.
24158 * po/eo.po: Update.
24159 * po/es.po: Update.
24160 * po/fi.po: Update.
24161 * po/fr.po: Update.
24162 * po/gl.po: Update.
24163 * po/hr.po: Update.
24164 * po/hu.po: Update.
24165 * po/ia.po: Update.
24166 * po/id.po: Update.
24167 * po/it.po: Update.
24168 * po/ja.po: Update.
24169 * po/ko.po: Update.
24170 * po/lt.po: Update.
24171 * po/nb.po: Update.
24172 * po/nl.po: Update.
24173 * po/pl.po: Update.
24174 * po/pt_BR.po: Update.
24175 * po/ru.po: Update.
24176 * po/rw.po: Update.
24177 * po/sk.po: Update.
24178 * po/sl.po: Update.
24179 * po/sv.po: Update.
24180 * po/tr.po: Update.
24181 * po/uk.po: Update.
24182 * po/vi.po: Update.
24183 * po/zh_CN.po: Update.
24184 * po/zh_TW.po: Update.
24185
24186 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
24187 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
24188 * sysdeps/hppa/dl-irel.h: Remove #warning.
24189 * sysdeps/hppa/entry.h: Provide prototype for
24190 __canonicalize_funcptr_for_compare and cast argument.
24191 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
24192 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
24193 * sysdeps/hppa/sotruss-lib.c: New file.
24194 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
24195 (atomic_compare_and_exchange_val_acq): Use __typeof__.
24196 (atomic_compare_and_exchange_bool_acq): Likewise.
24197 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
24198 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
24199
24200 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
24201 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
24202 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
24203
24204 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
24205
24206 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
24207 called function in non-PIC case.
24208
24209 2015-01-31 David S. Miller <davem@davemloft.net>
24210
24211 * sysdeps/sparc/sparc32/bits/atomic.h
24212 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
24213 unlock not after it.
24214 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
24215 volatile register usage warnings from the compiler.
24216
24217 * sysdeps/sparc/nptl/sem_init.c: Delete.
24218 * sysdeps/sparc/nptl/sem_post.c: Delete.
24219 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
24220 * sysdeps/sparc/nptl/sem_wait.c: Delete.
24221 * sysdeps/sparc/sparc32/sem_init.c: New file.
24222 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
24223 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
24224 padding explicitly initialized.
24225 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
24226 padding for in-semaphore spinlock.
24227 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
24228 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
24229 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
24230 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
24231 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
24232 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
24233 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
24234 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
24235 version.
24236 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
24237 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
24238
24239 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
24240
24241 [BZ #17801]
24242 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24243 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
24244 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
24245 New.
24246 (index_AVX_Fast_Unaligned_Load): Likewise.
24247 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
24248 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
24249 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
24250 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
24251 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
24252 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
24253 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
24254 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
24255 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
24256
24257 2015-01-29 Andreas Schwab <schwab@suse.de>
24258
24259 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
24260
24261 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24262
24263 [BZ #17892]
24264 * nscd/nscd_stat.c (send_stats): Initialize DATA.
24265
24266 2015-01-28 Martin Sebor <msebor@redhat.com>
24267
24268 * math/README.libm-test: Clarify. Add "How to read the test output."
24269
24270 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
24271
24272 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
24273 Define to 0.
24274
24275 2015-01-28 Joseph Myers <joseph@codesourcery.com>
24276
24277 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
24278 (__HAVE_64B_ATOMICS): Define to 0.
24279
24280 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
24281
24282 [BZ #17885]
24283 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
24284 value to set as new flag.
24285
24286 [BZ #16576]
24287 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
24288 and use _ARCH_PPCSQ instead.
24289 (__ieee754_sqrt): Likewise.
24290 (__ieee754_sqrtf): Likewise.
24291 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
24292 _ARCH_PPCSQ is defined.
24293 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
24294 fsqrt instruction.
24295 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
24296 _ARCH_PPCSQ is defined.
24297 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
24298 fsqrts instruction.
24299 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
24300
24301 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24302
24303 * iconv/loop.c: Suppress array out of bound warning caused by GCC
24304 bug (GCC BZ #64739).
24305
24306 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
24307
24308 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
24309 Mark _retval as used.
24310 (lll_futex_wake_unlock): Likewise.
24311 (lll_futex_timed_wait_requeue_pi): Likewise.
24312
24313 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
24314 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
24315 register variables.
24316
24317 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
24318 libm_hidden_def.
24319
24320 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
24321 (__bswap_64): Mark as __always_inline.
24322
24323 2015-01-25 Bram <bug_rh@spam.wizbit.be>
24324
24325 [BZ #15378]
24326 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
24327 when none of the search directories exist.
24328
24329 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
24330
24331 [BZ #17869]
24332 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
24333 power8 in .machine directive.
24334
24335 [BZ #17868]
24336 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
24337 set dependency from opd value.
24338
24339 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
24340
24341 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24342 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
24343 architecture.
24344
24345 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
24346
24347 [BZ #17870]
24348 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
24349 with uint64_t.
24350 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
24351 (uint64_t) 1.
24352 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
24353 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
24354 Replace 1UL with (uint64_t) 1.
24355 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
24356 int with uint64_t.
24357
24358 2015-01-23 Roland McGrath <roland@hack.frob.com>
24359
24360 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
24361 (if_freenameindex): Likewise.
24362
24363 * resource/getrlimit64.c: Add missing libc_hidden_def.
24364
24365 2015-01-22 Joseph Myers <joseph@codesourcery.com>
24366
24367 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
24368 __label__.
24369 (_FP_FMA): Likewise.
24370 (_FP_TO_INT_ROUND): Likewise.
24371 (_FP_FROM_INT): Likewise.
24372
24373 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24374
24375 [BZ #16418]
24376 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
24377 Make code racy and cancel safe.
24378
24379 2015-01-21 Carlos O'Donell <carlos@redhat.com>
24380
24381 * sysdeps/arm/unwind-resume.h: Fix copyright year.
24382 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
24383 attribution.
24384
24385 * pwd/tst-getpw.c: Rewrite.
24386
24387 [BZ #17702]
24388 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
24389 (modules-names): Add moddummy1 and moddummy2.
24390 ($(objpfx)tst-rec-dlopen): Define.
24391 * dlfcn/moddummy1.c: New file.
24392 * dlfcn/moddummy2.c: New file.
24393 * dlfcn/tst-rec-dlopen.c: New file.
24394 * elf/dl-cache.c (_dl_load_cache_lookup):
24395 Return char*. Copy result with alloca/strcpy/strdup.
24396 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
24397 returns char*. Free cached. If not saving realname
24398 free cached.
24399 * elf/dl-open.c (dl_open_worker): Do not assert that
24400 _r_debug->r_state is RT_CONSISTENT.
24401 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
24402 returns char*.
24403
24404 2015-01-21 Torvald Riegel <triegel@redhat.com>
24405 Carlos O'Donell <carlos@redhat.com>
24406
24407 [BZ #12674]
24408 * nptl/sem_waitcommon.c: New file.
24409 * nptl/sem_wait.c: Include sem_waitcommon.c.
24410 (__sem_wait_cleanup, do_futex_wait): Remove.
24411 (__new_sem_wait): Adapt.
24412 (__new_sem_trywait): New function.
24413 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
24414 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
24415 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
24416 (sem_timedwait): Adapt.
24417 * nptl/sem_post.c (__new_sem_post): Adapt.
24418 (futex_wake): New function.
24419 (__old_sem_post): Add release MO fence.
24420 * nptl/sem_open.c (sem_open): Adapt.
24421 * nptl/sem_init.c (__new_sem_init): Adapt.
24422 (futex_private_if_supported): New function.
24423 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
24424 (__old_sem_getvalue): Add using previous code.
24425 * sysdeps/nptl/internaltypes.h: Adapt.
24426 * nptl/tst-sem13.c (do_test): Adapt.
24427 * nptl/tst-sem11.c (main): Adapt.
24428 * nptl/sem_trywait.c: Remove.
24429 * nptl/DESIGN-sem.txt: Remove.
24430 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
24431 (gen-as-const-headers): Remove structsem.sym.
24432 * nptl/structsem.sym: Remove.
24433 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
24434 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
24435 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
24436 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
24437 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
24438 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
24439 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
24440 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
24441 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
24442 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
24443 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
24444 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
24445 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
24446 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
24447 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
24448 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
24449 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
24450 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
24451 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
24452 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
24453 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
24454 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
24455
24456 2015-01-20 Carlos O'Donell <carlos@redhat.com>
24457
24458 * INSTALL: Regenerated.
24459
24460 * po/libc.pot: Regenerated.
24461
24462 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
24463 Sandra Loosemore <sandra@codesourcery.com>
24464 Andrew Jenner <andrew@codesourcery.com>
24465 Joseph Myers <joseph@codesourcery.com>
24466 Nathan Sidwell <nathan@codesourcery.com>
24467
24468 * NEWS: Mention new Nios II port.
24469 * sysdeps/nios2/Implies: New file.
24470 * sysdeps/nios2/Makefile: New file.
24471 * sysdeps/nios2/Subdirs: New file.
24472 * sysdeps/nios2/Versions: New file.
24473 * sysdeps/nios2/__longjmp.S: New file.
24474 * sysdeps/nios2/abort-instr.h: New file.
24475 * sysdeps/nios2/backtrace.c: New file.
24476 * sysdeps/nios2/bits/endian.h: New file.
24477 * sysdeps/nios2/bits/fenv.h: New file.
24478 * sysdeps/nios2/bits/link.h: New file.
24479 * sysdeps/nios2/bits/setjmp.h: New file.
24480 * sysdeps/nios2/bsd-_setjmp.S: New file.
24481 * sysdeps/nios2/bsd-setjmp.S: New file.
24482 * sysdeps/nios2/configure: New generated file.
24483 * sysdeps/nios2/configure.ac: New file.
24484 * sysdeps/nios2/crti.S: New file.
24485 * sysdeps/nios2/crtn.S: New file.
24486 * sysdeps/nios2/dl-init.c: New file.
24487 * sysdeps/nios2/dl-machine.h: New file.
24488 * sysdeps/nios2/dl-sysdep.h: New file.
24489 * sysdeps/nios2/dl-tls.h: New file.
24490 * sysdeps/nios2/dl-trampoline.S: New file.
24491 * sysdeps/nios2/gccframe.h: New file.
24492 * sysdeps/nios2/gmp-mparam.h: New file.
24493 * sysdeps/nios2/jmpbuf-offsets.h: New file.
24494 * sysdeps/nios2/jmpbuf-unwind.h: New file.
24495 * sysdeps/nios2/ldsodefs.h: New file.
24496 * sysdeps/nios2/libc-tls.c: New file.
24497 * sysdeps/nios2/libm-test-ulps: New file.
24498 * sysdeps/nios2/machine-gmon.h: New file.
24499 * sysdeps/nios2/math-tests.h: New file.
24500 * sysdeps/nios2/math_private.h: New file.
24501 * sysdeps/nios2/memusage.h: New file.
24502 * sysdeps/nios2/nptl/Makefile: New file.
24503 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
24504 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
24505 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
24506 * sysdeps/nios2/nptl/pthreaddef.h: New file.
24507 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
24508 * sysdeps/nios2/nptl/tls.h: New file.
24509 * sysdeps/nios2/preconfigure: New file.
24510 * sysdeps/nios2/s_fma.c: New file.
24511 * sysdeps/nios2/s_fmaf.c: New file.
24512 * sysdeps/nios2/setjmp.S: New file.
24513 * sysdeps/nios2/sfp-machine.h: New file.
24514 * sysdeps/nios2/sotruss-lib.c: New file.
24515 * sysdeps/nios2/stackguard-macros.h: New file.
24516 * sysdeps/nios2/stackinfo.h: New file.
24517 * sysdeps/nios2/start.S: New file.
24518 * sysdeps/nios2/sysdep.h: New file.
24519 * sysdeps/nios2/tls-macros.h: New file.
24520 * sysdeps/nios2/tst-audit.h: New file.
24521 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
24522 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
24523 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
24524 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
24525 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
24526 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
24527 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
24528 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
24529 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
24530 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
24531 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
24532 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
24533 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
24534 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
24535 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
24536 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
24537 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
24538 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
24539 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
24540 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
24541 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
24542 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
24543 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
24544 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
24545 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
24546 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
24547 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
24548 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
24549 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
24550 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
24551 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
24552 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
24553 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
24554 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
24555 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
24556 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
24557 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
24558 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
24559 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
24560 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
24561 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
24562 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
24563 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
24564 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
24565
24566 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
24567
24568 [BZ #17844]
24569 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
24570 (getutent): Use weak_alias in non SHARED case
24571 and default_symbol_version in SHARED case.
24572 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
24573 (getutent_r, pututline): Likewise.
24574 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
24575 (getutid): Likewise.
24576 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
24577 (getutid_r): Likewise.
24578 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
24579 (getutline): Likewise.
24580 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
24581 (getutline_r): Likewise.
24582 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
24583 (updwtmp): Likewise.
24584
24585 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
24586
24587 [BZ #17848]
24588 * sysdeps/s390/s390-32/memcmp.S
24589 (memcmp_g5): Rename to __memcmp_g5.
24590 * sysdeps/s390/s390-32/memcpy.S
24591 (memcpy_g5): Rename to __memcpy_g5.
24592 Jump to __memcpy_mvcle instead of memcpy_mvcle.
24593 (memcpy_mvcle) Rename to __memcpy_mvcle.
24594 * sysdeps/s390/s390-32/memset.S
24595 (memset_g5): Rename to __memset_g5.
24596 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
24597 (IFUNC_RESOLVE): Prefix ifunc-resolve function
24598 and use prefixed functions.
24599 * sysdeps/s390/s390-32/multiarch/memcmp.S
24600 (memcmp_z196): Rename to __memcmp_z196.
24601 (memcmp_z10): Rename to __memcmp_z10.
24602 (memcmp): Set alias to __memcmp_g5.
24603 (bcmp): Set alias to __memcmp_g5.
24604 * sysdeps/s390/s390-32/multiarch/memcpy.S
24605 (memcpy_z196): Rename to __memcpy_z196.
24606 Jump to __memcpy_mvcle instead of memcpy_mvcle.
24607 (memcpy_z10): Rename to __memcpy_z10.
24608 Jump to __memcpy_mvcle instead of memcpy_mvcle.
24609 (memcpy): Set alias to __memcpy_g5.
24610 * sysdeps/s390/s390-32/multiarch/memset.S
24611 (memset_z196): Rename to __memset_z196.
24612 Jump to __memset_mvcle instead of memset_mvcle.
24613 (memset_z10): Rename to __memset_z10.
24614 Jump to __memset_mvcle instead of memset_mvcle.
24615 (memset_mvcle) Rename to __memset_mvcle.
24616 (memset): Set alias to __memset_g5.
24617 * sysdeps/s390/s390-64/memcmp.S
24618 (memcmp_z900): Rename to __memcmp_z900.
24619 * sysdeps/s390/s390-64/memcpy.S
24620 (memcpy_z900): Rename to __memcpy_z900.
24621 Jump to __memcpy_mvcle instead of memcpy_mvcle.
24622 (memcpy_mvcle) Rename to __memcpy_mvcle.
24623 * sysdeps/s390/s390-64/memset.S
24624 (memset_z900): Rename to __memset_z900.
24625 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
24626 (IFUNC_RESOLVE): Prefix ifunc-resolve function
24627 and use prefixed functions.
24628 * sysdeps/s390/s390-64/multiarch/memcmp.S
24629 (memcmp_z196): Rename to __memcmp_z196.
24630 (memcmp_z10): Rename to __memcmp_z10.
24631 (memcmp): Set alias to __memcmp_z900.
24632 (bcmp): Set alias to __memcmp_z900.
24633 * sysdeps/s390/s390-64/multiarch/memcpy.S
24634 (memcpy_z196): Rename to __memcpy_z196.
24635 Jump to __memcpy_mvcle instead of memcpy_mvcle.
24636 (memcpy_z10): Rename to __memcpy_z10.
24637 Jump to __memcpy_mvcle instead of memcpy_mvcle.
24638 (memcpy): Set alias to __memcpy_z900.
24639 * sysdeps/s390/s390-64/multiarch/memset.S
24640 (memset_z196): Rename to __memset_z196.
24641 Jump to __memset_mvcle instead of memset_mvcle.
24642 (memset_z10): Rename to __memset_z10.
24643 Jump to __memset_mvcle instead of memset_mvcle.
24644 (memset_mvcle) Rename to __memset_mvcle.
24645 (memset): Set alias to __memset_z900.
24646
24647 2015-01-14 Joseph Myers <joseph@codesourcery.com>
24648
24649 [BZ #17748]
24650 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
24651 __fesetenv instead of fesetenv.
24652
24653 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24654
24655 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
24656 macro.
24657
24658 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24659
24660 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
24661 regression on LE.
24662
24663 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
24664 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
24665 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
24666 strncmp-power8 object.
24667 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24668 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
24669 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
24670 * NEWS: Update.
24671
24672 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24673 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24674
24675 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
24676 trailing byte check.
24677
24678 2015-01-13 David S. Miller <davem@davemloft.net>
24679
24680 * include/signal.h (__sigreturn): Guard with __USE_MISC.
24681
24682 2015-01-13 Roland McGrath <roland@hack.frob.com>
24683
24684 * login/logout.c (logout): Use memset rather than bzero.
24685 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
24686 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
24687 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
24688 (_gethtbyaddr): Likewise.
24689 * locale/programs/simple-hash.c (bcopy): Macro removed.
24690
24691 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24692
24693 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24694 Add strcmp-power8 object.
24695 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24696 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
24697 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
24698 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
24699 __strcmp_power8 implementation.
24700 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
24701 * NEWS: Update.
24702
24703 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24704 Add strncpy-power8 and stpncpy-power8 objects.
24705 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24706 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
24707 implementations.
24708 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
24709 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
24710 __stpncpy_power8 implementation.
24711 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
24712 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
24713 __strncpy_power8 implementation.
24714 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
24715 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
24716 * NEWS: Update.
24717
24718 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
24719 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
24720 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
24721
24722 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
24723 strncat-power8 object.
24724 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
24725 __strcat_power8 implementation.
24726 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24727 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
24728 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
24729 optimized strcat for power8.
24730
24731 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
24732 strcpy-power8 and stpcpy-power8 objects.
24733 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24734 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
24735 implementations.
24736 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
24737 multiarch stpcpy implementation for POWER8.
24738 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
24739 multiarch strcpy implementation for POWER8.
24740 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
24741 __strcpy_power8 function.
24742 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
24743 stpcpy for POWER8.
24744 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
24745 strcpy for POWER8.
24746 * NEWS: Update.
24747
24748 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
24749
24750 [BZ #16009]
24751 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
24752 weights and rules. Use do_xfrm_cached if data fits in cache,
24753 do_xfrm otherwise. Moved former main loop to...
24754 * (do_xfrm_cached): New function.
24755 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
24756 find_idx, find_position and stack_push.
24757 * (find_idx): New function.
24758 * (find_position): Likewise.
24759 * localedata/sort-test.sh: Added test run for do_xfrm.
24760 * localedata/xfrm-test.c (main): Added command line option
24761 -nocache to run the test with strings that are too large for
24762 the STRXFRM cache.
24763
24764 2015-01-13 Torvald Riegel <triegel@redhat.com>
24765
24766 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
24767 variable to lll_futex_wake call, not the value itself.
24768
24769 2015-01-12 Joseph Myers <joseph@codesourcery.com>
24770
24771 [BZ #17803]
24772 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
24773 twom64. Adjust value to 0x1p-64L.
24774 (__scalblnl): Only return standard underflowing result for K <=
24775 -64 not K <= -63; adjust exponent for underflowing result by 64
24776 not 63.
24777 * math/libm-test.inc (scalbn_test_data): Add more tests.
24778 (scalbln_test_data): Likewise.
24779
24780 [BZ #17834]
24781 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
24782 0x1p63L.
24783 (__scalblnl): Get new exponent of adjusted subnormal value from ES
24784 not HX.
24785 * math/libm-test.inc (scalbn_test_data): Add more tests.
24786 (scalbln_test_data): Likewise.
24787
24788 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24789 Stefani Seibold <stefani@seibold.net>
24790
24791 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
24792 (sysdep_routines): Add dl-vdso here, ...
24793 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
24794 (sysdep_routines): ... not here.
24795 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
24796 fallback when vDSO is not presented.
24797 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
24798 Define with libc_hidden_proto/libc_hidden_data_def definitions.
24799 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
24800 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
24801 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
24802 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
24803 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
24804 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
24805 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
24806 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
24807 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
24808 fallback configurable symbol when vDSO is not available.
24809 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
24810 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
24811 be able to redefine fallback symbol when vDSO is not available.
24812 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
24813 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
24814
24815 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24816
24817 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
24818 (TLS_INIT_TP): Add tm_capable initialization.
24819 (TLS_DEFINE_INIT_TP): Likewise.
24820 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
24821 TCB.
24822 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
24823 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
24824 calculation.
24825 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
24826 transactoion is lock elision is built and TCB tm_capable is set.
24827 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
24828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24829 (INTERNAL_SYSCALL_NCS): Likewise.
24830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
24831 (INTERNAL_SYSCALL_NCS): Likewise.
24832 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
24833
24834 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
24835 for powerpc.
24836 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
24837 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
24838 and remove it for 32 bits case.
24839 [pthread_rwlock_t] (__rwelision): New field for lock elision.
24840 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
24841 initialization.
24842 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
24843 Disable lock elision with rdlocks if elision is not available.
24844
24845 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
24846 (sysdep_routines): Add lock elision objects.
24847 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
24848 [pthread_mutex_t] (__spins): Rework to add lock elision field.
24849 [pthread_mutex_t] (__elision): Add field.
24850 [__PTHREAD_SPINS]: Adjust to init lock elision field.
24851 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
24852 elision definitions for powerpc.
24853 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
24854 implementation of lock elision for powerpc.
24855 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
24856 implementation of timed lock elision for powerpc.
24857 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
24858 implementation of trylock with lock elision for powerpc.
24859 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
24860 implementaion of unlock for lock elision for powerpc.
24861 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
24862 automatic enable lock elision for mutexes.
24863 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
24864 transaction execution definitions for powerpc.
24865 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
24866 definitions.
24867 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
24868 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
24869 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
24870 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
24871 * NEWS: Update.
24872
24873 2015-01-09 Roland McGrath <roland@hack.frob.com>
24874
24875 * sysdeps/posix/shm-directory.c: Use <> rather than ""
24876 for #include of <shm-directory.h>.
24877
24878 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
24879
24880 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
24881 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
24882
24883 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
24884
24885 [BZ #17791]
24886 * NEWS: Mention bug fix.
24887 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
24888 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
24889 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
24890
24891 2015-01-09 Torvald Riegel <triegel@redhat.com>
24892
24893 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
24894
24895 2015-01-09 Torvald Riegel <triegel@redhat.com>
24896
24897 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
24898
24899 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
24900
24901 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
24902 pointer and cast to uintptr_t.
24903
24904 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
24905
24906 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
24907 removed.
24908 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
24909
24910 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
24911
24912 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
24913 of 0.
24914
24915 2015-01-08 Roland McGrath <roland@hack.frob.com>
24916
24917 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
24918 <nptl/pthreadP.h> instead.
24919 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
24920
24921 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
24922 already defined.
24923 [__SIGRTMIN] (init): Function removed.
24924 [__SIGRTMIN] (initialized): Variable removed.
24925 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
24926 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
24927 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
24928 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
24929 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
24930 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
24931 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
24932 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
24933 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
24934 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
24935 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
24936 * sysdeps/nptl/allocrtsig.c: New file.
24937 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
24938 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
24939 * sysdeps/generic/testrtsig.h: File removed.
24940
24941 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
24942 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
24943
24944 * nptl/nptl-init.c (pthread_functions): Conditionalize
24945 .ptr__nptl_setxid initialization on [SIGSETXID].
24946
24947 * sysdeps/nptl/sys/procfs.h: New file.
24948 * nptl_db/Makefile (headers): Add it.
24949 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
24950
24951 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
24952 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
24953 * nptl/pthread_attr_setaffinity.c: Include it.
24954 * nptl/pthread_setattr_default_np.c: Likewise.
24955 * nptl/check-cpuset.h: New file.
24956
24957 2015-01-08 Richard Henderson <rth@redhat.com>
24958
24959 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
24960 (CFLAGS-tst-execstack-prog.c): Likewise.
24961 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
24962
24963 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
24964 Sandra Loosemore <sandra@codesourcery.com>
24965 Andrew Jenner <andrew@codesourcery.com>
24966 Joseph Myers <joseph@codesourcery.com>
24967 Nathan Sidwell <nathan@codesourcery.com>
24968
24969 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
24970 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
24971 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
24972 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
24973 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
24974 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
24975 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
24976 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
24977 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
24978 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
24979 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
24980 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
24981 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
24982 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
24983 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
24984 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
24985 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
24986
24987 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24988
24989 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
24990 timespec struct member in syscall macro.
24991 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
24992 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
24993 first timeval struct member in syscall macro.
24994 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
24995
24996 2015-01-07 Joseph Myers <joseph@codesourcery.com>
24997
24998 [BZ #17748]
24999 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
25000 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
25001 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
25002 __feupdateenv and define as weak alias of __feupdateenv. Use
25003 libm_hidden_weak.
25004 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
25005 libm_hidden_def.
25006 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
25007 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
25008 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
25009 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
25010 libm_hidden_def.
25011 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
25012 __feupdateenv and define as weak alias of __feupdateenv. Use
25013 libm_hidden_weak.
25014 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
25015 libm_hidden_def.
25016 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
25017 __feupdateenv and define as weak alias of __feupdateenv. Use
25018 libm_hidden_weak.
25019 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
25020 libm_hidden_def.
25021 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
25022 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
25023 (__feupdateenv): Likewise.
25024 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
25025 __feupdateenv and define as weak alias of __feupdateenv. Use
25026 libm_hidden_weak.
25027 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
25028 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
25029 libm_hidden_def.
25030 * sysdeps/tile/math_private.h (__feupdateenv): New inline
25031 function.
25032 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
25033 libm_hidden_def.
25034 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
25035 __feupdateenv instead of feupdateenv.
25036 (default_libc_feupdateenv_test): Likewise.
25037 (libc_feresetround_ctx): Likewise.
25038
25039 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25040
25041 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
25042 prototype.
25043
25044 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
25045
25046 * posix/regcomp.c (parse_bracket_exp): Initialize type to
25047 COLL_SYM in a couple of places to avoid uninitialized variable
25048 wanings on tilegx gcc 4.8.2.
25049
25050 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
25051
25052 * sysdeps/aarch64/strcpy.S: New file.
25053 * sysdeps/aarch64/stpcpy.S: New file.
25054 * NEWS: Updated.
25055
25056 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
25057
25058 * sysdeps/aarch64/strrchr.S: New file.
25059 * NEWS: Updated.
25060
25061 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
25062
25063 [BZ #17658]
25064 * stdlib/setenv.c: Fix memory leak when setting large,
25065 duplicate string.
25066
25067 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
25068
25069 [BZ #17273]
25070 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
25071 and tabs from buffer before parsing fstab entry.
25072 * misc/tst-mntent.c (main): Add test for mount entry with
25073 trailing spaces and tabs.
25074
25075 2015-01-06 Joseph Myers <joseph@codesourcery.com>
25076
25077 [BZ #17748]
25078 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
25079 * math/fesetround.c (fesetround): Rename to __fesetround and
25080 define as weak alias of __fesetround. Use libm_hidden_weak.
25081 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
25082 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
25083 * sysdeps/arm/fesetround.c (fesetround): Likewise.
25084 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
25085 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
25086 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
25087 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
25088 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
25089 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
25090 __fesetround_inline.
25091 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
25092 __fesetround_inline instead of __fesetround.
25093 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
25094 __fesetround and define as weak alias of __fesetround. Use
25095 libm_hidden_weak. Call __fesetround_inline instead of
25096 __fesetround.
25097 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
25098 __fesetround and define as weak alias of __fesetround. Use
25099 libm_hidden_weak.
25100 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
25101 Likewise.
25102 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
25103 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
25104 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
25105 * sysdeps/tile/math_private.h (__fesetround): New inline function.
25106 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
25107 __fesetround and define as weak alias of __fesetround. Use
25108 libm_hidden_weak.
25109 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
25110 __fesetround instead of fesetround.
25111 (default_libc_feholdexcept_setround): Likewise.
25112 (libc_feholdsetround_ctx): Likewise.
25113 (libc_feholdsetround_noex_ctx): Likewise.
25114
25115 [BZ #17748]
25116 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
25117 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
25118 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
25119 and define as weak alias of __fesetenv. Use libm_hidden_weak.
25120 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
25121 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
25122 define as weak alias of __fesetenv. Use libm_hidden_weak.
25123 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
25124 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
25125 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
25126 define as weak alias of __fesetenv. Use libm_hidden_weak.
25127 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
25128 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
25129 define as weak alias of __fesetenv. Use libm_hidden_weak.
25130 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
25131 libm_hidden_def.
25132 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
25133 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
25134 Likewise.
25135 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
25136 define as weak alias of __fesetenv. Use libm_hidden_weak.
25137 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
25138 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
25139 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
25140 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
25141 and define as weak alias of __fesetenv. Use libm_hidden_weak.
25142 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
25143 __fesetenv instead of fesetenv.
25144 (libc_feresetround_noex_ctx): Likewise.
25145 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
25146 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
25147 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
25148 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
25149 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
25150 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
25151 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
25152 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
25153 (__feupdateenv): Likewise.
25154 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
25155 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
25156 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
25157 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
25158
25159 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
25160
25161 [BZ #17806]
25162 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
25163 addresses have been freed.
25164
25165 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
25166
25167 * resolv/res_init.c (__res_vinit): Improve comments about nserv
25168 and nservall.
25169
25170 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
25171
25172 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
25173 Clean up check_pf allocation pattern. addresses
25174
25175 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25176
25177 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
25178 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
25179 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
25180 * nptl/pthread_exit.c (__pthread_exit): Likewise.
25181 * nptl/pthread_join.c (pthread_join): Likewise.
25182 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
25183 * sysdeps/posix/waitid.c (__waitid): Likewise.
25184 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
25185 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
25186 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
25187 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
25188 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
25189 Likewise.
25190 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
25191 (__libc_pread64): Likewise.
25192 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
25193 (__libc_pwrite): Likewise.
25194 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
25195 (__libc_pwrite64): Likewsie.
25196 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
25197 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
25198 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
25199 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
25200 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
25201 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
25202 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
25203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
25204 Likewise.
25205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
25206 (__libc_pread64): Likewise.
25207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
25208 Likewise.
25209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
25210 (__libc_pwrite64): Likewise.
25211 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
25212 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
25213 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
25214 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
25215 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
25216 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
25217 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
25218 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
25219 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
25220 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
25221 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
25222 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
25223 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
25224 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
25225 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
25226 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
25227 Likewise.
25228
25229 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
25230
25231 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
25232 (CFLAGS-test-double.c): Likewise.
25233 (CFLAGS-test-ldouble.c): Likewise.
25234 (CPPFLAGS-test-ifloat.c): Likewise.
25235 (CPPFLAGS-test-idouble.c): Likewise.
25236 (CPPFLAGS-test-ildoubl.c): Likewise.
25237 (CFLAGS-test-test-fenv.c): Remove variable.
25238 (CFLAGS-test-misc.c): Likewise.
25239
25240 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
25241
25242 [BZ #17797]
25243 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
25244 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
25245 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
25246 CLOCKS_PER_SEC == 1000000.
25247 * time/clocktest.c (main): Replace %ld with %jd and cast to
25248 intmax_t.
25249
25250 2015-01-05 Roland McGrath <roland@hack.frob.com>
25251
25252 * sysdeps/generic/unwind-resume.h: New file.
25253 * sysdeps/gnu/unwind-resume.c: Include it.
25254 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
25255 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
25256 argument list.
25257 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
25258 global rather than static.
25259 (_Unwind_Resume): Update user.
25260 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
25261 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
25262 rather than static. Add __attribute__ ((cold)).
25263 (_Unwind_Resume, __gcc_personality_v0): Update callers.
25264 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
25265 * sysdeps/arm/arm-unwind-resume.S: New file.
25266 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
25267 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
25268 * sysdeps/arm/Makefile [$(subdir) = csu]
25269 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
25270 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
25271 Add rt-arm-unwind-resume.
25272 [$(subdir) = nptl]
25273 (libpthread-sysdep_routines, libpthread-shared-only-routines):
25274 Add pt-arm-unwind-resume.
25275 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
25276 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
25277
25278 2015-01-05 Joseph Myers <joseph@codesourcery.com>
25279
25280 [BZ #17748]
25281 * include/fenv.h (__feholdexcept): Declare. Use
25282 libm_hidden_proto.
25283 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
25284 define as weak alias of __feholdexcept. Use libm_hidden_weak.
25285 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25286 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
25287 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
25288 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
25289 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
25290 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25291 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
25292 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
25293 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
25294 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
25295 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
25296 (feholdexcept): Likewise.
25297 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
25298 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
25299 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
25300 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25301 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
25302 __feholdexcept instead of feholdexcept.
25303 (default_libc_feholdexcept_setround): Likewise.
25304
25305 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
25306
25307 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
25308 to avoid using stl/str to align destination.
25309
25310 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
25311
25312 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
25313
25314 2015-01-05 Joseph Myers <joseph@codesourcery.com>
25315
25316 [BZ #17796]
25317 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
25318 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
25319 Define as weak alias not strong alias.
25320
25321 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
25322
25323 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
25324 bltzal with addiupc.
25325 (RTLD_START): Ditto.
25326
25327 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
25328
25329 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
25330 for __vdso_* functions in declarations.
25331 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
25332 definitions.
25333 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
25334 INTERNAL_VSYSCALL): Use struct return types to check for error.
25335
25336 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
25337 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
25338 function with cast from llround().
25339 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
25340 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
25341 Define.
25342
25343 2015-01-05 Joseph Myers <joseph@codesourcery.com>
25344
25345 [BZ #17793]
25346 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
25347 Define as weak alias not strong alias.
25348
25349 [BZ #17635]
25350 * ctype/ctype-c99.c: New file. isblank implementation moved from
25351 ...
25352 * ctype/ctype-extn.c: ... here.
25353 (__isblank_l): Move to ...
25354 * ctype/ctype-c99_l.c: ... here. New file.
25355 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
25356 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
25357 Remove variable.
25358 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
25359 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
25360 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
25361 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
25362 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
25363
25364 [BZ #17777]
25365 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
25366 (posix_fadvise64): Define as weak alias not strong alias.
25367 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
25368 (posix_fallocate64): Likewise.
25369 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
25370 Remove variable.
25371 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
25372 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
25373 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
25374 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
25375 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
25376
25377 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
25378
25379 [BZ #16191]
25380 * NEWS: Mention bug fix.
25381 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
25382 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
25383 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
25384 (HOST_STACK_END_ADDR): Likewise.
25385
25386 2015-01-02 Joseph Myers <joseph@codesourcery.com>
25387
25388 [BZ #17748]
25389 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
25390 * math/fegetround.c (fegetround): Rename to __fegetround and
25391 define as weak alias of __fegetround. Use libm_hidden_weak.
25392 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
25393 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
25394 * sysdeps/arm/fegetround.c (fegetround): Likewise.
25395 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
25396 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
25397 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
25398 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
25399 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
25400 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
25401 Undefine after rather than before function definition; use
25402 parentheses around function name in definition.
25403 (__fegetround): Also undefine macro after function definition.
25404 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
25405 __fegetround and define as weak alias of __fegetround. Use
25406 libm_hidden_weak. Do not undefine as macro.
25407 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
25408 Likewise.
25409 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
25410 __fegetround and define as weak alias of __fegetround. Use
25411 libm_hidden_weak.
25412 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
25413 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
25414 * sysdeps/tile/math_private.h (__fegetround): New inline function.
25415 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
25416 __fegetround and define as weak alias of __fegetround. Use
25417 libm_hidden_weak.
25418 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
25419 __fegetround instead of fegetround.
25420
25421 [BZ #17782]
25422 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
25423 Condition macro definition on [__USE_MISC].
25424
25425 [BZ #17781]
25426 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
25427 (struct sigaction): Change type of sa_flags field to int.
25428
25429 [BZ #17780]
25430 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
25431 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
25432 __glibc_reserved0.
25433
25434 * nptl/version.c (banner): Use single year in copyright notice.
25435
25436 * NEWS: Update copyright dates.
25437 * catgets/gencat.c (print_version): Likewise.
25438 * csu/version.c (banner): Likewise.
25439 * debug/catchsegv.sh: Likewise.
25440 * debug/pcprofiledump.c (print_version): Likewise.
25441 * debug/xtrace.sh (do_version): Likewise.
25442 * elf/ldconfig.c (print_version): Likewise.
25443 * elf/ldd.bash.in: Likewise.
25444 * elf/pldd.c (print_version): Likewise.
25445 * elf/sotruss.sh: Likewise.
25446 * elf/sprof.c (print_version): Likewise.
25447 * iconv/iconv_prog.c (print_version): Likewise.
25448 * iconv/iconvconfig.c (print_version): Likewise.
25449 * locale/programs/locale.c (print_version): Likewise.
25450 * locale/programs/localedef.c (print_version): Likewise.
25451 * login/programs/pt_chown.c (print_version): Likewise.
25452 * malloc/memusage.sh (do_version): Likewise.
25453 * malloc/memusagestat.c (print_version): Likewise.
25454 * malloc/mtrace.pl: Likewise.
25455 * manual/libc.texinfo: Likewise.
25456 * nptl/version.c (banner): Likewise.
25457 * nscd/nscd.c (print_version): Likewise.
25458 * nss/getent.c (print_version): Likewise.
25459 * nss/makedb.c (print_version): Likewise.
25460 * posix/getconf.c (main): Likewise.
25461 * scripts/test-installation.pl: Likewise.
25462 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
25463
25464 2015-01-02 Will Newton <will.newton@linaro.org>
25465
25466 * sysdeps/arm/armv7/configure: Removed.
25467 * sysdeps/arm/armv7/configure.ac: Likewise.
25468
25469 2015-01-02 Joseph Myers <joseph@codesourcery.com>
25470
25471 * All files with FSF copyright notices: Update copyright dates
25472 using scripts/update-copyrights.
25473 * intl/plural.c: Regenerated.
25474 * locale/programs/charmap-kw.h: Likewise.
25475 * locale/programs/locfile-kw.h: Likewise.
25476
25477 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
25478
25479 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
25480
25481 2014-12-31 Joseph Myers <joseph@codesourcery.com>
25482
25483 [BZ #17748]
25484 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
25485 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
25486 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
25487 and define as weak alias of __fegetenv. Use libm_hidden_weak.
25488 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
25489 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
25490 define as weak alias of __fegetenv. Use libm_hidden_weak.
25491 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
25492 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
25493 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
25494 define as weak alias of __fegetenv. Use libm_hidden_weak.
25495 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
25496 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
25497 define as weak alias of __fegetenv. Use libm_hidden_weak.
25498 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
25499 libm_hidden_def.
25500 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
25501 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
25502 Likewise.
25503 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
25504 define as weak alias of __fegetenv. Use libm_hidden_weak.
25505 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
25506 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
25507 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
25508 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
25509 and define as weak alias of __fegetenv. Use libm_hidden_weak.
25510 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
25511 __fegetenv instead of fegetenv.
25512 (libc_feholdsetround_noex_ctx): Likewise.
25513
25514 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
25515
25516 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
25517 (Elf_MIPS_ABIFlags_v0): New structure.
25518 (EF_MIPS_FP64): Define.
25519 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
25520 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
25521 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
25522 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
25523 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
25524 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
25525 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
25526 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
25527 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
25528 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
25529 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
25530 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
25531 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
25532 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
25533 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
25534 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
25535 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
25536 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
25537 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
25538 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
25539 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
25540 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
25541 field.
25542 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
25543 EF_MIPS_FP64.
25544 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
25545 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
25546 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
25547 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
25548 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
25549 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
25550 * sysdeps/mips/tst-abi-interlink.c: Likewise.
25551 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
25552 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
25553 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
25554 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
25555 record the current FP ABI extension.
25556 (mips-mode-switch): Define to show if kernel headers support mode
25557 switching.
25558 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
25559 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
25560 supported SYSV ABI version to 3.
25561 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
25562 feature.
25563
25564 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25565 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25566
25567 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
25568 path.
25569 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
25570
25571 2014-12-31 Joseph Myers <joseph@codesourcery.com>
25572
25573 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
25574 __fegetround and redefine to call __fegetround. Remove condition
25575 on [!__NO_MATH_INLINES].
25576 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
25577 function.
25578 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
25579 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
25580 Remove macro.
25581 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
25582 instead of <fenv_libc.h>.
25583 (__llrintl): Call fegetround instead of __fegetround.
25584 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
25585 instead of <fenv_libc.h>.
25586 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
25587 (__lrintl): Call fegetround instead of __fegetround.
25588 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
25589 instead of <fenv_libc.h>.
25590 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
25591 (__rintl): Call fegetround instead of __fegetround.
25592
25593 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
25594
25595 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
25596 arrays.
25597
25598 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
25599
25600 [BZ #17775]
25601 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
25602 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
25603 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
25604
25605 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
25606
25607 * sysdeps/i386/tls-macros.h: Include <features.h>.
25608 (TLS_LE): Use non-PIC version for GCC >= 5.0.
25609 (TLS_IE): Likewise.
25610 (TLS_LD): Likewise.
25611 (TLS_GD): Likewise.
25612 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
25613 define for GCC >= 5.0.
25614
25615 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
25616
25617 * math/test-fenv.c (test_single_exception, set_single_exc,
25618 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
25619 feexcp_mask_test, feenable_test, fe_single_test): Add
25620 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
25621 case where they are not used.
25622 * math/libm-test.inc: Likewise.
25623 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
25624 unused in the absence of FP rounding/exception support.
25625 * stdio-common/tst-printf-round.c: Likewise.
25626 * stdlib/tst-strtod-round.c: Likewise.
25627 * stdlib/tst-strtod-underflow.c: Likewise.
25628
25629 2014-12-30 Joseph Myers <joseph@codesourcery.com>
25630
25631 [BZ #17723]
25632 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
25633 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
25634 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
25635 __feraiseexcept and define as weak alias of __feraiseexcept. Use
25636 libm_hidden_weak.
25637 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
25638 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
25639 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
25640 libm_hidden_def.
25641 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
25642 __feraiseexcept and define as weak alias of __feraiseexcept. Use
25643 libm_hidden_weak.
25644 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
25645 Likewise.
25646 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
25647 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
25648 __feraiseexcept and define as weak alias of __feraiseexcept. Use
25649 libm_hidden_weak.
25650 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
25651 libm_hidden_def.
25652 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
25653 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
25654 (__feraiseexcept): Likewise.
25655 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
25656 __feraiseexcept and define as weak alias of __feraiseexcept. Use
25657 libm_hidden_weak.
25658 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
25659 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
25660 libm_hidden_def.
25661 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
25662 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
25663 Use libm_hidden_def.
25664 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
25665 libm_hidden_def.
25666 (feraiseexcept): Define as weak not strong alias. Use
25667 libm_hidden_weak.
25668 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
25669 New inline function. Factored out of ...
25670 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
25671 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
25672 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
25673 feraiseexcept.
25674 * math/w_acos.c (__acos): Likewise.
25675 * math/w_asin.c (__asin): Likewise.
25676 * math/w_ilogb.c (__ilogb): Likewise.
25677 * math/w_j0.c (y0): Likewise.
25678 * math/w_j1.c (y1): Likewise.
25679 * math/w_jn.c (yn): Likewise.
25680 * math/w_log.c (__log): Likewise.
25681 * math/w_log10.c (__log10): Likewise.
25682 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
25683 * sysdeps/aarch64/fpu/math_private.h
25684 (libc_feupdateenv_test_aarch64): Likewise.
25685 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
25686 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
25687 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
25688 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
25689 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
25690 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
25691 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
25692 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
25693 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
25694 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
25695
25696 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
25697
25698 [BZ #17732]
25699 * io/test-utime.c (main): Replace %ld with %jd and cast to
25700 intmax_t.
25701 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
25702 * nptl/tst-mutex5.c: Include <stdint.h>.
25703 (do_test): Replace %ld with %jd and cast to intmax_t.
25704 * posix/tst-regex.c (run_test): Likewise.
25705 (run_test_backwards): Likewise.
25706 * rt/tst-clock.c: Include <stdint.h>.
25707 (clock_test): Replace %ld with %jd and cast to intmax_t.
25708 * rt/tst-cpuclock1.c: Include <stdint.h>.
25709 (do_test): Replace %lu with %ju and cast to uintmax_t.
25710 * rt/tst-cpuclock2.c: Include <stdint.h>.
25711 (do_test): Replace %lu with %ju and cast to uintmax_t.
25712 * rt/tst-mqueue1.c: Include <stdint.h>.
25713 (check_attrs): Replace %ld with %jd and cast to intmax_t.
25714 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
25715 intmax_t.
25716 * rt/tst-mqueue4.c (do_test): Likewise.
25717 * rt/tst-timer4.c: Include <stdint.h>.
25718 (check_ts): Replace %ld with %jd and cast to intmax_t.
25719 (do_test): Likewise.
25720 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
25721 and cast to intmax_t.
25722 * sysdeps/pthread/tst-timer.c (main): Likewise.
25723 * time/clocktest.c (main): Likewise.
25724 * time/tst-posixtz.c (do_test): Likewise.
25725 * timezone/tst-timezone.c (main): Likewise.
25726
25727 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
25728 H.J. Lu <hongjiu.lu@intel.com>
25729
25730 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
25731 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
25732 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
25733 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
25734 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
25735 version if bit_Fast_Unaligned_Load is set.
25736 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25737 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25738 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25739 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25740 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25741 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25742 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25743 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
25744 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
25745 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
25746 to 4.
25747 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
25748 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
25749 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
25750 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
25751
25752 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
25753
25754 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
25755 instead of #if to avoid a Wundef warning.
25756 * stdlib/tst-limits.c (do_test): Likewise.
25757
25758 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
25759 parallel other exception macros.
25760 (fegetenv): Convert from macro to extern inline so that it applies
25761 retroactively to inline functions already seen by the compiler.
25762 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
25763
25764 * posix/Makefile (before-compile): Use $(objpfx) for
25765 posix-conf-vars-def.h.
25766
25767 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25768
25769 * posix/getconf.c (main): Use size_t for type of I.
25770 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
25771 NSPEC.
25772
25773 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
25774 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
25775 * posix/posix-envs.def: Likewise.
25776 * sysdeps/posix/sysconf.c: Likewise.
25777 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
25778 (specs): Remove array.
25779 * scripts/gen-posix-conf-vars.awk: Support generation of specs
25780 array.
25781
25782 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
25783 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
25784 (__sysconf): Use CONF_IS_* macros.
25785
25786 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
25787 ($(objpfx)posix-conf-vars-def.h): New target.
25788 * posix/posix-conf-vars.list: New file.
25789 * posix/posix-conf-vars.h: New file.
25790 * posix/confstr.c: Include posix-conf-vars.h.
25791 (confstr): Use CONF_IS_* macros.
25792 * posix/posix-envs.def: Include posix-conf-vars.h. Use
25793 CONF_IS_* macros.
25794 * scripts/gen-posix-conf-vars.awk: New file.
25795
25796 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
25797
25798 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
25799 fegetround): Add no-op macros to avoid linknamespace issues.
25800
25801 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
25802 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
25803
25804 * sysdeps/unix/sysv/linux/tile/sysdep.h
25805 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
25806 assembly-specific section to avoid a redefinition warning.
25807
25808 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
25809 long before casting to pointer to avoid a cast warning.
25810
25811 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
25812
25813 * sysdeps/tile/tilegx/Implies: New file.
25814
25815 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
25816
25817 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
25818
25819 2014-12-23 Florian Weimer <fweimer@redhat.com>
25820
25821 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
25822
25823 2014-12-22 Joseph Myers <joseph@codesourcery.com>
25824
25825 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
25826 not define.
25827 * sysdeps/unix/sysv/linux/utimes.c: Do not include
25828 <kernel-features.h>.
25829 (__utimes) [__NR_utimes]: Make code unconditional.
25830 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
25831 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25832 (__ASSUME_UTIMES): Do not undefine.
25833 * sysdeps/unix/sysv/linux/tile/kernel-features.h
25834 (__ASSUME_UTIMES): Likewise.
25835 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
25836 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
25837 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
25838 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
25839
25840 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
25841
25842 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
25843
25844 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
25845
25846 [BZ #17747]
25847 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
25848 alias to weak alias for j0l, y0l.
25849 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
25850 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
25851
25852 [BZ #17746]
25853 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
25854 conversion.
25855
25856 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
25857
25858 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
25859 to zero if not already defined.
25860
25861 2014-12-22 Joseph Myers <joseph@codesourcery.com>
25862
25863 [BZ #17724]
25864 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
25865 (__kernel_standard_f): Remove. Moved to k_standardf.c.
25866 (__kernel_standard_l): Remove. Moved to k_standardl.c with
25867 (char *) casts added.
25868 * sysdeps/ieee754/k_standardf.c: New file.
25869 * sysdeps/ieee754/k_standardl.c: Likewise.
25870 * math/Makefile (libm-support): Remove k_standard.
25871 (libm-calls): Add k_standard.
25872
25873 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
25874
25875 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
25876 Optimize to avoid an unnecessary FPCR read.
25877
25878 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
25879
25880 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
25881 Optimize to reduce FPCR/FPSR accesses.
25882
25883 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
25884
25885 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
25886 Call libc_fetestexcept_aarch64.
25887
25888 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
25889
25890 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
25891 Call libc_fesetround_aarch64.
25892
25893 2014-12-22 Joseph Myers <joseph@codesourcery.com>
25894
25895 [BZ #17733]
25896 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
25897 (__bind): Do not define as weak alias.
25898 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
25899 define.
25900 (__getsockname): Do not define as weak alias.
25901
25902 2014-12-22 Will Newton <will.newton@linaro.org>
25903
25904 * manual/install.texi: Document that we require bison 2.7
25905 or above.
25906 * INSTALL: Regenerate.
25907 * configure.ac: Use AC_CHECK_PROG_VER instead of
25908 AC_PATH_PROG when checking for bison and check for
25909 version 2.7 or above.
25910 * configure: Regenerate.
25911
25912 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
25913
25914 [BZ #17745]
25915 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
25916 * sysdeps/tile/ffsll.c (ffsll): To here.
25917
25918 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
25919
25920 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
25921
25922 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
25923 if not defined.
25924 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
25925 definition.
25926 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
25927 hidden ___tls_get_addr.
25928 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
25929 hidden __tls_get_addr.
25930 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
25931 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
25932 Likewise.
25933
25934 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
25935
25936 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
25937 _dl_init call.
25938
25939 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
25940
25941 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
25942 from "call _dl_init@PLT".
25943 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
25944
25945 2014-12-21 Anders Kaseorg <andersk@mit.edu>
25946
25947 * manual/search.texi: (Array Sort Function): Clarify stable sorting
25948 guarantees.
25949
25950 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
25951
25952 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
25953
25954 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
25955
25956 [BZ #17744]
25957 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
25958 strnlen.
25959
25960 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
25961
25962 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
25963 of multu on MIPSr6.
25964 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
25965 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
25966 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
25967 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
25968 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
25969
25970 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
25971
25972 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
25973 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
25974 (PTR_SUBU): Use subu for mips32r6/mips64r6.
25975 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
25976 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
25977 mips32r6/mips64r6.
25978 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
25979
25980 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
25981
25982 * string/strncat.c (STRNCAT): Simplify implementation.
25983
25984 2014-12-19 David S. Miller <davem@davemloft.net>
25985
25986 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
25987 access the quad as both a long double and as a series of 4 words.
25988
25989 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
25990 link_map->l_info array access.
25991
25992 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
25993
25994 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
25995
25996 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
25997 * math/atest-exp2.c (TIMEOUT): Likewise.
25998 * math/atest-sincos.c (TIMEOUT): Likewise.
25999
26000 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
26001
26002 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
26003 -Wno-error with -fno-builtin-lround.
26004
26005 2014-12-19 Torvald Riegel <triegel@redhat.com>
26006
26007 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
26008 Contains futex constants and functions moved over from ...
26009 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
26010 <lowlevellock-futex.h>.
26011 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
26012 (lll_timedwait_tid): Add comments and parentheses around macro
26013 arguments.
26014
26015 2014-12-19 Torvald Riegel <triegel@redhat.com>
26016
26017 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
26018 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
26019 (__lll_private_flag): Remove.
26020 (lll_futex_wait): Likewise.
26021 (lll_futex_timed_wait): Likewise.
26022 (lll_futex_wake): Likewise.
26023 (lll_futex_requeue): Likewise.
26024 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
26025 (__lll_timedwait_tid): Spell out argument names.
26026 (lll_timedwait_tid): Add comments and parentheses around macro
26027 arguments.
26028 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
26029 LLL_SHARED and LLL_PRIVATE usable from assembly code.
26030
26031 2014-12-19 Torvald Riegel <triegel@redhat.com>
26032
26033 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
26034 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
26035 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
26036 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
26037 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
26038 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
26039 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
26040 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
26041 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
26042 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
26043 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
26044 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
26045 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
26046 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
26047 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
26048 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
26049 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
26050 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
26051 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
26052
26053 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
26054
26055 * sysdeps/x86_64/x32/Makefile: New file.
26056
26057 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
26058
26059 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
26060 1L with (mp_limb_t) 1.
26061
26062 2014-12-17 Roland McGrath <roland@hack.frob.com>
26063
26064 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
26065 * nptl/libc_pthread_init.c: ... here.
26066 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
26067 * nptl/register-atfork.c: ... here.
26068
26069 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
26070 Use pthread_sigmask rather than INTERNAL_SYSCALL.
26071 Use assert_perror to check its return value.
26072 (__gai_create_helper_thread): Likewise.
26073
26074 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
26075
26076 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
26077
26078 2014-12-17 Joseph Myers <joseph@codesourcery.com>
26079
26080 [BZ #17725]
26081 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
26082 __profil_counter.
26083 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
26084 Likewise.
26085 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
26086 Likewise.
26087 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
26088 Likewise.
26089 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
26090 (profil_counter): Likewise.
26091 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
26092 (profil_counter): Likewise.
26093 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
26094 Likewise.
26095 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
26096 Likewise.
26097 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
26098 (profil_counter): Likewise.
26099 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
26100 Likewise.
26101 [!__profil_counter] (profil_counter): Define as weak alias of
26102 __profil_counter.
26103 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
26104 (profil_counter): Rename to __profil_counter.
26105 [!__profil_counter] (profil_counter): Define as weak alias of
26106 __profil_counter.
26107 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
26108 (profil_counter): Rename to __profil_counter.
26109 [!__profil_counter] (profil_counter): Define as weak alias of
26110 __profil_counter.
26111 * sysdeps/posix/profil.c: Update comment referring to
26112 profil_counter.
26113 (__profil): Use __profil_counter instead of profil_counter.
26114 * sysdeps/posix/sprofil.c (profil_counter): Rename to
26115 __profil_counter. Use __profil_counter_ushort and
26116 __profil_counter_uint in definitions.
26117 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
26118 instead of profil_counter_uint and profil_counter_ushort.
26119
26120 [BZ #17722]
26121 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
26122 define as weak alias of __inet_makeaddr.
26123 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
26124 as weak alias of __inet_addr.
26125 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
26126 as weak alias of __inet_pton. Use libc_hidden_weak.
26127 * include/arpa/inet.h (__inet_pton): Declare. Use
26128 libc_hidden_proto.
26129 (inet_makeaddr): Don't use libc_hidden_proto.
26130 (__inet_makeaddr): Declare. Use libc_hidden_proto.
26131 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
26132 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
26133 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
26134 Remove variable.
26135 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
26136 (test-xfail-POSIX/time.h/linknamespace): Likewise.
26137
26138 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
26139
26140 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
26141
26142 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
26143
26144 * stdio-common/bug-vfprintf-nargs.c (do_test):
26145 Cast value to intptr_t to avoid format warning
26146 for usage with PRIdPTR printing macro.
26147
26148 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
26149
26150 * libio/tst-widetext.c (do_test):
26151 Use format type %td instead of %Zd for ptrdiff_t
26152 in order to avoid format warning.
26153
26154 2014-12-17 Andreas Schwab <schwab@suse.de>
26155
26156 * nscd/mem.c (gc): Add size_t cast to match printf format.
26157
26158 2014-12-16 Roland McGrath <roland@hack.frob.com>
26159
26160 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
26161 (init): Apply PTR_MANGLE to pointers before storing them.
26162 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
26163 before using them.
26164
26165 2014-12-16 Joseph Myers <joseph@codesourcery.com>
26166
26167 [BZ #17719]
26168 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
26169 define as weak alias of __memrchr.
26170 (__memrchr): Do not define as strong alias of memrchr.
26171 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
26172 Remove variable.
26173 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
26174 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
26175 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
26176
26177 [BZ #17717]
26178 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
26179 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
26180 (if_indextoname): Rename to __if_indextoname and define as weak
26181 alias of __if_indextoname. Use libc_hidden_weak.
26182 (if_freenameindex): Rename to __if_freenameindex and define as
26183 weak alias of __if_freenameindex.
26184 (if_nameindex): Rename to __if_nameindex and define as weak alias
26185 of __if_nameindex.
26186 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
26187 __if_nametoindex and define as weak alias of __if_nametoindex.
26188 Use libc_hidden_weak.
26189 (if_freenameindex): Rename to __if_freenameindex and define as
26190 weak alias of __if_freenameindex.
26191 (if_nameindex): Rename to __if_nameindex and define as weak alias
26192 of __if_nameindex.
26193 (if_indextoname): Rename to __if_indextoname and define as weak
26194 alias of __if_indextoname. Use libc_hidden_weak.
26195 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
26196 __if_nametoindex and define as weak alias of __if_nametoindex.
26197 Use libc_hidden_weak.
26198 (if_freenameindex): Rename to __if_freenameindex and define as
26199 weak alias of __if_freenameindex. Use libc_hidden_weak.
26200 (if_nameindex_netlink): Use __if_freenameindex instead of
26201 if_freenameindex.
26202 (if_nameindex): Rename to __if_nameindex and define as weak alias
26203 of __if_nameindex. Use libc_hidden_weak.
26204 (if_indextoname): Rename to __if_indextoname and define as weak
26205 alias of __if_indextoname. Use libc_hidden_weak.
26206 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
26207 libc_hidden_proto.
26208 [!_ISOMAC] (__if_freenameindex): Likewise.
26209 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
26210 if_nametoindex.
26211 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
26212 variable.
26213 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
26214 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
26215 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
26216 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
26217 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
26218 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
26219 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
26220
26221 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
26222 Remove variable.
26223 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
26224 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
26225
26226 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26227
26228 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
26229 subscript above bounds'
26230
26231 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
26232 bounds.
26233
26234 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
26235
26236 * libio/tst-fopenloc.c: Use test-skeleton.c.
26237
26238 * stdlib/tst-bsearch.c: Use test-skeleton.c.
26239 (entry): Rename to ITEM.
26240 (do_test, comp): Adjust.
26241
26242 * stdio-common/tst-fseek.c: Use test-skeleton.c.
26243
26244 2014-12-16 Torvald Riegel <triegel@redhat.com>
26245
26246 * string/tester.c: Include <libc-internal.h>.
26247 (test_memset): Ignore -Wmemset-transposed-args.
26248
26249 2014-12-16 Torvald Riegel <triegel@redhat.com>
26250
26251 * misc/tst-mntent2.c (do_test): Fix warning.
26252
26253 2014-12-16 Torvald Riegel <triegel@redhat.com>
26254
26255 * elf/tst-unique4lib.cc(a): Mark as used.
26256
26257 2014-12-16 Florian Weimer <fweimer@redhat.com>
26258
26259 [BZ #17630]
26260 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
26261 names.
26262
26263 2014-12-16 Allan McRae <allan@archlinux.org>
26264
26265 * stdio-common/Makefile (tests): Re-add bug26.
26266
26267 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
26268
26269 [BZ #17657]
26270 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
26271 static array.
26272
26273 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
26274
26275 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
26276 (__lll_lock_wait): Likewise.
26277 (__lll_timedlock_wait): Likewise.
26278 (__lll_timedwait_tid): Likewise.
26279 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
26280 (__lll_robust_timedlock_wait): Likewise.
26281 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
26282 (lll_cond_trylock): Likewise.
26283 (__lll_lock): Likewise.
26284 (__lll_robust_lock): Likewise.
26285 (__lll_cond_lock): Likewise.
26286 (lll_robust_cond_lock): Likewise.
26287 (__lll_timedlock): Likewise.
26288 (__lll_robust_timedlock): Likewise.
26289 (__lll_unlock): Likewise.
26290 (__lll_robust_unlock): Likewise.
26291 (lll_wait_tid): Likewise.
26292 (lll_timedwait_tid): Likewise.
26293
26294 2014-12-15 Torvald Riegel <triegel@redhat.com>
26295
26296 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
26297
26298 2014-12-15 Torvald Riegel <triegel@redhat.com>
26299
26300 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
26301
26302 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
26303
26304 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
26305 * stdio-common/tst-sprintf.c: Likewise.
26306
26307 2014-12-15 Torvald Riegel <triegel@redhat.com>
26308
26309 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
26310
26311 2014-12-15 Jeff Law <law@redhat.com>
26312
26313 [BZ #16617]
26314 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
26315 on the heap. (CVE-2012-3406)
26316 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
26317 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
26318 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
26319
26320 2014-12-15 Will Newton <will.newton@linaro.org>
26321
26322 * manual/install.texi: Bump required version of texinfo
26323 to 4.7 from 4.5.
26324 * INSTALL: Regenerated.
26325 * configure.ac: Check for makeinfo version 4.7 and above.
26326 * configure: Regenerated.
26327
26328 2014-12-12 Roland McGrath <roland@hack.frob.com>
26329
26330 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
26331 PREFIX, string constant to insert between directory and name.
26332 * sysdeps/posix/shm_open.c: Update caller.
26333 * sysdeps/posix/shm_unlink.c: Likewise.
26334 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
26335 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
26336 (SEM_SHM_PREFIX): New macro.
26337 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
26338 [$(have-thread-library) = no].
26339 * nptl/Makefile (libpthread-routines): Add shm-directory.
26340 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
26341 * sysdeps/nptl/shm-directory.h: New file.
26342 * sysdeps/posix/shm-directory.c
26343 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
26344 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
26345 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
26346 INTERNAL_SYSCALL.
26347 (__where_is_shmfs): Function removed.
26348 (mountpoint, defaultmount, defaultdir, __namedsem_once):
26349 Variables removed.
26350 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
26351 Use SHM_GET_NAME.
26352 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
26353
26354 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
26355 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
26356 unconditional for use inside libpthread.
26357 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
26358
26359 2014-12-12 Roland McGrath <roland@hack.frob.com>
26360
26361 * nptl/pthread_getaffinity.c: New file.
26362 * nptl/pthread_setaffinity.c: New file.
26363 * nptl/pthread_getname.c: New file.
26364 * nptl/pthread_setname.c: New file.
26365
26366 * nptl/pthread_create.c (START_THREAD_DEFN)
26367 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
26368
26369 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
26370 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26371
26372 * resolv/res_send.c (send_vc): Disable warning resplen may
26373 be used uninitialized.
26374
26375 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
26376
26377 * nptl/tst-mutex6.c
26378 (ATTR_NULL): New define checks ATTR against NULL.
26379 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
26380 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
26381
26382 2014-12-11 James Lemke <jwlemke@codesourcery.com>
26383
26384 [BZ #17581]
26385 * malloc/hooks.c
26386 (mem2mem_check): Revert my previous change.
26387 (malloc_check_get_size): Revert my previous change.
26388 (mem2chunk_check): Revert my previous change.
26389
26390 2014-12-11 Roland McGrath <roland@hack.frob.com>
26391
26392 * sysdeps/posix/shm-directory.c: New file.
26393 * sysdeps/posix/shm-directory.h: New file.
26394 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
26395 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
26396 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
26397 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
26398 Transmute EPERM to EACCES.
26399 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
26400 from ...
26401 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
26402 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
26403
26404 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26405
26406 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
26407 pointer and cast to uintptr_t.
26408 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
26409 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
26410 Add cast to avoid warning.
26411 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
26412
26413 2014-12-11 Joseph Myers <joseph@codesourcery.com>
26414
26415 * nptl/semaphore.h: Move to ...
26416 * sysdeps/pthread/semaphore.h: ... here.
26417 * Makefile (installed-headers): Change nptl/semaphore.h to
26418 sysdeps/pthread/semaphore.h.
26419
26420 2014-12-11 Roland McGrath <roland@hack.frob.com>
26421
26422 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
26423 generated error format strings.
26424
26425 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
26426 -Wformat-extra-args warnings for scanf formats.
26427 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
26428 test of zero-length format (duh).
26429 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
26430 corner-case scanf format test.
26431 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
26432 generated fprintf format string.
26433 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
26434 corner-case sprintf format tests.
26435 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
26436 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
26437 -Wformat-extra-args warnings throughout.
26438 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
26439 (CFLAGS-scanf4.c): Likewise.
26440 (CFLAGS-scanf7.c): Likewise.
26441 (CFLAGS-tst-sprintf.c): Likewise.
26442 (CFLAGS-tst-printf.c): Likewise.
26443 (CFLAGS-tst-printfsz.c): Likewise.
26444
26445 2014-12-11 Joseph Myers <joseph@codesourcery.com>
26446
26447 * include/cpio.h: New file.
26448 * include/fmtmsg.h: Likewise.
26449
26450 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
26451 corresponding format argument to size_t.
26452 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
26453 arguments.
26454 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
26455 corresponding format argument to size_t.
26456 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
26457 arguments.
26458 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
26459 corresponding format argument to size_t.
26460 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
26461 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
26462 (CFLAGS-tst-mbswcs2.c): Likewise.
26463 (CFLAGS-tst-mbswcs3.c): Likewise.
26464 (CFLAGS-tst-mbswcs4.c): Likewise.
26465 (CFLAGS-tst-mbswcs5.c): Likewise.
26466 (CFLAGS-tst-trans.c): Likewise.
26467
26468 2014-12-11 Roland McGrath <roland@hack.frob.com>
26469
26470 * posix/regexbug1.c (main): Use "%s" format with regerror results,
26471 rather than assuming they won't contain any '%'s.
26472
26473 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
26474
26475 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
26476 inhibit_loop_to_libcall to avoid recursive calls.
26477 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
26478 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
26479
26480 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
26481
26482 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
26483 prototype.
26484
26485 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
26486
26487 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
26488 integer value instead of boolean.
26489
26490 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
26491
26492 * malloc/malloc.c: Fix powerof2 check.
26493
26494 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
26495
26496 * locale/programs/locfile.h (maybe_swap_uint32):
26497 Remove inline and add unused attribute.
26498
26499 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
26500
26501 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
26502 Truncating assembler expression to a .long expression.
26503
26504 2014-12-11 Andreas Schwab <schwab@suse.de>
26505
26506 * elf/rtld.c (struct map_args): Constify str member.
26507 (do_preload): Constify fname argument.
26508
26509 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26510
26511 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
26512 constants definition.
26513
26514 2014-12-11 Andreas Schwab <schwab@suse.de>
26515
26516 [BZ #16657]
26517 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
26518 FORCE_ELISION instead of DO_ELISION.
26519 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
26520 Remove.
26521 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
26522 Likewise.
26523
26524 * iconvdata/gconv-modules: Remove duplicate entry.
26525
26526 2014-12-11 Will Newton <will.newton@linaro.org>
26527
26528 Merge gettext 0.19.3 into intl/.
26529
26530 This involves a number of cosmetic changes to comments
26531 and ANSI function definitions and prototypes throughout
26532 all the files. The gettext copyright header is used but
26533 with the date ranges taken from the glibc copy.
26534
26535 * NEWS: Add gettext merge to 2.21.
26536 * intl/bindtextdom.c: Switch to gettext copyright.
26537 Use ANSI definitions and prototypes.
26538 Use gl_* locking primitives rather than __libc_* ones.
26539 Use __builtin_expect rather than __glibc_likely/unlikely.
26540 * intl/dcgettext.c: Switch to gettext copyright.
26541 Use ANSI definitions and prototypes.
26542 * intl/dcigettext.c: Switch to gettext copyright.
26543 Use ANSI definitions and prototypes.
26544 (INTDIV0_RAISES_SIGFPE): New define.
26545 Use gl_* locking primitives rather than __libc_* ones.
26546 Include eval-plural.h instead of plural-eval.c.
26547 Use __builtin_expect rather than __glibc_likely/unlikely.
26548 * intl/dcngettext.c: Switch to gettext copyright.
26549 Use ANSI definitions and prototypes.
26550 * intl/dgettext.c: Likewise.
26551 * intl/dngettext.c: Likewise.
26552 * intl/plural-eval.c: Renamed to...
26553 * intl/eval-plural.h: ...this.
26554 * intl/explodename.c: Switch to gettext copyright.
26555 Use ANSI definitions and prototypes.
26556 (_nl_explode_name): Use strchr instead of __rawmemchr.
26557 * intl/finddomain.c: Switch to gettext copyright.
26558 Use ANSI definitions and prototypes.
26559 Use gl_* locking primitives rather than __libc_* ones.
26560 (_nl_find_domain): Use malloc rather than alloca for
26561 allocation of temporary locale name.
26562 * intl/gettext.c: Switch to gettext copyright.
26563 Use ANSI definitions and prototypes.
26564 * intl/gettextP.h: Switch to gettext copyright.
26565 Use ANSI definitions and prototypes.
26566 Use gl_* locking primitives rather than __libc_* ones.
26567 * intl/gmo.h: Switch to gettext copyright.
26568 (struct sysdep_string): Move struct segment_pair outside of
26569 struct definition.
26570 * intl/hash-string.c: Use ANSI definitions and prototypes.
26571 * intl/hash-string.h: Switch to gettext copyright.
26572 Use ANSI definitions and prototypes.
26573 * intl/l10nflist.c: Switch to gettext copyright.
26574 Use ANSI definitions and prototypes.
26575 (_nl_normalize_codeset): Avoid integer overflow.
26576 * intl/loadinfo.h: Switch to gettext copyright.
26577 Use ANSI definitions and prototypes.
26578 (LIBINTL_DLL_EXPORTED): New define.
26579 (PATH_SEPARATOR): New define.
26580 * intl/loadmsgcat.c: Switch to gettext copyright.
26581 * intl/localealias.c: Switch to gettext copyright.
26582 Use ANSI definitions and prototypes.
26583 (_nl_expand_alias): Use PATH_SEPARATOR.
26584 * intl/ngettext.c: Switch to gettext copyright.
26585 Use ANSI definitions and prototypes.
26586 * intl/plural-exp.c: Likewise.
26587 * intl/plural-exp.h: Switch to gettext copyright.
26588 Use ANSI definitions and prototypes.
26589 (struct expression): Move definition of enum operator outside
26590 of struct definition.
26591 * intl/plural.c: Regenerate.
26592 * intl/plural.y: Switch to gettext copyright.
26593 Use ANSI definitions and prototypes.
26594 Port to bison 3.0.
26595 * intl/textdomain.c: Switch to gettext copyright.
26596 Use ANSI definitions and prototypes.
26597 Use gl_* locking primitives rather than __libc_* ones.
26598
26599 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
26600
26601 * debug/warning-nop.c: Add used atrribute.
26602
26603 2014-12-10 Joseph Myers <joseph@codesourcery.com>
26604
26605 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
26606
26607 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
26608 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
26609 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
26610
26611 2014-12-10 Joseph Myers <joseph@codesourcery.com>
26612 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26613
26614 [BZ #17634]
26615 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
26616 Undefine after defining function. Define as weak alias of
26617 __wcschr. Use libc_hidden_weak.
26618 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
26619 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
26620 (libc_hidden_def): Also define __GI___wcschr alias.
26621 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
26622 __wcschr and define as weak alias of __wcschr.
26623 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
26624 __wcschr.
26625 [!WCSCHR] (DEFAULT_WCSCHR): Define.
26626 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
26627 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
26628 libc_hidden_weak. Do not use libc_hidden_def.
26629 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
26630 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
26631 __GI___wcschr alias.
26632 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
26633 [IS_IN (libc)] (wcschr): Define as macro expanding to
26634 __redirect_wcschr.
26635 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
26636 [IS_IN (libc)] (__wcschr_power6): Likewise.
26637 [IS_IN (libc)] (__wcschr_power7): Likewise.
26638 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
26639 instead of wcschr.
26640 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
26641 __libc_wcschr.
26642 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
26643 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
26644 __wcschr and define as weak alias of __wcschr. Use
26645 libc_hidden_builtin_def.
26646 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
26647 as weak alias of __wcschr. Use libc_hidden_weak.
26648 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
26649 wcschr.
26650 * time/era.c (_nl_init_era_entries): Likewise.
26651 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
26652 variable.
26653 (test-xfail-XPG3/time.h/linknamespace): Likewise.
26654 (test-xfail-XPG4/time.h/linknamespace): Likewise.
26655
26656 2014-12-10 Joseph Myers <joseph@codesourcery.com>
26657
26658 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
26659 format for long int variable.
26660
26661 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
26662
26663 [BZ #10672]
26664 * manual/search.texi: (Array Sort Function): Remove claim how to make
26665 qsort stable.
26666
26667 2014-12-10 Andreas Schwab <schwab@suse.de>
26668
26669 [BZ #12847]
26670 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
26671 user-controlled locks.
26672
26673 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
26674
26675 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
26676 register.
26677
26678 2014-12-10 Joseph Myers <joseph@codesourcery.com>
26679
26680 * configure.ac (--disable-werror): New configure option.
26681 (enable_werror): New AC_SUBST.
26682 * configure: Regenerated.
26683 * config.make.in (enable-werror): New variable.
26684 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
26685 -Wno-error=undef.
26686 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
26687 * manual/install.texi (Configuring and compiling): Document
26688 --disable-werror.
26689 * INSTALL: Regenerated.
26690 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
26691 (CFLAGS-tst-chk2.c): Likewise.
26692 (CFLAGS-tst-chk3.c): Likewise.
26693 (CFLAGS-tst-chk4.cc): Likewise.
26694 (CFLAGS-tst-chk5.cc): Likewise.
26695 (CFLAGS-tst-chk6.cc): Likewise.
26696 (CFLAGS-tst-lfschk1.c): Likewise.
26697 (CFLAGS-tst-lfschk2.c): Likewise.
26698 (CFLAGS-tst-lfschk3.c): Likewise.
26699 (CFLAGS-tst-lfschk4.cc): Likewise.
26700 (CFLAGS-tst-lfschk5.cc): Likewise.
26701 (CFLAGS-tst-lfschk6.cc): Likewise.
26702
26703 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
26704 (main): Disable -Wdeprecated-declarations around calls to
26705 register_printf_function.
26706
26707 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
26708 (do_test): Disable -Wdiv-by-zero around some calls to
26709 fwrite_unlocked and fread_unlocked.
26710
26711 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
26712 (DIAG_POP_NEEDS_COMMENT): Likewise.
26713 (_DIAG_STR1): Likewise.
26714 (_DIAG_STR): Likewise.
26715 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
26716 * stdio-common/bug21.c: Include <libc-internal.h>.
26717 (do_test): Disable -Wformat around call to sscanf.
26718 * stdio-common/scanf14.c: Include <libc-internal.h>.
26719 (main): Disable -Wformat around some calls to scanf functions.
26720
26721 2014-12-09 Torvald Riegel <triegel@redhat.com>
26722
26723 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
26724
26725 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26726
26727 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
26728 stack variable alignment.
26729
26730 2014-12-06 Joseph Myers <joseph@codesourcery.com>
26731
26732 [BZ #17682]
26733 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
26734 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
26735 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
26736 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
26737 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
26738 __getrlimit instead of getrlimit.
26739 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
26740 __gettimeofday instead of gettimeofday.
26741 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
26742 Likewise.
26743 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
26744 Likewise.
26745 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
26746 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
26747 Remove variable.
26748 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
26749 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
26750
26751 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26752
26753 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
26754 for wide-character tests.
26755
26756 2014-12-04 Roland McGrath <roland@hack.frob.com>
26757
26758 * io/openat64.c: #include <libc-internal.h>
26759 (__openat64): Prototypify. Use ignore_value on MODE.
26760 * io/openat.c: Likewise.
26761 * misc/reboot.c: #include <libc-internal.h>
26762 (reboot): Prototypify. Use ignore_value on HOWTO.
26763 * misc/ptrace.c: #include <libc-internal.h>
26764 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
26765
26766 2014-12-04 Joseph Myers <joseph@codesourcery.com>
26767
26768 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
26769 XPG4, UNIX98 and XOPEN2K.
26770 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
26771 Remove variable.
26772 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
26773
26774 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26775
26776 * libio/fileops.c: Use ISO C style for function definitions.
26777 * libio/iofopen.c: Likewise.
26778 * libio/wfileops.c: Likewise.
26779
26780 [BZ #17653]
26781 * libio/fileops.c (_IO_new_file_underflow): Unset cached
26782 offset on EOF.
26783 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
26784 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
26785 (fgets_func): Function pointer to fgets and fgetws.
26786 (do_ftell_test): Add test to verify ftell value after read
26787 EOF.
26788 (do_test): Set fgets_func.
26789
26790 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
26791 O_TRUNC flag for w and w+ modes.
26792 (do_rewind_test): Likewise.
26793 (do_ftell_test): Likewise.
26794 (do_write_test): Likewise.
26795
26796 [BZ #17647]
26797 * libio/fileops.c (do_ftell): Seek only when there are
26798 unflushed writes.
26799 * libio/wfileops.c (do_ftell_wide): Likewise.
26800 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
26801 test case.
26802 (do_one_test): Call it.
26803
26804 2014-12-03 Joseph Myers <joseph@codesourcery.com>
26805
26806 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
26807 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
26808 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
26809 Remove variable.
26810 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
26811 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
26812 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
26813
26814 2014-12-02 Joseph Myers <joseph@codesourcery.com>
26815
26816 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
26817 Remove variable.
26818 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
26819
26820 [BZ #17668]
26821 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
26822 as weak alias of __getifaddrs. Use libc_hidden_weak.
26823 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
26824 __freeifaddrs. Use libc_hidden_weak.
26825 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
26826 define as weak alias of __getifaddrs. Use libc_hidden_weak.
26827 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
26828 __freeifaddrs. Use libc_hidden_weak.
26829 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
26830 __getifaddrs and define as weak alias of __getifaddrs. Use
26831 libc_hidden_weak.
26832 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
26833 __freeifaddrs. Use libc_hidden_weak.
26834 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
26835 Remove variable.
26836 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
26837 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
26838
26839 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
26840
26841 [BZ #17601]
26842 * sysdeps/mips/start.S (__start): Use indirect jump to call
26843 __libc_start_main.
26844
26845 2014-12-02 Joseph Myers <joseph@codesourcery.com>
26846
26847 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
26848
26849 * nptl/tst-mutex1.c: Include <stdbool.h>.
26850 [!ATTR] (ATTR_NULL): New macro.
26851 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
26852 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
26853 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
26854
26855 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
26856 to char *.
26857
26858 [BZ #17665]
26859 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
26860 Change conditional to [__USE_MISC].
26861
26862 [BZ #17664]
26863 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
26864 fgets_unlocked.
26865 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
26866 __fgets_unlocked.
26867 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
26868 fgets_unlocked.
26869 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
26870 Remove variable.
26871 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
26872 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
26873 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
26874 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
26875 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
26876 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
26877 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
26878 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
26879 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
26880
26881 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
26882
26883 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26884
26885 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26886 Remove strpbrk objects.
26887 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26888 (__libc_ifunc_impl_list): Remove strpbrk implementation.
26889 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
26890 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
26891 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
26892 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
26893
26894 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26895 Remove strcspn objects.
26896 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26897 (__libc_ifunc_impl_list): Remove strcspn implementation.
26898 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
26899 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
26900 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
26901 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
26902
26903 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26904 Remove strspn objetcs.
26905 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26906 (__libc_ifunc_impl_list): Remove strspn implementation.
26907 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
26908 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
26909 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
26910 * sysdeps/powerpc/powerpc64/strspn.S: New file.
26911
26912 2014-12-01 James Lemke <jwlemke@codesourcery.com>
26913
26914 [BZ #17581]
26915 * malloc/hooks.c
26916 (mem2mem_check): Add a terminator to the chain of checking blocks.
26917 (malloc_check_get_size): Use it here.
26918 (mem2chunk_check): Ditto.
26919
26920 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26921
26922 * sysdeps/powerpc/powerpc64/strtok.S: New file.
26923 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
26924
26925 2014-11-29 Carlos O'Donell <carlos@redhat.com>
26926
26927 * bits/ioctl-types.h: Indent preprocessor directives correctly.
26928
26929 * nptl/nptl-init.c: Include libc-internal.h.
26930 (__pthread_initialize_minimal_internal): Use ROUND_UP.
26931
26932 * elf/ldconfig.c (search_dir): Expand comment.
26933
26934 2014-11-29 Joseph Myers <joseph@codesourcery.com>
26935
26936 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
26937 variable.
26938 (linknamespace-symlist-stdlibs-tests): Likewise.
26939 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
26940 instead of $(objpfx)symlist-stdlibs.
26941 (linknamespace-libs-isoc): New variable.
26942 (linknamespace-libs): Use $(linknamespace-libs-isoc).
26943 (linknamespace-libs-ISO): New variable.
26944 (linknamespace-libs-ISO99): Likewise.
26945 (linknamespace-libs-ISO11): Likewise.
26946 (linknamespace-libs-XPG3): Likewise.
26947 (linknamespace-libs-XPG4): Likewise.
26948 (linknamespace-libs-POSIX): Likewise.
26949 (linknamespace-libs-UNIX98): Likewise.
26950 (linknamespace-libs-XOPEN2K): Likewise.
26951 (linknamespace-libs-POSIX2008): Likewise.
26952 (linknamespace-libs-XOPEN2K8): Likewise.
26953 ($(objpfx)symlist-stdlibs): Replace by
26954 $(linknamespace-symlist-stdlibs-tests). Use
26955 $(linknamespace-libs-$*) as set of libraries.
26956 ($(linknamespace-header-tests)): Update dependencies. Use
26957 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
26958 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
26959 * conform/linknamespace.pl: Remove comment about considering
26960 definitions of symbols from irrelevant libraries.
26961
26962 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
26963
26964 [BZ #13862]
26965 * elf/dl-tls.c: Include <atomic.h>.
26966 (oom): Remove #ifdef SHARED/#endif.
26967 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
26968 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
26969 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
26970 big enough.
26971 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
26972 * nptl/Makefile (tests): Add tst-stack4.
26973 (modules-names): Add tst-stack4mod.
26974 ($(objpfx)tst-stack4): New.
26975 (tst-stack4mod.sos): Likewise.
26976 ($(objpfx)tst-stack4.out): Likewise.
26977 ($(tst-stack4mod.sos)): Likewise.
26978 (clean): Likewise.
26979 * nptl/tst-stack4.c: New file.
26980 * nptl/tst-stack4mod.c: Likewise.
26981
26982 2014-11-27 J. Brown <jb999@gmx.de>
26983
26984 * sysdeps/x86/bits/string.h: Add recent CPUs.
26985
26986 2014-11-27 Joseph Myers <joseph@codesourcery.com>
26987
26988 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
26989 sigblock.
26990
26991 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
26992 feof.
26993
26994 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
26995 variable.
26996
26997 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
26998
26999 * nscd/connections.c: Include libc-internal.h because of macro
27000 usage ignore_value.
27001
27002 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
27003
27004 * string/bits/string3.h (__warn_memset_zero_len): Don't
27005 declare for gcc newer than 5.0.
27006 (memset): Don't test for zero-length __LEN for gcc newer than
27007 5.0.
27008
27009 2014-11-27 Joseph Myers <joseph@codesourcery.com>
27010
27011 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
27012 size_t for %zu format.
27013
27014 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
27015 difference, not %ju.
27016
27017 2014-11-26 Joseph Myers <joseph@codesourcery.com>
27018
27019 * include/libc-internal.h (ignore_value): New macro.
27020 * nscd/connections.c (restart): Wrap calls to setuid and setgid
27021 with ignore_value.
27022
27023 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
27024 definition.
27025
27026 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
27027 pthread_cleanup_push to void *.
27028
27029 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
27030 Undefine.
27031
27032 [BZ #16619]
27033 [BZ #16740]
27034 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
27035 instead of 1L << 52.
27036
27037 * libio/bug-rewind.c (do_test): Check fwscanf return values.
27038 * libio/bug-rewind2.c (do_test): Likewise.
27039
27040 * debug/test-stpcpy_chk-ifunc.c: Remove file.
27041 * debug/test-strcpy_chk-ifunc.c: Likewise.
27042 * wcsmbs/test-wcschr-ifunc.c: Likewise.
27043 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
27044 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
27045 * wcsmbs/test-wcslen-ifunc.c: Likewise.
27046 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
27047 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
27048 * Rules [$(multi-arch) = no] (tests): Do not filter out
27049 $(tests-ifunc).
27050 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
27051 * debug/Makefile (tests-ifunc): Remove variable.
27052 (tests): Do not add $(tests-ifunc).
27053 * wcsmbs/Makefile (tests-ifunc): Remove variable.
27054 (tests): Do not add $(tests-ifunc).
27055 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
27056 [TEST_IFUNC]: Remove conditionals.
27057 * string/test-string.h (TEST_IFUNC): Remove macro.
27058 [TEST_IFUNC]: Remove conditionals.
27059
27060 * string/test-strchr.c [!WIDE] (L): New macro.
27061 [WIDE] (L): Likewise.
27062 (check1): Use CHAR instead of char. Use L on string and character
27063 constants.
27064
27065 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
27066
27067 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
27068 tests.
27069 * sysdeps/powerpc/bits/atomic.h
27070 (__arch_atomic_exchange_and_add_32_acq): Add definition.
27071 (__arch_atomic_exchange_and_add_32_rel): Likewise.
27072 (atomic_exchange_and_add_acq): Likewise.
27073 (atomic_exchange_and_add_rel): Likewise.
27074 * sysdeps/powerpc/powerpc32/bits/atomic.h
27075 (__arch_atomic_exchange_and_add_64_acq): Add definition.
27076 (__arch_atomic_exchange_and_add_64_rel): Likewise.
27077 * sysdeps/powerpc/powerpc64/bits/atomic.h
27078 (__arch_atomic_exchange_and_add_64_acq): Add definition.
27079 (__arch_atomic_exchange_and_add_64_rel): Likewise.
27080
27081 2014-11-26 Torvald Riegel <triegel@redhat.com>
27082
27083 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
27084 Change synchronization of __sched_fifo_min_prio and
27085 __sched_fifo_max_prio.
27086 * nptl/pthread_mutexattr_getprioceiling.c
27087 (pthread_mutexattr_getprioceiling): Likewise.
27088 * nptl/pthread_mutexattr_setprioceiling.c
27089 (pthread_mutexattr_setprioceiling): Likewise.
27090 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
27091 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
27092 Likewise.
27093
27094 2014-11-26 Joseph Myers <joseph@codesourcery.com>
27095
27096 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
27097 void.
27098
27099 2014-11-25 Joseph Myers <joseph@codesourcery.com>
27100
27101 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
27102 third argument const.
27103
27104 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
27105
27106 fnmatch: work around GCC compiler warning bug with uninit var
27107 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
27108 This works around a bug with x86-64 GCC 4.9.2 and earlier
27109 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
27110 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
27111 used uninitialized in this function [-Wmaybe-uninitialized]".
27112
27113 2014-11-25 Joseph Myers <joseph@codesourcery.com>
27114
27115 * posix/bug-regex31.c (main): Return RES not 0.
27116
27117 2014-11-25 Anton Blanchard <anton@samba.org>
27118
27119 * sysdeps/powerpc/bits/atomic.h
27120 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
27121
27122 2014-11-24 Sterling Augustine <saugustine@google.com>
27123
27124 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
27125
27126 2014-11-24 Ryan Cumming <etaoins@gmail.com>
27127
27128 [BZ #17608]
27129 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
27130
27131 2014-11-24 Joseph Myers <joseph@codesourcery.com>
27132
27133 [BZ #17633]
27134 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
27135 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
27136 variable.
27137 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
27138 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
27139
27140 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
27141
27142 * string/strncpy.c (strncpy): Improve performance by using memset.
27143
27144 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
27145
27146 * string/strcpy.c (strcpy):
27147 Improve performance by using strlen and memcpy.
27148
27149 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
27150
27151 * string/strcoll_l.c (get_next_seq): __always_inline.
27152 * string/strcoll_l.c (do_compare): __always_inline.
27153
27154 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
27155
27156 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
27157 defined.
27158 * include/mqueue.h: Likewise.
27159 * include/stdlib.h: Likewise.
27160
27161 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
27162 (get_null_defines): Adjust.
27163 * sunrpc/Makefile: Adjust comment.
27164 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
27165 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
27166 (CFLAGS-interp.c): Likewise.
27167 (CFLAGS-ldconfig.c): Likewise.
27168 (CPPFLAGS-.os): Likewise.
27169 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27170 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
27171 * extra-modules.mk (extra-modules.mk): Likewise.
27172 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
27173 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
27174 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
27175 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
27176 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
27177 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
27178 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
27179 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
27180 * iconvdata/Makefile (CPPFLAGS): Likewise.
27181 (cpp-srcs-left): Add libof for all iconvdata routines.
27182 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
27183 * include/assert.h: Likewise.
27184 * include/ctype.h: Likewise.
27185 * include/errno.h: Likewise.
27186 * include/libc-symbols.h: Likewise.
27187 * include/math.h: Likewise.
27188 * include/netdb.h: Likewise.
27189 * include/resolv.h: Likewise.
27190 * include/stdio.h: Likewise.
27191 * include/stdlib.h: Likewise.
27192 * include/string.h: Likewise.
27193 * include/sys/stat.h: Likewise.
27194 * include/wctype.h: Likewise.
27195 * intl/l10nflist.c: Likewise.
27196 * libidn/idn-stub.c: Likewise.
27197 * libio/libioP.h: Likewise.
27198 * nptl/libc_multiple_threads.c: Likewise.
27199 * nptl/pthreadP.h: Likewise.
27200 * posix/regex_internal.h: Likewise.
27201 * resolv/res_hconf.c: Likewise.
27202 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
27203 * sysdeps/arm/memmove.S: Likewise.
27204 * sysdeps/arm/sysdep.h: Likewise.
27205 * sysdeps/generic/_itoa.h: Likewise.
27206 * sysdeps/generic/symbol-hacks.h: Likewise.
27207 * sysdeps/gnu/errlist.awk: Likewise.
27208 * sysdeps/gnu/errlist.c: Likewise.
27209 * sysdeps/i386/i586/memcpy.S: Likewise.
27210 * sysdeps/i386/i586/memset.S: Likewise.
27211 * sysdeps/i386/i686/memcpy.S: Likewise.
27212 * sysdeps/i386/i686/memmove.S: Likewise.
27213 * sysdeps/i386/i686/mempcpy.S: Likewise.
27214 * sysdeps/i386/i686/memset.S: Likewise.
27215 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
27216 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27217 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
27218 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
27219 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27220 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
27221 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
27222 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27223 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
27224 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
27225 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27226 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27227 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27228 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27229 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27230 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27231 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
27232 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
27233 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
27234 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27235 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
27236 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
27237 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27238 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27239 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27240 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
27241 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
27242 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27243 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
27244 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
27245 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27246 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
27247 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
27248 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27249 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
27250 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
27251 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27252 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27253 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27254 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27255 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27256 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27257 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27258 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
27259 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27260 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27261 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
27262 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
27263 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27264 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
27265 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27266 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
27267 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
27268 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27269 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
27270 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
27271 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27272 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
27273 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
27274 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27275 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
27276 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27277 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
27278 * sysdeps/nptl/bits/libc-lock.h: Likewise.
27279 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
27280 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
27281 * sysdeps/posix/closedir.c: Likewise.
27282 * sysdeps/posix/opendir.c: Likewise.
27283 * sysdeps/posix/readdir.c: Likewise.
27284 * sysdeps/posix/rewinddir.c: Likewise.
27285 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
27286 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
27287 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
27288 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
27289 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
27290 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
27291 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
27292 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
27293 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
27294 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
27295 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
27296 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
27297 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
27298 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
27299 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
27300 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
27301 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
27302 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
27303 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
27304 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
27305 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
27306 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
27307 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
27308 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
27309 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
27310 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
27311 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
27312 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
27313 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
27314 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
27315 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
27316 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
27317 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
27318 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
27319 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
27320 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
27321 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
27322 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
27323 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
27324 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
27325 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
27326 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
27327 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
27328 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
27329 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
27330 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
27331 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
27332 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
27333 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
27334 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
27335 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
27336 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
27337 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
27338 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
27339 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
27340 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
27341 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
27342 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
27343 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
27344 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
27345 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
27346 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
27347 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
27348 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
27349 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
27350 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
27351 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
27352 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
27353 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
27354 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
27355 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
27356 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
27357 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
27358 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
27359 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
27360 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
27361 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
27362 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
27363 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
27364 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
27365 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
27366 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
27367 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
27368 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
27369 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
27370 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
27371 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
27372 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
27373 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
27374 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27375 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
27376 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
27377 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
27378 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
27379 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27380 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
27381 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
27382 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27383 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
27384 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
27385 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27386 * sysdeps/unix/alpha/sysdep.S: Likewise.
27387 * sysdeps/unix/alpha/sysdep.h: Likewise.
27388 * sysdeps/unix/make-syscalls.sh: Likewise.
27389 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
27390 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
27391 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
27392 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
27393 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
27394 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
27395 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
27396 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
27397 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
27398 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
27399 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
27400 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
27401 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27402 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
27403 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
27404 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
27405 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27406 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
27407 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
27408 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
27409 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
27410 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
27411 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
27412 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
27413 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
27414 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
27415 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
27416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
27417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
27418 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
27419 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
27420 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
27421 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
27422 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27423 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
27424 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
27425 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
27426 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27427 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
27428 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
27429 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
27430 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
27431 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27432 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
27433 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
27434 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
27435 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27436 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27437 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
27438 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27439 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
27440 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
27441 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
27442 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
27443 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
27444 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
27445 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
27446 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27447 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
27448 * sysdeps/x86_64/memcpy.S: Likewise.
27449 * sysdeps/x86_64/memmove.c: Likewise.
27450 * sysdeps/x86_64/memset.S: Likewise.
27451 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
27452 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
27453 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
27454 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
27455 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
27456 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
27457 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
27458 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
27459 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
27460 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
27461 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
27462 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
27463 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
27464 * sysdeps/x86_64/multiarch/memset.S: Likewise.
27465 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27466 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
27467 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
27468 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
27469 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
27470 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
27471 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
27472 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27473 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
27474 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
27475 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
27476 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
27477 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27478 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
27479 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
27480 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
27481 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
27482 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
27483 * sysdeps/x86_64/strcmp.S: Likewise.
27484
27485 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
27486
27487 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
27488 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
27489 * elf/rtld-Rules: Likewise.
27490 * elf/setup-vdso.h: Likewise.
27491 * include/assert.h: Likewise.
27492 * include/bits/stdlib-float.h: Likewise.
27493 * include/errno.h: Likewise.
27494 * include/sys/stat.h: Likewise.
27495 * include/unistd.h: Likewise.
27496 * sysdeps/aarch64/setjmp.S: Likewise.
27497 * sysdeps/alpha/setjmp.S: Likewise.
27498 * sysdeps/arm/__longjmp.S: Likewise.
27499 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
27500 * sysdeps/arm/setjmp.S: Likewise.
27501 * sysdeps/arm/sysdep.h: Likewise.
27502 * sysdeps/generic/_itoa.h: Likewise.
27503 * sysdeps/generic/dl-sysdep.h: Likewise.
27504 * sysdeps/generic/ldsodefs.h: Likewise.
27505 * sysdeps/i386/dl-tls.h: Likewise.
27506 * sysdeps/i386/setjmp.S: Likewise.
27507 * sysdeps/m68k/setjmp.c: Likewise.
27508 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
27509 * sysdeps/mach/hurd/opendir.c: Likewise.
27510 * sysdeps/posix/getcwd.c: Likewise.
27511 * sysdeps/posix/opendir.c: Likewise.
27512 * sysdeps/posix/profil.c: Likewise.
27513 * sysdeps/powerpc/dl-procinfo.h: Likewise.
27514 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
27515 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
27516 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
27517 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
27518 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
27519 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
27520 * sysdeps/s390/dl-tls.h: Likewise.
27521 * sysdeps/s390/s390-32/setjmp.S: Likewise.
27522 * sysdeps/s390/s390-64/setjmp.S: Likewise.
27523 * sysdeps/sh/sh3/setjmp.S: Likewise.
27524 * sysdeps/sh/sh4/setjmp.S: Likewise.
27525 * sysdeps/unix/alpha/sysdep.h: Likewise.
27526 * sysdeps/unix/arm/sysdep.S: Likewise.
27527 * sysdeps/unix/i386/sysdep.S: Likewise.
27528 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
27529 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
27530 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
27531 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
27532 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27533 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
27534 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
27535 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27536 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
27537 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
27538 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
27539 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
27540 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
27541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27543 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
27544 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27545 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27546 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
27547 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27548 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
27549 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27550 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27551 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
27552 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
27553 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
27554 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27555 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27556 * sysdeps/x86_64/setjmp.S: Likewise.
27557
27558 * include/math.h: Use IS_IN instead of IS_IN_libm.
27559 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
27560 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27561 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
27562 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
27563 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27564 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
27565 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
27566 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27567 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27568 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
27569 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
27570 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
27571 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
27572 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
27573 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
27574 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
27575 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
27576 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
27577 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
27578 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
27579 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
27580 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
27581 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
27582 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
27583 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
27584 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
27585 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
27586 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
27587 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
27588 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
27589 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
27590 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
27591 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
27592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
27593 Likewise.
27594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
27595 Likewise.
27596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
27597 Likewise.
27598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
27599 Likewise.
27600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
27601 Likewise.
27602 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
27603 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
27604 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
27605 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
27606 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
27607 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
27608 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
27609 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
27610 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
27611 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
27612 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
27613 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
27614 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
27615 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
27616 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
27617 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
27618 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
27619 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
27620 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
27621 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
27622 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
27623 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
27624 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
27625 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
27626 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
27627 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
27628 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
27629
27630 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
27631 * nptl/pthreadP.h: Likewise.
27632 * nptl_db/structs.def: Likewise.
27633 * sysdeps/arm/sysdep.h: Likewise.
27634 * sysdeps/nptl/bits/libc-lock.h: Likewise.
27635 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
27636 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
27637 * sysdeps/unix/alpha/sysdep.h: Likewise.
27638 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
27639 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
27640 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
27641 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
27642 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
27643 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
27644 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27645 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
27646 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27647 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
27648 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
27649 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
27650 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
27651 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
27652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
27653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
27654 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
27655 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
27656 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
27657 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
27658 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
27659 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
27660 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
27661 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
27662 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
27663 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
27664
27665 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
27666 * nptl/pthreadP.h: Likewise.
27667 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
27668 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
27669 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
27670 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
27671 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
27672 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
27673 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27674 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
27675 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
27676 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
27677 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
27678 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
27679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
27680 Likewise.
27681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
27682 Likewise.
27683 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
27684 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
27685 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
27686 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
27687 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
27688 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
27689 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
27690 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
27691
27692 * dlfcn/dladdr.c: Use IS_IN.
27693 * dlfcn/dladdr1.c: Likewise.
27694 * dlfcn/dlclose.c: Likewise.
27695 * dlfcn/dlerror.c: Likewise.
27696 * dlfcn/dlinfo.c: Likewise.
27697 * dlfcn/dlmopen.c: Likewise.
27698 * dlfcn/dlopen.c: Likewise.
27699 * dlfcn/dlsym.c: Likewise.
27700 * dlfcn/dlvsym.c: Likewise.
27701
27702 * include/ifaddrs.h: Use IS_IN.
27703 * inet/check_pf.c: Likewise.
27704 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
27705 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
27706
27707 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
27708 IS_IN_ldconfig.
27709 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
27710 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
27711
27712 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
27713 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
27714 IS_IN (libc).
27715
27716 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
27717
27718 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
27719 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27720 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
27721 * include/libc-symbols.h (IS_IN_LIB): New macro.
27722 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
27723 * include/netdb.h: Likewise.
27724 * include/stap-probe.h: Remove all uses of IN_LIB.
27725
27726 * Makeconfig (module-cppflags-real): Define MODULE_NAME
27727 instead of IN_MODULE.
27728 * include/libc-symbols.h (IN_MODULE): Define using
27729 MODULE_NAME.
27730 (PASTE_NAME, PASTE_NAME1): New macros.
27731 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
27732 of IN_LIB.
27733 (STAP_PROBE_ASM): Likewise.
27734
27735 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
27736
27737 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
27738 __mach_init in dlopened libc.
27739
27740 2014-11-22 Mike Frysinger <vapier@gentoo.org>
27741
27742 * sysdeps/arm/preconfigure.ac: Delete EABI check.
27743 * sysdeps/arm/preconfigure: Regenerate.
27744
27745 2014-11-21 Roland McGrath <roland@hack.frob.com>
27746
27747 * nptl/pthread_create.c (__pthread_create_2_1): Set
27748 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
27749 when copying values from IATTR into PD.
27750
27751 2014-11-21 Will Newton <will.newton@linaro.org>
27752 Andrew Pinski <andrew.pinski@caviumnetworks.com>
27753
27754 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
27755 Refactor inline-asm. Also add comment.
27756
27757 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
27758 ElfW macro instead of hardcoded Elf64 types.
27759 (la_aarch64_gnu_pltenter): Likewise.
27760 * sysdeps/aarch64/dl-machine.h
27761 (elf_machine_runtime_setup): Use ElfW(Addr).
27762
27763 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
27764 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
27765 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
27766 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
27767 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
27768 (R_AARCH64_TLS_DTPMOD64): Rename to ..
27769 (R_AARCH64_TLS_DTPMOD): This.
27770 (R_AARCH64_TLS_DTPREL64): Rename to ...
27771 (R_AARCH64_TLS_DTPREL): This.
27772 (R_AARCH64_TLS_TPREL64): Rename to ...
27773 (R_AARCH64_TLS_TPREL): This.
27774 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
27775 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
27776 R_AARCH64_TLS_TPREL64.
27777 (elf_machine_rela): Likewise.
27778
27779 2014-11-21 Torvald Riegel <triegel@redhat.com>
27780
27781 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
27782 by setting it to 0. 64b atomics are not supported currently.
27783
27784 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
27785
27786 [BZ #16469]
27787 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
27788 search domain names.
27789
27790 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
27791
27792 [BZ #16469]
27793 * NEWS: Update.
27794 * resolv/res_query.c (__libc_res_nquerydomain): Retain
27795 trailing dot.
27796 * posix/tst-getaddrinfo5.c: New.
27797 * posix/Makefile (tests): Add it.
27798
27799 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
27800
27801 [BZ #14498]
27802 * NEWS: Fixed.
27803 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
27804 after parsing line but before break_if_match.
27805 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
27806 if there is a protocol mismatch.
27807
27808 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
27809
27810 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
27811 because the potential race is on the user-supplied stream.
27812
27813 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
27814
27815 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
27816 string literal if not passed a buffer.
27817 * manual/job.texi (ctermid): Update reasoning, note deviation
27818 from posix, suggest mtasurace when not passed a buffer, for
27819 future non-preliminary safety notes.
27820
27821 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
27822
27823 * manual/users.texi (cuserid): Fix MT-Safety note for the case
27824 of not passing it a buffer.
27825 Reported by Peng Haitao.
27826
27827 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
27828
27829 * manual/Makefile ($(objpfx)stamp-summary): Require
27830 check-safety.sh to pass.
27831 * manual/check-safety.sh: Wish for verification that every
27832 @deftypefn and @deftypefun is followed by a @safety remark.
27833
27834 2014-11-20 Roland McGrath <roland@hack.frob.com>
27835
27836 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
27837
27838 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
27839 PTHREAD_CANCEL_ASYNCHRONOUS.
27840 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
27841 send SIGCANCEL.
27842
27843 * nptl/default-sched.h: New file.
27844 * sysdeps/unix/sysv/linux/default-sched.h: New file.
27845 * nptl/pthread_create.c: Include it.
27846 (__pthread_create_2_1): Use collect_default_sched instead of making
27847 Linux syscalls here directly.
27848
27849 2014-11-20 Torvald Riegel <triegel@redhat.com>
27850
27851 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
27852 __pthread_once): Use C11 atomics.
27853
27854 2014-11-20 Torvald Riegel <triegel@redhat.com>
27855
27856 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
27857
27858 2014-11-20 Torvald Riegel <triegel@redhat.com>
27859
27860 * include/atomic.h (__atomic_link_error, __atomic_check_size,
27861 atomic_thread_fence_acquire, atomic_thread_fence_release,
27862 atomic_thread_fence_seq_cst, atomic_load_relaxed,
27863 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
27864 atomic_compare_exchange_weak_relaxed,
27865 atomic_compare_exchange_weak_acquire,
27866 atomic_compare_exchange_weak_release,
27867 atomic_exchange_acquire, atomic_exchange_release,
27868 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
27869 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
27870 atomic_fetch_and_acquire,
27871 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
27872
27873 2014-11-20 Torvald Riegel <triegel@redhat.com>
27874
27875 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
27876 USE_ATOMIC_COMPILER_BUILTINS): Define.
27877 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
27878 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27879 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
27880 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27881 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
27882 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27883 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
27884 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27885 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
27886 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27887 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
27888 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27889 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
27890 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27891 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
27892 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27893 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
27894 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27895 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
27896 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27897 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
27898 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27899 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
27900 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27901 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
27902 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27903 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
27904 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27905 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
27906 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27907 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
27908 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27909 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
27910 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27911 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
27912 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27913 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
27914 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27915 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
27916 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27917
27918 2014-11-19 Roland McGrath <roland@hack.frob.com>
27919
27920 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
27921 the sched_priority value here. It was already checked when the user
27922 called pthread_attr_setschedparam.
27923
27924 * nptl/tst-bad-schedattr.c: New file.
27925 * nptl/Makefile (tests): Add it.
27926
27927 2014-11-19 Carlos O'Donell <carlos@redhat.com>
27928 Florian Weimer <fweimer@redhat.com>
27929 Joseph Myers <joseph@codesourcery.com>
27930 Adam Conrad <adconrad@0c3.net>
27931 Andreas Schwab <schwab@suse.de>
27932 Brooks <bmoses@google.com>
27933
27934 [BZ #17625]
27935 * wordexp-test.c (__dso_handle): Add prototype.
27936 (__register_atfork): Likewise.
27937 (__app_register_atfork): New function.
27938 (registered_forks): New global.
27939 (register_fork): New function.
27940 (test_case): Add 3 new tests for WRDE_CMDSUB.
27941 (main): Call __app_register_atfork.
27942 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
27943 fork count is non-zero fail the test.
27944 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
27945 is set.
27946 (parse_dollars): Remove check for WRDE_NOCMD.
27947 (parse_dquote): Likewise.
27948
27949 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27950
27951 * Makeconfig (built-modules): List non-library modules to be
27952 built.
27953 (module-cppflags): Include libc-modules.h for
27954 everything except shlib-versions.v.i.
27955 (CPPFLAGS): Use it.
27956 (before-compile): Add libc-modules.h.
27957 ($(common-objpfx)libc-modules.h,
27958 $(common-objpfx)libc-modules.stmp): New targets.
27959 (common-generated): Add libc-modules.h and libc-modules.stmp.
27960 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
27961 * include/libc-symbols.h: Don't include libc-modules.h.
27962 * include/libc-modules.h: Remove file.
27963 * scripts/gen-libc-modules.awk: New script to generate
27964 libc-modules.h.
27965 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
27966 Depend on libc-modules.stmp.
27967
27968 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
27969
27970 * Makeconfig (in-module): Get value of libof set for the
27971 translation unit.
27972 (CPPFLAGS): Use $(in-module).
27973 * Makerules: Don't suffix routine names for nonlib.
27974 * include/libc-modules.h: New file.
27975 * include/libc-symbols.h: Include libc-modules.h
27976 (IS_IN): New macro to replace IS_IN_* macros.
27977 * elf/Makefile: Set libof-* for each routine.
27978 * elf/rtld-Rules: Likewise.
27979 * extra-modules.mk: Likewise.
27980 * iconv/Makefile: Likewise.
27981 * iconvdata/Makefile: Likewise.
27982 * locale/Makefile: Likewise.
27983 * malloc/Makefile: Likewise.
27984 * nss/Makefile: Likewise.
27985 * sysdeps/gnu/Makefile: Likewise.
27986 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
27987 * sysdeps/unix/sysv/linux/Makefile: Likewise.
27988 * sysdeps/s390/s390-64/Makefile: Likewise.
27989 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
27990 CPPFLAGS for nscd instead of nonlib.
27991
27992 2014-11-18 Roland McGrath <roland@hack.frob.com>
27993
27994 * nptl/createthread.c: New file.
27995
27996 * nptl/createthread.c: Moved ...
27997 * sysdeps/unix/sysv/linux/createthread.c: ... here.
27998
27999 * nptl/createthread.c: Add proper top-line comment.
28000 (do_clone): Folded into ...
28001 (create_thread): ... here. Take new arguments STOPPED_START and
28002 THREAD_RAN. Always set PD->stopped_start to something here. Don't
28003 increment __nptl_threads, do event-reporting logic, do
28004 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
28005 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
28006 resource cleanup if sched_setaffinity or sched_setscheduler fails,
28007 just send SIGCANCEL.
28008 * nptl/pthread_create.c: Forward-declare create_thread before
28009 including createthread.c.
28010 (start_thread): Use new macro START_THREAD_DEFN to replace defining
28011 declaration, and new macro START_THREAD_SELF to replace argument.
28012 Remove return statement.
28013 (report_thread_creation): New function.
28014 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
28015 synchronization logic, and __nptl_nthreads increment here, around
28016 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
28017 PD->parent_cancelhandling here, before create_thread. When
28018 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
28019 __deallocate_stack, and ENOMEM translation here.
28020
28021 2014-11-18 Joseph Myers <joseph@codesourcery.com>
28022
28023 [BZ #17616]
28024 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
28025 (mptwo): Rename to __mptwo.
28026 (__inv): Use __mptwo instead of mptwo.
28027 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
28028 (mptwo): Rename to __mptwo.
28029 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
28030 of mpone and __mptwo instead of mptwo.
28031 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
28032 instead of mpone.
28033 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
28034 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
28035 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
28036 of mpone and __mptwo instead of mptwo.
28037 (__mpranred): Use __mpone instead of mpone.
28038 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
28039 variable.
28040 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
28041 (test-xfail-ISO99/math.h/linknamespace): Likewise.
28042 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
28043 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
28044 (test-xfail-ISO11/math.h/linknamespace): Likewise.
28045 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
28046 (test-xfail-XPG3/math.h/linknamespace): Likewise.
28047 (test-xfail-XPG4/math.h/linknamespace): Likewise.
28048 (test-xfail-POSIX/math.h/linknamespace): Likewise.
28049 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
28050 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
28051 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
28052 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
28053 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
28054 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
28055 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
28056 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
28057 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
28058 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
28059
28060 2014-11-18 Tom de Vries <tom@codesoucery.com>
28061
28062 * manual/signal.texi (Primitives Interrupted by Signals): In section,
28063 replace BSD Handler xref with BSD Signal Handling.
28064
28065 2014-11-17 Richard Henderson <rth@redhat.com>
28066
28067 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
28068 (_FP_PACK_RAW_2): Remove.
28069 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
28070 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
28071 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
28072 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
28073 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
28074 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
28075 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
28076 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
28077 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
28078 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
28079 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
28080 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
28081 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
28082 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
28083 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
28084 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
28085
28086 2014-11-14 Roland McGrath <roland@hack.frob.com>
28087
28088 * signal/signal.h [__USE_MISC]
28089 (struct sigvec): Remove type.
28090 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
28091 (sigvec): Remove declaration.
28092 * sysdeps/posix/sigvec.c: Moved ...
28093 * signal/sigvec.c: ... here, replacing old file.
28094 (struct sigvec): New type, copied from old signal.h definition.
28095 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
28096 (__sigvec): Convert definition to prototype.
28097 (sigvec): Replace weak_alias with compat_symbol.
28098 * signal/Versions (libc: GLIBC_2.21): New version set.
28099 * include/signal.h: Remove __sigvec declaration.
28100 * sysdeps/unix/bsd/sigvec.c: Remove file.
28101 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
28102 * manual/signal.texi (BSD Handler): Remove subsection.
28103 Move siginterrupt up to ...
28104 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
28105 (Blocking in BSD): Fold subsection into its parent.
28106 * NEWS: Mention sigvec removal.
28107
28108 2014-11-14 Joseph Myers <joseph@codesourcery.com>
28109
28110 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
28111 (DLA_FMS): Make definition conditional only on [__FMA4__].
28112 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
28113 definition.
28114
28115 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
28116 Make definition conditional only on [PROF].
28117 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
28118 definition.
28119 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
28120 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
28121
28122 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
28123 !__GNUC__].
28124 * include/signal.h (__sigpause): Move declaration above call to
28125 libc_hidden_proto.
28126 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
28127 variable.
28128 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
28129 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
28130
28131 2014-11-14 David S. Miller <davem@davemloft.net>
28132
28133 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
28134 Define before including <string/memcpy.c> and <string/mempcpy.c>.
28135
28136 2014-11-14 Joseph Myers <joseph@codesourcery.com>
28137
28138 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
28139 * configure: Regenerated.
28140 * manual/install.texi (Tools for Compilation): Document a
28141 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
28142 compiler verified to work.
28143 * INSTALL: Regenerated.
28144
28145 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
28146 redeclare with asm name.
28147 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
28148 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
28149 including <string.h>.
28150 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
28151 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
28152 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
28153 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
28154 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
28155 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
28156 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
28157
28158 2014-11-13 Joseph Myers <joseph@codesourcery.com>
28159
28160 * stdlib/strtol.c (__strtol): Use prototype definition.
28161
28162 [BZ #17594]
28163 * stdlib/strtol.c (SYM__): New macro.
28164 (SYM__1): Likewise.
28165 (__strtol): Likewise.
28166 (strtol): Rename to __strtol and define as weak alias of
28167 __strtol. Use libc_hidden_weak.
28168
28169 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
28170
28171 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
28172 Use numbered labels in inline assembly.
28173
28174 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
28175
28176 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
28177 Add setjmp LIBC_PROBE.
28178 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
28179 Likewise.
28180 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
28181 Add longjmp, longjmp_target LIBC_PROBE.
28182 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
28183 Likewise.
28184
28185 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
28186
28187 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
28188 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
28189 to get rid of unused variable warning.
28190
28191 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
28192
28193 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
28194 Check for unwind_backtrace == NULL only in SHARED case.
28195 (__backchain_backtrace): Compile only in SHARED case.
28196 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
28197 Likewise.
28198 (__backchain_backtrace): Declare as static.
28199
28200 2014-11-12 Roland McGrath <roland@hack.frob.com>
28201
28202 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
28203 (__libc_multiple_threads_ptr): Variable moved ...
28204 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
28205
28206 2014-11-12 Joseph Myers <joseph@codesourcery.com>
28207
28208 * conform/GlibcConform.pm: New file.
28209 * conform/conformtest.pl: Use GlibcConform module.
28210 * conform/linknamespace.pl: New file.
28211 * conform/list-header-symbols.pl: Likewise.
28212 * conform/Makefile (linknamespace-symlists-base): New variable.
28213 (linknamespace-symlists-tests): Likewise.
28214 (linknamespace-header-base): Likewise.
28215 (linknamespace-header-tests): Likewise.
28216 (tests-special): Add new tests.
28217 ($(linknamespace-symlists-tests)): New rule.
28218 (linknamespace-libs): New variable.
28219 ($(objpfx)symlist-stdlibs): New rule.
28220 ($(linknamespace-header-tests)): Likewise.
28221 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
28222 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
28223 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
28224 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
28225 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
28226 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
28227 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
28228 (test-xfail-ISO/math.h/linknamespace): Likewise.
28229 (test-xfail-ISO/signal.h/linknamespace): Likewise.
28230 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
28231 (test-xfail-ISO/time.h/linknamespace): Likewise.
28232 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
28233 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
28234 (test-xfail-ISO99/math.h/linknamespace): Likewise.
28235 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
28236 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
28237 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
28238 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
28239 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
28240 (test-xfail-ISO11/math.h/linknamespace): Likewise.
28241 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
28242 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
28243 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
28244 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
28245 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
28246 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
28247 (test-xfail-XPG3/math.h/linknamespace): Likewise.
28248 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
28249 (test-xfail-XPG3/search.h/linknamespace): Likewise.
28250 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
28251 (test-xfail-XPG3/time.h/linknamespace): Likewise.
28252 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
28253 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
28254 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
28255 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
28256 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
28257 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
28258 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
28259 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
28260 (test-xfail-XPG4/math.h/linknamespace): Likewise.
28261 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
28262 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
28263 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
28264 (test-xfail-XPG4/search.h/linknamespace): Likewise.
28265 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
28266 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
28267 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
28268 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
28269 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
28270 (test-xfail-XPG4/time.h/linknamespace): Likewise.
28271 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
28272 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
28273 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
28274 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
28275 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
28276 (test-xfail-POSIX/math.h/linknamespace): Likewise.
28277 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
28278 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
28279 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
28280 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
28281 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
28282 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
28283 (test-xfail-POSIX/time.h/linknamespace): Likewise.
28284 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
28285 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
28286 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
28287 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
28288 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
28289 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
28290 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
28291 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
28292 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
28293 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
28294 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
28295 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
28296 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
28297 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
28298 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
28299 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
28300 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
28301 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
28302 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
28303 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
28304 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
28305 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
28306 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
28307 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
28308 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
28309 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
28310 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
28311 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
28312 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
28313 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
28314 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
28315 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
28316 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
28317 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
28318 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
28319 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
28320 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
28321 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
28322 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
28323 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
28324 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
28325 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
28326 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
28327 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
28328 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
28329 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
28330 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
28331 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
28332 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
28333 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
28334 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
28335 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
28336 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
28337 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
28338 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
28339 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
28340 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
28341 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
28342 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
28343 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
28344 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
28345 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
28346 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
28347 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
28348 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
28349 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
28350 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
28351 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
28352 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
28353 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
28354 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
28355 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
28356 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
28357 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
28358 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
28359 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
28360 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
28361 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
28362 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
28363 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
28364 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
28365 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
28366 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
28367 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
28368 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
28369 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
28370 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
28371 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
28372 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
28373 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
28374 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
28375 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
28376 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
28377 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
28378 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
28379 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
28380 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
28381 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
28382
28383 [BZ #17589]
28384 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
28385 of fgets_unlocked.
28386
28387 [BZ #17585]
28388 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
28389 (memmem): Rename to __memmem and define as weak alias of
28390 __memmem. Use libc_hidden_weak.
28391 (__memmem): Use libc_hidden_def.
28392 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
28393 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
28394 memmem.
28395
28396 [BZ #17582]
28397 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
28398 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
28399 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
28400 and define as weak alias of __fgets_unlocked. Use
28401 libc_hidden_weak.
28402 (__fgets_unlocked): Use libc_hidden_def.
28403 * include/stdio.h (__fgets_unlocked): Declare. Use
28404 libc_hidden_proto.
28405 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
28406 __fgets_unlocked instead of fgets_unlocked.
28407 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
28408 (GET_NPROCS_CONF_PARSER): Likewise.
28409 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
28410 (GET_NPROCS_CONF_PARSER): Likewise.
28411
28412 [BZ #17574]
28413 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
28414 weak alias of __wmemset. Use libc_hidden_weak.
28415 (__wmemset): Use libc_hidden_def.
28416 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
28417 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
28418 of wmemset.
28419
28420 [BZ #17573]
28421 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
28422 with asm name __mempcpy.
28423 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
28424
28425 [BZ #17572]
28426 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
28427 and define as weak alias of __rawmemchr.
28428 (__rawmemchr): Do not define as strong alias of rawmemchr.
28429
28430 [BZ #17571]
28431 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
28432 alias of __qsort_r.
28433 (qsort): Call __qsort_r instead of qsort_r.
28434 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
28435 (__qsort_r): Declare. Call libc_hidden_proto.
28436 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
28437 instead of qsort_r.
28438 * nscd/gai.c (__qsort_r): Define to qsort_r.
28439 * posix/tst-rfc3484.c (__qsort_r): Likewise.
28440 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
28441 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
28442
28443 [BZ #17570]
28444 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
28445 define as weak alias of __malloc_info.
28446
28447 [BZ #17584]
28448 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
28449 as weak alias of __rewinddir. Don't use libc_hidden_def.
28450 (__rewinddir): Use libc_hidden_def.
28451 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
28452 as weak alias of __rewinddir. Don't use libc_hidden_def.
28453 (__rewinddir): Use libc_hidden_def.
28454 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
28455 weak alias of __rewinddir. Don't use libc_hidden_def.
28456 (__rewinddir): Use libc_hidden_def.
28457 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
28458 (__rewinddir): Use libc_hidden_proto.
28459 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
28460 rewinddir.
28461 (__getcwd): Use __rewinddir instead of rewinddir.
28462
28463 [BZ #17583]
28464 * libio/fileno.c (fileno): Rename to __fileno and define as weak
28465 alias of __fileno. Use libc_hidden_weak.
28466 (__fileno): Use libc_hidden_def.
28467 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
28468 * libio/ftello.c (ftello): Rename to __ftello and define as weak
28469 alias of __ftello.
28470 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
28471 __ftello.
28472 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
28473 (__fread_unlocked): Define as strong alias of _IO_fread. Use
28474 libc_hidden_def.
28475 (fread_unlocked): Don't use libc_hidden_ver.
28476 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
28477 and define as weak alias of __fread_unlocked. Don't use
28478 libc_hidden_def.
28479 (__fread_unlocked): Use libc_hidden_def.
28480 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
28481 (ftello): Don't use libc_hidden_proto.
28482 (__ftello): Declare. Use libc_hidden_proto.
28483 (fread_unlocked): Don't use libc_hidden_proto.
28484 (__fread_unlocked): Declare. Use libc_hidden_proto.
28485 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
28486 and __ftello instead of fileno, fread_unlocked and ftello.
28487
28488 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
28489
28490 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
28491 GOT12.
28492 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
28493 Likewise.
28494 (_dl_start_user): Likewise.
28495 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
28496
28497 2014-11-12 Carlos O'Donell <carlos@redhat.com>
28498 Siddhesh Poyarekar <siddhesh@redhat.com>
28499
28500 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
28501 Move argv and envp down instead of moving argc up.
28502 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
28503
28504 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
28505
28506 [BZ #17506]
28507 * test-skeleton.c (main): Return successful if one of
28508 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
28509 * string/tst-strcoll-overflow.c: Define expected status.
28510
28511 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
28512
28513 [BZ #17475]
28514 * locale/iso-639.def: Define Bhili and Tulu language codes.
28515
28516 2014-11-11 Alan Hayward <alan.hayward@arm.com>
28517
28518 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
28519
28520 2014-11-10 Renlin Li <Renlin.Li@arm.com>
28521
28522 [BZ #17555]
28523 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
28524
28525 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
28526
28527 * configure.ac: Updated check of minimal required version to
28528 2.22.
28529 * manual/install.texi (Tools for Compilation): Updated version
28530 number.
28531 * configure: Regenerated.
28532 * INSTALL: Likewise.
28533
28534 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
28535
28536 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
28537 __tls_get_addr.
28538
28539 2014-11-07 Joseph Myers <joseph@codesourcery.com>
28540
28541 * include/sys/wait.h (__libc_waitpid): Remove declaration.
28542 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
28543 (__waitpid): Don't define as alias. Use libc_hidden_def not
28544 libc_hidden_weak.
28545 (waitpid): Define as alias of __waitpid.
28546 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
28547 __waitpid.
28548 (__waitpid): Don't define as alias. Use libc_hidden_def not
28549 libc_hidden_weak.
28550 (waitpid): Define as alias of __waitpid.
28551 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
28552 __libc_waitpid alias.
28553 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
28554 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
28555 Likewise.
28556 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
28557 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
28558 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
28559 alias.
28560 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
28561 __waitpid.
28562 (__waitpid): Don't define as alias. Use libc_hidden_def not
28563 libc_hidden_weak.
28564 (waitpid): Define as alias of __waitpid.
28565
28566 2014-11-06 Carlos O'Donell <carlos@redhat.com>
28567
28568 * manual/llio.texi: Add comment that write safety has been
28569 fixed in Linux.
28570
28571 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
28572 (localplt-build-dso): Add elf/ld.so.
28573 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
28574 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
28575 and free for ld.so.
28576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
28577 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
28578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
28579 Likewise.
28580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
28581 Likewise.
28582 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
28583 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
28584 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
28585 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
28586 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
28587 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
28588 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
28589 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
28590 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
28591 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
28592 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
28593
28594 2014-11-05 Joseph Myers <joseph@codesourcery.com>
28595
28596 [BZ #14132]
28597 * include/libc-symbols.h (INTUSE): Remove macro.
28598 (INTDEF): Likewise.
28599 (INTVARDEF): Likewise.
28600 (_INTVARDEF): Likewise.
28601 (INTDEF2): Likewise.
28602 (INTVARDEF2): Likewise.
28603 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
28604 rtld_hidden_def instead of INTVARDEF.
28605 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
28606 (_dl_starting_up_internal): Remove declaration.
28607 (_dl_starting_up): Use rtld_hidden_proto.
28608 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
28609 declaration.
28610 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
28611 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
28612 _dl_starting_up.
28613 * elf/dl-writev.h (_dl_writev): Likewise.
28614 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
28615 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
28616 _dl_starting_up_internal.
28617
28618 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28619
28620 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
28621 test-skeleton.c.
28622
28623 2014-11-05 Will Newton <will.newton@linaro.org>
28624
28625 * benchtests/Makefile: (bench-malloc): Add malloc thread
28626 scalability benchmark.
28627 * benchtests/bench-malloc-threads.c: New file.
28628
28629 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
28630
28631 * sysdeps/aarch64/strchrnul.S: New file.
28632
28633 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28634
28635 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
28636 definition.
28637 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
28638 Likwise.
28639 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
28640 Likewise.
28641 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
28642 Likewise.
28643 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
28644 Likewise.
28645 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
28646 Likewise.
28647
28648 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
28649
28650 * catgets/test-gencat.c: Use test-skeleton.c.
28651 * catgets/tst-catgets.c: Likewise.
28652 * csu/tst-empty.c: Likewise.
28653 * elf/tst-audit2.c: Likewise.
28654 * elf/tst-global1.c: Likewise.
28655 * elf/tst-pathopt.c: Likewise.
28656 * elf/tst-piemod1.c: Likewise.
28657 * elf/tst-tls10.c: Likewise.
28658 * elf/tst-tls11.c: Likewise.
28659 * elf/tst-tls12.c: Likewise.
28660 * gnulib/tst-gcc.c: Likewise.
28661 * iconvdata/tst-e2big.c: Likewise.
28662 * iconvdata/tst-loading.c: Likewise.
28663 * iconv/tst-iconv1.c: Likewise.
28664 * iconv/tst-iconv2.c: Likewise.
28665 * inet/test-inet6_opt.c: Likewise.
28666 * inet/tst-gethnm.c: Likewise.
28667 * inet/tst-network.c: Likewise.
28668 * inet/tst-ntoa.c: Likewise.
28669 * intl/tst-codeset.c: Likewise.
28670 * intl/tst-gettext2.c: Likewise.
28671 * intl/tst-gettext3.c: Likewise.
28672 * intl/tst-ngettext.c: Likewise.
28673 * intl/tst-translit.c: Likewise.
28674 * io/test-stat.c: Likewise.
28675 * libio/test-fmemopen.c: Likewise.
28676 * libio/tst-freopen.c: Likewise.
28677 * libio/tst-sscanf.c: Likewise.
28678 * libio/tst-ungetwc1.c: Likewise.
28679 * libio/tst-ungetwc2.c: Likewise.
28680 * libio/tst-widetext.c: Likewise.
28681 * localedata/tst-ctype.c: Likewise.
28682 * localedata/tst-digits.c: Likewise.
28683 * localedata/tst-leaks.c: Likewise.
28684 * localedata/tst-mbswcs1.c: Likewise.
28685 * localedata/tst-mbswcs2.c: Likewise.
28686 * localedata/tst-mbswcs3.c: Likewise.
28687 * localedata/tst-mbswcs4.c: Likewise.
28688 * localedata/tst-mbswcs5.c: Likewise.
28689 * localedata/tst-setlocale.c: Likewise.
28690 * localedata/tst-trans.c: Likewise.
28691 * localedata/tst-wctype.c: Likewise.
28692 * localedata/tst-xlocale1.c: Likewise.
28693 * login/tst-grantpt.c: Likewise.
28694 * malloc/tst-calloc.c: Likewise.
28695 * malloc/tst-malloc.c: Likewise.
28696 * malloc/tst-mallocstate.c: Likewise.
28697 * malloc/tst-mcheck.c: Likewise.
28698 * malloc/tst-mtrace.c: Likewise.
28699 * malloc/tst-obstack.c: Likewise.
28700 * math/atest-exp2.c: Likewise.
28701 * math/atest-exp.c: Likewise.
28702 * math/atest-sincos.c: Likewise.
28703 * math/test-matherr.c: Likewise.
28704 * math/test-misc.c: Likewise.
28705 * math/test-powl.c: Likewise.
28706 * math/tst-definitions.c: Likewise.
28707 * misc/tst-dirname.c: Likewise.
28708 * misc/tst-efgcvt.c: Likewise.
28709 * misc/tst-fdset.c: Likewise.
28710 * misc/tst-hsearch.c: Likewise.
28711 * misc/tst-mntent2.c: Likewise.
28712 * nptl/tst-sem7.c: Likewise.
28713 * nptl/tst-sem8.c: Likewise.
28714 * nptl/tst-sem9.c: Likewise.
28715 * nss/test-netdb.c: Likewise.
28716 * posix/tst-fnmatch.c: Likewise.
28717 * posix/tst-getlogin.c: Likewise.
28718 * posix/tst-gnuglob.c: Likewise.
28719 * posix/tst-mmap.c: Likewise.
28720 * pwd/tst-getpw.c: Likewise.
28721 * resolv/tst-inet_ntop.c: Likewise.
28722 * rt/tst-timer.c: Likewise.
28723 * stdio-common/test-fseek.c: Likewise.
28724 * stdio-common/test-popen.c: Likewise.
28725 * stdio-common/test-vfprintf.c: Likewise.
28726 * stdio-common/tst-cookie.c: Likewise.
28727 * stdio-common/tst-fileno.c: Likewise.
28728 * stdio-common/tst-gets.c: Likewise.
28729 * stdio-common/tst-obprintf.c: Likewise.
28730 * stdio-common/tst-perror.c: Likewise.
28731 * stdio-common/tst-sprintf2.c: Likewise.
28732 * stdio-common/tst-sprintf3.c: Likewise.
28733 * stdio-common/tst-sprintf.c: Likewise.
28734 * stdio-common/tst-swprintf.c: Likewise.
28735 * stdio-common/tst-tmpnam.c: Likewise.
28736 * stdio-common/tst-unbputc.c: Likewise.
28737 * stdio-common/tst-wc-printf.c: Likewise.
28738 * stdlib/tst-environ.c: Likewise.
28739 * stdlib/tst-fmtmsg.c: Likewise.
28740 * stdlib/tst-limits.c: Likewise.
28741 * stdlib/tst-rand48-2.c: Likewise.
28742 * stdlib/tst-rand48.c: Likewise.
28743 * stdlib/tst-random2.c: Likewise.
28744 * stdlib/tst-random.c: Likewise.
28745 * stdlib/tst-strtol.c: Likewise.
28746 * stdlib/tst-strtoll.c: Likewise.
28747 * stdlib/tst-tls-atexit.c: Likewise.
28748 * stdlib/tst-xpg-basename.c: Likewise.
28749 * string/test-ffs.c: Likewise.
28750 * string/tst-bswap.c: Likewise.
28751 * string/tst-inlcall.c: Likewise.
28752 * string/tst-strtok.c: Likewise.
28753 * string/tst-strxfrm.c: Likewise.
28754 * sysdeps/x86_64/tst-audit10.c: Likewise.
28755 * sysdeps/x86_64/tst-audit3.c: Likewise.
28756 * sysdeps/x86_64/tst-audit4.c: Likewise.
28757 * sysdeps/x86_64/tst-audit5.c: Likewise.
28758 * time/tst-ftime_l.c: Likewise.
28759 * time/tst-getdate.c: Likewise.
28760 * time/tst-mktime3.c: Likewise.
28761 * time/tst-mktime.c: Likewise.
28762 * time/tst-posixtz.c: Likewise.
28763 * time/tst-strptime2.c: Likewise.
28764 * time/tst-strptime3.c: Likewise.
28765 * wcsmbs/tst-btowc.c: Likewise.
28766 * wcsmbs/tst-mbrtowc.c: Likewise.
28767 * wcsmbs/tst-mbsrtowcs.c: Likewise.
28768 * wcsmbs/tst-wchar-h.c: Likewise.
28769 * wcsmbs/tst-wcpncpy.c: Likewise.
28770 * wcsmbs/tst-wcrtomb.c: Likewise.
28771 * wcsmbs/tst-wcsnlen.c: Likewise.
28772 * wcsmbs/tst-wcstof.c: Likewise.
28773
28774 2014-11-04 Joseph Myers <joseph@codesourcery.com>
28775
28776 [BZ #14132]
28777 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
28778 INTDEF.
28779 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
28780 declaration.
28781 (_dl_mcount): Use rtld_hidden_proto.
28782 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
28783 _dl_mcount.
28784 * elf/rtld.c (_rtld_global_ro): Likewise.
28785
28786 [BZ #14132]
28787 * elf/dl-init.c (_dl_init): Don't use INTDEF.
28788 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
28789 of _dl_init_internal.
28790 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
28791 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
28792 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
28793 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
28794 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
28795 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
28796 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
28797 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
28798 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
28799 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
28800 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
28801 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
28802 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
28803 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
28804 * sysdeps/tile/dl-start.S (_start): Likewise.
28805 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
28806 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
28807
28808 [BZ #14132]
28809 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
28810 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
28811 (rtld_progname): Make macro definition unconditional.
28812 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
28813 INTDEF.
28814 (dlmopen_doit): Do not use INTUSE with _dl_argv.
28815 (dl_main): Likewise.
28816 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
28817 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
28818 instead of _dl_argv_internal.
28819 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
28820 __GI__dl_argv instead of INTUSE(_dl_argv).
28821 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
28822 __GI__dl_argv instead of _dl_argv_internal.
28823
28824 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
28825 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
28826 macro.
28827 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
28828 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
28829 New macro.
28830 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
28831 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
28832 macro.
28833 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
28834 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
28835
28836 2014-11-04 Andreas Schwab <schwab@suse.de>
28837
28838 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
28839
28840 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28841
28842 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
28843 mtvsrd instruction in binary form.
28844
28845 2014-11-03 Andreas Schwab <schwab@suse.de>
28846
28847 [BZ #17522]
28848 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
28849 for less than MB_LEN_MAX use a local buffer of that size.
28850 * libio/tst-fputws.c: New file.
28851 * libio/Makefile (tests): Add tst-fputws.
28852
28853 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
28854
28855 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
28856 the size of the fpu_fr.fpu_dregs[] array.
28857
28858 2014-11-01 Joseph Myers <joseph@codesourcery.com>
28859
28860 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
28861 (__nanosleep): Do not define as alias.
28862 (nanosleep): Define as alias of __nanosleep.
28863 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
28864 __libc_nanosleep name.
28865
28866 2014-10-31 Joseph Myers <joseph@codesourcery.com>
28867
28868 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
28869 install.texi in comment.
28870
28871 2014-10-31 Torvald Riegel <triegel@redhat.com>
28872
28873 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
28874 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
28875 ... add here and use lwsync or sync ...
28876 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
28877 ... and add here using lwsync.
28878
28879 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
28880
28881 * elf/dl-machine-reject-phdr.h: New file.
28882 * elf/dl-load.c: #include that.
28883 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
28884 if that returned true.
28885
28886 2014-10-31 Roland McGrath <roland@hack.frob.com>
28887
28888 [BZ #17496]
28889 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
28890 gen-as-const-headers chunk. Add a big scare comment after the last
28891 safe place to touch before-compile.
28892
28893 2014-10-31 Joseph Myers <joseph@codesourcery.com>
28894
28895 * manual/install.texi (Tools for Compilation): Update autoconf
28896 version requirements.
28897 * INSTALL: Regenerated.
28898
28899 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
28900 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
28901 (__libc_pselect): Likewise.
28902
28903 [BZ #14138]
28904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
28905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28908
28909 2014-10-31 Torvald Riegel <triegel@redhat.com>
28910
28911 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
28912 correct barrier instruction.
28913 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
28914 Likewise.
28915 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
28916 Likewise.
28917
28918 2014-10-30 Roland McGrath <roland@hack.frob.com>
28919
28920 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
28921 after defining inlines. Instead, just use parens to defeat macro
28922 expansion of __isctype in its declaration.
28923
28924 2014-10-30 Joseph Myers <joseph@codesourcery.com>
28925
28926 * include/sys/uio.h (__libc_readv): Remove declaration.
28927 (__libc_writev): Likewise.
28928 * misc/readv.c (__libc_readv): Rename to __readv.
28929 (__readv): Do not define as alias.
28930 (readv): Define as alias of __readv.
28931 * misc/writev.c (__libc_writev): Rename to __writev.
28932 (__writev): Do not define as alias.
28933 (writev): Define as alias of __writev.
28934 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
28935 (__readv): Do not define as alias.
28936 (readv): Define unconditionally as alias of __readv.
28937 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
28938 (__writev): Do not define as alias.
28939 (writev): Define unconditionally as alias of __writev.
28940 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
28941 name.
28942 (writev): Do not define __libc_writev name.
28943
28944 2014-10-30 Roland McGrath <roland@hack.frob.com>
28945
28946 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
28947 (convert_charseq): New function, broken out of ...
28948 (use_from_charmap): ... here. Call it.
28949 (use_to_charmap): Use convert_charseq and free instead of duplicating
28950 its code with a variable-length stack struct.
28951
28952 2014-10-30 Joseph Myers <joseph@codesourcery.com>
28953
28954 * include/fcntl.h (__libc_creat): Remove declaration.
28955 * io/creat.c (__libc_creat): Rename to creat.
28956 (creat): Do not define as alias.
28957 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
28958 of creat instead of __libc_creat.
28959 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
28960 to creat.
28961 (creat): Do not define as alias.
28962 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
28963 __libc_creat.
28964 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
28965 __libc_creat name.
28966 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
28967 Likewise.
28968
28969 2014-10-29 Carlos O'Donell <carlos@redhat.com>
28970
28971 * manual/llio.texi: Add comments discussing why write() may be
28972 considered MT-unsafe on Linux.
28973
28974 2014-10-28 Carlos O'Donell <carlos@redhat.com>
28975
28976 * dl-load.c (local_strdup): Remove.
28977 (expand_dynamic_string_token): Use __strdup.
28978 (decompose_rpath): Likewise.
28979 (_dl_map_object): Likewise.
28980
28981 2014-10-28 Joseph Myers <joseph@codesourcery.com>
28982
28983 [BZ #14132]
28984 * sysdeps/generic/unwind-dw2-fde.c
28985 (__register_frame_info_bases_internal): Do not declare.
28986 (__register_frame_info_table_bases_internal): Likewise.
28987 (__deregister_frame_info_bases_internal): Likewise.
28988 (__register_frame_info_bases): Declare and use hidden_proto before
28989 definition. Use hidden_def instead of INTDEF.
28990 (__register_frame_info_table_bases): Likewise.
28991 (__deregister_frame_info_bases): Likewise.
28992 (__register_frame_info): Do not use INTUSE.
28993 (__register_frame): Likewise.
28994 (__register_frame_info_table): Likewise.
28995 (__register_frame_table): Likewise.
28996 (__deregister_frame_info): Likewise.
28997 (__deregister_frame): Likewise.
28998
28999 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
29000
29001 * sysdeps/unix/sysv/linux/arm/kernel-features.h
29002 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
29003 not undefine.
29004 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
29005 Likewise.
29006 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
29007 Likewise.
29008
29009 2014-10-27 Joseph Myers <joseph@codesourcery.com>
29010
29011 [BZ #14138]
29012 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
29013 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
29014 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
29015 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
29016 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
29017 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
29018 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
29019 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
29020 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
29021 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
29022 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
29023 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
29024 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
29025 syscall.
29026 (setfsuid): Likewise.
29027 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
29028 (setfsuid): Likewise.
29029 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
29030 (setfsuid): Likewise.
29031 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
29032 Likewise.
29033 (setfsuid): Likewise.
29034 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
29035 (setfsuid): Likewise.
29036 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
29037 Likewise.
29038 (setfsuid): Likewise.
29039
29040 2014-10-27 Andreas Schwab <schwab@suse.de>
29041
29042 [BZ #17501]
29043 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
29044 check for Slow_SSE4_2 feature bit.
29045 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
29046 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
29047 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
29048 Likewise. Fix check for Fast_Unaligned_Load feature bit.
29049
29050 2014-10-24 Roland McGrath <roland@hack.frob.com>
29051
29052 * configure.ac: Validate compiler version with a empirical test of
29053 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
29054 $CC -v output.
29055 * configure: Regenerated.
29056
29057 * inet/htons.c (htons): Prototypify.
29058 * inet/htonl.c (htonl): Likewise.
29059
29060 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
29061
29062 * string/strncat.c (strncat): Improve performance by using strlen.
29063
29064 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
29065
29066 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
29067
29068 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
29069
29070 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
29071 Call libc_fetestexcept_aarch64.
29072
29073 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
29074
29075 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
29076 Call libc_feholdexcept_aarch64.
29077
29078 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
29079
29080 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
29081 Call get_rounding_mode.
29082
29083 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
29084
29085 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
29086 Simplify logic.
29087
29088 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
29089
29090 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
29091 Simplify logic.
29092
29093 2014-10-24 Joseph Myers <joseph@codesourcery.com>
29094
29095 [BZ #14138]
29096 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
29097 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
29098 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
29099 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
29100 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
29101 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
29102 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
29103 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
29104 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
29105 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
29106 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
29107 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
29108 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
29109 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
29110 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
29111 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
29112 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
29113 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
29114 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
29115 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
29116 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
29117 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
29118 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
29119 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
29120 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
29121 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
29122 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
29123 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
29124 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
29125 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
29126 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
29127 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
29128 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
29129 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
29130 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
29131 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
29132 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
29133 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
29134 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
29135 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
29136 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
29137 syscall.
29138 (geteuid): Likewise.
29139 (getgid): Likewise.
29140 (getuid): Likewise.
29141 (getresgid): Likewise.
29142 (getresuid): Likewise.
29143 (getgroups): Likewise.
29144 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
29145 (geteuid): Likewise.
29146 (getgid): Likewise.
29147 (getuid): Likewise.
29148 (getresgid): Likewise.
29149 (getresuid): Likewise.
29150 (getgroups): Likewise.
29151 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
29152 (geteuid): Likewise.
29153 (getgid): Likewise.
29154 (getuid): Likewise.
29155 (getresgid): Likewise.
29156 (getresuid): Likewise.
29157 (getgroups): Likewise.
29158 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
29159 Likewise.
29160 (geteuid): Likewise.
29161 (getgid): Likewise.
29162 (getuid): Likewise.
29163 (getresgid): Likewise.
29164 (getresuid): Likewise.
29165 (getgroups): Likewise.
29166 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
29167 (geteuid): Likewise.
29168 (getgid): Likewise.
29169 (getuid): Likewise.
29170 (getresgid): Likewise.
29171 (getresuid): Likewise.
29172 (getgroups): Likewise.
29173 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
29174 Likewise.
29175 (geteuid): Likewise.
29176 (getgid): Likewise.
29177 (getuid): Likewise.
29178 (getgroups): Likewise.
29179
29180 [BZ #14138]
29181 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
29182 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
29183 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
29184 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
29185 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
29186 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
29187 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
29188 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
29189 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
29190 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
29191 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
29192 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
29193 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
29194 __chown.
29195 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
29196 (lchown): Likewise.
29197 (fchown): Likewise.
29198 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
29199 Likewise.
29200 (lchown): Likewise.
29201 (fchown): Likewise.
29202 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
29203 (lchown): Likewise.
29204 (fchown): Likewise.
29205 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
29206 Likewise.
29207 (lchown): Likewise.
29208 (fchown): Likewise.
29209
29210 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
29211
29212 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
29213 Simplify logic.
29214
29215 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
29216
29217 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
29218 Cleanup logic.
29219
29220 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
29221
29222 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
29223 Remove unused include.
29224
29225 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
29226
29227 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
29228 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
29229 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
29230 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
29231
29232 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
29233 Helge Deller <deller@gmx.de>
29234
29235 [BZ #17508]
29236 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
29237 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
29238 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
29239
29240 2014-10-23 Joseph Myers <joseph@codesourcery.com>
29241
29242 [BZ #14132]
29243 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
29244 Remove macro definition.
29245 (__ashrdi3_v_glibc20): Likewise.
29246 (__lshrdi3_v_glibc20): Likewise.
29247 (__cmpdi2_v_glibc20): Likewise.
29248 (__ucmpdi2_v_glibc20): Likewise.
29249 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
29250 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
29251 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
29252 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
29253 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
29254 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
29255
29256 2014-10-22 Roland McGrath <roland@hack.frob.com>
29257
29258 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
29259 old GNU extension [0] syntax.
29260 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
29261 alloca rather than an array member with variable length.
29262 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
29263 * nscd/nscd.c (invalidate_db): New function, broken out of ...
29264 (parse_opt): ... here. Likewise use alloca there.
29265 Validate the -i argument before checking for rootness.
29266 (send_shutdown): New function, broken out of ...
29267 (parse_opt): ... here.
29268
29269 2014-10-22 Roland McGrath <roland@hack.frob.com>
29270
29271 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
29272 macro to get at the _rt_local_ro field.
29273 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
29274 ([PIC] case) or _dl_hwcap ([!PIC] case).
29275 * sysdeps/arm/setjmp.S: Likewise.
29276
29277 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
29278 * sysdeps/arm/configure.ac: New check to define it.
29279 * sysdeps/arm/configure: Regenerated.
29280 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
29281 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
29282 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
29283 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
29284 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
29285 Use move/movt pair instead of a load.
29286 (LDST_GLOBAL): Macro removed.
29287 (LDR_GLOBAL): New macro replaces it.
29288 (LDR_HIDDEN): New macro.
29289 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
29290 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
29291
29292 * setjmp/tst-setjmp-static.c: New file.
29293 * setjmp/Makefile (tests): Add it.
29294 (tests-static): New variable.
29295
29296 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
29297
29298 [BZ #17485]
29299 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
29300
29301 2014-10-21 Joseph Myers <joseph@codesourcery.com>
29302
29303 [BZ #14132]
29304 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
29305
29306 2014-10-21 Roland McGrath <roland@hack.frob.com>
29307
29308 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
29309
29310 2014-10-20 Roland McGrath <roland@hack.frob.com>
29311
29312 * io/fts.c (dirent_not_directory): New function.
29313 (fts_build): Call it.
29314
29315 2014-10-20 Roland McGrath <roland@hack.frob.com>
29316
29317 * nptl/version.c (__nptl_main): Use normal __write rather than
29318 INTERNAL_SYSCALL.
29319 (banner): Update copyright years.
29320
29321 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
29322 gettimeofday.
29323 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
29324 * nptl/pthread_cond_timedwait.c: Likewise.
29325 * nptl/pthread_mutex_timedlock.c: Likewise.
29326 * nptl/sem_timedwait.c: Likewise.
29327
29328 * sysdeps/nptl/bits/libc-lock.h
29329 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
29330 (__libc_lock_init_recursive): Return void, not 0.
29331 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
29332 (__libc_rwlock_init): Likewise.
29333 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
29334
29335 2014-10-20 Torvald Riegel <triegel@redhat.com>
29336
29337 [BZ #15215]
29338 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
29339 (__pthread_once_slow): ... here.
29340 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
29341 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
29342
29343 2014-10-20 Torvald Riegel <triegel@redhat.com>
29344
29345 [BZ #15215]
29346 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
29347 __PTHREAD_ONCE_FORK_GEN_INCR): New.
29348 * sysdeps/nptl/fork.c (__libc_fork): Use them.
29349 * nptl/pthread_once.c (__pthread_once): Likewise.
29350 Update comments.
29351
29352 2014-10-20 Joseph Myers <joseph@codesourcery.com>
29353
29354 [BZ #14138]
29355 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
29356 name.
29357 (writev): Use __libc_writev as strong name.
29358 * sysdeps/unix/sysv/linux/readv.c: Remove file.
29359 * sysdeps/unix/sysv/linux/writev.c: Likewise.
29360
29361 2014-10-17 Roland McGrath <roland@hack.frob.com>
29362
29363 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
29364
29365 * sysdeps/i386/nptl/tls.h
29366 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
29367 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
29368 New macros.
29369 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
29370 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
29371 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
29372 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
29373 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
29374 Call CHECK_THREAD_SYSINFO instead of doing an assert.
29375
29376 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
29377 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
29378 on [__NR_futex].
29379 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
29380 broken out of ...
29381 (__pthread_mutex_init): ... here. Call it.
29382 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
29383 Conditionalize PI cases on [__NR_futex].
29384 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
29385 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
29386 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
29387
29388 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
29389 conditional on [SIGSETXID].
29390 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
29391 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
29392 is defined. Likewise for SIGSETXID.
29393 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
29394 Conditionalize definitions on [SIGSETXID].
29395 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
29396 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
29397 unblocking on [SIGCANCEL].
29398
29399 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
29400 [__NR_set_robust_list].
29401
29402 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
29403
29404 * string/strcoll_l.c (get_next_seq): Fix up formatting.
29405 (do_compare): Likewise.
29406
29407 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
29408
29409 [BZ #15884]
29410 * string/strcoll_l.c: Don't include stdio.h.
29411 (coll_seq): Remove members idxarr and rulearr.
29412 (get_next_seq_cached): Remove function.
29413 (get_next_seq): Likewise.
29414 (get_next_seq_nocache): Rename to get_next_seq.
29415 (do_compare): Remove function.
29416 (do_compare_nocache): Rename to do_compare.
29417 (STRCOLL): Remove weight and rules cache.
29418
29419 2014-10-16 Roland McGrath <roland@hack.frob.com>
29420
29421 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
29422 * sysdeps/arm/sfp-machine.h: ... to here.
29423 * sysdeps/arm/Implies: Remove arm/soft-fp.
29424
29425 2014-10-14 Joseph Myers <joseph@codesourcery.com>
29426
29427 * conform/data/sys/utsname.h-data (*_t): Allow.
29428 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
29429 [POSIX] (WEXITED): Do not expect constant.
29430 [POSIX] (WSTOPPED): Likewise.
29431 [POSIX] (WNOHANG): Likewise.
29432 [POSIX] (WNOWAIT): Likewise.
29433 [POSIX] (siginfo_t): Do not expect type or elements.
29434 [POSIX] (pid_t): Do not expect type.
29435 [POSIX] (signal.h): Do not allow header.
29436 [POSIX] (sys/resource.h): Likewise.
29437 [POSIX] (si_*): Do not allow pattern.
29438 [POSIX] (W*): Likewise.
29439 [POSIX] (P_*): Likewise.
29440 [POSIX] (BUS_*): Likewise.
29441 [POSIX] (CLD_*): Likewise.
29442 [POSIX] (FPE_*): Likewise.
29443 [POSIX] (ILL_*): Likewise.
29444 [POSIX] (POLL_*): Likewise.
29445 [POSIX] (SEGV_*): Likewise.
29446 [POSIX] (SI_*): Likewise.
29447 [POSIX] (TRAP_*): Likewise.
29448 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
29449 variable.
29450
29451 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
29452
29453 [BZ #12926]
29454 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
29455 infinite loop when __recvmsg returns 0.
29456
29457 2014-10-10 Joseph Myers <joseph@codesourcery.com>
29458
29459 * CANCEL-FCT-WAIVE: Remove file.
29460 * CANCEL-FILE-WAIVE: Likewise.
29461
29462 [BZ #14132]
29463 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
29464 instead of INTVARDEF.
29465 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
29466 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
29467 rtld_hidden_data_def instead of INTVARDEF.
29468 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
29469 * elf/dl-deps.c (expand_dst): Likewise.
29470 * elf/dl-load.c (_dl_dst_count): Likewise.
29471 (_dl_dst_substitute): Likewise.
29472 (decompose_rpath): Likewise.
29473 (_dl_init_paths): Likewise.
29474 (open_path): Likewise.
29475 (_dl_map_object): Likewise.
29476 * elf/rtld.c (dl_main): Likewise.
29477 (process_dl_audit): Likewise.
29478 (process_envvars): Likewise.
29479 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
29480 Remove declaration.
29481 (__libc_enable_secure): Use rtld_hidden_proto.
29482
29483 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
29484
29485 * elf/dl-load.c
29486 (add_path): New function broken out of _dl_rtld_di_serinfo.
29487 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
29488
29489 2014-10-09 Joseph Myers <joseph@codesourcery.com>
29490
29491 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
29492 parentheses around macro arguments.
29493 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
29494 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
29495 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
29496 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
29497 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
29498 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
29499 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
29500 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
29501 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
29502 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
29503 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
29504 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
29505 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
29506 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
29507 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
29508 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
29509 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
29510 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
29511 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
29512 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
29513 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
29514 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
29515 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
29516 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
29517 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
29518 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
29519 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
29520 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
29521 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
29522 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
29523 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
29524 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
29525 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
29526 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
29527 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
29528 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
29529 Likewise.
29530 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
29531 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
29532 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
29533 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
29534 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
29535 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
29536 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
29537 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
29538 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
29539 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
29540 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
29541 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
29542 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
29543 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
29544 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
29545 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
29546 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
29547 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
29548 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
29549 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
29550 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
29551 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
29552 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
29553 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
29554 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
29555 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
29556 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
29557 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
29558 (_FP_FRAC_SRS_1): Likewise.
29559 (_FP_FRAC_CLZ_1): Likewise.
29560 (_FP_MUL_MEAT_1_imm): Likewise.
29561 (_FP_MUL_MEAT_1_wide): Likewise.
29562 (_FP_MUL_MEAT_1_hard): Likewise.
29563 (_FP_SQRT_MEAT_1): Likewise.
29564 (_FP_FRAC_ASSEMBLE_1): Likewise.
29565 (_FP_FRAC_DISASSEMBLE_1): Likewise.
29566 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
29567 (__FP_CLZ_2): Likewise.
29568 (_FP_MUL_MEAT_2_wide): Likewise.
29569 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
29570 (_FP_MUL_MEAT_2_gmp): Likewise.
29571 (_FP_MUL_MEAT_2_120_240_double): Likewise.
29572 (_FP_SQRT_MEAT_2): Likewise.
29573 (_FP_FRAC_ASSEMBLE_2): Likewise.
29574 (_FP_FRAC_DISASSEMBLE_2): Likewise.
29575 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
29576 (_FP_FRAC_CLZ_4): Likewise.
29577 (_FP_MUL_MEAT_4_wide): Likewise.
29578 (_FP_MUL_MEAT_4_gmp): Likewise.
29579 (_FP_SQRT_MEAT_4): Likewise.
29580 (_FP_FRAC_ASSEMBLE_4): Likewise.
29581 (_FP_FRAC_DISASSEMBLE_4): Likewise.
29582 * soft-fp/op-common.h (_FP_CMP): Likewise.
29583 (_FP_CMP_EQ): Likewise.
29584 (_FP_CMP_UNORD): Likewise.
29585 (_FP_TO_INT): Likewise.
29586 (_FP_FROM_INT): Likewise.
29587 [!__FP_CLZ] (__FP_CLZ): Likewise.
29588 (_FP_DIV_HELP_imm): Likewise.
29589 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
29590 Likewise.
29591 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
29592 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
29593 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
29594 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
29595 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
29596 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
29597 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
29598 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
29599 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
29600 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
29601 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
29602 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
29603 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
29604 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
29605 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
29606 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
29607 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
29608 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
29609 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
29610 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
29611 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
29612 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
29613 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
29614 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
29615 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
29616 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
29617 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
29618 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
29619 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
29620 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
29621 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
29622 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
29623 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
29624 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
29625 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
29626 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
29627 (FP_UNPACK_RAW_SP): Likewise.
29628 (FP_PACK_RAW_S): Likewise.
29629 (FP_PACK_RAW_SP): Likewise.
29630 (FP_UNPACK_S): Likewise.
29631 (FP_UNPACK_SP): Likewise.
29632 (FP_UNPACK_SEMIRAW_S): Likewise.
29633 (FP_UNPACK_SEMIRAW_SP): Likewise.
29634 (FP_PACK_S): Likewise.
29635 (FP_PACK_SP): Likewise.
29636 (FP_PACK_SEMIRAW_S): Likewise.
29637 (FP_PACK_SEMIRAW_SP): Likewise.
29638 (_FP_SQRT_MEAT_S): Likewise.
29639 (FP_CMP_S): Likewise.
29640 (FP_CMP_EQ_S): Likewise.
29641 (FP_CMP_UNORD_S): Likewise.
29642 (FP_TO_INT_S): Likewise.
29643 (FP_FROM_INT_S): Likewise.
29644
29645 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
29646
29647 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
29648 (FP_EX_INVALID_IMZ): Likewise.
29649 (FP_EX_INVALID_IMZ_FMA): Likewise.
29650 (FP_EX_INVALID_ISI): Likewise.
29651 (FP_EX_INVALID_ZDZ): Likewise.
29652 (FP_EX_INVALID_IDI): Likewise.
29653 (FP_EX_INVALID_SQRT): Likewise.
29654 (FP_EX_INVALID_CVI): Likewise.
29655 (FP_EX_INVALID_VC): Likewise.
29656 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
29657 "invalid" exceptions.
29658 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
29659 (_FP_ADD_INTERNAL): Likewise.
29660 (_FP_MUL): Likewise.
29661 (_FP_FMA): Likewise.
29662 (_FP_DIV): Likewise.
29663 (_FP_CMP_CHECK_NAN): Likewise.
29664 (_FP_SQRT): Likewise.
29665 (_FP_TO_INT): Likewise.
29666 (FP_EXTEND): Likewise.
29667
29668 2014-10-09 Allan McRae <allan@archlinux.org>
29669
29670 * po/fr.po: Update French translation from translation project.
29671
29672 2014-10-09 Joseph Myers <joseph@codesourcery.com>
29673
29674 [BZ #14132]
29675 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
29676 of INTDEF.
29677 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
29678 (__cxa_atexit): Use libc_hidden_proto.
29679 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
29680
29681 [BZ #14132]
29682 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
29683 declaration.
29684 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
29685 [!_ISOMAC] (__iswspace_l_internal): Likewise.
29686 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
29687 [!_ISOMAC] (__iswctype_internal): Likewise.
29688 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
29689 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
29690 alias.
29691 (fcntl): Remove __fcntl_internal alias.
29692 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
29693 __connect_internal alias.
29694 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
29695 Likewise.
29696
29697 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
29698 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
29699 FP_DENORM_ZERO.
29700 (_FP_CHECK_FLUSH_ZERO): New macro.
29701 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
29702 (_FP_CMP): Likewise.
29703 (_FP_CMP_EQ): Likewise.
29704 (_FP_TO_INT): Do not set inexact for subnormal arguments if
29705 FP_DENORM_ZERO.
29706 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
29707 (FP_TRUNC): Likewise.
29708
29709 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
29710 treated as invalid conversion, not as normal exponent.
29711
29712 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
29713 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
29714 (_FP_CMP_EQ): Likewise.
29715 (_FP_CMP_UNORD): Likewise.
29716 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
29717 (FP_CMP_EQ_D): Likewise.
29718 (FP_CMP_UNORD_D): Likewise.
29719 * soft-fp/extended.h (FP_CMP_E): Likewise.
29720 (FP_CMP_EQ_E): Likewise.
29721 (FP_CMP_UNORD_E): Likewise.
29722 * soft-fp/quad.h (FP_CMP_Q): Likewise.
29723 (FP_CMP_EQ_Q): Likewise.
29724 (FP_CMP_UNORD_Q): Likewise.
29725 * soft-fp/single.h (FP_CMP_S): Likewise.
29726 (FP_CMP_EQ_S): Likewise.
29727 (FP_CMP_UNORD_S): Likewise.
29728 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
29729 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
29730 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
29731 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
29732 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
29733 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
29734 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
29735 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
29736 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
29737 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
29738 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
29739 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
29740 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
29741 to FP_CMP_Q.
29742 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
29743 FP_CMP_Q.
29744 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
29745 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
29746 FP_CMP_EQ_Q.
29747 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
29748 FP_CMP_Q.
29749 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
29750 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
29751 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
29752 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
29753 FP_CMP_EQ_Q.
29754 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
29755 FP_CMP_Q.
29756 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
29757 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
29758 FP_CMP_EQ_Q.
29759 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
29760 FP_CMP_Q.
29761 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
29762 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
29763 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
29764 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
29765 FP_CMP_EQ_Q.
29766
29767 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
29768 a subnormal result, set the underflow exception if trapping on
29769 underflow is enabled.
29770 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
29771 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
29772 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
29773 redefine to 0.
29774 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
29775 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
29776 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
29777 * soft-fp/extendxftf2.c (__extendxftf2): Use
29778 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
29779
29780 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
29781 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
29782 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
29783 FP_HANDLE_EXCEPTIONS.
29784 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
29785 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
29786 FP_HANDLE_EXCEPTIONS.
29787 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
29788 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
29789 FP_HANDLE_EXCEPTIONS.
29790 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
29791 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
29792 FP_HANDLE_EXCEPTIONS.
29793
29794 2014-10-08 Joseph Myers <joseph@codesourcery.com>
29795
29796 [BZ #14132]
29797 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
29798 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
29799 use INTUSE.
29800 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
29801 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
29802 Remove alias.
29803 (__adjtimex): Define using libc_hidden_ver.
29804 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
29805 Remove declaration.
29806 (ntp_gettime): Call __adjtimex directly.
29807 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
29808 Remove declaration.
29809 (ntp_gettimex): Call __adjtimex directly.
29810 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
29811 __adjtimex_internal alias.
29812
29813 2014-10-08 Roland McGrath <roland@hack.frob.com>
29814
29815 [BZ #17460]
29816 * nscd/nscd.c (more_help): Rewrite list of tables collection
29817 using xstrdup and asprintf.
29818
29819 * nscd/nscd_conf.c: Remove local xstrdup declaration.
29820
29821 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
29822 Roland McGrath <roland@hack.frob.com>
29823
29824 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
29825 (do_lookup_unique): ... local function 'enter' here; update callers.
29826
29827 2014-10-06 Joseph Myers <joseph@codesourcery.com>
29828
29829 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
29830 compat_symbol calls on [SHARED].
29831 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
29832 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
29833 Remove.
29834 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
29835 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
29836 (oldsetrlimit): Remove.
29837 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
29838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
29839 (lchown): New syscall entry.
29840 (oldsetrlimit): Remove.
29841 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
29842 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
29843 (oldsetrlimit): Remove.
29844 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
29845
29846 [BZ #14138]
29847 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
29848 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
29849 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
29850 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
29851 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
29852 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
29853 (fchown): Likewise.
29854 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
29855 (fchown): Likewise.
29856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
29857 Likewise.
29858
29859 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29860
29861 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
29862 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
29863 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
29864 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
29865 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
29866 Likewise.
29867 (__old_sem_post): Likewise.
29868
29869 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
29870
29871 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
29872 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
29873 HAVE_CLOCK_GETTIME_VSYSCALL macros.
29874 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
29875 Use INLINE_VSYSCALL macro.
29876 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
29877 __vdso_clock_gettime.
29878 * sysdeps/unix/sysv/linux/tile/init-first.c
29879 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
29880 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
29881 __vdso_clock_gettime.
29882
29883 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
29884 to set up frame more cleanly.
29885
29886 * sysdeps/tile/memcmp.c: New file.
29887
29888 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
29889
29890 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
29891 * sysdeps/tile/tilegx/strcasestr.c: New file.
29892 * sysdeps/tile/tilegx/strnlen.c: New file.
29893 * sysdeps/tile/tilegx/strstr.c: New file.
29894
29895 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
29896
29897 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
29898
29899 * nptl/tst-setuid3.c: Write errors to stdout.
29900
29901 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
29902
29903 * elf/dl-deps.c
29904 (preload): New functions broken out of _dl_map_object_deps.
29905 (_dl_map_object_deps): Remove a nested function. Update call sites.
29906
29907 2014-10-01 Joseph Myers <joseph@codesourcery.com>
29908
29909 [BZ #14138]
29910 * sysdeps/unix/sysv/linux/execve.c: Remove file.
29911 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
29912
29913 2014-10-01 Steve Ellcey <sellcey@mips.com>
29914
29915 * sysdeps/mips/strcmp.S: New.
29916
29917 2014-09-30 Joseph Myers <joseph@codesourcery.com>
29918
29919 [BZ #14138]
29920 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
29921 (linkat): Likewise.
29922 (mkdirat): Likewise.
29923 (readlinkat): Likewise.
29924 (renameat): Likewise.
29925 (symlinkat): Likewise.
29926 (unlinkat): Likewise.
29927 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
29928 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
29929 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
29930 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
29931 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
29932 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
29933 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
29934
29935 2014-09-30 Will Newton <will.newton@linaro.org>
29936
29937 * math/math.h: Define long double math functions if
29938 _LIBC_TEST is defined.
29939 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
29940
29941 * localedata/Makefile: Move assignment to tests-special
29942 into an ifdef testing run-built-tests.
29943 * timezone/Makefile: Likewise.
29944
29945 2014-09-29 Joseph Myers <joseph@codesourcery.com>
29946
29947 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
29948 with $(BASH) not $(SHELL).
29949
29950 2014-09-29 Carlos O'Donell <carlos@redhat.com>
29951 Matthew LeGendre <legendre1@llnl.gov>
29952
29953 [BZ #17411]
29954 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
29955 l_reloc_result.
29956
29957 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
29958
29959 * stdio-common/printf_fp.c
29960 (hack_digit): New function, broken out of ...
29961 (__printf_fp): ... local function here. Update call sites.
29962 hack_digit now takes an additional parameter that is a pointer
29963 to a struct of the referenced locals. Those locals moved inside
29964 the struct and references updated.
29965
29966 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
29967
29968 * aclocal.m4: Require autoconf 2.69.
29969 * configure: Regenerated.
29970 * sysdeps/aarch64/configure: Likewise.
29971 * sysdeps/alpha/configure: Likewise.
29972 * sysdeps/arm/armv7/configure: Likewise.
29973 * sysdeps/arm/configure: Likewise.
29974 * sysdeps/ia64/configure: Likewise.
29975 * sysdeps/mach/configure: Likewise.
29976 * sysdeps/mips/configure: Likewise.
29977 * sysdeps/s390/configure: Likewise.
29978 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
29979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
29980
29981 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
29982 file.
29983 * sysdeps/ia64/configure.ac: Likewise.
29984
29985 2014-09-26 Joseph Myers <joseph@codesourcery.com>
29986
29987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
29988 specify symbol version for ld.so. Do not include entry for
29989 libpthread.
29990 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
29991 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
29992 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
29993
29994 [BZ #14171]
29995 * Makeconfig [$(build-shared) = yes]
29996 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
29997 makefiles.
29998 [$(build-shared) = yes && $(soversions.mk-done) = t]
29999 ($(common-objpfx)gnu/lib-names.h): Remove rule.
30000 [$(build-shared) = yes && $(soversions.mk-done) = t]
30001 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
30002 to Makerules.
30003 [$(build-shared) = yes && $(soversions.mk-done) = t]
30004 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
30005 here.
30006 [$(build-shared) = yes && $(soversions.mk-done) = t]
30007 (common-generated): Don't append gnu/lib-names.h and
30008 gnu/lib-names.stmp here.
30009 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
30010 (lib-names-h-abi): New variable.
30011 [$(build-shared) = yes && $(soversions.mk-done) = t]
30012 (lib-names-stmp-abi): Likewise.
30013 [$(build-shared) = yes && $(soversions.mk-done) = t &&
30014 abi-variants] (before-compile): Append
30015 $(common-objpfx)$(lib-names-h-abi).
30016 [$(build-shared) = yes && $(soversions.mk-done) = t &&
30017 abi-variants] (common-generated): Append gnu/lib-names.h.
30018 [$(build-shared) = yes && $(soversions.mk-done) = t &&
30019 abi-variants] (install-others-nosubdir): Depend on
30020 $(inst_includedir)/$(lib-names-h-abi).
30021 [$(build-shared) = yes && $(soversions.mk-done) = t &&
30022 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
30023 [$(build-shared) = yes && $(soversions.mk-done) = t]
30024 ($(common-objpfx)$(lib-names-h-abi)): New rule.
30025 [$(build-shared) = yes && $(soversions.mk-done) = t]
30026 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
30027 [$(build-shared) = yes && $(soversions.mk-done) = t]
30028 (common-generated): Append $(lib-names-h-abi) and
30029 $(lib-names-stmp-abi).
30030 * scripts/lib-names.awk: Do not handle multi being set.
30031 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
30032 Remove variable.
30033 (abi-lp64_be-ld-soname): Likewise.
30034 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
30035 Likewise.
30036 (abi-hard-ld-soname): Likewise.
30037 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
30038 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
30039 Remove variable.
30040 (abi-o32_hard-ld-soname): Likewise.
30041 (abi-o32_soft_2008-ld-soname): Likewise.
30042 (abi-o32_hard_2008-ld-soname): Likewise.
30043 (abi-n32_soft-ld-soname): Likewise.
30044 (abi-n32_hard-ld-soname): Likewise.
30045 (abi-n32_soft_2008-ld-soname): Likewise.
30046 (abi-n32_hard_2008-ld-soname): Likewise.
30047 (abi-n64_soft-ld-soname): Likewise.
30048 (abi-n64_hard-ld-soname): Likewise.
30049 (abi-n64_soft_2008-ld-soname): Likewise.
30050 (abi-n64_hard_2008-ld-soname): Likewise.
30051 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
30052 Likewise.
30053 (abi-64-v2-ld-soname): Likewise.
30054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
30055 ld.so entries.
30056 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
30057 variable.
30058 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
30059 entry.
30060 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
30061 variable.
30062 (abi-64-ld-soname): Likewise.
30063 (abi-x32-ld-soname): Likewise.
30064 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
30065 entry.
30066 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
30067
30068 2014-09-23 Joseph Myers <joseph@codesourcery.com>
30069
30070 [BZ #14138]
30071 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
30072 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
30073 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
30074 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
30075 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
30076 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
30077 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
30078 syscall entry for GLIBC_2.2 symbol version.
30079 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
30080 Likewise.
30081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
30082 (setrlimit): Likewise.
30083 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
30084 Likewise.
30085
30086 2014-09-23 Will Newton <will.newton@linaro.org>
30087
30088 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
30089 _LINUX_ARM_SYSDEP_H include guard too.
30090 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
30091 define.
30092
30093 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
30094
30095 * sysdeps/unix/sysv/linux/eventfd.c:
30096 Make first argument unsigned.
30097 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
30098 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
30099
30100 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
30101
30102 [BZ #16852]
30103 * socket/recvmmsg.c (recvmmsg): Drop const argument.
30104 * socket/sys/socket.h: Likewise.
30105 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
30106
30107 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30108
30109 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
30110
30111 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
30112
30113 * time/tst-ftime.c: New test.
30114 * time/Makefile (tests): Add tst-ftime.
30115
30116 2014-09-17 Joseph Myers <joseph@codesourcery.com>
30117
30118 * soft-fp/extended.h: Fix comment formatting.
30119 * soft-fp/op-1.h: Likewise.
30120 * soft-fp/op-2.h: Likewise.
30121 * soft-fp/op-4.h: Likewise.
30122 * soft-fp/op-8.h: Likewise.
30123 * soft-fp/op-common.h: Likewise.
30124 * soft-fp/soft-fp.h: Likewise.
30125
30126 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
30127
30128 2014-09-16 Joseph Myers <joseph@codesourcery.com>
30129
30130 [BZ #6652]
30131 * Makeconfig (soversions-default-setname): Remove variable.
30132 ($(common-objpfx)soversions.i): Don't pass default_setname to
30133 soversions.awk.
30134 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
30135 oldest_abi to abi-versions.awk.
30136 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
30137 * config.make.in (oldest-abi): Remove variable.
30138 * configure.ac (--enable-oldest-abi): Remove configure option.
30139 * configure: Regenerated.
30140 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
30141 text.
30142 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
30143 * scripts/soversions.awk: Do not handle default_setname variable.
30144 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
30145 variable.
30146 * sysdeps/mach/hurd/configure: Regenerated.
30147 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
30148 variable.
30149 * sysdeps/unix/sysv/linux/configure: Regenerated.
30150
30151 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
30152
30153 * elf/Makefile (CFLAGS-interp.c): Remove.
30154 ($(elf-objpfx)runtime-linker.h): Generate header with linker
30155 path string.
30156 * elf/interp.c: Include generated runtime-linker.h
30157
30158 * Makerules (lib%.so): Don't include $(+interp) in
30159 prerequisites.
30160 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
30161 * dlfcn/eval.c: Remove file.
30162
30163 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
30164 macros.
30165
30166 [BZ #17266]
30167 * misc/sys/cdefs.h: Define __extern_always_inline for clang
30168 4.2 and newer.
30169
30170 [BZ #17370]
30171 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
30172
30173 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
30174 Jakub Jelinek <jakub@redhat.com>
30175
30176 [BZ #17266]
30177 * libio/stdio.h: Check definition of __fortify_function
30178 instead of __extern_always_inline to include bits/stdio2.h.
30179 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
30180 check if __extern_always_inline is defined.
30181 [__USE_MISC || __USE_XOPEN]: Likewise.
30182 [__USE_ISOC99] Likewise.
30183 * misc/sys/cdefs.h (__fortify_function): Define only if
30184 __extern_always_inline is defined.
30185 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
30186 __extern_always_inline and __extern_inline only for g++-4.3
30187 and newer or a compatible gcc.
30188
30189 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
30190
30191 [BZ #17371]
30192 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
30193 last change to handle zero prefix length.
30194
30195 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30196
30197 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
30198 _SC_REGEX_VERSION.
30199
30200 * posix/getconf.c (vars): Add _POSIX_IPV6 and
30201 _POSIX_RAW_SOCKETS.
30202
30203 2014-09-13 Allan McRae <allan@archlinux.org>
30204
30205 * po/ru.po: Update Russian translation from translation project.
30206
30207 2014-09-12 Roland McGrath <roland@hack.frob.com>
30208
30209 * locale/programs/locale.c (show_locale_vars): Inline local function
30210 into its sole call site. Clean up some style nits.
30211 (print_item): New function, broken out of ...
30212 (show_info): ... local function here. Clean up style nits.
30213
30214 * locale/programs/ld-ctype.c (set_one_default): New function, broken
30215 out of ...
30216 (set_class_defaults): ... local function set_default here.
30217 Define set_default as a macro locally to pass constant parameters.
30218 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
30219 rather than a shared local.
30220
30221 * stdlib/rpmatch.c (try): New function, broken out of ...
30222 (rpmatch): ... local function here. Also, prototypify definition.
30223
30224 2014-09-12 Joseph Myers <joseph@codesourcery.com>
30225
30226 * scripts/soversions.awk: Do not handle configuration names.
30227 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
30228 vendor and os variables to soversions.awk.
30229 * configure.ac: Do not modify gnu-* host_os.
30230 * configure: Regenerated
30231 * shlib-versions: Remove first column with configuration names.
30232 * nptl/shlib-versions: Likewise.
30233 * nptl_db/shlib-versions: Likewise.
30234 * sysdeps/hppa/shlib-versions: Likewise.
30235 * sysdeps/m68k/shlib-versions: Likewise.
30236 * sysdeps/mach/hurd/shlib-versions: Likewise.
30237 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
30238 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
30239 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
30240 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
30241 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
30242 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
30243 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
30244 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
30245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
30246 Likewise.
30247 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
30248 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
30249 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
30250 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
30251 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
30252 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
30253 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
30254 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
30255
30256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
30257 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
30258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
30259 Regenerated.
30260 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
30261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
30262 Condition symbol version definitions on [HAVE_ELFV2_ABI].
30263
30264 * shlib-versions: Remove OS-specific entries. Moved to files in
30265 sysdeps.
30266 * sysdeps/mach/hurd/shlib-versions: New file.
30267 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
30268
30269 * nptl/shlib-versions: Remove architecture-specific entries.
30270 Moved to files in sysdeps.
30271 * shlib-versions: Likewise.
30272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
30273 file.
30274 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
30275 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
30276 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
30277 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
30278
30279 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
30280 (UDP_NO_CHECK6_RX): Likewise.
30281
30282 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
30283
30284 * sysdeps/posix/sysconf.c (__sysconf): Spell
30285 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
30286
30287 2014-08-12 Florian Weimer <fweimer@redhat.com>
30288
30289 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
30290 loading.
30291 * iconv/Versions (__gconv_transliterate): Export for use from
30292 gconv modules.
30293 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
30294 (struct __gconv_trans_data, __gconv_trans_fct,
30295 __gconv_trans_context_fct, __gconv_trans_query_fct,
30296 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
30297 definitions.
30298 (struct __gconv_step_data): Remove __trans member.
30299 (__gconv_transliterate): Declaration moved from gconv_int.h. No
30300 longer hidden. Remove unused trans_data argument.
30301 * iconv/gconv_int.h (struct trans_struct): Remove definition.
30302 (__gconv_translit_find): Remove declaration.
30303 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
30304 prototype.
30305 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
30306 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
30307 trans_data argument. Add hidden definition.
30308 (__gconv_translit_find): Remove.
30309 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
30310 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
30311 * iconv/skeleton.c: Remove transliteration initialization.
30312 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
30313 __gconv_step_data initialization.
30314 * libio/iofwide.c (__libio_translit_): Remove.
30315 (_IO_fwide): Adjust struct __gconv_step_data initialization.
30316 * wcsmbs/btowc.c (__btowc): Likewise.
30317 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
30318 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
30319 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
30320 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
30321 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
30322 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
30323 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
30324 * wcsmbs/wctob.c (wctob): Likewise.
30325
30326 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
30327
30328 [BZ #16194]
30329 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
30330 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
30331 register usage.
30332 * sysdeps/x86/Makefile: Adjust.
30333
30334 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
30335 Roland McGrath <roland@hack.frob.com>
30336
30337 * locale/weight.h: Add include guard.
30338 (findidx): Make static rather than auto; take new parameters
30339 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
30340 * locale/weightwc.h: Likewise.
30341 * posix/fnmatch_loop.c
30342 (FCT): Change type of EXTRA from int32_t to wint_t.
30343 Don't include either header inside the function.
30344 Call FINDIDX rather than findidx, and pass new arguments.
30345 #undef FINDIDX at the end of the file.
30346 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
30347 FINDIDX before including fnmatch_loop.c for the non-wide version.
30348 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
30349 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
30350 for the wide version.
30351 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
30352 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
30353 Pass new arguments to findidx.
30354 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
30355 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
30356 Don't #include it inside the function. Pass new arguments to findidx.
30357 * posix/regex_internal.h
30358 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
30359 (re_string_elem_size_at): Don't #include it inside the function.
30360 Pass new arguments to findidx.
30361 * string/strcoll_l.c: #include WEIGHT_H at top level.
30362 (get_next_seq): Don't #include it inside the function.
30363 Pass new arguments to findidx.
30364 (get_next_seq_nocache): Likewise.
30365 * string/strxfrm_l.c: #include WEIGHT_H at top level.
30366 (STRXFRM): Don't #include it inside the function.
30367 Pass new arguments to findidx.
30368
30369 2014-09-11 Florian Weimer <fweimer@redhat.com>
30370
30371 [BZ #17344]
30372 * malloc/malloc.c (unlink): Turn asserts into a call to
30373 malloc_printerr.
30374
30375 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
30376
30377 [BZ #17370]
30378 * libio/wfileops (do_ftell_wide): Free OUT.
30379
30380 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
30381
30382 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
30383
30384 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
30385
30386 [BZ #17363]
30387 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
30388 group if the current group is empty.
30389
30390 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30391
30392 * benchtests/bench-memset.c (test_main): Add more test from size
30393 from 32 to 512 bytes.
30394 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30395 Add POWER8 memset object.
30396 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30397 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
30398 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
30399 implementation.
30400 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
30401 Likewise.
30402 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
30403 multiarch POWER8 memset optimization.
30404 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
30405 POWER8 memset optimization.
30406
30407 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30408 Remove bzero multiarch objects.
30409 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
30410 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
30411 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
30412 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
30413 Remove define.
30414 [__bzero]: Redefine to specific name.
30415 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
30416 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
30417 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
30418 define.
30419 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
30420 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
30421
30422 2014-09-10 Florian Weimer <fweimer@redhat.com>
30423
30424 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
30425 warnings into errors.
30426
30427 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
30428 __cxa_thread_atexit_impl prototype.
30429
30430 2014-09-09 Steve Ellcey <sellcey@mips.com>
30431
30432 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
30433 Fix capitalization of error message.
30434
30435 2014-09-09 Steve Ellcey <sellcey@mips.com>
30436
30437 * sysdeps/mips/preconfigure: Modify ABI tests.
30438
30439 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
30440
30441 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
30442
30443 2014-09-07 Roland McGrath <roland@hack.frob.com>
30444 Carlos O'Donell <carlos@systemhalted.org>
30445
30446 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
30447 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
30448 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
30449 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
30450 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
30451 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
30452 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
30453 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
30454 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
30455 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
30456 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
30457 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
30458 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
30459 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
30460 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
30461 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
30462 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
30463 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
30464 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
30465 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
30466 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
30467 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
30468 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
30469 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
30470 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
30471 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
30472 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
30473 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
30474 Deconditionalize the code that was previously under [RESET_PID].
30475 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
30476 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
30477 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
30478 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
30479 include sysdep.h.
30480
30481 2014-09-08 Allan McRae <allan@archlinux.org>
30482
30483 * version.h (RELEASE): Set to "development".
30484 (VERSION): Set to "2.20.90"
30485
30486 2014-09-07 Allan McRae <allan@archlinux.org
30487
30488 * version.h (RELEASE): Set to "stable".
30489 (VERSION): Set to "2.20"
30490 * include/features.h (__GLIBC_MINOR__): Set to 20.
30491
30492 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
30493 Liebler.
30494
30495 * po/ko.po: Update Korean translation from translation project.
30496
30497 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
30498
30499 [BZ #17354]
30500 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
30501 macro for handling signed relocations.
30502
30503 2014-09-03 Florian Weimer <fweimer@redhat.com>
30504
30505 [BZ #17325]
30506 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
30507 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
30508 assert.
30509 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
30510 * iconvdata/ibm935.c (BODY): Likewise.
30511 * iconvdata/ibm937.c (BODY): Likewise.
30512 * iconvdata/ibm939.c (BODY): Likewise.
30513 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
30514 assert.
30515 * iconvdata/Makefile (iconv-test.out): Pass module list to test
30516 script.
30517 * iconvdata/run-iconv-test.sh: New test loop for checking for
30518 decoder crashers.
30519
30520 2014-09-02 Khem Raj <raj.khem@gmail.com>
30521
30522 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
30523 libm_hidden_ver.
30524
30525 2014-09-01 Allan McRae <allan@archlinux.org>
30526
30527 * po/eo.po: Update Esperanto translation from translation project.
30528
30529 * po/ca.po: Update Catalan translation from translation project.
30530
30531 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
30532
30533 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
30534 __proc_dostop call.
30535
30536 2014-08-27 Mark Wielaard <mjw@redhat.com>
30537
30538 [BZ #17319]
30539 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
30540 to call set_thread_area instead of hand written asm.
30541 (__NR_set_thread_area): Removed define.
30542 (TLS_FLAG_WRITABLE): Likewise.
30543 (__ASSUME_SET_THREAD_AREA): Remove check.
30544 (TLS_EBX_ARG): Remove define.
30545 (TLS_LOAD_EBX): Likewise.
30546
30547 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
30548
30549 Simplify atomicity of socket creation in bind.
30550
30551 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
30552 looking up the name after linking the file.
30553
30554 2014-08-27 Allan McRae <allan@archlinux.org>
30555
30556 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
30557
30558 2014-08-26 Florian Weimer <fweimer@redhat.com>
30559
30560 [BZ #17187]
30561 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
30562 trans_compare, open_translit, __gconv_translit_find):
30563 Remove module loading code.
30564
30565 2014-08-26 Allan McRae <allan@archlinux.org>
30566
30567 * po/vi.po: Update Vietnamese translation from translation project.
30568
30569 * po/uk.po: Update Ukrainian translation from translation project.
30570
30571 * po/fr.po: Update French translation from translation project.
30572
30573 * po/ru.po: Update Russian translation from translation project.
30574
30575 * po/pl.po: Update Polish translation from translation project.
30576
30577 * po/cs.po: Update Czech translation from translation project.
30578
30579 * po/de.po: Update German translation from translation project.
30580
30581 * po/bg.po: Update Bulgarian translation from translation project.
30582
30583 * po/sv.po: Update Sweedish translation from translation project.
30584
30585 * po/nl.po: Update Dutch translation from translation project.
30586
30587 * po/es.po: Update Spanish translation from translation project.
30588
30589 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30590
30591 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
30592
30593 * catgets/Makefile (CPPFLAGS-gencat): Remove.
30594 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
30595 (CPPFLAGS-iconvconfig): Likewise.
30596 * timezone/Makefile (CPPFLAGS-zic): Likewise.
30597
30598 * include/libc-symbols.h: Remove unnecessary check for
30599 NOT_IN_libc.
30600 * nptl/pthreadP.h: Likewise.
30601 * sysdeps/aarch64/setjmp.S: Likewise.
30602 * sysdeps/alpha/setjmp.S: Likewise.
30603 * sysdeps/arm/sysdep.h: Likewise.
30604 * sysdeps/i386/setjmp.S: Likewise.
30605 * sysdeps/m68k/setjmp.c: Likewise.
30606 * sysdeps/posix/getcwd.c: Likewise.
30607 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
30608 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
30609 * sysdeps/s390/s390-32/setjmp.S: Likewise.
30610 * sysdeps/s390/s390-64/setjmp.S: Likewise.
30611 * sysdeps/sh/sh3/setjmp.S: Likewise.
30612 * sysdeps/sh/sh4/setjmp.S: Likewise.
30613 * sysdeps/unix/alpha/sysdep.h: Likewise.
30614 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
30615 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30616 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
30617 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
30618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
30619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30620 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30621 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30622 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30623 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30624 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30625 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
30626 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30627 * sysdeps/x86_64/setjmp.S: Likewise.
30628
30629 2014-08-13 Joseph Myers <joseph@codesourcery.com>
30630
30631 [BZ #17263]
30632 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
30633 <stdint.h>.
30634 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
30635 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
30636
30637 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
30638
30639 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
30640
30641 [BZ #17262]
30642 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
30643 and __x86_64__ when disabling x87 inline functions.
30644
30645 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
30646
30647 [BZ #17259]
30648 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
30649 asm statement with __cpuid_count.
30650
30651 2014-08-12 Mike Frysinger <vapier@gentoo.org>
30652
30653 * configure.ac: Change __ehdr_start code to dereference the struct.
30654 Run readelf on the output to look for relocations.
30655 * configure: Regenerated.
30656
30657 2014-08-12 Joseph Myers <joseph@codesourcery.com>
30658
30659 [BZ #17261]
30660 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
30661 value to 0.
30662 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
30663
30664 2014-08-12 Roland McGrath <roland@hack.frob.com>
30665
30666 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
30667
30668 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
30669
30670 [BZ #16892]
30671 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
30672 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
30673
30674 2014-08-12 Sean Anderson <seanga2@gmail.com>
30675
30676 * malloc/malloc.c: Fix typo in comment.
30677
30678 2014-08-09 Allan McRae <allan@archlinux.org>
30679
30680 * Regenerate libc.po.
30681
30682 2014-08-08 Mike Frysinger <vapier@gentoo.org>
30683
30684 * intl/tst-gettext2.sh: Check every lang file for creation.
30685
30686 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
30687
30688 * sysdeps/aarch64/fpu/math_private.h
30689 (libc_feholdsetround_noex_aarch64_ctx): New function.
30690
30691 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
30692
30693 * sysdeps/arm/armv6/strcpy.S (strcpy):
30694 Fix performance issue in misaligned cases.
30695
30696 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30697
30698 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
30699 Move definition from termios.h.
30700 (struct termio): Likewise.
30701 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
30702 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
30703 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
30704 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
30705 Likewise.
30706 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
30707 Move definition to ioctl-types.h
30708 (struct termio): Likewise.
30709 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
30710 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
30711 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
30712 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
30713 Likewise.
30714
30715 2014-08-05 Richard Henderson <rth@redhat.com>
30716
30717 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
30718 exceptions.
30719 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
30720 Add fraiseexcpt.
30721 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
30722 Use __feraiseexcept.
30723 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
30724 Protect libm symbols with IS_IN_libm.
30725
30726 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
30727
30728 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
30729
30730 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
30731
30732 2014-08-04 Will Newton <will.newton@linaro.org>
30733
30734 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
30735 file.
30736
30737 2014-08-04 Mike Frysinger <vapier@gentoo.org>
30738
30739 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
30740 variants for each function.
30741
30742 2014-08-04 Roland McGrath <roland@hack.frob.com>
30743
30744 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
30745 appended ...
30746 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
30747 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
30748 appended ...
30749 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
30750 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
30751 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
30752 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
30753 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
30754 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
30755 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
30756 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
30757 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
30758 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
30759 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
30760 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
30761 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
30762 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
30763 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
30764 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
30765 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
30766 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
30767 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
30768 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
30769 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
30770 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
30771 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
30772 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
30773 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
30774 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
30775 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
30776 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
30777 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
30778 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
30779 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
30780 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
30781 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
30782 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
30783 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
30784 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
30785 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
30786 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
30787 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
30788 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
30789 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
30790 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
30791 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
30792 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
30793 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
30794 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
30795 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
30796 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
30797 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
30798 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
30799 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
30800 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
30801 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
30802 Update #include.
30803 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
30804 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
30805
30806 2014-08-04 Roland McGrath <roland@hack.frob.com>
30807
30808 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
30809 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
30810 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
30811 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
30812 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
30813 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
30814
30815 2014-08-04 Roland McGrath <roland@hack.frob.com>
30816
30817 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
30818 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
30819 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30820 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
30821
30822 2014-08-04 Roland McGrath <roland@hack.frob.com>
30823
30824 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
30825 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
30826 (__libc_vfork): Define function under this name.
30827 (__vfork): Define as an alias.
30828 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
30829 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
30830
30831 2014-08-04 Roland McGrath <roland@hack.frob.com>
30832
30833 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
30834 that was previously under [RESET_PID].
30835 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
30836
30837 2014-08-04 Andreas Schwab <schwab@suse.de>
30838
30839 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
30840
30841 2014-08-03 Mike Frysinger <vapier@gentoo.org>
30842
30843 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
30844 (main): Likewise.
30845
30846 2014-08-01 Roland McGrath <roland@hack.frob.com>
30847
30848 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
30849
30850 2014-08-01 Richard Henderon <rth@redhat.com>
30851
30852 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
30853 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
30854 typo in exact zero test.
30855 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30856 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30857 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30858
30859 2014-08-01 Roland McGrath <roland@hack.frob.com>
30860
30861 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
30862 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
30863 * sysdeps/arm/sysdep.h: ... here.
30864 [!__ASSEMBLER__]: Include <stdint.h>.
30865
30866 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
30867
30868 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
30869 (HAVE_WCTYPE_H): Likewise.
30870 (HAVE_ISWCTYPE): Likewise.
30871 (ENABLE_NLS): Likewise.
30872 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
30873 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
30874
30875 * posix/regex_internal.c: Check if DEBUG is defined and is
30876 set.
30877
30878 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
30879 (HAVE_MBSRTOWCS): Likewise.
30880 * posix/fnmatch.c: Include string.h unconditionally.
30881
30882 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
30883
30884 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
30885 reversal.
30886
30887 2014-07-31 Roland McGrath <roland@hack.frob.com>
30888
30889 * sysdeps/generic/safe-fatal.h: New file.
30890 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
30891 * nptl/forward.c: Include it.
30892 (__pthread_unwind): Use __safe_fatal as default action, rather
30893 than a bogus use of INTERNAL_SYSCALL that could never work.
30894
30895 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
30896 * configure.ac (libc_cv_builtin_trap): New test.
30897 * configure: Regenerated.
30898 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
30899 (ABORT_INSTRUCTION): Define using __builtin_trap.
30900
30901 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
30902 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
30903 * sysdeps/nptl/nptl-signals.h: New file.
30904 * nptl/pthreadP.h: Include <nptl-signals.h>.
30905
30906 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
30907
30908 * sysdeps/s390/s390-64/utf16-utf32-z9.c
30909 (ONE_DIRECTION): Define.
30910 * sysdeps/s390/s390-64/utf8-utf16-z9.c
30911 (ONE_DIRECTION): Define.
30912 * sysdeps/s390/s390-64/utf8-utf32-z9.c
30913 (ONE_DIRECTION): Define.
30914
30915 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
30916
30917 * sysdeps/s390/Makefile: Delete file.
30918 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
30919 * sysdeps/s390/__longjmp.c: Delete file.
30920 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
30921 Remove fields __flags and __reserved.
30922 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
30923 and add versioning.
30924 * sysdeps/s390/rtld-__longjmp.c: Delete file.
30925 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
30926 * sysdeps/s390/rtld-setjmp.S: Likewise.
30927 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
30928 * sysdeps/s390/s390-32/__longjmp.c: ... here.
30929 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
30930 * sysdeps/s390/s390-32/setjmp.S: ... here.
30931 Add versioning.
30932 (__sigsetjmp): Remove setting __flags field.
30933 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
30934 * sysdeps/s390/s390-64/__longjmp.c: ... here.
30935 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
30936 * sysdeps/s390/s390-64/setjmp.S: ... here.
30937 Add versioning.
30938 (__sigsetjmp): Remove setting __flags field.
30939 * sysdeps/s390/setjmp.S: Delete file.
30940 * sysdeps/s390/sigjmp.c: Likewise.
30941 * sysdeps/s390/v1-longjmp.c: Likewise.
30942 * sysdeps/s390/v1-setjmp.h: Likewise.
30943 * sysdeps/s390/v1-sigjmp.c: Likewise.
30944 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
30945 Remove v1-longjmp_chk.
30946 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
30947 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
30948 Include debug/longjmp_chk.c and add versioning.
30949 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
30950 Include nptl/pt-longjmp.c and add versioning.
30951 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
30952 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
30953 Include __longjmp.c.
30954 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
30955 Move to ...
30956 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
30957 (__getcontext): Remove setting __flags field.
30958 Add versioning.
30959 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
30960 Don't restore upper high grps.
30961 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
30962 Likewise.
30963 (__swapcontext): Remove setting uc_flags field.
30964 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
30965 Delete file.
30966 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
30967 Include __longjmp.c.
30968 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
30969 Move to ...
30970 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
30971 (__getcontext): Remove setting __flags field.
30972 Add versioning.
30973 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
30974 (__swapcontext): Remove setting uc_flags field.
30975 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
30976 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
30977 Remove fields uc_high_gprs and __reserved.
30978 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
30979 New file with reverted content.
30980 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
30981 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
30982 Regenerated.
30983 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
30984 Regenerated.
30985
30986 2014-07-31 Andreas Schwab <schwab@suse.de>
30987
30988 * config.h.in (HAVE_IFUNC): Define to 0.
30989 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
30990 definedness.
30991
30992 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
30993
30994 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30995 memmove-avx-unaligned, memcpy-avx-unaligned and
30996 mempcpy-avx-unaligned.
30997 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30998 Add tests for AVX memcpy functions.
30999 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
31000 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
31001 memcpy_chk.
31002 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
31003 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
31004 memmove_chk.
31005 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
31006 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
31007 mempcpy_chk.
31008 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
31009 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
31010 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
31011
31012 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31013
31014 [BZ #17213]
31015 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
31016 powerpc64le.
31017
31018 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
31019
31020 [BZ #16839]
31021 * manual/llio.texi: Add section about open file description locks.
31022 * manual/examples/ofdlocks.c: Example of open file description
31023 lock usage.
31024 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
31025 F_OFD_SETLK, and F_OFD_SETLKW.
31026
31027 2014-07-23 Allan McRae <allan@archlinux.org>
31028
31029 * po/es.po: Update Spanish translation from translation project.
31030
31031 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
31032
31033 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
31034
31035 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
31036
31037 [BZ #17078]
31038 * sysdeps/arm/dl-machine.h (elf_machine_rela)
31039 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
31040 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
31041
31042 2014-07-17 Joseph Myers <joseph@codesourcery.com>
31043
31044 [BZ #17088]
31045 * math/fesetenv.c (__fesetenv)
31046 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
31047 * math/feupdateenv.c (__feupdateenv)
31048 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
31049
31050 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
31051 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
31052 (__ASSUME_SOCKETCALL): Do not define.
31053
31054 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
31055 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
31056 (__ASSUME_SOCKETCALL): Do not define.
31057 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
31058 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
31059 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
31060 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
31061 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
31062 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
31063 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
31064 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31065
31066 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
31067 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
31068 (__ASSUME_SOCKETCALL): Do not define.
31069 (__ASSUME_IPC64): Define unconditionally.
31070 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
31071 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
31072 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
31073 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
31074 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
31075 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
31076 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
31077 Likewise.
31078
31079 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
31080 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
31081 (__ASSUME_SOCKETCALL): Do not define.
31082 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
31083 (__ASSUME_FUTEX_LOCK_PI): Likewise.
31084 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
31085 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
31086 (__ASSUME_REQUEUE_PI): Define unconditionally.
31087 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
31088 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
31089 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31090 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
31091 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
31092 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31093
31094 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
31095 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
31096 (__ASSUME_SOCKETCALL): Do not define.
31097 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
31098 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
31099 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31100 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
31101 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
31102 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31103
31104 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
31105 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
31106 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
31107 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
31108 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
31109 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
31110 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
31111 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
31112 (__ASSUME_GETCPU_SYSCALL): Likewise.
31113
31114 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
31115 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
31116 cases for individual architectures.
31117 * sysdeps/gnu/configure: Regenerated.
31118 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
31119 LIBC_SLIBDIR_RTLDDIR.
31120 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
31121 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
31122 LIBC_SLIBDIR_RTLDDIR.
31123 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
31124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
31125 LIBC_SLIBDIR_RTLDDIR.
31126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
31127 Regenerated.
31128 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
31129 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
31130 file.
31131 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
31132 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
31133 file.
31134 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
31135 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
31136 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
31137 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
31138
31139 * sysdeps/aarch64/shlib-versions: Move to ...
31140 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
31141 * sysdeps/alpha/shlib-versions: Move to ...
31142 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
31143 * sysdeps/arm/shlib-versions: Move to ...
31144 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
31145 * sysdeps/hppa/shlib-versions: Move all contents except for
31146 libgcc_s entry to ...
31147 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
31148 entry from ...
31149 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
31150 * sysdeps/ia64/shlib-versions: Move to ...
31151 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
31152 entry from ...
31153 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
31154 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
31155 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
31156 * sysdeps/microblaze/shlib-versions: Move to ...
31157 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
31158 * sysdeps/mips/shlib-versions: Move to ...
31159 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
31160 entry from ...
31161 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
31162 * sysdeps/tile/shlib-versions: Move to ...
31163 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
31164 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
31165 from ...
31166 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
31167 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
31168 entry from ...
31169 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
31170
31171 2014-07-17 Will Newton <will.newton@linaro.org>
31172
31173 * sysdeps/arm/bits/atomic.h
31174 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
31175 (__arch_compare_and_exchange_bool_16_int): Likewise.
31176 (__arch_compare_and_exchange_bool_64_int): Likewise.
31177
31178 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
31179 into an #else block.
31180
31181 2014-07-16 Roland McGrath <roland@hack.frob.com>
31182
31183 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
31184 just Linux configurations. Test empirically that the compiler sets
31185 __ARM_EABI__, rather than using the tuple to decide.
31186 * sysdeps/arm/preconfigure: Regenerated.
31187 * sysdeps/unix/sysv/linux/arm/configure: File removed.
31188 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
31189 contents appended ...
31190 * sysdeps/arm/configure.ac: ... here.
31191 * sysdeps/arm/configure: Regenerated.
31192
31193 2014-07-15 Roland McGrath <roland@hack.frob.com>
31194
31195 * nptl/pthread_kill.c: New file.
31196 * nptl/pthread_sigmask.c: New file.
31197 * nptl/pthread_sigqueue.c: New file.
31198
31199 * sysdeps/nptl/lowlevellock.h: New file.
31200 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
31201 * sysdeps/nptl/lowlevellock-futex.h: New file.
31202
31203 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
31204 Remove dead declarations.
31205
31206 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
31207
31208 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
31209 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
31210 config-cflags-avx2.
31211 * sysdeps/x86_64/configure.ac: Likewise.
31212 * sysdeps/i386/configure: Regenerated.
31213 * sysdeps/x86_64/configure: Likewise.
31214 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31215 memset-avx2 only if config-cflags-avx2 is yes.
31216 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31217 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
31218 defined.
31219 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
31220 only if HAVE_AVX2_SUPPORT is defined.
31221 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31222
31223 2014-07-14 Alan Modra <amodra@gmail.com>
31224
31225 [BZ #17153]
31226 * elf/elf.h (DT_PPC64_NUM): Correct value.
31227 * NEWS: Add to fixed bug list.
31228
31229 2014-07-13 Jim Meyering <meyering@fb.com>
31230
31231 [BZ 17150]
31232 regex: don't deref NULL upon heap allocation failure
31233 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
31234 failure in one more place.
31235 To trigger the segfault, configure grep -with-included-regex,
31236 build it, and run these commands:
31237 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
31238
31239 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
31240
31241 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
31242
31243 2014-07-11 Richard Henderson <rth@redhat.com>
31244
31245 * sysdeps/aarch64/libm-test-ulps: Update.
31246
31247 2014-07-10 Florian Weimer <fweimer@redhat.com>
31248
31249 [BZ #17135]
31250 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
31251 * nptl/allocatestack.c (__nptl_setxid_error): New function.
31252 (__nptl_setxid): Initialize error member. Call
31253 __nptl_setxid_error.
31254 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
31255 * nptl/descr.h (struct xid_command): Add error member.
31256 * nptl/tst-setuid3.c: New file.
31257 * nptl/Makefile (tests): Add it.
31258
31259 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31260
31261 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
31262 New define.
31263 (__lll_trylock): Use __lll_base_trylock.
31264 (__lll_cond_trylock): Likewise.
31265
31266 2014-07-10 Roland McGrath <roland@hack.frob.com>
31267
31268 * nptl/pthread_create.c (start_thread): Use atomic_or and
31269 lll_futex_wake directly rather than lll_robust_dead.
31270 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
31271 (lll_robust_dead): Macro removed.
31272 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
31273 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
31274 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
31275 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
31276 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
31277 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
31278 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
31279 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
31280 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
31281 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
31282 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
31283 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
31284 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
31285 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
31286 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
31287
31288 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
31289 Use atomic_compare_and_exchange_val_acq directly rather than
31290 lll_robust_trylock.
31291 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
31292 (__lll_robust_trylock, lll_robust_trylock): Removed.
31293 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
31294 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
31295 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
31296 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
31297 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
31298 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
31299 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
31300 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
31301 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
31302 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
31303 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
31304 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
31305 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
31306 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
31307
31308 2014-07-02 Florian Weimer <fweimer@redhat.com>
31309
31310 * manual/locale.texi (Locale Names): New section documenting
31311 locale name syntax. Adjust menu and node chaining accordingly.
31312 (Choosing Locale): Reference Locale Names, Locale Categories.
31313 Mention setting LC_ALL=C. Reflect that name syntax is now
31314 documented.
31315 (Locale Categories): New section title. Reference Locale Names.
31316 LC_ALL is an environment variable, but not a category.
31317 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
31318 description, now in Locale Name. Reference that section. Locale
31319 name syntax is now documented.
31320
31321 2014-07-02 Florian Weimer <fweimer@redhat.com>
31322
31323 [BZ #17137]
31324 * locale/findlocale.c (name_present, valid_locale_name): New
31325 functions.
31326 (_nl_find_locale): Use the loc_name variable to store name
31327 candidates. Call name_present and valid_locale_name to check and
31328 validate locale names. Return an error if the locale is invalid.
31329
31330 2014-07-02 Florian Weimer <fweimer@redhat.com>
31331
31332 * locale/setlocale.c (setlocale): Use strdup for allocating
31333 composite name copy.
31334
31335 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31336
31337 Sync up with gnulib.
31338 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
31339 [!_LIBC && ENABLE_NLS]: Include gettext.h.
31340 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
31341 and _GL_ARG_NONNULL.
31342 [USE_UNLOCKED_IO]: Include unlocked-io.h.
31343 [!_LIBC]: Include code for Windows and Cygwin.
31344 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
31345 Include prototype for int strerror_r.
31346 [!_LIBC] (is_open): New function.
31347 (flush_stdout): New function.
31348 (print_errno_message): Use it.
31349 (error): Likewise.
31350 (error_at_line): Likewise.
31351 (error_tail) Add function attribute macros. Use
31352 __builtin_expect.
31353
31354 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
31355
31356 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
31357
31358 * io/ftw.c: Include sys/param.h unconditionally.
31359
31360 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
31361
31362 [BZ #17125]
31363 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
31364 libc_freeres_ptr.
31365 (freecache): New function to free CACHE on exit.
31366
31367 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
31368 initialization.
31369
31370 2014-07-09 David S. Miller <davem@davemloft.net>
31371
31372 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31373
31374 * sysdeps/sparc/nptl/internaltypes.h: Delete.
31375 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
31376 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
31377 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
31378 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
31379 * sysdeps/sparc/nptl/sem_init.c: Likewise.
31380 * sysdeps/sparc/nptl/sem_post.c: Likewise.
31381 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
31382 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
31383 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
31384 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
31385 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
31386 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
31387
31388 2014-07-09 Andreas Schwab <schwab@suse.de>
31389
31390 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
31391 output.
31392 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
31393 (do_test): Likewise.
31394
31395 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
31396
31397 2014-07-09 Will Newton <will.newton@linaro.org>
31398
31399 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
31400 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
31401 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
31402 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
31403 * sysdeps/hppa/start.S (_start): Likewise.
31404
31405 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
31406
31407 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
31408
31409 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
31410 defined.
31411
31412 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
31413
31414 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
31415 after checking that it is non-NULL.
31416
31417 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
31418
31419 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31420
31421 * sysdeps/powerpc/memmove.c: Remove file.
31422 * sysdeps/powerpc/powerpc32/power4/memcopy.h
31423 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
31424 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
31425 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
31426 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
31427 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
31428 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
31429 string memmove instead of removed powerpc one.
31430
31431 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
31432 [weak_alias]: Fix compiler warning due trailing data.
31433 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
31434 [weak_alias]: Likewise.
31435 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
31436 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
31437
31438 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
31439 (__libc_ifunc_impl_list): Add memmove functions.
31440
31441 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
31442
31443 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
31444 Remove code.
31445 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
31446 Likewise.
31447 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
31448 Likewise.
31449 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
31450 Likewise.
31451 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
31452 Likewise.
31453 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
31454 Likewise.
31455 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
31456 Likewise.
31457 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
31458 Likewise.
31459 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
31460 Likewise.
31461 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
31462 Likewise.
31463 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
31464 Likewise.
31465 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
31466 Likewise.
31467 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
31468 Likewise.
31469 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
31470 Likewise.
31471 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
31472 Likewise.
31473 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
31474 Likewise.
31475 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
31476 Likewise.
31477
31478 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31479
31480 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
31481 to avoid alignment traps in non-cacheable memory.
31482 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
31483
31484 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
31485 multiarch objects.
31486 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
31487 file: multiarch power7 memmove.
31488 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
31489 multiarch default memmove.
31490 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
31491 multiarch memove for powerpc32/power4.
31492
31493 * string/bcopy.c: Use full path to include memmove.c.
31494 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
31495 multiarch objects.
31496 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
31497 bcopy for powerpc64.
31498 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
31499 bcopy for powerpc64.
31500 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
31501 and memmove implementations.
31502 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
31503 optimized multiarch memmove for POWER7/powerpc64.
31504 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
31505 default multiarch memmove for powerpc64.
31506 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
31507 multiarch for powerpc64.
31508 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
31509 for POWER7/powerpc64.
31510 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
31511 memmove for POWER7/powerpc64.
31512
31513 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
31514 glibc default one.
31515
31516 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
31517 __ELF_NATIVE_CLASS equal to 64.
31518
31519 2014-07-07 Roland McGrath <roland@hack.frob.com>
31520
31521 * sysdeps/nptl/lowlevellock.h: File removed.
31522
31523 * NEWS: NPTL is no longer an add-on!
31524 * nptl/internaltypes.h: Moved ...
31525 * sysdeps/nptl/internaltypes.h: ... here.
31526 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
31527 * sysdeps/nptl/fork.c: Likewise.
31528 * sysdeps/nptl/gai_misc.h: Likewise.
31529 * sysdeps/nptl/librt-cancellation.c: Likewise.
31530 * sysdeps/nptl/jmp-unwind.c: Likewise.
31531 * sysdeps/nptl/setxid.h: Likewise.
31532 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
31533 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
31534 * sysdeps/unix/sysv/linux/arm/Implies: New file.
31535 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
31536 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
31537 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
31538 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
31539 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
31540 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
31541 * sysdeps/unix/sysv/linux/mips/Implies: New file.
31542 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
31543 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
31544 * sysdeps/unix/sysv/linux/sh/Implies: New file.
31545 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
31546 * sysdeps/unix/sysv/linux/tile/Implies: New file.
31547 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
31548 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
31549 * nptl/Makeconfig: Moved ...
31550 * sysdeps/nptl/Makeconfig: ... here.
31551 * nptl/configure: File removed.
31552 * nptl/ANNOUNCE: File removed.
31553 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
31554 * sysdeps/unix/sysv/linux/configure: Regenerated.
31555
31556 * nptl/Makefile (routines): Add libc_pthread_init,
31557 libc_multiple_threads, register-atfork and unregister-atfork.
31558 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
31559 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
31560 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
31561 pthread-pi-defines.sym, structsem.sym.
31562 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
31563 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
31564 [$(subdir) = nptl] (tests): Add tst-setgetname.
31565 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
31566 * sysdeps/unix/sysv/linux/sigaction.c: Just include
31567 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
31568 [!LIBC_SIGACTION]: Remove aliases.
31569 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
31570 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
31571 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
31572 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
31573 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
31574 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
31575 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31576 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31577 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
31578 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
31579 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
31580 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
31581 __libc_allocate_rtsig_private.
31582 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
31583 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
31584 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
31585 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
31586 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
31587 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
31588 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
31589 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
31590 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
31591 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
31592 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
31593 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
31594 * nptl/internaltypes.h: ... here.
31595 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
31596 * sysdeps/nptl/jmp-unwind.c: ... here.
31597 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
31598 * nptl/libc-lowlevellock.c: ... here.
31599 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
31600 * nptl/libc_multiple_threads.c: ... here.
31601 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
31602 * nptl/libc_pthread_init.c: ... here.
31603 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
31604 * nptl/lowlevelbarrier.sym: ... here.
31605 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
31606 * nptl/lowlevelcond.sym: ... here.
31607 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
31608 * nptl/lowlevellock.c: ... here.
31609 * nptl/lowlevellock.h: Moved ...
31610 * sysdeps/nptl/lowlevellock.h: ... here.
31611 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
31612 * nptl/lowlevelrobustlock.c: ... here.
31613 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
31614 * nptl/lowlevelrobustlock.sym: ... here.
31615 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
31616 * nptl/lowlevelrwlock.sym: ... here.
31617 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
31618 * nptl/pt-fork.c: ... here.
31619 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
31620 * nptl/pthread-pi-defines.sym: ... here.
31621 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
31622 * nptl/pthread_attr_getaffinity.c: ... here.
31623 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
31624 * nptl/pthread_attr_setaffinity.c: ... here.
31625 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
31626 * nptl/pthread_mutex_cond_lock.c: ... here.
31627 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
31628 Update #include.
31629 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
31630 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
31631 * nptl/pthread_once.c: ... here, replacing old file.
31632 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
31633 * nptl/pthread_yield.c: ... here.
31634 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
31635 * nptl/register-atfork.c: ... here.
31636 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
31637 * nptl/sem_post.c: ... here.
31638 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
31639 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
31640 * nptl/sem_timedwait.c: ... here.
31641 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
31642 * nptl/sem_trywait.c: ... here.
31643 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
31644 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
31645 * nptl/sem_wait.c: ... here.
31646 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
31647 * nptl/structsem.sym: ... here.
31648 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
31649 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
31650 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
31651 * nptl/unregister-atfork.c: ... here.
31652 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
31653 * nptl/unwindbuf.sym: ... here.
31654 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
31655 * sysdeps/nptl/fork.c: ... here.
31656 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
31657 * sysdeps/nptl/fork.h: ... here.
31658 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
31659 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
31660 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
31661 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
31662 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
31663 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
31664 * sysdeps/unix/sysv/linux/getpid.c: ... here.
31665 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
31666 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
31667 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
31668 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
31669 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
31670 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
31671 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
31672 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
31673 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
31674 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
31675 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
31676 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
31677 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
31678 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
31679 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
31680 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
31681 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
31682 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
31683 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
31684 * sysdeps/unix/sysv/linux/raise.c: ... here.
31685 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
31686 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
31687 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
31688 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
31689 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
31690 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
31691 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
31692 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
31693 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
31694 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
31695 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
31696 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
31697 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
31698 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
31699 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
31700
31701 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31702
31703 * sysdeps/generic/memcopy.h: Add comment for
31704 MEMCPY_OK_FOR_FWD_MEMMOVE.
31705
31706 2014-07-04 Will Newton <will.newton@linaro.org>
31707
31708 * string/memchr.c: Merge from gnulib.
31709 [_LIBC]: Remove conditionals.
31710 (__ptr_t): Remove define.
31711 (LONG_MAX_32_BITS): Likewise.
31712 (LONG_MAX): Likewise.
31713 (MEMCHR): Use ANSI prototype and optimize algorithm.
31714
31715 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
31716
31717 2014-07-03 Roland McGrath <roland@hack.frob.com>
31718
31719 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
31720 (lll_futex_timed_wait_bitset): Fix syscall argument count.
31721
31722 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
31723 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
31724 in a bare environment with no <stdlib.h> installed.
31725 * sysdeps/nptl/configure: Regenerated.
31726
31727 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
31728
31729 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
31730 AC_EGREP_CPP for kernel header checks, so they only succeed if
31731 including <linux/version.h> actually works right.
31732 * sysdeps/unix/sysv/linux/configure: Regenerated.
31733
31734 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
31735 value so it's not diagnosed as unused.
31736
31737 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
31738 thing) with "ifeq ($(subdir),rt)".
31739
31740 2014-07-03 Richard Henderson <rth@redhat.com>
31741
31742 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
31743 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
31744 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
31745
31746 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
31747 (math_force_eval): New.
31748
31749 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
31750 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
31751
31752 * sysdeps/alpha/fpu/s_round.c: Remove file.
31753 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
31754
31755 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
31756 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
31757 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
31758 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
31759 (_dl_start, print_statistics): Likewise.
31760 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
31761 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
31762
31763 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31764 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31765 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31766 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31767 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
31768 (HP_SMALL_TIMING_AVAIL): Define.
31769 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31770 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
31771 (HP_SMALL_TIMING_AVAIL): Define.
31772 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31773 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31774
31775 * sysdeps/aarch64/hp-timing.h: New file.
31776
31777 * sysdeps/generic/hp-timing.h: Remove dead comment.
31778 * sysdeps/generic/hp-timing-common.h: New file.
31779 * sysdeps/alpha/hp-timing.h: Include it.
31780 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
31781 * sysdeps/i386/i686/hp-timing.h: Likewise.
31782 * sysdeps/ia64/hp-timing.h: Likewise.
31783 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
31784 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
31785 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
31786 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
31787 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
31788 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
31789 (hp_timing_t): New.
31790
31791 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
31792 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
31793 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
31794 * elf/rtld.c (_dl_start_final): Likewise.
31795 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
31796 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31797 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31798 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31799 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31800 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
31801 (HP_TIMING_DIFF_INIT): Remove.
31802 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31803 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
31804 (HP_TIMING_DIFF_INIT): Remove.
31805 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31806 * sysdeps/i386/i686/hp-timing.c: Remove file.
31807 * sysdeps/x86_64/hp-timing.c: Remove file.
31808 * sysdeps/ia64/hp-timing.c: Remove file.
31809 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
31810 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
31811 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
31812 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
31813
31814 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
31815 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
31816 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
31817 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
31818 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
31819 (HP_TIMING_ACCUM): Remove.
31820 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
31821 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
31822 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
31823
31824 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
31825 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
31826 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
31827 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
31828 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
31829 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
31830 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
31831 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
31832
31833 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
31834
31835 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
31836
31837 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
31838
31839 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
31840
31841 Sync up with gettext.
31842 * intl/loadmsgcat.c: Define O_BINARY if not defined.
31843 [_MSC_VER]: Include malloc.h
31844 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
31845 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
31846 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
31847 TEMP_FAILURE_RETRY. Cast return of alloca.
31848 [!_LIBC] Call gl_rwlock_init.
31849 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
31850
31851 2014-07-02 Roland McGrath <roland@hack.frob.com>
31852
31853 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
31854 before checking its value.
31855
31856 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
31857
31858 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
31859
31860 * debug/memcpy_chk.c: Don't include pagecopy.h.
31861 * debug/mempcpy_chk.c: Likewise.
31862 * string/memcpy.c: Likewise.
31863 * string/memmove.c: Likewise.
31864 * sysdeps/powerpc/memmove.c: Likewise.
31865 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
31866 definition of PAGE_COPY_FWD_MAYBE here...
31867 * sysdeps/generic/pagecopy.h: ... from here.
31868 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
31869
31870 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
31871 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31872
31873 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
31874 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
31875 optimizations.
31876 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31877 (__libc_ifunc_impl_list): Likewise.
31878 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
31879 multiarch strcat for PPC64.
31880 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
31881 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
31882
31883 2014-07-02 Roland McGrath <roland@hack.frob.com>
31884
31885 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
31886
31887 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
31888
31889 * intl/loadmsgcat.c: Remove declaration of
31890 get_sysdep_segment_value.
31891 (get_sysdep_segment_value): Use ISO C style.
31892 (_nl_load_domain): Use ISO C style. Get rid of redundant
31893 semicolon. Fix typo and formatting in comment.
31894 (_nl_unload_domain): Use ISO C style.
31895
31896 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
31897
31898 2014-07-02 Will Newton <will.newton@linaro.org>
31899
31900 * malloc/obstack.c: Merge from gnulib master.
31901 [HAVE_CONFIG_H]: Remove conditional code.
31902 [!_LIBC]: Include config.h.
31903 [!ELIDE_CODE]: Don't include inttypes.h, include
31904 stdint.h unconditionally.
31905 (print_and_abort): Mark as _Noreturn.
31906 (_obstack_allocated_p): Mark as __attribute_pure__.
31907 (obstack_free): Rename to __obstack_free.
31908 [!__attribute__]: Remove conditional code.
31909 * malloc/obstack.h: Merge from gnulib master.
31910 [__cplusplus]: Move conditional down.
31911 [!__attribute_pure__]: Define __attribute_pure__ here
31912 if it is not already defined.
31913 (_obstack_memory_used): Mark as __attribute_pure__.
31914 [!__obstack_free]: Define as obstack_free.
31915 [__GNUC__]: Remove check for ancient NeXT gcc.
31916
31917 2014-07-02 Will Newton <will.newton@linaro.org>
31918 Paul Eggert <eggert@cs.ucla.edu>
31919
31920 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
31921
31922 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
31923
31924 * resolv/gethnamaddr.c: Add comment warning that the file is
31925 not maintained.
31926
31927 2014-07-01 Carlos O'Donell <carlos@redhat.com>
31928
31929 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
31930 entries.
31931
31932 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
31933 entry for aio_cancel and aio_cancel64.
31934 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
31935 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
31936 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
31937 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
31938 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
31939 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
31940 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
31941 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
31942 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
31943 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
31944 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
31945 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
31946 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
31947
31948 2014-07-01 Roland McGrath <roland@hack.frob.com>
31949
31950 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
31951 * nptl/pthread_mutex_lock.c: Likewise.
31952 * nptl/pthread_mutex_timedlock.c: Likewise.
31953 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
31954
31955 2014-07-01 Richard henderson <rth@redhat.com>
31956
31957 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
31958 (__isnan, __isnanl): Remove.
31959 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
31960
31961 * sysdeps/alpha/fpu/libm-test-ulps: Update.
31962
31963 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
31964
31965 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
31966
31967 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
31968
31969 * resolv/nss_dns/dns-host.c (getanswer_r)
31970 [MULTI_PTRS_ARE_ALIASES]: Remove code.
31971
31972 2014-07-01 Joseph Myers <joseph@codesourcery.com>
31973
31974 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31975 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
31976 undefine.
31977 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
31978 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
31979
31980 2014-07-01 Roland McGrath <roland@hack.frob.com>
31981
31982 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
31983 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
31984
31985 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
31986 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
31987
31988 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
31989 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
31990 ... here.
31991 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
31992 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
31993
31994 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
31995 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
31996 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
31997 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
31998
31999 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
32000 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
32001 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
32002 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
32003 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
32004 Moved ...
32005 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
32006 ... here.
32007 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
32008 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
32009 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
32010 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
32011 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
32012 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
32013 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
32014 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
32015 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
32016 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
32017 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
32018 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
32019 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
32020 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
32021 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
32022 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
32023 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
32024 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
32025 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
32026 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
32027 ... here.
32028 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
32029 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
32030 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
32031 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
32032 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
32033 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
32034 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
32035 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
32036
32037 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
32038
32039 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
32040 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
32041 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
32042 Add sysdep.
32043
32044 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32045
32046 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32047
32048 2014-06-30 Joseph Myers <joseph@codesourcery.com>
32049
32050 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
32051 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
32052
32053 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
32054
32055 * sysdeps/arm/libm-test-ulps: Regenerated.
32056
32057 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
32058 Roland McGrath <roland@hack.frob.com>
32059
32060 * test-skeleton.c (signal_handler): Kill the whole process group
32061 before killing the child individually.
32062 (main): Report any failure on `setpgid'.
32063
32064 2014-06-30 Roland McGrath <roland@hack.frob.com>
32065
32066 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
32067 from _TLS_H to _ARM_NPTL_TLS_H.
32068 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
32069 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
32070
32071 2014-06-30 Joseph Myers <joseph@codesourcery.com>
32072
32073 [BZ #16539]
32074 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
32075 (__expm1l): Return argument unchanged when small but not
32076 subnormal.
32077
32078 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
32079 include macro name.
32080 (_FP_UNPACK_RAW_1_P): Likewise.
32081 (_FP_PACK_RAW_1): Likewise.
32082 (_FP_PACK_RAW_1_P): Likewise.
32083 (_FP_MUL_MEAT_1_wide): Likewise.
32084 (_FP_MUL_MEAT_DW_1_hard): Likewise.
32085 (_FP_MUL_MEAT_1_hard): Likewise.
32086 (_FP_DIV_MEAT_1_imm): Likewise.
32087 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
32088 (_FP_DIV_MEAT_1_udiv): Likewise.
32089 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
32090 (_FP_UNPACK_RAW_2): Likewise.
32091 (_FP_UNPACK_RAW_2_P): Likewise.
32092 (_FP_PACK_RAW_2): Likewise.
32093 (_FP_PACK_RAW_2_P): Likewise.
32094 (_FP_MUL_MEAT_DW_2_wide): Likewise.
32095 (_FP_MUL_MEAT_2_wide): Likewise.
32096 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
32097 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
32098 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
32099 (_FP_MUL_MEAT_2_gmp): Likewise.
32100 (_FP_DIV_MEAT_2_udiv): Likewise.
32101 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
32102 (_FP_FRAC_SRL_4): Likewise.
32103 (_FP_FRAC_SRST_4): Likewise.
32104 (_FP_FRAC_SRS_4): Likewise.
32105 (_FP_UNPACK_RAW_4): Likewise.
32106 (_FP_UNPACK_RAW_4_P): Likewise.
32107 (_FP_PACK_RAW_4): Likewise.
32108 (_FP_PACK_RAW_4_P): Likewise.
32109 (_FP_MUL_MEAT_DW_4_wide): Likewise.
32110 (_FP_MUL_MEAT_4_wide): Likewise.
32111 (_FP_MUL_MEAT_4_gmp): Likewise.
32112 (umul_ppppmnnn): Likewise.
32113 (_FP_DIV_MEAT_4_udiv): Likewise.
32114 (__FP_FRAC_ADD_4): Likewise.
32115 (__FP_FRAC_SUB_3): Likewise.
32116 (__FP_FRAC_SUB_4): Likewise.
32117 (__FP_FRAC_DEC_3): Likewise.
32118 (__FP_FRAC_DEC_4): Likewise.
32119 (__FP_FRAC_ADDI_4): Likewise.
32120 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
32121 (_FP_FRAC_SRL_8): Likewise.
32122 (_FP_FRAC_SRS_8): Likewise.
32123
32124 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
32125 include macro name.
32126 (FP_UNPACK_RAW_EP): Likewise.
32127 (FP_PACK_RAW_E): Likewise.
32128 (FP_PACK_RAW_EP): Likewise.
32129 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
32130 (_FP_ISSIGNAN): Likewise.
32131 (_FP_ADD_INTERNAL): Likewise.
32132 (_FP_FMA): Likewise.
32133 (_FP_CMP): Likewise.
32134 (_FP_SQRT): Likewise.
32135 (_FP_TO_INT): Likewise.
32136 (_FP_FROM_INT): Likewise.
32137 (FP_EXTEND): Likewise.
32138 (_FP_DIV_MEAT_N_loop): Likewise.
32139
32140 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
32141
32142 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
32143 throughout.
32144
32145 2014-06-29 Joseph Myers <joseph@codesourcery.com>
32146
32147 [BZ #17097]
32148 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
32149 result with correct sign in case of exponents that produce
32150 overflow except for X very close to 1.
32151
32152 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
32153
32154 mktime: merge #if/#ifdef usage from glibc
32155 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
32156 as that works with both Glibc's and Gnulib's style.
32157 See thread starting at Siddhesh Poyarekar's bug report at:
32158 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
32159
32160 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32161
32162 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
32163 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
32164 * sysdeps/tile/tilegx/memmove.c: Remove file.
32165
32166 2014-06-27 Joseph Myers <joseph@codesourcery.com>
32167
32168 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
32169 abi-name definition.
32170 * scripts/soversions.awk: Do not handle or generate ABI lines.
32171 * shlib-versions: Remove ABI entries.
32172 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
32173 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
32174
32175 2014-06-27 Roland McGrath <roland@hack.frob.com>
32176
32177 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
32178 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
32179 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
32180 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
32181 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
32182 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
32183 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
32184 Moved ...
32185 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
32186 ... here.
32187 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
32188 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
32189 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
32190 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
32191 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
32192 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
32193 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
32194 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
32195 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
32196 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
32197 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
32198 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
32199 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
32200 Moved ...
32201 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
32202 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
32203 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
32204 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
32205 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
32206 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
32207 Moved ...
32208 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
32209 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
32210 Moved ...
32211 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
32212 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
32213 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
32214 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
32215 Moved ...
32216 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
32217 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
32218 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
32219 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
32220 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
32221 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
32222 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
32223 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
32224 Moved ...
32225 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
32226 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
32227 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
32228 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
32229 Moved ...
32230 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
32231 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
32232 Moved ...
32233 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
32234 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
32235 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
32236 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
32237 Moved ...
32238 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
32239 ... here.
32240 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
32241 Identical file removed.
32242 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
32243 Moved ...
32244 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
32245 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
32246 Identical file removed.
32247 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
32248 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
32249 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
32250 Moved ...
32251 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
32252 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
32253 Identical file removed.
32254 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
32255 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
32256 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
32257 Identical file removed.
32258 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
32259 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
32260 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
32261 Identical file removed.
32262 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
32263 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
32264 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
32265 Identical file removed.
32266 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
32267 Moved ...
32268 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
32269 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
32270 Identical file removed.
32271 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
32272 Moved ...
32273 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
32274 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
32275 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
32276 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
32277 Identical file removed.
32278 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
32279 Moved ...
32280 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
32281 ... here.
32282 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
32283 Identical file removed.
32284 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
32285 Moved ...
32286 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
32287 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
32288 Identical file removed.
32289 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
32290 Moved ...
32291 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
32292 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
32293 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
32294 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
32295 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
32296 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
32297 Moved ...
32298 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
32299 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
32300 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
32301
32302 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
32303 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
32304 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
32305 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
32306 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
32307
32308 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
32309
32310 [BZ #17092]
32311 * nscd/nscd.c (monitor_child): Return exit status of child
32312 instead of return value from wait syscall.
32313
32314 2014-06-27 Joseph Myers <joseph@codesourcery.com>
32315
32316 * configure.ac (libc_commonpagesize): Remove variable.
32317 (libc_relro_required): Likewise.
32318 (libc_cv_z_relro): Remove configure test.
32319 * configure: Regenerated.
32320 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
32321 variable.
32322 (libc_relro_required): Likewise.
32323 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
32324 (libc_relro_required): Likewise.
32325 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
32326 (libc_relro_required): Likewise.
32327 * sysdeps/arm/preconfigure: Regenerated.
32328 * sysdeps/ia64/preconfigure: Remove file.
32329 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
32330 variable.
32331 (libc_relro_required): Likewise.
32332
32333 [BZ #16561]
32334 [BZ #16562]
32335 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
32336 (__ieee754_yn): Set FE_TONEAREST mode internally and then
32337 recompute overflowing results in original rounding mode.
32338 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
32339 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
32340 recompute overflowing results in original rounding mode.
32341 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
32342 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
32343 recompute overflowing results in original rounding mode.
32344 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
32345 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
32346 recompute overflowing results in original rounding mode.
32347 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
32348 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
32349 recompute overflowing results in original rounding mode.
32350 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
32351 (libc_feholdsetround_ctx): New macro.
32352 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
32353 * sysdeps/i386/fpu/libm-test-ulps: Update.
32354 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
32355
32356 2014-06-26 Joseph Myers <joseph@codesourcery.com>
32357
32358 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
32359 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
32360 corresponding .cpsetup call.
32361
32362 2014-06-26 Roland McGrath <roland@hack.frob.com>
32363
32364 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
32365 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
32366 * sysdeps/arm/Makefile [$(subdir) = csu]
32367 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
32368 (static-only-routines): Add aeabi_read_tp here.
32369 (shared-only-routines): Add libc-aeabi_read_tp here.
32370 (CFLAGS-libc-start.c): Add -fexceptions here.
32371 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
32372 (sysdep_routines, static-only-routines, shared-only-routines):
32373 Don't add to these here.
32374 (CFLAGS-libc-start.c): Likewise.
32375
32376 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
32377 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
32378 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
32379 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
32380 * sysdeps/arm/Makefile [$(subdir) = rt]
32381 (librt-sysdep_routines, librt-shared-only-routines):
32382 Append rt-aeabi_unwind_cpp_pr1 here.
32383 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
32384 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
32385 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
32386 (libpthread-sysdep_routines, libpthread-shared-only-routines):
32387 Append nptl-aeabi_unwind_cpp_pr1 here.
32388 (tests): Filter out tst-cleanupx4 here.
32389 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
32390 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
32391 Don't do those here.
32392
32393 2014-06-26 Joseph Myers <joseph@codesourcery.com>
32394
32395 * scripts/list-sources.sh: Do not handle ports specially.
32396
32397 2014-06-26 Roland McGrath <roland@hack.frob.com>
32398
32399 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
32400 * sysdeps/arm/feupdateenv.c: Likewise.
32401
32402 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
32403
32404 2014-06-26 Joseph Myers <joseph@codesourcery.com>
32405
32406 * manual/texinfo.tex: Update to version 2014-05-05.10 with
32407 trailing whitespace removed.
32408 * scripts/config.guess: Update to version 2014-03-23.
32409 * scripts/config.sub: Update to version 2014-05-01
32410 * scripts/install-sh: Update to version 2013-12-25.23.
32411 * scripts/move-if-change: Update from gnulib.
32412
32413 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32414
32415 * debug/memmove_chk.c: Remove pagecopy.h include.
32416
32417 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
32418
32419 * time/mktime.c (leapyear): Remove inline keyword. The code is now
32420 identical to gnulib mktime.
32421
32422 2014-06-26 Joseph Myers <joseph@codesourcery.com>
32423
32424 * configure.ac: Do not test for machine being rs6000. Do not test
32425 for powerpc*-*soft.
32426 * configure: Regenerated.
32427
32428 [BZ #11505]
32429 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
32430 test.
32431 * configure: Regenerated.
32432 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
32433 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
32434 Remove configure test.
32435 * sysdeps/arm/configure: Regenerated.
32436 * sysdeps/nptl/configure.ac: Do not check
32437 libc_cv_asm_cfi_directives.
32438 * sysdeps/nptl/configure: Regenerated.
32439 * sysdeps/x86_64/nptl/configure.ac: Remove file.
32440 * sysdeps/x86_64/nptl/configure: Remove generated file.
32441 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
32442 unconditional.
32443 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
32444
32445 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32446
32447 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
32448 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
32449 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
32450 it is defined.
32451
32452 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
32453 instead of whether it is defined.
32454 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
32455 * sysdeps/hppa/dl-machine.h: Likewise.
32456 * sysdeps/ia64/dl-machine.h: Likewise.
32457 * sysdeps/m68k/dl-machine.h: Likewise.
32458 * sysdeps/microblaze/dl-machine.h: Likewise.
32459 * sysdeps/mips/dl-machine.: Likewise.
32460 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
32461 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
32462 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
32463 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
32464 * sysdeps/sh/dl-machine.h: Likewise.
32465 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
32466 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
32467 * sysdeps/tile/dl-machine.h: Likewise.
32468 * sysdeps/x86_64/dl-machine.h: Likewise.
32469
32470 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
32471 code.
32472 (verify_persistent_db): Likewise.
32473
32474 2014-06-26 Roland McGrath <roland@hack.frob.com>
32475
32476 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
32477 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
32478 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
32479 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
32480 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
32481 Moved ...
32482 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
32483 ... here.
32484 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
32485 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
32486 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
32487 Identical file removed.
32488 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
32489 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
32490 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
32491 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
32492 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
32493 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
32494 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
32495 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
32496 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
32497 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
32498 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32499 Moved ...
32500 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
32501 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
32502 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
32503 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
32504 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
32505 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
32506 Moved ...
32507 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
32508 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
32509 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
32510 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
32511 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
32512 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
32513 Identical file removed.
32514 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
32515 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
32516 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
32517 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
32518 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
32519 Moved ...
32520 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
32521 ... here.
32522 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
32523 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
32524 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
32525 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
32526 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
32527 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
32528 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
32529 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
32530 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
32531 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
32532 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32533 Moved ...
32534 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
32535 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
32536 Moved ...
32537 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
32538 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
32539 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
32540 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
32541 Moved ...
32542 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
32543 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
32544 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
32545
32546 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
32547 folded into ...
32548 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
32549 * sysdeps/unix/sysv/linux/s390/Versions
32550 (libpthread: GLIBC_2.19): New version set.
32551 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
32552 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
32553 (librt: GLIBC_2.3.3): New version set.
32554 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
32555 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
32556 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
32557 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
32558 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
32559 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
32560 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
32561 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
32562 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
32563 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
32564 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
32565 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
32566 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
32567 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
32568 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
32569 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
32570 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
32571 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
32572 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
32573 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
32574 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
32575 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
32576 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
32577 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
32578 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
32579 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
32580 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
32581 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
32582 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
32583 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
32584 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
32585 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
32586 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
32587 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
32588 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
32589 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
32590 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
32591 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
32592 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
32593 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
32594 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
32595 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
32596 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
32597 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
32598 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
32599
32600 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
32601 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
32602 (__libc_vfork): Define the function under this name.
32603 [!NOT_IN_libc] (__vfork): Make this an alias.
32604 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
32605 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
32606 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
32607 (__libc_vfork): Define the function under this name.
32608 [!NOT_IN_libc] (__vfork): Make this an alias.
32609 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
32610 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
32611 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
32612 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
32613 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
32614 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
32615
32616 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
32617 code that was previously under [RESET_PID].
32618 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
32619 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
32620 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
32621
32622 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
32623 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
32624 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
32625 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
32626 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
32627 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
32628 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
32629 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
32630 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
32631 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
32632 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
32633 Moved ...
32634 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
32635 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
32636 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
32637 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
32638 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
32639 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
32640 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
32641 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
32642 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
32643 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
32644 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
32645 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
32646 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
32647 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
32648 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
32649 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
32650 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
32651 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
32652 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
32653 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
32654 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
32655 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
32656 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
32657 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
32658 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
32659 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
32660 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
32661 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
32662 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
32663
32664 2014-06-25 Roland McGrath <roland@hack.frob.com>
32665
32666 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
32667 that was previously under [RESET_PID].
32668 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
32669
32670 2014-06-25 Joseph Myers <joseph@codesourcery.com>
32671
32672 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
32673 not undefine and redefine.
32674 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
32675 [O_CLOEXEC]: Make code unconditional.
32676 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
32677 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
32678 <kernel-features.h>.
32679 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
32680 conditional variable definition.
32681 (shm_open) [O_CLOEXEC]: Make code unconditional.
32682 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
32683 code.
32684
32685 * configure.ac (USE_REGPARMS): Don't define here.
32686 * configure: Regenerated.
32687 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
32688 * sysdeps/i386/configure: Regenerated.
32689
32690 * nptl/createthread.c: Don't include kernel-features.h.
32691 * nptl/pthread_cancel.c: Likewise.
32692 * nptl/pthread_condattr_setclock.c: Likewise.
32693 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
32694 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
32695 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
32696 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
32697 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
32698 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
32699 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
32700 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
32701 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
32702 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
32703 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
32704 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
32705 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
32706 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
32707 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
32708 * nscd/gai.c: Likewise.
32709 * nss/nss_db/db-open.c: Likewise.
32710 * sysdeps/generic/ldsodefs.h: Likewise.
32711 * sysdeps/sh/nptl/tls.h: Likewise.
32712 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
32713 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
32714 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
32715 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
32716 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
32717 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
32718 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
32719 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
32720 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
32721 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
32722 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
32723 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
32724 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
32725 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
32726 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
32727 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
32728 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
32729 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
32730 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
32731 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
32732 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
32733 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
32734 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
32735 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
32736 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
32737 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
32738 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
32739 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
32740 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
32741 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
32742 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
32743 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
32744 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
32745 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
32746 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
32747 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
32748 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
32749 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
32750 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
32751 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
32752 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
32753 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
32754 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
32755 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
32756 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
32757 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
32758 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
32759 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
32760 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
32761 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
32762 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
32763 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
32764 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
32765 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
32766 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
32767 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
32768 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
32769 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
32770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
32771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
32772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
32773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
32774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
32775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
32776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
32777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
32778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
32779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
32780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
32781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
32782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
32783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
32784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
32785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
32786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
32787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
32788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
32789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
32790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
32791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
32792 * sysdeps/unix/sysv/linux/pread.c: Likewise.
32793 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
32794 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
32795 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
32796 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
32797 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
32798 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
32799 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
32800 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
32801 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
32802 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
32803 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
32804 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
32805 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
32806 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
32807 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
32808 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
32809 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
32810 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
32811 * sysdeps/unix/sysv/linux/system.c: Likewise.
32812 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
32813 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
32814 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
32815 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
32816 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
32817 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
32818 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
32819
32820 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
32821 * configure: Regenerated.
32822 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
32823
32824 * configure.ac (base_machine): Do not set specially for particular
32825 machines here.
32826 * configure: Regenerated.
32827 * sysdeps/powerpc/preconfigure: Move machine and base_machine
32828 settings from configure.ac.
32829 * sysdeps/i386/preconfigure: New file.
32830 * sysdeps/s390/preconfigure: Likewise.
32831 * sysdeps/sh/preconfigure: Likewise.
32832 * sysdeps/sparc/preconfigure: Likewise.
32833
32834 2014-06-25 Roland McGrath <roland@hack.frob.com>
32835
32836 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
32837 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
32838 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
32839 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
32840 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
32841 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
32842 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
32843 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
32844 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
32845 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
32846 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
32847 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
32848 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
32849 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
32850 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
32851 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
32852 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
32853 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
32854 * sysdeps/sparc/sparc64/Makefile: ... appended here.
32855
32856 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
32857 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
32858 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
32859 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
32860 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
32861 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
32862 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
32863 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
32864 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
32865 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
32866 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
32867 * sysdeps/sparc/sparc32/sem_post.c: ... here.
32868 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
32869 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
32870 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
32871 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
32872 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
32873 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
32874 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
32875 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
32876 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
32877 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
32878 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
32879 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
32880 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
32881 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
32882 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
32883 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
32884 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
32885 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
32886 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
32887 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
32888 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
32889 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
32890 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
32891 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
32892 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
32893 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
32894
32895 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
32896 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
32897 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
32898 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
32899 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
32900 Moved ...
32901 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
32902 ... here.
32903 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
32904 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
32905 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
32906 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
32907 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
32908 Moved ...
32909 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
32910 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
32911 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
32912 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
32913 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
32914 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
32915 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
32916 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
32917 Moved ...
32918 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
32919 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
32920 Moved ...
32921 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
32922 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
32923 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
32924 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
32925 Moved ...
32926 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
32927 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
32928 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
32929 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
32930 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
32931 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
32932 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
32933 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
32934 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
32935 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
32936 Moved ...
32937 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
32938 ... here.
32939 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
32940 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
32941 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
32942 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
32943 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
32944 Moved ...
32945 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
32946 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
32947 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
32948 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
32949 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
32950 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
32951 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
32952 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
32953 Moved ...
32954 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
32955 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
32956 Moved ...
32957 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
32958 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
32959 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
32960 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
32961 Moved ...
32962 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
32963 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
32964 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
32965 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
32966 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
32967
32968 2014-06-25 Joseph Myers <joseph@codesourcery.com>
32969
32970 * timezone/checktab.awk: Update from tzcode 2014e.
32971 * timezone/private.h: Likewise.
32972 * timezone/tzfile.h: Likewise.
32973 * timezone/zdump.c: Likewise.
32974 * timezone/zic.c: Likewise.
32975
32976 * sysdeps/unix/sysv/linux/kernel-features.h
32977 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
32978 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
32979 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
32980 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
32981 Remove conditional code.
32982
32983 2014-06-25 Will Newton <will.newton@linaro.org>
32984
32985 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
32986 (_dl_arm_cap_flags): Add HWCAP2 values.
32987 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
32988 (_DL_HWCAP_COUNT): Increase to 37.
32989 (_DL_HWCAP_LAST): New define.
32990 (_DL_HWCAP2_LAST): New define.
32991 (_dl_procinfo): Add support for printing
32992 AT_HWCAP2 entries.
32993 (_dl_string_hwcap): Use _dl_hwcap_string.
32994
32995 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32996
32997 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32998
32999 2014-06-25 Joseph Myers <joseph@codesourcery.com>
33000
33001 * README: Do not mention ports directory.
33002
33003 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
33004 Remove macro.
33005 * sysdeps/unix/sysv/linux/futimes.c: Do not include
33006 <kernel-features.h>.
33007 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
33008 conditional variable definition.
33009 (__futimes): Update comment.
33010 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
33011 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
33012
33013 [BZ #16560]
33014 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
33015 arguments close to 0.
33016 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
33017 Likewise.
33018 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
33019 Likewise.
33020 * math/auto-libm-test-in: Add more tests of exp10.
33021 * math/auto-libm-test-out: Regenerated.
33022 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33023
33024 * sysdeps/unix/sysv/linux/kernel-features.h
33025 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
33026 * sysdeps/unix/sysv/linux/readv.c: Do not include
33027 <kernel-features.h>.
33028 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
33029 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
33030 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
33031 unconditional.
33032 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
33033 conditional code.
33034 * sysdeps/unix/sysv/linux/writev.c: Do not include
33035 <kernel-features.h>.
33036 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
33037 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
33038 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
33039 unconditional.
33040 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
33041 conditional code.
33042
33043 2014-06-25 Will Newton <will.newton@linaro.org>
33044
33045 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
33046 comment changes throughout the file. Remove checks
33047 for HAVE_*_H definitions that are not required.
33048 (__gen_tempname): Call abort if an unknown kind value is
33049 passed.
33050
33051 2014-06-25 Andreas Schwab <schwab@suse.de>
33052
33053 [BZ #17086]
33054 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
33055 scalbln, scalblnf, scalblnl in libc.
33056
33057 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
33058
33059 [BZ #17086]
33060 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
33061 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
33062 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
33063
33064 2014-06-24 Roland McGrath <roland@hack.frob.com>
33065
33066 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
33067 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
33068 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
33069 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
33070 Update #include.
33071 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
33072 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
33073 Update #include.
33074 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
33075 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
33076 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
33077 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
33078 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
33079 * sysdeps/x86/bits/pthreadtypes.h: ... here.
33080 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
33081 * sysdeps/x86/bits/semaphore.h: ... here.
33082 * sysdeps/x86/nptl/elide.h: Moved ...
33083 * sysdeps/x86/elide.h: ... here.
33084 * sysdeps/x86_64/nptl/Implies: File removed.
33085 * sysdeps/i386/nptl/Implies: File removed.
33086
33087 2014-06-24 Joseph Myers <joseph@codesourcery.com>
33088
33089 [BZ #16539]
33090 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
33091 return the argument for normal arguments with exponent below -64.
33092 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
33093 Likewise.
33094 * math/auto-libm-test-in: Add another test of expm1.
33095 * math/auto-libm-test-out: Regenerated.
33096
33097 [BZ #16287]
33098 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
33099 calling __erfcl for arguments at least 16.
33100 * math/auto-libm-test-in: Add more tests of erf.
33101 * math/auto-libm-test-out: Regenerated.
33102
33103 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
33104 individual architectures.
33105 * sysdeps/unix/sysv/linux/configure: Regenerated.
33106 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
33107 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
33108 * sysdeps/unix/sysv/linux/powerpc/configure.ac
33109 (ldd_rewrite_script): Define variable.
33110 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
33111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
33112 file.
33113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
33114 generated file.
33115 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
33116 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
33117 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
33118 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
33119 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
33120 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
33121 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
33122 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
33123
33124 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
33125
33126 [BZ #17084]
33127 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
33128 Rename member __data.d to __data.__elision_data.
33129
33130 2014-06-24 Wilco <wdijkstr@arm.com>
33131
33132 * NEWS: Add 16918 to fixed bug list.
33133
33134 2014-06-24 Wilco <wdijkstr@arm.com>
33135
33136 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
33137
33138 2014-06-24 Wilco <wdijkstr@arm.com>
33139
33140 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
33141 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
33142 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
33143 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
33144 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
33145 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
33146 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
33147 Use _FPU_MASK_RM.
33148
33149 2014-06-24 Wilco <wdijkstr@arm.com>
33150
33151 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
33152
33153 2014-06-24 Wilco <wdijkstr@arm.com>
33154
33155 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
33156 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
33157 * sysdeps/arm/fesetround.c (fesetround): Remove space.
33158 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
33159
33160 2014-06-24 Wilco <wdijkstr@arm.com>
33161
33162 [BZ #16918]
33163 * sysdeps/arm/feupdateenv.c (feupdateenv):
33164 Rewrite to reduce FPSCR accesses and fix return value.
33165
33166 2014-06-24 Wilco <wdijkstr@arm.com>
33167
33168 * sysdeps/arm/fclrexcpt.c (feclearexcept):
33169 Optimize to avoid unnecessary FPSCR writes.
33170 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
33171 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
33172 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
33173 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
33174
33175 2014-06-24 Wilco <wdijkstr@arm.com>
33176
33177 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
33178 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
33179 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
33180 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
33181 Call libc_fetestexcept_vfp.
33182 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
33183 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
33184 __SOFTFP__ ifdef so that they can be built for softfp.
33185
33186 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
33187
33188 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
33189 argument type signed char.
33190
33191 * Makerules (check-abi): Dump diff of symlist if the test
33192 fails.
33193
33194 2014-06-23 Roland McGrath <roland@hack.frob.com>
33195
33196 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
33197 using abort.
33198
33199 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
33200 Remove unused variable ST.
33201
33202 2014-06-23 Joseph Myers <joseph@codesourcery.com>
33203
33204 [BZ #16354]
33205 [BZ #17061]
33206 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
33207 small arguments before calling __expm1.
33208 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
33209 small arguments before calling __expm1f.
33210 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
33211 small arguments before calling __expm1l.
33212 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
33213 Likewise.
33214 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
33215 * math/auto-libm-test-in: Add more cosh tests. Do not allow
33216 spurious underflow for some cosh tests.
33217 * math/auto-libm-test-out: Regenerated.
33218 * sysdeps/i386/fpu/libm-test-ulps: Update.
33219
33220 [BZ #17050]
33221 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
33222 (__ieee754_y1): Set errno if return value overflows.
33223 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
33224 (__ieee754_y1f): Set errno if return value overflows.
33225 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
33226 (__ieee754_y1l): Set errno if return value overflows.
33227 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
33228 (__ieee754_y1l): Set errno if return value overflows.
33229 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
33230 * math/auto-libm-test-out: Regenerated.
33231
33232 * math/gen-auto-libm-tests.c: Document use of
33233 ignore-zero-inf-sign.
33234 (input_flag_type): Add value flag_ignore_zero_inf_sign.
33235 (input_flags): Add ignore-zero-inf-sign.
33236 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
33237 * math/gen-libm-test.pl (generate_testfile): Handle
33238 ignore-zero-inf-sign.
33239 * math/auto-libm-test-in: Mark some cpow tests with
33240 ignore-zero-inf-sign and some with xfail-rounding.
33241 * math/auto-libm-test-out: Regenerated.
33242 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
33243 * sysdeps/i386/fpu/libm-test-ulps: Update.
33244 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33245
33246 [BZ #16315]
33247 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
33248 overflowing or underflowing operations take place with sign of
33249 result.
33250 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
33251 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
33252 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
33253 (__ieee754_pow): Recompute overflowing and underflowing results in
33254 original rounding mode.
33255 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
33256 (__powl_helper): Allow negative argument X and scale negated value
33257 as needed. Avoid passing value outside [-1, 1] to f2xm1.
33258 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
33259 overflowing or underflowing operations take place with sign of
33260 result.
33261 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
33262 Include <math.h>.
33263 * math/auto-libm-test-in: Add more tests of pow.
33264 * math/auto-libm-test-out: Regenerated.
33265 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
33266 (pow_tonearest_test_data): Remove.
33267 (pow_test_tonearest): Likewise.
33268 (pow_towardzero_test_data): Likewise.
33269 (pow_test_towardzero): Likewise.
33270 (pow_downward_test_data): Likewise.
33271 (pow_test_downward): Likewise.
33272 (pow_upward_test_data): Likewise.
33273 (pow_test_upward): Likewise.
33274 (main): Don't call removed functions.
33275 * sysdeps/i386/fpu/libm-test-ulps: Update.
33276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33277
33278 2014-06-23 Roland McGrath <roland@hack.frob.com>
33279
33280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
33281 Moved ...
33282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
33283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33284 Moved ...
33285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
33286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
33287 Moved ...
33288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
33289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
33290 Moved ...
33291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
33292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
33293 File removed.
33294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
33295 File removed.
33296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
33297 File removed.
33298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
33299 File removed.
33300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
33301 File removed.
33302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
33303 File removed.
33304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
33305 File removed.
33306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
33307 File removed.
33308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
33309 File removed.
33310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
33311 File removed.
33312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
33313 File removed.
33314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
33315 File removed.
33316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
33317 Moved ...
33318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
33319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
33320 Moved ...
33321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
33322 ... here.
33323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
33324 Moved ...
33325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
33326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
33327 Moved ...
33328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
33329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
33330 Moved ...
33331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
33332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
33333 Moved ...
33334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
33335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
33336 Moved ...
33337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
33338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
33339 Moved ...
33340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
33341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
33342 Moved ...
33343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
33344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
33345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
33346 ... here.
33347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
33348 Moved ...
33349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
33350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
33351 Moved ...
33352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
33353 ... here.
33354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
33355 Moved ...
33356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
33357 ... here.
33358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
33359 Moved ...
33360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
33361 ... here.
33362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
33363 Moved ...
33364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
33365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
33366 Moved ...
33367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
33368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
33369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
33370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
33371 Moved ...
33372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
33373 ... here.
33374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
33375 Moved ...
33376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
33377 ... here.
33378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
33379 Moved ...
33380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
33381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
33382 Moved ...
33383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
33384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
33385 Moved ...
33386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
33387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33388 Moved ...
33389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
33390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
33391 Moved ...
33392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
33393 ... here.
33394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
33395 Moved ...
33396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
33397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
33398 Moved ...
33399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
33400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
33401 Moved ...
33402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
33403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
33404 Moved ...
33405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
33406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
33407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
33408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
33409 Moved ...
33410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
33411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
33412 Moved ...
33413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
33414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
33415 Moved ...
33416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
33417 ... here.
33418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33419 Moved ...
33420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
33421 ... here.
33422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
33423 Moved ...
33424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
33425 ... here.
33426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
33427 Moved ...
33428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
33429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
33430 Moved ...
33431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
33432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
33433 Moved ...
33434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
33435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
33436 Moved ...
33437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
33438 ... here.
33439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
33440 Moved ...
33441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
33442 ... here.
33443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
33444 Moved ...
33445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
33446 ... here.
33447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
33448 Moved ...
33449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
33450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
33451 Moved ...
33452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
33453
33454 2014-06-23 Will Newton <will.newton@linaro.org>
33455 Wilco <wdijkstr@arm.com>
33456
33457 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
33458 implementation. Include get-rounding-mode.h.
33459 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
33460 [!libc_feholdsetround_noex_ctx]: Define
33461 libc_feholdsetround_noex_ctx.
33462 [!libc_feholdsetround_noexf_ctx]: Define
33463 libc_feholdsetround_noexf_ctx.
33464 [!libc_feholdsetround_noexl_ctx]: Define
33465 libc_feholdsetround_noexl_ctx.
33466 (libc_feholdsetround_ctx): New function.
33467 (libc_feresetround_ctx): New function.
33468 (libc_feholdsetround_noex_ctx): New function.
33469 (libc_feresetround_noex_ctx): New function.
33470
33471 2014-06-23 Roland McGrath <roland@hack.frob.com>
33472
33473 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
33474 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
33475 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
33476 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
33477 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
33478 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
33479
33480 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
33481 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
33482 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
33483 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
33484 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
33485 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
33486 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
33487 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
33488 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
33489 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
33490 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
33491 Moved ...
33492 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
33493 ... here.
33494 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
33495 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
33496 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
33497 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
33498 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
33499 Moved ...
33500 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
33501 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
33502 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
33503 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
33504 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
33505 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
33506 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
33507 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
33508 Moved ...
33509 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
33510 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
33511 Moved ...
33512 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
33513 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
33514 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
33515 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
33516 Moved ...
33517 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
33518 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
33519 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
33520 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
33521 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
33522 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
33523 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
33524 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
33525 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
33526 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
33527 Moved ...
33528 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
33529 ... here.
33530 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
33531 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
33532 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
33533 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
33534 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
33535 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
33536 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
33537 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
33538 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
33539 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
33540 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
33541 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
33542 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
33543 Moved ...
33544 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
33545 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
33546 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
33547 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
33548 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
33549 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
33550 Moved ...
33551 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
33552 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
33553 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
33554 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
33555 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
33556
33557 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
33558 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
33559 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
33560 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
33561 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
33562 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
33563 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
33564 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
33565 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
33566 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
33567 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
33568 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
33569 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
33570 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
33571 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
33572 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
33573 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
33574 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
33575 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
33576 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
33577 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
33578 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
33579 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
33580 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
33581 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
33582 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
33583 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
33584 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
33585
33586 2014-06-23 Joseph Myers <joseph@codesourcery.com>
33587
33588 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
33589 (FALLOC_FL_COLLAPSE_RANGE): New macro.
33590 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
33591 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
33592 (IPV6_PMTUDISC_INTERFACE): Likewise.
33593 (IPV6_PMTUDISC_OMIT): Likewise.
33594
33595 2014-06-23 Andreas Schwab <schwab@suse.de>
33596
33597 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
33598 Remove unused errout label.
33599
33600 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33601
33602 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
33603 macro: hardware supports Vector Crypto instructions.
33604
33605 2014-06-23 Will Newton <will.newton@linaro.org>
33606
33607 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
33608 rather than __builtin_expect.
33609
33610 * elf/dl-lookup.c (undefined_msg): Remove variable.
33611 (_dl_lookup_symbol_x): Replace undefined_msg with string
33612 literal.
33613
33614 * elf/dl-lookup.c (do_lookup_unique): New function.
33615 (do_lookup_x): Move STB_GNU_UNIQUE handling code
33616 to a separate function.
33617
33618 2014-06-23 Andreas Schwab <schwab@suse.de>
33619
33620 [BZ #17079]
33621 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
33622 before reading the next line.
33623
33624 2014-06-23 Will Newton <will.newton@linaro.org>
33625
33626 * test-skeleton.c (signal_handler): Use printf and %m
33627 rather than perror. Use printf rather than fprintf to
33628 stderr. Use puts rather than fputs to stderr.
33629 (main): Likewise.
33630
33631 2014-06-22 Ludovic Courtès <ludo@gnu.org>
33632
33633 * nscd/nscd.c (thread_info_t): Remove typedef.
33634 (thread_info): Remove variable.
33635
33636 2014-06-21 Allan McRae <allan@archlinux.org>
33637
33638 * NEWS: Mention CVE-2014-4043.
33639
33640 2014-06-20 Roland McGrath <roland@hack.frob.com>
33641
33642 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
33643 * nptl/smp.h: ... here.
33644
33645 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
33646
33647 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
33648 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
33649 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
33650 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
33651
33652 * nptl/allocatestack.c: Include <stack-aliasing.h>.
33653 * nptl/stack-aliasing.h: New file.
33654 * sysdeps/i386/i686/stack-aliasing.h: New file.
33655 * sysdeps/i386/i686/nptl/Makefile: File removed.
33656 * sysdeps/x86_64/stack-aliasing.h: New file.
33657 * sysdeps/x86_64/nptl/Makefile
33658 (CFLAGS-pthread_create.c): Variable removed.
33659
33660 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
33661 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
33662 old file.
33663 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
33664 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
33665 old file.
33666
33667 2014-06-21 Joseph Myers <joseph@codesourcery.com>
33668
33669 * sysdeps/unix/sysv/linux/arm/kernel-features.h
33670 (__ASSUME_SIGFRAME_V2): Remove macro.
33671 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
33672 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
33673 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
33674 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
33675 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
33676 Declare as function. Remove conditional macro definitions.
33677 (__default_rt_sa_restorer): Likewise.
33678 (__default_sa_restorer_v1): Remove declaration.
33679 (__default_sa_restorer_v2): Likewise.
33680 (__default_rt_sa_restorer_v1): Likewise.
33681 (__default_rt_sa_restorer_v2): Likewise.
33682 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
33683 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
33684 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
33685
33686 2014-06-20 Roland McGrath <roland@hack.frob.com>
33687
33688 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
33689 (libpthread-routines): Add sysdep.
33690 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
33691 * sysdeps/unix/sysv/linux/sparc/Versions
33692 (libpthread: GLIBC_2.3.3): New version set.
33693 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
33694 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
33695 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
33696 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
33697 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
33698 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
33699 Moved ...
33700 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
33701 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
33702 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
33703 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
33704 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
33705 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
33706 * sysdeps/sparc/nptl/sem_init.c: ... here.
33707 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
33708 * sysdeps/sparc/nptl/sem_post.c: ... here.
33709 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
33710 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
33711 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
33712 * sysdeps/sparc/nptl/sem_wait.c: ... here.
33713 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
33714 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
33715 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
33716 (libpthread-routines): Add cpu_relax.
33717 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
33718 File removed.
33719 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
33720 (librt: GLIBC_2.3.3): New version set.
33721 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
33722 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
33723 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
33724 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
33725 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
33726 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
33727 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
33728 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
33729 Moved ...
33730 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
33731 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
33732 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
33733 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
33734 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
33735 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
33736 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
33737 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
33738 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
33739 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
33740 Moved ...
33741 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
33742 Update #include.
33743 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
33744 Moved ...
33745 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
33746 Update #include.
33747 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
33748 Moved ...
33749 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
33750 Update #include.
33751 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
33752 Moved ...
33753 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
33754 Update #include.
33755 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
33756 Moved ...
33757 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
33758 Update #include.
33759 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
33760 Moved ...
33761 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
33762 Update #include.
33763 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
33764 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
33765 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
33766 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
33767 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
33768 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
33769 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
33770 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
33771 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
33772 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
33773 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
33774 Moved ...
33775 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
33776 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
33777 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
33778 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
33779 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
33780
33781 2014-06-20 Joseph Myers <joseph@codesourcery.com>
33782
33783 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
33784 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
33785 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
33786 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
33787 * nscd/nscd.c: Likewise.
33788 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
33789 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
33790 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
33791 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
33792
33793 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
33794 <kernel-features.h>.
33795 (init_mq_netlink): Remove conditional have_sock_cloexec
33796 definitions. Remove code conditional on have_sock_cloexec < 0.
33797 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
33798 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
33799 * sysdeps/unix/sysv/linux/opensock.c: Do not include
33800 <kernel-features.h>.
33801 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
33802 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
33803
33804 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
33805
33806 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33807 Add tests for memset_chk and memset.
33808
33809 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
33810 with AVX2_Usable.
33811
33812 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
33813
33814 [BZ #16046]
33815 * elf/tst-dl-iter-static.c: New file.
33816 * elf/Makefile (tests-static): Add tst-dl-iter-static.
33817
33818 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
33819 error.
33820
33821 2014-06-20 Joseph Myers <joseph@codesourcery.com>
33822
33823 * sysdeps/unix/sysv/linux/kernel-features.h
33824 (__ASSUME_F_GETOWN_EX): Remove macro.
33825 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
33826 <kernel-features.h>.
33827 (miss_F_GETOWN_EX): Remove variable or macro.
33828 (do_fcntl): Do not check miss_F_GETOWN_EX.
33829 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
33830
33831 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
33832 Remove macro.
33833 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
33834 [!__ASSUME_AT_RANDOM]: Remove conditional code.
33835 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
33836
33837 * sysdeps/unix/sysv/linux/kernel-features.h
33838 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
33839 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
33840 [ADJ_OFFSET_SS_READ]: Make code unconditional.
33841 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
33842
33843 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
33844
33845 [BZ #17075]
33846 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
33847 Fix calculation of the symbol's value.
33848 * sysdeps/arm/tst-armtlsdescloc.c: New file.
33849 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
33850 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
33851 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
33852 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
33853 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
33854 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
33855 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
33856 (modules-names): Add `tst-armtlsdescmod',
33857 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
33858 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
33859 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
33860 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
33861 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
33862 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
33863 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
33864 ($(objpfx)tst-armtlsdescloc): New dependency.
33865 ($(objpfx)tst-armtlsdescextnow): Likewise.
33866 ($(objpfx)tst-armtlsdescextlazy): Likewise.
33867 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
33868 TLS scheme support.
33869 * sysdeps/arm/configure: Regenerate.
33870
33871 2014-06-20 Joseph Myers <joseph@codesourcery.com>
33872
33873 * include/fcntl.h (__atfct_seterrno): Remove prototype.
33874 (__atfct_seterrno_2): Likewise.
33875 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
33876 <kernel-features.h>.
33877 (__ASSUME_ATFCTS): Do not undefine and redefine.
33878 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
33879 (__have_atfcts): Remove conditional definition.
33880 (__fxstatat([__NR_fstatat64]: Make code unconditional.
33881 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
33882 unreachable if [__ASSUME_ATFCTS].
33883 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
33884 not undefine and redefine.
33885 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
33886 <kernel-features.h>.
33887 (faccessat) [__NR_faccessat]: Make code unconditional.
33888 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
33889 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
33890 <kernel-features.h>.
33891 (fchmodat) [__NR_fchmodat]: Make code unconditional.
33892 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
33893 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
33894 <kernel-features.h>.
33895 (fchownat) [__NR_fchownat]: Make code unconditional.
33896 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
33897 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
33898 <kernel-features.h>.
33899 (futimesat) [__NR_futimesat]: Make code unconditional.
33900 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
33901 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
33902 <kernel-features.h>.
33903 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
33904 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
33905 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
33906 <kernel-features.h>.
33907 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
33908 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
33909 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
33910 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
33911 <kernel-features.h>.
33912 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
33913 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
33914 * sysdeps/unix/sysv/linux/linkat.c: Do not include
33915 <kernel-features.h>.
33916 (linkat) [__NR_linkat]: Make code unconditional.
33917 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
33918 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
33919 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
33920 <kernel-features.h>.
33921 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
33922 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
33923 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
33924 <kernel-features.h>.
33925 (mkdirat) [__NR_mkdirat]: Make code unconditional.
33926 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
33927 * sysdeps/unix/sysv/linux/openat.c: Do not include
33928 <kernel-features.h>.
33929 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
33930 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
33931 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
33932 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
33933 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
33934 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
33935 <kernel-features.h>.
33936 (readlinkat) [__NR_readlinkat]: Make code unconditional.
33937 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
33938 result of INLINE_SYSCALL directly, not via int variable.
33939 * sysdeps/unix/sysv/linux/renameat.c: Do not include
33940 <kernel-features.h>.
33941 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
33942 (renameat) [__NR_renameat]: Make code unconditional.
33943 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
33944 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
33945 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
33946 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
33947 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
33948 (__ASSUME_ATFCTS): Do not undefine and redefine.
33949 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
33950 <kernel-features.h>.
33951 (symlinkat) [__NR_symlinkat]: Make code unconditional.
33952 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
33953 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
33954 <kernel-features.h>.
33955 (unlinkat) [__NR_unlinkat]: Make code unconditional.
33956 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
33957 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
33958 (__ASSUME_ATFCTS): Do not undefine and redefine.
33959 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
33960 <kernel-features.h>.
33961 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
33962 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
33963 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
33964 <kernel-features.h>.
33965 (__xmknodat) [__NR_mknodat]: Make code unconditional.
33966 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
33967
33968 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
33969
33970 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
33971
33972 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
33973
33974 [BZ #17069]
33975 * posix/regcomp.c (parse_reg_exp): Deallocate partially
33976 constructed tree before returning error.
33977 * posix/bug-regexp36.c: Expand test case.
33978
33979 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
33980
33981 [BZ #6803]
33982 * math/libm-test.inc (scalbln_test_date):
33983 Add errno expectations.
33984 * math/w_scalblnf.c: New File.
33985 Add wrapper which checks for setting errno to ERANGE.
33986 Add weak_alias for corresponding scalbln function.
33987 * math/w_scalbln.c: Likewise.
33988 * math/w_scalblnl.c: Likewise.
33989 * math/Makefile (libm-calls): Add w_scalbln.
33990 * sysdeps/ieee754/flt-32/s_scalblnf.c:
33991 Remove weak_alias for corresponding scalbln function.
33992 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33993 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
33994 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
33995 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33996 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
33997 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
33998 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
33999 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
34000 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
34001 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
34002 Remove long_double_symbol for scalblnl function in libm, libc.
34003 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
34004 Add wrapper which checks for setting errno to ERANGE.
34005 Add long_double_symbol for scalblnl function in libm, libc.
34006 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
34007 Remove long_double_symbol for scalblnl in libm.
34008 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
34009 Add wrapper which checks for setting errno to ERANGE.
34010 Add long_double_symbol for scalblnl function in libm.
34011 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
34012 Do not use wrapper because of own implementation.
34013
34014 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
34015
34016 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
34017 3 bytes for __pad1 for x32.
34018 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
34019
34020 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
34021 H.J. Lu <hongjiu.lu@intel.com>
34022
34023 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
34024 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
34025 * sysdeps/x86_64/multiarch/memset.S: Likewise.
34026 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34027 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
34028
34029 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
34030
34031 [BZ #17069]
34032 * posix/regcomp.c (parse_expression): Deallocate partially
34033 constructed tree before returning error.
34034 * posix/Makefile.c (tests): Add bug-regex36.
34035 (generated): Add bug-regex36.mtrace.
34036 (tests-special): Add $(objpfx)bug-regex36-mem.out
34037 (bug-regex36-ENV): New variable.
34038 ($(objpfx)bug-regex36-mem.out): New rule.
34039 * posix/bug-regex36.c: New file.
34040
34041 2014-06-19 Will Newton <will.newton@linaro.org>
34042
34043 * malloc/malloc.c (systrim): If extra is zero then return
34044 early.
34045
34046 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
34047
34048 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
34049
34050 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
34051
34052 * sysdeps/aarch64/strchr.S: New file.
34053
34054 2014-06-18 Joseph Myers <joseph@codesourcery.com>
34055
34056 [BZ #17022]
34057 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
34058 from arguments -2 or below.
34059 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
34060 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
34061
34062 2014-06-18 Andreas Schwab <schwab@suse.de>
34063
34064 [BZ #17062]
34065 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
34066 of a bracket expr not to run off the end of the string.
34067 * posix/Makefile (tests): Add tst-fnmatch3.
34068 * posix/tst-fnmatch3.c: New file.
34069
34070 2014-06-18 Joseph Myers <joseph@codesourcery.com>
34071
34072 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
34073 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
34074 [$(cross-compiling) = no]: Likewise.
34075 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
34076 [$(cross-compiling) = no]: Likewise.
34077
34078 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
34079
34080 [BZ #17031]
34081 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
34082 double, adjusted for any remainder from the high double.
34083 * math/libm-test.inc (nearbyint): Add tests.
34084 (rint): Likewise.
34085
34086 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34087
34088 * nptl/sysdeps/powerpc/Makefile: Moved ...
34089 * sysdeps/powerpc/nptl/Makefile: ... here.
34090 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
34091 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
34092 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
34093 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
34094 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
34095 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
34096 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
34097 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
34098 * nptl/sysdeps/powerpc/tls.h: Moved ...
34099 * sysdeps/powerpc/nptl/tls.h: ... here.
34100
34101 2014-06-16 Joseph Myers <joseph@codesourcery.com>
34102
34103 [BZ #16681]
34104 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
34105 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
34106 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
34107 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
34108 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
34109 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
34110 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
34111 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
34112 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
34113
34114 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
34115
34116 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
34117
34118 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
34119
34120 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
34121 defined operator.
34122
34123 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
34124 $TIMEOUTFACTOR.
34125
34126 2014-06-16 Florian Weimer <fweimer@redhat.com>
34127
34128 [BZ #17058]
34129 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
34130 non-executed part of the test.
34131
34132 2014-06-16 Andreas Schwab <schwab@suse.de>
34133
34134 * string/bits/string2.h (strdup, strndup): Update feature guard.
34135
34136 2014-06-14 David S. Miller <davem@davemloft.net>
34137
34138 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34139
34140 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
34141
34142 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
34143 that was previously under [RESET_PID].
34144 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
34145
34146 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
34147 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
34148 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
34149 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
34150 (__libc_vfork): New strong alias.
34151 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
34152
34153 2014-06-14 Andi Kleen <ak@linux.intel.com>
34154
34155 * sysdeps/generic/elide.h: New file.
34156
34157 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
34158
34159 * Makefile (installed-headers): Adjust path of pthread.h header.
34160
34161 2014-06-13 Roland McGrath <roland@hack.frob.com>
34162
34163 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
34164 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
34165 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
34166 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
34167
34168 * nptl/sysdeps/s390/Makefile: Moved ...
34169 * sysdeps/s390/nptl/Makefile: ... here.
34170 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
34171 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
34172 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
34173 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
34174 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
34175 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
34176 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
34177 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
34178 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
34179 * sysdeps/s390/nptl/pthreaddef.h: ... here.
34180 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
34181 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
34182 * nptl/sysdeps/s390/tls.h: Moved ...
34183 * sysdeps/s390/nptl/tls.h: ... here.
34184
34185 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
34186 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
34187
34188 2014-06-13 David S. Miller <davem@davemloft.net>
34189
34190 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
34191 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
34192 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
34193 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
34194 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
34195 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
34196 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
34197 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
34198 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
34199 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
34200 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
34201 Remove RESET_PID cpp guards.
34202 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
34203 Remove RESET_PID cpp guards.
34204 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
34205
34206 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
34207
34208 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
34209 __sp to uintptr_t.
34210
34211 2014-06-13 Andi Kleen <ak@linux.intel.com>
34212
34213 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
34214 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
34215 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
34216 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
34217 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
34218 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
34219 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
34220 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
34221 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
34222 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
34223 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
34224 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
34225 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
34226 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
34227 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
34228 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
34229 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
34230 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
34231 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
34232 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
34233
34234 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
34235 (pthread_rwlock_rdlock): Add elision.
34236 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
34237 (pthread_rwlock_wrlock): Add elision.
34238 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
34239 (pthread_rwlock_trywrlock): Add elision.
34240 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
34241 (pthread_rwlock_tryrdlock): Add elision.
34242 * nptl/pthread_rwlock_unlock.c: Include elide.h.
34243 (pthread_rwlock_tryrdlock): Add elision unlock.
34244 * nptl/sysdeps/pthread/pthread.h:
34245 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
34246 (PTHREAD_RWLOCK_INITIALIZER,
34247 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
34248 Handle new elision field.
34249 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
34250 * sysdeps/arm/nptl/bits/pthreadtypes.h
34251 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34252 * sysdeps/sh/nptl/bits/pthreadtypes.h
34253 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34254 * sysdeps/tile/nptl/bits/pthreadtypes.h
34255 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34256 * sysdeps/a/nptl/bits/pthreadtypes.h
34257 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34258 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
34259 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34260 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
34261 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34262 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
34263 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34264 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
34265 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34266 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
34267 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34268 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
34269 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34270 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
34271 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34272 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
34273 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34274 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
34275 (elision_init): Set try_xbegin to zero when no RTM.
34276 * sysdeps/x86/nptl/bits/pthreadtypes.h
34277 (pthread_rwlock_t): Change __pad1 to __rwelision.
34278 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34279
34280 2014-06-13 Andi Kleen <ak@linux.intel.com>
34281
34282 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
34283 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
34284 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
34285 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
34286
34287 2014-06-13 Meador Inge <meadori@codesourcery.com>
34288
34289 [BZ #16996]
34290 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
34291 that the cached result has been set before returning it.
34292
34293 2014-06-12 Roland McGrath <roland@hack.frob.com>
34294
34295 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
34296 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
34297 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
34298 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
34299 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
34300 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
34301
34302 * nptl/sysdeps/sparc/Makefile: Moved ...
34303 * sysdeps/sparc/nptl/Makefile: ... here.
34304 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
34305 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
34306 * nptl/sysdeps/sparc/tls.h: Moved ...
34307 * sysdeps/sparc/nptl/tls.h: ... here.
34308 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
34309 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
34310 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
34311 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
34312 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
34313 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
34314 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
34315 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
34316 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
34317 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
34318 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
34319 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
34320 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
34321 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
34322 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
34323 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
34324 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
34325 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
34326 Update #include.
34327 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
34328 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
34329 Update #include.
34330 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
34331 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
34332 Update #include.
34333 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
34334 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
34335 Update #include.
34336
34337 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
34338
34339 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
34340 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
34341
34342 * sysdeps/pthread/posix-timer.h: Include <list.h>.
34343 (struct list_links): Type removed.
34344 (struct thread_node, struct timer_node): Replace struct list_links
34345 with struct list_head.
34346 (list_unlink_ip): Likewise.
34347 * sysdeps/pthread/timer_routines.c
34348 (timer_free_list, thread_free_list, thread_active_list): Likewise.
34349 (list_append, list_insbefore): Likewise.
34350 (list_init): Function removed.
34351 (thread_init, init_module): Use INIT_LIST_HEAD instead.
34352 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
34353 * sysdeps/pthread/Makefile: ... here, new file.
34354
34355 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
34356 * sysdeps/nptl/Implies: ... here.
34357 * sysdeps/unix/sysv/linux/Implies: Add nptl.
34358 * nptl/sysdeps/pthread/list.h: Moved ...
34359 * include/list.h: ... here.
34360 * nptl/sysdeps/pthread/createthread.c: Moved ...
34361 * nptl/createthread.c: ... here.
34362 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
34363 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
34364 * nptl/pt-longjmp.c: ... here.
34365 * nptl/sysdeps/pthread/Makefile: Moved ...
34366 * sysdeps/nptl/Makefile: ... here.
34367 * nptl/sysdeps/pthread/Subdirs: Moved ...
34368 * sysdeps/nptl/Subdirs: ... here.
34369 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
34370 * sysdeps/nptl/aio_misc.h: ... here.
34371 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
34372 * sysdeps/nptl/bits/libc-lock.h: ... here.
34373 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
34374 * sysdeps/nptl/bits/libc-lockP.h: ... here.
34375 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
34376 * sysdeps/nptl/bits/stdio-lock.h: ... here.
34377 * nptl/sysdeps/pthread/configure: Moved ...
34378 * sysdeps/nptl/configure: ... here.
34379 * nptl/sysdeps/pthread/configure.ac: Moved ...
34380 * sysdeps/nptl/configure.ac: ... here.
34381 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
34382 * sysdeps/nptl/gai_misc.h: ... here.
34383 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
34384 * sysdeps/nptl/librt-cancellation.c: ... here.
34385 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
34386 * sysdeps/nptl/malloc-machine.h: ... here.
34387 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
34388 * sysdeps/nptl/pthread-functions.h: ... here.
34389 * nptl/sysdeps/pthread/pthread.h: Moved ...
34390 * sysdeps/nptl/pthread.h: ... here.
34391 * nptl/sysdeps/pthread/setxid.h: Moved ...
34392 * sysdeps/nptl/setxid.h: ... here.
34393 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
34394 * sysdeps/nptl/sigfillset.c: ... here.
34395 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
34396 * sysdeps/nptl/tcb-offsets.h: ... here.
34397 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
34398 * sysdeps/nptl/tst-mqueue8x.c: ... here.
34399 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
34400 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
34401 * nptl/sysdeps/pthread/allocalim.h: Moved ...
34402 * sysdeps/pthread/allocalim.h: ... here.
34403 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
34404 * sysdeps/pthread/bits/sigthread.h: ... here.
34405 * nptl/sysdeps/pthread/flockfile.c: Moved ...
34406 * sysdeps/pthread/flockfile.c: ... here.
34407 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
34408 * sysdeps/pthread/ftrylockfile.c: ... here.
34409 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
34410 * sysdeps/pthread/funlockfile.c: ... here.
34411 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
34412 * sysdeps/pthread/posix-timer.h: ... here.
34413 * nptl/sysdeps/pthread/timer_create.c: Moved ...
34414 * sysdeps/pthread/timer_create.c: ... here.
34415 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
34416 * sysdeps/pthread/timer_delete.c: ... here.
34417 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
34418 * sysdeps/pthread/timer_getoverr.c: ... here.
34419 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
34420 * sysdeps/pthread/timer_gettime.c: ... here.
34421 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
34422 * sysdeps/pthread/timer_routines.c: ... here.
34423 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
34424 * sysdeps/pthread/timer_settime.c: ... here.
34425 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
34426 * sysdeps/pthread/tst-timer.c: ... here.
34427 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
34428 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
34429
34430 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
34431 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
34432
34433 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
34434 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
34435 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
34436 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
34437 Update #include target.
34438 * nptl/sysdeps/i386/i686/Makefile: Moved ...
34439 * sysdeps/i386/i686/nptl/Makefile: ... here.
34440 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
34441 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
34442 Update #include target.
34443 * nptl/sysdeps/i386/i686/tls.h: Moved ...
34444 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
34445 * nptl/sysdeps/i386/Makefile: Moved ...
34446 * sysdeps/i386/nptl/Makefile: ... here.
34447 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
34448 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
34449 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
34450 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
34451 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
34452 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
34453 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
34454 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
34455 * sysdeps/i386/nptl/pthreaddef.h: ... here.
34456 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
34457 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
34458 * nptl/sysdeps/i386/tls.h: Moved ...
34459 * sysdeps/i386/nptl/tls.h: ... here.
34460
34461 * sysdeps/sh/Makefile [$(subdir) = csu]
34462 (gen-as-const-headers): Add tcb-offsets.sym.
34463 * nptl/sysdeps/sh/Makefile: File removed.
34464 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
34465 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
34466 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
34467 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
34468 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
34469 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
34470 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
34471 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
34472 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
34473 * sysdeps/sh/nptl/pthreaddef.h: ... here.
34474 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
34475 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
34476 * nptl/sysdeps/sh/tls.h: Moved ...
34477 * sysdeps/sh/nptl/tls.h: ... here.
34478 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
34479 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
34480 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
34481 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
34482 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
34483 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
34484 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
34485 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
34486 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
34487 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
34488 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
34489 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
34490 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
34491 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
34492 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
34493 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
34494 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
34495 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
34496 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
34497 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
34498 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
34499 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
34500 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
34501 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
34502 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
34503 Moved ...
34504 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
34505 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
34506 Moved ...
34507 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
34508 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
34509 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
34510 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
34511 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
34512 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
34513 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
34514 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
34515 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
34516 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
34517 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
34518 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
34519 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
34520 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
34521 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
34522 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
34523 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
34524 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
34525 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
34526
34527 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
34528
34529 * posix/spawn_faction_addopen.c: Include string.h.
34530
34531 2014-06-11 Roland McGrath <roland@hack.frob.com>
34532
34533 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
34534 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
34535 * nptl/sysdeps/x86_64/Makefile: Moved ...
34536 * sysdeps/x86_64/nptl/Makefile: ... here.
34537 * nptl/sysdeps/x86_64/configure: Moved ...
34538 * sysdeps/x86_64/nptl/configure: ... here.
34539 * nptl/sysdeps/x86_64/configure.ac: Moved ...
34540 * sysdeps/x86_64/nptl/configure.ac: ... here.
34541 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
34542 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
34543 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
34544 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
34545 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
34546 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
34547 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
34548 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
34549 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
34550 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
34551 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
34552 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
34553 * nptl/sysdeps/x86_64/tls.h: Moved ...
34554 * sysdeps/x86_64/nptl/tls.h: ... here.
34555 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
34556 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
34557 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
34558 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
34559
34560 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
34561
34562 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34563
34564 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34565
34566 2014-06-11 Joseph Myers <joseph@codesourcery.com>
34567
34568 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
34569 type.
34570 [POSIX] (off_t): Likewise.
34571 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
34572 [POSIX] (S_ISBLK): Require macro.
34573 [POSIX] (S_ISCHR): Likewise.
34574 [POSIX] (S_ISDIR): Likewise.
34575 [POSIX] (S_ISFIFO): Likewise.
34576 [POSIX] (S_ISREG): Likewise.
34577 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
34578 optional-macro.
34579 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
34580 type.
34581 [POSIX] (time_t): Likewise.
34582 [POSIX] (timer_t): Likewise.
34583
34584 2014-06-11 Florian Weimer <fweimer@redhat.com>
34585
34586 [BZ #17048]
34587 * posix/spawn_int.h (struct __spawn_action): Make the path string
34588 non-const to support deallocation.
34589 * posix/spawn_faction_addopen.c
34590 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
34591 * posix/spawn_faction_destroy.c
34592 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
34593 path in all spawn_do_open actions.
34594 * posix/tst-spawn.c (do_test): Exercise the copy operation in
34595 posix_spawn_file_actions_addopen.
34596
34597 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
34598
34599 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
34600 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
34601 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
34602 conditional code always true.
34603 (__libc_vfork): New alias.
34604
34605 2014-06-11 Roland McGrath <roland@hack.frob.com>
34606
34607 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34608 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
34609
34610 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
34611
34612 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34613 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
34614
34615 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
34616 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
34617
34618 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34619 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
34620
34621 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
34622
34623 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
34624 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
34625 multiarch strcmp for PPC64.
34626 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
34627 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
34628 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
34629 multiarch optimizations.
34630 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34631 (__libc_ifunc_impl_list): Likewise.
34632
34633 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34634
34635 * benchtests/scripts/validate_benchout.py: New script.
34636 * benchtests/Makefile (bench-func): Call it.
34637 * benchtests/scripts/benchout.schema.json: New file.
34638
34639 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
34640
34641 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
34642 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
34643 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
34644 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
34645 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
34646 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
34647 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
34648 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
34649 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
34650 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
34651 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
34652 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
34653 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
34654 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
34655 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
34656 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
34657 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
34658 Moved ...
34659 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
34660 ... here.
34661 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
34662 Moved ...
34663 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
34664 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
34665 Moved ...
34666 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
34667 ... here.
34668 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
34669 Moved ...
34670 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
34671 ... here.
34672 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
34673 Moved ...
34674 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
34675 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
34676 Moved ...
34677 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
34678 ... here.
34679 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
34680 Moved ...
34681 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
34682 ... here.
34683 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
34684 Moved ...
34685 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
34686 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
34687 Moved ...
34688 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
34689 ... here.
34690 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
34691 Moved ...
34692 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
34693 ... here.
34694 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
34695 Moved ...
34696 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
34697 ... here.
34698 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
34699 Moved ...
34700 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
34701 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
34702 Moved ...
34703 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
34704 ... here.
34705 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
34706 Moved ...
34707 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
34708 ... here.
34709 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
34710 Moved ...
34711 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
34712 ... here.
34713 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
34714 Moved ...
34715 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
34716 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
34717 Moved ...
34718 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
34719 ... here.
34720 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
34721 Moved ...
34722 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
34723 ... here.
34724 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
34725 Moved ...
34726 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
34727 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
34728 Moved ...
34729 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
34730 ... here.
34731 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
34732 Moved ...
34733 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
34734 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
34735 Moved ...
34736 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
34737 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
34738 Moved ...
34739 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
34740 ... here.
34741 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
34742 Moved ...
34743 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
34744 ... here.
34745 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
34746 Moved ...
34747 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
34748 ... here.
34749 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
34750 Moved ...
34751 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
34752 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
34753 Moved ...
34754 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
34755 ... here.
34756 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
34757 Moved ...
34758 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
34759 ... here.
34760 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
34761 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
34762 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
34763 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
34764 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
34765 Moved ...
34766 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
34767 ... here.
34768 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
34769 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
34770 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
34771 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
34772 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
34773 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
34774 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
34775 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
34776 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
34777 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
34778 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
34779 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
34780 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
34781 Moved ...
34782 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
34783 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
34784 Moved ...
34785 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
34786 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
34787 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
34788 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
34789 Moved ...
34790 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
34791 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
34792 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
34793 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
34794 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
34795 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
34796 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
34797
34798 2014-06-10 Wilco <wdijkstr@arm.com>
34799
34800 * math/test-fenv-return.c: New file.
34801 * math/Makefile: Add new test test-fenv-return.
34802
34803 2014-06-10 Joseph Myers <joseph@codesourcery.com>
34804
34805 [BZ #17042]
34806 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
34807 when x - 1 is zero.
34808 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
34809 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
34810 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
34811 0.0L for an argument of 1.0L.
34812 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
34813 Likewise.
34814 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
34815 value when x - 1 is zero.
34816 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
34817 * sysdeps/i386/fpu/libm-test-ulps: Update.
34818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34819
34820 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
34821
34822 [BZ #15119]
34823 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
34824
34825 2014-06-09 Roland McGrath <roland@hack.frob.com>
34826
34827 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
34828 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
34829
34830 2014-06-09 Roland McGrath <roland@hack.frob.com>
34831
34832 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34833 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
34834
34835 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34836 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
34837
34838 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34839 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
34840
34841 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34842 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
34843
34844 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
34845 if not already defined.
34846 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
34847 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
34848 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
34849 (TLS_INIT_TP): Use it.
34850 (TLS_DEFINE_INIT_TP): New macro.
34851 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
34852
34853 2014-06-09 Joseph Myers <joseph@codesourcery.com>
34854
34855 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
34856 constant.
34857 [POSIX] (IXANY): Likewise.
34858 [POSIX] (OLCUC): Likewise.
34859 [POSIX || POSIX2008] (CBAUD): Do not allow.
34860 [POSIX || POSIX2008] (DEFECHO): Likewise.
34861 [POSIX || POSIX2008] (ECHOCTL): Likewise.
34862 [POSIX || POSIX2008] (ECHOKE): Likewise.
34863 [POSIX || POSIX2008] (ECHOPRT): Likewise.
34864 [POSIX || POSIX2008] (EXTA): Likewise.
34865 [POSIX || POSIX2008] (EXTB): Likewise.
34866 [POSIX || POSIX2008] (FLUSHO): Likewise.
34867 [POSIX || POSIX2008] (LOBLK): Likewise.
34868 [POSIX || POSIX2008] (PENDIN): Likewise.
34869 [POSIX || POSIX2008] (SWTCH): Likewise.
34870 [POSIX || POSIX2008] (VDISCARD): Likewise.
34871 [POSIX || POSIX2008] (VDSUSP): Likewise.
34872 [POSIX || POSIX2008] (VLNEXT): Likewise.
34873 [POSIX || POSIX2008] (VREPRINT): Likewise.
34874 [POSIX || POSIX2008] (VSTATUS): Likewise.
34875 [POSIX || POSIX2008] (VWERASE): Likewise.
34876 (B*): Change to B[0123456789]*.
34877 * conform/data/time.h-data [POSIX || UNIX98]
34878 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
34879 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
34880 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
34881 [POSIX] (tm_*): Do not allow.
34882
34883 2014-06-07 Joseph Myers <joseph@codesourcery.com>
34884
34885 * Makefile (install): Don't set LANGUAGE.
34886 * Makefile.in (install): Likewise.
34887 * assert/Makefile (test-assert-ENV): Remove variable.
34888 (test-assert-perr-ENV): Likewise.
34889 * elf/Makefile (neededtest4-ENV): Likewise.
34890 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
34891 [$(cross-compiling) = no]: Don't set LANGUAGE.
34892 * io/ftwtest-sh (LANG): Remove variable.
34893 * libio/Makefile (tst-widetext-ENV): Likewise.
34894 * manual/install.texi (Running make install): Don't refer to
34895 environment settings for make install.
34896 * INSTALL: Regenerated.
34897 * nptl/tst-tls6.sh: Don't set LANG.
34898 * posix/globtest.sh (LANG): Remove variable.
34899 * string/Makefile (tester-ENV): Likewise.
34900 (inl-tester-ENV): Likewise.
34901 (noinl-tester-ENV): Likewise.
34902 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
34903 [$(cross-compiling) = no]: Don't set LANGUAGE.
34904 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
34905 without explicit environment settings.
34906
34907 2014-06-06 Roland McGrath <roland@hack.frob.com>
34908
34909 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
34910 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
34911 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
34912 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
34913
34914 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
34915
34916 * crypt/crypt-private.h [DOS]: Add some includes taken from the
34917 other files in the crypt directory.
34918 * crypt/crypt.c: Remove duplicate includes.
34919 * crypt/crypt-entry.c: Likewise.
34920 * crypt/crypt_util.c: Likewise.
34921
34922 2014-06-06 Joseph Myers <joseph@codesourcery.com>
34923
34924 * Makeconfig (run-program-env): New variable.
34925 (run-program-prefix-before-env): Likewise.
34926 (run-program-prefix-after-env): Likewise.
34927 (run-program-prefix): Define in terms of new variables.
34928 (built-program-cmd-before-env): New variable.
34929 (built-program-cmd-after-env): Likewise.
34930 (built-program-cmd): Define in terms of new variables.
34931 (test-program-prefix-before-env): New variable.
34932 (test-program-prefix-after-env): Likewise.
34933 (test-program-prefix): Define in terms of new variables.
34934 (test-program-cmd-before-env): New variable.
34935 (test-program-cmd-after-env): Likewise.
34936 (test-program-cmd): Define in terms of new variables.
34937 * Rules (make-test-out): Use $(run-program-env).
34938 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
34939 (help): Do not mention environment variables. Mention
34940 --timeoutfactor option.
34941 (timeoutfactor): New variable.
34942 (blacklist_exports): Remove function.
34943 (exports): Remove variable.
34944 (command): Do not include ${exports}.
34945 * manual/install.texi (Configuring and compiling): Do not mention
34946 test wrappers preserving environment variables. Mention that last
34947 assignment to a variable must take precedence.
34948 * INSTALL: Regenerated.
34949 * benchtests/Makefile (run-bench): Use $(run-program-env).
34950 * catgets/Makefile ($(objpfx)test1.cat): Use
34951 $(built-program-cmd-before-env), $(run-program-env) and
34952 $(built-program-cmd-after-env).
34953 ($(objpfx)test2.cat): Do not specify environment variables
34954 explicitly.
34955 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
34956 $(run-program-env) and $(built-program-cmd-after-env).
34957 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
34958 $(run-program-env) and $(test-program-cmd-after-env).
34959 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
34960 explicitly.
34961 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
34962 run_program_env and test_program_cmd_after_env arguments.
34963 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
34964 * elf/tst-pathopt.sh: Use run_program_env argument.
34965 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
34966 $(test-wrapper-env) and $(run-program-env).
34967 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
34968 run_program_env arguments.
34969 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
34970 * intl/Makefile ($(objpfx)tst-gettext.out): Use
34971 $(test-program-prefix-before-env), $(run-program-env) and
34972 $(test-program-prefix-after-env).
34973 ($(objpfx)tst-gettext2.out): Likewise.
34974 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
34975 run_program_env and test_program_prefix_after_env arguments.
34976 * intl/tst-gettext2.sh: Likewise.
34977 * intl/tst-gettext4.sh: Do not set environment variables
34978 explicitly.
34979 * intl/tst-gettext6.sh: Likewise.
34980 * intl/tst-translit.sh: Likewise.
34981 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
34982 $(test-program-prefix-before-env), $(run-program-env) and
34983 $(test-program-prefix-after-env).
34984 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
34985 run_program_env and test_program_prefix_after_env arguments.
34986 * math/Makefile (run-regen-ulps): Use $(run-program-env).
34987 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
34988 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
34989 explicitly with each use of ${test_wrapper_env}.
34990 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
34991 $(test-program-prefix-before-env), $(run-program-env) and
34992 $(test-program-prefix-after-env).
34993 * posix/tst-getconf.sh: Do not set environment variables
34994 explicitly.
34995 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
34996 run_program_env and test_program_prefix_after_env arguments.
34997 * stdio-common/tst-printf.sh: Do not set environment variables
34998 explicitly.
34999 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
35000 $(test-program-prefix-before-env), $(run-program-env) and
35001 $(test-program-prefix-after-env).
35002 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
35003 run_program_env and test_program_prefix_after_env arguments.
35004 Split $test calls into $test_pre and $test.
35005 * timezone/Makefile (build-testdata): Use
35006 $(built-program-cmd-before-env), $(run-program-env) and
35007 $(built-program-cmd-after-env).
35008
35009 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35010
35011 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
35012 strlen for non SHARED builds.
35013
35014 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
35015
35016 * nptl/allocatestack.c (check_list): Inlined function...
35017 (__reclaim_stacks): ... here.
35018
35019 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
35020
35021 [BZ #15698]
35022 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
35023 memory overrun.
35024
35025 2014-06-05 Joseph Myers <joseph@codesourcery.com>
35026
35027 * Rules (make-test-out): Include
35028 LOCPATH=$(common-objpfx)localedata in default environment.
35029 * debug/Makefile (tst-chk1-ENV): Remove variable.
35030 (tst-chk2-ENV): Likewise.
35031 (tst-chk3-ENV): Likewise.
35032 (tst-chk4-ENV): Likewise.
35033 (tst-chk5-ENV): Likewise.
35034 (tst-chk6-ENV): Likewise.
35035 (tst-lfschk1-ENV): Likewise.
35036 (tst-lfschk2-ENV): Likewise.
35037 (tst-lfschk3-ENV): Likewise.
35038 (tst-lfschk4-ENV): Likewise.
35039 (tst-lfschk5-ENV): Likewise.
35040 (tst-lfschk6-ENV): Likewise.
35041 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
35042 (tst-iconv7-ENV): Likewise.
35043 * intl/Makefile (LOCPATH-ENV): Likewise.
35044 (tst-codeset-ENV): Likewise.
35045 (tst-gettext3-ENV): Likewise.
35046 (tst-gettext5-ENV): Likewise.
35047 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
35048 (tst-fopenloc-ENV): Likewise.
35049 (tst-fgetws-ENV): Remove variable.
35050 (tst-ungetwc1-ENV): Likewise.
35051 (tst-ungetwc2-ENV): Likewise.
35052 (bug-ungetwc2-ENV): Likewise.
35053 (tst-swscanf-ENV): Likewise.
35054 (bug-ftell-ENV): Likewise.
35055 (tst-fgetwc-ENV): Likewise.
35056 (tst-fseek-ENV): Likewise.
35057 (tst-ftell-partial-wide-ENV): Likewise.
35058 (tst-ftell-active-handler-ENV): Likewise.
35059 (tst-ftell-append-ENV): Likewise.
35060 * posix/Makefile (tst-fnmatch-ENV): Likewise.
35061 (tst-regexloc-ENV): Likewise.
35062 (bug-regex1-ENV): Likewise.
35063 (tst-regex-ENV): Likewise.
35064 (tst-regex2-ENV): Likewise.
35065 (bug-regex5-ENV): Likewise.
35066 (bug-regex6-ENV): Likewise.
35067 (bug-regex17-ENV): Likewise.
35068 (bug-regex18-ENV): Likewise.
35069 (bug-regex19-ENV): Likewise.
35070 (bug-regex20-ENV): Likewise.
35071 (bug-regex22-ENV): Likewise.
35072 (bug-regex23-ENV): Likewise.
35073 (bug-regex25-ENV): Likewise.
35074 (bug-regex26-ENV): Likewise.
35075 (bug-regex30-ENV): Likewise.
35076 (bug-regex32-ENV): Likewise.
35077 (bug-regex33-ENV): Likewise.
35078 (bug-regex34-ENV): Likewise.
35079 (bug-regex35-ENV): Likewise.
35080 (tst-rxspencer-ENV): Likewise.
35081 (tst-rxspencer-no-utf8-ENV): Likewise.
35082 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
35083 (tst-sscanf-ENV): Likewise.
35084 (tst-swprintf-ENV): Likewise.
35085 (tst-swscanf-ENV): Likewise.
35086 (test-vfprintf-ENV): Likewise.
35087 (scanf13-ENV): Likewise.
35088 (bug14-ENV): Likewise.
35089 (tst-grouping-ENV): Likewise.
35090 * stdlib/Makefile (tst-strtod-ENV): Likewise.
35091 (tst-strtod3-ENV): Likewise.
35092 (tst-strtod4-ENV): Likewise.
35093 (tst-strtod5-ENV): Likewise.
35094 (testmb2-ENV): Likewise./
35095 * string/Makefile (tst-strxfrm-ENV): Likewise.
35096 (tst-strxfrm2-ENV): Likewise.
35097 (bug-strcoll1-ENV): Likewise.
35098 (test-strcasecmp-ENV): Likewise.
35099 (test-strncasecmp-ENV): Likewise.
35100 * time/Makefile (tst-strptime-ENV): Likewise.
35101 (tst-ftime_l-ENV): Likewise.
35102 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
35103 (tst-mbrtowc-ENV): Likewise.
35104 (tst-wcrtomb-ENV): Likewise.
35105 (tst-mbrtowc2-ENV): Likewise.
35106 (tst-c16c32-1-ENV): Likewise.
35107 (tst-mbsnrtowcs-ENV): Likewise.
35108
35109 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
35110
35111 * manual/resource.texi (How to get information about the memory
35112 subsystem?): Fix typo.
35113 Reported by Peon de la Parra Ivan <peon@keba.com>
35114
35115 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
35116
35117 [BZ #16882]
35118 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
35119 (pthread_spin_lock): Branch out of spin loop to proper location.
35120 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
35121 (pthread_spin_lock): Likewise.
35122
35123 * nptl/tst-spin4.c: New test.
35124 * nptl/Makefile (tests): Add tst-spin4.
35125
35126 2014-06-03 Andreas Schwab <schwab@suse.de>
35127
35128 [BZ #15946]
35129 * resolv/res_send.c (send_dg): Reload file descriptor after
35130 calling reopen.
35131
35132 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
35133
35134 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
35135
35136 2014-06-03 Richard Henderson <rth@redhat.com>
35137
35138 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
35139 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
35140 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
35141 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
35142 in the SAVE_PID block.
35143 (__libc_vfork): New alias.
35144 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
35145
35146 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
35147 child in registers, not on the stack. Remove RESET_PID conditionals.
35148 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
35149
35150 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
35151
35152 * sysdeps/aarch64/libm-test-ulps: Regenerate.
35153
35154 2014-06-03 Wilco <wdijkstr@arm.com>
35155
35156 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
35157 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
35158 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
35159 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
35160 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
35161 Likewise.
35162
35163 2014-06-03 Wilco <wdijkstr@arm.com>
35164
35165 * sysdeps/aarch64/fpu/math_private.h
35166 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
35167 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
35168 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
35169 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
35170 Fix declarations.
35171
35172 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
35173
35174 * crypt/crypt-private.h: Include ufc-crypt.h.
35175 (__b64_from_24bit): Declare extern.
35176 * crypt/crypt_util.c(__b64_from_24bit): New function.
35177 (b64t): New static const variable.
35178 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
35179 (b64t): Remove variable.
35180 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
35181 * crypt/sha256-crypt.c: Include crypt-private.h.
35182 (b64t): Remove variable.
35183 (__sha256_crypt_r): Remove b64_from_24bit and replace
35184 with __b64_from_24bit.
35185 * crypt/sha512-crypt.c: Likewise.
35186
35187 2014-06-02 Roland McGrath <roland@hack.frob.com>
35188
35189 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
35190 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
35191 Label the code __libc_vfork rather than __vfork.
35192 [!NOT_IN_libc] (vfork): Define as weak alias.
35193 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
35194 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
35195 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
35196
35197 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
35198
35199 * malloc/malloc.c (malloc_info): Fix format specifier for
35200 n_mmaps.
35201
35202 2014-06-02 Wilco <wdijkstr@arm.com>
35203
35204 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
35205 FPCR write.
35206
35207 2014-06-02 Wilco <wdijkstr@arm.com>
35208
35209 [BZ #17009]
35210 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
35211 Rewrite to reduce FPCR/FPSR accesses.
35212
35213 2014-06-01 David S. Miller <davem@davemloft.net>
35214
35215 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35216
35217 2014-05-31 David S. Miller <davem@davemloft.net>
35218
35219 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
35220 to occur in round to nearest mode when |x| >= 2.0
35221
35222 2014-05-30 Richard Henderson <rth@twiddle.net>
35223
35224 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
35225 (PSEUDO_RET_NOERRNO): Remove.
35226 (ret): Don't redefine.
35227 (ret_NOERRNO): Define in terms of ret.
35228 (ret_ERRVAL): Likewise.
35229
35230 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
35231 use of PSEUDO_RET; perform the error check directly.
35232
35233 2014-05-30 Marko Myllynen <myllynen@redhat.com>
35234
35235 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
35236 with __int128_t.
35237
35238 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
35239
35240 * malloc/malloc (malloc_info): Fix formatting.
35241
35242 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
35243 Roland McGrath <roland@hack.frob.com>
35244
35245 * malloc/malloc (malloc_info): Also print mmapped statistics.
35246
35247 2014-05-30 Roland McGrath <roland@hack.frob.com>
35248
35249 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
35250 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
35251
35252 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
35253
35254 * malloc/malloc.c (malloc_info): Inline mi_arena.
35255
35256 2014-05-29 Richard Henderson <rth@twiddle.net>
35257
35258 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
35259 Remove comma before expanding ASM_ARGS_##nr.
35260 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
35261 Make _x0 a strict output; make _x8 a strict input; adjust expansion
35262 of ASM_ARGS_##nr.
35263 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
35264 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
35265 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
35266 (ASM_ARGS_1): Add leading comma.
35267
35268 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
35269 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
35270 to __errno_location.
35271 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
35272 Remove the expected plt for __errno_location.
35273
35274 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
35275 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
35276 call to __read_tp.
35277
35278 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
35279 Always allocate 64 bytes of stack frame. Use ldp/stp to create
35280 it and break it down.
35281 (DOCARGS_0, DOCARGS_1): Do nothing.
35282 (DOCARGS_2): Update to store into the new stack frame.
35283 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
35284 (UNDOCARGS_1): Update to restore from the new stack frame.
35285 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
35286 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
35287
35288 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
35289 (SINGLE_THREAD_P): New parameter for result regno.
35290 (PSEUDO): Update to match; use cbz instead of beq.
35291
35292 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
35293 Use ENTRY to define the _nocancel entry point. Share the syscall
35294 and syscall error check paths with the cancel path.
35295 (PSEUDO_END): New.
35296
35297 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
35298 whitespace; tabs before and after asm mnemonics.
35299
35300 2014-05-29 Eric Wong <normalperson@yhbt.net>
35301
35302 [BZ #15132]
35303 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35304 Call fstat64 or stat64 internally, depending on arguments passed.
35305 Replace stat buffer argument with file descriptor argument.
35306 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
35307 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
35308 Pass fd to __internal_statvfs instead of calling fstat64.
35309 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
35310 Pass fd to __internal_statvfs64 instead of calling fstat64.
35311 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
35312 Pass -1 to __internal_statvfs instead of calling stat64.
35313 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
35314 Pass -1 to __internal_statvfs64 instead of calling stat64.
35315
35316 2014-05-28 Roland McGrath <roland@hack.frob.com>
35317
35318 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
35319 that was previously under [RESET_PID].
35320 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
35321
35322 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
35323 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
35324
35325 2014-05-27 Roland McGrath <roland@hack.frob.com>
35326
35327 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
35328
35329 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
35330 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
35331
35332 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
35333
35334 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
35335
35336 2014-05-27 Andreas Schwab <schwab@suse.de>
35337
35338 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
35339 TLS_INIT_TP macro.
35340 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
35341 * elf/rtld.c (init_tls, dl_main): Likewise.
35342 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
35343 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
35344 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
35345 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
35346 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
35347 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
35348 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
35349 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
35350 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
35351 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
35352 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
35353 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
35354 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
35355 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
35356 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
35357 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
35358 * sysdeps/generic/tls.h: Update description.
35359
35360 2014-05-27 Will Newton <will.newton@linaro.org>
35361
35362 [BZ #16990]
35363 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
35364 and restore r2 rather than just restoring.
35365
35366 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
35367
35368 [BZ #16724]
35369 * libio/tst-ftell-append.c: New test case.
35370 * libio/Makefile (tests): Add test case.
35371 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
35372 append mode.
35373 * libio/wfileops.c (do_ftell_wide): Likewise.
35374
35375 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35376
35377 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35378
35379 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
35380 ...
35381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
35382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
35383 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
35384 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
35385 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
35386 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
35387 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
35388 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
35389 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
35390 Moved ...
35391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
35392 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
35393 Moved ...
35394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
35395 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
35396 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
35397 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
35398 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
35399 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
35400 ...
35401 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
35402 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
35403 Moved ...
35404 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
35405 here.
35406 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
35407 ...
35408 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
35409 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
35410 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
35411
35412 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
35413 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
35414 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
35415 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
35416
35417 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
35418 merge into ...
35419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
35420 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
35421 ...
35422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
35423 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
35424 ...
35425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
35426 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
35427 Moved ...
35428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
35429 here.
35430 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
35431 Moved ...
35432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
35433 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
35434 Moved ...
35435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
35436
35437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
35438 conditional [RESET_PID].
35439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
35440 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
35441 removed.
35442 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
35443 removed.
35444
35445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
35446 <tcb-offsets.h>.
35447 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
35448 (__libc_vfork): New strong alias.
35449 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
35450 removed.
35451 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
35452 Removed.
35453
35454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
35455 <tcb-offsets.h>.
35456 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
35457 (__libc_vfork): New strong alias.
35458 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
35459 removed.
35460 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
35461 removed.
35462
35463 2014-05-26 Carlos O'Donell <carlos@redhat.com>
35464
35465 * malloc/malloc.c (mi_arena): New function.
35466 (malloc_info): Remove nested function mi_arena. Call non-nosted
35467 function mi_arena.
35468
35469 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35470
35471 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
35472 by insrwi.
35473 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
35474 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
35475 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
35476 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
35477 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
35478 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
35479 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
35480
35481 2014-05-26 Andreas Schwab <schwab@suse.de>
35482
35483 [BZ #16984]
35484 * locale/programs/repertoire.c (repertoire_read): Add slash
35485 between I18NPATH element and file name.
35486 * locale/programs/locfile.c (locfile_read): Likewise.
35487
35488 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
35489
35490 * nptl/pthread_mutexattr_settype.c
35491 (__pthread_mutexattr_settype):
35492 Disable lock elision for PTHREAD_MUTEX_NORMAL.
35493
35494 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
35495
35496 * nptl/tst-mutex5 (do_test):
35497 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
35498
35499 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
35500
35501 * benchtests/README: Document 'init' directive.
35502 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
35503 BENCH_INIT.
35504 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
35505 (parse_file): Recognize 'init' directive.
35506
35507 2014-05-26 Kyle McMartin <kyle@redhat.com>
35508
35509 [BZ #16796]
35510 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
35511 alignment of struct pthread.
35512
35513 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
35514
35515 [BZ #16878]
35516 * nscd/netgroupcache.c (addgetnetgrentX): Look for
35517 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
35518 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
35519 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
35520
35521 2014-05-25 Richard Henderson <rth@twiddle.net>
35522
35523 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
35524 (SINGLE_THREAD_P_PIC): Remove.
35525 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
35526 (SINGLE_THREAD_P_PIC): Remove.
35527
35528 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
35529 branch to syscall error ...
35530 (PSEUDO): ... here.
35531 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
35532 from __local_syscall_error to .Lsyscall_error.
35533 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
35534 (SYSCALL_ERROR): Update label name.
35535
35536 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
35537 Do not use DOARGS/UNDOARGS.
35538 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
35539 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
35540 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
35541 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
35542 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
35543
35544 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
35545 block comment.
35546
35547 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
35548 define if !NOT_IN_libc.
35549 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
35550 define with non-default symbol versions.
35551
35552 2014-05-23 Richard Henderson <rth@twiddle.net>
35553
35554 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
35555 (vfork, __vfork): Define via compat_symbol.
35556
35557 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
35558 [!HAVE_IFUNC] (vfork_compat): Remove.
35559 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
35560
35561 2014-05-23 Joseph Myers <joseph@codesourcery.com>
35562
35563 [BZ #16978]
35564 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
35565 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
35566 variable.
35567
35568 2014-05-23 Richard Henderson <rth@twiddle.net>
35569
35570 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
35571 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
35572 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
35573 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
35574
35575 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
35576 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
35577 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
35578 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
35579 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
35580 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
35581 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
35582 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
35583 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
35584 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
35585 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
35586 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
35587 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
35588 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
35589 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
35590 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
35591 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
35592 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
35593 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
35594 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
35595 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
35596 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
35597 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
35598 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
35599 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
35600 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
35601 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
35602 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
35603 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
35604 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
35605 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
35606 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
35607 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
35608 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
35609 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
35610 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
35611 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
35612 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
35613 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
35614 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
35615 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
35616 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
35617 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
35618 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
35619 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
35620 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
35621 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
35622 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
35623 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
35624 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
35625 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
35626 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
35627 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
35628 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
35629 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
35630 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
35631
35632 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
35633 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
35634 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
35635 before exiting on error.
35636 (__libc_vfork): New strong alias.
35637 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
35638 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
35639
35640 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
35641 that was previously under [RESET_PID].
35642 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
35643
35644 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
35645
35646 2014-05-23 Joseph Myers <joseph@codesourcery.com>
35647
35648 [BZ #16977]
35649 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
35650 value when x - 1 is zero.
35651 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
35652 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
35653 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
35654 0.0L for an argument of 1.0L.
35655 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
35656 Likewise.
35657 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
35658 value when x - 1 is zero.
35659 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
35660 * sysdeps/i386/fpu/libm-test-ulps: Update.
35661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35662
35663 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
35664
35665 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
35666 alphasort and versionsort.
35667
35668 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35669
35670 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
35671 macro.
35672 [copysignf]: Likewise.
35673
35674 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
35675
35676 * crypt/md5-crypt.c: Fix formatting.
35677
35678 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
35679
35680 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
35681 (b64_from_24bit): New function.
35682
35683 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35684
35685 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
35686 libc_hidden_builtin_def to ifunc.
35687 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
35688 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
35689
35690 2014-05-21 Roland McGrath <roland@hack.frob.com>
35691
35692 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
35693 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
35694
35695 2014-05-21 Joseph Myers <joseph@codesourcery.com>
35696
35697 * nscd/Depend (linuxthreads): Remove.
35698 (nptl): Add.
35699 * resolv/Depend (linuxthreads): Remove.
35700 * rt/Depend (linuxthreads): Remove.
35701
35702 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
35703 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
35704 $(common-objpfx)elf/.
35705 (link-libc-before-gnulib): Likewise.
35706 (elfobjdir): Remove variable.
35707 * Makefile (install): Use $(elf-objpfx) instead of
35708 $(common-objpfx)elf/.
35709 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
35710 $(elfobjdir)/.
35711 (link-libc-deps): Likewise.
35712 ($(common-objpfx)libc.so): Likewise.
35713 ($(common-objpfx)linkobj/libc.so): Likewise.
35714 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
35715 instead of $(common-objpfx)elf/.
35716 (symbolic-link-list): Likewise.
35717 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
35718 [$(cross-compiling) = no]: Likewise.
35719 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
35720 $(elfobjdir)/.
35721 (static-gnulib-arch): Likewise.
35722 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
35723 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
35724 $(common-objpfx)elf/.
35725
35726 2014-05-21 Richard Henderson <rth@redhat.com>
35727
35728 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
35729 (SINGLE_THREAD_P): Use the correct width load. Fold
35730 into the ldr offset.
35731
35732 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
35733 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
35734
35735 2014-05-20 Joseph Myers <joseph@codesourcery.com>
35736
35737 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
35738 (libgcc_s_resume): Use __attribute_used__.
35739 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
35740 Likewise.
35741
35742 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35743
35744 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
35745 optimization when used with float constants.
35746
35747 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35748
35749 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
35750
35751 [BZ #16915]
35752 * locale/nl_langinfo_l.c: Make direct reference to every
35753 _nl_current_CATEGORY symbol.
35754 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
35755 (tests-static): Add tst-langinfo-static.
35756 (tests-special): Add tst-langinfo-static.out.
35757 ($(objpfx)tst-langinfo.out): Redirect output.
35758 ($(objpfx)tst-langinfo-static.out): New.
35759 * localedata/tst-langinfo.sh: Send output to stdout.
35760 * localedata/tst-langinfo-static.c: New file.
35761
35762 [BZ #16965]
35763 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
35764 when the shift amount is modulo the limb size.
35765
35766 2014-05-20 Richard Henderson <rth@redhat.com>
35767
35768 [BZ #16967]
35769 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
35770 Change type of sa_flags from unsigned int to int.
35771
35772 [BZ #16966]
35773 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
35774
35775 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
35776
35777 2014-05-20 Will Newton <will.newton@linaro.org>
35778
35779 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
35780 Test the return value of the system call in the nocancel case.
35781
35782 2014-05-20 Will Newton <will.newton@linaro.org>
35783 Yvan Roux <yvan.roux@linaro.org>
35784
35785 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
35786 #include of asm/ptrace.h.
35787 (PTRACE_GET_THREAD_AREA): Remove #undef.
35788 (PTRACE_GETHBPREGS): Likewise.
35789 (PTRACE_SETHBPREGS): Likewise.
35790 (struct user_regs_struct): New structure.
35791 (struct user_fpsimd_struct): New structure.
35792 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
35793 #include of asm/ptrace.h and second #include of sys/user.h.
35794 (PTRACE_GET_THREAD_AREA): Remove #undef.
35795 (PTRACE_GETHBPREGS): Likewise.
35796 (PTRACE_SETHBPREGS): Likewise.
35797 (ELF_NGREG): Use new struct user_regs_struct.
35798 (elf_fpregset_t): Use new struct user_fpsimd_struct.
35799
35800 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35801
35802 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
35803 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
35804
35805 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
35806
35807 [BZ #16958]
35808 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
35809 membar to avoid block loads/stores to overlap previous stores.
35810
35811 2014-05-17 Richard Henderson <rth@redhat.com>
35812
35813 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
35814 Create the __##syscall_name##_nocancel entry point.
35815 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
35816 Remove; let the sysdep-cancel.h code create it.
35817
35818 2014-05-17 David S. Miller <davem@davemloft.net>
35819
35820 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
35821 Protect with __USE_GNU.
35822 (TIOCSET_TEMPT): Likewise.
35823 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
35824 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
35825 these are already provided in bits/ioctl-types.h
35826
35827 2014-05-16 Roland McGrath <roland@hack.frob.com>
35828
35829 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
35830 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
35831
35832 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
35833 Use wait4 regardless of [__NR_waitpid].
35834
35835 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
35836
35837 PR libgcc/60166
35838 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
35839 (_FP_NANSIGN_Q): Set the quiet bit.
35840
35841 2014-05-16 Joseph Myers <joseph@codesourcery.com>
35842
35843 * benchtests/Makefile
35844 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
35845 not $(common-objpfx)math/libm.so.
35846 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
35847 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
35848 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
35849 $(common-objpfx)dlfcn/libdl.so.
35850 ($(objpfx)tst-audit8): Depend on $(libm), not
35851 $(common-objpfx)math/libm.so.
35852 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
35853 not $(common-objpfx)dlfcn/libdl.so.
35854 * math/Makefile
35855 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
35856 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
35857 [$(build-shared) = yes].
35858 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
35859 $(common-objpfx)nptl/libpthread.so.
35860 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
35861 $(common-objpfx)math/libm.so$(libm.so-version) or
35862 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
35863 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
35864 $(common-objpfx)dlfcn/libdl.so.
35865 * setjmp/Makefile (link-libm): Remove variable.
35866 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
35867 * stdio-common/Makefile (link-libm): Remove variable.
35868 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
35869 * stdlib/Makefile (link-libm): Remove variable.
35870 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
35871 ($(objpfx)tst-strtod-round): Likewise.
35872 ($(objpfx)tst-tininess): Likewise.
35873 ($(objpfx)tst-strtod-underflow): Likewise.
35874 ($(objpfx)tst-strtod6): Likewise.
35875 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
35876 $(libdl), not $(common-objpfx)nptl/libpthread.so and
35877 $(common-objpfx)dlfcn/libdl.so.
35878
35879 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35880
35881 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
35882 BSD terminal modes definitions.
35883
35884 2014-05-16 Roland McGrath <roland@hack.frob.com>
35885
35886 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
35887 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
35888
35889 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
35890 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
35891 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
35892 Don't do #include_next.
35893 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
35894 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
35895 Don't do #include_next.
35896 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
35897 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
35898 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
35899 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
35900
35901 2014-05-16 Allan McRae <allan@archlinux.org>
35902
35903 * po/sv.po: Update Swedish translation from translation project.
35904
35905 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
35906 in sed expression.
35907
35908 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
35909
35910 [BZ #16917]
35911 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
35912 errno if the TIOCGPTN ioctl fails with an error different than
35913 EINVAL.
35914 * login/tst-ptsname.c: New file.
35915 * login/Makefile (tests): Add tst-ptsname.
35916
35917 [BZ #16943]
35918 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
35919 and prlimit64.
35920
35921 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
35922
35923 [BZ #16849]
35924 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
35925 herrno to return EAI_AGAIN.
35926
35927 2014-05-14 Roland McGrath <roland@hack.frob.com>
35928
35929 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
35930 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
35931 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
35932 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
35933 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
35934 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
35935 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
35936 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
35937 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
35938 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
35939 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
35940 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
35941 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
35942 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
35943 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
35944 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
35945 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
35946 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
35947 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
35948 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
35949 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
35950 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
35951 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
35952 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
35953 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
35954 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
35955 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
35956 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
35957 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
35958 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
35959 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
35960 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
35961 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
35962 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
35963 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
35964 Moved ...
35965 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
35966 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
35967 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
35968 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
35969 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
35970 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
35971 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
35972 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
35973 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
35974 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
35975 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
35976 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
35977 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
35978 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
35979 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
35980 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
35981 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
35982 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
35983 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
35984 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
35985 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
35986 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
35987 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
35988 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
35989 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
35990 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
35991 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
35992 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
35993 Moved ...
35994 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
35995 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
35996 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
35997 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
35998 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
35999 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
36000 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
36001 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
36002 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
36003 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
36004 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
36005 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
36006 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
36007 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
36008 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
36009 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
36010 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
36011 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
36012 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
36013 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
36014 Moved ...
36015 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
36016 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
36017 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
36018
36019 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
36020 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
36021 (libpthread-sysdep_routines): Add elision-related stuff here instead.
36022 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
36023 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
36024 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
36025 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
36026 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
36027 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
36028 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
36029 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
36030 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
36031 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
36032 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
36033 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
36034 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
36035 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
36036 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
36037 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
36038 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
36039 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
36040 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
36041 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
36042 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
36043 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
36044 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
36045 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
36046 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
36047 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
36048 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
36049 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
36050
36051 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
36052 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
36053
36054 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
36055 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
36056 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
36057 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
36058 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
36059 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
36060 Moved ...
36061 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
36062 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
36063 Moved ...
36064 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
36065 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
36066 Moved ...
36067 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
36068 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
36069 Moved ...
36070 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
36071 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
36072 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
36073 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
36074 Moved ...
36075 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
36076 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
36077 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
36078 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
36079 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
36080 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
36081 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
36082 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
36083 Moved ...
36084 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
36085 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
36086 Moved ...
36087 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
36088 ... here.
36089 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
36090 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
36091 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
36092 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
36093 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
36094 Moved ...
36095 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
36096 ... here.
36097 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
36098 Moved ...
36099 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
36100 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
36101 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
36102 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
36103 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
36104 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
36105 Moved ...
36106 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
36107 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
36108 Moved ...
36109 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
36110 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
36111 Moved ...
36112 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
36113 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
36114 Moved ...
36115 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
36116 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
36117 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
36118 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
36119 Moved ...
36120 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
36121 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
36122 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
36123 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
36124 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
36125 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
36126 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
36127 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
36128 Moved ...
36129 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
36130 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
36131 Moved ...
36132 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
36133 ... here.
36134 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
36135 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
36136 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
36137 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
36138 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
36139 Moved ...
36140 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
36141 ... here.
36142 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
36143 Moved ...
36144 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
36145 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
36146 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
36147 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
36148 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
36149 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
36150 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
36151 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
36152 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
36153 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
36154 Moved ...
36155 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
36156 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
36157 Moved ...
36158 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
36159 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
36160 Moved ...
36161 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
36162 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
36163 Moved ...
36164 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
36165 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
36166 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
36167 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
36168 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
36169 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
36170 Moved ...
36171 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
36172 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
36173 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
36174 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
36175 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
36176 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
36177 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
36178 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
36179 Moved ...
36180 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
36181 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
36182 Moved ...
36183 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
36184 ... here.
36185 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
36186 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
36187 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
36188 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
36189 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
36190 Moved ...
36191 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
36192 ... here.
36193 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
36194 Moved ...
36195 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
36196 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
36197 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
36198 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
36199 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
36200 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
36201 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
36202 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
36203 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
36204 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
36205 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
36206
36207 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
36208 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
36209
36210 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
36211 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
36212
36213 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
36214 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
36215 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
36216 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
36217 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
36218 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
36219 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
36220 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
36221 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
36222 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
36223 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
36224 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
36225 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
36226 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
36227 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
36228 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
36229 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
36230 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
36231 Moved ...
36232 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
36233 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
36234 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
36235 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
36236 Moved ...
36237 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
36238 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
36239 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
36240 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
36241 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
36242 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
36243 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
36244 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
36245 Moved ...
36246 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
36247 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
36248 Moved ...
36249 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
36250 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
36251 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
36252 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
36253 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
36254 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
36255 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
36256 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
36257 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
36258 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
36259 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
36260 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
36261 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
36262 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
36263 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
36264 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
36265 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
36266
36267 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
36268 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
36269 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
36270 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
36271 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
36272
36273 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
36274 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
36275 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
36276 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
36277 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
36278 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
36279 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
36280 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
36281 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
36282 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
36283
36284 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
36285 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
36286
36287 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
36288 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
36289 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
36290 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
36291 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
36292 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
36293 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
36294 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
36295 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
36296 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
36297 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
36298 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
36299 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
36300 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
36301 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
36302 Update #include.
36303 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
36304 Likewise.
36305 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
36306 Likewise.
36307 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
36308 Likewise.
36309 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
36310 Likewise.
36311 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
36312 Likewise.
36313 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
36314 Likewise.
36315 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
36316 Likewise.
36317 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
36318 Likewise.
36319 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
36320 Likewise.
36321 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
36322 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
36323 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
36324 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
36325 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
36326 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
36327 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
36328 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
36329 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
36330 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
36331 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
36332 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
36333 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
36334 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
36335 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
36336
36337 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
36338 that was previously under [RESET_PID].
36339 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
36340 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
36341 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
36342
36343 * sysdeps/i386/nptl/Implies: New file.
36344 * sysdeps/x86_64/nptl/Implies: New file.
36345 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
36346 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
36347 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
36348 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
36349
36350 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
36351 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
36352 (__libc_vfork): New strong alias.
36353 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
36354 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
36355
36356 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
36357 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
36358 (__libc_vfork): New strong alias.
36359 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
36360 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
36361
36362 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
36363 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
36364 (__libc_vfork): New strong alias.
36365 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
36366 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
36367 * nptl/pt-vfork.c: New file.
36368 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
36369 (libpthread: GLIBC_2.20): New version set (empty).
36370
36371 2014-05-14 Will Newton <will.newton@linaro.org>
36372
36373 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
36374 rather than #if.
36375
36376 2014-05-14 Joseph Myers <joseph@codesourcery.com>
36377
36378 [BZ #16564]
36379 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
36380 arguments with exponent 65 or above.
36381 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
36382 arguments 0x1p113L or above.
36383 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
36384 to arguments 0x1p107L or above.
36385 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
36386 positive arguments with exponent 65 or above.
36387 * math/auto-libm-test-in: Add more tests of log1p.
36388 * math/auto-libm-test-out: Regenerated.
36389
36390 [BZ #16928]
36391 * math/s_cacos.c (__cacos): Ensure zero real part of result from
36392 non-finite arguments is +0.
36393 * math/s_cacosf.c (__cacosf): Likewise.
36394 * math/s_cacosl.c (__cacosl): Likewise.
36395 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
36396 * sysdeps/i386/fpu/libm-test-ulps: Update.
36397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36398
36399 [BZ #16927]
36400 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
36401 value.
36402 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
36403 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
36404 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
36405 for explicit high bit of mantissa when testing for argument equal
36406 to 1.
36407 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
36408 * sysdeps/i386/fpu/libm-test-ulps: Update.
36409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36410
36411 [BZ #16516]
36412 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
36413 (__erf): Scale by 16 instead of 8 in potentially underflowing
36414 case. Ensure exception if result actually underflows.
36415 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
36416 (__erff): Scale by 16 instead of 8 in potentially underflowing
36417 case. Ensure exception if result actually underflows.
36418 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
36419 (efx8): Remove variable.
36420 (__erfl): Scale by 16 instead of 8 in potentially underflowing
36421 case. Ensure exception if result actually underflows.
36422 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
36423 (efx8): Remove variable.
36424 (__erfl): Scale by 16 instead of 8 in potentially underflowing
36425 case. Ensure exception if result actually underflows.
36426 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
36427 (efx8): Remove variable.
36428 (__erfl): Scale by 16 instead of 8 in potentially underflowing
36429 case. Ensure exception if result actually underflows.
36430 * math/auto-libm-test-in: Add more tests of erf.
36431 * math/auto-libm-test-out: Regenerated.
36432
36433 2014-05-14 Andreas Schwab <schwab@suse.de>
36434
36435 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
36436 Remove code conditionalized on USE___THREAD.
36437
36438 * config.h.in (HAVE_PT_CHOWN): Define as 0.
36439 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
36440 not definedness.
36441
36442 2014-05-14 Joseph Myers <joseph@codesourcery.com>
36443
36444 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
36445 Define unconditionally.
36446 (__ASSUME_O_CLOEXEC): Likewise.
36447 (__ASSUME_SOCK_CLOEXEC): Likewise.
36448 (__ASSUME_IN_NONBLOCK): Likewise.
36449 (__ASSUME_PIPE2): Likewise.
36450 (__ASSUME_EVENTFD2): Likewise.
36451 (__ASSUME_SIGNALFD4): Likewise.
36452 (__ASSUME_DUP3): Likewise.
36453 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
36454 (__ASSUME_DUP3): Do not define.
36455 (__ASSUME_EVENTFD2): Likewise.
36456 (__ASSUME_IN_NONBLOCK): Likewise.
36457 (__ASSUME_O_CLOEXEC): Likewise.
36458 (__ASSUME_PIPE2): Likewise.
36459 (__ASSUME_SIGNALFD4): Likewise.
36460 (__ASSUME_SOCK_CLOEXEC): Likewise.
36461 (__ASSUME_UTIMES): Undefine.
36462 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36463 (__ASSUME_UTIMES): Do not define.
36464 (__ASSUME_O_CLOEXEC): Likewise.
36465 (__ASSUME_SOCK_CLOEXEC): Likewise.
36466 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
36467 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
36468 0x020621].
36469 (__ASSUME_PIPE2): Likewise.
36470 (__ASSUME_EVENTFD2): Likewise.
36471 (__ASSUME_SIGNALFD4): Likewise.
36472 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
36473 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
36474 Do not define.
36475 (__ASSUME_EVENTFD2): Likewise.
36476 (__ASSUME_SIGNALFD4): Likewise.
36477 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
36478 (__ASSUME_32BITUIDS): Likewise.
36479 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
36480 (__ASSUME_IPC64): Likewise.
36481 (__ASSUME_ST_INO_64_BIT): Likewise.
36482 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
36483 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
36484 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
36485 (__ASSUME_UTIMES): Do not define.
36486 (__ASSUME_PSELECT): Likewise.
36487 (__ASSUME_PPOLL): Likewise.
36488 (__ASSUME_O_CLOEXEC): Likewise.
36489 (__ASSUME_SOCK_CLOEXEC): Likewise.
36490 (__ASSUME_IN_NONBLOCK): Likewise.
36491 (__ASSUME_PIPE2): Likewise.
36492 (__ASSUME_EVENTFD2): Likewise.
36493 (__ASSUME_SIGNALFD4): Likewise.
36494 (__ASSUME_DUP3): Likewise.
36495 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
36496 (__ASSUME_UTIMES): Likewise.
36497 (__ASSUME_O_CLOEXEC): Likewise.
36498 (__ASSUME_SOCK_CLOEXEC): Likewise.
36499 (__ASSUME_IN_NONBLOCK): Likewise.
36500 (__ASSUME_PIPE2): Likewise.
36501 (__ASSUME_EVENTFD2): Likewise.
36502 (__ASSUME_SIGNALFD4): Likewise.
36503 (__ASSUME_DUP3): Likewise.
36504 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36505 (__ASSUME_UTIMES): Likewise.
36506 (__ASSUME_O_CLOEXEC): Likewise.
36507 (__ASSUME_SOCK_CLOEXEC): Likewise.
36508 (__ASSUME_IN_NONBLOCK): Likewise.
36509 (__ASSUME_PIPE2): Likewise.
36510 (__ASSUME_EVENTFD2): Likewise.
36511 (__ASSUME_SIGNALFD4): Likewise.
36512 (__ASSUME_DUP3): Likewise.
36513 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
36514 Likewise.
36515 (__ASSUME_UTIMES): Likewise.
36516 (__ASSUME_EVENTFD2): Likewise.
36517 (__ASSUME_SIGNALFD4): Likewise.
36518 * sysdeps/unix/sysv/linux/tile/kernel-features.h
36519 (__ASSUME_O_CLOEXEC): Likewise.
36520 (__ASSUME_SOCK_CLOEXEC): Likewise.
36521 (__ASSUME_IN_NONBLOCK): Likewise.
36522 (__ASSUME_PIPE2): Likewise.
36523 (__ASSUME_EVENTFD2): Likewise.
36524 (__ASSUME_SIGNALFD4): Likewise.
36525 (__ASSUME_DUP3): Likewise.
36526 (__ASSUME_UTIMES): Undefine.
36527
36528 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
36529 feclearexcept. Remove symbol versioning code.
36530 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
36531 symbol versioning code.
36532 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
36533 symbol versioning code.
36534 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
36535 feupdateenv. Remove symbol versioning code.
36536 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
36537 fegetexceptflag. Remove symbol versioning code.
36538 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
36539 fesetexceptflag. Remove symbol versioning code.
36540 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
36541 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
36542 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
36543 (__posix_fadvise64_l32): Remove prototype.
36544 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
36545 code.
36546
36547 2014-05-13 Roland McGrath <roland@hack.frob.com>
36548
36549 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
36550 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
36551 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
36552 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
36553
36554 2014-05-13 Sami Kerola <kerolasa@iki.fi>
36555
36556 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
36557 current working directory
36558
36559 2014-05-13 Roland McGrath <roland@hack.frob.com>
36560
36561 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
36562 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
36563 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
36564 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
36565 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
36566 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
36567 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
36568 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
36569 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
36570 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
36571 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
36572 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
36573 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
36574 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
36575 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
36576 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
36577 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
36578 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
36579 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
36580 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
36581 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
36582 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
36583 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
36584 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
36585 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
36586 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
36587 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
36588 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
36589 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
36590 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
36591 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
36592 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
36593 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
36594 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
36595 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
36596 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
36597 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
36598 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
36599 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
36600 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
36601 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
36602 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
36603
36604 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
36605 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
36606
36607 * sysdeps/unix/sysv/linux/arm/Makefile
36608 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
36609 Add rt-aeabi_unwind_cpp_pr1.
36610 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
36611 Add nptl-aeabi_unwind_cpp_pr1.
36612 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
36613 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
36614 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
36615 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
36616 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
36617 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
36618
36619 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
36620 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
36621 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
36622 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
36623
36624 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
36625 Deconditionalize the code that was previously under [RESET_PID].
36626 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
36627
36628 * sysdeps/generic/exit-thread.h: New file.
36629 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
36630 * include/unistd.h (__exit_thread): Remove declaration.
36631 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
36632 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
36633 * csu/libc-start.c: Include <exit-thread.h>.
36634 (LIBC_START_MAIN): Pass no argument to __exit_thread.
36635 * nptl/pthread_create.c: Include <exit-thread.h>.
36636 (start_thread): Call __exit_thread in place of __exit_thread_inline.
36637 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
36638 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
36639 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
36640 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
36641 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
36642 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
36643 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
36644 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
36645 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
36646 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
36647 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
36648 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
36649 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
36650 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
36651 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
36652 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
36653
36654 2014-05-13 Andreas Schwab <schwab@suse.de>
36655
36656 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
36657
36658 2014-05-12 Joseph Myers <joseph@codesourcery.com>
36659
36660 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
36661 (__ASSUME_UTIMES): Do not condition on kernel version.
36662 (__ASSUME_PSELECT): Define unconditionally.
36663 (__ASSUME_PPOLL): Likewise.
36664 (__ASSUME_ATFCTS): Likewise.
36665 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
36666 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
36667 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
36668 (__ASSUME_UTIMENSAT): Define unconditionally.
36669 (__ASSUME_PRIVATE_FUTEX): Likewise.
36670 (__ASSUME_FALLOCATE): Likewise.
36671 (__ASSUME_O_CLOEXEC): Likewise.
36672 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
36673 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
36674 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
36675 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
36676 (__ASSUME_IN_NONBLOCK): Likewise.
36677 (__ASSUME_PIPE2): Likewise.
36678 (__ASSUME_EVENTFD2): Likewise.
36679 (__ASSUME_SIGNALFD4): Likewise.
36680 (__ASSUME_DUP3): Likewise.
36681 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
36682 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
36683 (__ASSUME_AT_RANDOM): Likewise.
36684 (__ASSUME_PREADV): Likewise.
36685 (__ASSUME_PWRITEV): Likewise.
36686 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
36687 (__ASSUME_F_GETOWN_EX): Define unconditionally.
36688 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
36689 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
36690 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
36691 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36692 (__ASSUME_O_CLOEXEC): Define unconditionally.
36693 (__ASSUME_PSELECT): Do not undefine conditionally.
36694 (__ASSUME_PPOLL): Likewise.
36695 (__ASSUME_ATFCTS): Likewise.
36696 (__ASSUME_SET_ROBUST_LIST): Likewise.
36697 (__ASSUME_UTIMENSAT): Likewise.
36698 (__ASSUME_FDATASYNC): Define unconditionally.
36699 * sysdeps/unix/sysv/linux/arm/kernel-features.h
36700 (__ASSUME_SIGFRAME_V2): Likewise.
36701 )__ASSUME_EVENTFD2): Likewise.
36702 (__ASSUME_SIGNALFD4): Likewise.
36703 (__ASSUME_PSELECT): Do not undefine conditionally.
36704 (__ASSUME_PPOLL): Likewise.
36705 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
36706 (__ASSUME_PSELECT): Define unconditionally.
36707 (__ASSUME_PPOLL): Likewise.
36708 (__ASSUME_O_CLOEXEC): Likewise.
36709 (__ASSUME_SOCK_CLOEXEC): Likewise.
36710 (__ASSUME_IN_NONBLOCK): Likewise.
36711 (__ASSUME_PIPE2): Likewise.
36712 (__ASSUME_EVENTFD2): Likewise.
36713 (__ASSUME_SIGNALFD4): Likewise.
36714 (__ASSUME_DUP3): Likewise.
36715 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
36716 (__ASSUME_O_CLOEXEC): Likewise.
36717 (__ASSUME_SOCK_CLOEXEC): Likewise.
36718 (__ASSUME_IN_NONBLOCK): Likewise.
36719 (__ASSUME_PIPE2): Likewise.
36720 (__ASSUME_EVENTFD2): Likewise.
36721 (__ASSUME_SIGNALFD4): Likewise.
36722 (__ASSUME_DUP3): Likewise.
36723 * sysdeps/unix/sysv/linux/mips/kernel-features.h
36724 (__ASSUME_EVENTFD2): Likewise.
36725 (__ASSUME_SIGNALFD4): Likewise.
36726 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
36727
36728 2014-05-12 Andreas Schwab <schwab@suse.de>
36729
36730 [BZ #16932]
36731 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
36732 (_nss_nis_gethostbyname4_r): Return error if item length is larger
36733 than maximum RPC packet size.
36734 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
36735 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
36736 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
36737 (_nss_nis_getservbyport_r): Likewise.
36738
36739 2014-05-12 Will Newton <will.newton@linaro.org>
36740
36741 * malloc/Makefile (tests): Add tst-mallopt.
36742 * malloc/tst-mallopt.c: New file.
36743
36744 2014-05-09 Roland McGrath <roland@hack.frob.com>
36745
36746 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
36747 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
36748
36749 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36750
36751 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
36752 (tst-tlsmod6.so): Likewise.
36753
36754 2014-05-09 Roland McGrath <roland@hack.frob.com>
36755
36756 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
36757
36758 2014-05-09 Joseph Myers <joseph@codesourcery.com>
36759
36760 [BZ #16064]
36761 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
36762 and <dl-procinfo.h>.
36763 (__fegetenv): Save SSE state in envp->__eip if supported.
36764 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
36765 envp->__eip if supported.
36766 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
36767 and <dl-procinfo.h>.
36768 (__fesetenv): Always set __eip, __cs_selector, __opcode,
36769 __data_offset and __data_selector in environment to 0. Set SSE
36770 state if supported.
36771 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
36772 test-fenv-sse.
36773 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
36774 -mfpmath=sse.
36775 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
36776
36777 2014-05-09 Will Newton <will.newton@linaro.org>
36778
36779 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
36780 and libc_relro_required for ARM.
36781 * sysdeps/arm/preconfigure: Regenerate.
36782
36783 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
36784 Stefan Liebler <stli@linux.vnet.ibm.com>
36785
36786 * config.make.in (enable-lock-elision): New Makefile variable.
36787 * configure.ac: Likewise.
36788 * configure: Regenerate.
36789 * sysdeps/s390/configure.ac:
36790 Add check for gcc transactions support.
36791 * sysdeps/s390/configure: Regenerate.
36792 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
36793 Build elision files if enabled.
36794 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
36795 Add lock elision support for s390.
36796 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
36797 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
36798 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
36799 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
36800 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
36801 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
36802 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
36803 Likewise.
36804 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
36805 Likewise.
36806 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
36807 Likewise.
36808 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
36809 Likewise.
36810 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
36811 (__lll_timedlock_elision, __lll_lock_elision)
36812 (__lll_unlock_elision, __lll_trylock_elision)
36813 (lll_timedlock_elision, lll_lock_elision)
36814 (lll_unlock_elision, lll_trylock_elision): Add.
36815 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
36816 (pthread_mutex_t): Add lock elision support for s390.
36817
36818 2014-05-14 Wilco <wdijkstr@arm.com>
36819
36820 * sysdeps/arm/fclrexcpt.c: Cleanup.
36821 * sysdeps/arm/fedisblxcpt.c: Cleanup.
36822 * sysdeps/arm/feenablxcpt.c: Cleanup.
36823 * sysdeps/arm/fegetenv.c: Cleanup.
36824 * sysdeps/arm/fegetexcept.c: Cleanup.
36825 * sysdeps/arm/fegetround.c: Cleanup.
36826 * sysdeps/arm/feholdexcpt.c: Cleanup.
36827 * sysdeps/arm/fesetenv.c: Cleanup.
36828 * sysdeps/arm/fesetround.c: Cleanup.
36829 * sysdeps/arm/feupdateenv.c: Cleanup.
36830 * sysdeps/arm/fgetexcptflg.c: Cleanup.
36831 * sysdeps/arm/fraiseexcpt.c: Cleanup.
36832 * sysdeps/arm/fsetexcptflg.c: Cleanup.
36833 * sysdeps/arm/ftestexcept.c: Cleanup.
36834 * sysdeps/arm/get-rounding-mode.h: Cleanup.
36835 * sysdeps/arm/setfpucw.c: Cleanup.
36836
36837 2014-05-09 Will Newton <will.newton@linaro.org>
36838
36839 * sysdeps/arm/armv7/strcmp.S: New file.
36840 * NEWS: Mention addition of ARMv7 optimized strcmp.
36841
36842 2014-05-08 Roland McGrath <roland@hack.frob.com>
36843
36844 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
36845 look for %.ac rather than %.in.
36846
36847 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
36848 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
36849 * sysdeps/mach/hurd/configure: Regenerated.
36850 * sysdeps/unix/sysv/linux/configure: Regenerated.
36851
36852 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
36853
36854 2014-05-07 Steve Ellcey <sellcey@mips.com>
36855
36856 [BZ# 16922]
36857 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
36858 (LONG_SUB): Ditto.
36859 (PTR_SUB): Ditto.
36860
36861 2014-05-07 Andreas Schwab <schwab@suse.de>
36862
36863 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
36864 when skipping over non-matching result from nscd.
36865
36866 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
36867
36868 [BZ #16876]
36869 * nptl/sockperf.c (client): Check socket return value.
36870
36871 [BZ #16877]
36872 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
36873 nscd security class.
36874
36875 2014-05-06 Roland McGrath <roland@hack.frob.com>
36876
36877 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
36878 * sysdeps/arm/unwind.h: ... here.
36879
36880 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
36881
36882 [BZ# 16916]
36883 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
36884 Define.
36885
36886 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
36887
36888 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
36889 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
36890 multiarch strncpy for PPC64.
36891 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
36892 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
36893 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
36894 multiarch optimizations.
36895 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36896 (__libc_ifunc_impl_list): Likewise.
36897 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
36898 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
36899 multiarch stpncpy for PPC64.
36900 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
36901 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
36902
36903 2014-05-06 Andreas Schwab <schwab@suse.de>
36904
36905 [BZ #16912]
36906 * gmon/mcount.c (_MCOUNT_DECL): Use
36907 atomic_compare_and_exchange_bool_acq instead of
36908 catomic_compare_and_exchange_bool_acq.
36909
36910 2014-05-05 Roland McGrath <roland@hack.frob.com>
36911
36912 * elf/Makefile (others, install-bin): Remove pldd.
36913 (pldd-modules): Variable removed.
36914 ($(objpfx)pldd): Target removed.
36915 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
36916 (others, install-bin): Append pldd here.
36917 ($(objpfx)pldd): New target.
36918
36919 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
36920 to 0, so the first #if test emitted later doesn't see it undefined.
36921 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
36922 * sysdeps/gnu/errlist.c: Regenerated.
36923
36924 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36925
36926 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
36927 [libc_hidden_builtin_def]: Define to empty value.
36928 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
36929 [libc_hidden_builtin_def]: Likewise.
36930 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
36931 [libc_hidden_builtin_def]: Likewise.
36932 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
36933 [libc_hidden_builtin_def]: Likewise.
36934 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
36935 __redirect_memcpy and define ifunc as default hidden symbol.
36936 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
36937 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
36938
36939 2014-05-04 Adam Conrad <adconrad@0c3.net>
36940
36941 * locale/iso-4217.def: Reintroduce XDR currency.
36942
36943 2014-05-04 Allan McRae <allan@archlinux.org>
36944
36945 * po/eo.po: Update Esperanto translation from translation project.
36946
36947 2014-05-02 Carlos O'Donell <carlos@redhat.com>
36948
36949 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
36950 and FEATURE_INDEX_MAX to 1.
36951 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
36952
36953 2014-05-01 Steve Ellcey <sellcey@mips.com>
36954
36955 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
36956 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
36957 * iconvdata/big5.c (ONE_DIRECTION): Define.
36958 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
36959 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
36960 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
36961 * iconvdata/cp932.c (ONE_DIRECTION): Define.
36962 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
36963 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
36964 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
36965 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
36966 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
36967 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
36968 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
36969 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
36970 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
36971 * iconvdata/gbk.c (ONE_DIRECTION): Define.
36972 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
36973 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
36974 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
36975 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
36976 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
36977 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
36978 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
36979 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
36980 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
36981 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
36982 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
36983 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
36984 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
36985 * iconvdata/iso646.c (ONE_DIRECTION): Define.
36986 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
36987 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
36988 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
36989 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
36990 * iconvdata/johab.c (ONE_DIRECTION): Define.
36991 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
36992 * iconvdata/sjis.c (ONE_DIRECTION): Define.
36993 * iconvdata/t.61.c (ONE_DIRECTION): Define.
36994 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
36995 * iconvdata/tscii.c (ONE_DIRECTION): Define.
36996 * iconvdata/uhc.c (ONE_DIRECTION): Define.
36997 * iconvdata/unicode.c (ONE_DIRECTION): Define.
36998 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
36999 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
37000 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
37001
37002 2014-05-01 Roland McGrath <roland@hack.frob.com>
37003
37004 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
37005 (_IO_JUMPS_OFFSET): Define to 0.
37006
37007 * nptl/sysdeps/pthread/bits/libc-lock.h
37008 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
37009 (__libc_lock_define_initialized_recursive): Always define using
37010 initializer. Modern compilers treat uninitialized (implicit zero) and
37011 explicit zero initializers the same (i.e. put the datum in bss).
37012
37013 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
37014
37015 * nscd/nscd-client.h: Include <string.h>.
37016
37017 2014-05-01 David S. Miller <davem@davemloft.net>
37018
37019 [BZ #16885]
37020 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
37021 multiple zero bytes exist at the end of a string.
37022 Reported by Aurelien Jarno <aurelien@aurel32.net>
37023
37024 * string/test-strcmp.c (check): Add explicit test for situations where
37025 there are multiple zero bytes after the first.
37026
37027 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
37028
37029 [BZ #16890]
37030 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
37031 when compiling wprintf.
37032 * stdio-common/tstdiomisc.c (t3): New function.
37033 (main): Call it.
37034
37035 2014-05-01 Steve Ellcey <sellcey@mips.com>
37036
37037 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
37038 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
37039 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
37040 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
37041
37042 2014-05-01 Steve Ellcey <sellcey@mips.com>
37043
37044 * stdlib/longlong.h: Updated from GCC.
37045
37046 2014-05-01 Will Newton <will.newton@linaro.org>
37047 Bernard Ogden <bernie.ogden@linaro.org>
37048
37049 * NEWS: Update fixed bug list.
37050
37051 [BZ #15119]
37052 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
37053
37054 2014-04-30 David S. Miller <davem@davemloft.net>
37055
37056 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
37057 (libc_feholdexcept_setround_sparc_ctx): New function.
37058 (libc_fesetenv_sparc_ctx): Likewise.
37059 (libc_feupdateenv_sparc_ctx): Likewise.
37060 (libc_feholdsetround_sparc_ctx): Likewise.
37061 (libc_feholdexcept_setround_ctx): Define.
37062 (libc_feholdexcept_setroundf_ctx): Likewise.
37063 (libc_feholdexcept_setroundl_ctx): Likewise.
37064 (libc_fesetenv_ctx): Likewise.
37065 (libc_fesetenvf_ctx): Likewise.
37066 (libc_fesetenvl_ctx): Likewise.
37067 (libc_feupdateenv_ctx): Likewise.
37068 (libc_feupdateenvf_ctx): Likewise.
37069 (libc_feupdateenvl_ctx): Likewise.
37070 (libc_feresetround_ctx): Likewise.
37071 (libc_feresetroundf_ctx): Likewise.
37072 (libc_feresetroundl_ctx): Likewise.
37073 (libc_feholdsetround_ctx): Likewise.
37074 (libc_feholdsetroundf_ctx): Likewise.
37075 (libc_feholdsetroundl_ctx): Likewise.
37076
37077 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
37078 with __USE_GNU instead of XOPEN cpp guards.
37079
37080 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
37081 0.
37082
37083 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
37084 with XOPEN cpp guards.
37085
37086 2014-04-30 Julian Brown <julian@codesourcery.com>
37087
37088 [BZ #16888]
37089 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
37090 handling.
37091
37092 2014-04-30 Joseph Myers <joseph@codesourcery.com>
37093
37094 [BZ #9894]
37095 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
37096 Change to 2.6.32.
37097 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
37098 * sysdeps/unix/sysv/linux/configure: Regenerated.
37099 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
37100 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
37101 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
37102 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
37103 * README: Update reference to required Linux kernel version.
37104 * manual/install.texi (Linux): Update reference to required Linux
37105 kernel headers version.
37106 * INSTALL: Regenerated.
37107
37108 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
37109 header inclusion.
37110 [POSIX] (limits.h): Likewise.
37111 [POSIX] (math.h): Likewise.
37112 [POSIX] (sys/wait.h): Likewise.
37113 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
37114 function.
37115 [POSIX] (stddef.h): Do not allow header inclusion.
37116
37117 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37118
37119 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
37120
37121 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
37122
37123 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
37124 Return immediately after lll_futex_wake.
37125
37126 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
37127
37128 [BZ #16791]
37129 * nscd/nscd-client.h (datahead_init_common): Initialize entire
37130 structure.
37131 (datahead_init_pos): Call datahead_init_common early.
37132 (datahead_init_neg): Likewise.
37133
37134 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
37135 datahead_init_neg): New functions.
37136 * nscd/aicache.c (addhstaiX): Use them.
37137 * nscd/grpcache.c (cache_addgr): Likewise.
37138 * nscd/hstcache.c (cache_addhst): Likewise.
37139 * nscd/initgrcache.c (addinitgroupsX): Likewise.
37140 * nscd/netgroupcache.c (do_notfound): Likewise.
37141 (addgetnetgrentX): Likewise.
37142 (addinnetgrX): Likewise.
37143 * nscd/pwdcache.c (cache_addpw): Likewise.
37144 * nscd/servicescache.c (cache_addserv): Likewise.
37145
37146 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
37147 Atsushi Onoe <atsushi@onoe.org>
37148
37149 [BZ #14308]
37150 [BZ #12994]
37151 [BZ #13651]
37152 * resolv/res_query.c (__libc_res_nsearch): Return if at least
37153 one response is valid.
37154 * resolv/res_send.c (send_dg): Check for validity of other
37155 response if the current response is a referral.
37156
37157 2014-04-29 Steve Ellcey <sellcey@mips.com>
37158
37159 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
37160
37161 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
37162
37163 [BZ #16823]
37164 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
37165 Always divide by positive zero when computing -Inf result.
37166 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
37167 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
37168
37169 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37170
37171 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
37172 FPSCR if value do not change.
37173 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
37174 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
37175 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
37176 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
37177 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
37178 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
37179 function.
37180
37181 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
37182
37183 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
37184 * sysdeps/unix/sysv/linux/hppa: Move directory from
37185 ports/systeps/unix/sysv/linux/hppa.
37186 * README: Update listing for hppa-*-linux-gnu.
37187
37188 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
37189
37190 [BZ #16754]
37191 * manual/stdio.texi (Hook functions): Fix types of stream hook
37192 functions.
37193 [BZ #16854]
37194 * socket/sys/socket.h: Fix typo in comment.
37195
37196 2014-04-28 Wilco <wdijkstr@arm.com>
37197
37198 * sysdeps/arm/fenv_private.h: New file.
37199 * sysdeps/arm/math_private.h: New file.
37200 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
37201
37202 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
37203
37204 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
37205 with __int128_t.
37206 (La_x86_64_retval): Likewise.
37207
37208 2014-04-24 Ian Bolton <ian.bolton@arm.com>
37209
37210 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
37211 fpsr if value didn't change.
37212 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
37213 to fpcr if value didn't change.
37214 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
37215 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
37216 fpsr or fpcr if value didn't change.
37217 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
37218 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
37219 fpcr if value didn't change.
37220 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
37221 to fpsr if value didn't change.
37222
37223 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
37224
37225 * nptl/tst-sem3.c: Use test-skeleton.c
37226 (main): Rename to do_test. Use return instead of
37227 exit.
37228 * nptl/tst-sem4.c: Use test-skeleton.c
37229 (main): Rename to do_test.
37230
37231 2014-04-22 David S. Miller <davem@davemloft.net>
37232
37233 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
37234 (struct sigaction): New struct member __glibc_reserved0, change
37235 type of sa_flags to int.
37236
37237 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
37238
37239 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
37240 (COUNT_LEADING_ZEROS_0): Define for AArch64.
37241
37242 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
37243
37244 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
37245 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
37246
37247 2014-04-22 Will Newton <will.newton@linaro.org>
37248 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
37249
37250 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
37251 (__longjmp): Add longjmp and longjmp_target SystemTap
37252 probes.
37253 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
37254 (__sigsetjmp): Add setjmp SystemTap probe.
37255
37256 2014-04-17 Carlos O'Donell <carlos@redhat.com>
37257
37258 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
37259 match manual order.
37260
37261 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37262
37263 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
37264
37265 * sysdeps/powerpc/fpu/fenv_private.h
37266 (libc_feholdexcept_setroundl_ctx): Define to
37267 libc_feholdexcept_setround_ppc_ctx.
37268 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
37269 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
37270 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
37271 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
37272
37273 2014-04-17 Ian Bolton <ian.bolton@arm.com>
37274
37275 * sysdeps/aarch64/math-tests.h: New file.
37276
37277 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
37278
37279 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
37280 New.
37281 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37282 Check and set bit_AVX2_Usable.
37283 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
37284 macro.
37285 (bit_AVX2): Likewise.
37286 (index_AVX2_Usable): Likewise.
37287 (CPUID_AVX2): Likewise.
37288 (HAS_AVX2): Likewise.
37289
37290 2014-04-17 Will Newton <will.newton@linaro.org>
37291
37292 * manual/setjmp.texi (System V contexts): Add note that
37293 calling setcontext on a context created by a call to a
37294 signal handler is undefined. Update text to note that
37295 setcontext from a signal handler is possible but not
37296 recommended.
37297
37298 [BZ #16629]
37299 * stdlib/tst-setcontext.c: Include signal.h.
37300 (main): Check that the signal stack before and
37301 after swapcontext is the same.
37302
37303 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
37304 Re-implement to restore registers in user code and avoid
37305 rt_sigreturn system call.
37306
37307 2014-04-17 Wilco <wdijkstr@arm.com>
37308
37309 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
37310 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
37311 * math/test-fenv.c: Skip exception trap tests on targets which only
37312 support non-stop mode.
37313
37314 2014-04-17 Ian Bolton <ian.bolton@arm.com>
37315 Wilco Dijkstra <wilco.dijkstra@arm.com>
37316
37317 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
37318 (libc_feholdsetround_aarch64_ctx)
37319 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
37320 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
37321 (libc_feresetround_ctx, libc_feresetroundf_ctx)
37322 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
37323 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
37324 (libc_feresetround_noexl_ctx): Define.
37325
37326 2014-04-16 Richard Henderson <rth@redhat.com>
37327
37328 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
37329
37330 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
37331 unwind tables.
37332
37333 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
37334 const from the non-libc, non-ldso copy.
37335
37336 * sysdeps/alpha/libm-test-ulps: Regenerate.
37337
37338 2014-04-16 Ian Bolton <ian.bolton@arm.com>
37339 Wilco Dijkstra <wilco.dijkstra@arm.com>
37340
37341 * sysdeps/aarch64/fpu/math_private.h: New file.
37342
37343 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
37344
37345 * sysdeps/aarch64/libm-test-ulps: Regenerate.
37346
37347 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
37348
37349 [BZ #16275]
37350 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
37351 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
37352 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
37353 Intel MPX bound registers before _dl_profile_fixup.
37354 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
37355 registers after _dl_profile_fixup. Save and restore bound
37356 registers bnd0/bnd1 when calling _dl_call_pltexit.
37357 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
37358 (LR_BND_OFFSET): Likewise.
37359 (LRV_BND0_OFFSET): Likewise.
37360 (LRV_BND1_OFFSET): Likewise.
37361
37362 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
37363
37364 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
37365 to...
37366 * sysdeps/mach/hurd/i386/tls.h: ... here.
37367 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
37368 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
37369 fields.
37370
37371 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
37372
37373 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
37374
37375 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
37376
37377 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
37378
37379 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
37380
37381 [BZ #14770]
37382 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
37383 * sysdeps/s390/configure: Regenerate.
37384
37385 [BZ #16824]
37386 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
37387 Set round-to-nearest internally to reduce error accumulation.
37388
37389 2014-04-16 Alan Modra <amodra@gmail.com>
37390
37391 [BZ #16740]
37392 [BZ #16619]
37393 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
37394 * math/libm-test.inc (frexp_test_data): Add tests.
37395 * NEWS: Update fixed bug list.
37396
37397 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
37398
37399 * benchtests/Makefile: Depend on libraries in build directory.
37400 (bench-math): Separate out math tests.
37401 (bench-pthread): Separate out pthread tests.
37402 (bench): Include math and pthread tests.
37403
37404 2014-04-14 Carlos O'Donell <carlos@redhat.com>
37405
37406 [BZ #16831]
37407 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
37408 _dl_debug_initialize.
37409
37410 * configure.ac: Remove SELinux header check.
37411 * configure: Regenerate.
37412 * nscd/selinux.c (perms): Array of const char* to permission names.
37413 (nscd_request_avc_has_perm): Call security_deny_unknown to find
37414 default policy. Call string_to_security_class and string_to_av_perm to
37415 translate strings. Enforce default policy and call avs_has_perm with
37416 results of translated strings.
37417
37418 2014-04-13 David S. Miller <davem@davemloft.net>
37419
37420 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37421
37422 2014-04-12 Allan McRae <allan@archlinux.org>
37423
37424 [BZ #16838]
37425 * manual/string.texi (Collation Functions): Fix qsort argument
37426 order in example.
37427 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
37428
37429 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
37430
37431 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
37432 Make the test a no-op if there are no exceptions defined.
37433
37434 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
37435
37436 * elf/Makefile (tests): make tst-dlopen-aout conditional on
37437 enable-hardcoded-path-in-tests
37438
37439 2014-04-11 Will Newton <will.newton@linaro.org>
37440
37441 * benchtests/Makefile (extra-objs): Add json-lib.o.
37442 (bench-func): Tidy up JSON output.
37443 * benchtests/bench-skeleton.c: Include json-lib.h.
37444 (main): Use JSON library functions to do output of
37445 benchmark results.
37446 * benchtests/bench-timing-type.c (main): Output the
37447 timing type simply, leaving formatting to the user.
37448 * benchtests/json-lib.c: New file.
37449 * benchtests/json-lib.h: Likewise.
37450
37451 2014-04-11 Torvald Riegel <triegel@redhat.com>
37452
37453 [BZ #15215]
37454 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
37455 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
37456 memory barriers. Add comments.
37457 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
37458 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
37459 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
37460 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
37461 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
37462 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
37463
37464 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
37465
37466 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
37467 * sysdeps/s390/s390-64/configure.ac: ... this ...
37468 * sysdeps/s390/configure.ac: ... to here.
37469 * sysdeps/s390/s390-32/configure: Delete file.
37470 * sysdeps/s390/s390-64/configure: Delete file.
37471 * sysdeps/s390/configure: Regenerate.
37472
37473 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
37474
37475 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
37476
37477 2014-04-11 Will Newton <will.newton@linaro.org>
37478
37479 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
37480 to zero if it is not defined elsewhere. (mtrim): Test
37481 the value of MALLOC_DEBUG with #if rather than #ifdef.
37482
37483 2014-04-10 Torvald Riegel <triegel@redhat.com>
37484
37485 * benchtests/pthread_once-inputs: New file.
37486 * benchtests/pthread_once-source.c: New file.
37487 * benchtests/README: Update documentation.
37488
37489 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
37490 H.J. Lu <hongjiu.lu@intel.com>
37491
37492 [BZ #16275]
37493 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
37494 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
37495 * sysdeps/x86_64/configure: Regenerated.
37496 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
37497 macro.
37498 (REGISTER_SAVE_RAX): Likewise.
37499 (REGISTER_SAVE_RCX): Likewise.
37500 (REGISTER_SAVE_RDX): Likewise.
37501 (REGISTER_SAVE_RSI): Likewise.
37502 (REGISTER_SAVE_RDI): Likewise.
37503 (REGISTER_SAVE_R8): Likewise.
37504 (REGISTER_SAVE_R9): Likewise.
37505 (REGISTER_SAVE_BND0): Likewise.
37506 (REGISTER_SAVE_BND1): Likewise.
37507 (REGISTER_SAVE_BND2): Likewise.
37508 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
37509 bound registers when calling _dl_fixup.
37510
37511 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37512
37513 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
37514 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
37515 of its definition.
37516 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
37517 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
37518 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
37519 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
37520 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
37521 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
37522 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
37523
37524 2014-04-09 Peter Brett <peter@peter-b.co.uk>
37525
37526 [BZ #15514]
37527 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
37528 pathconf(_PC_NAME_MAX).
37529
37530 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37531
37532 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
37533 Remove macro usage.
37534 (__PTHREAD_SPINS): Move definition to ...
37535 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
37536 (__PTHREAD_SPINS): ... here.
37537 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
37538 (__PTHREAD_SPIN): Likewise.
37539 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
37540 (__PTHREAD_SPIN): Likewise.
37541 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
37542 (__PTHREAD_SPIN): Likewise.
37543 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
37544 (__PTHREAD_SPIN): Likewise.
37545 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
37546 (__PTHREAD_SPIN): Likewise.
37547 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
37548 (__PTHREAD_SPIN): Likewise.
37549 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
37550 (__PTHREAD_SPIN): Likewise.
37551 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
37552 (__PTHREAD_SPIN): Likewise.
37553 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
37554 (__PTHREAD_SPIN): Likewise.
37555 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
37556 (__PTHREAD_SPIN): Likewise.
37557 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
37558 (__PTHREAD_SPIN): Likewise.
37559 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
37560 (__PTHREAD_SPIN): Likewise.
37561
37562 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
37563 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
37564 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
37565 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
37566 imply folder.
37567 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
37568 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
37569 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
37570 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
37571 correct imply path.
37572 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
37573 strlen symbol for non multi-arch builds.
37574 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
37575 missing hidden_def and weak_alias.
37576
37577 2014-04-08 Carlos O'Donell <carlos@redhat.com>
37578
37579 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
37580
37581 2014-04-07 Will Newton <will.newton@linaro.org>
37582
37583 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
37584 and contents. [!_LIBC] Remove #ifndef and contents.
37585 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
37586 * string/memccpy.c (__memccpy): Use ANSI prototype.
37587 * string/memfrob.c (memfrob): Likewise.
37588 * string/strcoll.c (STRCOLL): Likewise.
37589 * string/strlen.c (strlen): Likewise.
37590 * string/strtok.c (STRTOK): Likewise.
37591 * string/strcat.c: Remove unused #include of memcopy.h.
37592 (strcat): Use ANSI prototype.
37593 * string/strchr.c: Remove unused #include of memcopy.h.
37594 (strchr): Use ANSI prototype.
37595 * string/strcmp.c: Remove unused #include of memcopy.h.
37596 (strcmp): Use ANSI prototype.
37597 * string/strcpy.c: Remove unused #include of memcopy.h.
37598 (strcpy): Use ANSI prototype.
37599
37600 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37601
37602 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
37603 * config.make.in (config-extra-cppflags): Set it from
37604 libc_extra_cppflags.
37605 * configure.ac (libc_extra_cflags): Make it accumulate over
37606 configure fragments.
37607 (libc_extra_cppflags): New flag.
37608 * configure. Regenerate.
37609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
37610 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
37611 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
37612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
37613
37614 [BZ #16815]
37615 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
37616 result for FE_DOWNWARD rounding mode.
37617 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
37618 Likewise.
37619 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37620
37621 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
37622
37623 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
37624 in function argument name.
37625
37626 2014-04-03 David Svoboda <svoboda@cert.org>
37627
37628 [BZ #5666]
37629 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
37630 explicitly.
37631
37632 2014-04-03 Roland McGrath <roland@hack.frob.com>
37633
37634 * elf/dl-unmap-segments.h: New file.
37635 * sysdeps/generic/ldsodefs.h
37636 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
37637 * elf/dl-close.c: Include <dl-unmap-segments.h>.
37638 * elf/dl-fptr.c: Likewise.
37639 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
37640 * sysdeps/aarch64/tlsdesc.c: Likewise.
37641 * sysdeps/arm/tlsdesc.c: Likewise.
37642 * sysdeps/i386/tlsdesc.c: Likewise.
37643 * sysdeps/tile/dl-runtime.c: Likewise.
37644 * sysdeps/x86_64/tlsdesc.c: Likewise.
37645 * elf/dl-load.h: New file.
37646 * elf/dl-load.c: Include it.
37647 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
37648 Macros moved to dl-load.h.
37649 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
37650 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
37651 Use _dl_unmap_segments in place of __munmap.
37652 Break out segment-mapping loop into ...
37653 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
37654
37655 2014-04-03 Will Newton <will.newton@linaro.org>
37656
37657 * elf/dl-lookup.c (do_lookup_x): Remove comment
37658 referring to nested function and move variable
37659 declarations down to before first use.
37660
37661 2014-04-02 Joseph Myers <joseph@codesourcery.com>
37662
37663 [BZ #16799]
37664 [BZ #16800]
37665 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
37666 with 0 numerator.
37667 * math/s_catanf.c (__catanf): Likewise.
37668 * math/s_catanh.c (__catanh): Likewise.
37669 * math/s_catanhf.c (__catanhf): Likewise.
37670 * math/s_catanhl.c (__catanhl): Likewise.
37671 * math/s_catanl.c (__catanl): Likewise.
37672 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
37673 by positive zero when computing -Inf result.
37674 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
37675 (catanh_test): Likewise.
37676 * sysdeps/i386/fpu/libm-test-ulps: Update.
37677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37678
37679 [BZ #16789]
37680 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
37681 instead of using underflowing value in computing result.
37682 * math/s_clog10.c (__clog10): Likewise.
37683 * math/s_clog10f.c (__clog10f): Likewise.
37684 * math/s_clog10l.c (__clog10l): Likewise.
37685 * math/s_clogf.c (__clogf): Likewise.
37686 * math/s_clogl.c (__clogl): Likewise.
37687 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
37688 (clog10_test): Likewise.
37689 * sysdeps/i386/fpu/libm-test-ulps: Update.
37690 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37691
37692 2014-04-02 Alan Modra <amodra@gmail.com>
37693
37694 [BZ #16739]
37695 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
37696 output when value is near a power of two. Use int64_t for lx and
37697 remove casts. Use decimal rather than hex exponent constants.
37698 Don't use long double multiplication when double will suffice.
37699 * math/libm-test.inc (nextafter_test_data): Add tests.
37700 * NEWS: Add 16739 and 16786 to bug list.
37701
37702 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
37703
37704 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
37705
37706 2014-04-01 Will Newton <will.newton@linaro.org>
37707
37708 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
37709 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
37710
37711 2014-04-01 Florian Weimer <fweimer@redhat.com>
37712
37713 [BZ #13347]
37714 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
37715 * nptl/tst-setuid2.c: New file.
37716 * nptl/Makefile (xtests): Add tst-setuid2.
37717
37718 2014-04-01 Alan Modra <amodra@gmail.com>
37719
37720 [BZ #16786]
37721 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
37722
37723 2014-03-31 Joseph Myers <joseph@codesourcery.com>
37724
37725 [BZ #6803]
37726 [BZ #6804]
37727 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
37728 set errno as appropriate.
37729 * math/w_scalbf.c (__scalbf): Likewise.
37730 * math/w_scalbl.c (__scalbl): Likewise.
37731 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
37732 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
37733 * math/libm-test.inc (scalb_test_data): Add errno expectations.
37734 Add more NaN tests.
37735
37736 [BZ #16349]
37737 * math/w_atan2.c: Include <errno.h>.
37738 (__atan2): Set errno for result underflowing to zero.
37739 * math/w_atan2f.c: Include <errno.h>.
37740 (__atan2f): Set errno for result underflowing to zero.
37741 * math/w_atan2l.c: Include <errno.h>.
37742 (__atan2l): Set errno for result underflowing to zero.
37743 * math/auto-libm-test-in: Don't allow missing errno for some atan2
37744 tests.
37745 * math/auto-libm-test-out: Regenerated.
37746
37747 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37748
37749 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
37750 Encode instruction correctly in little endian.
37751 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
37752 Likewise.
37753 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
37754 Likewise.
37755 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
37756 Likewise.
37757 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
37758 Likewise.
37759
37760 2014-03-31 Joseph Myers <joseph@codesourcery.com>
37761
37762 [BZ #9894]
37763 * sysdeps/unix/sysv/linux/kernel-features.h
37764 [__sparc__ && !__arch64__ && !__sparc_v9__]
37765 (__ASSUME_SET_ROBUST_LIST): Do not define.
37766 [__sparc__ && !__arch64__ && !__sparc_v9__]
37767 (__ASSUME_FUTEX_LOCK_PI): Likewise.
37768 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
37769 Likewise.
37770 * sysdeps/unix/sysv/linux/arm/kernel-features.h
37771 (__ASSUME_FUTEX_LOCK_PI): Undefine.
37772 (__ASSUME_REQUEUE_PI): Likewise.
37773 (__ASSUME_SET_ROBUST_LIST): Likewise.
37774 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
37775 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
37776 Undefine.
37777 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37778 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
37779 Likewise.
37780 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
37781 Likewise.
37782 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
37783 Likewise.
37784 * sysdeps/unix/sysv/linux/mips/kernel-features.h
37785 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
37786 Undefine.
37787 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
37788 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
37789 Likewise.
37790
37791 [BZ #16648]
37792 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37793 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
37794 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
37795
37796 2014-03-31 Will Newton <will.newton@linaro.org>
37797
37798 * benchtests/Makefile (bench): Add ffs and ffsll to list
37799 of tests.
37800 * benchtests/ffs-inputs: New file.
37801 * benchtests/ffsll-inputs: Likewise.
37802
37803 2014-03-29 Joseph Myers <joseph@codesourcery.com>
37804
37805 [BZ #16770]
37806 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
37807 too large before casting to int.
37808 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
37809 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
37810 * math/libm-test.inc (scalb_test_data): Add more tests.
37811
37812 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
37813
37814 * benchtests/Makefile (DETAILED_OPT): New make option.
37815 (bench-func): Run benchmark program with -d if DETAILED_OPT is
37816 set.
37817 * benchtests/bench-skeleton.c: Include stdbool.h.
37818 (main): Store and print timings per input.
37819 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
37820 member to each argument value.
37821 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
37822 (_print_arg_data): Initialize per-input timing to 0.
37823
37824 * benchtests/Makefile (timing-type): New binary.
37825 (bench-clean): Also remove bench-timing-type.
37826 (bench): New target for timing-type.
37827 (bench-func): Print output in JSON format.
37828 * benchtests/bench-skeleton.c (main): Print output in JSON
37829 format.
37830 * benchtests/bench-timing-type.c: New file.
37831 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
37832 (TIMING_PRINT_STATS): Remove.
37833 * benchtests/scripts/bench.py (_print_arg_data): Store variant
37834 name separately.
37835
37836 * benchtests/bench-modf.c: Remove.
37837 * benchtests/modf-inputs: New inputs file.
37838
37839 2014-03-28 Joseph Myers <joseph@codesourcery.com>
37840
37841 [BZ #16362]
37842 * math/s_clog10.c (M_PI_LOG10E): New macro.
37843 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
37844 imaginary parts are 0.
37845 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
37846 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
37847 imaginary parts are 0.
37848 * math/s_clog10l.c (M_PI_LOG10El): New macro.
37849 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
37850 imaginary parts are 0.
37851 * math/libm-test.inc (clog10_test_data): Update expected results
37852 for when real and imaginary parts are 0.
37853
37854 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
37855
37856 * elf/dl-load.c: Finish conversion of __builtin_expect into
37857 __glibc_{un}likely.
37858
37859 2014-03-27 Joseph Myers <joseph@codesourcery.com>
37860
37861 [BZ #16348]
37862 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
37863 1+x for argument with exponent below -67.
37864 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
37865 Likewise.
37866 * math/auto-libm-test-in: Add more tests of exp.
37867 * math/auto-libm-test-out: Regenerated.
37868
37869 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
37870
37871 [BZ #16759]
37872 * inet/getnetgrent_r.c (get_nonempty_val): New function.
37873 (nscd_getnetgrent): Use it.
37874
37875 [BZ #16760]
37876 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
37877 of stpcpy.
37878
37879 2014-03-27 Andi Kleen <ak@linux.intel.com>
37880
37881 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
37882 (lll_robust_lock, lll_cond_lock, lll_timedlock)
37883 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
37884 (lll_robust_unlock): Remove out of line section. Use cfi
37885 intrinsics.
37886 (LLL_STUB_UNWIND_INFO*): Remove.
37887 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
37888 (lll_robust_lock, lll_cond_lock, lll_timedlock)
37889 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
37890 (lll_robust_unlock): Remove out of line section. Use cfi
37891 intrinsics.
37892 (LLL_STUB_UNWIND_INFO*): Remove.
37893
37894 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
37895
37896 [BZ #16758]
37897 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
37898 blank values.
37899
37900 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
37901
37902 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
37903
37904 2014-03-26 Joseph Myers <joseph@codesourcery.com>
37905
37906 [BZ #16198]
37907 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
37908 fnstenv.
37909 * math/test-fenv-preserve.c: New file.
37910 * math/Makefile (tests): Add test-fenv-preserve.
37911
37912 2014-03-26 Will Newton <will.newton@linaro.org>
37913
37914 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
37915
37916 2014-03-25 Roland McGrath <roland@hack.frob.com>
37917
37918 * scripts/versionlist.awk: Partition the version sets and emit all
37919 GLIBC_* (sorted) before all others (sorted).
37920
37921 2014-03-25 Joseph Myers <joseph@codesourcery.com>
37922
37923 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
37924 GLIBC_2.2.5 version.
37925
37926 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37927
37928 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
37929 calls.
37930
37931 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
37932 previous change.
37933
37934 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37935
37936 2014-03-25 Andreas Schwab <schwab@suse.de>
37937
37938 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
37939 label to be used after in6ailist is initialized.
37940
37941 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37942
37943 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
37944 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
37945
37946 2014-03-25 Joseph Myers <joseph@codesourcery.com>
37947
37948 [BZ #16357]
37949 [BZ #16599]
37950 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
37951 min_plus_half.
37952 (fp_formats): Update initializers.
37953 (init_fp_formats): Initialize new field.
37954 (output_for_one_input_case): Allow underflow for results up to
37955 min_plus_half.
37956 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
37957 * math/auto-libm-test-in: Don't mark some underflows from asin and
37958 atanh as spurious.
37959 * math/auto-libm-test-out: Regenerated.
37960 * sysdeps/i386/fpu/libm-test-ulps: Update.
37961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37962
37963 2014-03-25 Andreas Schwab <schwab@suse.de>
37964
37965 * libio/Makefile (tst-ftell-partial-wide-ENV)
37966 (tst-ftell-active-handler-ENV): Define.
37967
37968 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
37969
37970 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
37971
37972 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
37973
37974 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
37975
37976 2014-03-24 Joseph Myers <joseph@codesourcery.com>
37977
37978 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
37979 * sysdeps/x86_64/fpu/multiarch/e_exp.c
37980 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
37981
37982 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
37983
37984 [BZ #16634]
37985 * elf/dl-load.c (open_verify): Add mode parameter.
37986 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
37987 (open_path): Change from boolean 'secure' to complete flag 'mode'
37988 (_dl_map_object): Adjust.
37989 * elf/Makefile (tests): Add tst-dlopen-aout.
37990 * elf/tst-dlopen-aout.c: New test.
37991
37992 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
37993
37994 [BZ #16714]
37995 * sysdeps/unix/sysv/linux/s390/bits/stat.h
37996 (struct stat): Rename member pad0 to __glibc_reserved0.
37997
37998 [BZ #16712]
37999 * sysdeps/s390/s390-32/bits/wordsize.h
38000 (__WORDSIZE32_SIZE_ULONG): New define.
38001 * sysdeps/s390/s390-64/bits/wordsize.h
38002 (__WORDSIZE32_SIZE_ULONG): Likewise.
38003 * sysdeps/generic/stdint.h (SIZE_MAX):
38004 Define as UL if __WORDSIZE32_SIZE_ULONG.
38005
38006 [BZ #16713]
38007 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
38008 (__glibc_reserved0): New variable.
38009 (sa_flags): Change type to int.
38010
38011 * posix/Makefile (before-compile): Use += before-compile instead
38012 of a :=.
38013
38014 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
38015 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
38016
38017 2014-03-20 Andreas Schwab <schwab@suse.de>
38018
38019 [BZ #16743]
38020 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
38021 non-matching result from nscd.
38022
38023 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
38024
38025 * scripts/bench.py: Moved to ...
38026 * benchtests/scripts/bench.py: ... here.
38027 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
38028
38029 2014-03-24 Andreas Schwab <schwab@suse.de>
38030
38031 [BZ #16002]
38032 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
38033 alloca_account and account alloca use for struct in6ailist.
38034
38035 2014-03-24 Joseph Myers <joseph@codesourcery.com>
38036
38037 [BZ #16284]
38038 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
38039 rounding mode to recompute results that overflow to infinity or
38040 underflow to zero.
38041 * math/auto-libm-test-in: Don't mark tests as expected to fail for
38042 bug 16284.
38043 * math/auto-libm-test-out: Regenerated.
38044 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
38045 (ccosh_test): Likewise.
38046 (csin_test_data): Use plus_oflow.
38047 (csin_test): Use ALL_RM_TEST.
38048 (csinh_test_data): Use plus_oflow.
38049 (csinh_test): Use ALL_RM_TEST.
38050 * sysdeps/i386/fpu/libm-test-ulps: Update.
38051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38052
38053 2014-03-21 Joseph Myers <joseph@codesourcery.com>
38054
38055 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
38056 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
38057 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
38058
38059 [BZ #16731]
38060 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
38061 when x - 1 is zero.
38062 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
38063 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
38064 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
38065 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
38066 argument is 1.
38067 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
38068 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
38069 zero.
38070 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
38071 * sysdeps/i386/fpu/libm-test-ulps: Update.
38072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38073
38074 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
38075
38076 * scripts/bench.pl: Remove file.
38077 * scripts/bench.py: New benchmark script.
38078 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
38079 * benchtests/README: Mention python dependency.
38080 * scripts/pylintrc: New file.
38081 * scripts/pylint: New file.
38082
38083 * bits/mathdef.h: Use #ifdef instead of #if.
38084 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
38085 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
38086 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
38087 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
38088 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
38089 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
38090
38091 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38092 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
38093
38094 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
38095 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
38096 and strpbrk-ppc64 objects.
38097 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38098 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
38099 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
38100 multiarch strpbrk for POWER7.
38101 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
38102 multiarch strpbrk for PPC64.
38103 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
38104 ifunc selector.
38105 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
38106 strpbrk for POWER7.
38107
38108 2014-03-20 Joseph Myers <joseph@codesourcery.com>
38109
38110 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
38111 (atan_test): Likewise.
38112 (atanh_test_data): Use NO_TEST_INLINE for two tests.
38113 (atanh_test): Use ALL_RM_TEST.
38114 (atan2_test_data): Likewise.
38115 (cabs_test): Likewise.
38116 (cacosh_test): Likewise.
38117 (carg_test): Likewise.
38118 (casin_test): Likewise.
38119 (casinh_test): Likewise.
38120 (cbrt_test): Likewise.
38121 (csqrt_test): Likewise.
38122 (erf_test): Likewise.
38123 (erfc_test): Likewise.
38124 (pow10_test): Likewise.
38125 (exp2_test): Likewise.
38126 (hypot_test): Likewise.
38127 (j0_test): Likewise.
38128 (j1_test): Likewise.
38129 (lgamma_test): Likewise.
38130 (gamma_test): Likewise.
38131 (sincos_test): Likewise.
38132 (tanh_test): Likewise.
38133 (y0_test): Likewise.
38134 (y1_test): Likewise.
38135 * sysdeps/i386/fpu/libm-test-ulps: Update.
38136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38137
38138 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38139
38140 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
38141 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
38142 and strcspn-ppc64 objects.
38143 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38144 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
38145 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
38146 multiarch strcspn for POWER7.
38147 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
38148 multiarch strcspn for PPC64.
38149 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
38150 ifunc selector.
38151 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
38152 strcspn for POWER7.
38153
38154 2014-03-20 Joseph Myers <joseph@codesourcery.com>
38155
38156 * math/gen-libm-test.pl (generate_testfile): Expect only function
38157 name as argument to AUTO_TESTS_* and pass results for all rounding
38158 modes to parse_args.
38159 (parse_auto_input): Separate inputs of automatic tests from
38160 outputs before storing in %auto_tests.
38161 * math/libm-test.inc (acos_test_data): Update call to
38162 AUTO_TESTS_f_f.
38163 (acos_test): Use ALL_RM_TEST.
38164 (acos_tonearest_test_data): Remove.
38165 (acos_test_tonearest): Likewise.
38166 (acos_towardzero_test_data): Likewise.
38167 (acos_test_towardzero): Likewise.
38168 (acos_downward_test_data): Likewise.
38169 (acos_test_downward): Likewise.
38170 (acos_upward_test_data): Likewise.
38171 (acos_test_upward): Likewise.
38172 (acosh_test_data): Update call to AUTO_TESTS_f_f.
38173 (asin_test_data): Likewise.
38174 (asin_test): Use ALL_RM_TEST.
38175 (asin_tonearest_test_data): Remove.
38176 (asin_test_tonearest): Likewise.
38177 (asin_towardzero_test_data): Likewise.
38178 (asin_test_towardzero): Likewise.
38179 (asin_downward_test_data): Likewise.
38180 (asin_test_downward): Likewise.
38181 (asin_upward_test_data): Likewise.
38182 (asin_test_upward): Likewise.
38183 (asinh_test_data): Update call to AUTO_TESTS_f_f.
38184 (atan_test_data): Likewise.
38185 (atanh_test_data): Likewise.
38186 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
38187 (cabs_test_data): Update call to AUTO_TESTS_c_f.
38188 (carg_test_data): Likewise.
38189 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
38190 (ccos_test_data): Update call to AUTO_TESTS_c_c.
38191 (ccosh_test_data): Likewise.
38192 (cexp_test_data): Likewise.
38193 (clog_test_data): Likewise.
38194 (clog10_test_data): Likewise.
38195 (cos_test_data): Update call to AUTO_TESTS_f_f.
38196 (cos_test): Use ALL_RM_TEST.
38197 (cos_tonearest_test_data): Remove.
38198 (cos_test_tonearest): Likewise.
38199 (cos_towardzero_test_data): Likewise.
38200 (cos_test_towardzero): Likewise.
38201 (cos_downward_test_data): Likewise.
38202 (cos_test_downward): Likewise.
38203 (cos_upward_test_data): Likewise.
38204 (cos_test_upward): Likewise.
38205 (cosh_test_data): Update call to AUTO_TESTS_f_f.
38206 (cosh_test): Use ALL_RM_TEST.
38207 (cosh_tonearest_test_data): Remove.
38208 (cosh_test_tonearest): Likewise.
38209 (cosh_towardzero_test_data): Likewise.
38210 (cosh_test_towardzero): Likewise.
38211 (cosh_downward_test_data): Likewise.
38212 (cosh_test_downward): Likewise.
38213 (cosh_upward_test_data): Likewise.
38214 (cosh_test_upward): Likewise.
38215 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
38216 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
38217 (ctan_test_data): Likewise.
38218 (ctan_test): Use ALL_RM_TEST.
38219 (ctan_tonearest_test_data): Remove.
38220 (ctan_test_tonearest): Likewise.
38221 (ctan_towardzero_test_data): Likewise.
38222 (ctan_test_towardzero): Likewise.
38223 (ctan_downward_test_data): Likewise.
38224 (ctan_test_downward): Likewise.
38225 (ctan_upward_test_data): Likewise.
38226 (ctan_test_upward): Likewise.
38227 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
38228 (ctanh_test): Use ALL_RM_TEST.
38229 (ctanh_tonearest_test_data): Remove.
38230 (ctanh_test_tonearest): Likewise.
38231 (ctanh_towardzero_test_data): Likewise.
38232 (ctanh_test_towardzero): Likewise.
38233 (ctanh_downward_test_data): Likewise.
38234 (ctanh_test_downward): Likewise.
38235 (ctanh_upward_test_data): Likewise.
38236 (ctanh_test_upward): Likewise.
38237 (erf_test_data): Update call to AUTO_TESTS_f_f.
38238 (erfc_test_data): Likewise.
38239 (exp_test_data): Likewise.
38240 (exp_test): Use ALL_RM_TEST.
38241 (exp_tonearest_test_data): Remove.
38242 (exp_test_tonearest): Likewise.
38243 (exp_towardzero_test_data): Likewise.
38244 (exp_test_towardzero): Likewise.
38245 (exp_downward_test_data): Likewise.
38246 (exp_test_downward): Likewise.
38247 (exp_upward_test_data): Likewise.
38248 (exp_test_upward): Likewise.
38249 (exp10_test_data): Update call to AUTO_TESTS_f_f.
38250 (exp10_test): Use ALL_RM_TEST.
38251 (exp10_tonearest_test_data): Remove.
38252 (exp10_test_tonearest): Likewise.
38253 (exp10_towardzero_test_data): Likewise.
38254 (exp10_test_towardzero): Likewise.
38255 (exp10_downward_test_data): Likewise.
38256 (exp10_test_downward): Likewise.
38257 (exp10_upward_test_data): Likewise.
38258 (exp10_test_upward): Likewise.
38259 (exp2_test_data): Update call to AUTO_TESTS_f_f.
38260 (expm1_test_data): Likewise.
38261 (expm1_test): Use ALL_RM_TEST.
38262 (expm1_tonearest_test_data): Remove.
38263 (expm1_test_tonearest): Likewise.
38264 (expm1_towardzero_test_data): Likewise.
38265 (expm1_test_towardzero): Likewise.
38266 (expm1_downward_test_data): Likewise.
38267 (expm1_test_downward): Likewise.
38268 (expm1_upward_test_data): Likewise.
38269 (expm1_test_upward): Likewise.
38270 (fma_test_data): Update call to AUTO_TESTS_fff_f.
38271 (fma_test): Use ALL_RM_TEST.
38272 (fma_towardzero_test_data): Remove.
38273 (fma_test_towardzero): Likewise.
38274 (fma_downward_test_data): Likewise.
38275 (fma_test_downward): Likewise.
38276 (fma_upward_test_data): Likewise.
38277 (fma_test_upward): Likewise.
38278 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
38279 (j0_test_data): Update call to AUTO_TESTS_f_f.
38280 (j1_test_data): Likewise.
38281 (jn_test_data): Update call to AUTO_TESTS_if_f.
38282 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
38283 (log_test_data): Update call to AUTO_TESTS_f_f.
38284 (log10_test_data): Likewise.
38285 (log1p_test_data): Likewise.
38286 (log2_test_data): Likewise.
38287 (pow_test_data): Update call to AUTO_TESTS_ff_f.
38288 (pow_tonearest_test_data): Likewise.
38289 (sin_test_data): Update call to AUTO_TESTS_f_f.
38290 (sin_test): Use ALL_RM_TEST.
38291 (sin_tonearest_test_data): Remove.
38292 (sin_test_tonearest): Likewise.
38293 (sin_towardzero_test_data): Likewise.
38294 (sin_test_towardzero): Likewise.
38295 (sin_downward_test_data): Likewise.
38296 (sin_test_downward): Likewise.
38297 (sin_upward_test_data): Likewise.
38298 (sin_test_upward): Likewise.
38299 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
38300 (sinh_test_data): Update call to AUTO_TESTS_f_f.
38301 (sinh_test): Use ALL_RM_TEST.
38302 (sinh_tonearest_test_data): Remove.
38303 (sinh_test_tonearest): Likewise.
38304 (sinh_towardzero_test_data): Likewise.
38305 (sinh_test_towardzero): Likewise.
38306 (sinh_downward_test_data): Likewise.
38307 (sinh_test_downward): Likewise.
38308 (sinh_upward_test_data): Likewise.
38309 (sinh_test_upward): Likewise.
38310 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
38311 (sqrt_test): Use ALL_RM_TEST.
38312 (sqrt_tonearest_test_data): Remove.
38313 (sqrt_test_tonearest): Likewise.
38314 (sqrt_towardzero_test_data): Likewise.
38315 (sqrt_test_towardzero): Likewise.
38316 (sqrt_downward_test_data): Likewise.
38317 (sqrt_test_downward): Likewise.
38318 (sqrt_upward_test_data): Likewise.
38319 (sqrt_test_upward): Likewise.
38320 (tan_test_data): Update call to AUTO_TESTS_f_f.
38321 (tan_test): Use ALL_RM_TEST.
38322 (tan_tonearest_test_data): Remove.
38323 (tan_test_tonearest): Likewise.
38324 (tan_towardzero_test_data): Likewise.
38325 (tan_test_towardzero): Likewise.
38326 (tan_downward_test_data): Likewise.
38327 (tan_test_downward): Likewise.
38328 (tan_upward_test_data): Likewise.
38329 (tan_test_upward): Likewise.
38330 (tanh_test_data): Update call to AUTO_TESTS_f_f.
38331 (tgamma_test_data): Likewise.
38332 (y0_test_data): Likewise.
38333 (y1_test_data): Likewise.
38334 (yn_test_data): Update call to AUTO_TESTS_if_f.
38335 (main): Do not call removed functions.
38336
38337 2014-03-19 Joseph Myers <joseph@codesourcery.com>
38338
38339 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
38340 (ldexp_test_data): Remove.
38341 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
38342 scalbn_test_data.
38343 (scalb_test): Use ALL_RM_TEST.
38344
38345 2014-03-19 Andreas Schwab <schwab@suse.de>
38346
38347 * nscd/nscd.service: Also invalidate netgroup cache on reload.
38348
38349 2014-03-19 Joseph Myers <joseph@codesourcery.com>
38350
38351 [BZ #16649]
38352 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
38353 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
38354 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
38355 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38356 (__ASSUME_PREADV): Undefine.
38357 (__ASSUME_PWRITEV): Likewise.
38358
38359 2014-03-18 Roland McGrath <roland@hack.frob.com>
38360
38361 * bits/mman-linux.h: Add comment about non-Linux use.
38362 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
38363 bits/mman-linux.h resting place.
38364
38365 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
38366 * bits/mman-linux.h: ... here.
38367
38368 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38369
38370 * conform/conformtest.pl: Add standard definition when calling C
38371 preprocessor on data files.
38372 (checknamespace): Remove unused variable.
38373
38374 2014-03-18 Joseph Myers <joseph@codesourcery.com>
38375
38376 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
38377 minus_oflow, plus_uflow and minus_uflow in expected results.
38378 * math/libm-test.inc (scalbn_test_data): Add more tests of
38379 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
38380 minus_uflow.
38381 (scalbn_test): Use ALL_RM_TEST.
38382 (scalbln_test_data): Add more tests of negative arguments. Use
38383 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
38384 (scalbln_test): Use ALL_RM_TEST.
38385
38386 2014-03-18 Roland McGrath <roland@hack.frob.com>
38387
38388 * scripts/abilist.awk: Ignore symbols marked with .hidden.
38389
38390 2014-03-18 Will Newton <will.newton@linaro.org>
38391
38392 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
38393 inaccurate comment.
38394
38395 2014-03-18 Joseph Myers <joseph@codesourcery.com>
38396
38397 * Makerules [!subdir] (check-abi): Exit with error status if a
38398 test failed.
38399
38400 2014-03-17 Joseph Myers <joseph@codesourcery.com>
38401
38402 * math/libm-test.inc (nearbyint_test_data): Include all tests used
38403 for rint. Include results for all rounding modes.
38404 (nearbyint_test): Use ALL_RM_TEST.
38405 (rint_test_data): Include all tests used for nearbyint.
38406
38407 2014-03-17 Will Newton <will.newton@linaro.org>
38408
38409 * nptl/sysdeps/pthread/pthread.h: Revert previous
38410 change.
38411
38412 * sysdeps/generic/ldsodefs.h: Revert previous
38413 change.
38414
38415 * libio/genops.c: Revert previous change.
38416 * libio/libioP.h: Likewise.
38417 * stdio-common/vfprintf.c: Likewise.
38418
38419 * sysdeps/generic/math_private.h: Revert previous
38420 change.
38421
38422 * sysdeps/generic/math_private.h: Check whether
38423 HAVE_RM_CTX is defined with #ifdef rather
38424 than #if.
38425
38426 * argp/argp-fmtstream.h: Check whether
38427 __STRICT_ANSI__ is defined with #ifdef rather
38428 than #if.
38429 * argp/argp.h: Likewise.
38430
38431 * libio/genops.c: Check whether
38432 _IO_JUMPS_OFFSET is defined with #ifdef rather
38433 than #if.
38434 * libio/libioP.h: Likewise.
38435 * stdio-common/vfprintf.c: Likewise.
38436
38437 * sysdeps/generic/ldsodefs.h: Check whether
38438 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
38439 than #if.
38440
38441 * nptl/sysdeps/pthread/pthread.h: Check
38442 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
38443 its value.
38444
38445 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
38446
38447 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
38448 setting O_APPEND.
38449 * libio/tst-ftell-active-handler.c (do_append_test): Add a
38450 test case.
38451
38452 [BZ #16680]
38453 * libio/fileops.c (_IO_file_open): Seek to end of file but
38454 don't cache the offset.
38455 (get_file_offset): Remove function.
38456 (do_ftell): Use cached offset when available.
38457 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
38458 don't cache the offset.
38459 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
38460 case.
38461 (do_one_test): Call it.
38462 (do_ftell_test): Fix up expected old offset for a+ mode.
38463 * libio/wfileops.c (do_ftell_wide): Used cached offset when
38464 available.
38465
38466 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
38467 up test status with function return status.
38468 (do_write_test): Likewise.
38469 (do_append_test): Likewise.
38470
38471 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
38472 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
38473 Remove.
38474
38475 2014-03-17 Joseph Myers <joseph@codesourcery.com>
38476
38477 * math/gen-libm-test.pl (parse_args): Handle results specified for
38478 each rounding mode separately.
38479 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
38480 tests and results from lrint_tonearest_test_data,
38481 lrint_towardzero_test_data, lrint_downward_test_data and
38482 lrint_upward_test_data.
38483 (lrint_test): Use ALL_RM_TEST.
38484 (lrint_tonearest_test_data): Remove.
38485 (lrint_test_tonearest): Likewise.
38486 (lrint_towardzero_test_data): Likewise.
38487 (lrint_test_towardzero): Likewise.
38488 (lrint_downward_test_data): Likewise.
38489 (lrint_test_downward): Likewise.
38490 (lrint_upward_test_data): Likewise.
38491 (lrint_test_upward): Likewise.
38492 (llrint_test_data): Merge in per-rounding-mode tests and results
38493 from llrint_tonearest_test_data, llrint_towardzero_test_data,
38494 llrint_downward_test_data and llrint_upward_test_data.
38495 (llrint_test): Use ALL_RM_TEST.
38496 (llrint_tonearest_test_data): Remove.
38497 (llrint_test_tonearest): Likewise.
38498 (llrint_towardzero_test_data): Likewise.
38499 (llrint_test_towardzero): Likewise.
38500 (llrint_downward_test_data): Likewise.
38501 (llrint_test_downward): Likewise.
38502 (llrint_upward_test_data): Likewise.
38503 (llrint_test_upward): Likewise.
38504 (rint_test_data): Merge in per-rounding-mode tests and results
38505 from rint_tonearest_test_data, rint_towardzero_test_data,
38506 rint_downward_test_data and rint_upward_test_data. Add
38507 per-rounding-mode results for tests not in those arrays.
38508 (rint_test): Use ALL_RM_TEST.
38509 (rint_tonearest_test_data): Remove.
38510 (rint_test_tonearest): Likewise.
38511 (rint_towardzero_test_data): Likewise.
38512 (rint_test_towardzero): Likewise.
38513 (rint_downward_test_data): Likewise.
38514 (rint_test_downward): Likewise.
38515 (rint_upward_test_data): Likewise.
38516 (rint_test_upward): Likewise.
38517 (main): Don't call removed functions.
38518
38519 2014-03-14 Roland McGrath <roland@hack.frob.com>
38520
38521 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
38522 "Compiled on ..." crapola. It is anti-useful.
38523
38524 2014-03-14 Joseph Myers <joseph@codesourcery.com>
38525
38526 * scripts/evaluate-test.sh: Handle fourth argument to determine
38527 whether test run should stop on failure.
38528 * Makeconfig (stop-on-test-failure): New variable.
38529 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
38530 $(stop-on-test-failure).
38531 * Makefile (tests): Give a summary of results from testing and
38532 exit with failure status if they include an ERROR or FAIL.
38533 (xtests): Likewise.
38534 * manual/install.texi (Configuring and compiling): Mention
38535 stop-on-test-failure=y.
38536 * INSTALL: Regenerated.
38537
38538 2014-03-14 Roland McGrath <roland@hack.frob.com>
38539
38540 * scripts/versionlist.awk: New file.
38541 * Makerules [$(build-shared) = yes]
38542 (postclean-generated): Add Versions.def, not Versions.def.v and
38543 Versions.def.v.i.
38544 ($(common-objpfx)Versions.def.v.i): Target removed.
38545 ($(common-objpfx)Versions.def): New target.
38546 ($(common-objpfx)Versions.all): Depend on that rather that
38547 $(common-objpfx)Versions.def.v.
38548 * Versions.def: File removed.
38549
38550 * Makeconfig (+gccwarn): Add -Wundef.
38551 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
38552 a dl-sysdep.h breaking its contract.
38553 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
38554 * include/stackinfo.h: New file.
38555 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
38556 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
38557 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
38558 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
38559 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
38560 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
38561 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38562 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38563 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38564 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38565 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38566 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
38567 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38568 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38569 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38570
38571 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38572
38573 [BZ #16707]
38574 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
38575 implementation.
38576 * math/libm-test.inc (round_test_data): Add more tests.
38577
38578 [BZ #16706]
38579 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
38580 implementation.
38581 * math/libm-test.inc (nearbyint_test_data): Add more tests.
38582
38583 [BZ #16701]
38584 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
38585 implementation.
38586 * math/libm-test.inc (ceil_test_data): Add more tests.
38587
38588 * math/libm-test.inc (trunc_test_data): Add more tests related to
38589 BZ#16414.
38590
38591 2014-03-14 Roland McGrath <roland@hack.frob.com>
38592
38593 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
38594 with #if rather than #ifdef.
38595 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
38596
38597 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
38598
38599 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
38600 first. Disable AVX-512 GCC support if assembler doesn't support
38601 it.
38602 * sysdeps/x86_64/configure: Regenerated.
38603
38604 2014-03-13 Carlos O'Donell <carlos@redhat.com>
38605
38606 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
38607 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
38608 (__old_pthread_attr_setstack): Likewise.
38609 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
38610 [!_STACK_GROWS_DOWN]: Likewise.
38611
38612 2014-03-13 Mike Frysinger <vapier@gentoo.org>
38613
38614 * config.make.in (have-bash2): Delete.
38615 * configure.ac (libc_cv_have_bash2): Delete.
38616 * configure: Regenerate.
38617 * elf/Makefile (common-ldd-rewrite): Rename to ...
38618 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
38619 (sh-ldd-rewrite): Delete.
38620 (bash-ldd-rewrite): Delete.
38621 (have-bash2): Delete checks.
38622 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
38623 ldd-rewrite.
38624
38625 * config.make.in (have-ksh): Delete.
38626 (KSH): Delete.
38627 * configure.ac (libc_cv_have_ksh): Delete.
38628 * configure: Regenerate.
38629
38630 * elf/Makefile: Delete $(have-ksh) check.
38631 ($(objpfx)sotruss): Change KSH to BASH.
38632 * elf/sotruss.ksh: Rename to ...
38633 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
38634 function style to match POSIX. Drop ksh vim mode setting.
38635
38636 * manual/time.texi (Specifying the Time Zone with TZ): Change
38637 Tuesday to Thursday.
38638
38639 * debug/tst-longjmp_chk2.c: Update header comment.
38640 (stackoverflow_handler): Add comment. Call assert on pass value.
38641
38642 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
38643
38644 [BZ #16194]
38645 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
38646 (HAVE_AVX512_ASM_SUPPORT): Likewise.
38647 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
38648 (La_x86_64_vector): Add zmm.
38649 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
38650 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
38651 ($(objpfx)tst-audit10): New target.
38652 ($(objpfx)tst-audit10.out): Likewise.
38653 (tst-audit10-ENV): New.
38654 (AVX512-CFLAGS): Likewise.
38655 (CFLAGS-tst-audit10.c): Likewise.
38656 (CFLAGS-tst-auditmod10a.c): Likewise.
38657 (CFLAGS-tst-auditmod10b.c): Likewise.
38658 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
38659 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
38660 * sysdeps/x86_64/configure: Regenerated.
38661 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
38662 AVX-512 zmm register support.
38663 (_dl_x86_64_save_sse): Likewise.
38664 (_dl_x86_64_restore_sse): Likewise.
38665 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
38666 size vector registers.
38667 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
38668 (ZMM_SIZE): Likewise.
38669 * sysdeps/x86_64/tst-audit10.c: New file.
38670 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
38671 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
38672
38673 2014-03-13 Roland McGrath <roland@hack.frob.com>
38674
38675 * configure.ac (HAVE_EHDR_START): New check.
38676 * configure: Regenerated.
38677 * config.h.in (HAVE_EHDR_START): New #undef.
38678 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
38679 assuming the lowest-addressed segment maps the start of the file.
38680
38681 2014-03-13 Joseph Myers <joseph@codesourcery.com>
38682
38683 * INSTALL: Regenerated.
38684
38685 2014-03-13 Will Newton <will.newton@linaro.org>
38686
38687 * manual/setjmp.texi (System V contexts): Improve
38688 clarity and grammar of documentation.
38689
38690 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
38691
38692 [BZ #16381]
38693 * elf/Makefile (tests): Add tst-pie2.
38694 (tests-pie): Add tst-pie2.
38695 * elf/tst-pie2.c: New file.
38696 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
38697 for ET_EXEC.
38698 * elf/rtld.c (map_doit): Load executable as lt_executable.
38699 (dl_main): Likewise.
38700
38701 2014-03-12 Joseph Myers <joseph@codesourcery.com>
38702
38703 [BZ #16642]
38704 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38705 (__ASSUME_PSELECT): Undefine.
38706
38707 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38708
38709 [BZ #16689]
38710 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
38711 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
38712 static build.
38713 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
38714 selector for static builds.
38715
38716 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
38717
38718 [BZ #16695]
38719 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
38720 key in the buffer.
38721
38722 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38723
38724 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
38725 IFUNC selector for static builds.
38726
38727 2014-03-11 Joseph Myers <joseph@codesourcery.com>
38728
38729 * sysdeps/mips/math_private.h [__mips_hard_float]
38730 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
38731 libc_feresetround_mips_ctx.
38732 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
38733 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
38734 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
38735
38736 [BZ #16677]
38737 * math/s_nextafter.c (__nextafter): Do not return value from
38738 overflowing computation.
38739 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
38740 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
38741 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
38742 Likewise.
38743 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
38744 Likewise.
38745 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
38746 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
38747
38748 2014-03-11 Roland McGrath <roland@hack.frob.com>
38749
38750 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
38751 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
38752 Move sfi_sp use from the load-multiple (that no longer sets sp) to
38753 the new mov targetting sp.
38754
38755 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38756
38757 [BZ #16683]
38758 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
38759 Define it for static builds as well.
38760 (NO_BZERO_IMPL): Likewise.
38761
38762 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
38763
38764 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
38765 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
38766 multiarch strspn for PPC64.
38767 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
38768 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
38769 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
38770 (__libc_ifunc_impl_list): Likewise.
38771 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
38772 multiarch optimizations
38773 * string/strspn.c (strspn): Using macro to redefine symbol name.
38774
38775 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
38776 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38777
38778 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
38779 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
38780 multiarch strncat for PPC64.
38781 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
38782 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
38783 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
38784 (__libc_ifunc_impl_list): Likewise.
38785 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
38786 multiarch optimizations
38787
38788 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
38789
38790 [BZ #16639]
38791 * nscd/nscd.service: Make service type forking.
38792
38793 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38794
38795 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
38796 sign in non default rounding modes.
38797 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
38798
38799 2014-03-08 Joseph Myers <joseph@codesourcery.com>
38800
38801 * math/libm-test.inc (ALL_RM_TEST): New macro.
38802 (ceil_test): Use ALL_RM_TEST.
38803 (cimag_test): Likewise.
38804 (conj_test): Likewise.
38805 (copysign_test): Likewise.
38806 (cproj_test): Likewise.
38807 (creal_test): Likewise.
38808 (fabs_test): Likewise.
38809 (floor_test): Likewise.
38810 (fmax_test): Likewise.
38811 (fmin_test): Likewise.
38812 (fmod_test): Likewise.
38813 (fpclassify_test): Likewise.
38814 (frexp_test): Likewise.
38815 (ilogb_test): Likewise.
38816 (isfinite_test): Likewise.
38817 (finite_test): Likewise.
38818 (isgreater_test): Likewise.
38819 (isgreaterequal_test): Likewise.
38820 (isinf_test): Likewise.
38821 (isless_test): Likewise.
38822 (islessequal_test): Likewise.
38823 (islessgreater_test): Likewise.
38824 (isnan_test): Likewise.
38825 (isnormal_test): Likewise.
38826 (issignaling_test): Likewise.
38827 (isunordered_test): Likewise.
38828 (logb_test): Likewise.
38829 (logb_downward_test_data): Remove.
38830 (logb_test_downward): Likewise.
38831 (lround_test): Use ALL_RM_TEST.
38832 (llround_test): Likewise.
38833 (modf_test): Likewise.
38834 (nexttoward_test): Likewise.
38835 (remainder_test): Likewise.
38836 (drem_test): Likewise.
38837 (remainder_tonearest_test_data): Likewise.
38838 (remainder_test_tonearest): Likewise.
38839 (drem_test_tonearest): Likewise.
38840 (remainder_towardzero_test_data): Likewise.
38841 (remainder_test_towardzero): Likewise.
38842 (drem_test_towardzero): Likewise.
38843 (remainder_downward_test_data): Likewise.
38844 (remainder_test_downward): Likewise.
38845 (drem_test_downward): Likewise.
38846 (remainder_upward_test_data): Likewise.
38847 (remainder_test_upward): Likewise.
38848 (drem_test_upward): Likewise.
38849 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
38850 (round_test): Use ALL_RM_TEST.
38851 (signbit_test): Likewise.
38852 (trunc_test): Likewise.
38853 (significand_test): Likewise.
38854 (main): Don't call removed functions.
38855
38856 2014-03-07 Joseph Myers <joseph@codesourcery.com>
38857
38858 [BZ #16674]
38859 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
38860 || __USE_XOPEN2K8].
38861 (ILL_ILLOPN): Likewise.
38862 (ILL_ILLADR): Likewise.
38863 (ILL_ILLTRP): Likewise.
38864 (ILL_PRVOPC): Likewise.
38865 (ILL_PRVREG): Likewise.
38866 (ILL_COPROC): Likewise.
38867 (ILL_BADSTK): Likewise.
38868 (FPE_INTDIV): Likewise.
38869 (FPE_INTOVF): Likewise.
38870 (FPE_FLTDIV): Likewise.
38871 (FPE_FLTOVF): Likewise.
38872 (FPE_FLTUND): Likewise.
38873 (FPE_FLTRES): Likewise.
38874 (FPE_FLTINV): Likewise.
38875 (FPE_FLTSUB): Likewise.
38876 (SEGV_MAPERR): Likewise.
38877 (SEGV_ACCERR): Likewise.
38878 (BUS_ADRALN): Likewise.
38879 (BUS_ADRERR): Likewise.
38880 (BUS_OBJERR): Likewise.
38881 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38882 (TRAP_TRACE): Likewise.
38883 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38884 __USE_XOPEN2K8].
38885 (CLD_KILLED): Likewise.
38886 (CLD_DUMPED): Likewise.
38887 (CLD_TRAPPED): Likewise.
38888 (CLD_STOPPED): Likewise.
38889 (CLD_CONTINUED): Likewise.
38890 (POLL_IN): Likewise.
38891 (POLL_OUT): Likewise.
38892 (POLL_MSG): Likewise.
38893 (POLL_ERR): Likewise.
38894 (POLL_PRI): Likewise.
38895 (POLL_HUP): Likewise.
38896 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
38897 Likewise.
38898 (ILL_ILLOPN): Likewise.
38899 (ILL_ILLADR): Likewise.
38900 (ILL_ILLTRP): Likewise.
38901 (ILL_PRVOPC): Likewise.
38902 (ILL_PRVREG): Likewise.
38903 (ILL_COPROC): Likewise.
38904 (ILL_BADSTK): Likewise.
38905 (FPE_INTDIV): Likewise.
38906 (FPE_INTOVF): Likewise.
38907 (FPE_FLTDIV): Likewise.
38908 (FPE_FLTOVF): Likewise.
38909 (FPE_FLTUND): Likewise.
38910 (FPE_FLTRES): Likewise.
38911 (FPE_FLTINV): Likewise.
38912 (FPE_FLTSUB): Likewise.
38913 (SEGV_MAPERR): Likewise.
38914 (SEGV_ACCERR): Likewise.
38915 (BUS_ADRALN): Likewise.
38916 (BUS_ADRERR): Likewise.
38917 (BUS_OBJERR): Likewise.
38918 (BUS_MCEERR_AR): Likewise.
38919 (BUS_MCEERR_AO): Likewise.
38920 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38921 (TRAP_TRACE): Likewise.
38922 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38923 __USE_XOPEN2K8].
38924 (CLD_KILLED): Likewise.
38925 (CLD_DUMPED): Likewise.
38926 (CLD_TRAPPED): Likewise.
38927 (CLD_STOPPED): Likewise.
38928 (CLD_CONTINUED): Likewise.
38929 (POLL_IN): Likewise.
38930 (POLL_OUT): Likewise.
38931 (POLL_MSG): Likewise.
38932 (POLL_ERR): Likewise.
38933 (POLL_PRI): Likewise.
38934 (POLL_HUP): Likewise.
38935 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
38936 (ILL_ILLOPN): Likewise.
38937 (ILL_ILLADR): Likewise.
38938 (ILL_ILLTRP): Likewise.
38939 (ILL_PRVOPC): Likewise.
38940 (ILL_PRVREG): Likewise.
38941 (ILL_COPROC): Likewise.
38942 (ILL_BADSTK): Likewise.
38943 (FPE_INTDIV): Likewise.
38944 (FPE_INTOVF): Likewise.
38945 (FPE_FLTDIV): Likewise.
38946 (FPE_FLTOVF): Likewise.
38947 (FPE_FLTUND): Likewise.
38948 (FPE_FLTRES): Likewise.
38949 (FPE_FLTINV): Likewise.
38950 (FPE_FLTSUB): Likewise.
38951 (SEGV_MAPERR): Likewise.
38952 (SEGV_ACCERR): Likewise.
38953 (BUS_ADRALN): Likewise.
38954 (BUS_ADRERR): Likewise.
38955 (BUS_OBJERR): Likewise.
38956 (BUS_MCEERR_AR): Likewise.
38957 (BUS_MCEERR_AO): Likewise.
38958 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38959 (TRAP_TRACE): Likewise.
38960 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38961 __USE_XOPEN2K8].
38962 (CLD_KILLED): Likewise.
38963 (CLD_DUMPED): Likewise.
38964 (CLD_TRAPPED): Likewise.
38965 (CLD_STOPPED): Likewise.
38966 (CLD_CONTINUED): Likewise.
38967 (POLL_IN): Likewise.
38968 (POLL_OUT): Likewise.
38969 (POLL_MSG): Likewise.
38970 (POLL_ERR): Likewise.
38971 (POLL_PRI): Likewise.
38972 (POLL_HUP): Likewise.
38973 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
38974 Likewise.
38975 (ILL_ILLOPN): Likewise.
38976 (ILL_ILLADR): Likewise.
38977 (ILL_ILLTRP): Likewise.
38978 (ILL_PRVOPC): Likewise.
38979 (ILL_PRVREG): Likewise.
38980 (ILL_COPROC): Likewise.
38981 (ILL_BADSTK): Likewise.
38982 (ILL_BADIADDR): Likewise.
38983 (ILL_BREAK): Likewise.
38984 (FPE_INTDIV): Likewise.
38985 (FPE_INTOVF): Likewise.
38986 (FPE_FLTDIV): Likewise.
38987 (FPE_FLTOVF): Likewise.
38988 (FPE_FLTUND): Likewise.
38989 (FPE_FLTRES): Likewise.
38990 (FPE_FLTINV): Likewise.
38991 (FPE_FLTSUB): Likewise.
38992 (FPE_DECOVF): Likewise.
38993 (FPE_DECDIV): Likewise.
38994 (FPE_DECERR): Likewise.
38995 (FPE_INVASC): Likewise.
38996 (FPE_INVDEC): Likewise.
38997 (SEGV_MAPERR): Likewise.
38998 (SEGV_ACCERR): Likewise.
38999 (SEGV_PSTKOVF): Likewise.
39000 (BUS_ADRALN): Likewise.
39001 (BUS_ADRERR): Likewise.
39002 (BUS_OBJERR): Likewise.
39003 (BUS_MCEERR_AR): Likewise.
39004 (BUS_MCEERR_AO): Likewise.
39005 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39006 (TRAP_TRACE): Likewise.
39007 (TRAP_BRANCH): Likewise.
39008 (TRAP_HWBKPT): Likewise.
39009 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39010 __USE_XOPEN2K8].
39011 (CLD_KILLED): Likewise.
39012 (CLD_DUMPED): Likewise.
39013 (CLD_TRAPPED): Likewise.
39014 (CLD_STOPPED): Likewise.
39015 (CLD_CONTINUED): Likewise.
39016 (POLL_IN): Likewise.
39017 (POLL_OUT): Likewise.
39018 (POLL_MSG): Likewise.
39019 (POLL_ERR): Likewise.
39020 (POLL_PRI): Likewise.
39021 (POLL_HUP): Likewise.
39022 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
39023 (ILL_ILLOPN): Likewise.
39024 (ILL_ILLADR): Likewise.
39025 (ILL_ILLTRP): Likewise.
39026 (ILL_PRVOPC): Likewise.
39027 (ILL_PRVREG): Likewise.
39028 (ILL_COPROC): Likewise.
39029 (ILL_BADSTK): Likewise.
39030 (FPE_INTDIV): Likewise.
39031 (FPE_INTOVF): Likewise.
39032 (FPE_FLTDIV): Likewise.
39033 (FPE_FLTOVF): Likewise.
39034 (FPE_FLTUND): Likewise.
39035 (FPE_FLTRES): Likewise.
39036 (FPE_FLTINV): Likewise.
39037 (FPE_FLTSUB): Likewise.
39038 (SEGV_MAPERR): Likewise.
39039 (SEGV_ACCERR): Likewise.
39040 (BUS_ADRALN): Likewise.
39041 (BUS_ADRERR): Likewise.
39042 (BUS_OBJERR): Likewise.
39043 (BUS_MCEERR_AR): Likewise.
39044 (BUS_MCEERR_AO): Likewise.
39045 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39046 (TRAP_TRACE): Likewise.
39047 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39048 __USE_XOPEN2K8].
39049 (CLD_KILLED): Likewise.
39050 (CLD_DUMPED): Likewise.
39051 (CLD_TRAPPED): Likewise.
39052 (CLD_STOPPED): Likewise.
39053 (CLD_CONTINUED): Likewise.
39054 (POLL_IN): Likewise.
39055 (POLL_OUT): Likewise.
39056 (POLL_MSG): Likewise.
39057 (POLL_ERR): Likewise.
39058 (POLL_PRI): Likewise.
39059 (POLL_HUP): Likewise.
39060 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
39061 (ILL_ILLOPN): Likewise.
39062 (ILL_ILLADR): Likewise.
39063 (ILL_ILLTRP): Likewise.
39064 (ILL_PRVOPC): Likewise.
39065 (ILL_PRVREG): Likewise.
39066 (ILL_COPROC): Likewise.
39067 (ILL_BADSTK): Likewise.
39068 (FPE_INTDIV): Likewise.
39069 (FPE_INTOVF): Likewise.
39070 (FPE_FLTDIV): Likewise.
39071 (FPE_FLTOVF): Likewise.
39072 (FPE_FLTUND): Likewise.
39073 (FPE_FLTRES): Likewise.
39074 (FPE_FLTINV): Likewise.
39075 (FPE_FLTSUB): Likewise.
39076 (SEGV_MAPERR): Likewise.
39077 (SEGV_ACCERR): Likewise.
39078 (BUS_ADRALN): Likewise.
39079 (BUS_ADRERR): Likewise.
39080 (BUS_OBJERR): Likewise.
39081 (BUS_MCEERR_AR): Likewise.
39082 (BUS_MCEERR_AO): Likewise.
39083 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39084 (TRAP_TRACE): Likewise.
39085 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39086 __USE_XOPEN2K8].
39087 (CLD_KILLED): Likewise.
39088 (CLD_DUMPED): Likewise.
39089 (CLD_TRAPPED): Likewise.
39090 (CLD_STOPPED): Likewise.
39091 (CLD_CONTINUED): Likewise.
39092 (POLL_IN): Likewise.
39093 (POLL_OUT): Likewise.
39094 (POLL_MSG): Likewise.
39095 (POLL_ERR): Likewise.
39096 (POLL_PRI): Likewise.
39097 (POLL_HUP): Likewise.
39098 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
39099 (ILL_ILLOPN): Likewise.
39100 (ILL_ILLADR): Likewise.
39101 (ILL_ILLTRP): Likewise.
39102 (ILL_PRVOPC): Likewise.
39103 (ILL_PRVREG): Likewise.
39104 (ILL_COPROC): Likewise.
39105 (ILL_BADSTK): Likewise.
39106 (FPE_INTDIV): Likewise.
39107 (FPE_INTOVF): Likewise.
39108 (FPE_FLTDIV): Likewise.
39109 (FPE_FLTOVF): Likewise.
39110 (FPE_FLTUND): Likewise.
39111 (FPE_FLTRES): Likewise.
39112 (FPE_FLTINV): Likewise.
39113 (FPE_FLTSUB): Likewise.
39114 (SEGV_MAPERR): Likewise.
39115 (SEGV_ACCERR): Likewise.
39116 (BUS_ADRALN): Likewise.
39117 (BUS_ADRERR): Likewise.
39118 (BUS_OBJERR): Likewise.
39119 (BUS_MCEERR_AR): Likewise.
39120 (BUS_MCEERR_AO): Likewise.
39121 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39122 (TRAP_TRACE): Likewise.
39123 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39124 __USE_XOPEN2K8].
39125 (CLD_KILLED): Likewise.
39126 (CLD_DUMPED): Likewise.
39127 (CLD_TRAPPED): Likewise.
39128 (CLD_STOPPED): Likewise.
39129 (CLD_CONTINUED): Likewise.
39130 (POLL_IN): Likewise.
39131 (POLL_OUT): Likewise.
39132 (POLL_MSG): Likewise.
39133 (POLL_ERR): Likewise.
39134 (POLL_PRI): Likewise.
39135 (POLL_HUP): Likewise.
39136 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
39137 (ILL_ILLOPN): Likewise.
39138 (ILL_ILLADR): Likewise.
39139 (ILL_ILLTRP): Likewise.
39140 (ILL_PRVOPC): Likewise.
39141 (ILL_PRVREG): Likewise.
39142 (ILL_COPROC): Likewise.
39143 (ILL_BADSTK): Likewise.
39144 (ILL_DBLFLT): Likewise.
39145 (ILL_HARDWALL): Likewise.
39146 (FPE_INTDIV): Likewise.
39147 (FPE_INTOVF): Likewise.
39148 (FPE_FLTDIV): Likewise.
39149 (FPE_FLTOVF): Likewise.
39150 (FPE_FLTUND): Likewise.
39151 (FPE_FLTRES): Likewise.
39152 (FPE_FLTINV): Likewise.
39153 (FPE_FLTSUB): Likewise.
39154 (SEGV_MAPERR): Likewise.
39155 (SEGV_ACCERR): Likewise.
39156 (BUS_ADRALN): Likewise.
39157 (BUS_ADRERR): Likewise.
39158 (BUS_OBJERR): Likewise.
39159 (BUS_MCEERR_AR): Likewise.
39160 (BUS_MCEERR_AO): Likewise.
39161 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39162 (TRAP_TRACE): Likewise.
39163 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39164 __USE_XOPEN2K8].
39165 (CLD_KILLED): Likewise.
39166 (CLD_DUMPED): Likewise.
39167 (CLD_TRAPPED): Likewise.
39168 (CLD_STOPPED): Likewise.
39169 (CLD_CONTINUED): Likewise.
39170 (POLL_IN): Likewise.
39171 (POLL_OUT): Likewise.
39172 (POLL_MSG): Likewise.
39173 (POLL_ERR): Likewise.
39174 (POLL_PRI): Likewise.
39175 (POLL_HUP): Likewise.
39176 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
39177 (ILL_ILLOPN): Likewise.
39178 (ILL_ILLADR): Likewise.
39179 (ILL_ILLTRP): Likewise.
39180 (ILL_PRVOPC): Likewise.
39181 (ILL_PRVREG): Likewise.
39182 (ILL_COPROC): Likewise.
39183 (ILL_BADSTK): Likewise.
39184 (FPE_INTDIV): Likewise.
39185 (FPE_INTOVF): Likewise.
39186 (FPE_FLTDIV): Likewise.
39187 (FPE_FLTOVF): Likewise.
39188 (FPE_FLTUND): Likewise.
39189 (FPE_FLTRES): Likewise.
39190 (FPE_FLTINV): Likewise.
39191 (FPE_FLTSUB): Likewise.
39192 (SEGV_MAPERR): Likewise.
39193 (SEGV_ACCERR): Likewise.
39194 (BUS_ADRALN): Likewise.
39195 (BUS_ADRERR): Likewise.
39196 (BUS_OBJERR): Likewise.
39197 (BUS_MCEERR_AR): Likewise.
39198 (BUS_MCEERR_AO): Likewise.
39199 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39200 (TRAP_TRACE): Likewise.
39201 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39202 __USE_XOPEN2K8].
39203 (CLD_KILLED): Likewise.
39204 (CLD_DUMPED): Likewise.
39205 (CLD_TRAPPED): Likewise.
39206 (CLD_STOPPED): Likewise.
39207 (CLD_CONTINUED): Likewise.
39208 (POLL_IN): Likewise.
39209 (POLL_OUT): Likewise.
39210 (POLL_MSG): Likewise.
39211 (POLL_ERR): Likewise.
39212 (POLL_PRI): Likewise.
39213 (POLL_HUP): Likewise.
39214 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
39215 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
39216
39217 [BZ #16670]
39218 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
39219 before #include of <time.h>.
39220 [!__USE_XOPEN2K] (__need_timespec): Likewise.
39221 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
39222 (test-xfail-UNIX98/sched.h/conform): Likewise.
39223
39224 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
39225
39226 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
39227 error absence of trapping exception support.
39228 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
39229
39230 2014-03-07 Joseph Myers <joseph@codesourcery.com>
39231
39232 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
39233 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
39234 * timezone/Makefile (testdata): Move definition above include of
39235 Rules.
39236 (test-zones): New variable.
39237 (tests-special): Add zone files.
39238 (build-testdata): Use $(evaluate-test).
39239
39240 * elf/Makefile (tests-special): Rename tests to end with .out.
39241 ($(objpfx)noload-mem): Likewise.
39242 ($(objpfx)tst-leaks1-mem): Likewise.
39243 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
39244 * iconv/Makefile (xtests-special): Change test-iconvconfig to
39245 $(objpfx)test-iconvconfig.out.
39246 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
39247 set -e inside subshell and redirect output to file.
39248 * iconvdata/Makefile (generated): Rename tests to end with .out.
39249 Correct type.
39250 (tests-special): Rename tests to end with .out.
39251 ($(objpfx)mtrace-tst-loading): Likewise.
39252 * intl/Makefile (generated): Likewise.
39253 (tests-special): Likewise.
39254 ($(objpfx)mtrace-tst-gettext): Likewise.
39255 * misc/Makefile (generated): Likewise.
39256 (tests-special): Likewise.
39257 ($(objpfx)tst-error1-mem): Likewise.
39258 * nptl/Makefile (tests-special): Likewise.
39259 ($(objpfx)tst-stack3-mem): Likewise.
39260 (generated): Likewise.
39261 * posix/Makefile (generated): Likewise.
39262 (tests-special): Likewise.
39263 (xtests-special): Likewise.
39264 ($(objpfx)tst-fnmatch-mem): Likewise.
39265 ($(objpfx)bug-regex2-mem): Likewise.
39266 ($(objpfx)bug-regex14-mem): Likewise.
39267 ($(objpfx)bug-regex21-mem): Likewise.
39268 ($(objpfx)bug-regex31-mem): Likewise.
39269 ($(objpfx)tst-vfork3-mem): Likewise.
39270 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
39271 ($(objpfx)tst-pcre-mem): Likewise.
39272 ($(objpfx)tst-boost-mem): Likewise.
39273 ($(objpfx)bug-ga2-mem): Likewise.
39274 ($(objpfx)bug-glob2-mem): Likewise.
39275 * resolv/Makefile (generate): Likewise.
39276 (tests-special): Likewise.
39277 (xtests-special): Likewise.
39278 (generated): Likewise.
39279 ($(objpfx)mtrace-tst-leaks): Likewise.
39280 ($(objpfx)mtrace-tst-leaks2): Likewise.
39281
39282 * scripts/merge-test-results.sh: New file.
39283 * Makefile (tests-special-notdir): New variable.
39284 (tests): Run merge-test-results.sh.
39285 (xtests): Likewise.
39286 * Rules (tests-special-notdir): New variable.
39287 (xtests-special-notdir): Likewise.
39288 (tests): Run merge-test-results.sh
39289 (xtests): Likewise.
39290
39291 * Makeconfig (test-xfail-name): New variable.
39292 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
39293 compute variable name for expected failures.
39294 * conform/Makefile (conformtest-headers-data): New variable.
39295 (conformtest-standards): Likewise.
39296 (conformtest-headers-ISO): Likewise.
39297 (conformtest-headers-ISO99): Likewise.
39298 (conformtest-headers-ISO11): Likewise.
39299 (conformtest-headers-POSIX): Likewise.
39300 (conformtest-headers-XPG3): Likewise.
39301 (conformtest-headers-XPG4): Likewise.
39302 (conformtest-headers-UNIX98): Likewise.
39303 (conformtest-headers-XOPEN2K): Likewise.
39304 (conformtest-headers-POSIX2008): Likewise.
39305 (conformtest-headers-XOPEN2K8): Likewise.
39306 (conformtest-header-list-base): Likewise.
39307 (conformtest-header-list-tests): Likewise.
39308 (conformtest-header-base): Likewise.
39309 (conformtest-header-tests): Likewise.
39310 (tests-special): Add $(conformtest-header-list-tests). If
39311 [$(fast-check) && !$(cross-compiling)], add
39312 $(conformtest-header-tests) instead of
39313 $(objpfx)run-conformtest.out.
39314 (generated): Add $(conformtest-header-list-base). If
39315 [$(fast-check) && !$(cross-compiling)], add
39316 $(conformtest-header-base). Remove previous setting.
39317 ($(conformtest-header-list-tests)): New target.
39318 (test-xfail-run-conformtest): Remove variable.
39319 ($(objpfx)run-conformtest.out): Remove target.
39320 (test-xfail-ISO11/complex.h/conform): New variable.
39321 (test-xfail-ISO11/stdalign.h/conform): Likewise.
39322 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
39323 (test-xfail-XPG3/varargs.h/conform): Likewise.
39324 (test-xfail-XPG4/varargs.h/conform): Likewise.
39325 (test-xfail-UNIX98/varargs.h/conform): Likewise.
39326 (test-xfail-XPG4/ndbm.h/conform): Likewise.
39327 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
39328 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
39329 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
39330 (test-xfail-XPG3/fcntl.h/conform): Likewise.
39331 (test-xfail-XPG3/ftw.h/conform): Likewise.
39332 (test-xfail-XPG3/grp.h/conform): Likewise.
39333 (test-xfail-XPG3/langinfo.h/conform): Likewise.
39334 (test-xfail-XPG3/limits.h/conform): Likewise.
39335 (test-xfail-XPG3/pwd.h/conform): Likewise.
39336 (test-xfail-XPG3/search.h/conform): Likewise.
39337 (test-xfail-XPG3/signal.h/conform): Likewise.
39338 (test-xfail-XPG3/stdio.h/conform): Likewise.
39339 (test-xfail-XPG3/stdlib.h/conform): Likewise.
39340 (test-xfail-XPG3/string.h/conform): Likewise.
39341 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
39342 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
39343 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
39344 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
39345 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
39346 (test-xfail-XPG3/sys/types.h/conform): Likewise.
39347 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
39348 (test-xfail-XPG3/termios.h/conform): Likewise.
39349 (test-xfail-XPG3/time.h/conform): Likewise.
39350 (test-xfail-XPG3/unistd.h/conform): Likewise.
39351 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
39352 (test-xfail-XPG4/fcntl.h/conform): Likewise.
39353 (test-xfail-XPG4/langinfo.h/conform): Likewise.
39354 (test-xfail-XPG4/netdb.h/conform): Likewise.
39355 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
39356 (test-xfail-XPG4/signal.h/conform): Likewise.
39357 (test-xfail-XPG4/stdio.h/conform): Likewise.
39358 (test-xfail-XPG4/stdlib.h/conform): Likewise.
39359 (test-xfail-XPG4/stropts.h/conform): Likewise.
39360 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
39361 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
39362 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
39363 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
39364 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
39365 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
39366 (test-xfail-XPG4/sys/time.h/conform): Likewise.
39367 (test-xfail-XPG4/sys/types.h/conform): Likewise.
39368 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
39369 (test-xfail-XPG4/termios.h/conform): Likewise.
39370 (test-xfail-XPG4/ucontext.h/conform): Likewise.
39371 (test-xfail-XPG4/unistd.h/conform): Likewise.
39372 (test-xfail-XPG4/utmpx.h/conform): Likewise.
39373 (test-xfail-POSIX/sched.h/conform): Likewise.
39374 (test-xfail-POSIX/signal.h/conform): Likewise.
39375 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
39376 (test-xfail-POSIX/tar.h/conform): Likewise.
39377 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
39378 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
39379 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
39380 (test-xfail-UNIX98/netdb.h/conform): Likewise.
39381 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
39382 (test-xfail-UNIX98/sched.h/conform): Likewise.
39383 (test-xfail-UNIX98/signal.h/conform): Likewise.
39384 (test-xfail-UNIX98/stdio.h/conform): Likewise.
39385 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
39386 (test-xfail-UNIX98/stropts.h/conform): Likewise.
39387 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
39388 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
39389 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
39390 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
39391 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
39392 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
39393 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
39394 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
39395 (test-xfail-UNIX98/unistd.h/conform): Likewise.
39396 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
39397 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
39398 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
39399 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
39400 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
39401 (test-xfail-XOPEN2K/math.h/conform): Likewise.
39402 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
39403 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
39404 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
39405 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
39406 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
39407 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
39408 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
39409 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
39410 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
39411 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
39412 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
39413 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
39414 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
39415 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
39416 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
39417 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
39418 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
39419 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
39420 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
39421 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
39422 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
39423 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
39424 (test-xfail-POSIX2008/signal.h/conform): Likewise.
39425 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
39426 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
39427 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
39428 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
39429 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
39430 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
39431 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
39432 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
39433 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
39434 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
39435 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
39436 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
39437 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
39438 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
39439 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
39440 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
39441 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
39442 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
39443 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
39444 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
39445 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
39446 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
39447 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
39448 (conformtest-cc-flags): Likewise.
39449 ($(conformtest-header-tests): New target.
39450 * conform/check-header-lists.sh: New file.
39451 * conform/run-conformtest.sh: Remove.
39452
39453 * conform/conformtest.pl: Allow ' and \ in values given for
39454 constants.
39455 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
39456 inclusion.
39457 [POSIX] (sys/types.h): Likewise.
39458 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
39459 inclusion.
39460 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
39461 inclusion.
39462 * conform/data/signal.h-data (SIGIO): Remove expectation.
39463 [XPG3] (SIGBUS): Do not expect.
39464 [POSIX || XPG3] (SIGPOLL): Likewise.
39465 [POSIX || XPG3] (SIGPROF): Likewise.
39466 [POSIX || XPG3] (SIGSYS): Likewise.
39467 [XPG3] (SIGTRAP): Likewise.
39468 [POSIX || XPG3] (SIGURG): Likewise.
39469 [POSIX || XPG3] (SIGVTALRM): Likewise.
39470 [POSIX || XPG3] (SIGXCPU): Likewise.
39471 [POSIX || XPG3] (SIGXFSZ): Likewise.
39472 [POSIX] (SA_SIGINFO): Expect.
39473 [XPG3] (siginfo_t): Do not expect type or contents.
39474 [POSIX] (si_pid): Do not expect element.
39475 [POSIX] (si_uid): Likewise.
39476 [POSIX] (si_addr): Likewise.
39477 [POSIX] (si_status): Likewise.
39478 [POSIX] (si_band): Likewise.
39479 [XPG4] (si_value): Likewise.
39480 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
39481 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
39482 [POSIX || XPG3] (ILL_ILLADR): Likewise.
39483 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
39484 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
39485 [POSIX || XPG3] (ILL_PRVREG): Likewise.
39486 [POSIX || XPG3] (ILL_COPROC): Likewise.
39487 [POSIX || XPG3] (ILL_BADSTK): Likewise.
39488 [POSIX || XPG3] (FPE_INTDIV): Likewise.
39489 [POSIX || XPG3] (FPE_INTOVF): Likewise.
39490 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
39491 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
39492 [POSIX || XPG3] (FPE_FLTUND): Likewise.
39493 [POSIX || XPG3] (FPE_FLTRES): Likewise.
39494 [POSIX || XPG3] (FPE_FLTINV): Likewise.
39495 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
39496 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
39497 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
39498 [POSIX || XPG3] (BUS_ADRALN): Likewise.
39499 [POSIX || XPG3] (BUS_ADRERR): Likewise.
39500 [POSIX || XPG3] (BUS_OBJERR): Likewise.
39501 [POSIX || XPG3] (CLD_EXITED): Likewise.
39502 [POSIX || XPG3] (CLD_KILLED): Likewise.
39503 [POSIX || XPG3] (CLD_DUMPED): Likewise.
39504 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
39505 [POSIX || XPG3] (CLD_STOPPED): Likewise.
39506 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
39507 [POSIX || XPG3] (POLL_IN): Likewise.
39508 [POSIX || XPG3] (POLL_OUT): Likewise.
39509 [POSIX || XPG3] (POLL_MSG): Likewise.
39510 [POSIX || XPG3] (POLL_ERR): Likewise.
39511 [POSIX || XPG3] (POLL_PRI): Likewise.
39512 [POSIX || XPG3] (POLL_HUP): Likewise.
39513 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
39514 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
39515 (SIG*): Do not allow.
39516 [XPG3] (si_*): Likewise.
39517 [XPG3] (SI_*): Likewise.
39518 [XPG3 || XPG4] (sigev_*): Likewise.
39519 [XPG3 || XPG4] (SIGEV_*): Likewise.
39520 [XPG3 || XPG4] (sival_*): Likewise.
39521 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
39522 [POSIX || XPG3] (BUS_*): Likewise.
39523 [POSIX || XPG3] (CLD_*): Likewise.
39524 [POSIX || XPG3] (FPE_*): Likewise.
39525 [POSIX || XPG3] (ILL_*): Likewise.
39526 [POSIX || XPG3] (POLL_*): Likewise.
39527 [POSIX || XPG3] (SEGV_*): Likewise.
39528 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
39529 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
39530 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
39531 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
39532 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
39533 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
39534 Specify type and value.
39535 (TVERSLEN): Likewise.
39536 (REGTYPE): Likewise.
39537 (AREGTYPE): Likewise.
39538 (LNKTYPE): Likewise.
39539 (SYMTYPE): Likewise.
39540 (CHRTYPE): Likewise.
39541 (BLKTYPE): Likewise.
39542 (DIRTYPE): Likewise.
39543 (FIFOTYPE): Likewise.
39544 (CONTTYPE): Likewise.
39545 (TSUID): Likewise.
39546 (TSGID): Likewise.
39547 (TSVTX): Likewise.
39548 (TUREAD): Likewise.
39549 (TUWRITE): Likewise.
39550 (TUEXEC): Likewise.
39551 (TGREAD): Likewise.
39552 (TGWRITE): Likewise.
39553 (TGEXEC): Likewise.
39554 (TOREAD): Likewise.
39555 (TOWRITE): Likewise.
39556 (TOEXEC): Likewise.
39557 [POSIX] (TSVTX): Expect constant.
39558
39559 2014-03-06 Joseph Myers <joseph@codesourcery.com>
39560
39561 * Makefile (tests): Change dependencies to ....
39562 (tests-special): ... additions to this variable.
39563 (tests): Depend on $(tests-special).
39564 * Makerules (check-abi-list): New variable.
39565 (check-abi): Depend on $(check-abi-list).
39566 [$(subdir) = elf] (tests-special): Add
39567 $(objpfx)check-abi-libc.out.
39568 [$(build-shared) = yes && subdir] (tests-special): Add
39569 $(check-abi-list).
39570 [$(build-shared) = yes && subdir] (tests): Do not depend on
39571 check-abi.
39572 * Rules (tests): Depend on $(tests-special).
39573 (xtests): Depend on $(xtests-special).
39574 * catgets/Makefile (tests): Change dependencies to ....
39575 (tests-special): ... additions to this variable.
39576 * conform/Makefile (tests): Change dependencies to ....
39577 (tests-special): ... additions to this variable.
39578 * elf/Makefile (tests): Change dependencies to ....
39579 (tests-special): ... additions to this variable.
39580 * grp/Makefile (tests): Change dependencies to ....
39581 (tests-special): ... additions to this variable.
39582 * iconv/Makefile (xtests): Change dependencies to ....
39583 (xtests-special): ... additions to this variable.
39584 * iconvdata/Makefile (tests): Change dependencies to ....
39585 (tests-special): ... additions to this variable.
39586 * intl/Makefile (tests): Change dependencies to ....
39587 (tests-special): ... additions to this variable. Also add
39588 $(objpfx)tst-gettext.out.
39589 * io/Makefile (tests): Change dependencies to ....
39590 (tests-special): ... additions to this variable.
39591 * libio/Makefile (tests): Change dependencies to ....
39592 (tests-special): ... additions to this variable.
39593 * malloc/Makefile (tests): Change dependencies to ....
39594 (tests-special): ... additions to this variable.
39595 * misc/Makefile (tests): Change dependencies to ....
39596 (tests-special): ... additions to this variable.
39597 * nptl/Makefile (tests): Change dependencies to ....
39598 (tests-special): ... additions to this variable.
39599 * nptl_db/Makefile (tests): Change dependencies to ....
39600 (tests-special): ... additions to this variable.
39601 * posix/Makefile (tests): Change dependencies to ....
39602 (tests-special): ... additions to this variable.
39603 (xtests): Change dependencies to ....
39604 (xtests-special): ... additions to this variable.
39605 * resolv/Makefile (tests): Change dependencies to ....
39606 (tests-special): ... additions to this variable.
39607 (xtests): Change dependencies to ....
39608 (xtests-special): ... additions to this variable.
39609 * stdio-common/Makefile (tests): Change dependencies to ....
39610 (tests-special): ... additions to this variable.
39611 (do-tst-unbputc): Remove target.
39612 (do-tst-printf): Likewise.
39613 * stdlib/Makefile (tests): Change dependencies to ....
39614 (tests-special): ... additions to this variable.
39615 * string/Makefile (tests): Change dependencies to ....
39616 (tests-special): ... additions to this variable.
39617 * sysdeps/x86/Makefile (tests): Change dependencies to ....
39618 (tests-special): ... additions to this variable.
39619
39620 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
39621 whole file.
39622 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
39623 whole file.
39624 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
39625 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
39626
39627 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
39628 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
39629 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
39630 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
39631 * conform/data/libgen.h-data [XPG3]: Likewise.
39632 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
39633 * conform/data/ndbm.h-data [XPG3]: Likewise.
39634 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
39635 * conform/data/netdb.h-data [XPG3]: Likewise.
39636 * conform/data/netinet/in.h-data [XPG3]: Likewise.
39637 * conform/data/poll.h-data [XPG3]: Likewise.
39638 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
39639 * conform/data/strings.h-data [XPG3]: Likewise.
39640 * conform/data/stropts.h-data [XPG3]: Likewise.
39641 * conform/data/sys/mman.h-data [XPG3]: Likewise.
39642 * conform/data/sys/resource.h-data [XPG3]: Likewise.
39643 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
39644 Likewise.
39645 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
39646 * conform/data/sys/time.h-data [XPG3]: Likewise.
39647 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
39648 * conform/data/sys/uio.h-data [XPG3]: Likewise.
39649 * conform/data/sys/un.h-data [XPG3]: Likewise.
39650 * conform/data/syslog.h-data [XPG3]: Likewise.
39651 * conform/data/ucontext.h-data [XPG3]: Likewise.
39652 * conform/data/utmpx.h-data [XPG3]: Likewise.
39653 * conform/data/varargs.h-data [UNIX98]: Enable file.
39654
39655 * manual/Makefile (INSTALL_INFO): Remove variable setting.
39656
39657 * math/libm-test.inc (struct test_f_f_data): Move expected results
39658 into structure for each rounding mode.
39659 (struct test_ff_f_data): Likewise.
39660 (struct test_ff_f_data_nexttoward): Likewise.
39661 (struct test_fi_f_data): Likewise.
39662 (struct test_fl_f_data): Likewise.
39663 (struct test_if_f_data): Likewise.
39664 (struct test_fff_f_data): Likewise.
39665 (struct test_c_f_data): Likewise.
39666 (struct test_f_f1_data): Likewise.
39667 (struct test_fF_f1_data): Likewise.
39668 (struct test_ffI_f1_data): Likewise.
39669 (struct test_c_c_data): Likewise.
39670 (struct test_cc_c_data): Likewise.
39671 (struct test_f_i_data): Likewise.
39672 (struct test_ff_i_data): Likewise.
39673 (struct test_f_l_data): Likewise.
39674 (struct test_f_L_data): Likewise.
39675 (struct test_fFF_11_data): Likewise.
39676 (RM_): New macro.
39677 (RM_FE_DOWNWARD): Likewise.
39678 (RM_FE_TONEAREST): Likewise.
39679 (RM_FE_TOWARDZERO): Likewise.
39680 (RM_FE_UPWARD): Likewise.
39681 (RUN_TEST_LOOP_f_f): Update references to expected results.
39682 (RUN_TEST_LOOP_2_f): Likewise.
39683 (RUN_TEST_LOOP_fff_f): Likewise.
39684 (RUN_TEST_LOOP_c_f): Likewise.
39685 (RUN_TEST_LOOP_f_f1): Likewise.
39686 (RUN_TEST_LOOP_fF_f1): Likewise.
39687 (RUN_TEST_LOOP_fI_f1): Likewise.
39688 (RUN_TEST_LOOP_ffI_f1): Likewise.
39689 (RUN_TEST_LOOP_c_c): Likewise.
39690 (RUN_TEST_LOOP_cc_c): Likewise.
39691 (RUN_TEST_LOOP_f_i): Likewise.
39692 (RUN_TEST_LOOP_f_i_tg): Likewise.
39693 (RUN_TEST_LOOP_ff_i_tg): Likewise.
39694 (RUN_TEST_LOOP_f_b): Likewise.
39695 (RUN_TEST_LOOP_f_b_tg): Likewise.
39696 (RUN_TEST_LOOP_f_l): Likewise.
39697 (RUN_TEST_LOOP_f_L): Likewise.
39698 (RUN_TEST_LOOP_fFF_11): Likewise.
39699 * math/gen-libm-test.pl (parse_args): Output four copies of
39700 expected results for each test.
39701
39702 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
39703 (__ASSUME_UTIMES): Remove.
39704 * sysdeps/unix/sysv/linux/tile/kernel-features.h
39705 (__ASSUME_UTIMES): Likewise.
39706
39707 * math/gen-auto-libm-tests.c: Update comment on output format.
39708 (output_for_one_input_case): Generate before-rounding and
39709 after-rounding information as conditions on output flags not
39710 floating-point format.
39711 * math/auto-libm-test-out: Regenerated.
39712 * math/gen-libm-test.pl (cond_value): New function.
39713 (or_cond_value): Use cond_value.
39714 (generate_testfile): Handle conditional exceptions.
39715
39716 2014-03-05 Joseph Myers <joseph@codesourcery.com>
39717
39718 * math/libm-test.inc (max_valid_error): New variable.
39719 (init_max_error): Take new argument specifying whether function
39720 results are exactly determined. Set max_valid_error and bound
39721 other variables for errors based on this argument.
39722 (set_max_error): Do not record results above max_valid_error.
39723 (check_float_internal): Only accept errors of up to 0.5ulps if
39724 also at most max_valid_error.
39725 (START): Take new argument EXACT and pass it to init_max_error.
39726 (acos_test): Update call to START.
39727 (acos_test_tonearest): Likewise.
39728 (acos_test_towardzero): Likewise.
39729 (acos_test_downward): Likewise.
39730 (acos_test_upward): Likewise.
39731 (acosh_test): Likewise.
39732 (asin_test): Likewise.
39733 (asin_test_tonearest): Likewise.
39734 (asin_test_towardzero): Likewise.
39735 (asin_test_downward): Likewise.
39736 (asin_test_upward): Likewise.
39737 (asinh_test): Likewise.
39738 (atan_test): Likewise.
39739 (atanh_test): Likewise.
39740 (atan2_test): Likewise.
39741 (cabs_test): Likewise.
39742 (cacos_test): Likewise.
39743 (cacosh_test): Likewise.
39744 (carg_test): Likewise.
39745 (casin_test): Likewise.
39746 (casinh_test): Likewise.
39747 (catan_test): Likewise.
39748 (catanh_test): Likewise.
39749 (cbrt_test): Likewise.
39750 (ccos_test): Likewise.
39751 (ccosh_test): Likewise.
39752 (ceil_test): Likewise.
39753 (cexp_test): Likewise.
39754 (cimag_test): Likewise.
39755 (clog_test): Likewise.
39756 (clog10_test): Likewise.
39757 (conj_test): Likewise.
39758 (copysign_test): Likewise.
39759 (cos_test): Likewise.
39760 (cos_test_tonearest): Likewise.
39761 (cos_test_towardzero): Likewise.
39762 (cos_test_downward): Likewise.
39763 (cos_test_upward): Likewise.
39764 (cosh_test): Likewise.
39765 (cosh_test_tonearest): Likewise.
39766 (cosh_test_towardzero): Likewise.
39767 (cosh_test_downward): Likewise.
39768 (cosh_test_upward): Likewise.
39769 (cpow_test): Likewise.
39770 (cproj_test): Likewise.
39771 (creal_test): Likewise.
39772 (csin_test): Likewise.
39773 (csinh_test): Likewise.
39774 (csqrt_test): Likewise.
39775 (ctan_test): Likewise.
39776 (ctan_test_tonearest): Likewise.
39777 (ctan_test_towardzero): Likewise.
39778 (ctan_test_downward): Likewise.
39779 (ctan_test_upward): Likewise.
39780 (ctanh_test): Likewise.
39781 (ctanh_test_tonearest): Likewise.
39782 (ctanh_test_towardzero): Likewise.
39783 (ctanh_test_downward): Likewise.
39784 (ctanh_test_upward): Likewise.
39785 (erf_test): Likewise.
39786 (erfc_test): Likewise.
39787 (exp_test): Likewise.
39788 (exp_test_tonearest): Likewise.
39789 (exp_test_towardzero): Likewise.
39790 (exp_test_downward): Likewise.
39791 (exp_test_upward): Likewise.
39792 (exp10_test): Likewise.
39793 (exp10_test_tonearest): Likewise.
39794 (exp10_test_towardzero): Likewise.
39795 (exp10_test_downward): Likewise.
39796 (exp10_test_upward): Likewise.
39797 (pow10_test): Likewise.
39798 (exp2_test): Likewise.
39799 (expm1_test): Likewise.
39800 (expm1_test_tonearest): Likewise.
39801 (expm1_test_towardzero): Likewise.
39802 (expm1_test_downward): Likewise.
39803 (expm1_test_upward): Likewise.
39804 (fabs_test): Likewise.
39805 (fdim_test): Likewise.
39806 (floor_test): Likewise.
39807 (fma_test): Likewise.
39808 (fma_test_towardzero): Likewise.
39809 (fma_test_downward): Likewise.
39810 (fma_test_upward): Likewise.
39811 (fmax_test): Likewise.
39812 (fmin_test): Likewise.
39813 (fmod_test): Likewise.
39814 (fpclassify_test): Likewise.
39815 (frexp_test): Likewise.
39816 (hypot_test): Likewise.
39817 (ilogb_test): Likewise.
39818 (isfinite_test): Likewise.
39819 (finite_test): Likewise.
39820 (isgreater_test): Likewise.
39821 (isgreaterequal_test): Likewise.
39822 (isinf_test): Likewise.
39823 (isless_test): Likewise.
39824 (islessequal_test): Likewise.
39825 (islessgreater_test): Likewise.
39826 (isnan_test): Likewise.
39827 (isnormal_test): Likewise.
39828 (issignaling_test): Likewise.
39829 (isunordered_test): Likewise.
39830 (j0_test): Likewise.
39831 (j1_test): Likewise.
39832 (jn_test): Likewise.
39833 (ldexp_test): Likewise.
39834 (lgamma_test): Likewise.
39835 (gamma_test): Likewise.
39836 (lrint_test): Likewise.
39837 (lrint_test_tonearest): Likewise.
39838 (lrint_test_towardzero): Likewise.
39839 (lrint_test_downward): Likewise.
39840 (lrint_test_upward): Likewise.
39841 (llrint_test): Likewise.
39842 (llrint_test_tonearest): Likewise.
39843 (llrint_test_towardzero): Likewise.
39844 (llrint_test_downward): Likewise.
39845 (llrint_test_upward): Likewise.
39846 (log_test): Likewise.
39847 (log10_test): Likewise.
39848 (log1p_test): Likewise.
39849 (log2_test): Likewise.
39850 (logb_test): Likewise.
39851 (logb_test_downward): Likewise.
39852 (lround_test): Likewise.
39853 (llround_test): Likewise.
39854 (modf_test): Likewise.
39855 (nearbyint_test): Likewise.
39856 (nextafter_test): Likewise.
39857 (nexttoward_test): Likewise.
39858 (pow_test): Likewise.
39859 (pow_test_tonearest): Likewise.
39860 (pow_test_towardzero): Likewise.
39861 (pow_test_downward): Likewise.
39862 (pow_test_upward): Likewise.
39863 (remainder_test): Likewise.
39864 (drem_test): Likewise.
39865 (remainder_test_tonearest): Likewise.
39866 (drem_test_tonearest): Likewise.
39867 (remainder_test_towardzero): Likewise.
39868 (drem_test_towardzero): Likewise.
39869 (remainder_test_downward): Likewise.
39870 (drem_test_downward): Likewise.
39871 (remainder_test_upward): Likewise.
39872 (drem_test_upward): Likewise.
39873 (remquo_test): Likewise.
39874 (rint_test): Likewise.
39875 (rint_test_tonearest): Likewise.
39876 (rint_test_towardzero): Likewise.
39877 (rint_test_downward): Likewise.
39878 (rint_test_upward): Likewise.
39879 (round_test): Likewise.
39880 (scalb_test): Likewise.
39881 (scalbn_test): Likewise.
39882 (scalbln_test): Likewise.
39883 (signbit_test): Likewise.
39884 (sin_test): Likewise.
39885 (sin_test_tonearest): Likewise.
39886 (sin_test_towardzero): Likewise.
39887 (sin_test_downward): Likewise.
39888 (sin_test_upward): Likewise.
39889 (sincos_test): Likewise.
39890 (sinh_test): Likewise.
39891 (sinh_test_tonearest): Likewise.
39892 (sinh_test_towardzero): Likewise.
39893 (sinh_test_downward): Likewise.
39894 (sinh_test_upward): Likewise.
39895 (sqrt_test): Likewise.
39896 (sqrt_test_tonearest): Likewise.
39897 (sqrt_test_towardzero): Likewise.
39898 (sqrt_test_downward): Likewise.
39899 (sqrt_test_upward): Likewise.
39900 (tan_test): Likewise.
39901 (tan_test_tonearest): Likewise.
39902 (tan_test_towardzero): Likewise.
39903 (tan_test_downward): Likewise.
39904 (tan_test_upward): Likewise.
39905 (tanh_test): Likewise.
39906 (tgamma_test): Likewise.
39907 (trunc_test): Likewise.
39908 (y0_test): Likewise.
39909 (y1_test): Likewise.
39910 (yn_test): Likewise.
39911 (significand_test): Likewise.
39912
39913 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
39914 individual tests in comment.
39915 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
39916 (prev_max_error): New variable.
39917 (prev_real_max_error): Likewise.
39918 (prev_imag_max_error): Likewise.
39919 (compare_ulp_data): Don't refer to test names in comment.
39920 (find_test_ulps): Remove function.
39921 (find_function_ulps): Likewise.
39922 (find_complex_function_ulps): Likewise.
39923 (init_max_error): Take function name as argument. Look up ulps
39924 for that function.
39925 (print_ulps): Remove function.
39926 (print_max_error): Use prev_max_error instead of calling
39927 find_function_ulps.
39928 (print_complex_max_error): Use prev_real_max_error and
39929 prev_imag_max_error instead of calling find_complex_function_ulps.
39930 (check_float_internal): Take max_ulp parameter instead of calling
39931 find_test_ulps. Don't call print_ulps.
39932 (check_float): Update call to check_float_internal.
39933 (check_complex): Update calls to check_float_internal.
39934 (START): Pass argument to init_max_error.
39935 * math/gen-libm-test.pl (%results): Don't include "kind"
39936 information.
39937 (parse_ulps): Don't handle ulps of individual tests.
39938 (print_ulps_file): Likewise.
39939 (output_ulps): Likewise.
39940 * math/README.libm-test: Update.
39941 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
39942 individual tests.
39943 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
39944 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
39945 * sysdeps/arm/libm-test-ulps: Likewise.
39946 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
39947 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
39948 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
39949 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
39950 * sysdeps/microblaze/libm-test-ulps: Likewise.
39951 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
39952 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
39953 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39954 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
39955 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
39956 * sysdeps/sh/libm-test-ulps: Likewise.
39957 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
39958 * sysdeps/tile/libm-test-ulps: Likewise.
39959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39960
39961 2014-03-04 Joseph Myers <joseph@codesourcery.com>
39962
39963 * math/libm-test.inc (print_complex_max_error): Check separately
39964 whether real and imaginary errors are within allowed range and
39965 pass 0 to print_complex_function_ulps instead of value within
39966 allowed range.
39967
39968 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
39969
39970 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
39971 formatting.
39972 (get_handles_fopen): Likewise.
39973 (do_write_test): Likewise.
39974
39975 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
39976
39977 * libio/fileops.c (do_ftell): Use cached offset when
39978 available.
39979 * libio/iofwide.c (do_ftell_wide): Likewise.
39980 * libio/iofdopen.c (_IO_new_fdopen): Don't use
39981 _IO_file_attach.
39982 * libio/wfileops.c (_IO_fwide): Don't cache offset.
39983
39984 [BZ #16532]
39985 * libio/libioP.h (get_file_offset): New function.
39986 * libio/fileops.c (get_file_offset): Likewise.
39987 (do_ftell): Likewise.
39988 (_IO_new_file_seekoff): Split out ftell logic.
39989 * libio/wfileops.c (do_ftell_wide): Likewise.
39990 (_IO_wfile_seekoff): Split out ftell logic.
39991 * libio/tst-ftell-active-handler.c: New test case.
39992 * libio/Makefile (tests): Add it.
39993
39994 2014-03-03 Roland McGrath <roland@hack.frob.com>
39995
39996 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
39997 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
39998
39999 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
40000
40001 [BZ #16639]
40002 * nscd/connections.c (nscd_init): Call do_exit.
40003 (start_threads): Call do_exit and notify_parent.
40004 (begin_drop_privileges): Call do_exit.
40005 (finish_drop_privileges): Likewise.
40006 * nscd/selinux.c (preserve_capabilities): Likewise.
40007 (install_real_capabilities): Likewise.
40008 (nscd_selinux_enabled): Likewise.
40009 (avc_create_thread): Likewise.
40010 (avc_alloc_lock): Likewise.
40011 (nscd_avc_init): Likewise.
40012 * nscd/nscd.c (parent_fd): New static variable.
40013 (main): Create a pipe between parent and child processes.
40014 Skip closing parent_fd.
40015 (monitor_child): New function.
40016 (do_exit): Likewise.
40017 (notify_parent): Likewise.
40018 * nscd/nscd.h (notify_parent): Likewise.
40019 (do_exit): Likewise.
40020
40021 2014-03-03 Carlos O'Donell <carlos@redhat.com>
40022
40023 * malloc/malloc.c (__libc_calloc): Revert last change.
40024
40025 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40026
40027 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40028
40029 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
40030
40031 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
40032 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
40033 implementation.
40034 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
40035 (__libc_ifunc_impl_list): Likewise.
40036 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
40037 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
40038 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
40039 * string/strrchr.c: Define STRRCHR.
40040
40041 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
40042
40043 * benchtest/bench-strtok.c (simple_strtok): Delete.
40044 (strtok_string): Use as benchmark.
40045 * string/strtok (STRTOK): New macro.
40046
40047 2014-02-28 Carlos O'Donell <carlos@redhat.com>
40048
40049 * manual/threads.texi: Add header and standard comments to all
40050 functions.
40051
40052 * elf/dl-lookup.c (check_match): New function.
40053 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
40054 (do_lookup_x): Remove nested function check_match. Use non-nested
40055 function check_match.
40056
40057 2014-02-28 Roland McGrath <roland@hack.frob.com>
40058
40059 * csu/Makefile (generated, before-compile): Use += rather than =.
40060 * catgets/Makefile (generated, generated-dirs): Likewise.
40061 * debug/Makefile (generated): Likewise.
40062 * dlfcn/Makefile (generated): Likewise.
40063 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
40064 * iconvdata/Makefile (before-compile, generated): Likewise.
40065 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
40066 * libio/Makefile (generated): Likewise.
40067 * malloc/Makefile (generated): Likewise.
40068 * manual/Makefile (generated, generated-dirs): Likewise.
40069 * misc/Makefile (generated): Likewise.
40070 * posix/Makefile (generated): Likewise.
40071 * resolv/Makefile (generated): Likewise.
40072 * sunrpc/Makefile (generated, generated-dirs): Likewise.
40073 * timezone/Makefile (generated, generated-dirs): Likewise.
40074
40075 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
40076
40077 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40078
40079 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
40080 power8 implementation.
40081 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
40082 file: POWER8 llround ifunc implementation.
40083 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
40084 (__lllround): Add POWER8 implementation.
40085 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
40086 POWER8 llround implementation.
40087
40088 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
40089 power8 implementation.
40090 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
40091 file: POWER8 llrint ifunc implementation.
40092 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
40093 Add POWER8 implementation.
40094 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
40095 POWER8 llrint implementation.
40096
40097 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
40098 power8 implementation.
40099 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
40100 file: POWER8 finite ifunc implementation.
40101 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
40102 Add POWER8 implementation.
40103 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
40104 Likewise.
40105 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
40106 POWER8 finite implementation.
40107 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
40108
40109 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
40110 power8 implementation.
40111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
40112 file: POWER8 isinf ifunc implementation.
40113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
40114 POWER8 implementation.
40115 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
40116 Likewise.
40117 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
40118 isinf implementation.
40119 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
40120
40121 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
40122 (INIT_ARCH): Add hwcap2 initialization.
40123 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
40124 power8 implementation.
40125 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
40126 file: POWER8 isnan ifunc implementation.
40127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
40128 POWER8 implementation.
40129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
40130 Likewise.
40131 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
40132 isnan implementation.
40133 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
40134
40135 2014-02-27 Joey Ye <joey.ye@arm.com>
40136
40137 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
40138 (_FP_NANFRAC_Q): Set to zero.
40139
40140 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
40141
40142 [BZ #16623]
40143 * math/auto-libm-test-in: New test inputs.
40144 * math/auto-libm-test-out: Regenerate.
40145 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
40146 and DA.
40147 (__cos): Likewise.
40148 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
40149
40150 2014-02-27 Joseph Myers <joseph@codesourcery.com>
40151
40152 * scripts/evaluate-test.sh: Take new argument indicating whether
40153 failure is expected.
40154 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
40155 indicating whether failure is expected.
40156 * conform/Makefile (test-xfail-run-conformtest): New variable.
40157 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
40158 level.
40159 * posix/Makefile (test-xfail-annexc): New variable.
40160 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
40161
40162 2014-02-26 Joseph Myers <joseph@codesourcery.com>
40163
40164 * argp/Makefile: Include Makeconfig immediately after defining
40165 subdir.
40166 * assert/Makefile: Likewise.
40167 * benchtests/Makefile: Likewise.
40168 * catgets/Makefile: Likewise.
40169 * conform/Makefile: Likewise.
40170 * crypt/Makefile: Likewise.
40171 * csu/Makefile: Likewise.
40172 (all): Remove target.
40173 * ctype/Makefile: Include Makeconfig immediately after defining
40174 subdir.
40175 * debug/Makefile: Likewise.
40176 * dirent/Makefile: Likewise.
40177 * dlfcn/Makefile: Likewise.
40178 * gmon/Makefile: Likewise.
40179 * gnulib/Makefile: Likewise.
40180 * grp/Makefile: Likewise.
40181 * gshadow/Makefile: Likewise.
40182 * hesiod/Makefile: Likewise.
40183 * hurd/Makefile: Likewise.
40184 (all): Remove target.
40185 * iconvdata/Makefile: Include Makeconfig immediately after
40186 defining subdir.
40187 * inet/Makefile: Likewise.
40188 * intl/Makefile: Likewise.
40189 * io/Makefile: Likewise.
40190 * libio/Makefile: Likewise.
40191 (all): Remove target.
40192 * locale/Makefile: Include Makeconfig immediately after defining
40193 subdir.
40194 * login/Makefile: Likewise.
40195 * mach/Makefile: Likewise.
40196 (all): Remove target.
40197 * malloc/Makefile: Include Makeconfig immediately after defining
40198 subdir.
40199 (all): Remove target.
40200 * manual/Makefile: Include Makeconfig immediately after defining
40201 subdir.
40202 * math/Makefile: Likewise.
40203 * misc/Makefile: Likewise.
40204 * nis/Makefile: Likewise.
40205 * nss/Makefile: Likewise.
40206 * po/Makefile: Likewise.
40207 (all): Remove target.
40208 * posix/Makefile: Include Makeconfig immediately after defining
40209 subdir.
40210 * pwd/Makefile: Likewise.
40211 * resolv/Makefile: Likewise.
40212 * resource/Makefile: Likewise.
40213 * rt/Makefile: Likewise.
40214 * setjmp/Makefile: Likewise.
40215 * shadow/Makefile: Likewise.
40216 * signal/Makefile: Likewise.
40217 * socket/Makefile: Likewise.
40218 * soft-fp/Makefile: Likewise.
40219 * stdio-common/Makefile: Likewise.
40220 * stdlib/Makefile: Likewise.
40221 * streams/Makefile: Likewise.
40222 * string/Makefile: Likewise.
40223 * sunrpc/Makefile: Likewise.
40224 (all): Remove target.
40225 * sysvipc/Makefile: Include Makeconfig immediately after defining
40226 subdir.
40227 * termios/Makefile: Likewise.
40228 * time/Makefile: Likewise.
40229 * timezone/Makefile: Likewise.
40230 (all): Remove target.
40231 * wcsmbs/Makefile: Include Makeconfig immediately after defining
40232 subdir.
40233 * wctype/Makefile: Likewise.
40234
40235 2014-02-26 Steve Ellcey <sellcey@mips.com>
40236
40237 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
40238 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
40239 (libc_feholdexcept_setround_mips): Ditto.
40240 (libc_feholdsetround): New.
40241 (libc_feholdsetroundf): New.
40242 (libc_feholdsetroundl): New.
40243 (libc_feupdateenv_test_mips): New.
40244 (libc_feupdateenv_test): New.
40245 (libc_feupdateenv_testf): New.
40246 (libc_feupdateenv_testl): New.
40247 (libc_feresetround): New.
40248 (libc_feresetroundf): New.
40249 (libc_feresetroundl): New.
40250 (libc_fetestexcept_mips): New.
40251 (libc_fetestexcept): New.
40252 (libc_fetestexceptf): New.
40253 (libc_fetestexceptl): New.
40254 (HAVE_RM_CTX): New.
40255 (libc_feholdexcept_setround_mips_ctx): New.
40256 (libc_feholdexcept_setround_ctx): New.
40257 (libc_feholdexcept_setroundf_ctx): New.
40258 (libc_feholdexcept_setroundl_ctx): New.
40259 (libc_fesetenv_mips_ctx): New.
40260 (libc_fesetenv_ctx): New.
40261 (libc_fesetenv_ctxf): New.
40262 (libc_fesetenv_ctxl): New.
40263 (libc_feupdateenv_mips_ctx): New.
40264 (libc_feupdateenv_ctx): New.
40265 (libc_feupdateenvf_ctx): New.
40266 (libc_feupdateenvl_ctx): New.
40267 (libc_feholdsetround_mips_ctx): New.
40268 (libc_feholdsetround_ctx): New.
40269 (libc_feholdsetroundf_ctx): New.
40270 (libc_feholdsetroundl_ctx): New.
40271 (libc_feresetround_mips_ctx): New.
40272 (libc_feresetround_ctx): New.
40273 (libc_feresetroundf_ctx): New.
40274 (libc_feresetroundl_ctx): New.
40275
40276 2014-02-26 Carlos O'Donell <carlos@redhat.com>
40277
40278 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
40279
40280 * manual/ipc.texi: New file.
40281 * manual/Makefile (chapters): Add ipc.
40282 * manual/job.texi: Add "Inter-Process Communication" to next.
40283 * manual/process.texi: Add "Inter-Process Communication" to prev.
40284
40285 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40286
40287 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40288
40289 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
40290
40291 * malloc/malloc.c (__libc_calloc): Simplify implementation.
40292
40293 * manual/arith.texi: Fix spaces after sentences.
40294 * manual/charset.texi: Likewise.
40295 * manual/errno.texi: Likewise.
40296 * manual/install.texi: Likewise.
40297 * manual/llio.texi: Likewise.
40298 * manual/locale.texi: Likewise.
40299 * manual/maint.texi: Likewise.
40300 * manual/math.texi: Likewise.
40301 * manual/memory.texi: Likewise.
40302 * manual/message.texi: Likewise.
40303 * manual/probes.texi: Likewise.
40304 * manual/resource.texi: Likewise.
40305 * manual/signal.texi: Likewise.
40306 * manual/socket.texi: Likewise.
40307 * manual/stdio.texi: Likewise.
40308 * manual/string.texi: Likewise.
40309 * manual/time.texi: Likewise.
40310 * manual/users.texi: Likewise.
40311
40312 2014-02-25 Carlos O'Donell <carlos@redhat.com>
40313
40314 [BZ #16632]
40315 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
40316 _DEFAULT_SOURCE is defined.
40317
40318 2014-02-25 Ulrich Drepper <drepper@gmail.com>
40319 Carlos O'Donell <carlos@redhat.com>
40320
40321 [BZ #16613]
40322 * elf/dl-tls.c (_dl_count_modids): New function.
40323 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
40324 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
40325 audit library and increment generation counter.
40326 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
40327 * elf/tst-audit9.c: New file.
40328 * elf/tst-auditmod9a.c: New file.
40329 * elf/tst-auditmod9b.c: New file.
40330 * elf/Makefile: Add rules to build and run tst-audit9.
40331
40332 2014-02-25 Florian Weimer <fweimer@redhat.com>
40333
40334 [BZ #15347]
40335 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
40336
40337 2014-02-25 Will Newton <will.newton@linaro.org>
40338
40339 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
40340 (__longjmp): Restore sp and lr before restoring callee
40341 saved registers. Add longjmp and longjmp_target
40342 SystemTap probe point.
40343 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
40344 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
40345 Define to zero to match jmpbuf layout.
40346 * sysdeps/arm/setjmp.S: Include stap-probe.h.
40347 (__sigsetjmp): Save sp and lr before saving callee
40348 saved registers. Add setjmp SystemTap probe point.
40349
40350 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
40351
40352 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
40353
40354 2014-02-24 Andreas Schwab <schwab@suse.de>
40355
40356 [BZ #15804]
40357 * elf/pldd.c (wait_for_ptrace_stop): New function.
40358 (main): Call it after attaching.
40359
40360 2014-02-22 Roland McGrath <roland@hack.frob.com>
40361
40362 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
40363 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
40364 Versions files is now verboten.
40365 * hurd/Versions (libc: GLIBC_2.0):
40366 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
40367 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
40368 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
40369 * mach/Versions: Likewise.
40370
40371 * csu/Versions: Remove unused %include.
40372 * resolv/Versions: Likewise.
40373
40374 2014-02-21 Joseph Myers <joseph@codesourcery.com>
40375
40376 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
40377 ($(objpfx)check-local-headers.out): Likewise.
40378 ($(objpfx)begin-end-check.out): Likewise.
40379 * Makerules (check-abi-%.out): Likewise.
40380 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
40381 ($(objpfx)test2.cat): Likewise.
40382 ($(objpfx)de/libc.cat): Likewise.
40383 ($(objpfx)test-gencat.out): Likewise.
40384 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
40385 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
40386 ($(objpfx)noload-mem): Likewise.
40387 ($(objpfx)tst-pathopt.out): Likewise.
40388 ($(objpfx)tst-rtld-load-self.out): Likewise.
40389 ($(objpfx)tst-array1-cmp.out): Likewise.
40390 ($(objpfx)tst-array1-static-cmp.out): Likewise.
40391 ($(objpfx)tst-array2-cmp.out): Likewise.
40392 ($(objpfx)tst-array3-cmp.out): Likewise.
40393 ($(objpfx)tst-array4-cmp.out): Likewise.
40394 ($(objpfx)tst-array5-cmp.out): Likewise.
40395 ($(objpfx)tst-array5-static-cmp.out): Likewise.
40396 ($(objpfx)check-textrel.out): Likewise.
40397 ($(objpfx)check-execstack.out): Likewise.
40398 ($(objpfx)check-localplt.out): Likewise.
40399 ($(objpfx)order2-cmp.out): Likewise.
40400 ($(objpfx)tst-leaks1-mem): Likewise.
40401 ($(objpfx)tst-leaks1-static-mem): Likewise.
40402 ($(objpfx)tst-initorder-cmp.out): Likewise.
40403 ($(objpfx)tst-initorder2-cmp.out): Likewise.
40404 ($(objpfx)tst-unused-dep.out): Likewise.
40405 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
40406 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
40407 * iconv/Makefile (test-iconvconfig): Likewise.
40408 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
40409 ($(objpfx)iconv-test.out): Likewise.
40410 ($(objpfx)tst-tables.out): Likewise.
40411 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
40412 ($(objpfx)tst-gettext.out): Likewise.
40413 ($(objpfx)tst-translit.out): Likewise.
40414 ($(objpfx)tst-gettext2.out): Likewise.
40415 ($(objpfx)tst-gettext4.out): Likewise.
40416 ($(objpfx)tst-gettext6.out): Likewise.
40417 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
40418 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
40419 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
40420 ($(objpfx)tst-fopenloc-mem.out): Likewise.
40421 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
40422 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
40423 * posix/Makefile ($(objpfx)globtest.out): Likewise.
40424 ($(objpfx)wordexp-tst.out): Likewise.
40425 ($(objpfx)annexc.out): Likewise.
40426 ($(objpfx)tst-fnmatch-mem): Likewise.
40427 ($(objpfx)bug-regex2-mem): Likewise.
40428 ($(objpfx)bug-regex14-mem): Likewise.
40429 ($(objpfx)bug-regex21-mem): Likewise.
40430 ($(objpfx)bug-regex31-mem): Likewise.
40431 ($(objpfx)tst-vfork3-mem): Likewise.
40432 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
40433 ($(objpfx)tst-pcre-mem): Likewise.
40434 ($(objpfx)tst-boost-mem): Likewise.
40435 ($(objpfx)tst-getconf.out): Likewise.
40436 ($(objpfx)bug-ga2-mem): Likewise.
40437 ($(objpfx)bug-glob2-mem): Likewise.
40438 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
40439 ($(objpfx)mtrace-tst-leaks2): Likewise.
40440 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
40441 ($(objpfx)tst-printf.out): Likewise.
40442 ($(objpfx)tst-setvbuf1.out): Likewise.
40443 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
40444 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
40445 ($(objpfx)tst-fmtmsg.out): Likewise.
40446 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
40447 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
40448
40449 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
40450 * bits/sigaction.h [__USE_MISC]: Likewise.
40451 * bits/waitstatus.h: Update #endif comments.
40452 * ctype/ctype.h: Likewise.
40453 * dirent/dirent.h: Likewise.
40454 [__USE_MISC]: Remove redundant conditionals.
40455 * grp/grp.h: Update #endif comments.
40456 [__USE_GNU]: Remove redundant conditionals.
40457 [__USE_MISC]: Likewise.
40458 * inet/netinet/in.h [__USE_GNU]: Likewise.
40459 * io/sys/stat.h [__USE_MISC]: Likewise.
40460 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
40461 * libio/bits/stdio.h: Update #endif comments.
40462 [__USE_MISC]: Remove redundant conditionals.
40463 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
40464 * libio/stdio.h: Update #endif comments.
40465 [__USE_MISC]: Remove redundant conditionals.
40466 * math/bits/math-finite.h [__USE_MISC]: Likewise.
40467 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
40468 * math/math.h: Update #else and #endif comments.
40469 [__USE_MISC]: Remove redundant conditionals.
40470 * misc/sys/uio.h: Update #endif comments.
40471 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
40472 * posix/glob.h [__USE_MISC]: Likewise.
40473 * posix/sys/types.h: Update #endif comments.
40474 [__USE_MISC]: Remove redundant conditionals.
40475 * posix/sys/wait.h: Update #endif comments.
40476 [__USE_MISC]: Remove redundant conditionals.
40477 * posix/unistd.h: Update #endif comments.
40478 [__USE_MISC]: Remove redundant conditionals.
40479 * pwd/pwd.h [__USE_GNU]: Likewise.
40480 [__USE_MISC]: Likewise.
40481 * resolv/netdb.h [__USE_GNU]: Likewise.
40482 * signal/signal.h: Update #endif comments.
40483 [__USE_MISC]: Remove redundant conditionals.
40484 * stdlib/stdlib.h: Update #else and #endif comments.
40485 [__USE_MISC]: Remove redundant conditionals.
40486 [__USE_GNU]: Likewise.
40487 * string/bits/string2.h [__USE_MISC]: Likewise.
40488 * string/string.h: Update #endif comments.
40489 [__USE_MISC]: Remove redundant conditionals.
40490 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
40491 Likewise.
40492 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
40493 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
40494 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
40495 Likewise.
40496 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
40497 Likewise.
40498 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
40499 comments.
40500 [__USE_MISC]: Remove redundant conditionals.
40501 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
40502 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
40503 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
40504 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
40505 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
40506 Likewise.
40507 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
40508 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
40509 Likewise.
40510 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
40511 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
40512 Likewise.
40513 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
40514 Likewise.
40515 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
40516 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
40517 Likewise.
40518 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
40519 Likewise.
40520 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
40521 * sysdeps/x86/bits/string.h: Update #endif comments.
40522 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
40523 conditionals.
40524 * time/sys/time.h: Update #endif comments.
40525 * time/time.h: Likewise.
40526 [__USE_MISC]: Remove redundant conditionals.
40527
40528 2014-02-21 Yury Gribov <y.gribov@samsung.com>
40529
40530 [BZ #16600]
40531 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
40532
40533 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
40534
40535 * Versions.def (librt): Add GLIBC_2.17.
40536
40537 2014-02-21 Adam Conrad <adconrad@0c3.net>
40538
40539 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
40540 synonym for _SYS_AUXV_H to allow direct inclusion.
40541 * sysdeps/sparc/bits/hwcap.h: Likewise.
40542 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
40543 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
40544 * sysdeps/sparc/sysdep.h: Likewise.
40545
40546 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
40547
40548 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
40549
40550 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
40551
40552 * benchtests/bench-strrchr.c: Print length instead of position.
40553
40554 2014-02-20 Joseph Myers <joseph@codesourcery.com>
40555
40556 [BZ #16611]
40557 * sysdeps/unix/sysv/linux/kernel-features.h
40558 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
40559 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
40560 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
40561 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
40562 Likewise.
40563 [__i386__ || __powerpc__ || __sh__ || __sparc__]
40564 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40565 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
40566 (__ASSUME_SENDMMSG): Define instead of using previous
40567 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
40568 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
40569 (__ASSUME_SENDMMSG_SYSCALL): Define.
40570 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
40571 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
40572 Likewise.
40573 * sysdeps/unix/sysv/linux/arm/kernel-features.h
40574 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
40575 Likewise.
40576 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
40577 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
40578 Likewise.
40579 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
40580 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
40581 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
40582 [__ASSUME_SENDMMSG]: Change conditionals to
40583 [__ASSUME_SENDMMSG_SOCKETCALL].
40584 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40585 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
40586 Define.
40587 * sysdeps/unix/sysv/linux/mips/kernel-features.h
40588 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
40589 Likewise.
40590 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
40591 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
40592 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
40593 [!__ASSUME_SENDMMSG]: Change conditional to
40594 [!__ASSUME_SENDMMSG_SOCKETCALL].
40595 * sysdeps/unix/sysv/linux/tile/kernel-features.h
40596 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
40597 Define.
40598
40599 [BZ #16610]
40600 * sysdeps/unix/sysv/linux/kernel-features.h
40601 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
40602 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
40603 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
40604 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
40605 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
40606 [__i386__ || __sparc__]
40607 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40608 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
40609 (__ASSUME_RECVMMSG): Define instead of using previous
40610 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
40611 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
40612 (__ASSUME_RECVMMSG_SYSCALL): Define.
40613 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
40614 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40615 Likewise.
40616 * sysdeps/unix/sysv/linux/arm/kernel-features.h
40617 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40618 Likewise.
40619 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
40620 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40621 Likewise.
40622 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
40623 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
40624 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
40625 [__ASSUME_RECVMMSG]: Change condition to
40626 [__ASSUME_RECVMMSG_SOCKETCALL].
40627 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40628 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40629 Define.
40630 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40631 * sysdeps/unix/sysv/linux/mips/kernel-features.h
40632 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40633 Likewise.
40634 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
40635 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
40636 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
40637 [!__ASSUME_RECVMMSG]: Change condition to
40638 [!__ASSUME_RECVMMSG_SOCKETCALL].
40639 * sysdeps/unix/sysv/linux/tile/kernel-features.h
40640 (__ASSUME_RECVMMSG_SYSCALL): Define.
40641
40642 [BZ #16609]
40643 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
40644 __powerpc__ || __s390__ || __sh__ || __sparc__]
40645 (__ASSUME_SOCKETCALL): Define.
40646 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
40647 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
40648 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
40649 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
40650 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
40651 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
40652 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
40653 (__ASSUME_ACCEPT4): Define instead of using previous
40654 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
40655 __powerpc__ || __sparc__ || __s390__)] condition.
40656 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
40657 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
40658 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
40659 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
40660 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
40661 [!__ASSUME_ACCEPT4]: Change condition to
40662 [!__ASSUME_ACCEPT4_SOCKETCALL].
40663 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
40664 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
40665 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
40666 * sysdeps/unix/sysv/linux/arm/kernel-features.h
40667 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
40668 __ASSUME_ACCEPT4_SYSCALL.
40669 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
40670 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
40671 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
40672 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
40673 __ASSUME_ACCEPT4_SYSCALL.
40674 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
40675 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
40676 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
40677 [__ASSUME_ACCEPT4]: Change condition to
40678 [__ASSUME_ACCEPT4_SOCKETCALL].
40679 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
40680 (__ASSUME_SOCKETCALL): Define.
40681 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
40682 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40683 (__ASSUME_SOCKETCALL): Define.
40684 (__ASSUME_ACCEPT4): Remove.
40685 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
40686 Define.
40687 * sysdeps/unix/sysv/linux/mips/kernel-features.h
40688 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
40689 Likewise.
40690 * sysdeps/unix/sysv/linux/tile/kernel-features.h
40691 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
40692
40693 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
40694 macro.
40695 (HWCAP_ARM_LPAE): Likewise.
40696 (HWCAP_ARM_EVTSTRM): Likewise.
40697 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
40698 Add vpfd32, lpae and evtstrm.
40699 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
40700 Increase to 22.
40701
40702 2014-02-19 Joseph Myers <joseph@codesourcery.com>
40703
40704 * math/auto-libm-test-in: Add tests of clog10.
40705 * math/auto-libm-test-out: Regenerated.
40706 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
40707 * sysdeps/i386/fpu/libm-test-ulps: Update.
40708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40709
40710 2014-02-18 Andreas Schwab <schwab@suse.de>
40711
40712 [BZ #16574]
40713 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
40714 Store non-zero if the second buffer was newly allocated.
40715 (send_dg): Likewise.
40716 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
40717 to send_vc and send_dg.
40718 (res_nsend): Pass NULL for ansp2_malloced.
40719 * resolv/res_query.c (__libc_res_nquery): Add parameter
40720 answerp2_malloced and pass it down to __libc_res_nsend.
40721 (res_nquery): Pass additional NULL to __libc_res_nquery.
40722 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
40723 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
40724 second answer buffer if answerp2_malloced was set.
40725 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
40726 (__libc_res_nquerydomain): Add parameter
40727 answerp2_malloced and pass it down to __libc_res_nquery.
40728 (res_nquerydomain): Pass additional NULL to
40729 __libc_res_nquerydomain.
40730 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
40731 additional NULL to __libc_res_nsend and __libc_res_nquery.
40732 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
40733 additional NULL to __libc_res_nsearch.
40734 (_nss_dns_gethostbyname4_r): Revert last change. Use new
40735 parameter of __libc_res_nsearch to check for separately allocated
40736 second buffer.
40737 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
40738 __libc_res_nquery.
40739 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
40740 additional NULL to __libc_res_nquery.
40741 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
40742 __libc_res_nsearch.
40743 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
40744 * include/resolv.h: Update prototypes of __libc_res_nquery,
40745 __libc_res_nsearch, __libc_res_nsend.
40746
40747 2014-02-18 Joseph Myers <joseph@codesourcery.com>
40748
40749 * math/auto-libm-test-in: Add tests of fma.
40750 * math/auto-libm-test-out: Regenerated.
40751 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
40752 (fma_towardzero_test_data): Likewise.
40753 (fma_downward_test_data): Likewise.
40754 (fma_upward_test_data): Likewise.
40755 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
40756 mpc_mode.
40757 (rounding_modes): Add values for new field.
40758 (func_calc_method): Add value mpfr_fff_f.
40759 (func_calc_desc): Add mpfr_fff_f union field.
40760 (test_function): Add field exact_args.
40761 (FUNC): Add macro argument EXACT_ARGS.
40762 (FUNC_mpfr_f_f): Update call to FUNC.
40763 (FUNC_mpfr_f_f): Likewise.
40764 (FUNC_mpfr_ff_f): Likewise.
40765 (FUNC_mpfr_if_f): Likewise.
40766 (FUNC_mpc_c_f): Likewise.
40767 (FUNC_mpc_c_c): Likewise.
40768 (test_functions): Add fma. Update calls to FUNC.
40769 (handle_input_arg): Add argument exact_args.
40770 (add_test): Update call to handle_input_arg.
40771 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
40772 (output_for_one_input_case): Update call to calc_generic_results.
40773 Recalculate exact zero results in each rounding mode.
40774
40775 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
40776 non-negative before setting low bit.
40777 * math/auto-libm-test-in: Mark one asin test possibly having
40778 spurious underflow.
40779 * math/auto-libm-test-out: Regenerated.
40780 * sysdeps/i386/fpu/libm-test-ulps: Update.
40781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40782
40783 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
40784
40785 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
40786 * sysdeps/unix/sysv/linux/microblaze: Move directory from
40787 ports/sysdeps/unix/sysv/linux/microblaze.
40788 * README: Add missing listing for microblaze*-*-linux-gnu.
40789
40790 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
40791
40792 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
40793 duplicate code
40794
40795 2014-02-16 Mike Frysinger <vapier@gentoo.org>
40796
40797 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
40798 * sysdeps/unix/sysv/linux/ia64: Move directory from
40799 ports/sysdeps/unix/sysv/linux/ia64.
40800 * README: Update listing for ia64-*-linux-gnu.
40801
40802 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
40803 Joseph Myers <joseph@codesourcery.com>
40804
40805 * Makeconfig (test-name): New variable.
40806 (evaluate-test): Likewise.
40807 * Makerules (do-test-clean): Remove .test-result files.
40808 (common-mostlyclean): Likewise.
40809 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
40810 * scripts/evaluate-test.sh: New file.
40811
40812 2014-02-14 Joseph Myers <joseph@codesourcery.com>
40813
40814 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
40815 separate $(objpfx)tst-fopenloc-cmp.out and
40816 $(objpfx)tst-fopenloc-mem.out targets.
40817 (tests): Update dependencies.
40818 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
40819 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
40820 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
40821 (tst-rxspencer-no-utf8-ARGS): New variable.
40822 (tst-rxspencer-no-utf8-ENV): Likewise.
40823 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
40824 instead of $(objpfx)tst-rxspencer-mem.
40825 ($(objpfx)tst-rxspencer-mem): Change target to
40826 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
40827 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
40828 * posix/tst-rxspencer-no-utf8.c: New file.
40829
40830 * elf/Makefile ($(objpfx)order.out): Remove rule.
40831 [$(run-built-tests) = yes] (tests): Depend on
40832 $(objpfx)order-cmp.out.
40833 ($(objpfx)order-cmp.out): New rule.
40834 [$(run-built-tests) = yes] (tests): Depend on
40835 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
40836 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
40837 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
40838 $(objpfx)tst-array5-static-cmp.out.
40839 ($(objpfx)tst-array1.out): Remove rule.
40840 ($(objpfx)tst-array1-cmp.out): New rule.
40841 ($(objpfx)tst-array1-static.out): Remove rule.
40842 ($(objpfx)tst-array1-static-cmp.out): New rule.
40843 ($(objpfx)tst-array2.out): Remove rule.
40844 ($(objpfx)tst-array2-cmp.out): New rule.
40845 ($(objpfx)tst-array3.out): Remove rule.
40846 ($(objpfx)tst-array3-cmp.out): New rule.
40847 ($(objpfx)tst-array4.out): Remove rule.
40848 ($(objpfx)tst-array4-cmp.out): New rule.
40849 ($(objpfx)tst-array5.out): Remove rule.
40850 ($(objpfx)tst-array5-cmp.out): New rule.
40851 ($(objpfx)tst-array5-static.out): Remove rule.
40852 ($(objpfx)tst-array5-static-cmp.out): New rule.
40853 [$(run-built-tests) = yes] (tests): Depend on
40854 $(objpfx)order2-cmp.out.
40855 ($(objpfx)order2.out): Remove rule.
40856 ($(objpfx)order2-cmp.out): New rule.
40857 ($(objpfx)tst-initorder.out): Remove rule.
40858 [$(run-built-tests) = yes] (tests): Depend on
40859 $(objpfx)tst-initorder-cmp.out.
40860 ($(objpfx)tst-initorder-cmp.out): New rule.
40861 ($(objpfx)tst-initorder2.out): Remove rule.
40862 [$(run-built-tests) = yes] (tests): Depend on
40863 $(objpfx)tst-initorder2-cmp.out.
40864 ($(objpfx)tst-initorder2-cmp.out): New rule.
40865 [$(run-built-tests) = yes] (tests): Depend on
40866 $(objpfx)tst-unused-dep-cmp.out.
40867 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
40868 ($(objpfx)tst-unused-dep-cmp.out): New rule.
40869 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
40870 on $(objpfx)tst-setvbuf1-cmp.out.
40871 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
40872 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
40873 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
40874 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
40875 ($(objpfx)tst-svc.out): Remove rule.
40876 ($(objpfx)tst-svc-cmp.out): New rule.
40877
40878 2014-02-13 Joseph Myers <joseph@codesourcery.com>
40879
40880 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
40881 * ctype/ctype.h [__USE_MISC]: Likewise.
40882 * dirent/dirent.h [__USE_MISC]: Likewise.
40883 * grp/grp.h [__USE_MISC]: Likewise.
40884 * io/fcntl.h [__USE_MISC]: Likewise.
40885 * io/sys/stat.h [__USE_MISC]: Likewise.
40886 * libio/stdio.h [__USE_MISC]: Likewise.
40887 * posix/unistd.h [__USE_MISC]: Likewise.
40888 * pwd/pwd.h [__USE_MISC]: Likewise.
40889 * stdlib.h [__USE_MISC]: Likewise.
40890 * string/bits/string2.h [__USE_MISC]: Likewise.
40891 * string/string.h [__USE_MISC]: Likewise.
40892 * time/time.h [__USE_MISC]: Likewise.
40893
40894 2014-02-13 Andreas Schwab <schwab@suse.de>
40895
40896 [BZ #16574]
40897 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
40898 second answer buffer if it was separately allocated.
40899
40900 2014-02-12 Joseph Myers <joseph@codesourcery.com>
40901
40902 * sysdeps/mips/math-tests.h: Include <features.h>.
40903 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
40904 (ROUNDING_TESTS_long_double): Do not define.
40905 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
40906 (EXCEPTION_TESTS_long_double): Likewise.
40907 * sysdeps/mips/mips64/libm-test-ulps: Update.
40908
40909 * include/features.h (__USE_BSD): Remove macro definitions.
40910 (__USE_SVID): Likewise.
40911 (_BSD_SOURCE): Likewise.
40912 (_SVID_SOURCE): Likewise.
40913 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
40914 from definition of _DEFAULT_SOURCE.
40915 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
40916 [_DEFAULT_SOURCE].
40917 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
40918 * bits/mman.h [__USE_BSD]: Likewise.
40919 * bits/termios.h [__USE_BSD]: Likewise.
40920 * bits/waitstatus.h [__USE_BSD]: Likewise.
40921 * ctype/ctype.h [__USE_SVID]: Likewise.
40922 * dirent/dirent.h [__USE_BSD]: Likewise.
40923 * grp/grp.h [__USE_SVID]: Likewise.
40924 [__USE_BSD]: Likewise.
40925 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
40926 * io/fcntl.h [__USE_BSD]: Likewise.
40927 * io/ftw.h [__USE_BSD]: Likewise.
40928 * io/sys/stat.h [__USE_BSD]: Likewise.
40929 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
40930 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
40931 * libio/stdio.h [__USE_SVID]: Likewise.
40932 [__USE_BSD]: Likewise.
40933 * math/math.h [__USE_SVID]: Likewise.
40934 [__USE_BSD]: Likewise.
40935 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
40936 * misc/bits/syslog.h [__USE_BSD]: Likewise.
40937 * misc/search.h [__USE_SVID]: Likewise.
40938 * misc/sys/mman.h [__USE_BSD]: Likewise.
40939 * misc/sys/syslog.h [__USE_BSD]: Likewise.
40940 * misc/sys/uio.h [__USE_BSD]: Likewise.
40941 * posix/bits/unistd.h [__USE_BSD]: Likewise.
40942 * posix/glob.h [__USE_BSD]: Likewise.
40943 * posix/regex.h [__USE_BSD]: Likewise.
40944 * posix/sys/types.h [__USE_BSD]: Likewise.
40945 [__USE_SVID]: Likewise.
40946 * posix/sys/utsname.h [__USE_SVID]: Likewise.
40947 * posix/sys/wait.h [__USE_BSD]: Likewise.
40948 [__USE_SVID]: Likewise.
40949 * posix/unistd.h [__USE_BSD]: Likewise.
40950 [__USE_SVID]: Likewise.
40951 * pwd/pwd.h [__USE_SVID]: Likewise.
40952 * resolv/netdb.h [__USE_BSD]: Likewise.
40953 * setjmp/setjmp.h [__USE_BSD]: Likewise.
40954 * signal/signal.h [__USE_BSD]: Likewise.
40955 [__USE_SVID]: Likewise.
40956 * socket/sys/socket.h [__USE_BSD]: Likewise.
40957 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
40958 * stdlib/stdlib.h [__USE_BSD]: Likewise.
40959 [__USE_SVID]: Likewise.
40960 * string/bits/string2.h [__USE_BSD]: Likewise.
40961 [__USE_SVID]: Likewise.
40962 * string/bits/string3.h [__USE_BSD]: Likewise.
40963 * string/endian.h [__USE_BSD]: Likewise.
40964 * string/string.h [__USE_SVID]: Likewise.
40965 [__USE_BSD]: Likewise.
40966 * string/strings.h [__USE_BSD]: Likewise.
40967 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
40968 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
40969 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
40970 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
40971 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
40972 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
40973 Likewise.
40974 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
40975 Likewise.
40976 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
40977 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
40978 Likewise.
40979 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
40980 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
40981 Likewise.
40982 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
40983 Likewise.
40984 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
40985 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
40986 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
40987 Likewise.
40988 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
40989 Likewise.
40990 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
40991 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
40992 * termios/termios.h [__USE_BSD]: Likewise.
40993 * time/sys/time.h [__USE_BSD]: Likewise.
40994 * time/time.h [__USE_BSD]: Likewise.
40995 [__USE_SVID]: Likewise.
40996
40997 * Makefile (subdir_targets): Remove subdir_lint.out.
40998
40999 * stdio-common/Makefile (do-tst-unbputc): Remove target.
41000 (do-tst-printf): Likewise.
41001 (tests): Depend directly on $(objpfx)tst-unbputc.out and
41002 $(objpfx)tst-printf.out.
41003
41004 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
41005
41006 * Makerules (check-abi-%): Change target to
41007 $(objpfx)check-abi-%.out.
41008 (check-abi target): Update dependencies.
41009 (check-abi-pattern variable): Redirect output of diff to $@.
41010 (check-abi variable): Likewise.
41011 * elf/Makefile (check-abi): Update dependencies.
41012
41013 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
41014 unused.
41015 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
41016 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
41017 subnormal range.
41018 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
41019 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
41020 value has largest subnormal exponent.
41021 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
41022 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
41023 * sysdeps/aarch64/soft-fp/sfp-machine.h
41024 (_FP_TININESS_AFTER_ROUNDING): New macro.
41025 * sysdeps/alpha/soft-fp/sfp-machine.h
41026 (_FP_TININESS_AFTER_ROUNDING): Likewise.
41027 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
41028 Likewise.
41029 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
41030 (_FP_TININESS_AFTER_ROUNDING): Likewise.
41031 * sysdeps/mips/soft-fp/sfp-machine.h
41032 (_FP_TININESS_AFTER_ROUNDING): Likewise.
41033 * sysdeps/powerpc/soft-fp/sfp-machine.h
41034 (_FP_TININESS_AFTER_ROUNDING): Likewise.
41035 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
41036 Likewise.
41037 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
41038 (_FP_TININESS_AFTER_ROUNDING): Likewise.
41039 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
41040 (_FP_TININESS_AFTER_ROUNDING): Likewise.
41041 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
41042 Likewise.
41043
41044 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
41045
41046 [BZ #16545]
41047 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
41048 model 1.
41049
41050 2014-02-12 Richard Henderson <rth@redhat.com>
41051
41052 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
41053 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
41054 * sysdeps/unix/sysv/linux/alpha: Move directory from
41055 ports/sysdeps/unix/sysv/linux/alpha.
41056 * README: Update listing for alpha-*-linux-gnu.
41057
41058 2014-02-11 Joseph Myers <joseph@codesourcery.com>
41059
41060 * include/features.h: Update comment documenting feature test
41061 macros.
41062 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
41063 _DEFAULT_SOURCE.
41064 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
41065 (_SVID_SOURCE): Likewise.
41066 (_DEFAULT_SOURCE): Update description of default features.
41067 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
41068 with _GNU_SOURCE.
41069 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
41070 (S_ISVTX): Likewise.
41071 * manual/math.texi (Mathematical Constants): Likewise.
41072 * manual/signal.texi (Interrupted Primitives): Likewise.
41073 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
41074 * math/test-matherr.c (_SVID_SOURCE): Do not define.
41075 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
41076 Don't refer to _SVID_SOURCE in warning text.
41077
41078 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41079
41080 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
41081 already defined.
41082 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
41083 * sysdeps/mips/dl-lookup.c: Remove.
41084 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
41085
41086 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
41087
41088 [BZ #16447]
41089 * math/auto-libm-test-in: Add testcase for expl.
41090 * math/auto-libm-test-out: Regenerate.
41091 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
41092 calculation of unsafe.
41093 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
41094
41095 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
41096
41097 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
41098 * sysdeps/unix/sysv/linux/aarch64: Move directory from
41099 ports/sysdeps/unix/sysv/linux/aarch64.
41100 * README: Update listing for aarch64*-*-linux-gnu.
41101
41102 2014-02-11 Will Newton <will.newton@linaro.org>
41103
41104 * manual/probes.texi (Mathematical Function Probes): Use
41105 "triggered" instead of "hit".
41106
41107 * manual/probes.texi (Internal Probes): Add documentation
41108 of setjmp, longjmp and longjmp_target probes.
41109
41110 * include/stap-probe.h: Add comment about probe argument
41111 format.
41112
41113 * malloc/mtrace.c (attribute_hidden): Remove unused macro
41114 definition. (tr_where, tr_freehook, tr_mallochook,
41115 tr_reallochook, tr_memalignhook): Use ANSI protoype.
41116
41117 2014-02-11 David S. Miller <davem@davemloft.net>
41118
41119 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
41120 processing int_tests.
41121
41122 2014-02-10 Joseph Myers <joseph@codesourcery.com>
41123
41124 * sysdeps/mips: Move directory from ports/sysdeps/mips.
41125 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
41126 * sysdeps/unix/sysv/linux/mips: Move directory from
41127 ports/sysdeps/unix/sysv/linux/mips.
41128 * README: Update listing for mips-*-linux-gnu and
41129 mips64-*-linux-gnu.
41130
41131 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
41132
41133 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
41134 * sysdeps/unix/sysv/linux/m68k: Move directory from
41135 ports/sysdeps/unix/sysv/linux/m68k.
41136 * README: Update listing for m68k-*-linux-gnu.
41137
41138 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
41139
41140 * sysdeps/tile: Move directory from ports/sysdeps/tile.
41141 * sysdeps/unix/sysv/linux/generic: Move directory from
41142 ports/sysdeps/unix/sysv/linux/generic.
41143 * sysdeps/unix/sysv/linux/tile: Move directory from
41144 ports/sysdeps/unix/sysv/linux/tile.
41145 * README: Update listing for tile*-*-linux-gnu.
41146
41147 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
41148
41149 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
41150 __builtin_expect.
41151 * benchtests/bench-memmem.c (simple_memmem): Likewise.
41152 * catgets/open_catalog.c (__open_catalog): Likewise.
41153 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
41154 * debug/confstr_chk.c: Likewise.
41155 * debug/fread_chk.c (__fread_chk): Likewise.
41156 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
41157 * debug/getgroups_chk.c: Likewise.
41158 * debug/mbsnrtowcs_chk.c: Likewise.
41159 * debug/mbsrtowcs_chk.c: Likewise.
41160 * debug/mbstowcs_chk.c: Likewise.
41161 * debug/memcpy_chk.c: Likewise.
41162 * debug/memmove_chk.c: Likewise.
41163 * debug/mempcpy_chk.c: Likewise.
41164 * debug/memset_chk.c: Likewise.
41165 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
41166 * debug/strcat_chk.c (__strcat_chk): Likewise.
41167 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
41168 * debug/strncat_chk.c (__strncat_chk): Likewise.
41169 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
41170 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
41171 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
41172 * debug/wcpncpy_chk.c: Likewise.
41173 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
41174 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
41175 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
41176 * debug/wcsncpy_chk.c: Likewise.
41177 * debug/wcsnrtombs_chk.c: Likewise.
41178 * debug/wcsrtombs_chk.c: Likewise.
41179 * debug/wcstombs_chk.c: Likewise.
41180 * debug/wmemcpy_chk.c: Likewise.
41181 * debug/wmemmove_chk.c: Likewise.
41182 * debug/wmempcpy_chk.c: Likewise.
41183 * debug/wmemset_chk.c: Likewise.
41184 * dirent/scandirat.c (SCANDIRAT): Likewise.
41185 * dlfcn/dladdr1.c (dladdr1): Likewise.
41186 * dlfcn/dladdr.c (dladdr): Likewise.
41187 * dlfcn/dlclose.c (dlclose_doit): Likewise.
41188 * dlfcn/dlerror.c (__dlerror): Likewise.
41189 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
41190 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
41191 * dlfcn/dlopen.c (dlopen_doit): Likewise.
41192 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
41193 * dlfcn/dlsym.c (dlsym_doit): Likewise.
41194 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
41195 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
41196 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
41197 Likewise.
41198 * elf/dl-conflict.c: Likewise.
41199 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
41200 * elf/dl-dst.h: Likewise.
41201 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
41202 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
41203 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
41204 * elf/dl-init.c (call_init, _dl_init): Likewise.
41205 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
41206 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
41207 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
41208 Likewise.
41209 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
41210 Likewise.
41211 * elf/dl-minimal.c (__libc_memalign): Likewise.
41212 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
41213 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
41214 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
41215 * elf/dl-sym.c (do_sym): Likewise.
41216 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
41217 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
41218 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
41219 * elf/dl-writev.h (_dl_writev): Likewise.
41220 * elf/ldconfig.c (search_dir): Likewise.
41221 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
41222 (dl_main): Likewise.
41223 * elf/setup-vdso.h (setup_vdso): Likewise.
41224 * grp/compat-initgroups.c (compat_call): Likewise.
41225 * grp/fgetgrent.c (fgetgrent): Likewise.
41226 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
41227 * grp/putgrent.c (putgrent): Likewise.
41228 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
41229 Likewise.
41230 * hurd/hurdinit.c: Likewise.
41231 * iconvdata/8bit-gap.c (struct): Likewise.
41232 * iconvdata/ansi_x3.110.c : Likewise.
41233 * iconvdata/big5.c : Likewise.
41234 * iconvdata/big5hkscs.c : Likewise.
41235 * iconvdata/cp1255.c: Likewise.
41236 * iconvdata/cp1258.c : Likewise.
41237 * iconvdata/cp932.c : Likewise.
41238 * iconvdata/euc-cn.c: Likewise.
41239 * iconvdata/euc-jisx0213.c : Likewise.
41240 * iconvdata/euc-jp.c: Likewise.
41241 * iconvdata/euc-jp-ms.c : Likewise.
41242 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
41243 * iconvdata/gb18030.c : Likewise.
41244 * iconvdata/gbbig5.c (const): Likewise.
41245 * iconvdata/gbgbk.c: Likewise.
41246 * iconvdata/gbk.c : Likewise.
41247 * iconvdata/ibm1364.c : Likewise.
41248 * iconvdata/ibm930.c : Likewise.
41249 * iconvdata/ibm932.c: Likewise.
41250 * iconvdata/ibm933.c : Likewise.
41251 * iconvdata/ibm935.c : Likewise.
41252 * iconvdata/ibm937.c : Likewise.
41253 * iconvdata/ibm939.c : Likewise.
41254 * iconvdata/ibm943.c: Likewise.
41255 * iconvdata/iso_11548-1.c: Likewise.
41256 * iconvdata/iso-2022-cn.c : Likewise.
41257 * iconvdata/iso-2022-cn-ext.c : Likewise.
41258 * iconvdata/iso-2022-jp-3.c: Likewise.
41259 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
41260 * iconvdata/iso-2022-kr.c : Likewise.
41261 * iconvdata/iso646.c (gconv_end): Likewise.
41262 * iconvdata/iso_6937-2.c : Likewise.
41263 * iconvdata/iso_6937.c : Likewise.
41264 * iconvdata/iso8859-1.c: Likewise.
41265 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
41266 * iconvdata/shift_jisx0213.c : Likewise.
41267 * iconvdata/sjis.c : Likewise.
41268 * iconvdata/t.61.c : Likewise.
41269 * iconvdata/tcvn5712-1.c : Likewise.
41270 * iconvdata/tscii.c: Likewise.
41271 * iconvdata/uhc.c : Likewise.
41272 * iconvdata/unicode.c (gconv_end): Likewise.
41273 * iconvdata/utf-16.c (gconv_end): Likewise.
41274 * iconvdata/utf-32.c (gconv_end): Likewise.
41275 * iconvdata/utf-7.c (base64): Likewise.
41276 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
41277 * iconv/gconv_close.c (__gconv_close): Likewise.
41278 * iconv/gconv_open.c (__gconv_open): Likewise.
41279 * iconv/gconv_simple.c (internal_ucs4_loop_single)
41280 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
41281 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
41282 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
41283 (ucs4le_internal_loop_single): Likewise.
41284 * iconv/iconv.c (iconv): Likewise.
41285 * iconv/iconv_close.c: Likewise.
41286 * iconv/loop.c (SINGLE): Likewise.
41287 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
41288 * include/atomic.h: Likewise.
41289 * inet/inet6_option.c (option_alloc): Likewise.
41290 * intl/bindtextdom.c (set_binding_values): Likewise.
41291 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
41292 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
41293 * intl/localealias.c (read_alias_file): Likewise.
41294 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
41295 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
41296 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
41297 * libio/fmemopen.c (fmemopen): Likewise.
41298 * libio/iofgets.c (_IO_fgets): Likewise.
41299 * libio/iofgets_u.c (fgets_unlocked): Likewise.
41300 * libio/iofgetws.c (fgetws): Likewise.
41301 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
41302 * libio/iogetdelim.c (_IO_getdelim): Likewise.
41303 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
41304 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
41305 * locale/findlocale.c (_nl_find_locale): Likewise.
41306 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
41307 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
41308 Likewise.
41309 * locale/setlocale.c (setlocale): Likewise.
41310 * login/programs/pt_chown.c (main): Likewise.
41311 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
41312 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
41313 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
41314 (mmap, mmap64, mremap, munmap): Likewise.
41315 * math/e_exp2l.c: Likewise.
41316 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
41317 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
41318 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
41319 * math/s_catan.c (__catan): Likewise.
41320 * math/s_catanf.c (__catanf): Likewise.
41321 * math/s_catanh.c (__catanh): Likewise.
41322 * math/s_catanhf.c (__catanhf): Likewise.
41323 * math/s_catanhl.c (__catanhl): Likewise.
41324 * math/s_catanl.c (__catanl): Likewise.
41325 * math/s_ccosh.c (__ccosh): Likewise.
41326 * math/s_ccoshf.c (__ccoshf): Likewise.
41327 * math/s_ccoshl.c (__ccoshl): Likewise.
41328 * math/s_cexp.c (__cexp): Likewise.
41329 * math/s_cexpf.c (__cexpf): Likewise.
41330 * math/s_cexpl.c (__cexpl): Likewise.
41331 * math/s_clog10.c (__clog10): Likewise.
41332 * math/s_clog10f.c (__clog10f): Likewise.
41333 * math/s_clog10l.c (__clog10l): Likewise.
41334 * math/s_clog.c (__clog): Likewise.
41335 * math/s_clogf.c (__clogf): Likewise.
41336 * math/s_clogl.c (__clogl): Likewise.
41337 * math/s_csin.c (__csin): Likewise.
41338 * math/s_csinf.c (__csinf): Likewise.
41339 * math/s_csinh.c (__csinh): Likewise.
41340 * math/s_csinhf.c (__csinhf): Likewise.
41341 * math/s_csinhl.c (__csinhl): Likewise.
41342 * math/s_csinl.c (__csinl): Likewise.
41343 * math/s_csqrt.c (__csqrt): Likewise.
41344 * math/s_csqrtf.c (__csqrtf): Likewise.
41345 * math/s_csqrtl.c (__csqrtl): Likewise.
41346 * math/s_ctan.c (__ctan): Likewise.
41347 * math/s_ctanf.c (__ctanf): Likewise.
41348 * math/s_ctanh.c (__ctanh): Likewise.
41349 * math/s_ctanhf.c (__ctanhf): Likewise.
41350 * math/s_ctanhl.c (__ctanhl): Likewise.
41351 * math/s_ctanl.c (__ctanl): Likewise.
41352 * math/w_pow.c: Likewise.
41353 * math/w_powf.c: Likewise.
41354 * math/w_powl.c: Likewise.
41355 * math/w_scalb.c (sysv_scalb): Likewise.
41356 * math/w_scalbf.c (sysv_scalbf): Likewise.
41357 * math/w_scalbl.c (sysv_scalbl): Likewise.
41358 * misc/error.c (error_tail): Likewise.
41359 * misc/pselect.c (__pselect): Likewise.
41360 * nis/nis_callback.c (__nis_create_callback): Likewise.
41361 * nis/nis_call.c (__nisfind_server): Likewise.
41362 * nis/nis_creategroup.c (nis_creategroup): Likewise.
41363 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
41364 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
41365 * nis/nis_getservlist.c (nis_getservlist): Likewise.
41366 * nis/nis_lookup.c (nis_lookup): Likewise.
41367 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
41368 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
41369 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
41370 * nis/nis_xdr.c (xdr_endpoint): Likewise.
41371 * nis/nss_compat/compat-grp.c (getgrent_next_file)
41372 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
41373 * nis/nss_compat/compat-initgroups.c (add_group)
41374 (internal_getgrent_r): Likewise.
41375 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
41376 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
41377 * nis/nss_compat/compat-spwd.c (getspent_next_file)
41378 (internal_getspnam_r): Likewise.
41379 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
41380 (_nss_nis_getaliasbyname_r): Likewise.
41381 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
41382 (_nss_nis_getntohost_r): Likewise.
41383 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
41384 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
41385 (_nss_nis_getgrgid_r): Likewise.
41386 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
41387 (internal_nis_gethostent_r, internal_gethostbyname2_r)
41388 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
41389 (_nss_nis_gethostbyname4_r): Likewise.
41390 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
41391 (initgroups_netid): Likewise.
41392 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
41393 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
41394 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
41395 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
41396 (_nss_nis_getprotobynumber_r): Likewise.
41397 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
41398 (_nss_nis_getsecretkey): Likewise.
41399 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
41400 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
41401 (_nss_nis_getpwuid_r): Likewise.
41402 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
41403 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
41404 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
41405 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
41406 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
41407 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
41408 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
41409 Likewise.
41410 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
41411 (_nss_nisplus_getntohost_r): Likewise.
41412 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
41413 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
41414 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
41415 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
41416 Likewise.
41417 * nis/nss_nisplus/nisplus-initgroups.c
41418 (_nss_nisplus_initgroups_dyn): Likewise.
41419 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
41420 (_nss_nisplus_getnetbyaddr_r): Likewise.
41421 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
41422 (_nss_nisplus_getprotobynumber_r): Likewise.
41423 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
41424 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
41425 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
41426 Likewise.
41427 * nis/nss_nisplus/nisplus-service.c
41428 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
41429 (_nss_nisplus_getservbyport_r): Likewise.
41430 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
41431 (_nss_nisplus_getspnam_r): Likewise.
41432 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
41433 Likewise.
41434 * nscd/aicache.c (addhstaiX): Likewise.
41435 * nscd/cache.c (cache_search, prune_cache): Likewise.
41436 * nscd/connections.c (register_traced_file, send_ro_fd)
41437 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
41438 (main_loop_epoll): Likewise.
41439 * nscd/grpcache.c (addgrbyX): Likewise.
41440 * nscd/hstcache.c (addhstbyX): Likewise.
41441 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41442 * nscd/mem.c (gc, mempool_alloc): Likewise.
41443 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
41444 (addinnetgrX): Likewise.
41445 * nscd/nscd-client.h (__nscd_acquire_maplock)
41446 (__nscd_drop_map_ref): Likewise.
41447 * nscd/nscd_getai.c (__nscd_getai): Likewise.
41448 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
41449 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
41450 Likewise.
41451 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
41452 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
41453 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
41454 (__nscd_get_map_ref): Likewise.
41455 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
41456 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
41457 Likewise.
41458 * nscd/pwdcache.c (addpwbyX): Likewise.
41459 * nscd/selinux.c (preserve_capabilities): Likewise.
41460 * nscd/servicescache.c (addservbyX): Likewise.
41461 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
41462 * posix/fnmatch.c (fnmatch): Likewise.
41463 * posix/getopt.c (_getopt_internal_r): Likewise.
41464 * posix/glob.c (glob, glob_in_dir): Likewise.
41465 * posix/wordexp.c (exec_comm_child): Likewise.
41466 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
41467 (getanswer_r, gaih_getanswer_slice): Likewise.
41468 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
41469 * resolv/res_init.c: Likewise.
41470 * resolv/res_mkquery.c (res_nmkquery): Likewise.
41471 * resolv/res_query.c (__libc_res_nquery): Likewise.
41472 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
41473 Likewise.
41474 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
41475 * stdio-common/perror.c (perror): Likewise.
41476 * stdio-common/printf_fp.c (___printf_fp): Likewise.
41477 * stdio-common/tmpnam.c (tmpnam): Likewise.
41478 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
41479 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
41480 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
41481 Likewise.
41482 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
41483 * stdlib/putenv.c (putenv): Likewise.
41484 * stdlib/setenv.c (__add_to_environ): Likewise.
41485 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
41486 * stdlib/strtol_l.c (INTERNAL): Likewise.
41487 * string/memmem.c (memmem): Likewise.
41488 * string/strerror.c (strerror): Likewise.
41489 * string/strnlen.c (__strnlen): Likewise.
41490 * string/test-memmem.c (simple_memmem): Likewise.
41491 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
41492 * sunrpc/pm_getport.c (__get_socket): Likewise.
41493 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
41494 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
41495 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
41496 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
41497 Likewise.
41498 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
41499 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
41500 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
41501 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
41502 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
41503 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
41504 Likewise.
41505 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
41506 Likewise.
41507 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
41508 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
41509 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
41510 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
41511 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
41512 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
41513 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
41514 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
41515 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
41516 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
41517 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
41518 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
41519 Likewise.
41520 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
41521 Likewise.
41522 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
41523 Likewise.
41524 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
41525 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
41526 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
41527 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
41528 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
41529 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
41530 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
41531 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
41532 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
41533 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
41534 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
41535 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41536 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
41537 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
41538 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41539 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
41540 Likewise.
41541 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
41542 Likewise.
41543 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
41544 Likewise.
41545 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
41546 Likewise.
41547 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
41548 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41549 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
41550 Likewise.
41551 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
41552 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
41553 * sysdeps/posix/opendir.c (__opendirat): Likewise.
41554 * sysdeps/posix/sleep.c: Likewise.
41555 * sysdeps/posix/tempname.c: Likewise.
41556 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
41557 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
41558 Likewise.
41559 * sysdeps/powerpc/powerpc32/dl-machine.h
41560 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
41561 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
41562 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
41563 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
41564 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
41565 Likewise.
41566 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
41567 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
41568 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
41569 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
41570 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
41571 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
41572 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
41573 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
41574 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
41575 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
41576 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
41577 (elf_machine_lazy_rel): Likewise.
41578 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
41579 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
41580 (elf_machine_lazy_rel): Likewise.
41581 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
41582 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
41583 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
41584 * sysdeps/unix/grantpt.c (grantpt): Likewise.
41585 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
41586 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
41587 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
41588 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41589 Likewise.
41590 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
41591 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
41592 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
41593 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
41594 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
41595 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
41596 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
41597 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
41598 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
41599 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
41600 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
41601 Likewise.
41602 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
41603 (__posix_fallocate64_l64): Likewise.
41604 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
41605 (posix_fallocate): Likewise.
41606 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
41607 Likewise.
41608 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
41609 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
41610 (getifaddrs_internal): Likewise.
41611 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
41612 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
41613 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
41614 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
41615 * sysdeps/unix/sysv/linux/posix_fallocate64.c
41616 (__posix_fallocate64_l64): Likewise.
41617 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
41618 Likewise.
41619 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
41620 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
41621 (__get_clockfreq): Likewise.
41622 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
41623 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
41624 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
41625 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
41626 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
41627 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
41628 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
41629 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
41630 Likewise.
41631 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
41632 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
41633 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
41634 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
41635 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
41636 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
41637 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
41638 Likewise.
41639 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
41640 (posix_fallocate): Likewise.
41641 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
41642 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
41643 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
41644 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
41645 (elf_machine_rela, elf_machine_rela_relative)
41646 (elf_machine_lazy_rel): Likewise.
41647 * time/asctime.c (asctime_internal): Likewise.
41648 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
41649 * time/tzset.c (__tzset_parse_tz): Likewise.
41650 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
41651 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
41652 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
41653 * wcsmbs/wcsmbsload.h: Likewise.
41654
41655 [BZ #15894]
41656 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
41657
41658 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
41659 (arena_get2): Remove THREAD_STATS conditionals.
41660 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
41661 (__malloc_stats, int): Likewise.
41662
41663 2014-02-08 Mike Frysinger <vapier@gentoo.org>
41664
41665 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
41666 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
41667
41668 * manual/setjmp.texi: Fix typos/grammar errors.
41669
41670 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
41671 Only return early when n is <= 0. Delete unused return statement.
41672
41673 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
41674 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
41675 * debug/tst-longjmp_chk3.c: New file.
41676
41677 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
41678 (test_main): Replace code with set_fortify_handler call.
41679 * debug/test-strcpy_chk.c: Likewise.
41680 * debug/tst-chk1.c: Likewise.
41681 * debug/tst-longjmp_chk.c: Likewise.
41682 * test-skeleton.c: Include fcntl.h & paths.h
41683 (set_fortify_handler): Define.
41684
41685 * debug/tst-longjmp_chk.c: Add header comment and include
41686 ../test-skeleton.c.
41687 (do_test): Mark static.
41688 (TEST_FUNCTION): Define.
41689
41690 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
41691 (IP_PMTUDISC_INTERFACE): Likewise.
41692 (IP_MULTICAST_IF): Likewise.
41693 (IP_MULTICAST_TTL): Likewise.
41694 (IP_MULTICAST_LOOP): Likewise.
41695 (IP_ADD_MEMBERSHIP): Likewise.
41696 (IP_DROP_MEMBERSHIP): Likewise.
41697 (IP_UNBLOCK_SOURCE): Likewise.
41698 (IP_BLOCK_SOURCE): Likewise.
41699 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
41700 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
41701 (IP_MSFILTER): Likewise.
41702 (MCAST_JOIN_GROUP): Likewise.
41703 (MCAST_BLOCK_SOURCE): Likewise.
41704 (MCAST_UNBLOCK_SOURCE): Likewise.
41705 (MCAST_LEAVE_GROUP): Likewise.
41706 (MCAST_JOIN_SOURCE_GROUP): Likewise.
41707 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
41708 (MCAST_MSFILTER): Likewise.
41709 (IP_MULTICAST_ALL): Likewise.
41710 (IP_UNICAST_IF): Likewise.
41711
41712 * timezone/Makefile: Delete $(have-ksh) check.
41713 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
41714 * timezone/tzselect.ksh: Add +x mode bits.
41715
41716 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
41717 (ANON_INODE_FS_MAGIC): Likewise.
41718 (BDEVFS_MAGIC): Likewise.
41719 (BINFMTFS_MAGIC): Likewise.
41720 (BTRFS_TEST_MAGIC): Likewise.
41721 (CRAMFS_MAGIC_WEND): Likewise.
41722 (DEBUGFS_MAGIC): Likewise.
41723 (ECRYPTFS_SUPER_MAGIC): Likewise.
41724 (EXT3_SUPER_MAGIC): Likewise.
41725 (EXT4_SUPER_MAGIC): Likewise.
41726 (FUTEXFS_SUPER_MAGIC): Likewise.
41727 (HOSTFS_SUPER_MAGIC): Likewise.
41728 (HUGETLBFS_MAGIC): Likewise.
41729 (MINIX3_SUPER_MAGIC): Likewise.
41730 (MTD_INODE_FS_MAGIC): Likewise.
41731 (NILFS_SUPER_MAGIC): Likewise.
41732 (OPENPROM_SUPER_MAGIC): Likewise.
41733 (PIPEFS_MAGIC): Likewise.
41734 (PSTOREFS_MAGIC): Likewise.
41735 (QNX6_SUPER_MAGIC): Likewise.
41736 (RAMFS_MAGIC): Likewise.
41737 (REISERFS_SUPER_MAGIC_STRING): Likewise.
41738 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
41739 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
41740 (SECURITYFS_MAGIC): Likewise.
41741 (SELINUX_MAGIC): Likewise.
41742 (SMACK_MAGIC): Likewise.
41743 (SOCKFS_MAGIC): Likewise.
41744 (SQUASHFS_MAGIC): Likewise.
41745 (STACK_END_MAGIC): Likewise.
41746 (TMPFS_MAGIC): Likewise.
41747 (USBDEVICE_SUPER_MAGIC): Likewise.
41748 (V9FS_MAGIC): Likewise.
41749 (XENFS_SUPER_MAGIC): Likewise.
41750 (CRAMFS_MAGIC): Fix typo in comment.
41751 (EXT2_SUPER_MAGIC): Update comment.
41752 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
41753
41754 2014-02-08 Joseph Myers <joseph@codesourcery.com>
41755
41756 * sysdeps/arm: Move directory from ports/sysdeps/arm.
41757 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
41758 * sysdeps/unix/sysv/linux/arm: Move directory from
41759 ports/sysdeps/unix/sysv/linux/arm.
41760 * README: Update listing for arm-*-linux-gnueabi.
41761
41762 * README: Remove mention of am33.
41763
41764 2014-02-07 Roland McGrath <roland@hack.frob.com>
41765
41766 * bits/sigset.h (__sigemptyset): Use a statement expression rather
41767 than the comma operator, to avoid "rhs of comma has no effect"
41768 compiler warnings.
41769 (__sigfillset, __sigandset, __sigorset): Likewise.
41770 * include/signal.h (__sigemptyset): Likewise.
41771 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
41772
41773 2014-02-07 Allan McRae <allan@archlinux.org>
41774
41775 * version.h (RELEASE): Set to "development".
41776 (VERSION): Set to "2.19.90"
41777 * NEWS: Add 2.20 section.
41778
41779 2014-02-06 Carlos O'Donell <carlos@redhat.com>
41780
41781 [BZ #16529]
41782 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
41783
41784 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
41785
41786 * manual/contrib.texi: Update entry for Carlos O'Donell,
41787 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
41788
41789 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
41790
41791 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
41792
41793 * sysdeps/unix/sysv/linux/kernel-features.h
41794 [__LINUX_KERNEL_VERSION >= 0x020621]
41795 (__ASSUME_PROC_PID_TASK_COMM): Define.
41796
41797 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
41798
41799 [BZ #16398]
41800 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
41801 conversion when destination buffer does not have enough space.
41802 * libio/tst-ftell-partial-wide.c: New test case.
41803 * libio/Makefile (tests): Add tst-ftell-partial-wide.
41804
41805 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
41806 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
41807 Leonard and Allan McRae.
41808
41809 2014-02-04 David S. Miller <davem@davemloft.net>
41810
41811 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
41812 32-bit.
41813
41814 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41815
41816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
41817 New file
41818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
41819 New file
41820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
41821 New file.
41822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
41823 New file.
41824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
41825 New file.
41826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
41827 New file.
41828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
41829 New file.
41830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
41831 New file.
41832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
41833 New file.
41834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
41835 New file.
41836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
41837 New file.
41838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
41839 New file.
41840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
41841 New file.
41842
41843 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41844
41845 * nptl/shlib-versions: Change powerpc*le start to 2.17.
41846 * shlib-versions: Likewise.
41847
41848 2014-02-04 Roland McGrath <roland@hack.frob.com>
41849 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41850
41851 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
41852 (abilist-pattern): New variable, set to %-le.abilist.
41853
41854 * Makerules (abilist-pattern): New variable.
41855 (vpath): Use $(abilist-pattern) in place of %.abilist.
41856 (check-abi-% pattern rule): Likewise.
41857 (check-abi, update-abi): Likewise.
41858
41859 2014-02-04 Eric Wong <normalperson@yhbt.net>
41860
41861 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41862
41863 2014-02-03 Carlos O'Donell <carlos@redhat.com>
41864
41865 * manual/startup.texi: Add next, previous, and top entries for
41866 the `Program Arguments' and `Environment Variables' nodes.
41867
41868 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
41869
41870 * manual/macros.texi: Add comments before MTASC-safety macros.
41871
41872 * manual/users.texi: Document MTASC-safety properties.
41873
41874 * manual/threads.texi (pthread_key_create, pthread_key_delete)
41875 (pthread_getspecific, pthread_setspecific): Format with
41876 @deftypefun, and add @safety note.
41877 * manual/signal.texi: Move comments that analyze the above
41878 functions to their home place.
41879
41880 2014-02-03 Allan McRae <allan@archlinux.org>
41881
41882 * po/sl.po: Update Slovenian translation from translation project.
41883
41884 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
41885
41886 * manual/time.texi (timegm): Add missing blank after @c.
41887 Reported by Joseph Myers <joseph@codesourcery.com>.
41888
41889 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
41890
41891 * manual/check-safety.sh: New.
41892 * manual/Makefile ($(objpfx)stamp-summary): Run it.
41893
41894 * manual/terminal.texi: Document MTASC-safety properties.
41895
41896 * manual/filesys.texi: Document MTASC-safety properties.
41897
41898 * manual/errno.texi: Document MTASC-safety properties.
41899
41900 * manual/intro.texi: Document safety identifiers and
41901 conditionals.
41902
41903 * manual/string.texi (wcstok): Fix prototype.
41904 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
41905
41906 * manual/time.texi: Document MTASC-safety properties.
41907
41908 * manual/string.texi: Document MTASC-safety properties.
41909
41910 * manual/threads.texi: Document MTASC-safety properties.
41911
41912 * manual/stdio.texi: Document MTASC-safety properties.
41913
41914 * manual/syslog.texi: Document MTASC-safety properties.
41915
41916 * manual/sysinfo.texi: Document MTASC-safety properties.
41917
41918 * manual/startup.texi: Document MTASC-safety properties.
41919
41920 * manual/socket.texi: Document MTASC-safety properties.
41921
41922 * manual/signal.texi: Document MTASC-safety properties.
41923
41924 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
41925
41926 * manual/setjmp.texi: Document MTASC-safety properties.
41927
41928 * manual/search.texi: Document MTASC-safety properties.
41929
41930 * manual/resource.texi: Document MTASC-safety properties.
41931
41932 * manual/process.texi: Document MTASC-safety properties.
41933
41934 * manual/platform.texi: Document MTASC-safety properties.
41935
41936 * manual/pipe.texi: Document MTASC-safety properties.
41937
41938 * manual/pattern.texi: Document MTASC-safety properties.
41939
41940 * manual/message.texi: Document MTASC-safety properties.
41941
41942 [BZ #12751]
41943 * manual/memory.texi: Document MTASC-safety properties.
41944
41945 * manual/math.texi: Document MTASC-safety properties.
41946
41947 * manual/locale.texi: Document MTASC-safety properties.
41948
41949 * manual/llio.texi: Document MTASC-safety properties.
41950
41951 * manual/libdl.texi: New.
41952
41953 * manual/lang.texi: Document MTASC-safety properties.
41954
41955 * manual/job.texi: Document MTASC-safety properties.
41956
41957 * manual/getopt.texi: Document MTASC-safety properties.
41958
41959 * manual/ctype.texi: Document MTASC-safety properties.
41960
41961 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
41962
41963 [BZ #16046]
41964 * csu/libc-tls.c (static_map): Remove variable.
41965 (__libc_setup_tls): Use main executable's link map for TLS data.
41966 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
41967 casing for LM_ID_BASE and GL(dl_nns).
41968 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
41969 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
41970 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
41971 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
41972 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
41973 member.
41974 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
41975 l_phnum members.
41976
41977 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
41978
41979 * manual/debug.texi: Document MTASC-safety properties.
41980
41981 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
41982
41983 [BZ #16510]
41984 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
41985 of __x86_64__ when disabling x87 inline functions.
41986
41987 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
41988
41989 * manual/charset.texi: Document MTASC-safety properties.
41990
41991 * manual/crypt.texi: Document MTASC-safety properties.
41992
41993 * manual/conf.texi: Document MTASC-safety properties.
41994
41995 * manual/arith.texi: Document MTASC-safety properties.
41996
41997 * manual/argp.texi: Document MTASC-safety properties.
41998
41999 * manual/macros.texi: Introduce macros to document multi
42000 thread, asynchronous signal and asynchronous cancellation
42001 safety properties.
42002 * manual/intro.texi: Introduce the properties themselves.
42003
42004 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42005
42006 * sysdeps/sh/sh4/Makefile: New file.
42007
42008 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
42009
42010 * math/gen-libm-test.pl ($srcdir): New variable.
42011 ($auto_input): Use it.
42012
42013 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
42014
42015 [BZ #16506]
42016 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
42017 access beyond array bounds when parsing netgroups file.
42018
42019 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
42020 the old buffer before realloc.
42021
42022 2014-01-27 Allan McRae <allan@archlinux.org>
42023
42024 * po/fr.po: Update French translation from translation project.
42025
42026 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42027
42028 * sysdeps/sh/libm-test-ulps: Regenerate.
42029
42030 2014-01-24 David S. Miller <davem@davemloft.net>
42031
42032 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
42033
42034 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42035
42036 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
42037 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
42038
42039 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
42040
42041 [BZ #16474]
42042 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
42043 string pointers after reallocation.
42044
42045 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42046
42047 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
42048 __SH4A__ instead of __SH_FPU_ANY__.
42049
42050 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42051
42052 * sysdeps/sh/fpu_control.h: New file.
42053 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
42054 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
42055 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
42056 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
42057 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
42058 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
42059 * sysdeps/sh/sys/ucontext.h: Remove.
42060 * sysdeps/sh/sys: Remove directory.
42061
42062 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42063
42064 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
42065 s390/sys/ucontext.h.
42066 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
42067 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
42068
42069 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
42070
42071 [BZ #15605]
42072 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
42073
42074 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42075
42076 [BZ#16431]
42077 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
42078 Adjust the vDSO correctly for internal calls.
42079 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
42080
42081 2014-01-20 Allan McRae <allan@archlinux.org>
42082
42083 * po/ca.po: Update Catalan translation from translation project.
42084
42085 2014-01-16 Mike Frysinger <vapier@gentoo.org>
42086
42087 * sysdeps/s390/sotruss-lib.c: New file.
42088
42089 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42090
42091 [BZ#16430]
42092 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
42093 (__GI___gettimeofday): Alias for a different internal symbol to avoid
42094 local calls issues by not having a PLT stub required for IFUNC calls.
42095 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
42096
42097 2014-01-16 Joseph Myers <joseph@codesourcery.com>
42098
42099 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
42100 * math/test-fpucw-static.c: Likewise.
42101
42102 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
42103
42104 [BZ #16453]
42105 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
42106
42107 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42108
42109 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
42110 implementation for powerpc.
42111
42112 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
42113
42114 [BZ #14782]
42115 * sysdeps/posix/system.c (__libc_system): Do not enable
42116 asynchronous cancellation.
42117
42118 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42119
42120 [BZ #16427]
42121 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
42122 handling only for numbers special also in the IEEE case.
42123
42124 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42125
42126 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
42127
42128 2014-01-11 Allan McRae <allan@archlinux.org>
42129
42130 * po/bg.po: Update Bulgarian translation from translation project.
42131
42132 * po/de.po: Update German translation from translation project.
42133
42134 2014-01-10 Roland McGrath <roland@hack.frob.com>
42135
42136 * sysdeps/generic/gcc-compat.h: New file.
42137
42138 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
42139
42140 * benchtests/asin-inputs: Correct slow inputs.
42141 * benchtests/acos-inputs: Likewise.
42142
42143 2014-01-10 Allan McRae <allan@archlinux.org>
42144
42145 * po:sv.po: Update Swedish translation from translation project.
42146
42147 * po/vi.po: Update Vietnamese translation from translation project.
42148
42149 * po/eo.po: Update Esperanto translation from translation project.
42150
42151 * po/cs.po: Update Czech translation from translation project.
42152
42153 * po/nl.po: Update Dutch translation from translation project.
42154
42155 * po/pl.po: Update Polish translation from translation project.
42156
42157 * po/ru.po: Update Russian translation from translation project.
42158
42159 * po/uk.po: Update Ukrainian translation from translation project.
42160
42161 2014-01-08 Brooks Moses <bmoses@google.com>
42162
42163 * elf/dl-load.c: Fix comment typo.
42164
42165 2014-01-08 Carlos O'Donell <carlos@redhat.com>
42166
42167 * po/header.pot: Rename to...
42168 * po/pot.header: ... this.
42169 * po/Makefile: Use pot.header.
42170
42171 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
42172 Maxim Kuvyrkov <maxim@kugelworks.com>
42173
42174 [BZ #16394]
42175 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
42176 SRC and DEST against LEN.
42177
42178 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42179
42180 [BZ #16414]
42181 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
42182 implementation.
42183 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
42184
42185 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42186
42187 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42188
42189 2014-01-08 Joseph Myers <joseph@codesourcery.com>
42190
42191 [BZ #16408]
42192 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
42193 for large positive arguments.
42194
42195 2014-01-07 Joseph Myers <joseph@codesourcery.com>
42196
42197 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
42198
42199 * math/auto-libm-test-in: Mark various tests with
42200 xfail-rounding:ldbl-128ibm.
42201 * math/auto-libm-test-out: Regenerated.
42202
42203 [BZ #16407]
42204 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
42205 Increase overflow threshold.
42206
42207 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
42208
42209 [BZ #14286]
42210 * stdio-common/vfprintf.c: Check for integer overflow.
42211
42212 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42213
42214 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
42215 the first argument and return value of __tls_get_addr_internal.
42216
42217 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42218
42219 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
42220 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
42221
42222 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42223
42224 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
42225 * sysdeps/s390/rtld-global-offsets.sym: New file.
42226 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
42227 GLIBC_2.19 symbol.
42228 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
42229 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
42230 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
42231 ... this.
42232 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
42233 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
42234 ... this.
42235 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
42236 Regenerate.
42237 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
42238 Regenerate.
42239 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
42240 halfs of GPRs for high_gprs contexts.
42241 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
42242 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
42243 field.
42244 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
42245 uc_flags field.
42246 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
42247 64 bit versions:
42248 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
42249 for high GPRs (uc_high_gprs) and for future extensions
42250 (__reserved).
42251 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
42252 for future extensions (__reserved).
42253 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
42254 64 bit versions:
42255 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
42256 SC_HIGHGPRS offset definition.
42257 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
42258 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
42259
42260 * Versions.def: Add GLIBC_2.19 for libpthread.
42261 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
42262 siglongjmp for libpthread with GLIBC_2.19 symver.
42263 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
42264 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
42265 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
42266 * sysdeps/s390/__longjmp.c: New file.
42267 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
42268 * sysdeps/s390/longjmp.c: New file.
42269 * sysdeps/s390/setjmp.S: New file.
42270 * sysdeps/s390/sigjmp.S: New file.
42271 * sysdeps/s390/v1-longjmp.c: New file.
42272 * sysdeps/s390/v1-setjmp.h: New file.
42273 * sysdeps/s390/v1-sigjmp.c: New file.
42274 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
42275 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
42276 GLIBC_2.19 version.
42277 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
42278 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
42279 versioned symbols for ____longjmp_chk.
42280 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
42281 Likewise.
42282 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
42283 Regenerate.
42284 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42285 Regenerate.
42286 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
42287 Regenerate.
42288 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42289 Regenerate.
42290 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
42291 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
42292 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
42293 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
42294 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
42295 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
42296 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
42297 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
42298 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
42299 * sysdeps/s390/rtld-__longjmp.c: New file.
42300 * sysdeps/s390/rtld-setjmp.S: New file.
42301
42302 2014-01-06 Joseph Myers <joseph@codesourcery.com>
42303
42304 [BZ #16400]
42305 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
42306 Return -__logl (x) for small positive arguments without evaluating
42307 a polynomial.
42308
42309 2014-01-06 Mike Frysinger <vapier@gentoo.org>
42310
42311 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
42312 Rename to ...
42313 (__ptrace_peeksiginfo_args): ... this.
42314 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42315 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42316 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42317
42318 2014-01-06 Allan McRae <allan@archlinux.org>
42319
42320 * inet/netinet/in.h: Fix typo in comment.
42321
42322 2014-01-05 Andreas Jaeger <aj@suse.de>
42323
42324 * sysdeps/i386/fpu/libm-test-ulps: Update.
42325
42326 2014-01-05 Allan McRae <allan@archlinux.org>
42327
42328 * po/libc.pot: Regenerated.
42329
42330 * malloc/memusagestat.c: Fix gettext call formatting.
42331
42332 2014-01-04 Sami Kerola <kerolasa@iki.fi>
42333
42334 * nscd/nscd.c: Improve usage() output.
42335
42336 2014-01-04 Mike Frysinger <vapier@gentoo.org>
42337
42338 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
42339 * sysdeps/unix/sysv/linux/configure: Regenerated.
42340 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
42341 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
42342
42343 2014-01-03 Joseph Myers <joseph@codesourcery.com>
42344
42345 [BZ #16390]
42346 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
42347 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
42348
42349 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42350
42351 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
42352 extra tokens at end of #undef directive.
42353 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
42354 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
42355 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
42356
42357 2014-01-03 Joseph Myers <joseph@codesourcery.com>
42358
42359 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
42360
42361 * math/auto-libm-test-in: Mark various tests with
42362 xfail-rounding:ldbl-128ibm.
42363 * math/auto-libm-test-out: Regenerated.
42364
42365 2014-01-02 Joseph Myers <joseph@codesourcery.com>
42366
42367 [BZ #16386]
42368 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
42369 numbers with subnormal high part when calculating exponent.
42370
42371 [BZ #16385]
42372 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
42373 fabs.
42374
42375 [BZ #16384]
42376 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
42377 M_LN2l.
42378 (__ieee754_acoshl): Use __log1pl not __log1p.
42379
42380 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
42381
42382 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
42383 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
42384 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
42385 (grow_heap, heap_trim, _int_new_arena, get_free_list)
42386 (reused_arena, arena_get2): Convert to GNU style.
42387 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
42388 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
42389 (memalign_check, __malloc_set_state): Likewise.
42390 * malloc/mallocbug.c (main): Likewise.
42391 * malloc/malloc.c (__malloc_assert, malloc_init_state)
42392 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
42393 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
42394 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
42395 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
42396 (__posix_memalign, malloc_info): Likewise.
42397 * malloc/malloc.h: Likewise.
42398 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
42399 (mallochook, memalignhook, reallochook, mabort): Likewise.
42400 * malloc/mcheck.h: Likewise.
42401 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
42402 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
42403 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
42404 * malloc/morecore.c (__default_morecore): Likewise.
42405 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
42406 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
42407 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
42408 (print_and_abort): Likewise.
42409 * malloc/obstack.h: Likewise.
42410 * malloc/set-freeres.c (__libc_freeres): Likewise.
42411 * malloc/tst-mallocstate.c (main): Likewise.
42412 * malloc/tst-mtrace.c (main): Likewise.
42413 * malloc/tst-realloc.c (do_test): Likewise.
42414
42415 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
42416
42417 [BZ #16366]
42418 * nscd/netgroupcache.c (do_notfound): New function.
42419 (addgetnetgrentX): Use it.
42420
42421 [BZ # 16365]
42422 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
42423 NSS_STATUS_NOTFOUND.
42424
42425 2014-01-01 Joseph Myers <joseph@codesourcery.com>
42426
42427 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
42428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42429
42430 2014-01-01 Allan McRae <allan@archlinux.org>
42431
42432 * scripts/update-copyrights: Update configure input file suffix.
42433
42434 * NEWS: Update copyright year.
42435 * catgets/gencat.c: Likewise.
42436 * csu/version.c: Likewise.
42437 * debug/catchsegv.sh: Likewise.
42438 * debug/pcprofiledump.c: Likewise.
42439 * debug/xtrace.sh: Likewise.
42440 * elf/ldconfig.c: Likewise.
42441 * elf/ldd.bash.in: Likewise.
42442 * elf/pldd.c: Likewise.
42443 * elf/sotruss.ksh: Likewise.
42444 * elf/sprof.c: Likewise.
42445 * iconv/iconv_prog.c: Likewise.
42446 * iconv/iconvconfig.c: Likewise.
42447 * locale/programs/locale.c: Likewise.
42448 * locale/programs/localedef.c: Likewise.
42449 * login/programs/pt_chown.c: Likewise.
42450 * malloc/memusage.sh: Likewise.
42451 * malloc/memusagestat.c: Likewise.
42452 * malloc/mtrace.pl: Likewise.
42453 * manual/libc.texinfo: Likewise.
42454 * nscd/nscd.c: Likewise.
42455 * nss/getent.c: Likewise.
42456 * nss/makedb.c: Likewise.
42457 * posix/getconf.c: Likewise.
42458 * scripts/test-installation.pl: Likewise.
42459
42460 * All files with FSF copyright notices: Update copyright dates
42461 using scripts/update-copyrights.
42462 * intl/plural.c: Regenerated.
42463 * locale/programs/charmap-kw.h: Likewise.
42464 * locale/programs/locfile-kw.h: Likewise.
42465
42466 2013-12-31 Mike Frysinger <vapier@gentoo.org>
42467
42468 * sysdeps/unix/sysv/linux/configure: Regenerated.
42469 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
42470 the linux/fanotify.h header.
42471 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
42472 HAVE_LINUX_FANOTIFY_H is defined.
42473
42474 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
42475
42476 * benchtests/cos-inputs: New inputs.
42477 * benchtests/sin-inputs: Likewise.
42478
42479 * benchtests/atan-inputs: New inputs. Fix name of multiple
42480 precision fallback inputs.
42481
42482 * benchtests/atanh-inputs: New inputs.
42483 * benchtests/tanh-inputs: Likewise.
42484
42485 * benchtests/acosh-inputs: New inputs.
42486 * benchtests/asinh-inputs: Likewise.
42487
42488 * benchtests/cosh-inputs: New inputs.
42489 * benchtests/sinh-inputs: Likewise.
42490
42491 * benchtests/acos-inputs: Add more inputs.
42492 * benchtests/asin-inputs: Likewise.
42493
42494 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
42495
42496 [BZ #16375]
42497 * manual/arith.texi: Fix spelling.
42498 * manual/charset.texi: Likewise.
42499 * manual/errno.texi: Likewise.
42500 * manual/filesys.texi: Likewise.
42501 * manual/lang.texi: Likewise.
42502 * manual/llio.texi: Likewise.
42503 * manual/locale.texi: Likewise.
42504 * manual/message.texi: Likewise.
42505 * manual/resource.texi: Likewise.
42506 * manual/search.texi: Likewise.
42507 * manual/setjmp.texi: Likewise.
42508 * manual/stdio.texi: Likewise.
42509 * manual/string.texi: Likewise.
42510 * manual/sysinfo.texi: Likewise.
42511 * manual/time.texi: Likewise.
42512
42513 2013-12-27 Carlos O'Donell <carlos@redhat.com>
42514
42515 * po/sl.po: New file.
42516
42517 2013-12-27 Mike Frysinger <vapier@gentoo.org>
42518
42519 * .gitignore: Add core/.gdbinit/.gdb_history.
42520
42521 2013-12-27 Allan McRae <allan@archlinux.org>
42522
42523 [BZ #16369]
42524 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
42525 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
42526
42527 2013-12-24 Brooks Moses <bmoses@google.com>
42528
42529 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
42530 all compilers that claim C++98 compliance, not just GCC.
42531 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
42532 Likewise.
42533
42534 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
42535
42536 * NEWS: Restore accidentally deleted bug-fix entries.
42537
42538 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
42539 Ondřej Bílka <neleai@seznam.cz>
42540
42541 [BZ #15073]
42542 * malloc/malloc.c (_int_free): Perform sanity check only if we
42543 have_lock.
42544
42545 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
42546
42547 [BZ #12986]
42548 * manual/stdio.texi (String Input Conversions): Clarify that character
42549 classes are not supported.
42550
42551 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42552
42553 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42554
42555 2013-12-22 Joseph Myers <joseph@codesourcery.com>
42556
42557 [BZ #16337]
42558 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
42559 Calculate results for small negative arguments directly rather
42560 than using reflection formula with special underflow handling.
42561
42562 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
42563 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
42564 sysdeps/unix/bsd/bsd4.4/syscalls.list.
42565 (fchflags): Likewise.
42566 (revoke): Likewise.
42567 (setlogin): Likewise.
42568 (sigaltstack): Likewise.
42569 (wait4): Likewise.
42570 (sigblock): Remove.
42571 (sigsetmask): Likewise.
42572 (wait3): Likewise.
42573 (waitpid): Likewise.
42574 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
42575 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
42576 file.
42577 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
42578 * sysdeps/unix/bsd/Makefile: ... here.
42579 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
42580 * sysdeps/unix/bsd/Versions: ... here.
42581 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
42582 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
42583 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
42584 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
42585 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
42586 * sysdeps/unix/bsd/sigblock.c: ... here.
42587 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
42588 * sysdeps/unix/bsd/sigsetmask.c: ... here.
42589 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
42590 * sysdeps/unix/bsd/sigvec.c: ... here.
42591 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
42592 * sysdeps/unix/bsd/tcdrain.c: ... here.
42593 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
42594 * sysdeps/unix/bsd/tcgetattr.c: ... here.
42595 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
42596 * sysdeps/unix/bsd/tcsetattr.c: ... here.
42597 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
42598 * sysdeps/unix/bsd/wait.c: ... here.
42599 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
42600 * sysdeps/unix/bsd/wait3.c: ... here.
42601 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
42602 * sysdeps/unix/bsd/waitpid.c: ... here.
42603
42604 2013-12-21 Joseph Myers <joseph@codesourcery.com>
42605
42606 [BZ #16356]
42607 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
42608 round-to-nearest for [!USE_AS_EXPM1L].
42609 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
42610 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
42611 more tests of exp and exp10. Expect some exp10 tests to miss
42612 exceptions or fail in directed rounding modes.
42613 * math/auto-libm-test-out: Regenerated.
42614 * math/libm-test.inc (exp10_tonearest_test_data): New array.
42615 (exp10_test_tonearest): New function.
42616 (exp10_towardzero_test_data): New array.
42617 (exp10_test_towardzero): New function.
42618 (exp10_downward_test_data): New array.
42619 (exp10_test_downward): New function.
42620 (exp10_upward_test_data): New array.
42621 (exp10_test_upward): New function.
42622 (main): Call the new functions.
42623 * sysdeps/i386/fpu/libm-test-ulps: Update.
42624 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42625
42626 2013-12-20 Joseph Myers <joseph@codesourcery.com>
42627
42628 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
42629 asinh, atan, atan2, atanh, cbrt, cos and cosh.
42630 * math/auto-libm-test-out: Regenerated.
42631 * math/libm-test.inc (acosh_test_data): Add more tests.
42632 (atanh_test_data): Likewise.
42633 (ceil_test_data): Likewise.
42634 (copysign_test_data): Likewise.
42635 * sysdeps/i386/fpu/libm-test-ulps: Update.
42636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42637
42638 * timezone/checktab.awk: Update from tzcode 2013i.
42639 * timezone/private.h: Likewise.
42640 * timezone/scheck.c: Likewise.
42641 * timezone/tzfile.h: Likewise.
42642 * timezone/tzselect.ksh: Likewise.
42643 * timezone/zdump.c: Likewise.
42644 * timezone/zic.c: Likewise.
42645
42646 * math/auto-libm-test-in: Add tests of cpow.
42647 * math/auto-libm-test-out: Regenerated.
42648 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
42649 * math/gen-auto-libm-tests.c (func_calc_method): Add value
42650 mpc_cc_c.
42651 (func_calc_desc): Add mpc_cc_c union field.
42652 (test_functions): Add cpow.
42653 (special_fill_2pi): New function.
42654 (special_real_inputs): Add 2pi.
42655 (calc_generic_results): Handle mpc_cc_c.
42656 * sysdeps/i386/fpu/libm-test-ulps: Update.
42657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42658
42659 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
42660 csqrt, ctan and ctanh.
42661 * math/auto-libm-test-out: Regenerated.
42662 * math/libm-test.inc (TEST_COND_x86_64): New macro.
42663 (TEST_COND_x86): Likewise.
42664 (ccos_test_data): Use AUTO_TESTS_c_c.
42665 (ccosh_test_data): Likewise.
42666 (cexp_test_data): Likewise.
42667 (clog_test_data): Likewise.
42668 (csqrt_test_data): Likewise.
42669 (ctan_test_data): Likewise.
42670 (ctan_tonearest_test_data): Likewise.
42671 (ctan_towardzero_test_data): Likewise.
42672 (ctan_downward_test_data): Likewise.
42673 (ctan_upward_test_data): Likewise.
42674 (ctanh_test_data): Likewise.
42675 (ctanh_tonearest_test_data): Likewise.
42676 (ctanh_towardzero_test_data): Likewise.
42677 (ctanh_downward_test_data): Likewise.
42678 (ctanh_upward_test_data): Likewise.
42679 * math/gen-auto-libm-tests.c (func_calc_method): Add value
42680 mpc_c_c.
42681 (func_calc_desc): Add mpc_c_c union field.
42682 (FUNC_mpc_c_c): New macro.
42683 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
42684 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
42685 ctanh.
42686 (special_fill_min_subnorm_p120): New function.
42687 (special_real_inputs): Add min_subnorm_p120.
42688 (calc_generic_results): Handle mpc_c_c.
42689 * sysdeps/i386/fpu/libm-test-ulps: Update.
42690 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42691
42692 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
42693
42694 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
42695 (do_sin_slow): New functions.
42696 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
42697 (cslow2, csloww1, csloww2): Use the new functions.
42698
42699 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
42700 Use M to change sign of result instead of X. Assume X is
42701 positive.
42702 (csloww1): Likewise.
42703 (__sin): Adjust.
42704 (__cos): Adjust.
42705
42706 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
42707 arguments A and DA.
42708 (__sin): Adjust.
42709 (__cos): Likewise.
42710
42711 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
42712 (__cos): Likewise.
42713 (sloww1): Don't adjust sign of DX.
42714 (csloww1): Likewise.
42715 (sloww2): Use X directly and don't adjust sign of DX.
42716 (csloww2): Likewise.
42717
42718 2013-12-19 Joseph Myers <joseph@codesourcery.com>
42719
42720 * math/auto-libm-test-in: Add tests of cabs and carg.
42721 * math/auto-libm-test-out: Regenerated.
42722 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
42723 (carg_test_data): Likewise.
42724 * math/gen-auto-libm-tests.c (func_calc_method): Add value
42725 mpc_c_f.
42726 (func_calc_desc): Add mpc_c_f union field.
42727 (test_functions): Add cabs and carg.
42728 (calc_generic_results): Handle mpc_c_f.
42729
42730 * sysdeps/powerpc/powerpc32/libgcc-compat.S
42731 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
42732 as a macro and a compat symbol.
42733 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
42734 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
42735 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
42736 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
42737 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
42738 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
42739 not use .hidden.
42740 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
42741 Likewise.
42742 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
42743 Likewise.
42744 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
42745 Likewise.
42746 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
42747 Likewise.
42748 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
42749 Likewise.
42750 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
42751 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
42752 from GLIBC_2.3.2.
42753
42754 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42755
42756 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42757
42758 2013-12-19 Joseph Myers <joseph@codesourcery.com>
42759
42760 * manual/texinfo.tex: Update to version 2013-11-26.10 with
42761 trailing whitespace removed.
42762 * scripts/config.guess: Update to version 2013-11-29.
42763 * scripts/config.sub: Update to version 2013-10-01.
42764
42765 * math/auto-libm-test-in: Add tests of sincos.
42766 * math/auto-libm-test-out: Regenerated.
42767 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
42768 * math/gen-auto-libm-tests.c (func_calc_method): Add value
42769 mpfr_f_11.
42770 (func_calc_desc): Add mpfr_f_11 union field.
42771 (test_functions): Add sincos.
42772 (calc_generic_results): Handle mpfr_f_11.
42773 * sysdeps/i386/fpu/libm-test-ulps: Update.
42774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42775
42776 2013-12-19 Andreas Schwab <schwab@suse.de>
42777
42778 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
42779 CALL_MCOUNT.
42780 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
42781 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
42782 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
42783
42784 2013-12-19 Joseph Myers <joseph@codesourcery.com>
42785
42786 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
42787 * sysdeps/i386/fpu/libm-test-ulps: Update.
42788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42789
42790 [BZ #16293]
42791 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
42792 round-to-nearest mode when using frndint.
42793 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
42794 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
42795 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
42796 Likewise.
42797 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
42798 sinh test to fail.
42799 * math/auto-libm-test-out: Regenerated.
42800 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
42801 (TEST_COND_x86): Likewise.
42802 (expm1_tonearest_test_data): New array.
42803 (expm1_test_tonearest): New function.
42804 (expm1_towardzero_test_data): New array.
42805 (expm1_test_towardzero): New function.
42806 (expm1_downward_test_data): New array.
42807 (expm1_test_downward): New function.
42808 (expm1_upward_test_data): New array.
42809 (expm1_test_upward): New function.
42810 (main): Run the new test functions.
42811 * sysdeps/i386/fpu/libm-test-ulps: Update.
42812 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42813
42814 * include/features.h: Update comment documenting feature test
42815 macros. Mention _DEFAULT_SOURCE in comment.
42816 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
42817 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
42818 _BSD_SOURCE and _SVID_SOURCE.
42819 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
42820 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
42821 !_SVID_SOURCE]: Likewise.
42822 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
42823 (__USE_POSIX_IMPLICITLY): Define.
42824 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
42825 (_POSIX_SOURCE): Undefine and redefine.
42826 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
42827 (_POSIX_C_SOURCE): Likewise.
42828 * manual/creature.texi (_DEFAULT_SOURCE): Document.
42829 (Feature Test Macros): Update documentation of default features.
42830
42831 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
42832
42833 * benchtests/Makefile: Add bench-strtok.
42834 * benchtests/bench-strtok.c: New file: strtok benchtest.
42835
42836 2013-12-19 Allan McRae <allan@archlinux.org>
42837
42838 * manual/install.texi: Suppress menu for plain text output.
42839 * INSTALL: Regenerated.
42840
42841 2013-12-18 Brooks Moses <bmoses@google.com>
42842
42843 [BZ #15846]
42844 * misc/getauxval.c: Include errno.h.
42845 (__getauxval): Set errno to ENOENT if the requested type is not
42846 found.
42847 * misc/sys/auxv.h (getauxval): Document that it may set errno;
42848 don't declare with __attribute_const__.
42849 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
42850 * manual/startup.texi: Document that getauxval sets errno.
42851
42852 2013-12-18 Joseph Myers <joseph@codesourcery.com>
42853
42854 * math/auto-libm-test-in: Add tests of jn and yn.
42855 * math/auto-libm-test-out: Regenerated.
42856 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
42857 (yn_test_data): Likewise.
42858 * math/gen-auto-libm-tests.c (func_calc_method): Add value
42859 mpfr_if_f.
42860 (func_calc_desc): Add mpfr_if_f union field.
42861 (FUNC_mpfr_if_f): New macro.
42862 (test_functions): Add jn and yn.
42863 (calc_generic_results): Assert type of second input for
42864 mpfr_ff_f. Handle mpfr_if_f.
42865 (output_for_one_input_case): Disable all checking for arguments
42866 fitting floating-point types in case of an integer argument.
42867 * sysdeps/i386/fpu/libm-test-ulps: Update.
42868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42869
42870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
42871 Don't expect fegetround reference in libm.so.
42872
42873 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
42874
42875 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
42876 $(config-cflags-nofma).
42877
42878 2013-12-18 Joseph Myers <joseph@codesourcery.com>
42879
42880 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
42881 * math/auto-libm-test-out: Regenerated.
42882
42883 [BZ #16338]
42884 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
42885 to determine exponent and adjust argument to have exponent of -1.
42886 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
42887 log2.
42888 * math/auto-libm-test-out: Regenerated.
42889 * sysdeps/i386/fpu/libm-test-ulps: Update.
42890 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42891
42892 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
42893
42894 * manual/probes.texi: Remove cases when per-thread arenas are
42895 disabled.
42896
42897 2013-12-18 Andreas Schwab <schwab@suse.de>
42898
42899 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
42900 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
42901 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
42902 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
42903 * sysdeps/i386/i686/multiarch/Makefile: Update.
42904 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
42905
42906 2013-12-17 Joseph Myers <joseph@codesourcery.com>
42907
42908 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
42909 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
42910
42911 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
42912
42913 [BZ #15968]
42914 Support TZ transition times < 00:00:00.
42915 This is needed for version-3 tz-format files; it supports time
42916 stamps past 2037 for America/Godthab (the only entry in the tz
42917 database for which this change is relevant).
42918 * manual/time.texi (TZ Variable): Document transition times
42919 from -167:59:59 through -00:00:01.
42920 * time/tzset.c (tz_rule): Time of day is now signed.
42921 (__tzset_parse_tz): Parse negative time of day.
42922
42923 Document TZ transition times >= 25:00:00.
42924 * manual/time.texi (TZ Variable): Document transition times from
42925 25:00:00 through 167:59:59. These are already supported, and this
42926 support will help with version-3 tz-format files.
42927
42928 * manual/time.texi (TZ Variable): Modernize North America example
42929 to reflect current (i.e., 2007-and-later) daylight saving rules.
42930
42931 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
42932
42933 2013-12-17 Joseph Myers <joseph@codesourcery.com>
42934
42935 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
42936 * sysdeps/unix/bsd/bits/stat.h: Likewise.
42937 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
42938 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
42939 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
42940 * sysdeps/unix/bsd/bsdstat.h: Likewise.
42941 * sysdeps/unix/bsd/clock.c: Likewise.
42942 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
42943 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
42944 * sysdeps/unix/bsd/init-posix.c: Likewise.
42945 * sysdeps/unix/bsd/poll.c: Likewise.
42946 * sysdeps/unix/bsd/ptsname.c: Likewise.
42947 * sysdeps/unix/bsd/seekdir.c: Likewise.
42948 * sysdeps/unix/bsd/setegid.c: Likewise.
42949 * sysdeps/unix/bsd/seteuid.c: Likewise.
42950 * sysdeps/unix/bsd/setgid.c: Likewise.
42951 * sysdeps/unix/bsd/setrgid.c: Likewise.
42952 * sysdeps/unix/bsd/setruid.c: Likewise.
42953 * sysdeps/unix/bsd/setsid.c: Likewise.
42954 * sysdeps/unix/bsd/setuid.c: Likewise.
42955 * sysdeps/unix/bsd/sigaction.c: Likewise.
42956 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
42957 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
42958 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
42959 * sysdeps/unix/bsd/telldir.c: Likewise.
42960 * sysdeps/unix/bsd/times.c: Likewise.
42961 * sysdeps/unix/bsd/usleep.c: Likewise.
42962
42963 * misc/Makefile (install-lib): Remove libbsd-compat.a.
42964 ($(objpfx)libbsd-compat.a): Remove rule.
42965
42966 * include/features.h (__FAVOR_BSD): Do not define.
42967 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
42968 features conflicting with POSIX.
42969 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
42970 (_BSD_SOURCE): Remove description of not being a subset of other
42971 feature test macros.
42972 * manual/job.texi (getpgrp): Do not document BSD version.
42973 (getpgid): Do not document by reference to BSD getpgrp.
42974 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
42975 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
42976 * signal/signal.h [__FAVOR_BSD]: Likewise.
42977 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
42978 instead of making contents conditional on [__FAVOR_BSD].
42979 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
42980
42981 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42982
42983 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42984
42985 2013-12-17 Joseph Myers <joseph@codesourcery.com>
42986
42987 [BZ #16314]
42988 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
42989 values below 2**-450, not 2**-500.
42990 * math/auto-libm-test-in: Don't allow spurious underflow from
42991 hypot.
42992 * math/auto-libm-test-out: Regenerated.
42993
42994 [BZ #16316]
42995 [BZ #16330]
42996 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
42997 values of ha and hb and sort them after adjusting subnormal
42998 arguments.
42999 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
43000 Likewise.
43001 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
43002 values of ea and eb and sort them after adjusting subnormal
43003 arguments.
43004 * math/auto-libm-test-in: Do not expect some hypot tests of
43005 subnormals to fail. Add more hypot tests.
43006 * math/auto-libm-test-out: Regenerated.
43007
43008 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
43009
43010 [BZ #13304]
43011 * sysdeps/sh/s_fma.c: New file.
43012 * sysdeps/sh/s_fmaf.c: New file.
43013 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
43014 version.
43015 * sysdeps/sh/Implies: Add sh/soft-fp.
43016
43017 2013-12-16 Roland McGrath <roland@hack.frob.com>
43018
43019 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
43020 level of indirection to members `objname', `errstring', `malloced'.
43021 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
43022 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
43023 it as the __longjmp argument (just pass 1 instead).
43024 (_dl_catch_error): Initialize C with argument pointers and address of
43025 volatile local ERRCODE rather than copying values out of C at return.
43026
43027 2013-12-16 Joseph Myers <joseph@codesourcery.com>
43028
43029 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
43030 * math/auto-libm-test-out: Regenerated.
43031 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
43032 (hypot_test_data): Likewise.
43033 (pow_test_data): Likewise.
43034 (pow_tonearest_test_data): Likewise.
43035 * math/gen-auto-libm-tests.c (func_calc_method): Add value
43036 mpfr_ff_f.
43037 (func_calc_desc): Add mpfr_ff_f union field.
43038 (FUNC_mpfr_ff_f): New macro.
43039 (test_functions): Add atan2, hypot and pow.
43040 (special_fill_min): New function.
43041 (special_fill_minus_min): Likewise.
43042 (special_fill_min_subnorm): Likewise.
43043 (special_fill_minus_min_subnorm): Likewise.
43044 (special_real_inputs): Add min, -min, min_subnorm and
43045 -min_subnorm.
43046 (calc_generic_results): Handle mpfr_ff_f.
43047 * sysdeps/i386/fpu/libm-test-ulps: Update.
43048 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43049
43050 2013-12-16 Will Newton <will.newton@linaro.org>
43051
43052 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
43053 (Aligned Memory Blocks): Add documentation for aligned_alloc
43054 and suggest it as an alternative to posix_memalign.
43055 (Hooks for Malloc): Document __memalign_hook is also called
43056 for aligned_alloc. (Summary of Malloc): Add summary for
43057 aligned alloc. Document __memalign_hook is also called
43058 for aligned_alloc.
43059
43060 2013-12-16 Will Newton <will.newton@linaro.org>
43061
43062 * manual/memory.texi (Malloc Examples): Clarify default
43063 alignment documentation. Suggest posix_memalign rather
43064 than memalign or valloc.
43065 (Aligned Memory Blocks): Remove suggestion to use memalign
43066 or valloc. Remove obsolete comment about BSD.
43067 Document memalign errno values and mark the function obsolete.
43068 Document posix_memalign returned error codes. Mark valloc
43069 as obsolete. (Hooks for Malloc): __memalign_hook is also
43070 called for posix_memalign and valloc.
43071 (Summary of Malloc): Add posix_memalign to function summary.
43072 __memalign_hook is also called for posix_memalign and valloc.
43073
43074 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
43075
43076 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
43077 TAYLOR_SIN.
43078 (__sin): Adjust.
43079 (__cos): Likewise.
43080 (sloww): Use mynumber union. Expand ternary operator into
43081 if-else statements.
43082 (cslow): use mynumber union.
43083
43084 2013-12-16 Allan McRae <allan@archlinux.org>
43085
43086 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
43087 * configure: Regenerated.
43088
43089 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
43090
43091 [BZ #14120]
43092 * configure.ac: Added --enable-maintainer-mode. Check for
43093 autoconf when enabled.
43094 * configure: Regenerated.
43095
43096 * nscd/nscd.service: New file.
43097 * nscd/nscd.tmpfiles: New file.
43098
43099 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
43100
43101 [BZ #12100]
43102 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
43103 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
43104 * sysdeps/x86_64/multiarch/strstr.c: ... here.
43105 (strstr): Add __strstr_sse2_unaligned ifunc.
43106 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
43107 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
43108 (strcasestr): Remove __strcasestr_sse42 ifunc.
43109 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
43110 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
43111 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
43112
43113 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
43114
43115 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
43116 * sysdeps/sh/bits/fenv.h: ... here.
43117 * sysdeps/sh/sh4/fpu/bits: Remove directory.
43118
43119 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43120
43121 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
43122
43123 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
43124 hypotf multiarch implementations.
43125 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
43126 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
43127 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
43128 multiarch hypot for PPC64.
43129 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
43130 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
43131 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
43132 multiarch hypotf for PPC64.
43133
43134 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
43135 modff multiarch implementations.
43136 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
43137 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
43138 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
43139 multiarch modf for PPC64.
43140 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
43141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
43142 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
43143 multiarch modff for PPC64.
43144
43145 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
43146 and logl multiarch implementations.
43147 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
43148 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
43149 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
43150 multiarch logb for PPC64.
43151 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
43152 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
43153 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
43154 multiarch logb for PPC64.
43155 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
43156 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
43157 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
43158 multiarch logb for PPC64.
43159
43160 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
43161 isinff multiarch implementation.
43162 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
43163 file.
43164 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
43165 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
43166 multiarch isinf for PPC64.
43167 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
43168 file.
43169 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
43170 multiarch isinff for PPC64.
43171
43172 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
43173 finitef multiarch implementation.
43174 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
43175 file.
43176 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
43177 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
43178 multiarch finite for PPC64.
43179 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
43180 file.
43181 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
43182 multiarch finitef for PPC64.
43183
43184 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
43185 lrint multiarch implementation.
43186 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
43187 file.
43188 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
43189 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
43190 multiarch llrint for PPC64.
43191 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
43192 multiarch lrint for PPC64.
43193
43194 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
43195 copysignf multiarch implementation.
43196 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
43197 file.
43198 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
43199 file.
43200 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
43201 multiarch copysign for PPC64.
43202 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
43203 multiarch copysignf for PPC64.
43204
43205 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
43206 multiarch implementation.
43207 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
43208 file.
43209 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
43210 file.
43211 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
43212 file.
43213 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
43214 file.
43215 multiarch llround for PPC64.
43216 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
43217 multiarch trunc for PPC64.
43218 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
43219 multiarch truncf for PPC64.
43220
43221 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
43222 multiarch implementation.
43223 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
43224 file.
43225 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
43226 file.
43227 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
43228 file.
43229 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
43230 file.
43231 multiarch llround for PPC64.
43232 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
43233 multiarch round for PPC64.
43234 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
43235 multiarch roundf for PPC64.
43236
43237 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
43238 multiarch implementation.
43239 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
43240 file.
43241 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
43242 file.
43243 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
43244 file.
43245 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
43246 file.
43247 multiarch llround for PPC64.
43248 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
43249 multiarch floor for PPC64.
43250 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
43251 multiarch floorf for PPC64.
43252
43253 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
43254 multiarch implementation.
43255 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
43256 file.
43257 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
43258 file.
43259 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
43260 file.
43261 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
43262 file.
43263 multiarch llround for PPC64.
43264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
43265 multiarch ceil for PPC64.
43266 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
43267 multiarch ceilf for PPC64.
43268
43269 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
43270 multiarch implementation.
43271 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
43272 file.
43273 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
43274 file.
43275 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
43276 file.
43277 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
43278 multiarch llround for PPC64.
43279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
43280 multiarch lround for PPC64.
43281
43282 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
43283 multiarch implementation.
43284 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
43285 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
43286 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
43287 file.
43288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
43289 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
43290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
43291 multiarch isnan for PPC64.
43292 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
43293 multiarch isnanf for PPC64.
43294
43295 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
43296 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
43297 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
43298 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
43299 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
43300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
43301
43302 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
43303 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
43304 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43305 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
43306
43307 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
43308 multiarch implementations.
43309 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43310 (__libc_ifunc_impl_list): Likewise.
43311 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
43312 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
43313 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
43314 multiarch stpcpy for PPC64.
43315
43316 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
43317 multiarch implementations.
43318 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43319 (__libc_ifunc_impl_list): Likewise.
43320 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
43321 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
43322 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
43323 multiarch strcpy for PPC64.
43324
43325 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
43326 redefine function name.
43327 (_wordcopy_fwd_dest_aligned): Likewise.
43328 (_wordcopy_bwd_aligned): Likewise.
43329 (_wordcopy_bwd_dest_aligned): Likewise.
43330 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
43331 multiarch implementations.
43332 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43333 (__libc_ifunc_impl_list): Likewise.
43334 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
43335 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
43336 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
43337 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
43338 multiarch wcscpy for PPC64.
43339
43340 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
43341 multiarch implementations.
43342 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43343 (__libc_ifunc_impl_list): Likewise.
43344 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
43345 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
43346 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
43347 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
43348 multiarch wcscpy for PPC64.
43349
43350 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
43351 multiarch implementations.
43352 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43353 (__libc_ifunc_impl_list): Likewise.
43354 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
43355 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
43356 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
43357 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
43358 multiarch wcsrchr for PPC64.
43359
43360 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
43361 multiarch implementations.
43362 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43363 (__libc_ifunc_impl_list): Likewise.
43364 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
43365 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
43366 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
43367 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
43368 multiarch wcschr for PPC64.
43369
43370 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
43371 multiarch implementations.
43372 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43373 (__libc_ifunc_impl_list): Likewise.
43374 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
43375 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
43376 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
43377 multiarch strchrnul for PPC64.
43378
43379 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
43380 implementations.
43381 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43382 (__libc_ifunc_impl_list): Likewise.
43383 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
43384 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
43385 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
43386 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
43387 strchr for PPC64.
43388
43389 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
43390 implementations.
43391 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43392 (__libc_ifunc_impl_list): Likewise.
43393 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
43394 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
43395 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
43396 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
43397 strncmp for PPC64.
43398
43399 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
43400 multiarch implementations.
43401 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43402 (__libc_ifunc_impl_list): Likewise.
43403 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
43404 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
43405 strncasecmp for PPC64.
43406 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
43407 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
43408 multiarch strncasecmp_l for PPC64.
43409
43410 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
43411 multiarch implementations.
43412 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
43413 (__libc_ifunc_impl_list): Likewise.
43414 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
43415 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
43416 multiarch strcasecmp for PPC64.
43417 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
43418 file.
43419 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
43420 multiarch strcasecmp_l for PPC64.
43421
43422 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
43423 implementations.
43424 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43425 (__libc_ifunc_impl_list): Likewise.
43426 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
43427 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
43428 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
43429 strnlen for PPC64.
43430
43431 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
43432 implementations.
43433 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43434 (__libc_ifunc_impl_list): Likewise.
43435 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
43436 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
43437 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
43438 strlen for PPC64.
43439
43440 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
43441 implementations.
43442 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43443 (__libc_ifunc_impl_list): Likewise.
43444 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
43445 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
43446 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
43447 rawmemrchr for PPC64.
43448
43449 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
43450 implementation.
43451 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43452 (__libc_ifunc_impl_list): Likewise.
43453 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
43454 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
43455 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
43456 memrchr for PPC64.
43457
43458 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
43459 implementation.
43460 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43461 (__libc_ifunc_impl_list): Likewise.
43462 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
43463 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
43464 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
43465 memchr for PPC64.
43466
43467 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
43468 implementation.
43469 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43470 (__libc_ifunc_impl_list): Likewise.
43471 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
43472 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
43473 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
43474 mempcpy for PPC64.
43475
43476 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
43477 avoid cretion of __bzero symbol.
43478 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
43479 Likewise.
43480 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
43481 Likewise.
43482 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
43483 Likewise.
43484 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
43485 multiarch implementations.
43486 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43487 (__libc_ifunc_impl_list): Likewise.
43488 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
43489 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
43490 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
43491 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
43492 bzero for PPC32.
43493 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
43494 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
43495 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
43496 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
43497 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
43498 memset for PPC64.
43499 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
43500
43501 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
43502 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
43503 implementations.
43504 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43505 (__libc_ifunc_impl_list): Likewise.
43506 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
43507 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
43508 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
43509 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
43510 memcmp for PPC64.
43511
43512 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
43513 multiarch for POWER/PPC64.
43514 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
43515 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
43516 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
43517 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
43518 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
43519 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
43520 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
43521 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
43522 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
43523 memcpy for PPC64.
43524
43525 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
43526 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
43527 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
43528 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
43529 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
43530 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
43531 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
43532 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
43533 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
43534 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
43535 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
43536 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
43537 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
43538 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
43539 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
43540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
43541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
43542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
43543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
43544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
43545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
43546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
43547
43548 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
43549
43550 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
43551
43552 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
43553
43554 * benchtests/Makefile (bench): Add exp2 and log2.
43555 (LDLIBS-bench-exp2): Add -lm.
43556 (LDLIBS-bench-log2): Likewise.
43557 * benchtests/exp2-inputs: New inputs file.
43558 * benchtests/log2-inputs: New inputs file.
43559 * benchtests/log-inputs: Add new inputs.
43560 * benchtests/tan-inputs: Likewise.
43561
43562 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
43563
43564 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
43565 definition...
43566 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
43567 (csloww2): ... from here.
43568
43569 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
43570 instead of structures.
43571 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
43572 (POLYNOMIAL): Likewise.
43573 (TAYLOR_SLOW): Likewise.
43574 (__sin): Likewise.
43575 (__cos): Likewise.
43576 (slow1): Likewise.
43577 (slow2): Likewise.
43578 (sloww): Likewise.
43579 (sloww1); Likewise.
43580 (sloww2): Likewise.
43581 (bsloww1): Likewise.
43582 (bsloww2): Likewise.
43583 (cslow2): Likewise.
43584 (csloww): Likewise.
43585 (csloww1): Likewise.
43586 (csloww2): Likewise.
43587
43588 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
43589
43590 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
43591 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
43592 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
43593 * malloc/hooks.c (realloc_check): Likewise.
43594
43595 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
43596 * malloc/arena.c: Remove PER_THREAD conditional.
43597 [!PER_THREAD]: Remove code.
43598 (ptmalloc_unlock_all2): Likewise.
43599 (ptmalloc_init): Likewise.
43600 (_int_new_arena): Likewise.
43601 (arena_get2): Likewise.
43602 * malloc/hooks.c (__malloc_get_state): Likewise.
43603 (__malloc_set_state): Likewise.
43604 * malloc/malloc.c: Likewise.
43605 (struct malloc_state): Likewise.
43606 (struct malloc_par): Likewise.
43607 (__libc_realloc): Likewise.
43608 (__libc_mallopt): Likewise.
43609
43610 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43611
43612 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
43613
43614 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
43615
43616 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
43617 macro to a function. Check for zero perturb_byte.
43618 (_int_malloc, _int_free): Remove zero perturb_byte checks.
43619
43620 * malloc/malloc.c: (force_reg): Remove.
43621 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
43622 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
43623 force_reg by atomic_forced_read.
43624 * malloc/arena.c (ptmalloc_init): Likewise.
43625 * malloc/hooks.c (top_check): Likewise.
43626
43627 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43628
43629 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43630
43631 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
43632
43633 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43634
43635 2013-12-08 Joseph Myers <joseph@codesourcery.com>
43636
43637 * math/auto-libm-test-in: Add tests of lgamma.
43638 * math/auto-libm-test-out: Regenerated.
43639 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
43640 (M_LOG_2_SQRT_PIl): Likewise.
43641 (lgamma_test_data): Use AUTO_TESTS_f_f1.
43642 * math/gen-auto-libm-tests.c (func_calc_method): Add value
43643 mpfr_f_f1.
43644 (func_calc_desc): Add mpfr_f_f1 union field.
43645 (ARGS1): New macro.
43646 (ARGS2): Likewise.
43647 (ARGS3): Likewise.
43648 (ARGS4): Likewise.
43649 (RET1): Likewise.
43650 (RET2): Likewise.
43651 (CALC): Likewise.
43652 (FUNC): Likewise.
43653 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
43654 (test_functions): Add lgamma.
43655 (calc_generic_results): Handle mpfr_f_f1.
43656 * sysdeps/i386/fpu/libm-test-ulps: Update.
43657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43658
43659 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43660
43661 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
43662 __mpn_add_n for PowerPC64/POWER7.
43663 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
43664 __mpn_sub_n for PowerPC64/POWER7.
43665
43666 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
43667 __mpn_addmul_1 for PowerPC64.
43668 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
43669 __mpn_submul_1 for PowerPC64.
43670 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
43671 for PowerPC64.
43672 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
43673 for PowerPC64.
43674
43675 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
43676
43677 [BZ #15089]
43678 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
43679
43680 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43681
43682 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
43683
43684 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
43685 add multiarch folders.
43686 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
43687 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
43688 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
43689 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
43690 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
43691 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
43692 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
43693 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
43694 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
43695 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
43696 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
43697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
43698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
43699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
43700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
43701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
43702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
43703
43704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
43705 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
43706 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
43707 New file.
43708 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
43709 New file.
43710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
43711 multiarch __ieee754_hypot for PowerPC32.
43712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
43713 New file.
43714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
43715 New file.
43716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
43717 multiarch __ieee754_hypotf for PowerPC32.
43718
43719 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
43720 long_double_symbol only if __logbl is defined.
43721 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
43722 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
43723 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
43724 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
43725 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
43726 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
43727 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
43728 path for implementation.
43729 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
43730 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
43731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
43732 logb, and logbl multiarch implementations for PowerPC32.
43733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
43734 file.
43735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
43736 file.
43737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
43738 multiarch logb for PowerPC32.
43739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
43740 file.
43741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
43742 file.
43743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
43744 multiarch logbf for PowerPC32.
43745 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
43746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
43747 file.
43748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
43749 multiarch logbl implementation for PowerPC32.
43750
43751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
43752 and modff multiarch implementations.
43753 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
43754 New file.
43755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
43756 New file.
43757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
43758 multiarch modf for PowerPC32.
43759 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
43760 New file.
43761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
43762 New file.
43763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
43764 multiarch modff for PowerPC32.
43765
43766 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
43767 and lrintf multiarch implementations.
43768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
43769 New file.
43770 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
43771 New file.
43772 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
43773 multiarch lrint for PowerPC32.
43774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
43775 file: multiarch lrintf for PowerPC32.
43776
43777 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
43778 and lroundf multiarch implementations.
43779 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
43780 New file.
43781 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
43782 New file.
43783 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
43784 New file.
43785 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
43786 multiarch lround for PowerPC32.
43787 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
43788 file: multiarch lroundf for PowerPC32.
43789
43790 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
43791 copysign and copysignf multiarch implementations.
43792 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
43793 New file.
43794 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
43795 New file.
43796 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
43797 file: multiarch copysign for PowerPC32.
43798 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
43799 file: multiarch copysignf for PowerPC32.
43800
43801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
43802 and truncf multiarch implementations.
43803 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
43804 New file.
43805 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
43806 file.
43807 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
43808 multiarch trunc for PowerPC32.
43809 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
43810 New file.
43811 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
43812 New file.
43813 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
43814 multiarch truncf for PowerPC32.
43815
43816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
43817 and roundf multiarch implementations.
43818 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
43819 New file.
43820 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
43821 file.
43822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
43823 multiarch round for PowerPC32.
43824 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
43825 New file.
43826 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
43827 New file.
43828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
43829 multiarch roundf for PowerPC32.
43830
43831 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
43832 and floorf multiarch implementations.
43833 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
43834 New file.
43835 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
43836 file.
43837 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
43838 multiarch floor for PowerPC32.
43839 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
43840 New file.
43841 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
43842 New file.
43843 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
43844 multiarch floorf for PowerPC32.
43845
43846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
43847 and ceilf multiarch implementations.
43848 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
43849 New file.
43850 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
43851 file.
43852 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
43853 multiarch ceil for PowerPC32.
43854 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
43855 New file.
43856 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
43857 file.
43858 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
43859 multiarch ceilf for PowerPC32.
43860
43861 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
43862 is defined.
43863 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
43864 FINITEF is defined.
43865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
43866 and finitef multiarch implementations.
43867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
43868 New file.
43869 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
43870 file.
43871 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
43872 multiarch finite for PowerPC32.
43873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
43874 New file.
43875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
43876 file: multiarch finitef for PowerPC32.
43877
43878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
43879 and isinff multiarch implementations.
43880 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
43881 file.
43882 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
43883 file.
43884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
43885 multiarch isinf for PowerPC32.
43886 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
43887 New file.
43888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
43889 multiarch isinff for PowerPC32.
43890
43891 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
43892 alias when __isnan is defined.
43893 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
43894 and isnanf multiarch implementations.
43895 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
43896 file.
43897 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
43898 file.
43899 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
43900 file.
43901 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
43902 file.
43903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
43904 multiarch isnan for PowerPC32.
43905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
43906 New file.
43907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
43908 New file.
43909 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
43910 multiarch isnanf for PowerPC32.
43911
43912 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
43913 and sqrtf multiarch implementations.
43914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
43915 file.
43916 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
43917 file.
43918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
43919 multiarch sqrt for PowerPC32.
43920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
43921 file.
43922 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
43923 file.
43924 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
43925 multiarch sqrtf for PowerPC32.
43926
43927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
43928 and llroundf multiarch implementations.
43929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
43930 New file.
43931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
43932 New file.
43933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
43934 New file.
43935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
43936 file: multiarch llround for PowerPC32.
43937 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
43938 file: multiarch llroundf for PowerPC32.
43939
43940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
43941 multiarch PowerPC32 fpu implementations.
43942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
43943 New file.
43944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
43945 New file.
43946 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
43947 multiarch llrint for PowerPC32.
43948 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
43949 New file.
43950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
43951 New file.
43952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
43953 file.
43954
43955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
43956
43957 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
43958 file.
43959 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
43960 file.
43961 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
43962 file.
43963 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
43964 multiarch wordcopy for PPC32.
43965 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
43966 wordcopy objects.
43967 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43968 (__libc_ifunc_impl_list): Likewise.
43969 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
43970 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
43971 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
43972 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
43973 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
43974 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
43975
43976 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
43977 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
43978 file.
43979 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
43980 file.
43981 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
43982 file.
43983 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
43984 multiarch wcscpy for PPC32.
43985 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
43986 multiarch objects.
43987 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43988 (__libc_ifunc_impl_list): Likewise.
43989 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
43990 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
43991 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
43992 sysdeps/powerpc/power6/wcscpy.c.
43993
43994 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
43995 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
43996 file.
43997 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
43998 file.
43999 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
44000 file.
44001 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
44002 multiarch wcsrchr for PPC32.
44003 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
44004 multiarch objects.
44005 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44006 (__libc_ifunc_impl_list): Likewise.
44007 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
44008 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
44009 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
44010 sysdeps/powerpc/power6/wcsrchr.c.
44011
44012 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
44013 file.
44014 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
44015 file.
44016 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
44017 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
44018 multiarch wcschr for PPc32.
44019 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
44020 multiarch objects.
44021 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44022 (__libc_ifunc_impl_list): Likewise.
44023 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
44024 * sysdeps/powerpc/power6/wcschr.c: ... to here.
44025 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
44026 sysdeps/powerpc/power6/wcschr.c.
44027
44028 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
44029 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
44030 file.
44031 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
44032 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
44033 file: multiarch strchr for PPC32.
44034 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
44035 multiarch objects.
44036 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44037 (__libc_ifunc_impl_list): Likewise.
44038
44039 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
44040 name.
44041 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
44042 file.
44043 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
44044 file.
44045 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
44046 multiarch strchrnul for PPC32.
44047 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
44048 multiarch objects.
44049 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44050 (__libc_ifunc_impl_list): Likewise.
44051
44052 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
44053 file.
44054 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
44055 multiarch strncasecmp for PPC32.
44056 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
44057 file.
44058 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
44059 multiarch strncasecmp_l for PPC32.
44060 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
44061 strncasecmp multiarch objects.
44062 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44063 (__libc_ifunc_impl_list): Likewise.
44064
44065 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
44066 file.
44067 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
44068 multiarch strncasecmp for PPC32.
44069 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
44070 New file.
44071 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
44072 multiarch strcasecmp_l for PPC32.
44073 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
44074 multiarch objects.
44075 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44076 (__libc_ifunc_impl_list): Likewise.
44077
44078 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
44079 file.
44080 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
44081 file.
44082 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
44083 multiarch strncmp for PPC32.
44084 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
44085 multiarch objects.
44086 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44087 (__libc_ifunc_impl_list): Likewise.
44088
44089 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
44090 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
44091 file.
44092 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
44093 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
44094 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
44095 multiarch objects.
44096 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44097 (__libc_ifunc_impl_list): Likewise.
44098
44099 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
44100 file.
44101 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
44102 file.
44103 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
44104 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
44105 multiarch objects.
44106 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44107 (__libc_ifunc_impl_list): Likewise.
44108
44109 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
44110 file.
44111 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
44112 file.
44113 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
44114 multiarch rawmemchr for PPC32.
44115 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
44116 multiarch objects.
44117 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44118 (__libc_ifunc_impl_list): Likewise.
44119
44120 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
44121 file.
44122 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
44123 file.
44124 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
44125 file: memrchr multiarch for PPC32.
44126 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
44127 multiarch objects.
44128 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44129 (__libc_ifunc_impl_list): Likewise.
44130
44131 * string/memchr.c (__memchr): Using macro to redefine symbol name.
44132 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
44133 file.
44134 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
44135 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
44136 multiarch memchr for PPC32.
44137 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
44138 multiarch objects.
44139 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44140 (__libc_ifunc_impl_list): Likewise.
44141
44142 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
44143 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
44144 file.
44145 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
44146 file.
44147 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
44148 file: multiarch mempcpy for PPC32.
44149 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
44150 multiarch objects.
44151 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44152 (__libc_ifunc_impl_list): Likewise.
44153
44154 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
44155 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
44156 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
44157 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
44158 multiarch bzero for PPC32.
44159 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
44160 file.
44161 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
44162 file.
44163 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
44164 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
44165 file: multiarch memset for PPC32.
44166 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
44167 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
44168 memset multiarch objects.
44169 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44170 (__libc_ifunc_impl_list): Likewise.
44171
44172 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
44173 file.
44174 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
44175 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
44176 memcmp for PPC32.
44177 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
44178 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
44179 multiarch objects.
44180 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44181 (__libc_ifunc_impl_list): Likewise.
44182
44183 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
44184 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
44185 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
44186 file.
44187 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
44188 file.
44189 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
44190 file.
44191 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
44192 multiarch memcpy for PPC32.
44193 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
44194 multiarch objects.
44195 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44196 (__libc_ifunc_impl_list): Likewise.
44197
44198 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
44199 support multiarch for POWER/PPC32.
44200 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
44201 Likewise.
44202 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
44203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
44204 Implies file to make multiarch folder appers before the fpu and
44205 default folder for power4 configuration.
44206
44207 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
44208
44209 * scripts/bench.pl: Append volatile keyword to type.
44210
44211 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
44212
44213 * sysdeps/sh/sotruss-lib.c: New file.
44214 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
44215
44216 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44217
44218 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44219
44220 2013-12-05 Joseph Myers <joseph@codesourcery.com>
44221
44222 [BZ #6810]
44223 * math/w_tgamma.c: Include <errno.h>.
44224 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
44225 * math/w_tgammaf.c: Include <errno.h>.
44226 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
44227 * math/w_tgammal.c: Include <errno.h>.
44228 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
44229 * math/auto-libm-test-in: Do not allow missing errno on tgamma
44230 underflow. Add more tgamma tests.
44231 * math/auto-libm-test-out: Regenerated.
44232 * sysdeps/i386/fpu/libm-test-ulps: Update.
44233 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44234
44235 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
44236 sin, sinh, tan, tanh, tgamma, y0 and y1.
44237 * math/auto-libm-test-out: Regenerated.
44238 * math/libm-test.inc (TEST_COND_x86_64): New macro.
44239 (TEST_COND_x86): Likewise.
44240 (M_E2l): Remove macro.
44241 (M_E3l): Likewise.
44242 (M_2_SQRT_PIl): Likewise.
44243 (M_SQRT_PIl): Likewise.
44244 (M_1_DIV_El): Likewise.
44245 (log_test_data): Use AUTO_TESTS_f_f.
44246 (log10_test_data): Likewise.
44247 (log1p_test_data): Likewise.
44248 (log2_test_data): Likewise.
44249 (sin_test_data): Likewise.
44250 (sin_tonearest_test_data): Likewise.
44251 (sin_towardzero_test_data): Likewise.
44252 (sin_downward_test_data): Likewise.
44253 (sin_upward_test_data): Likewise.
44254 (sinh_test_data): Likewise.
44255 (sinh_tonearest_test_data): Likewise.
44256 (sinh_towardzero_test_data): Likewise.
44257 (sinh_downward_test_data): Likewise.
44258 (sinh_upward_test_data): Likewise.
44259 (tan_test_data): Likewise.
44260 (tan_tonearest_test_data): Likewise.
44261 (tan_towardzero_test_data): Likewise.
44262 (tan_downward_test_data): Likewise.
44263 (tan_upward_test_data): Likewise.
44264 (tanh_test_data): Likewise.
44265 (tgamma_test_data): Likewise.
44266 (y0_test_data): Likewise.
44267 (y1_test_data): Likewise.
44268 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
44269 (special_real_inputs): Add pi/4.
44270 * sysdeps/i386/fpu/libm-test-ulps: Update.
44271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44272
44273 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44274
44275 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
44276 "longjmp_target" static probes.
44277 (__longjmp): Rename to __longjmp_symbol.
44278 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
44279 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
44280 on which longjmp to generate.
44281 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
44282 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
44283 probe.
44284 (__sigsetjmp): Rename to __sigsetjmp_symbol.
44285 (__sigjmp_save): Rename to __sigjmp_save_symbol.
44286 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
44287 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
44288 and __sigjmp_save_symbol based on which sigsetjmp to generated.
44289 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
44290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
44291 __longjmp_symbol based on which __longjmp to generate.
44292 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
44293 probe.
44294 (setjmp): Rename to setjmp_symbol.
44295 (__sigsetjmp): Rename to __sigsetjmp_symbol.
44296 (_setjmp): Rename to _setjmp_symbol.
44297 (__sigsetjmp): Rename to __sigsetjmp_symbol.
44298 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
44299 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
44300 which setjmp to generate.
44301 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
44302 "longjmp_target" static probes.
44303
44304 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
44305
44306 * benchtests/README: Add note about output arguments.
44307 * benchtests/bench-sincos.c: Remove file.
44308 * benchtests/sincos-inputs: New file.
44309 * scripts/bench.pl: Identify output arguments and define
44310 static variables for them.
44311
44312 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
44313
44314 [BZ #15941]
44315 * Makefile (INSTALL): Add install-plain.texi as the primary
44316 dependency.
44317 * manual/install-plain.texi: New file.
44318 * manual/install.texi: Include node directive only for
44319 non-plaintext output.
44320
44321 2013-12-04 Joseph Myers <joseph@codesourcery.com>
44322
44323 * stdlib/longlong.h: Update from GCC.
44324
44325 [BZ #6807]
44326 [BZ #15901]
44327 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
44328 * math/w_j0f.c (y0f): Likewise.
44329 * math/w_j0l.c (__y0l): Likewise.
44330 * math/w_j1.c (y1): Likewise.
44331 * math/w_j1f.c (y1f): Likewise.
44332 * math/w_j1l.c (__y1l): Likewise.
44333 * math/w_jn.c (yn): Likewise.
44334 * math/w_jnf.c (ynf): Likewise.
44335 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
44336 Bessel function pole errors in _POSIX_ mode. Use NAN as return
44337 value for Bessel function domain errors outside _SVID_ mode.
44338 Adjust sign of return value for yn (negative integer, 0).
44339 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
44340 by zero in return for negative x and set sign appropriately for
44341 negative n.
44342 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
44343 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
44344 * math/libm-test.inc (y0_test_data): Add more tests and adjust
44345 expectations in error cases.
44346 (y1_test_data): Likewise.
44347 (yn_test_data): Likewise.
44348 * sysdeps/i386/fpu/libm-test-ulps: Update.
44349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44350
44351 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
44352
44353 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
44354 "64" to "64-v1". Add "64-v2".
44355 (abi-64-options): Rename to ...
44356 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
44357 (abi-64-condition): Rename to ...
44358 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
44359 (abi-64-ld-soname): Rename to ...
44360 (abi-64-v1-ld-soname): ... this.
44361 (abi-64-v2-options): Define.
44362 (abi-64-v2-condition): Likewise.
44363 (abi-64-v2-ld-soname): Likewise.
44364 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
44365 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
44366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
44367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
44368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
44369
44370 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
44371 Alan Modra <amodra@gmail.com>
44372
44373 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
44374 New versions for use with the ELFv2 ABI.
44375 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
44376 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
44377 declaration.
44378 (struct La_ppc64v2_retval): Likewise.
44379 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
44380 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
44381 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
44382 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
44383 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
44384 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
44385 Do not save or restore CR.
44386 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
44387 (_dl_profile_resolve): Do no save or restore CR. Support extended
44388 return values for ELFv2 ABI. Fix location of FPR return registers.
44389 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
44390 updated values for _CALL_ELF == 2.
44391 (La_regs, La_retval, int_retval): Likewise.
44392
44393 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
44394
44395 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
44396 (FRAME_MIN_SIZE_PARM): Likewise.
44397 (FRAME_BACKCHAIN): Likewise.
44398 (FRAME_CR_SAVE): Likewise.
44399 (FRAME_LR_SAVE): Likewise.
44400 (FRAME_TOC_SAVE): Likewise.
44401 (FRAME_PARM_SAVE): Likewise.
44402 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
44403 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
44404 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
44405 (call_mcount_parm_offset): New macro.
44406 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
44407 (PROF): Use symbolic stack frame offsets.
44408 (TAIL_CALL_SYSCALL_ERROR): Likewise.
44409 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
44410 Redefine in terms of FRAME_MIN_SIZE.
44411 (_dl_runtime_resolve): Use symbolic stack frame offsets.
44412 (_dl_profile_resolve): Likewise. Update comment.
44413 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
44414 symbols stack frame offsets.
44415 (__sigsetjmp): Likewise.
44416 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
44417 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
44418 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
44419 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
44420
44421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
44422 (FRAME_BACKCHAIN): Remove.
44423 (FRAME_CR_SAVE): Likewise.
44424 (FRAME_LR_SAVE): Likewise.
44425 (FRAME_COMPILER_DW): Likewise.
44426 (FRAME_LINKER_DW): Likewise.
44427 (FRAME_TOC_SAVE): Likewise.
44428 (FRAME_PARM_SAVE): Likewise.
44429 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
44430 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
44431 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
44432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
44433 (CHECK_SP): Use symbolic stack frame offsets.
44434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
44435 zone" instead of caller's parameter save area for temp storage.
44436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
44437 Likewise. Also, use symbolic stack frame offsets.
44438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
44439 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
44440 our own stack frame instead of the caller's.
44441 (__socket): Use symbolic stack frame offsets.
44442
44443 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
44444 Alan Modra <amodra@gmail.com>
44445
44446 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
44447 Define.
44448 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
44449 (PPC64_LOCAL_ENTRY_OFFSET): Define.
44450 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
44451 New function.
44452 (elf_machine_fixup_plt): Call it.
44453 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
44454 reloc arguments.
44455 (elf_machine_rela): Update call to elf_machine_plt_conflict.
44456 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
44457 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
44458 r2 before calling target.
44459
44460 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
44461 Alan Modra <amodra@gmail.com>
44462
44463 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
44464 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
44465 versions of macros to support ELFv2 ABI.
44466 (LOCALENTRY): New macro.
44467 (ENTRY, EALIGN): Use it.
44468 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
44469 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
44470 fall through into ENTRY entry point.
44471 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
44472 Only define if _CALL_ELF != 2.
44473
44474 (elf_machine_matches_host): Verify ABI version matches.
44475 (RTLD_START): Use LOCALENTRY.
44476 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
44477 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
44478 (PLT_ENTRY_WORDS): New macro.
44479 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
44480 (elf_machine_runtime_setup): Support ELFv2 ABI.
44481 (elf_machine_fixup_plt): Likewise.
44482 (elf_machine_plt_conflict): Likewise.
44483 (resolve_ifunc): Likewise.
44484 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
44485 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
44486 Likewise.
44487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
44488 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
44489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44490 (makecontext): Support ELFv2 ABI.
44491 * elf/elf.h (EF_PPC64_ABI): Define.
44492
44493 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
44494
44495 * sysdeps/powerpc/powerpc64/sysdep.h
44496 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
44497 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
44498 (ENTRY) [ASSEMBLER]: ... but instead here ...
44499 (EALIGN) [ASSEMBLER]: ... and here.
44500 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
44501 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
44502 (ENTRY_2) [!ASSEMBLER]: Use it.
44503 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
44504 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
44505 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
44506 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
44507 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
44508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
44509 Use PPC64_LOAD_FUNCPTR.
44510
44511 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
44512
44513 2013-12-04 Alan Modra <amodra@gmail.com>
44514
44515 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
44516 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
44517 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
44518 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
44519
44520 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
44521 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
44522 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
44523 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
44524 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
44525 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
44526
44527 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
44528
44529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44530 (__makecontext): Fix incorrect CFI when backtracing out of
44531 context created via makecontext.
44532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
44533 (__setcontext): Fix incorrect CFI during switch to new context.
44534 (__novec_setcontext): Likewise.
44535
44536 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
44537
44538 [BZ #4772]
44539 * time/strptime_l.c (__strptime_internal): Allow modifiers
44540 in strptime.
44541 * time/tst-strptime.c (day_tests): Add testcase.
44542
44543 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
44544
44545 * scripts/bench.pl: Skip over blank lines.
44546
44547 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
44548
44549 [BZ #926]
44550 * manual/time.texi (Calendar Time): Clarify what timezone functions
44551 use.
44552
44553 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44554
44555 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44556
44557 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
44558
44559 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
44560 implementation.
44561 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
44562 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
44563 * debug/memset_chk.c (__memset_chk): Likewise.
44564 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
44565 * debug/strncpy_chk.c: Likewise.
44566
44567 2013-12-03 Joseph Myers <joseph@codesourcery.com>
44568
44569 [BZ #15268]
44570 [BZ #15425]
44571 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
44572 (__ieee754_exp): For possibly underflowing results, check size of
44573 result and force underflow exception if required.
44574 * math/auto-libm-test-in: Add more tests of exp.
44575 * math/auto-libm-test-out: Regenerated.
44576 * sysdeps/i386/fpu/libm-test-ulps: Update.
44577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44578
44579 [BZ #16283]
44580 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
44581 * math/w_exp2f.c (__exp2f): Likewise.
44582 * math/w_exp2l.c (__exp2l): Likewise.
44583 * math/auto-libm-test-in: Do not allow missing errno on exp2
44584 underflow.
44585 * math/auto-libm-test-out: Regenerated.
44586
44587 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
44588
44589 [BZ #16274]
44590 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
44591 handle filename validation.
44592 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
44593 (do_open): Delete.
44594
44595 2013-12-03 Joseph Myers <joseph@codesourcery.com>
44596
44597 [BZ #6786]
44598 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
44599 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
44600 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
44601 <float.h>.
44602 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
44603 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
44604 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
44605 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
44606 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
44607 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
44608 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
44609 * math/auto-libm-test-in: Don't allow missing errno from erfc.
44610 Add more erfc tests.
44611 * math/auto-libm-test-out: Regenerated.
44612 * sysdeps/i386/fpu/libm-test-ulps: Update.
44613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44614
44615 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
44616 exp2, expm1, j0 and j1.
44617 * math/auto-libm-test-out: Regenerated.
44618 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
44619 (erfc_test_data): Likewise.
44620 (exp_test_data): Likewise.
44621 (exp_tonearest_test_data): Likewise.
44622 (exp_towardzero_test_data): Likewise.
44623 (exp_downward_test_data): Likewise.
44624 (exp_upward_test_data): Likewise.
44625 (exp10_test_data): Likewise.
44626 (exp2_test_data): Likewise.
44627 (expm1_test_data): Likewise.
44628 (j0_test_data): Likewise.
44629 (j1_test_data): Likewise.
44630 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
44631 (input_flag_type): Add flag_xfail_rounding.
44632 (input_flags): Add xfail-rounding.
44633 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
44634 (output_for_one_input_case): Handle flag_xfail_rounding.
44635 * sysdeps/i386/fpu/libm-test-ulps: Update.
44636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44637
44638 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
44639
44640 [BZ #16289]
44641 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
44642 division by 0.
44643
44644 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
44645
44646 [BZ #16195]
44647 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
44648 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
44649 (STAP_PROBE0): New macro.
44650 (STAP_PROBE1): Likewise.
44651 (STAP_PROBE2): Likewise.
44652 (STAP_PROBE3): Likewise.
44653 (STAP_PROBE4): Likewise.
44654
44655 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
44656
44657 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
44658
44659 2013-12-02 Steve Ellcey <sellcey@mips.com>
44660
44661 * benchtests/Makefile (bench): Add sqrt.
44662 (LDLIBS-bench-sqrt): New.
44663 * benchtests/sqrt-input: New.
44664
44665 2013-12-02 Pavel Simerda <psimerda@redhat.com>
44666
44667 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
44668 (GAIH_EAI): Likewise.
44669 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
44670 (gaih_inet): Likewise.
44671 (getaddrinfo): Don't use GAIH_EAI.
44672
44673 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
44674 (struct gaih): Remove definition.
44675
44676 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
44677
44678 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
44679 Use HERRNOP directly.
44680
44681 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44682
44683 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44684
44685 2013-11-30 Joseph Myers <joseph@codesourcery.com>
44686
44687 * math/gen-auto-libm-tests.c (test_functions): Add more
44688 single-argument functions.
44689 (special_fill_pi_2): New function.
44690 (special_fill_minus_pi_2): Likewise.
44691 (special_fill_pi_6): Likewise.
44692 (special_fill_minus_pi_6): Likewise.
44693 (special_fill_pi_3): Likewise.
44694 (special_fill_2pi_3): Likewise.
44695 (special_fill_e): Likewise.
44696 (special_fill_1_e): Likewise.
44697 (special_fill_e_minus_1): Likewise.
44698 (special_real_inputs): Add more special inputs.
44699 (output_for_one_input_case): Do not require ERANGE on underflow to
44700 zero if round-to-nearest result does not underflow to zero, unless
44701 exact results required.
44702 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
44703 atan, atanh, cbrt, cos and cosh.
44704 * math/auto-libm-test-out: Regenerated.
44705 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
44706 (acos_tonearest_test_data): Likewise.
44707 (acos_towardzero_test_data): Likewise.
44708 (acos_downward_test_data): Likewise.
44709 (acos_upward_test_data): Likewise.
44710 (acosh_test_data): Likewise.
44711 (asin_test_data): Likewise.
44712 (asin_tonearest_test_data): Likewise.
44713 (asin_towardzero_test_data): Likewise.
44714 (asin_upward_test_data): Likewise.
44715 (asinh_test_data): Likewise.
44716 (atan_test_data): Likewise.
44717 (atanh_test_data): Likewise.
44718 (cbrt_test_data): Likewise.
44719 (cos_test_data): Likewise.
44720 (cos_tonearest_test_data): Likewise.
44721 (cos_towardzero_test_data): Likewise.
44722 (cos_downward_test_data): Likewise.
44723 (cos_upward_test_data): Likewise.
44724 (cosh_test_data): Likewise.
44725 (cosh_tonearest_test_data): Likewise.
44726 (cosh_towardzero_test_data): Likewise.
44727 (cosh_downward_test_data): Likewise.
44728 (cosh_upward_test_data): Likewise.
44729 * sysdeps/i386/fpu/libm-test-ulps: Update.
44730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44731
44732 2013-11-29 Joseph Myers <joseph@codesourcery.com>
44733
44734 [BZ #6787]
44735 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
44736 * math/w_exp10f.c (__exp10f): Likewise.
44737 * math/w_exp10l.c (__exp10l): Likewise.
44738 * math/libm-test.inc (exp10_test_data): Add more tests and expect
44739 errno settings in existing tests.
44740
44741 [BZ #14032]
44742 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
44743 precision control set to double precision.
44744 * sysdeps/i386/fpu/w_sqrt.c: New file.
44745 * math/auto-libm-test-in: Add more tests.
44746 * math/auto-libm-test-out: Update.
44747
44748 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
44749 (sqrt_test_tonearest): New function.
44750 (sqrt_towardzero_test_data): New variable.
44751 (sqrt_test_towardzero): New function.
44752 (sqrt_downward_test_data): New variable.
44753 (sqrt_test_downward): New function.
44754 (sqrt_upward_test_data): New variable.
44755 (sqrt_test_upward): New function.
44756 (main): Call the new functions.
44757
44758 * math/gen-auto-libm-tests.c: New file.
44759 * math/auto-libm-test-in: Likewise.
44760 * math/auto-libm-test-out: New generated file.
44761 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
44762 variables.
44763 (%beautify): Add generated representations of zero.
44764 (top level): Set $auto_input and call parse_auto_input.
44765 (beautify): Remove trailing "f" from hex float constants.
44766 (parse_args): Handle XFAIL_TEST.
44767 (convert_condition): New function.
44768 (or_value): Likewise.
44769 (or_cond_value): Likewise.
44770 (generate_testfile): Handle AUTO_TESTS_* lines.
44771 (parse_auto_input): New function.
44772 * math/libm-test.inc (XFAIL_TEST): New macro.
44773 (ERRNO_UNCHANGED): Update value.
44774 (ERRNO_EDOM): Likewise.
44775 (ERRNO_ERANGE): Likewise.
44776 (IGNORE_RESULT): Likewise.
44777 (TEST_COND_flt_32): New macro.
44778 (TEST_COND_dbl_64): Likewise.
44779 (TEST_COND_ldbl_96_intel): Likewise.
44780 (TEST_COND_ldbl_96_m68k): Likewise.
44781 (TEST_COND_ldbl_128): Likewise.
44782 (TEST_COND_ldbl_128ibm): Likewise.
44783 (TEST_COND_long32): Likewise.
44784 (TEST_COND_long64): Likewise.
44785 (TEST_COND_before_rounding): Likewise.
44786 (TEST_COND_after_rounding): Likewise.
44787 (enable_test): Handle XFAIL_TEST flag.
44788 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
44789 with finite results.
44790 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
44791 auto-libm-test-out.
44792
44793 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
44794 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44795
44796 [BZ #16214]
44797 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
44798 __tls_get_addr_internal instead of __tls_get_offset in order to
44799 avoid GOT pointer dependency. Make rtld export
44800 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
44801 __tls_get_addr since we are a __tls_get_offset platform.
44802 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
44803 GOT pointer being set up before.
44804 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
44805
44806 2013-11-28 Joseph Myers <joseph@codesourcery.com>
44807
44808 * manual/math.texi (Errors in Math Functions): Document accuracy
44809 goals.
44810
44811 [BZ #15004]
44812 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
44813 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
44814 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44815 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
44816 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
44817 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
44818 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
44819 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
44820 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
44821 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
44822 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
44823 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
44824 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
44825 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
44826 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
44827 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
44828
44829 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
44830 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
44831 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
44832 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
44833 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
44834 Likewise.
44835 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
44836 Likewise.
44837 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
44838 Likewise.
44839 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
44840 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
44841 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
44842 atomic-feupdateenv and flt-rounds.
44843 * sysdeps/powerpc/nofpu/Versions (libc): Add
44844 __atomic_feholdexcept, __atomic_feclearexcept,
44845 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
44846 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
44847 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
44848 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
44849 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
44850 here.
44851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
44852 Update.
44853
44854 * manual/arith.texi (FP Exceptions): Document that exceptions may
44855 not be raised when matherr is used.
44856 (Math Error Reporting): Document overflow in directed rounding
44857 modes. Document that errno may not be set when finite values are
44858 returned on overflow. Document intent to set errno on underflow
44859 only for underflow to zero.
44860
44861 [BZ #16271]
44862 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
44863 round-to-nearest then adjust result for other rounding modes.
44864 * include/fenv.h (fegetround): Use libm_hidden_proto.
44865 * math/fegetround.c (fegetround): Use libm_hidden_def.
44866 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
44867 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
44868 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
44869 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
44870 Likewise.
44871 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
44872 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
44873 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
44874 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
44875
44876 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
44877
44878 [BZ #16077]
44879 * nss/Versions (libnss_files): Add
44880 _nss_files_gethostbyname3_r.
44881 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
44882 New function.
44883 (HOST_DB_LOOKUP): Remove macro.
44884 (_nss_files_gethostbyname_r): Implement function without the
44885 HOST_DB_LOOKUP macro.
44886 (_nss_files_gethostbyname2_r): Likewise.
44887
44888 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
44889
44890 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
44891
44892 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
44893
44894 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
44895 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
44896 warning.
44897
44898 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44899
44900 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
44901 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
44902 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
44903 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
44904 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
44905 __fe_nomask_env_priv and attribute_hidden.
44906 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
44907 (libc_feupdateenv_test_ppc): Likewise.
44908 (libc_feresetround_ppc): Likewise.
44909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
44910 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
44911 compat_symbol macro.
44912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
44913 (__fe_nomask_env): Likewise.
44914 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
44915
44916 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
44917
44918 * string/Makefile: Remove ifunc tests.
44919 * string/test-string.h: Define TEST_IFUNC.
44920 * string/test-bcopy-ifunc.c: Remove.
44921 * string/test-bzero-ifunc.c: Likewise.
44922 * string/test-memccpy-ifunc.c: Likewise.
44923 * string/test-memchr-ifunc.c: Likewise.
44924 * string/test-memcmp-ifunc.c: Likewise.
44925 * string/test-memcpy-ifunc.c: Likewise.
44926 * string/test-memmem-ifunc.c: Likewise.
44927 * string/test-memmove-ifunc.c: Likewise.
44928 * string/test-mempcpy-ifunc.c: Likewise.
44929 * string/test-memrchr-ifunc.c: Likewise.
44930 * string/test-memset-ifunc.c: Likewise.
44931 * string/test-rawmemchr-ifunc.c: Likewise.
44932 * string/test-stpcpy-ifunc.c: Likewise.
44933 * string/test-stpncpy-ifunc.c: Likewise.
44934 * string/test-strcasecmp-ifunc.c: Likewise.
44935 * string/test-strcasestr-ifunc.c: Likewise.
44936 * string/test-strcat-ifunc.c: Likewise.
44937 * string/test-strchr-ifunc.c: Likewise.
44938 * string/test-strchrnul-ifunc.c: Likewise.
44939 * string/test-strcmp-ifunc.c: Likewise.
44940 * string/test-strcpy-ifunc.c: Likewise.
44941 * string/test-strcspn-ifunc.c: Likewise.
44942 * string/test-strlen-ifunc.c: Likewise.
44943 * string/test-strncasecmp-ifunc.c: Likewise.
44944 * string/test-strncat-ifunc.c: Likewise.
44945 * string/test-strncmp-ifunc.c: Likewise.
44946 * string/test-strncpy-ifunc.c: Likewise.
44947 * string/test-strnlen-ifunc.c: Likewise.
44948 * string/test-strpbrk-ifunc.c: Likewise.
44949 * string/test-strrchr-ifunc.c: Likewise.
44950 * string/test-strspn-ifunc.c: Likewise.
44951 * string/test-strstr-ifunc.c: Likewise.
44952
44953 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
44954
44955 * benchtests/Makefile: Remove ifunc tests.
44956 * benchtests/bench-string.h: Define TEST_IFUNC.
44957 * benchtests/bench-bcopy-ifunc.c: Remove.
44958 * benchtests/bench-bzero-ifunc.c: Likewise.
44959 * benchtests/bench-memccpy-ifunc.c: Likewise.
44960 * benchtests/bench-memchr-ifunc.c: Likewise.
44961 * benchtests/bench-memcmp-ifunc.c: Likewise.
44962 * benchtests/bench-memcpy-ifunc.c: Likewise.
44963 * benchtests/bench-memmem-ifunc.c: Likewise.
44964 * benchtests/bench-memmove-ifunc.c: Likewise.
44965 * benchtests/bench-mempcpy-ifunc.c: Likewise.
44966 * benchtests/bench-memrchr-ifunc.c: Likewise.
44967 * benchtests/bench-memset-ifunc.c: Likewise.
44968 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
44969 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
44970 * benchtests/bench-stpcpy-ifunc.c: Likewise.
44971 * benchtests/bench-stpncpy-ifunc.c: Likewise.
44972 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
44973 * benchtests/bench-strcasestr-ifunc.c: Likewise.
44974 * benchtests/bench-strcat-ifunc.c: Likewise.
44975 * benchtests/bench-strchr-ifunc.c: Likewise.
44976 * benchtests/bench-strchrnul-ifunc.c: Likewise.
44977 * benchtests/bench-strcmp-ifunc.c: Likewise.
44978 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
44979 * benchtests/bench-strcpy-ifunc.c: Likewise.
44980 * benchtests/bench-strcspn-ifunc.c: Likewise.
44981 * benchtests/bench-strlen-ifunc.c: Likewise.
44982 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
44983 * benchtests/bench-strncat-ifunc.c: Likewise.
44984 * benchtests/bench-strncmp-ifunc.c: Likewise.
44985 * benchtests/bench-strncpy-ifunc.c: Likewise.
44986 * benchtests/bench-strnlen-ifunc.c: Likewise.
44987 * benchtests/bench-strpbrk-ifunc.c: Likewise.
44988 * benchtests/bench-strrchr-ifunc.c: Likewise.
44989 * benchtests/bench-strsep-ifunc.c: Likewise.
44990 * benchtests/bench-strspn-ifunc.c: Likewise.
44991 * benchtests/bench-strstr-ifunc.c: Likewise.
44992
44993 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
44994
44995 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
44996
44997 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
44998
44999 * resolv/netdb.h: Use __glibc_reserved instead __unused.
45000 * rt/aio.h: Likewise.
45001 * sysdeps/gnu/bits/utmp.h: Likewise.
45002 * sysdeps/gnu/bits/utmpx.h: Likewise.
45003 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
45004 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
45005 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
45006 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
45007 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
45008 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
45009 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
45010 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
45011 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
45012 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
45013 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
45014 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
45015 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
45016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
45017 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
45018 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
45019 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
45020 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
45021 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
45022 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
45023 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
45024 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
45025 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
45026 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
45027 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
45028 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45029 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
45030 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
45031 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
45032 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
45033 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
45034 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
45035 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
45036 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
45037 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
45038 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
45039 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
45040 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
45041 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
45042 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
45043 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
45044 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
45045
45046 2013-11-25 Carlos O'Donell <carlos@redhat.com>
45047
45048 [BZ #16245]
45049 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
45050 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
45051
45052 2013-11-25 Joseph Myers <joseph@codesourcery.com>
45053
45054 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
45055 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
45056 Likewise.
45057
45058 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45059
45060 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
45061 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
45062 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
45063 (__fesetround): Remove define.
45064 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
45065 rounding and exceptions handling.
45066 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
45067 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
45068 (__fe_nomask_env): Likewise.
45069 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
45070 __fegetround instead of fegetround.
45071 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
45072 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
45073
45074 2013-11-21 Roland McGrath <roland@hack.frob.com>
45075
45076 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
45077 it's there.
45078
45079 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
45080
45081 2013-11-21 Meador Inge <meadori@codesourcery.com>
45082
45083 [BZ #11157]
45084 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
45085 (encrypt_r): Likewise.
45086 * malloc/obstack.h (obstack_free): Likewise.
45087 * posix/unistd.h (encrypt): Likewise.
45088
45089 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
45090
45091 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
45092 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
45093 DL_CALL_DT_FINI() that call the functions directly.
45094 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
45095 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
45096 * elf/dl-fini.c: Likewise.
45097
45098 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
45099
45100 * malloc/hooks.c (memalign_check): Add alignment rounding.
45101 * malloc/malloc.c (_mid_memalign): New function.
45102 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
45103 Implement by calling _mid_memalign.
45104 * manual/probes.texi (Memory Allocation Probes): Remove
45105 memory_valloc_retry and memory_pvalloc_retry.
45106
45107 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
45108
45109 * locale/programs/locarchive.c (open_archive): Add const
45110 qualifier to ARCHIVEFNAME and copy default fname to
45111 DEFAULT_FNAME.
45112
45113 [BZ #15601]
45114 * libio/tst-widetext.input: Rename Oriya to Odia.
45115 * locale/iso-639.def: Likewise.
45116
45117 * manual/probes.texi (Mathematical Function Probes): Add
45118 documentation for sin, cos, asin and acos probes.
45119 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
45120 (__sin32): Add slowasin probe.
45121 (__cos32): Add slowacos probe.
45122 (__mpsin): Add slowsin probe.
45123 (__mpcos): Add slowcos probe.
45124
45125 2013-11-19 Joseph Myers <joseph@codesourcery.com>
45126
45127 [BZ #15483]
45128 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
45129 thread-local __sim_exceptions_thread and global
45130 __sim_exceptions_global.
45131 (__sim_disabled_exceptions): Change to thread-local
45132 __sim_disabled_exceptions_thread and global
45133 __sim_disabled_exceptions_global.
45134 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
45135 and global __sim_round_mode_global.
45136 (__simulate_exceptions): Use thread-local floating-point state and
45137 set global state from it as needed.
45138 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
45139 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
45140 __sim_round_mode_thread.
45141 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
45142 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
45143 and global __sim_exceptions_global.
45144 (__sim_disabled_exceptions): Change to thread-local
45145 __sim_disabled_exceptions_thread and global
45146 __sim_disabled_exceptions_global.
45147 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
45148 and global __sim_round_mode_global.
45149 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
45150 (SIM_SET_GLOBAL): Likewise.
45151 * sysdeps/powerpc/soft-fp/sfp-machine.h
45152 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
45153 __sim_round_mode_thread.
45154 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
45155 __sim_disabled_exceptions_thread.
45156 (__sim_exceptions): Change to __sim_exceptions_thread.
45157 (__sim_disabled_exceptions): Change to
45158 __sim_disabled_exceptions_thread.
45159 (__sim_round_mode): Change to __sim_round_mode_thread.
45160 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
45161 thread-local floating-point state and set global state from it as
45162 needed.
45163 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
45164 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
45165 (__sim_disabled_exceptions): Remove extern declaration.
45166 (feenableexcept): Use thread-local floating-point state and set
45167 global state from it as needed.
45168 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
45169 extern declaration.
45170 (__sim_disabled_exceptions): Likewise.
45171 (__sim_round_mode): Likewise.
45172 (__fegetenv): Use thread-local floating-point state.
45173 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
45174 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
45175 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
45176 floating-point state and set global state from it as needed.
45177 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
45178 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
45179 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
45180 Likewise.
45181 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
45182 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
45183 Likewise.
45184 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
45185 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
45186 Use __sim_round_mode_thread.
45187 * math/test-fenv-tls.c: New file.
45188 * math/Makefile (tests): Add test-fenv-tls.
45189 ($(objpfx)test-fenv-tls): Depend on
45190 $(common-objpfx)nptl/libpthread.so.
45191
45192 2013-11-19 Andreas Schwab <schwab@suse.de>
45193
45194 * locale/programs/locale.c (show_info): Decode wordarray elements.
45195 * locale/categories.def (LC_MONETARY): Add element for
45196 _NL_MONETARY_CRNCYSTR.
45197 * locale/C-monetary.c (conversion_rate): New variable.
45198 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
45199 element.
45200
45201 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
45202
45203 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
45204 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
45205
45206 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
45207
45208 * elf/Makefile (tst-auxv): New test.
45209 * elf/tst-auxv.c: New
45210 * elf/rtld.c (dl_main): Adjust AT_EXECFN
45211
45212 2013-11-18 Joseph Myers <joseph@codesourcery.com>
45213
45214 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
45215 (hidden_proto): Caller changed.
45216 (hidden_tls_proto): New macro.
45217 (libc_hidden_tls_proto): Likewise.
45218 (rtld_hidden_tls_proto): Likewise.
45219 (libm_hidden_tls_proto): Likewise.
45220 (libresolv_hidden_tls_proto): Likewise.
45221 (librt_hidden_tls_proto): Likewise.
45222 (libdl_hidden_tls_proto): Likewise.
45223 (libnss_files_hidden_tls_proto): Likewise.
45224 (libnsl_hidden_tls_proto): Likewise.
45225 (libnss_nisplus_hidden_tls_proto): Likewise.
45226 (libutil_hidden_tls_proto): Likewise.
45227
45228 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
45229
45230 [BZ #10253]
45231 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
45232 (decompose_rpath): Defer expansion to fillin_rpath.
45233 (_dl_init_paths): Pass linkmap to fillin_rpath.
45234
45235 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
45236
45237 * benchtests/Makefile: Add strsep.
45238 * benchtests/bench-strsep.c: New file: strsep benchtest.
45239 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
45240
45241 2013-11-18 Andreas Schwab <schwab@suse.de>
45242
45243 * locale/programs/locale.c (show_info) [case byte]: Check for
45244 '\377' instead of '\177'.
45245 * locale/C-monetary.c (not_available): Always use "\377".
45246 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
45247 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
45248 detect unavailable sign_posn locale elements.
45249 * locale/localeconv.c (__localeconv): For grouping and
45250 mon_grouping handle "\177" and "\377" like no grouping.
45251 (INT_ELEM): New macro. Use it to set all numeric members.
45252 * locale/programs/ld-monetary.c (monetary_read)
45253 <tok_mon_grouping>: Normalize single -1 to the empty string.
45254 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
45255 Likewise.
45256
45257 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
45258
45259 [BZ #16055]
45260 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
45261 when we match (nil).
45262 * stdio-common/tst-sscanf.c (struct test): Add testcase.
45263
45264 2013-11-16 Joseph Myers <joseph@codesourcery.com>
45265
45266 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
45267 (NO_TEST_INLINE): Update value.
45268 (ERRNO_UNCHANGED): Likewise.
45269 (ERRNO_EDOM): Likewise.
45270 (ERRNO_ERANGE): Likewise.
45271 (IGNORE_RESULT): Likewise.
45272 (check_float_internal): Check signs of NaN results if
45273 TEST_NAN_SIGN used.
45274 (check_complex): Pass TEST_NAN_SIGN flag through to second
45275 check_float_internal call.
45276 (copysign_test_data): Add tests with quiet NaNs as second
45277 argument. Use TEST_NAN_SIGN.
45278 (fabs_test_data): Add test of negative quiet NaN argument. Use
45279 TEST_NAN_SIGN.
45280 (signbit_test_data): Add tests of quiet NaN argument.
45281 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
45282
45283 * math/gen-libm-test.pl (show_exceptions): Take extra argument
45284 $ignore_result.
45285 (parse_args): Handle function results specified as IGNORE.
45286 * math/libm-test.inc (IGNORE_RESULT): New macro.
45287 (check_float_internal): Do not check numerical result if flag
45288 IGNORE_RESULT set.
45289 (check_complex): Pass through IGNORE_RESULT to second
45290 check_float_internal call.
45291 (check_int): Do not check numerical result if flag IGNORE_RESULT
45292 set.
45293 (check_long): Likewise.
45294 (check_bool): Likewise.
45295 (check_longlong): Likewise.
45296 (lrint_test_data): Add tests of infinite and NaN arguments.
45297 (lrint_tonearest_test_data): Likewise.
45298 (lrint_towardzero_test_data): Likewise.
45299 (lrint_downward_test_data): Likewise.
45300 (lrint_upward_test_data): Likewise.
45301 (llrint_test_data): Likewise.
45302 (llrint_tonearest_test_data): Likewise.
45303 (llrint_towardzero_test_data): Likewise.
45304 (llrint_downward_test_data): Likewise.
45305 (llrint_upward_test_data): Likewise.
45306 (lround_test_data): Likewise.
45307 (llround_test_data): Likewise.
45308
45309 * math/libm-test.inc (NO_TEST_INLINE): New macro.
45310 (ERRNO_UNCHANGED): Update value.
45311 (ERRNO_EDOM): Likewise.
45312 (ERRNO_ERANGE): Likewise.
45313 (NO_TEST_INLINE_FLOAT): New macro.
45314 (NO_TEST_INLINE_DOUBLE): Likewise.
45315 (enable_test): New function.
45316 (RUN_TEST_f_f): Check enable_test before running test.
45317 (RUN_TEST_2_f): Likewise.
45318 (RUN_TEST_fff_f): Likewise.
45319 (RUN_TEST_c_f): Likewise.
45320 (RUN_TEST_f_f1): Likewise.
45321 (RUN_TEST_fF_f1): Likewise.
45322 (RUN_TEST_fI_f1): Likewise.
45323 (RUN_TEST_ffI_f1): Likewise.
45324 (RUN_TEST_c_c): Likewise.
45325 (RUN_TEST_cc_c): Likewise.
45326 (RUN_TEST_f_i): Likewise.
45327 (RUN_TEST_f_i_tg): Likewise.
45328 (RUN_TEST_ff_i_tg): Likewise.
45329 (RUN_TEST_f_b): Likewise.
45330 (RUN_TEST_f_b_tg): Likewise.
45331 (RUN_TEST_f_l): Likewise.
45332 (RUN_TEST_f_L): Likewise.
45333 (RUN_TEST_fFF_11): Likewise.
45334 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
45335 conditionals.
45336 (cosh_test_data): Likewise.
45337 (exp_test_data): Likewise.
45338 (expm1_test_data): Likewise.
45339 (hypot_test_data): Likewise.
45340 (pow_test_data): Likewise.
45341 (sinh_test_data): Likewise.
45342 (tanh_test_data): Likewise.
45343 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
45344 flags argument.
45345
45346 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
45347 tests with quiet NaN input and output.
45348 (acosh_test_data): Likewise.
45349 (asin_test_data): Likewise.
45350 (asinh_test_data): Likewise.
45351 (atan_test_data): Likewise.
45352 (atanh_test_data): Likewise.
45353 (atan2_test_data): Likewise.
45354 (cbrt_test_data): Likewise.
45355 (cos_test_data): Likewise.
45356 (cosh_test_data): Likewise.
45357 (erf_test_data): Likewise.
45358 (erfc_test_data): Likewise.
45359 (exp_test_data): Likewise.
45360 (exp10_test_data): Likewise.
45361 (exp2_test_data): Likewise.
45362 (expm1_test_data): Likewise.
45363 (hypot_test_data): Likewise.
45364 (j0_test_data): Likewise.
45365 (j1_test_data): Likewise.
45366 (jn_test_data): Likewise.
45367 (lgamma_test_data): Likewise.
45368 (log_test_data): Likewise.
45369 (log10_test_data): Likewise.
45370 (log1p_test_data): Likewise.
45371 (log2_test_data): Likewise.
45372 (pow_test_data): Likewise.
45373 (scalb_test_data): Likewise.
45374 (sin_test_data): Likewise.
45375 (sincos_test_data): Likewise.
45376 (sinh_test_data): Likewise.
45377 (tan_test_data): Likewise.
45378 (tanh_test_data): Likewise.
45379 (tgamma_test_data): Likewise.
45380 (y0_test_data): Likewise.
45381 (y1_test_data): Likewise.
45382 (yn_test_data): Likewise.
45383
45384 [BZ #16167]
45385 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
45386 argument being NaN and avoid computations with second argument in
45387 that case.
45388 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
45389 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
45390 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
45391
45392 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
45393
45394 * locale/iso-639.def: Add Chitwani Tharu (the).
45395
45396 2013-11-14 Andreas Schwab <schwab@suse.de>
45397
45398 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
45399 word instead of empty string.
45400
45401 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45402
45403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
45404 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
45405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
45406 (__fe_nomask_env): Likewise.
45407
45408 2013-11-13 Steve Ellcey <sellcey@mips.com>
45409
45410 * benchtests/bench-timing.h: Include time.h.
45411
45412 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
45413
45414 [BZ #15997]
45415 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
45416 to 3.4.0 for x32.
45417 * sysdeps/unix/sysv/linux/configure: Regenerated.
45418
45419 2013-11-13 Joseph Myers <joseph@codesourcery.com>
45420
45421 [BZ #16151]
45422 * stdlib/strtod_l.c (round_and_return): Do not consider
45423 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
45424 exponent one less than half the least subnormal exponent.
45425 * stdlib/test-strtod-round-data: Add more tests.
45426 * stdlib/tst-strtod-round.c (tests): Regenerated.
45427
45428 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45429
45430 [BZ #14143]
45431 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
45432 (__fe_mask_env): Likewise.
45433 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
45434 libm_hidden_proto and add function prototype.
45435 (__fe_mask_env): Add function prototype.
45436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
45437 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
45438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
45439 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
45440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
45441 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
45442
45443 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
45444
45445 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
45446 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
45447
45448 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
45449
45450 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
45451 of htab_find_slot().
45452
45453 2013-11-11 David S. Miller <davem@davemloft.net>
45454
45455 [BZ #16150]
45456 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
45457 symbol in the non-vis3 case in static builds.
45458 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
45459 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
45460 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
45461 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
45462
45463 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
45464
45465 [BZ #387]
45466 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
45467 it is empty.
45468
45469 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45470
45471 * benchtests/Makefile: Add bench-strtod.
45472 * benchtests/bench-strtod.c: New file: strtod benchtest
45473
45474 2013-11-11 Andreas Schwab <schwab@suse.de>
45475
45476 [BZ #16153]
45477 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
45478 terminating NUL in key length.
45479
45480 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45481
45482 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
45483 Add artificial ODP entry for vDSO symbol for PPC64.
45484 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
45485 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
45486
45487 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
45488
45489 [BZ #15374]
45490 * nss/getent.c (services_keys): Recognize services starting with digit.
45491
45492 2013-11-06 David S. Miller <davem@davemloft.net>
45493
45494 [BZ #15985]
45495 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
45496 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
45497
45498 2013-11-06 Will Newton <will.newton@linaro.org>
45499
45500 * manual/memory.texi (Malloc Examples): Remove register
45501 keyword from examples.
45502
45503 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
45504
45505 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
45506
45507 2013-11-04 Joseph Myers <joseph@codesourcery.com>
45508
45509 [BZ #6981]
45510 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
45511 depending on [__GCC_IEC_559 > 0].
45512 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
45513 depending on [__GCC_IEC_559_COMPLEX > 0].
45514
45515 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
45516
45517 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
45518 to iso-639.def.
45519
45520 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
45521
45522 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
45523
45524 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
45525
45526 [BZ #16112]
45527 * malloc/malloc (malloc_info): Do not handle first bin as
45528 special case.
45529
45530 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
45531
45532 * locale/iso-639.def: Add Central Nahuatl (nhn).
45533
45534 2013-11-01 Bruno Haible <bruno@clisp.org>
45535
45536 [BZ #7003]
45537 * manual/math.texi (BSD Random): Specify range upper bound as
45538 in POSIX.
45539
45540 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
45541
45542 * locale/iso-639.def: Add Meadow Mari (mhr).
45543
45544 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
45545
45546 [BZ #14752], [BZ #15763]
45547 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
45548 Validate name.
45549 * rt/tst_shm.c: Add test for escaping directory.
45550
45551 2013-10-31 Andreas Schwab <schwab@suse.de>
45552
45553 [BZ #15917]
45554 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
45555 followed by 'x' as part of digit sequence.
45556 * stdio-common/tst-sscanf.c (double_tests2): New tests.
45557
45558 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
45559
45560 [BZ #16037]
45561 * configure.ac: allow GNU Make 4.0 and greater.
45562 * configure: Regenerated.
45563
45564 2013-10-30 Will Newton <will.newton@linaro.org>
45565
45566 [BZ #16038]
45567 * malloc/hooks.c (memalign_check): Limit alignment to the
45568 maximum representable power of two.
45569 * malloc/malloc.c (__libc_memalign): Likewise.
45570 * malloc/tst-memalign.c (do_test): Add test for very
45571 large alignment values.
45572 * malloc/tst-posix_memalign.c (do_test): Likewise.
45573
45574 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
45575
45576 [BZ #11087]
45577 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
45578 (munmap_chunk): Likewise.
45579 (mremap_chunk): Likewise.
45580
45581 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
45582
45583 [BZ #15799]
45584 * stdlib/div.c (div): Remove obsolete code.
45585 * stdlib/ldiv.c (ldiv): Likewise.
45586 * stdlib/lldiv.c (lldiv): Likewise.
45587
45588 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
45589
45590 [BZ #16071]
45591 * nss/nss_files/files-XXX.c (get_contents_ret): New
45592 enumerator.
45593 (get_contents): New function.
45594 (internal_getent): Use it. Expand size of LINEBUFLEN.
45595
45596 2013-10-30 Mike Frysinger <vapier@gentoo.org>
45597
45598 * configure.in: Moved to ...
45599 * configure.ac: ... here. Change reference to configure.in
45600 to configure.ac.
45601 * sysdeps/arm/preconfigure.ac: ... here.
45602 configure.in to configure.ac.
45603 * sysdeps/gnu/configure.in: Moved to ...
45604 * sysdeps/gnu/configure.ac: ... here.
45605 * sysdeps/i386/configure.in: Moved to ...
45606 * sysdeps/i386/configure.ac: ... here.
45607 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
45608 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
45609 * sysdeps/mach/configure.in: Moved to ...
45610 * sysdeps/mach/configure.ac: ... here.
45611 * sysdeps/mach/hurd/configure.in: Moved to ...
45612 * sysdeps/mach/hurd/configure.ac: ... here.
45613 * sysdeps/powerpc/configure.in: Moved to ...
45614 * sysdeps/powerpc/configure.ac: ... here.
45615 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
45616 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
45617 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
45618 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
45619 * sysdeps/s390/s390-32/configure.in: Moved to ...
45620 * sysdeps/s390/s390-32/configure.ac: ... here.
45621 * sysdeps/s390/s390-64/configure.in: Moved to ...
45622 * sysdeps/s390/s390-64/configure.ac: ... here.
45623 * sysdeps/sh/configure.in: Moved to ...
45624 * sysdeps/sh/configure.ac: ... here.
45625 * sysdeps/sparc/configure.in: Moved to ...
45626 * sysdeps/sparc/configure.ac: ... here.
45627 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
45628 * sysdeps/unix/sysv/linux/configure.ac: ... here.
45629 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
45630 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
45631 * sysdeps/x86_64/configure.in: Moved to ...
45632 * sysdeps/x86_64/configure.ac: ... here.
45633 * sysdeps/x86_64/preconfigure.in: Moved to ...
45634 * sysdeps/x86_64/preconfigure.ac: ... here.
45635 * aclocal.m4: Change reference to configure.in to configure.ac.
45636 * config.h.in: Likewise.
45637 * manual/install.texi: Likewise.
45638 * manual/maint.texi: Likewise.
45639 * Makefile: Likewise.
45640 * malloc/Makefile: Likewise.
45641 * nscd/Makefile: Likewise.
45642 * Makeconfig: Change reference to configure.in and
45643 preconfigure.in to configure.ac and preconfigure.ac
45644 respectively.
45645 * INSTALL: Regenerated.
45646 * configure: Likewise.
45647 * sysdeps/gnu/configure: Likewise.
45648 * sysdeps/i386/configure: Likewise.
45649 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
45650 * sysdeps/mach/configure: Likewise.
45651 * sysdeps/mach/hurd/configure: Likewise.
45652 * sysdeps/powerpc/configure: Likewise.
45653 * sysdeps/powerpc/powerpc32/configure: Likewise.
45654 * sysdeps/powerpc/powerpc64/configure: Likewise.
45655 * sysdeps/s390/s390-32/configure: Likewise.
45656 * sysdeps/s390/s390-64/configure: Likewise.
45657 * sysdeps/sh/configure: Likewise.
45658 * sysdeps/sparc/configure: Likewise.
45659 * sysdeps/unix/sysv/linux/configure: Likewise.
45660 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
45661 * sysdeps/x86_64/configure: Likewise.
45662 * sysdeps/x86_64/preconfigure: Likewise.
45663
45664 2013-10-29 Andreas Schwab <schwab@suse.de>
45665
45666 * stdio-common/Makefile (tst-swscanf-ENV): Define.
45667
45668 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
45669
45670 * benchtests/pow-inputs: Add new inputs.
45671
45672 * benchtests/exp-inputs: Add new inputs.
45673
45674 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
45675 conditional check for return value.
45676 (__cos32): Likewise.
45677
45678 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45679
45680 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
45681 to provide a boost for large inputs with word alignment.
45682 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
45683 implementation based on optimized PPC64 strcpy.
45684 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
45685 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
45686 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
45687 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
45688
45689 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
45690
45691 [BZ #2801]
45692 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
45693
45694 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
45695
45696 [BZ #14876]
45697 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
45698 * time/tst-strptime.c (day_tests): Add testcase.
45699
45700 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
45701
45702 [BZ #14029]
45703 * manual/pattern.texi: Acknowledge that fnmatch can fail.
45704
45705 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
45706
45707 [BZ #16074]
45708 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
45709 MAP_FAILED on error.
45710
45711 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
45712
45713 [BZ #16072]
45714 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
45715 heap for large requests.
45716
45717 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
45718
45719 [BZ #9954]
45720 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
45721 result if the result has no associated interface.
45722 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
45723 interface for all 127.X.Y.Z addresses.
45724
45725 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
45726
45727 * locale/iso-639.def: Add Ligurian (lij)
45728
45729 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
45730
45731 [BZ #15825]
45732 * sunrpc/rpc_main.c: Document rpcgen -5.
45733
45734 2013-10-19 Michael Stahl <mstahl@redhat.com>
45735
45736 * elf/rtld.c (do_preload): Print the reason why preloading failed.
45737
45738 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
45739
45740 [BZ #10278]
45741 * posix/glob.c: Match only directories when trailing slash is present.
45742 * posix/tst-gnuglob.c (my_opendir): Do not open files.
45743 (main): Add testcase.
45744
45745 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
45746
45747 [BZ #15670]
45748 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
45749
45750 2013-10-18 Carlos O'Donell <carlos@redhat.com>
45751
45752 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
45753 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
45754 AUTH_DES and cindex for FIPS 140-2.
45755 (DES Encryption): Add cindex FIPS 46-3.
45756
45757 * locale/locarchive.h (struct locarhandle): Add fname.
45758 * locale/programs/localedef.c (main): Pass ARGV[remaining]
45759 if an optional argument was specified to --list-archive,
45760 otherwise NULL.
45761 * locale/programs/locarchive.c (show_archive_content): Take new
45762 argument fname and pass it via ah.fname to open_archive.
45763 * locale/programs/localedef.h: Update decl.
45764 (open_archive): If AH->fname is non-null, open that file
45765 rather than the default file name, and don't ignore ENOENT.
45766 (create_archive): Set AH.fname to NULL.
45767 (delete_locales_from_archive): Likewise.
45768 (add_locales_to_archive): Likewise.
45769 * locale/programs/locfile.c (write_all_categories): Likewise.
45770
45771 2013-10-18 Joseph Myers <joseph@codesourcery.com>
45772 Aldy Hernandez <aldyh@redhat.com>
45773
45774 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
45775 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
45776 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
45777 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
45778 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
45779 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
45780 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
45781 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
45782 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
45783 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
45784 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
45785 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
45786 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
45787 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
45788 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
45789 Likewise.
45790 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
45791 Likewise.
45792 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
45793 Likewise.
45794 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
45795 Likewise.
45796 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
45797 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
45798 Likewise.
45799 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
45800 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
45801 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
45802 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
45803 Likewise.
45804 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
45805 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
45806 * sysdeps/powerpc/preconfigure: Likewise.
45807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
45808 Likewise.
45809 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
45810 Replace contents of file by #include of <fenv_libc.h>.
45811 * sysdeps/powerpc/soft-fp/sfp-machine.h
45812 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
45813 and <sys/prctl.h>.
45814 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
45815 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
45816 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
45817 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
45818 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
45819 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
45820 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
45821 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
45822 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
45823 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
45824 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
45825 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
45826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
45827 Allow copysignl PLT reference to be missing.
45828
45829 2013-10-18 Richard Sandiford <richard@codesourcery.com>
45830 Joseph Myers <joseph@codesourcery.com
45831
45832 [BZ #15948]
45833 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
45834 single character.
45835 (add_to_tablewc): Assert sequence of wide characters is nonempty.
45836
45837 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
45838
45839 * elf/tst-tls-dlinfo.c: Don't include tls.h.
45840 * elf/tst-tls1.c: Likewise.
45841 * elf/tst-tls10.h: Likewise.
45842 * elf/tst-tls14.c: Likewise.
45843 * elf/tst-tls2.c: Likewise.
45844 * elf/tst-tls3.c: Likewise.
45845 * elf/tst-tls4.c: Likewise.
45846 * elf/tst-tls5.c: Likewise.
45847 * elf/tst-tls6.c: Likewise.
45848 * elf/tst-tls7.c: Likewise.
45849 * elf/tst-tls8.c: Likewise.
45850 * elf/tst-tls9.c: Likewise.
45851 * elf/tst-tlsmod1.c: Likewise.
45852 * elf/tst-tlsmod13.c: Likewise.
45853 * elf/tst-tlsmod13a.c: Likewise.
45854 * elf/tst-tlsmod14a.c: Likewise.
45855 * elf/tst-tlsmod16a.c: Likewise.
45856 * elf/tst-tlsmod16b.c: Likewise.
45857 * elf/tst-tlsmod2.c: Likewise.
45858 * elf/tst-tlsmod3.c: Likewise.
45859 * elf/tst-tlsmod4.c: Likewise.
45860 * elf/tst-tlsmod5.c: Likewise.
45861 * elf/tst-tlsmod6.c: Likewise.
45862
45863 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
45864
45865 [BZ #12486]
45866 * malloc/malloc.c: remove checks for statistics.
45867
45868 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
45869
45870 [BZ #15277]
45871 * inet/inet_net.c (inet_network): Detect additional invalid strings.
45872 * inet/tst-network.c: Add testcase.
45873
45874 2013-10-17 Andreas Schwab <schwab@suse.de>
45875
45876 [BZ #15218]
45877 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
45878 to determine canonical name.
45879
45880 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
45881
45882 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
45883 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
45884 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45885 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45886 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45887 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45888 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45889 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45890 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
45891 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45892 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
45893 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45894 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45895 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45896 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45897 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45898 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45899 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45900 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
45901 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45902 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45903 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45904 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45905 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
45906 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
45907 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
45908 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
45909 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
45910 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
45911 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
45912 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45913 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45914 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
45915 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
45916 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
45917 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45918 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45919 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
45920 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
45921 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45922 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
45923 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
45924 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
45925 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
45926 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
45927 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45928 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
45929 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
45930 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
45931 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
45932 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
45933 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
45934 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
45935 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
45936 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45937 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
45938 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45939 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
45940
45941 2013-10-17 Joseph Myers <joseph@codesourcery.com>
45942
45943 [BZ #16041]
45944 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
45945 make result into a quiet NaN.
45946
45947 2013-10-16 Joseph Myers <joseph@codesourcery.com>
45948
45949 * soft-fp/adddf3.c: Fix horizontal whitespace.
45950 * soft-fp/addsf3.c: Likewise.
45951 * soft-fp/addtf3.c: Likewise.
45952 * soft-fp/divdf3.c: Likewise.
45953 * soft-fp/divsf3.c: Likewise.
45954 * soft-fp/divtf3.c: Likewise.
45955 * soft-fp/double.h: Likewise.
45956 * soft-fp/eqdf2.c: Likewise.
45957 * soft-fp/eqsf2.c: Likewise.
45958 * soft-fp/eqtf2.c: Likewise.
45959 * soft-fp/extenddftf2.c: Likewise.
45960 * soft-fp/extended.h: Likewise.
45961 * soft-fp/extendsfdf2.c: Likewise.
45962 * soft-fp/extendsftf2.c: Likewise.
45963 * soft-fp/extendxftf2.c: Likewise.
45964 * soft-fp/fixdfdi.c: Likewise.
45965 * soft-fp/fixdfsi.c: Likewise.
45966 * soft-fp/fixdfti.c: Likewise.
45967 * soft-fp/fixsfdi.c: Likewise.
45968 * soft-fp/fixsfsi.c: Likewise.
45969 * soft-fp/fixsfti.c: Likewise.
45970 * soft-fp/fixtfdi.c: Likewise.
45971 * soft-fp/fixtfsi.c: Likewise.
45972 * soft-fp/fixtfti.c: Likewise.
45973 * soft-fp/fixunsdfdi.c: Likewise.
45974 * soft-fp/fixunsdfsi.c: Likewise.
45975 * soft-fp/fixunsdfti.c: Likewise.
45976 * soft-fp/fixunssfdi.c: Likewise.
45977 * soft-fp/fixunssfsi.c: Likewise.
45978 * soft-fp/fixunssfti.c: Likewise.
45979 * soft-fp/fixunstfdi.c: Likewise.
45980 * soft-fp/fixunstfsi.c: Likewise.
45981 * soft-fp/fixunstfti.c: Likewise.
45982 * soft-fp/floatdidf.c: Likewise.
45983 * soft-fp/floatdisf.c: Likewise.
45984 * soft-fp/floatditf.c: Likewise.
45985 * soft-fp/floatsidf.c: Likewise.
45986 * soft-fp/floatsisf.c: Likewise.
45987 * soft-fp/floatsitf.c: Likewise.
45988 * soft-fp/floattidf.c: Likewise.
45989 * soft-fp/floattisf.c: Likewise.
45990 * soft-fp/floattitf.c: Likewise.
45991 * soft-fp/floatundidf.c: Likewise.
45992 * soft-fp/floatundisf.c: Likewise.
45993 * soft-fp/floatunditf.c: Likewise.
45994 * soft-fp/floatunsidf.c: Likewise.
45995 * soft-fp/floatunsisf.c: Likewise.
45996 * soft-fp/floatunsitf.c: Likewise.
45997 * soft-fp/floatuntidf.c: Likewise.
45998 * soft-fp/floatuntisf.c: Likewise.
45999 * soft-fp/floatuntitf.c: Likewise.
46000 * soft-fp/fmadf4.c: Likewise.
46001 * soft-fp/fmasf4.c: Likewise.
46002 * soft-fp/fmatf4.c: Likewise.
46003 * soft-fp/gedf2.c: Likewise.
46004 * soft-fp/gesf2.c: Likewise.
46005 * soft-fp/getf2.c: Likewise.
46006 * soft-fp/ledf2.c: Likewise.
46007 * soft-fp/lesf2.c: Likewise.
46008 * soft-fp/letf2.c: Likewise.
46009 * soft-fp/muldf3.c: Likewise.
46010 * soft-fp/mulsf3.c: Likewise.
46011 * soft-fp/multf3.c: Likewise.
46012 * soft-fp/negdf2.c: Likewise.
46013 * soft-fp/negsf2.c: Likewise.
46014 * soft-fp/negtf2.c: Likewise.
46015 * soft-fp/op-1.h: Likewise.
46016 * soft-fp/op-2.h: Likewise.
46017 * soft-fp/op-4.h: Likewise.
46018 * soft-fp/op-8.h: Likewise.
46019 * soft-fp/op-common.h: Likewise.
46020 * soft-fp/quad.h: Likewise.
46021 * soft-fp/single.h: Likewise.
46022 * soft-fp/soft-fp.h: Likewise.
46023 * soft-fp/sqrtdf2.c: Likewise.
46024 * soft-fp/sqrtsf2.c: Likewise.
46025 * soft-fp/sqrttf2.c: Likewise.
46026 * soft-fp/subdf3.c: Likewise.
46027 * soft-fp/subsf3.c: Likewise.
46028 * soft-fp/subtf3.c: Likewise.
46029 * soft-fp/truncdfsf2.c: Likewise.
46030 * soft-fp/trunctfdf2.c: Likewise.
46031 * soft-fp/trunctfsf2.c: Likewise.
46032 * soft-fp/trunctfxf2.c: Likewise.
46033 * soft-fp/unorddf2.c: Likewise.
46034 * soft-fp/unordsf2.c: Likewise.
46035 * soft-fp/unordtf2.c: Likewise.
46036
46037 2013-10-15 Joseph Myers <joseph@codesourcery.com>
46038
46039 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
46040 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
46041
46042 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
46043
46044 * elf/dl-libc.c: Clear initfini list after freeing.
46045
46046 2013-10-14 Joseph Myers <joseph@codesourcery.com>
46047
46048 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
46049 * soft-fp/addsf3.c: Likewise.
46050 * soft-fp/addtf3.c: Likewise.
46051 * soft-fp/divdf3.c: Likewise.
46052 * soft-fp/divsf3.c: Likewise.
46053 * soft-fp/divtf3.c: Likewise.
46054 * soft-fp/double.h: Likewise.
46055 * soft-fp/eqdf2.c: Likewise.
46056 * soft-fp/eqsf2.c: Likewise.
46057 * soft-fp/eqtf2.c: Likewise.
46058 * soft-fp/extenddftf2.c: Likewise.
46059 * soft-fp/extended.h: Likewise.
46060 * soft-fp/extendsfdf2.c: Likewise.
46061 * soft-fp/extendsftf2.c: Likewise.
46062 * soft-fp/extendxftf2.c: Likewise.
46063 * soft-fp/fixdfdi.c: Likewise.
46064 * soft-fp/fixdfsi.c: Likewise.
46065 * soft-fp/fixdfti.c: Likewise.
46066 * soft-fp/fixsfdi.c: Likewise.
46067 * soft-fp/fixsfsi.c: Likewise.
46068 * soft-fp/fixsfti.c: Likewise.
46069 * soft-fp/fixtfdi.c: Likewise.
46070 * soft-fp/fixtfsi.c: Likewise.
46071 * soft-fp/fixtfti.c: Likewise.
46072 * soft-fp/fixunsdfdi.c: Likewise.
46073 * soft-fp/fixunsdfsi.c: Likewise.
46074 * soft-fp/fixunsdfti.c: Likewise.
46075 * soft-fp/fixunssfdi.c: Likewise.
46076 * soft-fp/fixunssfsi.c: Likewise.
46077 * soft-fp/fixunssfti.c: Likewise.
46078 * soft-fp/fixunstfdi.c: Likewise.
46079 * soft-fp/fixunstfsi.c: Likewise.
46080 * soft-fp/fixunstfti.c: Likewise.
46081 * soft-fp/floatdidf.c: Likewise.
46082 * soft-fp/floatdisf.c: Likewise.
46083 * soft-fp/floatditf.c: Likewise.
46084 * soft-fp/floatsidf.c: Likewise.
46085 * soft-fp/floatsisf.c: Likewise.
46086 * soft-fp/floatsitf.c: Likewise.
46087 * soft-fp/floattidf.c: Likewise.
46088 * soft-fp/floattisf.c: Likewise.
46089 * soft-fp/floattitf.c: Likewise.
46090 * soft-fp/floatundidf.c: Likewise.
46091 * soft-fp/floatundisf.c: Likewise.
46092 * soft-fp/floatunsidf.c: Likewise.
46093 * soft-fp/floatunsisf.c: Likewise.
46094 * soft-fp/floatuntidf.c: Likewise.
46095 * soft-fp/floatuntisf.c: Likewise.
46096 * soft-fp/floatuntitf.c: Likewise.
46097 * soft-fp/fmadf4.c: Likewise.
46098 * soft-fp/fmasf4.c: Likewise.
46099 * soft-fp/fmatf4.c: Likewise.
46100 * soft-fp/gedf2.c: Likewise.
46101 * soft-fp/gesf2.c: Likewise.
46102 * soft-fp/getf2.c: Likewise.
46103 * soft-fp/ledf2.c: Likewise.
46104 * soft-fp/lesf2.c: Likewise.
46105 * soft-fp/letf2.c: Likewise.
46106 * soft-fp/muldf3.c: Likewise.
46107 * soft-fp/mulsf3.c: Likewise.
46108 * soft-fp/multf3.c: Likewise.
46109 * soft-fp/negdf2.c: Likewise.
46110 * soft-fp/negsf2.c: Likewise.
46111 * soft-fp/negtf2.c: Likewise.
46112 * soft-fp/op-1.h: Likewise.
46113 * soft-fp/op-2.h: Likewise.
46114 * soft-fp/op-4.h: Likewise.
46115 * soft-fp/op-8.h: Likewise.
46116 * soft-fp/op-common.h: Likewise.
46117 * soft-fp/quad.h: Likewise.
46118 * soft-fp/single.h: Likewise.
46119 * soft-fp/soft-fp.h: Likewise.
46120 * soft-fp/sqrtdf2.c: Likewise.
46121 * soft-fp/sqrtsf2.c: Likewise.
46122 * soft-fp/sqrttf2.c: Likewise.
46123 * soft-fp/subdf3.c: Likewise.
46124 * soft-fp/subsf3.c: Likewise.
46125 * soft-fp/subtf3.c: Likewise.
46126 * soft-fp/truncdfsf2.c: Likewise.
46127 * soft-fp/trunctfdf2.c: Likewise.
46128 * soft-fp/trunctfsf2.c: Likewise.
46129 * soft-fp/trunctfxf2.c: Likewise.
46130 * soft-fp/unorddf2.c: Likewise.
46131 * soft-fp/unordsf2.c: Likewise.
46132 * soft-fp/unordtf2.c: Likewise.
46133
46134 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
46135
46136 [BZ #15672]
46137 * misc/error.c (error_tail): Fix possible buffer overflow.
46138
46139 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
46140
46141 [BZ #13028]
46142 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
46143 address.
46144
46145 2013-10-14 P. J. McDermott <pj@pehjota.net>
46146
46147 [BZ #832]
46148 * elf/ldd.bash.in (try_trace): New function. Delete previous code
46149 testing pipefail option.
46150
46151 2013-10-12 Joseph Myers <joseph@codesourcery.com>
46152
46153 * soft-fp/double.h: Indent preprocessor directives inside #if.
46154 * soft-fp/extended.h: Likewise.
46155 * soft-fp/op-2.h: Likewise.
46156 * soft-fp/op-4.h: Likewise.
46157 * soft-fp/op-common.h: Likewise.
46158 * soft-fp/quad.h: Likewise.
46159 * soft-fp/single.h: Likewise.
46160 * soft-fp/soft-fp.h: Likewise.
46161
46162 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
46163
46164 * iconv/iconv_prog.c: Fix typos.
46165 * stdio-common/psiginfo-data.h: Likewise.
46166
46167 2013-10-12 Reuben Thomas <rrt@sc3d.org>
46168
46169 [BZ #15764]
46170 * locale/setlocale.c: Fix typo.
46171
46172 2013-10-12 Joseph Myers <joseph@codesourcery.com>
46173
46174 [BZ #16036]
46175 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
46176 signaling NaN arguments.
46177 * soft-fp/unordsf2.c (__unordsf2): Likewise.
46178 * soft-fp/unordtf2.c (__unordtf2): Likewise.
46179
46180 [BZ #14910]
46181 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
46182 unordered operands.
46183 * soft-fp/gesf2.c (__gesf2): Likewise.
46184 * soft-fp/getf2.c (__getf2): Likewise.
46185 * soft-fp/ledf2.c (__ledf2): Likewise.
46186 * soft-fp/lesf2.c (__lesf2): Likewise.
46187 * soft-fp/letf2.c (__letf2): Likewise.
46188
46189 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
46190 * soft-fp/eqsf2.c (__eqsf2): Likewise.
46191 * soft-fp/eqtf2.c (__eqtf2): Likewise.
46192 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
46193 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
46194 * soft-fp/fixdfti.c (__fixdfti): Likewise.
46195 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
46196 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
46197 * soft-fp/fixsfti.c (__fixsfti): Likewise.
46198 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
46199 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
46200 * soft-fp/fixtfti.c (__fixtfti): Likewise.
46201 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
46202 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
46203 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
46204 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
46205 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
46206 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
46207 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
46208 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
46209 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
46210 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
46211 * soft-fp/floatdisf.c (__floatdisf): Likewise.
46212 * soft-fp/floatsisf.c (__floatsisf): Likewise.
46213 * soft-fp/floattidf.c (__floattidf): Likewise.
46214 * soft-fp/floattisf.c (__floattisf): Likewise.
46215 * soft-fp/floattitf.c (__floattitf): Likewise.
46216 * soft-fp/floatundidf.c (__floatundidf): Likewise.
46217 * soft-fp/floatundisf.c (__floatundisf): Likewise.
46218 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
46219 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
46220 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
46221 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
46222 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
46223 * soft-fp/gesf2.c (__gesf2): Likewise.
46224 * soft-fp/getf2.c (__getf2): Likewise.
46225 * soft-fp/ledf2.c (__ledf2): Likewise.
46226 * soft-fp/lesf2.c (__lesf2): Likewise.
46227 * soft-fp/letf2.c (__letf2): Likewise.
46228
46229 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
46230 Undefine and redefine.
46231 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
46232 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
46233 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
46234 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
46235 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46236 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
46237 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46238 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
46239 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46240 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
46241 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46242 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
46243 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46244 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
46245 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46246
46247 [BZ #16032]
46248 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
46249 without decrementing exponent if mantissa >= that for the
46250 denominator, not >.
46251 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
46252 denominator, not >. Decrement exponent in < case instead of
46253 incrementing in >= case.
46254 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
46255 without decrementing exponent if mantissa >= that for the
46256 denominator, not >.
46257
46258 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
46259 computing saturated result for unsigned overflow.
46260
46261 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
46262 Jeff Law <law@redhat.com>
46263
46264 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
46265 (atan2Mp): Add systemtap probe marker.
46266 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
46267 (__ieee754_log): Add systemtap probe marker.
46268 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
46269 (atanMp): Add systemtap probe marker.
46270 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
46271 (tanMp): Add systemtap probe marker.
46272 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
46273 (__slowexp): Add systemtap probe marker.
46274 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
46275 (__slowpow): Add systemtap probe marker.
46276 * manual/probes.texi: Document probes.
46277
46278 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
46279
46280 [BZ #15362]
46281 * libio/fileops.c (_IO_new_file_write): Return count of bytes
46282 written.
46283 (_IO_new_file_xsputn): Don't return EOF if nothing has been
46284 written.
46285 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
46286 written to buffer but not flushed.
46287 * libio/iofwrite_u.c: Likewise.
46288 * libio/iopadn.c: Return bytes returned even if EOF was
46289 encountered.
46290 * libio/iowpadn.c: Likewise.
46291 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
46292 if _IO_padn does not write the whole buffer.
46293 [!COMPILE_WPRINTF] (PAD): Likewise.
46294
46295 2013-10-10 David S. Miller <davem@davemloft.net>
46296
46297 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
46298 directory block.
46299
46300 2013-10-10 Joseph Myers <joseph@codesourcery.com>
46301
46302 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
46303 instead of FSF address.
46304 * soft-fp/fixdfti.c: Likewise.
46305 * soft-fp/fixsfti.c: Likewise.
46306 * soft-fp/fixtfti.c: Likewise.
46307 * soft-fp/fixunsdfti.c: Likewise.
46308 * soft-fp/fixunssfti.c: Likewise.
46309 * soft-fp/fixunstfti.c: Likewise.
46310 * soft-fp/floattidf.c: Likewise.
46311 * soft-fp/floattisf.c: Likewise.
46312 * soft-fp/floattitf.c: Likewise.
46313 * soft-fp/floatuntidf.c: Likewise.
46314 * soft-fp/floatuntisf.c: Likewise.
46315 * soft-fp/floatuntitf.c: Likewise.
46316 * soft-fp/trunctfxf2.c: Likewise.
46317
46318 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
46319 * soft-fp/fixdfti.c: Likewise.
46320 * soft-fp/fixsfti.c: Likewise.
46321 * soft-fp/fixtfti.c: Likewise.
46322 * soft-fp/fixunsdfti.c: Likewise.
46323 * soft-fp/fixunssfti.c: Likewise.
46324 * soft-fp/fixunstfti.c: Likewise.
46325 * soft-fp/floattidf.c: Likewise.
46326 * soft-fp/floattisf.c: Likewise.
46327 * soft-fp/floattitf.c: Likewise.
46328 * soft-fp/floatuntidf.c: Likewise.
46329 * soft-fp/floatuntisf.c: Likewise.
46330 * soft-fp/floatuntitf.c: Likewise.
46331 * soft-fp/trunctfxf2.c: Likewise.
46332
46333 2013-10-10 David S. Miller <davem@davemloft.net>
46334
46335 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46336
46337 2013-10-10 Joseph Myers <joseph@codsourcery.com>
46338
46339 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
46340 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
46341 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
46342 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
46343 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
46344 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
46345 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
46346
46347 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
46348 for NaNs before doing comparisons on argument.
46349 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
46350 Likewise.
46351
46352 2013-10-10 Will Newton <will.newton@linaro.org>
46353
46354 * malloc/hooks.c (memalign_check): Ensure the value of bytes
46355 passed to _int_memalign does not overflow.
46356
46357 2013-10-10 Torvald Riegel <triegel@redhat.com>
46358
46359 * scripts/bench.pl: Add include-sources directive.
46360 * benchtests/README: Update documentation.
46361
46362 2013-10-10 Joseph Myers <joseph@codesourcery.com>
46363
46364 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
46365 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
46366 instead of FP_INIT_ROUNDMODE.
46367 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
46368 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
46369
46370 [BZ #16034]
46371 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
46372 copy class of input value.
46373 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
46374 not handle exceptions.
46375 * soft-fp/negsf2.c (__negsf2): Likewise.
46376 * soft-fp/negtf2.c (__negtf2): Likewise.
46377 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
46378
46379 2013-10-09 Joseph Myers <joseph@codesourcery.com>
46380
46381 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
46382 semicolon. From Linux kernel.
46383
46384 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
46385
46386 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
46387
46388 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
46389
46390 [BZ #156]
46391 * manual/socket.texi: Added statement about buffer
46392 for gethostbyname2_r.
46393
46394 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
46395
46396 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
46397 Use .p2align directive instead, throughout.
46398 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
46399 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
46400 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
46401 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
46402 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
46403 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
46404 * sysdeps/x86_64/strchr.S: Likewise.
46405 * sysdeps/x86_64/strrchr.S: Likewise.
46406
46407 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
46408
46409 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
46410
46411 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
46412
46413 * sysdeps/generic/math_private.h (__mpsin1): Remove
46414 declaration.
46415 (__mpcos1): Likewise.
46416 (__mpsin): New argument __range_reduce.
46417 (__mpcos): Likewise.
46418 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46419 (slow): Use __mpsin and __mpcos.
46420 (slow1): Likewise.
46421 (slow2): Likewise.
46422 (sloww): Likewise.
46423 (sloww1): Likewise.
46424 (sloww2): Likewise.
46425 (bsloww): Likewise.
46426 (bsloww1): Likewise.
46427 (bsloww2): Likewise.
46428 (cslow2): Likewise.
46429 (csloww): Likewise.
46430 (csloww1): Likewise.
46431 (csloww2): Likewise.
46432 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
46433 range_reduce. Merge in __mpsin1.
46434 (__mpcos): Likewise.
46435 (__mpsin1): Remove.
46436 (__mpcos1): Likewise.
46437
46438 2013-10-07 Joseph Myers <joseph@codesourcery.com>
46439
46440 * locale/loadlocale.c (_nl_intern_locale_data): Use
46441 LOCFILE_ALIGNED_P.
46442 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
46443 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
46444 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
46445 obstack data is appropriately aligned.
46446 (obstack_int32_grow_fast): Likewise.
46447 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
46448 * locale/programs/locfile.c (add_locale_uint32): Likewise.
46449 (add_locale_uint32_array): Likewise.
46450
46451 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
46452
46453 * benchtests/Makefile: Remove ARGLIST and RET variables.
46454 ($(objpfx)bench-%.c): Pass only function name to the script.
46455 * benchtests/README: Update documentation.
46456 * benchtests/acos-inputs: Add new directives.
46457 * benchtests/acosh-inputs: Likewise.
46458 * benchtests/asin-inputs: Likewise.
46459 * benchtests/asinh-inputs: Likewise.
46460 * benchtests/atan-inputs: Likewise.
46461 * benchtests/atanh-inputs: Likewise.
46462 * benchtests/cos-inputs: Likewise.
46463 * benchtests/cosh-inputs: Likewise.
46464 * benchtests/exp-inputs: Likewise.
46465 * benchtests/log-inputs: Likewise.
46466 * benchtests/pow-inputs: Likewise.
46467 * benchtests/rint-inputs: Likewise.
46468 * benchtests/sin-inputs: Likewise.
46469 * benchtests/sinh-inputs: Likewise.
46470 * benchtests/tan-inputs: Likewise.
46471 * benchtests/tanh-inputs: Likewise.
46472 * scripts/bench.pl: Add support for new directives.
46473
46474 2013-10-07 Alan Modra <amodra@gmail.com>
46475
46476 * README: Fix careless merge.
46477
46478 2013-10-05 Alan Modra <amodra@gmail.com>
46479
46480 * NEWS: Mention powerpc64le support and bugs fixed.
46481 * README: Both big-endian and little-endian powerpc64 supported.
46482
46483 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
46484
46485 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
46486 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
46487 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
46488 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
46489
46490 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
46491
46492 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
46493 match prototype.
46494
46495 2013-10-04 Joseph Myers <joseph@codesourcery.com>
46496
46497 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
46498 Move -mhard-float appending from
46499 ports/sysdeps/powerpc/powerpc32/Makefile.
46500 [$(with-fp) = yes] (ASFLAGS): Likewise.
46501 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
46502 * sysdeps/powerpc/nofpu: Move directory from
46503 ports/sysdeps/powerpc/nofpu.
46504 * sysdeps/powerpc/soft-fp: Move directory from
46505 ports/sysdeps/powerpc/soft-fp.
46506 * sysdeps/powerpc/powerpc32/405: Move directory from
46507 ports/sysdeps/powerpc/powerpc32/405.
46508 * sysdeps/powerpc/powerpc32/440: Move directory from
46509 ports/sysdeps/powerpc/powerpc32/440.
46510 * sysdeps/powerpc/powerpc32/464: Move directory from
46511 ports/sysdeps/powerpc/powerpc32/464.
46512 * sysdeps/powerpc/powerpc32/476: Move directory from
46513 ports/sysdeps/powerpc/powerpc32/476.
46514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
46515 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
46516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
46517 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
46518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
46519 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
46520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
46521 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
46522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
46523 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
46524 * README: Update for powerpc-*-linux-gnu software floating point
46525 support in libc.
46526
46527 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
46528 case to powerpc/powerpc32*.
46529 * sysdeps/unix/sysv/linux/configure: Regenerated.
46530
46531 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
46532 (_FPU_MASK_OM): Define as 0x04.
46533 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
46534 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
46535 0x00c10080.
46536 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
46537 0x0000003c.
46538 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
46539
46540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
46541 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
46542 getcontext_e500.
46543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
46544 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
46545 setcontext_e500.
46546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
46547 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
46548 and setcontext_e500.
46549
46550 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
46551
46552 * locale/iso-3166.def: Update iso-1366.def and related occurrences
46553
46554 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
46555
46556 * manual/threads.texi (Default Thread Attributes): Fix typo.
46557
46558 2013-10-04 Will Newton <will.newton@linaro.org>
46559
46560 * malloc/Makefile: Add tst-memalign.
46561 * malloc/tst-memalign.c: New file.
46562
46563 * malloc/tst-posix_memalign.c: Add comments.
46564 (do_test): Add comments and call free on all potentially
46565 allocated pointers. Add space after cast.
46566
46567 * malloc/tst-pvalloc.c: Add comments.
46568 (do_test): Add comments and call free on all potentially
46569 allocated pointers. Remove duplicate check for NULL pointer.
46570 Add space after cast.
46571
46572 * malloc/tst-valloc.c: Add comments.
46573 (do_test): Add comments and call free on all potentially
46574 allocated pointers. Remove duplicate check for NULL pointer.
46575 Add space after cast.
46576
46577 2013-10-04 Alan Modra <amodra@gmail.com>
46578
46579 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
46580 Use stdint types in rather than __attribute__((mode())).
46581 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
46582
46583 2013-10-04 Alan Modra <amodra@gmail.com>
46584
46585 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
46586 Correct handling of unaligned relocs for little-endian.
46587 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
46588
46589 2013-10-04 Alan Modra <amodra@gmail.com>
46590
46591 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
46592 * configure: Regenerate.
46593 * nptl/shlib-versions: Powerpc*le starts at 2.18.
46594 * shlib-versions: Likewise.
46595
46596 2013-10-04 Alan Modra <amodra@gmail.com>
46597
46598 * string/tester.c (test_memrchr): Increment reported test cycle.
46599
46600 2013-10-04 Alan Modra <amodra@gmail.com>
46601
46602 * string/test-memcpy.c (do_one_test): When reporting errors, print
46603 string address and don't overrun end of string.
46604
46605 2013-10-04 Alan Modra <amodra@gmail.com>
46606
46607 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
46608 insrdi. Make better use of reg selection to speed exit slightly.
46609 Schedule entry path a little better. Remove useless "are we done"
46610 checks on entry to main loop. Handle wrapping around zero address.
46611 Correct main loop count. Handle single left-over word from main
46612 loop inline rather than by using loop_small. Remove extra word
46613 case in loop_small caused by wrong loop count. Add little-endian
46614 support.
46615 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
46616 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
46617 cache hint.
46618 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
46619 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
46620 support. Avoid rlwimi.
46621 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
46622
46623 2013-10-04 Alan Modra <amodra@gmail.com>
46624
46625 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
46626 insrdi. Formatting.
46627 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
46628 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
46629 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
46630 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
46631 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
46632 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
46633
46634 2013-10-04 Alan Modra <amodra@gmail.com>
46635
46636 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
46637 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
46638 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
46639 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
46640 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
46641 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
46642 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
46643 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
46644 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
46645 use of regs. Use power7 mtocrf. Tidy function tails.
46646
46647 2013-10-04 Alan Modra <amodra@gmail.com>
46648
46649 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
46650 Formatting. Consistently use rXXX register defines or rN defines.
46651 Use early exit labels that avoid restoring unused non-volatile regs.
46652 Make cr field use more consistent with rWORDn compares. Rename
46653 regs used as shift registers for unaligned loop, using rN defines
46654 for short lifetime/multiple use regs.
46655 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
46656 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
46657 addi 1,1,64 to pop stack frame. Simplify return value code.
46658 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
46659
46660 2013-10-04 Alan Modra <amodra@gmail.com>
46661
46662 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
46663 support. Correct typos, formatting. Optimize tail. Use insrdi
46664 rather than rlwimi.
46665 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
46666 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
46667 little-endian support. Correct typos.
46668 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
46669 rather than rlwimi.
46670 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
46671 in loop and entry code to keep "and." results.
46672 (strchr): Add little-endian support. Comment. Move cntlzd
46673 earlier in tail.
46674 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
46675
46676 2013-10-04 Alan Modra <amodra@gmail.com>
46677
46678 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
46679 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
46680 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
46681 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
46682
46683 2013-10-04 Alan Modra <amodra@gmail.com>
46684
46685 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
46686 (rTMP): Define as r11.
46687 (strcmp): Add little-endian support. Optimise tail.
46688 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
46689 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
46690 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
46691 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
46692 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
46693 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46694 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
46695
46696 2013-10-04 Alan Modra <amodra@gmail.com>
46697
46698 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
46699 little-endian support. Remove unnecessary "are we done" tests.
46700 Handle "s" wrapping around zero and extremely large "size".
46701 Correct main loop count. Handle single left-over word from main
46702 loop inline rather than by using small_loop. Correct comments.
46703 Delete "zero" tail, use "end_max" instead.
46704 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
46705
46706 2013-10-04 Alan Modra <amodra@gmail.com>
46707
46708 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
46709 support. Don't branch over align.
46710 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
46711 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
46712 support. Rearrange tmp reg use to suit. Comment.
46713 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
46714
46715 2013-10-04 Alan Modra <amodra@gmail.com>
46716
46717 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
46718
46719 2013-10-04 Alan Modra <amodra@gmail.com>
46720
46721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
46722 conditional form of branch and link when obtaining pc.
46723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
46724
46725 2013-10-04 Alan Modra <amodra@gmail.com>
46726
46727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
46728 HIWORD/LOWORD.
46729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
46730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
46731
46732 2013-10-04 Alan Modra <amodra@gmail.com>
46733
46734 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
46735 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
46736 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
46737 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
46738 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
46739 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
46740 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
46741 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
46742 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
46743 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
46744
46745 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
46746 Alistair Popple <alistair@ozlabs.au.ibm.com>
46747 Alan Modra <amodra@gmail.com>
46748
46749 [BZ #15723]
46750 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
46751 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
46752 _dl_hwcap access for little-endian.
46753 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
46754 destroy vmx regs when saving unaligned.
46755 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
46756 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
46757 destroy vmx regs when saving unaligned.
46758
46759 2013-10-04 Alan Modra <amodra@gmail.com>
46760
46761 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
46762 Don't use a union to pack hi/low value.
46763
46764 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
46765
46766 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
46767 for little-endian.
46768 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
46769 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
46770 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
46771 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
46772 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
46773
46774 2013-10-04 Alan Modra <amodra@gmail.com>
46775
46776 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
46777 constants to usual value for .cst8 section, and remove redundant
46778 high address load.
46779 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
46780 constant for 0x1p52. Load little-endian words of double from
46781 correct stack offsets.
46782
46783 2013-10-04 Alan Modra <amodra@gmail.com>
46784
46785 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
46786 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
46787 words of double from correct stack offsets.
46788 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
46789 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
46790 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
46791 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
46792 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
46793 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
46794 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
46795 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
46796 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
46797 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
46798 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
46799 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
46800 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
46801 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
46802 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
46803 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
46804 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
46805
46806 2013-10-04 Alan Modra <amodra@gmail.com>
46807
46808 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
46809 64-bit int/double union.
46810 (_FPU_SETCW): Likewise.
46811 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
46812 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
46813
46814 2013-10-04 Alan Modra <amodra@gmail.com>
46815
46816 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
46817 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
46818
46819 2013-10-04 Alan Modra <amodra@gmail.com>
46820
46821 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
46822 use vector int constants.
46823 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
46824
46825 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
46826
46827 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
46828 array with long long.
46829 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
46830 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
46831 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
46832 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
46833 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
46834 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
46835 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
46836 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
46837 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
46838 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
46839 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
46840 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
46841 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
46842
46843 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
46844
46845 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
46846 (__signbit): Likewise. Correct for little-endian.
46847 (__signbitl): Call __signbit.
46848 (lrint): Correct for little-endian.
46849 (lrintf): Call lrint.
46850
46851 2013-10-04 Alan Modra <amodra@gmail.com>
46852
46853 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
46854 union 32-bit int array member with 64-bit int array.
46855 (t515, tm256): Double rather than long double.
46856 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
46857
46858 2013-10-04 Alan Modra <amodra@gmail.com>
46859
46860 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
46861 Delete.
46862 (IEEE854_LONG_DOUBLE_BIAS): Delete.
46863 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
46864 version of math_ldbl.h.
46865
46866 2013-10-04 Alan Modra <amodra@gmail.com>
46867
46868 [BZ #15734], [BZ #15735]
46869 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
46870 all uses of ieee875 long double macros and unions. Simplify test
46871 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
46872 ldbl_extract_mantissa value for ix,iy exponents. Properly
46873 normalize after ldbl_extract_mantissa, and don't add hidden bit
46874 already handled. Don't treat low word of ieee854 mantissa like
46875 low word of IBM long double and mask off bit when testing for
46876 zero.
46877 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
46878 all uses of ieee875 long double macros and unions. Simplify tests
46879 for 0.0L and inf. Correct double adjustment of k. Delete dead code
46880 adjusting ha,hb. Simplify code setting kld. Delete two600 and
46881 two1022, instead use their values. Recognise that tests for large
46882 "a" and small "b" are mutually exclusive. Rename vars. Comment.
46883 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
46884 Rewrite all uses of ieee875 long double macros and unions. Simplify
46885 test for 0.0L and nan. Correct negation.
46886 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
46887 ieee875 long double macros and unions. Correct output for large
46888 magnitude x. Correct absolute value calculation.
46889 (__erfcl): Likewise.
46890 * math/libm-test.inc: Add tests for errors discovered in IBM long
46891 double versions of fmodl, remainderl, erfl and erfcl.
46892
46893 2013-10-04 Alan Modra <amodra@gmail.com>
46894
46895 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
46896 all uses of ieee854 long double macros and unions. Simplify tests
46897 for long doubles that are fully specified by the high double.
46898 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
46899 Likewise.
46900 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
46901 Remove dead code too.
46902 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
46903 (__ieee754_ynl): Likewise.
46904 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
46905 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
46906 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
46907 Remove dead code too.
46908 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
46909 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
46910 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
46911 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
46912 Simplify.
46913 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
46914 Simplify.
46915 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
46916 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
46917 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
46918 Comment on variable precision.
46919 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
46920 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
46921 Likewise.
46922 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
46923 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
46924 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
46925 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
46926 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
46927
46928 2013-10-04 Alan Modra <amodra@gmail.com>
46929
46930 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
46931 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
46932 all uses of ieee854 long double macros and unions.
46933 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
46934 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
46935 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
46936 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
46937 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
46938 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
46939 Likewise.
46940 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
46941 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
46942 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
46943 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
46944 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
46945 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
46946 Simplify sign and nan test too.
46947 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
46948 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
46949 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
46950 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
46951 Likewise.
46952 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
46953 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
46954 Likewise.
46955 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46956 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
46957 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
46958 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
46959 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
46960 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
46961
46962 2013-10-04 Alan Modra <amodra@gmail.com>
46963
46964 * stdio-common/printf_size.c (__printf_size): Don't use
46965 union ieee854_long_double in fpnum union.
46966 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
46967 signbit macro to retrieve sign from long double.
46968 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
46969 retrieve sign from long double.
46970 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
46971 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
46972 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
46973 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
46974 * math/test-misc.c (main): Don't use union ieee854_long_double.
46975
46976 2013-10-04 Alan Modra <amodra@gmail.com>
46977
46978 [BZ #15680]
46979 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
46980 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
46981 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
46982 calculation. Remove unnecessary test for denormal exponent.
46983 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
46984 Correct handling of denormals. Avoid undefined shift behaviour.
46985 Correct normalisation of low mantissa when low double is denormal.
46986 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
46987 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
46988 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
46989 Correct normalisation of low mantissa. Test for overflow of high
46990 mantissa and normalise.
46991 (ldbl_nearbyint): Use more readable constant for two52.
46992 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
46993 (__mpn_construct_long_double): Fix test for overflow of high
46994 mantissa and correct normalisation. Avoid undefined shift.
46995
46996 2013-10-04 Alan Modra <amodra@gmail.com>
46997
46998 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
46999 (union ibm_extended_long_double): Define as an array of ieee754_double.
47000 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
47001 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
47002 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
47003 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
47004 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
47005 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
47006 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
47007 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
47008 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
47009 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
47010 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
47011
47012 2013-10-03 Joseph Myers <joseph@codesourcery.com>
47013
47014 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
47015 page size instead of calling getpagesize.
47016
47017 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
47018 (LOCFILE_ALIGN_MASK): Likewise.
47019 (LOCFILE_ALIGN_UP): Likewise.
47020 (LOCFILE_ALIGNED_P): Likewise.
47021 * locale/programs/ld-collate.c (collate_output): Use the new
47022 macros instead of __alignof__ (int32_t).
47023 * locale/weight.h (findidx): Likewise.
47024
47025 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
47026
47027 [BZ #431]
47028 * manual/string.texi: Fix strncat and wcsncat.
47029
47030 2013-10-03 Brooks Moses <bmoses@google.com>
47031
47032 [BZ #15915]
47033 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
47034 * Makerules: ...here, and adjust associated comments.
47035
47036 2013-10-02 Will Newton <will.newton@linaro.org>
47037
47038 * malloc/Makefile: Add tst-pvalloc.
47039 * malloc/tst-pvalloc.c: New file.
47040
47041 2013-10-02 Will Newton <will.newton@linaro.org>
47042
47043 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
47044 improve test coverage.
47045
47046 2013-10-02 Will Newton <will.newton@linaro.org>
47047
47048 * malloc/Makefile: Add tst-posix_memalign.
47049 * malloc/tst-posix_memalign.c: New file.
47050
47051 2013-10-01 Eric Blake <eblake@redhat.com>
47052
47053 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
47054 Use __THROWNL rather than __THROW on static functions.
47055
47056 2013-09-30 Petr Machata <pmachata@redhat.com>
47057
47058 * elf/elf.h (R_AARCH64_ABS16): New macro.
47059 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
47060 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
47061 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
47062 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
47063 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
47064 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
47065 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
47066 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
47067 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
47068 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
47069 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
47070 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
47071 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
47072 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
47073 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
47074 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
47075 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
47076 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
47077 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
47078 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
47079 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
47080 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
47081 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
47082 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
47083 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
47084 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
47085 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
47086 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
47087 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
47088 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
47089 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
47090 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
47091 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
47092 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
47093 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
47094 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
47095 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
47096 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
47097 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
47098 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
47099 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
47100 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
47101 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
47102 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
47103 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
47104 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
47105 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
47106 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
47107 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
47108 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
47109 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
47110 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
47111 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
47112 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
47113 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
47114 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
47115 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
47116 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
47117 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
47118 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
47119 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
47120 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
47121 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
47122 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
47123 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
47124 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
47125 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
47126 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
47127 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
47128 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
47129 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
47130 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
47131 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
47132 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
47133 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
47134 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
47135 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
47136 (R_AARCH64_TLSDESC_LDR): Likewise.
47137 (R_AARCH64_TLSDESC_ADD): Likewise.
47138 (R_AARCH64_TLSDESC_CALL): Likewise.
47139
47140 2013-09-30 Andreas Schwab <schwab@suse.de>
47141
47142 [BZ #15048]
47143 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
47144 the nss database lookup.
47145 * nscd/initgrcache.c (addinitgroupsX): Likewise.
47146 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
47147
47148 2013-09-28 Mike Frysinger <vapier@gentoo.org>
47149
47150 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
47151
47152 2013-09-28 P. J. McDermott <pj@pehjota.net>
47153
47154 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
47155 ${Bash-specific parameter/pattern/string} parameter expansion.
47156 * sysdeps/unix/make-syscalls.sh: Likewise.
47157
47158 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
47159
47160 * sysdeps/sh/stackguard-macros.h: New file.
47161
47162 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
47163
47164 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
47165 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
47166 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
47167 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
47168 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
47169 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
47170
47171 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47172
47173 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
47174 Fix thread ID register.
47175
47176 2013-09-25 Joseph Myers <joseph@codesourcery.com>
47177
47178 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
47179 [POSIX || UNIX98]: Require rather than permitting all symbols from
47180 <time.h>.
47181 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
47182 element of struct sched_param.
47183 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
47184 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
47185 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
47186 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
47187 constant.
47188
47189 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
47190
47191 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
47192 argument calculation.
47193
47194 2013-09-24 Joseph Myers <joseph@codesourcery.com>
47195
47196 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
47197 Expect macro.
47198 [POSIX] (pthread_attr_t): Do not require type.
47199 [POSIX] (pthread_cond_t): Likewise.
47200 [POSIX] (pthread_condattr_t): Likewise.
47201 [POSIX] (pthread_key_t): Likewise.
47202 [POSIX] (pthread_mutex_t): Likewise.
47203 [POSIX] (pthread_mutexattr_t): Likewise.
47204 [POSIX] (pthread_once_t): Likewise.
47205 [POSIX] (pthread_t): Likewise.
47206 [POSIX-based standards] (pthread_atfork): Expect function.
47207
47208 2013-09-24 Joseph Myers <joseph@codesourcery.com>
47209 Richard Sandiford <richard@codesourcery.com>
47210
47211 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
47212 (swap_endianness_p): New extern variable.
47213 (set_big_endian): New inline function.
47214 (maybe_swap_uint32): Likewise.
47215 (maybe_swap_uint32_array): Likewise.
47216 (maybe_swap_uint32_obstack): Likewise.
47217 * locale/programs/locfile.c: Include <stdbool.h>.
47218 (swap_endianness_p): New variable.
47219 (add_locale_uint32): Call maybe_swap_uint32.
47220 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
47221 (write_locale_data): Call maybe_swap_uint32_array.
47222 * locale/programs/ld-collate.c (obstack_int32_grow): Call
47223 maybe_swap_uint32.
47224 (obstack_int32_grow_fast): Likewise.
47225 (output_weightwc): Call maybe_swap_uint32_obstack.
47226 (collate_output): Likewise.
47227 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
47228 (OPT_LITTLE_ENDIAN): Likewise.
47229 (options): Add --little-endian and --big-endian options.
47230 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
47231 * locale/programs/locarchive.c: Include "locfile.h".
47232 (GET): New macro.
47233 (SET): Likewise.
47234 (INC): Likewise.
47235 (create_archive): Use the new macros to access fields of
47236 structures directly mapped from or written to locale archives.
47237 (oldlocrecentcmp): Likewise.
47238 (enlarge_archive): Likewise.
47239 (insert_name): Likewise.
47240 (add_alias): Likewise.
47241 (add_locale): Likewise.
47242 (delete_locales_from_archive): Likewise.
47243 (show_archive_content): Likewise.
47244 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
47245 locale data.
47246
47247 2013-09-24 Roland McGrath <roland@hack.frob.com>
47248
47249 * manual/freemanuals.texi: Updated from (newly) canonical copy at
47250 http://www.gnu.org/doc/freemanuals.texi.
47251 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
47252
47253 2013-09-24 Will Newton <will.newton@linaro.org>
47254
47255 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
47256 macro.
47257
47258 2013-09-23 Joseph Myers <joseph@codesourcery.com>
47259
47260 * locale/hashval.h (compute_hashval): Interpret bytes of key as
47261 unsigned char.
47262
47263 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
47264
47265 * manual/threads.texi (POSIX Threads): Fix a typo.
47266
47267 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
47268
47269 [BZ #14547]
47270 * string/tst-strcoll-overflow.c: New test case.
47271 * string/Makefile (xtests): Add tst-strcoll-overflow.
47272 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
47273 cache if string sizes may cause integer overflow.
47274
47275 [BZ #14547]
47276 * string/strcoll_l.c (coll_seq): New members rule, idx,
47277 save_idx and back_us.
47278 (get_next_seq_nocache): New function.
47279 (do_compare_nocache): New function.
47280 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
47281 when malloc fails.
47282
47283 2013-09-23 Carlos O'Donell <carlos@redhat.com>
47284
47285 [BZ #15754]
47286 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
47287 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
47288 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
47289
47290 [BZ #15754]
47291 * elf/Makefile (tests): Add tst-ptrguard1.
47292 (tests-static): Add tst-ptrguard1-static.
47293 (tst-ptrguard1-ARGS): Define.
47294 (tst-ptrguard1-static-ARGS): Define.
47295 * elf/tst-ptrguard1.c: New file.
47296 * elf/tst-ptrguard1-static.c: New file.
47297 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
47298 * sysdeps/i386/stackguard-macros.h: Likewise.
47299 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
47300 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
47301 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
47302 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
47303 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
47304 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
47305
47306 2013-09-23 Hector Marco <hecmargi@upv.es>
47307 Ismael Ripoll <iripoll@disca.upv.es>
47308 Carlos O'Donell <carlos@redhat.com>
47309
47310 [BZ #15754]
47311 * sysdeps/generic/stackguard-macros.h: Define
47312 __pointer_chk_guard_local and POINTER_CHK_GUARD.
47313 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
47314 Define __pointer_chk_guard_local.
47315 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
47316 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
47317
47318 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
47319
47320 [BZ #15859]
47321 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
47322
47323 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
47324
47325 * include/string.h (__ffs): Declare as hidden.
47326 * string/ffs.c (__ffs): Define as hidden.
47327 * sysdeps/i386/ffs.c (__ffs): Likewise.
47328 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
47329 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
47330 * sysdeps/s390/ffs.c (__ffs): Likewise.
47331 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
47332
47333 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
47334
47335 * NEWS: Mention malloc probes.
47336
47337 * malloc/arena.c (new_heap): New memory_heap_new probe.
47338 (grow_heap): New memory_heap_more probe.
47339 (shrink_heap): New memory_heap_less probe.
47340 (heap_trim): New memory_heap_free probe.
47341 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
47342 (systrim): New memory_sbrk_less probe.
47343 * manual/probes.texi: Document them.
47344
47345 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
47346 * manual/probes.texi: Document it.
47347
47348 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
47349 (__libc_realloc): Add memory_realloc_retry probe.
47350 (__libc_memalign): Add memory_memalign_retry probe.
47351 (__libc_valloc): Add memory_valloc_retry probe.
47352 (__libc_pvalloc): Add memory_pvalloc_retry probe.
47353 (__libc_calloc): Add memory_calloc_retry probe.
47354 * manual/probes.texi: Document them.
47355
47356 * malloc/arena.c (get_free_list): Add probe
47357 memory_arena_reuse_free_list.
47358 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
47359 and memory_arena_reuse.
47360 (arena_get2) [!PER_THREAD]: Likewise.
47361 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
47362 memory_arena_reuse_realloc.
47363 * manual/probes.texi: Document them.
47364
47365 * malloc/malloc.c (__libc_free): Add
47366 memory_mallopt_free_dyn_thresholds probe.
47367 (__libc_mallopt): Add multiple memory_mallopt probes.
47368 * manual/probes.texi: Document them.
47369
47370 * malloc/malloc.c: Include stap-probe.h.
47371 (__libc_mallopt): Add memory_mallopt probe.
47372 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
47373 * manual/probes.texi: New.
47374 * manual/Makefile (chapters): Add probes.
47375 * manual/threads.texi: Set next node.
47376
47377 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
47378
47379 [BZ #15963, #13985]
47380 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
47381 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
47382 Add `Chinese' to `nan' entry name.
47383
47384 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
47385
47386 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
47387 (POLYNOMIAL): Likewise.
47388 (TAYLOR_SINCOS): Likewise.
47389 (TAYLOR_SLOW): Likewise.
47390 (__sin): Use TAYLOR_SINCOS.
47391 (__cos): Likewise.
47392 (slow): Use TAYLOR_SLOW.
47393 (sloww): Likewise.
47394 (bsloww): Likewise.
47395 (csloww): Likewise.
47396
47397 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47398
47399 * stdlib/strtod_l.c: Fix buffer overrun.
47400
47401 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
47402
47403 * benchtests/Makefile (bench): Add sincos.
47404 * benchtests/bench-sincos.c: New file.
47405
47406 * math/libm-test.inc (cos_test_data): New test inputs.
47407 (sin_test_data): Likewise.
47408
47409 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
47410 macro.
47411 (__sin): Use it.
47412 (__cos): Likewise.
47413 (slow1): Likewise.
47414 (slow2): Likewise.
47415 (sloww1): Likewise.
47416 (sloww2): Likewise.
47417 (bsloww1): Likewise.
47418 (bsloww2): Likewise.
47419 (cslow2): Likewise.
47420 (csloww1): Likewise.
47421 (csloww2): Likewise.
47422
47423 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
47424 function.
47425 (__sin): Use it.
47426 (__cos): Likewise.
47427
47428 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
47429 gotos.
47430 (__cos): Likewise.
47431
47432 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
47433
47434 * config.h.in (HAVE_MIPS_NAN2008): New macro.
47435 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
47436 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
47437 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
47438 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
47439 * elf/cache.c (print_entry): Handle the new cache flags.
47440
47441 2013-09-18 Joseph Myers <joseph@codesourcery.com>
47442 Aldy Hernandez <aldyh@redhat.com>
47443
47444 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
47445 Change condition to [_SOFT_FLOAT].
47446 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
47447 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
47448 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
47449 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
47450 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
47451 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
47452 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
47453 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
47454 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
47455 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
47456 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
47457 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
47458 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
47459 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
47460 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
47461 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
47462 declaration.
47463
47464 2013-09-18 Joseph Myers <joseph@codesourcery.com>
47465
47466 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
47467 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
47468 (__longjmp): Use LOAD_GP to load saved GPRs.
47469 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
47470 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
47471 (__sigsetjmp): Use SAVE_GP to save GPRs.
47472
47473 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
47474 Do not append -msoft-float.
47475 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
47476
47477 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
47478
47479 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
47480
47481 2013-09-17 Joseph Myers <joseph@codesourcery.com>
47482
47483 [BZ #15966]
47484 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
47485 (_FPU_GETCW): Use initial "__" on variable and field names but not
47486 on macro parameter name.
47487 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
47488 parentheses around reference to macro parameter.
47489
47490 2013-09-13 Richard Sandiford <richard@codesourcery.com>
47491
47492 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
47493 prototype.
47494 (ctype_startup): Use uint32_t in cast and sizeof for
47495 ctype->charnames.
47496
47497 2013-09-11 Jia Liu <proljc@gmail.com>
47498
47499 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
47500 __daddr_t_defined.
47501 [__FreeBSD__]: Likewise.
47502
47503 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
47504
47505 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
47506 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
47507 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
47508 (strchr): Remove __strchr_sse42 ifunc selection.
47509 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
47510 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
47511
47512 2013-09-11 Will Newton <will.newton@linaro.org>
47513
47514 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
47515 parameter to RES. Remove hardcoded 1000 value.
47516 * benchtests/bench-skeleton.c (main): Pass RES parameter
47517 to TIMING_INIT and multiply result by 1000.
47518
47519 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47520
47521 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47522
47523 2013-09-11 Andreas Schwab <schwab@suse.de>
47524
47525 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
47526 if not defined.
47527 (O_TMPFILE) [__USE_GNU]: Define.
47528 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
47529 Define.
47530
47531 2013-09-11 Will Newton <will.newton@linaro.org>
47532
47533 [BZ #15857]
47534 * malloc/malloc.c (__libc_memalign): Check the value of bytes
47535 does not overflow.
47536
47537 2013-09-11 Will Newton <will.newton@linaro.org>
47538
47539 [BZ #15856]
47540 * malloc/malloc.c (__libc_valloc): Check the value of bytes
47541 does not overflow.
47542
47543 2013-09-11 Will Newton <will.newton@linaro.org>
47544
47545 [BZ #15855]
47546 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
47547 does not overflow.
47548
47549 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
47550
47551 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
47552 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47553 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47554 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
47555 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
47556
47557 2013-09-10 Allan McRae <allan@archlinux.org>
47558
47559 [BZ #15748]
47560 * manual/arith.texi (Parsing of Floats): Clarify
47561 cross-reference.
47562
47563 [BZ #15849]
47564 * manual/install.texi (Running make install): Mention
47565 --enable-pt-chown.
47566 * INSTALL: Regenerated.
47567
47568 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
47569
47570 * csu/init-first.c (_init): Remove the !SHARED condition around
47571 FPU control word initialization.
47572 * elf/dl-support.c (_dl_fpu_control): New variable.
47573 (_dl_aux_init) <AT_FPUCW>: Initialize it.
47574 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
47575 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
47576 * math/test-fpucw-static.c: New file.
47577 * math/test-fpucw-ieee.c: New file.
47578 * math/test-fpucw-ieee-static.c: New file.
47579 * math/Makefile (tests): Add `test-fpucw-ieee' and
47580 `$(tests-static)'.
47581 (tests-static): New variable.
47582 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
47583 dependency to...
47584 [($(build-shared),yes)]
47585 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
47586 ... this.
47587 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
47588 New dependency.
47589
47590 2013-09-09 Allan McRae <allan@archlinux.org>
47591
47592 [BZ #15939]
47593 * manual/string.texi (Collation Functions): Fix typo in
47594 strcoll example.
47595 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
47596
47597 [BZ #15893]
47598 * stdlib/isomac.c (get_null_defines): Fix memory leak.
47599
47600 [BZ #15892]
47601 * libio/memstream.c (open_memstream): Fix memory leak.
47602 * libio/wmemstream.c (open_wmemstream): Likewise.
47603
47604 [BZ #15895]
47605 * nscd/netgroupcache.c: Fix nesting of ifdefs.
47606
47607 2013-09-09 Will Newton <will.newton@linaro.org>
47608
47609 * malloc/Makefile: Add tst-realloc to tests.
47610 * malloc/tst-realloc.c: New file.
47611
47612 2013-09-09 Allan McRae <allan@archlinux.org>
47613
47614 [BZ #15844]
47615 * COPYING: Update from GNU website to fix FSF address.
47616 * COPYING.LIB: Likewise.
47617
47618 2013-09-06 David S. Miller <davem@davemloft.net>
47619
47620 * po/zh_TW.po: Update Chinese (traditional) translation from
47621 translation project.
47622
47623 2013-09-06 Richard Sandiford <richard@codesourcery.com>
47624 Joseph Myers <joseph@codesourcery.com>
47625
47626 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
47627 "localeinfo.h".
47628 (obstack_chunk_alloc): New macro.
47629 (obstack_chunk_free): Likewise.
47630 (record_offset): New function.
47631 (init_locale_data): Likewise.
47632 (align_locale_data): Likewise.
47633 (add_locale_empty): Likewise.
47634 (add_locale_raw_data): Likewise.
47635 (add_locale_raw_obstack): Likewise.
47636 (add_locale_string): Likewise.
47637 (add_locale_wstring): Likewise.
47638 (add_locale_uint32): Likewise.
47639 (add_locale_uint32_array): Likewise.
47640 (add_locale_char): Likewise.
47641 (start_locale_structure): Likewise.
47642 (end_locale_structure): Likewise.
47643 (start_locale_prelude): Likewise.
47644 (end_locale_prelude): Likewise.
47645 (write_locale_data): Take locale_file structure rather than an
47646 iovec.
47647 * locale/programs/locfile.h: Include "obstack.h".
47648 (struct locale_file): Change to store locale file contents instead
47649 of header.
47650 (init_locale_data): New prototype.
47651 (align_locale_data): Likewise.
47652 (add_locale_empty): Likewise.
47653 (add_locale_raw_data): Likewise.
47654 (add_locale_raw_obstack): Likewise.
47655 (add_locale_string): Likewise.
47656 (add_locale_wstring): Likewise.
47657 (add_locale_uint32): Likewise.
47658 (add_locale_uint32_array): Likewise.
47659 (add_locale_char): Likewise.
47660 (start_locale_structure): Likewise.
47661 (end_locale_structure): Likewise.
47662 (start_locale_prelude): Likewise.
47663 (end_locale_prelude): Likewise.
47664 (write_locale_data): Update prototype.
47665 * locale/programs/3level.h (struct TABLE): Remove result field.
47666 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
47667 Use new locale_file interface.
47668 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
47669 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
47670 * locale/programs/ld-address.c (address_output): Use new
47671 locale_file interface.
47672 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
47673 NO_ADD_LOCALE.
47674 (collate_finish): Don't call collseq_table_finalize.
47675 (collate_output): Use new locale_file interface.
47676 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
47677 in file.
47678 (NO_FINALIZE): Change to NO_ADD_LOCALE.
47679 (TABLE): Move defines earlier in file.
47680 (ELEMENT): Likewise.
47681 (DEFAULT): Likewise.
47682 (wctrans_table_add): Move macro and inline function earlier in
47683 file.
47684 (struct wctype_table): Move type earlier in file.
47685 (add_locale_wctype_table): New static prototype.
47686 (struct locale_ctype_t): Use logical types instead of struct iovec
47687 pointers for members.
47688 (ctype_output): Use new locale_file interface.
47689 (wctype_table_finalize): Change to add_locale_wctype_table. Use
47690 new locale_file interface.
47691 (allocate_arrays): Update for use of new locale_file interface.
47692 * locale/programs/ld-identification.c (identification_output): Use
47693 new locale_file interface.
47694 * locale/programs/ld-measurement.c (measurement_output): Likewise.
47695 * locale/programs/ld-messages.c (messages_output): Likewise.
47696 * locale/programs/ld-monetary.c (monetary_output): Likewise.
47697 * locale/programs/ld-name.c (name_output): Likewise.
47698 * locale/programs/ld-numeric.c (numeric_output): Likewise.
47699 * locale/programs/ld-paper.c (paper_output): Likewise.
47700 * locale/programs/ld-telephone.c (telephone_output): Likewise.
47701 * locale/programs/ld-time.c (time_output): Likewise.
47702
47703 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47704
47705 * benchtests/Makefile: Add memrchr benchmark.
47706 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
47707 benchmark as memrchr.
47708 * benchtests/bench-memrchr-ifunc.c: New file.
47709 * benchtests/bench-memrchr.c: New file.
47710
47711 2013-09-06 Will Newton <will.newton@linaro.org>
47712
47713 * benchtests/Makefile (string-bench): Add memcpy.
47714
47715 2013-09-05 Carlos O'Donell <carlos@redhat.com>
47716 Cong Wang <amwang@redhat.com>
47717
47718 [BZ #15850]
47719 * sysdeps/unix/sysv/linux/bits/in.h
47720 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
47721 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
47722 before __USE_KERNEL_IPV6_DEFS uses.
47723 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
47724 IPPROTO_BEETPH.
47725 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
47726 sockaddr_in6, or ipv6_mreq.
47727
47728 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47729
47730 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
47731 memory access for final bytes in some large inputs.
47732 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
47733
47734 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47735
47736 * string/test-memrchr.c: New file.
47737 * string/test-memrchr-ifunc.c: New file.
47738 * string/Makefile: Add new memrchr testcase.
47739
47740 2013-09-05 Mike Frysinger <vapier@gentoo.org>
47741
47742 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
47743 fanotify_init returns EPERM.
47744
47745 2013-09-04 Joseph Myers <joseph@codesourcery.com>
47746
47747 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
47748 errors.
47749 (top level): Treat second token from macro or constant entries for
47750 allowed headers as allowed.
47751 * include/complex.h: Condition internal declarations on
47752 [!_ISOMAC].
47753 * include/fenv.h: Condition include of <stdbool.h> and internal
47754 declarations on [!_ISOMAC].
47755
47756 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
47757
47758 [BZ #15923]
47759 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
47760
47761 2013-09-04 Joseph Myers <joseph@codesourcery.com>
47762
47763 * configure.in (--enable-versioning): Remove configure option.
47764 (libc_cv_asm_symver_directive): Remove configure test.
47765 (libc_cv_ld_version_script_option): Likewise.
47766 (VERSIONING): Remove variable and AC_SUBST.
47767 (DO_VERSIONING): Remove AC_DEFINE.
47768 * configure: Regenerated.
47769 * config.h.in (DO_VERSIONING): Remove macro.
47770 * Makerules [$(versioning) = yes]: Change conditionals to
47771 [$(build-shared) = yes].
47772 * config.make.in (versioning): Remove variable.
47773 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
47774 [$(build-shared) = yes].
47775 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
47776 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
47777 * elf/Makefile [$(versioning) = yes]: Change conditionals to
47778 [$(build-shared) = yes].
47779 * extra-lib.mk [$(versioning) = yes]: Likewise.
47780 * hurd/Makefile [$(versioning) = yes]: Likewise.
47781 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
47782 [SHARED].
47783 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
47784 [SHARED].
47785 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
47786 [SHARED && !NO_HIDDEN].
47787 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
47788 [SHARED].
47789 [SHARED && DO_VERSIONING]: Likewise..
47790 * libio/Makefile [$(versioning) = yes]: Change conditionals to
47791 [$(build-shared) = yes].
47792 * manual/install.texi (--disable-versioning): Remove
47793 documentation.
47794 * INSTALL: Regenerated.
47795 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
47796 to [SHARED].
47797 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
47798 [$(build-shared) = yes].
47799 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
47800 * sysdeps/i386/i686/multiarch/strstr-c.c
47801 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
47802 [SHARED && !NO_HIDDEN].
47803 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
47804 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
47805 * sysdeps/powerpc/powerpc32/dl-machine.c
47806 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
47807 * sysdeps/powerpc/powerpc32/sysdep.h
47808 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
47809 to [SHARED && PIC && !NO_HIDDEN].
47810 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
47811 conditional to [SHARED].
47812
47813 2013-09-04 Will Newton <will.newton@linaro.org>
47814
47815 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
47816 * benchtests/bench-string.h: Include bench-timing.h instead
47817 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
47818 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
47819 call to HP_TIMING_DIFF_INIT.
47820 * benchtests/bench-memccpy.c: Use bench-timing.h macros
47821 instead of hp-timing.h macros.
47822 * benchtests/bench-memchr.c: Likewise.
47823 * benchtests/bench-memcmp.c: Likewise.
47824 * benchtests/bench-memcpy.c: Likewise.
47825 * benchtests/bench-memmem.c: Likewise.
47826 * benchtests/bench-memmove.c: Likewise.
47827 * benchtests/bench-memset.c: Likewise.
47828 * benchtests/bench-rawmemchr.c: Likewise.
47829 * benchtests/bench-strcasecmp.c: Likewise.
47830 * benchtests/bench-strcasestr.c: Likewise.
47831 * benchtests/bench-strcat.c: Likewise.
47832 * benchtests/bench-strchr.c: Likewise.
47833 * benchtests/bench-strcmp.c: Likewise.
47834 * benchtests/bench-strcpy.c: Likewise.
47835 * benchtests/bench-strcpy_chk.c: Likewise.
47836 * benchtests/bench-strlen.c: Likewise.
47837 * benchtests/bench-strncasecmp.c: Likewise.
47838 * benchtests/bench-strncat.c: Likewise.
47839 * benchtests/bench-strncmp.c: Likewise.
47840 * benchtests/bench-strncpy.c: Likewise.
47841 * benchtests/bench-strnlen.c: Likewise.
47842 * benchtests/bench-strpbrk.c: Likewise.
47843 * benchtests/bench-strrchr.c: Likewise.
47844 * benchtests/bench-strspn.c: Likewise.
47845 * benchtests/bench-strstr.c: Likewise.
47846
47847 2013-09-04 Will Newton <will.newton@linaro.org>
47848
47849 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
47850
47851 2013-09-03 Joseph Myers <joseph@codesourcery.com>
47852
47853 [BZ #15427]
47854 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
47855 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
47856 * math/libm-test.inc (lgamma_test_data): Add more tests.
47857 * sysdeps/i386/fpu/libm-test-ulps: Update.
47858 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47859
47860 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
47861
47862 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
47863 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
47864 Add ifunc.
47865 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
47866 Add strcmp-sse2-unaligned
47867 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
47868
47869 2013-09-02 Mike Frysinger <vapier@gentoo.org>
47870
47871 * Versions.def (libc): Add GLIBC_2.19.
47872
47873 2013-09-02 Mike Frysinger <vapier@gentoo.org>
47874
47875 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
47876 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
47877
47878 2013-09-02 Joseph Myers <joseph@codesourcery.com>
47879
47880 [BZ #14155]
47881 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
47882 intermediate calculations in recurrence.
47883 (__ieee754_ynf): Likewise.
47884 * math/libm-test.inc (jn_test_data): Do not allow spurious
47885 underflow exception. Add more tests.
47886 (yn_test_data): Add more tests.
47887 * sysdeps/i386/fpu/libm-test-ulps: Update.
47888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47889
47890 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
47891
47892 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
47893
47894 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
47895
47896 * csu/init-first.c: Fix then/than typos.
47897 * locale/programs/ld-collate.c: Likewise.
47898 * locale/programs/linereader.h: Likewise.
47899 * manual/charset.texi: Likewise.
47900 * manual/filesys.texi: Likewise.
47901 * manual/stdio.texi: Likewise.
47902 * manual/string.texi: Likewise.
47903 * stdlib/fmtmsg.c: Likewise.
47904 * sysdeps/i386/stpncpy.S: Likewise.
47905 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
47906 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
47907 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
47908 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
47909
47910 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
47911
47912 * elf/dl-open.c: Fix typos.
47913 * iconvdata/gbbig5.c: Likewise.
47914 * iconvdata/iso-2022-jp.c: Likewise.
47915 * iconv/gconv_int.h: Likewise.
47916 * iconv/loop.c: Likewise.
47917 * nis/rpcsvc/nis.h: Likewise.
47918 * resolv/ns_name.c: Likewise.
47919 * stdio-common/vfscanf.c: Likewise.
47920 * streams/stropts.h: Likewise.
47921 * sunrpc/rpc_thread.c: Likewise.
47922 * sysdeps/i386/strpbrk.S: Likewise.
47923 * sysdeps/ieee754/k_standard.c: Likewise.
47924 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
47925 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
47926 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
47927 * sysdeps/mach/hurd/profil.c: Likewise.
47928 * sysdeps/s390/dl-procinfo.h: Likewise.
47929 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
47930 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
47931 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
47932 * sysdeps/x86_64/dl-trampoline.S: Likewise.
47933 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
47934
47935 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
47936
47937 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
47938 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
47939
47940 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
47941
47942 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
47943 aix specific files.
47944 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
47945 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
47946 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
47947 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
47948 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
47949 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
47950 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
47951 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
47952
47953 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
47954 Roland McGrath <roland@hack.frob.com>
47955
47956 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
47957 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
47958
47959 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
47960
47961 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
47962 __executable_start symbol instead of _start.
47963
47964 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
47965
47966 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
47967 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
47968 Move macros to...
47969 * sysdeps/gnu/ldsodefs.h: ... this new file.
47970
47971 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
47972 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
47973 instead of ELFOSABI_LINUX.
47974
47975 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
47976 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
47977 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
47978 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
47979 Likewise.
47980 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
47981 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
47982 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
47983 Likewise.
47984 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
47985 (ibm_extended_long_double): Add ieee_nan member.
47986 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
47987 (do_test): New function.
47988
47989 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
47990 TEST_TRUNC.
47991 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
47992 functions, renamed from truncdfsf_test, trunctfsf_test,
47993 trunctfdf_test.
47994 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
47995 functions.
47996 (do_test): Run all these.
47997
47998 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
47999
48000 * argp/argp-help.c: Fix typos.
48001 * argp/argp-parse.c: Likewise.
48002 * debug/backtracesyms.c: Likewise.
48003 * elf/elf.h: Likewise.
48004 * malloc/malloc.c: Likewise.
48005 * nis/nis_print.c: Likewise.
48006 * resolv/res_comp.c: Likewise.
48007 * stdlib/stdlib.h: Likewise.
48008 * sunrpc/clnt_tcp.c: Likewise.
48009 * sunrpc/clnt_udp.c: Likewise.
48010 * sunrpc/clnt_unix.c: Likewise.
48011 * sysdeps/unix/bsd/ptsname.c: Likewise.
48012 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
48013 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
48014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
48015 Likewise.
48016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
48017 Likewise.
48018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
48019 Likewise.
48020 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
48021
48022 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
48023
48024 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
48025 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
48026
48027 2013-08-27 Mike Frysinger <vapier@gentoo.org>
48028
48029 [BZ #15897]
48030 * dlfcn/Makefile (tests): Add bug-dl-leaf.
48031 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
48032 ($(objpfx)bug-dl-leaf): New rule.
48033 ($(objpfx)bug-dl-leaf.so): Likewise.
48034 ($(objpfx)bug-dl-leaf.out): Likewise.
48035 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
48036 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
48037 * dlfcn/bug-dl-leaf.c: New test.
48038 * dlfcn/bug-dl-leaf-lib.c: Likewise.
48039 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
48040 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
48041 (dlclose): Likewise.
48042 (dlmopen): Likewise.
48043
48044 2013-08-27 Roland McGrath <roland@hack.frob.com>
48045
48046 * include/netdb.h [!_ISOMAC]:
48047 Don't include <tls.h>.
48048 (h_errno, __libc_h_errno): Move declaration and macros out of
48049 [_LIBC_REENTRANT].
48050
48051 * include/resolv.h [_RESOLV_H_]:
48052 Don't include <tls.h>.
48053 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
48054 * resolv/res_libc.c: Don't include <tls.h>.
48055 (_res): Use __attribute__ ((nocommon)) in place of
48056 __attribute__ ((section (".bss"))).
48057
48058 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
48059 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
48060
48061 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
48062
48063 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
48064 only under [SIOCGIFCONF && SIOCGIFNETMASK].
48065
48066 * resolv/res_mkquery.c: Include <sys/time.h>.
48067
48068 * inet/ifreq.c: Moved to ...
48069 * sysdeps/unix/ifreq.c: ... here.
48070 * inet/ifreq.c: New file, true stub version.
48071
48072 * socket/sa_len.c: New file.
48073 * socket/Makefile (aux): Add it.
48074 * sysdeps/unix/sysv/linux/Makefile
48075 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
48076 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
48077 and #include <socket/sa_len.c>.
48078 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
48079 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
48080
48081 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
48082 * bits/socket.h: ... here.
48083
48084 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
48085 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
48086 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
48087
48088 2013-08-27 Andreas Schwab <schwab@suse.de>
48089
48090 [BZ #15736]
48091 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
48092 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
48093 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
48094 * string/test-strcasecmp.c (test_main): Run tests in several
48095 locales.
48096 * string/test-strncasecmp.c (test_main): Likewise.
48097
48098 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
48099 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
48100 to __strcasecmp_nonascii and __strncasecmp_nonascii.
48101 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
48102 (__strncasecmp_ssse3) [PIC]: Likewise.
48103
48104 2013-08-26 Roland McGrath <roland@hack.frob.com>
48105
48106 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
48107
48108 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
48109 instead of explicitly declaring xdecrypt.
48110 * nis/nss_nis/nis-publickey.c: Likewise.
48111
48112 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
48113
48114 [BZ #15890]
48115 * nscd/aicache.c: Include res_hconf.h.
48116 (addhstaiX): Initialize res_hconf.
48117
48118 2013-08-26 Andreas Schwab <schwab@suse.de>
48119
48120 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
48121 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
48122
48123 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
48124
48125 * nscd/aicache.c (addhstaiX): Fix indentation.
48126
48127 2013-08-25 Mike Frysinger <vapier@gentoo.org>
48128
48129 * configure.ac: Quote $build_pt_chown test.
48130 * configure: Regenerated.
48131
48132 2013-08-23 Joseph Myers <joseph@codesourcery.com>
48133
48134 [BZ #15532]
48135 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
48136 * math/s_cexpf.c (__cexpf): Likewise.
48137 * math/s_cexpl.c (__cexpl): Likewise.
48138 * math/libm-test.inc (cexp_test_data): Correct expected return
48139 value for NaN + i0. Add another test.
48140
48141 2013-08-22 David S. Miller <davem@davemloft.net>
48142
48143 * po/ca.po: Update Catalan translation from translation project.
48144 * po/uk.po: Add Ukrainian translations from translation project.
48145
48146 2013-08-21 Joseph Myers <joseph@codesourcery.com>
48147
48148 [BZ #15797]
48149 * math/s_fdim.c (__fdim): Check for infinite arguments if result
48150 is infinite, not alongside NaN test.
48151 * math/s_fdimf.c (__fdimf): Likewise.
48152 * math/s_fdiml.c (__fdiml): Likewise.
48153 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
48154 errno is unchanged.
48155
48156 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
48157
48158 * argp/argp-help.c: Fix typos.
48159 * crypt/speeds.c: Likewise.
48160 * csu/check_fds.c: Likewise.
48161 * elf/dl-load.c: Likewise.
48162 * elf/dl-open.c: Likewise.
48163 * elf/reldep3.c: Likewise.
48164 * elf/reldep.c: Likewise.
48165 * elf/sprof.c: Likewise.
48166 * iconv/iconv_charmap.c: Likewise.
48167 * iconv/skeleton.c: Likewise.
48168 * iconv/strtab.c: Likewise.
48169 * io/lockf64.c: Likewise.
48170 * libio/libioP.h: Likewise.
48171 * resolv/gai_notify.c: Likewise.
48172 * resolv/ns_name.c: Likewise.
48173 * resolv/ns_samedomain.c: Likewise.
48174 * resolv/res_send.c: Likewise.
48175 * stdlib/random.c: Likewise.
48176 * sunrpc/rpc/xdr.h: Likewise.
48177 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
48178 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
48179 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
48180 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
48181 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
48182 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
48183 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
48184 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
48185 * sysdeps/mach/hurd/check_fds.c: Likewise.
48186 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
48187 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
48188 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
48189 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
48190 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
48191 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
48192 * sysdeps/pthread/aio_notify.c: Likewise.
48193 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
48194 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
48195 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
48196 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
48197 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
48198
48199 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48200
48201 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
48202 version if bit_Slow_SSE4_2 is set.
48203 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
48204 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
48205
48206 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48207
48208 [BZ #15867]
48209 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
48210 trampoline stack frame information.
48211 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
48212 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
48213 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
48214 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
48215 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
48216 * sysdeps/unix/sysv/linux/powerpc/init-first.c
48217 (_libc_vdso_platform_setup): Initialize the signal trampolines.
48218 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
48219 sa_flags value.
48220 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
48221 interrupting a syscall and set with option SA_SIGINFO.
48222
48223 2013-08-20 Joseph Myers <joseph@codesourcery.com>
48224
48225 [BZ #15531]
48226 * math/s_cproj.c (__cproj): Only return an infinity if one part of
48227 argument is infinite.
48228 * math/s_cprojf.c (__cprojf): Likewise.
48229 * math/s_cprojl.c (__cprojl): Likewise.
48230 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
48231 * math/libm-test.inc (cproj_test_data): Add more tests.
48232
48233 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
48234
48235 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
48236 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
48237 size. Use __ffs to determine corresponding shift.
48238
48239 2013-08-20 Joseph Myers <joseph@codesourcery.com>
48240 Roland McGrath <roland@hack.frob.com>
48241
48242 * Makefile (INSTALL): Remove trailing blank lines from output of
48243 makeinfo.
48244
48245 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48246
48247 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
48248 Align 32 bit compat elf_greg to 8 bytes.
48249
48250 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
48251
48252 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
48253
48254 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
48255
48256 * string/strcoll_l.c (coll_seq): New structure.
48257 (get_next_seq_cached): New function.
48258 (get_next_seq): New function.
48259 (do_compare): New function.
48260 (STRCOLL): Use GNU style definition. Simplify implementation
48261 by using get_next_seq, get_next_seq_cached and do_compare.
48262
48263 2013-08-16 Florian Weimer <fweimer@redhat.com>
48264
48265 [BZ #14699]
48266 CVE-2013-4237
48267 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
48268 member.
48269 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
48270 member.
48271 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
48272 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
48273 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
48274 conditional.
48275 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
48276 GETDENTS_64BIT_ALIGNED.
48277 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
48278 * manual/filesys.texi (Reading/Closing Directory): Document
48279 ENAMETOOLONG return value of readdir_r. Recommend readdir more
48280 strongly.
48281 * manual/conf.texi (Limits for Files): Add portability note to
48282 NAME_MAX, PATH_MAX.
48283 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
48284
48285 2013-08-13 Andreas Schwab <schwab@suse.de>
48286
48287 [BZ #15749]
48288 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
48289 of fabs.
48290 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
48291 LDBL_MAX_EXP >= 16384]: Add tests for it.
48292
48293 2013-08-12 David S. Miller <davem@davemloft.net>
48294
48295 * version.h (RELEASE): Set to "development".
48296 (VERSION): Set to "2.18.90".
48297 * NEWS: Add 2.19 section.
48298
48299 2013-08-03 David S. Miller <davem@davemloft.net>
48300
48301 * po/ko.po: Update Korean translation from translation project.
48302
48303 2013-08-01 David S. Miller <davem@davemloft.net>
48304
48305 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
48306 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
48307 Bilka.
48308
48309 2013-07-30 David S. Miller <davem@davemloft.net>
48310
48311 * po/fr.po: Update French translation from translation project.
48312
48313 2013-07-28 David S. Miller <davem@davemloft.net>
48314
48315 * po/cs.po: Update Czech translation from translation project.
48316
48317 * po/sv.po: Update Swedish translation from translation project.
48318
48319 2013-07-27 David S. Miller <davem@davemloft.net>
48320
48321 * po/eo.po: Update Esperanto translation from translation project.
48322
48323 * po/vi.po: Update Vietnamese translation from translation project.
48324
48325 * po/de.po: Update German translation from translation project.
48326
48327 2013-07-26 David S. Miller <davem@davemloft.net>
48328
48329 * po/bg.po: Update Bulgarian translation from translation project.
48330
48331 * po/nl.po: Update Dutch translation from translation project.
48332 * po/pl.po: Update Polish translation from translation project.
48333 * po/ru.po: Update Russian translation from translation project.
48334
48335 2013-07-24 David S. Miller <davem@davemloft.net>
48336
48337 * po/libc.pot: Update.
48338
48339 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48340
48341 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
48342 variable page size.
48343 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
48344 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
48345 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
48346
48347 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48348
48349 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
48350
48351 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
48352 Andreas Schwab <schwab@suse.de>
48353 Roland McGrath <roland@hack.frob.com>
48354 Joseph Myers <joseph@codesourcery.com>
48355 Carlos O'Donell <carlos@redhat.com>
48356
48357 [BZ #15755]
48358 * config.h.in: Define HAVE_PT_CHOWN.
48359 * config.make.in (build-pt-chown): New variable.
48360 * configure.in (--enable-pt_chown): New configure option.
48361 * configure: Regenerate.
48362 * login/Makefile: Include Makeconfig. Build pt_chown only if
48363 build-pt-chown is enabled.
48364 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
48365 pt_chown to fix pty ownership.
48366 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
48367 CLOSE_ALL_FDS.
48368 * manual/install.texi (Configuring and compiling): Mention
48369 --enable-pt_chown. Add @findex for grantpt.
48370 * INSTALL: Regenerate.
48371
48372 2013-07-20 David S. Miller <davem@davemloft.net>
48373
48374 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
48375 difference between 32-bit and 64-bit.
48376
48377 2013-07-15 Carlos O'Donell <carlos@redhat.com>
48378
48379 [BZ #15711]
48380 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
48381 Avoid system header dependency with -ffreestanding.
48382 ($(objpfx)bits/syscall%d): Likewise.
48383
48384 2013-07-13 David S. Miller <davem@davemloft.net>
48385
48386 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
48387 underflows from atanl/atan2l due to bug 15319.
48388 (casinh_test_data): Likewise.
48389
48390 2013-07-07 David S. Miller <davem@davemloft.net>
48391
48392 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
48393
48394 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
48395
48396 * sysdeps/i386/fpu/libm-test-ulps: Update.
48397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48398
48399 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
48400
48401 * configure.in (--enable-lock-elision): Fix message text.
48402 * INSTALL: Regenerate.
48403 * configure: Regenerate.
48404
48405 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48406
48407 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48408
48409 2013-07-03 Andreas Jaeger <aj@suse.de>
48410
48411 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
48412 define.
48413 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
48414 (ptrace_peeksiginfo_args): Add.
48415 (__ptrace_peeksiginfo_flags): Add.
48416 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48417 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48418 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48419
48420 2013-07-03 Allan McRae <allan@archlinux.org>
48421
48422 * sysdeps/i386/fpu/libm-test-ulps: Update.
48423
48424 2013-07-02 David S. Miller <davem@davemloft.net>
48425
48426 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48427
48428 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
48429
48430 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48431
48432 2013-07-02 Joseph Myers <joseph@codesourcery.com>
48433
48434 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
48435 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48436
48437 2013-07-02 Andi Kleen <ak@linux.intel.com>
48438
48439 * config.h.in (ENABLE_LOCK_ELISION): Add.
48440 * configure.in (--enable-lock-elision): Add option.
48441 * manual/install.texi: Document --enable lock elision.
48442 * configure: Regenerate
48443 * INSTALL: Regenerate.
48444
48445 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
48446
48447 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
48448 SSE4.2 strcasecmp for libc.a.
48449 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
48450
48451 2013-07-02 Joseph Myers <joseph@codesourcery.com>
48452
48453 [BZ #13304]
48454 * soft-fp/op-common.h (_FP_FMA): New macro.
48455 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
48456 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
48457 (_FP_MUL_MEAT_1_imm): ... here.
48458 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
48459 (_FP_MUL_MEAT_1_wide): ... here.
48460 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
48461 (_FP_MUL_MEAT_1_hard): ... here.
48462 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
48463 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
48464 (_FP_MUL_MEAT_2_wide): ... here.
48465 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
48466 (_FP_MUL_MEAT_2_wide_3mul): ... here.
48467 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
48468 (_FP_MUL_MEAT_2_gmp): ... here.
48469 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
48470 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
48471 (_FP_MUL_MEAT_4_wide): ... here.
48472 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
48473 (_FP_MUL_MEAT_4_gmp): ... here.
48474 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
48475 (_FP_WFRACBITS_DW_S): Likewise.
48476 (_FP_WFRACXBITS_DW_S): Likewise.
48477 (_FP_HIGHBIT_DW_S): Likewise.
48478 (FP_FMA_S): Likewise.
48479 (_FP_FRAC_HIGH_DW_S): Likewise.
48480 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
48481 (_FP_WFRACBITS_DW_D): Likewise.
48482 (_FP_WFRACXBITS_DW_D): Likewise.
48483 (_FP_HIGHBIT_DW_D): Likewise.
48484 (FP_FMA_D): Likewise.
48485 (_FP_FRAC_HIGH_DW_D): Likewise.
48486 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
48487 (_FP_WFRACBITS_DW_E): Likewise.
48488 (_FP_WFRACXBITS_DW_E): Likewise.
48489 (_FP_HIGHBIT_DW_E): Likewise.
48490 (FP_FMA_E): Likewise.
48491 (_FP_FRAC_HIGH_DW_E): Likewise.
48492 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
48493 (_FP_WFRACBITS_DW_Q): Likewise.
48494 (_FP_WFRACXBITS_DW_Q): Likewise.
48495 (_FP_HIGHBIT_DW_Q): Likewise.
48496 (FP_FMA_Q): Likewise.
48497 (_FP_FRAC_HIGH_DW_Q): Likewise.
48498 * soft-fp/fmasf4.c: New file.
48499 * soft-fp/fmadf4.c: Likewise.
48500 * soft-fp/fmatf4.c: Likewise.
48501
48502 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48503
48504 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
48505 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
48506 Silvermont.
48507 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
48508 macro.
48509 (index_Slow_SSE4_2): Likewise.
48510 (index_Prefer_PMINUB_for_stringop): Likewise.
48511 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
48512 bit_Slow_SSE4_2 is set.
48513 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
48514 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
48515
48516 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
48517
48518 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
48519 rtld_global._dl_hwcap2.
48520 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
48521 POWER8.
48522 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
48523 POWER8 feature descriptions defined in _dl_hwcap2.
48524 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
48525 string handling for POWER8 feature bits.
48526 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
48527 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
48528 _dl_powerpc_cap_flags.
48529 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
48530 * sysdeps/powerpc/rtld-global-offsets.sym
48531 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
48532 _dl_hwcap2 in the rtld_global_ro structure.
48533
48534 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
48535
48536 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
48537 hardware capabilities in support of AT_HWCAP2.
48538 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
48539 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
48540 GLRO(dl_hwcap2).
48541 (_dl_show_auxv): Add support for calling _dl_procinfo to display
48542 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
48543 explicitly the unknown a_type display mechanism is used.
48544 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
48545 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
48546 struct member.
48547 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
48548 to macro prototype for AT_HWCAP2 support.
48549 * sysdeps/i386/dl-procinfo.h: Likewise.
48550 * sysdeps/s390/dl-procinfo.h: Likewise.
48551 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
48552 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
48553 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
48554 return -1 for unknown a_type display fallback.
48555 * sysdeps/sparc/dl-procinfo.h: Likewise.
48556 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
48557 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
48558
48559 2013-06-28 Joseph Myers <joseph@codesourcery.com>
48560
48561 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
48562 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
48563
48564 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
48565
48566 [BZ #12492]
48567 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
48568 mprotect making __stack_prot writable.
48569
48570 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
48571 Joseph Myers <joseph@codesourcery.com>
48572
48573 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
48574 as being properly aligned.
48575
48576 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
48577
48578 * dlfcn/modstatic5.c: New file.
48579 * dlfcn/tststatic5.c: New file.
48580 * dlfcn/Makefile (tests): Add tststatic5.
48581 (tests-static): Likewise.
48582 (modules-names): Add modstatic5.
48583 (tststatic5-ENV): New variable.
48584 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
48585
48586 [BZ #15022]
48587 * elf/dl-support.c (_dl_main_map): New variable.
48588 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
48589 (_dl_nns, _dl_load_adds): Set to 1.
48590 (_dl_initial_searchlist): Refer to _dl_main_map.
48591 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
48592 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
48593 call to _dl_get_origin.
48594 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
48595 around call_map.
48596 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
48597 * dlfcn/modstatic3.c: New file.
48598 * dlfcn/tststatic3.c: New file.
48599 * dlfcn/tststatic4.c: New file.
48600 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
48601 (tests-static): Likewise.
48602 (modules-names): Add modstatic3.
48603 (tststatic3-ENV, tststatic4-ENV): New variables.
48604 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
48605 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
48606
48607 2013-06-26 Joseph Myers <joseph@codesourcery.com>
48608
48609 * configure.in (CC): Require GCC version 4.4 or later.
48610 * configure: Regenerated.
48611 * manual/install.texi (Tools for Compilation): Update GCC version
48612 requirement.
48613 * INSTALL: Regenerated.
48614
48615 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48616
48617 [BZ #15674]
48618 * string/test-memcmp.c (check2): New.
48619 (main): Call check2.
48620
48621 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
48622
48623 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
48624
48625 [BZ #15022]
48626 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
48627 over to...
48628 (dl_open_worker) [!SHARED]: ... here.
48629
48630 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
48631
48632 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
48633
48634 2013-06-25 Richard Henderson <rth@redhat.com>
48635
48636 * locale/programs/locarchive.c: Include <libc-internal.h>
48637
48638 2013-06-25 Joseph Myers <joseph@codesourcery.com>
48639
48640 * manual/texinfo.tex: Update to version 2013-06-21.17, with
48641 trailing whitespace removed.
48642
48643 2013-06-24 Mike Frysinger <vapier@gentoo.org>
48644
48645 [BZ #10283]
48646 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
48647 * locale/programs/locarchive.c: Include libc-mmap.h.
48648 (prepare_address_space): Take two new outputs (the mmap base and len).
48649 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
48650 values.
48651 (create_archive): Declare new mmap base and len values for
48652 prepare_address_space, and store the result in ah.
48653 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
48654 (enlarge_archive): If ah->mmap_base is not NULL, use that and
48655 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
48656 Declare new mmap base and len values for
48657 prepare_address_space, and store the result in new_ah.
48658 (open_archive): Declare new mmap base and len values for
48659 prepare_address_space, and store the result in ah.
48660 (close_archive): If ah->mmap_base is not NULL, use that and
48661 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
48662 * sysdeps/generic/libc-mmap.h: New file.
48663
48664 2013-06-24 Mike Frysinger <vapier@gentoo.org>
48665
48666 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
48667 (ALIGN_UP): Likewise.
48668 (PTR_ALIGN_DOWN): Likewise.
48669 (PTR_ALIGN_UP): Likewise.
48670
48671 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
48672
48673 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
48674 entry mapped to PPC_PLATFORM_POWER8.
48675 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
48676 POWER8.
48677 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
48678 (_dl_string_platform): Add case for exporting platform position for
48679 POWER8.
48680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
48681 search path to sysdeps/powerpc/powerpc32/power8 directory.
48682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
48683 search path to sysdeps/powerpc/powerpc64/power8 directory.
48684 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
48685 power7 directories.
48686 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
48687 power7 directories.
48688
48689 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
48690
48691 * INSTALL: Regenerate.
48692
48693 * nscd/connections.c (nscd_init): Fix comment.
48694
48695 2013-06-22 Joseph Myers <joseph@codesourcery.com>
48696
48697 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
48698
48699 [BZ #15667]
48700 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
48701 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
48702
48703 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
48704
48705 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
48706 DL_DST_REQ_STATIC.
48707 (DL_DST_REQ_STATIC): Remove macro.
48708
48709 2013-06-21 Joseph Myers <joseph@codesourcery.com>
48710
48711 [BZ #7006]
48712 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
48713 with a shift of 0 bits.
48714
48715 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
48716
48717 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
48718 $(tststatic-ENV).
48719
48720 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
48721
48722 [BZ #15655]
48723 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
48724
48725 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48726
48727 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
48728 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
48729 accepts -fno-tree-loop-distribute-patterns.
48730 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
48731 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
48732 recursive call.
48733 * string/memset.c (memset): Likewise.
48734 * string/test-memmove.c (simple_memmove): Disable loop transformation
48735 to library calls.
48736 * string/test-memset.c (simple_memset): Likewise.
48737 * benchtests/bench-memmove.c (simple_memmove): Likewise.
48738 * benchtests/bench-memset.c (simple_memset): Likewise.
48739 * configure: Regenerated.
48740
48741 2013-06-20 Joseph Myers <joseph@codesourcery.com>
48742
48743 * math/test-misc.c (main): Ignore fesetround failure when failures
48744 of subsequent rounding tests would be ignored.
48745
48746 [BZ #15654]
48747 * math/fedisblxcpt.c (fedisableexcept): Return 0.
48748 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
48749 * math/fegetenv.c (__fegetenv): Return 0.
48750 * math/fegetexcept.c (fegetexcept): Return 0.
48751 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
48752 FE_TONEAREST.
48753 * math/feholdexcpt.c (feholdexcept): Return 0.
48754 * math/fesetenv.c (__fesetenv): Return 0.
48755 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
48756 argument FE_TONEAREST.
48757 * math/feupdateenv.c (__feupdateenv): Return 0.
48758 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
48759
48760 2013-06-18 Roland McGrath <roland@hack.frob.com>
48761
48762 * elf/rtld-Rules (rtld-compile-command.S): New variable.
48763 (rtld-compile-command.s, rtld-compile-command.c): New variables.
48764 ($(objpfx)rtld-%.os rules): Use them.
48765
48766 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48767
48768 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
48769 fields.
48770
48771 2013-06-17 Roland McGrath <roland@hack.frob.com>
48772
48773 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
48774 length of target pattern, then descending length of dependency pattern.
48775 * configure.in (AWK): Require gawk 3.1.2 or newer.
48776 * manual/install.texi (Tools for Compilation): Say that we do.
48777 * configure: Regenerated.
48778
48779 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
48780 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
48781 * scripts/sysd-rules.awk: ... this new script.
48782 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
48783 than a glob-style pattern.
48784
48785 2013-06-17 Joseph Myers <joseph@codesourcery.com>
48786
48787 * math/test-misc.c (main): Do not treat incorrectly rounded
48788 conversions as failure unless ROUNDING_TESTS passes.
48789
48790 2013-06-15 Joseph Myers <joseph@codesourcery.com>
48791
48792 [BZ #15631]
48793 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
48794 restore exception state around main square root computation, then
48795 check for inexactness explicitly.
48796
48797 * math/libm-test.inc (fma_test_data): Add another test.
48798
48799 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
48800
48801 * manual/threads.texi (Non-POSIX Extensions): New document
48802 node. Document pthread_getattr_default_np and
48803 pthread_setattr_default_np.
48804
48805 * Versions.def (libpthread): Add GLIBC_2.18.
48806 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
48807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
48808 Likewise.
48809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
48810 Likewise.
48811 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
48812 Likewise.
48813 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
48814 Likewise.
48815 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
48816 Likewise.
48817 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
48818 Likewise.
48819 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
48820 Likewise.
48821 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
48822 Likewise.
48823 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
48824 Likewise.
48825
48826 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48827
48828 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48829 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
48830
48831 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
48832 H.J. Lu <hjl.tools@gmail.com>
48833
48834 [BZ #15627]
48835 * sysdeps/x86_64/rtld-memset.c: Remove file.
48836 * sysdeps/x86_64/rtld-memset.S: New file.
48837
48838 2013-06-14 Joseph Myers <joseph@codesourcery.com>
48839
48840 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
48841 (test_in_one_mode): Take arguments for whether the rounding mode
48842 is supported for each floating-point type.
48843 (do_test): Pass new arguments to test_in_one_mode using
48844 ROUNDING_TESTS.
48845
48846 2013-06-13 Roland McGrath <roland@hack.frob.com>
48847
48848 * posix/tst-waitid.c (do_test): Distinguish different instances of
48849 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
48850 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
48851 before entering the kernel for waitpid.
48852
48853 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
48854
48855 * NEWS: Fix note on clock function precision. Text by Roland
48856 McGrath.
48857
48858 2013-06-13 Roland McGrath <roland@hack.frob.com>
48859
48860 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
48861 it into place only when and if the sanity check passes.
48862
48863 2013-06-13 Joseph Myers <joseph@codesourcery.com>
48864
48865 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
48866 output for whether conversion result is exact. Take argument
48867 indicating whether type is IBM long double.
48868 (round_for_all): Change need_exact field to ibm_ld.
48869 * stdlib/tst-strtod-round.c (struct exactness): New type.
48870 (struct test): Change bool ld_ok field to struct exactness exact.
48871 (TEST): Update all definitions for change to field.
48872 (tests): Regenerate array contents.
48873 (test_in_one_mode): Take pointer to new field instead of old ld_ok
48874 field value. Check for IBM long double here.
48875 (do_test): Update calls to test_in_one_mode.
48876
48877 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
48878
48879 [BZ #12515]
48880 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
48881 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
48882
48883 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48884
48885 [BZ #15605]
48886 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
48887 generated by the compiler on loop optimizations.
48888 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
48889 general definitions.
48890
48891 2013-06-12 Joseph Myers <joseph@codesourcery.com>
48892
48893 * math/bug-nextafter.c: Include <math-tests.h>.
48894 (main): Only test for exceptions if EXCEPTION_TESTS is true for
48895 the relevant type.
48896 * math/bug-nexttoward.c: Include <math-tests.h>.
48897 (main): Only test for exceptions if EXCEPTION_TESTS is true for
48898 the relevant type.
48899 * math/test-misc.c: Include <math-tests.h>.
48900 (main): Only test for exceptions if EXCEPTION_TESTS is true for
48901 the relevant type.
48902
48903 2013-06-12 Andreas Jaeger <aj@suse.de>
48904
48905 * po/ia.po: Update Interlingua translation from translation
48906 project.
48907
48908 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
48909
48910 * include/fenv.h: Include stdbool.h.
48911 (struct rm_ctx): New structure.
48912 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
48913 Define macro.
48914 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
48915 (SET_RESTORE_ROUNDF): Likewise.
48916 (SET_RESTORE_ROUNDL): Likewise.
48917 (SET_RESTORE_ROUND_NOEX): Likewise.
48918 (SET_RESTORE_ROUND_NOEXF): Likewise.
48919 (SET_RESTORE_ROUND_NOEXL): Likewise.
48920 (SET_RESTORE_ROUND_53BIT): Likewise.
48921 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
48922 (libc_feresetround_noexf_ctx): Likewise.
48923 (libc_feresetround_noexl_ctx): Likewise.
48924 (libc_feholdsetround_53bit_ctx): Likewise.
48925 (libc_feresetround_53bit_ctx): Likewise.
48926 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
48927 (libc_feholdexcept_setround_sse_ctx): New function.
48928 (libc_fesetenv_sse_ctx): Likewise.
48929 (libc_feupdateenv_sse_ctx): Likewise.
48930 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
48931 (libc_feholdexcept_setround_387_ctx): Likewise.
48932 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
48933 (libc_feholdsetround_387_prec_ctx): Likewise.
48934 (libc_feholdsetround_387_ctx): Likewise.
48935 (libc_feholdsetround_387_53bit_ctx): Likewise.
48936 (libc_feholdsetround_sse_ctx): Likewise.
48937 (libc_feresetround_sse_ctx): Likewise.
48938 (libc_feresetround_387_ctx): Likewise.
48939 (libc_feupdateenv_387_ctx): Likewise.
48940 (libc_feholdexcept_setroundf_ctx): Define macro.
48941 (libc_fesetenvf_ctx): Likewise.
48942 (libc_feupdateenvf_ctx): Likewise.
48943 (libc_feholdsetroundf_ctx): Likewise.
48944 (libc_feresetroundf_ctx): Likewise.
48945 (libc_feholdexcept_setround_ctx): Likewise.
48946 (libc_fesetenv_ctx): Likewise.
48947 (libc_feupdateenv_ctx): Likewise.
48948 (libc_feholdsetround_ctx): Likewise.
48949 (libc_feresetround_ctx): Likewise.
48950 (libc_feholdexcept_setroundl_ctx): Likewise.
48951 (libc_feupdateenvl_ctx): Likewise.
48952 (libc_feholdsetroundl_ctx): Likewise.
48953 (libc_feresetroundl_ctx): Likewise.
48954 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
48955 (libc_feresetround_53bit_ctx): Likewise.
48956
48957 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
48958
48959 * locale/iso-639.def: Convert to UTF-8.
48960
48961 2013-06-11 Joseph Myers <joseph@codesourcery.com>
48962
48963 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
48964 (EXCEPTION_TESTS_double): Likewise.
48965 (EXCEPTION_TESTS_long_double): Likewise.
48966 (EXCEPTION_TESTS): Likewise.
48967 * math/libm-test.inc (test_exceptions): Only test exceptions if
48968 EXCEPTION_TESTS (FLOAT).
48969
48970 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
48971
48972 * benchtests/Makefile (string-bench): Add strcpy_chk and
48973 stpcpy_chk.
48974 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
48975 * benchtests/bench-stpcpy_chk.c: New file.
48976 * benchtests/bench-strcpy_chk-ifunc.c: New file.
48977 * benchtests/bench-strcpy_chk.c: New file.
48978 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
48979 code.
48980 (do_test): Likewise.
48981
48982 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
48983
48984 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
48985 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
48986 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
48987 with tabs where appropriate.
48988 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
48989 dl-procinfo.h.
48990 [PPC_PLATFORM_PPC440]: Likewise.
48991 [PPC_PLATFORM_PPC464]: Likewise.
48992 [PPC_PLATFORM_PPC476]: Likewise.
48993 (_dl_string_platform): Add support for detecting ppc405, ppc440,
48994 ppc464, and ppc476 platform strings merging from ports/
48995 dl-procinfo.h.
48996
48997 2013-06-11 Andreas Schwab <schwab@suse.de>
48998
48999 [BZ #14991]
49000 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
49001 (from_ucs4_idx): Regenerate.
49002 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
49003 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
49004 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
49005 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
49006 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
49007 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
49008 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
49009 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
49010 from FROM_LOOP and TO_LOOP specific macros.
49011 (BODY): Handle combining characters.
49012 * iconvdata/BIG5HKSCS.irreversible: Update.
49013 * iconvdata/BIG5HKSCS.precomposed: New file.
49014 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
49015 characters.
49016 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
49017
49018 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
49019
49020 * include/sys/time.h: Fix indentation and add copyright header.
49021
49022 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
49023 (do_test): Likewise.
49024 * string/test-memchr.c (do_one_test): Likewise.
49025 (do_test): Likewise.
49026 * string/test-memcmp.c (do_one_test): Likewise.
49027 (do_test): Likewise.
49028 * string/test-memcpy.c (do_one_test): Likewise.
49029 (do_test): Likewise.
49030 * string/test-memmem.c (do_one_test): Likewise.
49031 (do_test): Likewise.
49032 (do_random_tests): Likewise.
49033 * string/test-memmove.c (do_one_test): Likewise.
49034 (do_test): Likewise.
49035 * string/test-memset.c (do_one_test): Likewise.
49036 (do_test): Likewise.
49037 * string/test-rawmemchr.c (do_one_test): Likewise.
49038 (do_test): Likewise.
49039 * string/test-strcasecmp.c (do_one_test): Likewise.
49040 (do_test): Likewise.
49041 * string/test-strcasestr.c (do_one_test): Likewise.
49042 (do_test): Likewise.
49043 * string/test-strcat.c (do_one_test): Likewise.
49044 (do_test): Likewise.
49045 * string/test-strchr.c (do_one_test): Likewise.
49046 (do_test): Likewise.
49047 * string/test-strcmp.c (do_one_test): Likewise.
49048 (do_test): Likewise.
49049 * string/test-strcpy.c (do_one_test): Likewise.
49050 (do_test): Likewise.
49051 * string/test-string.h: Likewise.
49052 (test_init): Likewise.
49053 * string/test-strlen.c (do_one_test): Likewise.
49054 (do_test): Likewise.
49055 * string/test-strncasecmp.c (do_one_test): Likewise.
49056 (do_test): Likewise.
49057 * string/test-strncat.c (do_one_test): Likewise.
49058 (do_test): Likewise.
49059 * string/test-strncmp.c (do_one_test): Likewise.
49060 (do_test_limit): Likewise.
49061 (do_test): Likewise.
49062 * string/test-strncpy.c (do_one_test): Likewise.
49063 (do_test): Likewise.
49064 * string/test-strnlen.c (do_one_test): Likewise.
49065 (do_test): Likewise.
49066 * string/test-strpbrk.c (do_one_test): Likewise.
49067 (do_test): Likewise.
49068 * string/test-strrchr.c (do_one_test): Likewise.
49069 (do_test): Likewise.
49070 * string/test-strspn.c (do_one_test): Likewise.
49071 (do_test): Likewise.
49072 * string/test-strstr.c (do_one_test): Likewise.
49073 (do_test): Likewise.
49074
49075 * benchtests/Makefile (string-bench): Add string benchmarks.
49076 * benchtests/bench-bcopy-ifunc.c: New file.
49077 * benchtests/bench-bcopy.c: New file.
49078 * benchtests/bench-bzero-ifunc.c: New file.
49079 * benchtests/bench-bzero.c: New file.
49080 * benchtests/bench-memccpy-ifunc.c: New file.
49081 * benchtests/bench-memccpy.c: New file.
49082 * benchtests/bench-memchr-ifunc.c: New file.
49083 * benchtests/bench-memchr.c: New file.
49084 * benchtests/bench-memcmp-ifunc.c: New file.
49085 * benchtests/bench-memcmp.c: New file.
49086 * benchtests/bench-memmem-ifunc.c: New file.
49087 * benchtests/bench-memmem.c: New file.
49088 * benchtests/bench-memmove-ifunc.c: New file.
49089 * benchtests/bench-memmove.c: New file.
49090 * benchtests/bench-mempcpy-ifunc.c: New file.
49091 * benchtests/bench-mempcpy.c: New file.
49092 * benchtests/bench-memset-ifunc.c: New file.
49093 * benchtests/bench-memset.c: New file.
49094 * benchtests/bench-rawmemchr-ifunc.c: New file.
49095 * benchtests/bench-rawmemchr.c: New file.
49096 * benchtests/bench-stpcpy-ifunc.c: New file.
49097 * benchtests/bench-stpcpy.c: New file.
49098 * benchtests/bench-stpncpy-ifunc.c: New file.
49099 * benchtests/bench-stpncpy.c: New file.
49100 * benchtests/bench-strcasecmp-ifunc.c: New file.
49101 * benchtests/bench-strcasecmp.c: New file.
49102 * benchtests/bench-strcasestr-ifunc.c: New file.
49103 * benchtests/bench-strcasestr.c: New file.
49104 * benchtests/bench-strcat-ifunc.c: New file.
49105 * benchtests/bench-strcat.c: New file.
49106 * benchtests/bench-strchr-ifunc.c: New file.
49107 * benchtests/bench-strchr.c: New file.
49108 * benchtests/bench-strchrnul-ifunc.c: New file.
49109 * benchtests/bench-strchrnul.c: New file.
49110 * benchtests/bench-strcmp-ifunc.c: New file.
49111 * benchtests/bench-strcmp.c: New file.
49112 * benchtests/bench-strcpy-ifunc.c: New file.
49113 * benchtests/bench-strcpy.c: New file.
49114 * benchtests/bench-strcspn-ifunc.c: New file.
49115 * benchtests/bench-strcspn.c: New file.
49116 * benchtests/bench-strlen-ifunc.c: New file.
49117 * benchtests/bench-strlen.c: New file.
49118 * benchtests/bench-strncasecmp-ifunc.c: New file.
49119 * benchtests/bench-strncasecmp.c: New file.
49120 * benchtests/bench-strncat-ifunc.c: New file.
49121 * benchtests/bench-strncat.c: New file.
49122 * benchtests/bench-strncmp-ifunc.c: New file.
49123 * benchtests/bench-strncmp.c: New file.
49124 * benchtests/bench-strncpy-ifunc.c: New file.
49125 * benchtests/bench-strncpy.c: New file.
49126 * benchtests/bench-strnlen-ifunc.c: New file.
49127 * benchtests/bench-strnlen.c: New file.
49128 * benchtests/bench-strpbrk-ifunc.c: New file.
49129 * benchtests/bench-strpbrk.c: New file.
49130 * benchtests/bench-strrchr-ifunc.c: New file.
49131 * benchtests/bench-strrchr.c: New file.
49132 * benchtests/bench-strspn-ifunc.c: New file.
49133 * benchtests/bench-strspn.c: New file.
49134 * benchtests/bench-strstr-ifunc.c: New file.
49135 * benchtests/bench-strstr.c: New file.
49136
49137 * benchtests/Makefile: Disable parallel execution of targets.
49138 (string-bench): Add memcpy.
49139 (benchset): New variable to store a list of benchmark sets.
49140 (bench-func): Renamed from bench.
49141 (bench-set): New target.
49142 (bench): Depend on bench-func and bench-set.
49143 * benchtests/README: Add section on benchmark sets.
49144 * benchtests/bench-memcpy-ifunc.c: New file.
49145 * benchtests/bench-memcpy.c: New file.
49146 * benchtests/bench-string.h: New file.
49147
49148 2013-06-11 Andreas Schwab <schwab@suse.de>
49149
49150 [BZ #15577]
49151 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
49152 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
49153 values in the triple.
49154 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
49155 terminator in the group key.
49156
49157 2013-06-11 Andreas Jaeger <aj@suse.de>
49158
49159 * po/zh_TW.po: Update Chinese (traditional) translation from
49160 translation project.
49161
49162 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
49163
49164 * include/time.h (__clock_gettime): Add libc_hidden_proto.
49165 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
49166 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
49167 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
49168 (clock_getcpuclockid): Likewise.
49169 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
49170 Add weak_alias and libc_hidden_def.
49171 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
49172 * rt/clock_gettime.c (clock_gettime): Rename to
49173 __clock_gettime. Add weak_alias and libc_hidden_def.
49174 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
49175 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
49176 __clock_nanosleep. Add weak_alias and libc_hidden_def.
49177 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
49178 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
49179 Likewise.
49180 * rt/clock_settime.c (clock_settime): Rename to
49181 __clock_settime. Add weak_alias and libc_hidden_def.
49182 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
49183
49184 2013-06-10 Joseph Myers <joseph@codesourcery.com>
49185
49186 * mach/err_boot.sub: Remove trailing whitespace.
49187 * mach/err_ipc.sub: Likewise.
49188 * mach/err_mach.sub: Likewise.
49189
49190 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
49191 (ROUNDING_TESTS_double): Likewise.
49192 (ROUNDING_TESTS_long_double): Likewise.
49193 (ROUNDING_TESTS): Likewise.
49194 * math/libm-test.inc: Include <math-tests.h>.
49195 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
49196 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
49197 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
49198 (IF_ROUND_INIT_FE_UPWARD): Likewise.
49199
49200 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
49201
49202 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
49203 of assigning.
49204
49205 2013-06-08 Joseph Myers <joseph@codesourcery.com>
49206
49207 * sysdeps/gnu/errlist.awk: Do not generate space at end of
49208 otherwise empty TRANS lines.
49209 * sysdeps/gnu/errlist.c: Regenerated.
49210
49211 * catgets/gencat.c (error_print): Use (void) in function
49212 definition.
49213 * crypt/crypt_util.c (__init_des): Likewise.
49214 * crypt/speeds.c (Stop): Likewise.
49215 (main): Likewise.
49216 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
49217 * inet/ruserpass.c (token): Likewise.
49218 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
49219 * intl/localealias.c (extend_alias_table): Likewise.
49220 * intl/plural-exp.c (init_germanic_plural): Likewise.
49221 * libio/fcloseall.c (__fcloseall): Likewise.
49222 * libio/genops.c (_IO_flush_all): Likewise.
49223 (_IO_flush_all_linebuffered): Likewise.
49224 (_IO_cleanup): Likewise.
49225 (_IO_iter_begin): Likewise.
49226 (_IO_iter_end): Likewise.
49227 (_IO_list_lock): Likewise.
49228 (_IO_list_unlock): Likewise.
49229 (_IO_list_resetlock): Likewise.
49230 * libio/getchar.c (getchar): Likewise.
49231 * libio/getchar_u.c (getchar_unlocked): Likewise.
49232 * libio/getwchar.c (getwchar): Likewise.
49233 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
49234 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
49235 * login/getpt.c (__getpt): Likewise.
49236 * login/tst-utmp.c (main): Likewise.
49237 * malloc/hooks.c (__malloc_check_init): Likewise.
49238 * malloc/malloc.c (__malloc_stats): Likewise.
49239 * malloc/mtrace.c (tr_break): Likewise.
49240 (mtrace): Likewise.
49241 (muntrace): Likewise.
49242 * misc/fstab.c (endfsent): Likewise.
49243 * misc/getclktck.c (__getclktck): Likewise.
49244 * misc/getdtsz.c (__getdtablesize): Likewise.
49245 * misc/gethostid.c (gethostid): Likewise.
49246 * misc/getpagesize.c (__getpagesize): Likewise.
49247 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
49248 (__get_nprocs): Likewise.
49249 (__get_phys_pages): Likewise.
49250 (__get_avphys_pages): Likewise.
49251 * misc/getttyent.c (getttyent): Likewise.
49252 (setttyent): Likewise.
49253 (endttyent): Likewise.
49254 * misc/getusershell.c (getusershell): Likewise.
49255 (endusershell): Likewise.
49256 (setusershell): Likewise.
49257 (initshells): Likewise.
49258 * misc/hsearch.c (__hdestroy): Likewise.
49259 * misc/sync.c (sync): Likewise.
49260 * misc/syslog.c (closelog_internal): Likewise.
49261 (closelog): Likewise.
49262 * misc/ttyslot.c (ttyslot): Likewise.
49263 * misc/vhangup.c (vhangup): Likewise.
49264 * posix/fork.c (__fork): Likewise.
49265 * posix/getegid.c (__getegid): Likewise.
49266 * posix/geteuid.c (__geteuid): Likewise.
49267 * posix/getgid.c (__getgid): Likewise.
49268 * posix/getpid.c (__getpid): Likewise.
49269 * posix/getppid.c (__getppid): Likewise.
49270 * posix/getuid.c (__getuid): Likewise.
49271 * posix/pause.c (pause): Likewise.
49272 * posix/setpgrp.c (setpgrp): Likewise.
49273 * posix/setsid.c (__setsid): Likewise.
49274 * posix/test-vfork.c (noop): Likewise.
49275 * resolv/gethnamaddr.c (_endhtent): Likewise.
49276 (_gethtent): Likewise.
49277 (ht_endhostent): Likewise.
49278 (gethostent): Likewise.
49279 (dns_service): Likewise.
49280 * stdlib/drand48.c (drand48): Likewise.
49281 * stdlib/lrand48.c (lrand48): Likewise.
49282 * stdlib/mrand48.c (mrand48): Likewise.
49283 * stdlib/rand.c (rand): Likewise.
49284 * stdlib/random.c (__random): Likewise.
49285 * stdlib/setenv.c (clearenv): Likewise.
49286 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
49287 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
49288 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
49289 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
49290 (__get_nprocs): Likewise.
49291 (__get_phys_pages): Likewise.
49292 (__get_avphys_pages): Likewise.
49293 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
49294 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
49295 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
49296 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
49297 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
49298 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
49299 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
49300 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
49301 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
49302 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
49303 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
49304 * sysdeps/mach/hurd/sync.c (sync): Likewise.
49305 * sysdeps/posix/clock.c (clock): Likewise.
49306 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
49307 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
49308 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
49309 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
49310 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
49311 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
49312 (__get_nprocs_conf): Likewise.
49313 (__get_phys_pages): Likewise.
49314 (__get_avphys_pages): Likewise.
49315 * time/clock.c (clock): Likewise.
49316 * time/tzset.c (__tzname_max): Likewise.
49317
49318 2013-06-07 Joseph Myers <joseph@codesourcery.com>
49319
49320 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
49321 (__bswap_32): Do not use "register".
49322 * crypt/crypt.c (_ufc_doit_r): Likewise.
49323 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
49324 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
49325 * gmon/gmon.c (__monstartup): Likewise.
49326 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
49327 * hurd/hurdmalloc.c (more_memory): Likewise.
49328 (malloc): Likewise.
49329 (free): Likewise.
49330 (realloc): Likewise.
49331 (malloc_fork_prepare): Likewise.
49332 (malloc_fork_parent): Likewise.
49333 (malloc_fork_child): Likewise.
49334 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
49335 (_svcauth_des): Likewise.
49336 * inet/inet_lnaof.c (inet_lnaof): Likewise.
49337 * inet/inet_net.c (inet_network): Likewise.
49338 * inet/inet_netof.c (inet_netof): Likewise.
49339 * inet/rcmd.c (__validuser2_sa): Likewise.
49340 * io/fts.c (fts_open): Likewise.
49341 (fts_load): Likewise.
49342 (fts_close): Likewise.
49343 (fts_read): Likewise.
49344 (fts_children): Likewise.
49345 (fts_build): Likewise.
49346 (fts_stat): Likewise.
49347 (fts_sort): Likewise.
49348 (fts_alloc): Likewise.
49349 (fts_lfree): Likewise.
49350 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
49351 (_IO_file_xsgetn): Likewise.
49352 (_IO_file_xsgetn_mmap): Likewise.
49353 * libio/iofopncook.c (_IO_cookie_read): Likewise.
49354 (_IO_cookie_write): Likewise.
49355 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
49356 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
49357 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
49358 * malloc/obstack.c (_obstack_begin): Likewise.
49359 (_obstack_begin_1): Likewise.
49360 (_obstack_newchunk): Likewise.
49361 (_obstack_allocated_p): Likewise.
49362 (obstack_free): Likewise.
49363 (_obstack_memory_used): Likewise.
49364 * misc/getttyent.c (getttynam): Likewise.
49365 (getttyent): Likewise.
49366 (skip): Likewise.
49367 (value): Likewise.
49368 * misc/getusershell.c (initshells): Likewise.
49369 * misc/syslog.c (__vsyslog_chk): Likewise.
49370 * misc/ttyslot.c (ttyslot): Likewise.
49371 * nis/nis_hash.c (__nis_hash): Likewise.
49372 * posix/fnmatch_loop.c (FCT): Likewise.
49373 * posix/getconf.c (print_all): Likewise.
49374 (main): Likewise.
49375 * posix/getopt.c (exchange): Likewise.
49376 * posix/glob.c (globfree): Likewise.
49377 (prefix_array): Likewise.
49378 (__glob_pattern_type): Likewise.
49379 * resolv/arpa/nameser.h (NS_GET16): Likewise.
49380 (NS_GET32): Likewise.
49381 (NS_PUT16): Likewise.
49382 (NS_PUT32): Likewise.
49383 * resolv/gethnamaddr.c (getanswer): Likewise.
49384 (gethostbyname2): Likewise.
49385 (gethostbyaddr): Likewise.
49386 (_gethtent): Likewise.
49387 (_gethtbyname2): Likewise.
49388 (_gethtbyaddr): Likewise.
49389 * resolv/ns_print.c (dst_s_get_int16): Likewise.
49390 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
49391 * resolv/res_init.c (__res_vinit): Likewise.
49392 (net_mask): Likewise.
49393 * resolv/res_mkquery.c (outchar): Likewise.
49394 (PRINT): Likewise.
49395 * stdio-common/printf_fp.c (outchar): Likewise.
49396 (PRINT): Likewise.
49397 * stdio-common/printf_fphex.c (outchar): Likewise.
49398 (PRINT): Likewise.
49399 * stdio-common/printf_size.c (outchar): Likewise.
49400 (PRINT): Likewise.
49401 * stdio-common/test_rdwr.c (main): Likewise.
49402 * stdio-common/tfformat.c (matches): Likewise.
49403 * stdio-common/vfprintf.c (outchar): Likewise.
49404 (printf_unknown): Likewise.
49405 (buffered_vfprintf): Likewise.
49406 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
49407 * stdio-common/xbug.c (AppendToBuffer): Likewise.
49408 (ReadFile): Likewise.
49409 * stdlib/qsort.c (SWAP): Likewise.
49410 (_quicksort): Likewise.
49411 * stdlib/setenv.c (__add_to_environ): Likewise.
49412 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
49413 * stdlib/strtol_l.c (__strtol_l): Likewise.
49414 * stdlib/tst-strtod.c (main): Likewise.
49415 * stdlib/tst-strtol.c (main): Likewise.
49416 * stdlib/tst-strtoll.c (main): Likewise.
49417 * string/bits/string2.h (__strcmp_cc): Likewise.
49418 (__strcmp_cg): Likewise.
49419 (__strcspn_c1): Likewise.
49420 (__strcspn_c2): Likewise.
49421 (__strcspn_c3): Likewise.
49422 (__strspn_c1): Likewise.
49423 (__strspn_c2): Likewise.
49424 (__strspn_c3): Likewise.
49425 (__strsep_1c): Likewise.
49426 (__strsep_2c): Likewise.
49427 (__strsep_3c): Likewise.
49428 * string/memccpy.c (__memccpy): Likewise.
49429 * string/stpcpy.c (__stpcpy): Likewise.
49430 * string/strcmp.c (strcmp): Likewise.
49431 * string/strrchr.c (strrchr): Likewise.
49432 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
49433 Likewise.
49434 * sysdeps/mach/hurd/getcwd.c
49435 (_hurd_canonicalize_directory_name_internal): Likewise.
49436 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
49437 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
49438 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
49439 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
49440 Likewise, in both definitions.
49441 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
49442 definitions.
49443 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
49444 64] (__bswap_64): Likewise.
49445 * time/test_time.c (main): Likewise.
49446 * time/tzfile.c (__tzfile_read): Likewise.
49447 (__tzfile_compute): Likewise.
49448 * time/tzset.c (__tzset_parse_tz): Likewise.
49449 (tzset_internal): Likewise.
49450 (compute_change): Likewise.
49451 * wcsmbs/wcscat.c (__wcscat): Likewise.
49452 * wcsmbs/wcschr.c (wcschr): Likewise.
49453 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
49454 * wcsmbs/wcscspn.c (wcscspn): Likewise.
49455 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
49456 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
49457 * wcsmbs/wcsspn.c (wcsspn): Likewise.
49458 * wcsmbs/wcsstr.c (wcsstr): Likewise.
49459 * wcsmbs/wmemchr.c (wmemchr): Likewise.
49460 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
49461 * wcsmbs/wmemset.c (wmemset): Likewise.
49462
49463 2013-06-06 Joseph Myers <joseph@codesourcery.com>
49464
49465 * scripts/config.guess: Update to version 2013-05-16.
49466 * scripts/config.sub: Update to version 2013-04-24.
49467 * scripts/install-sh: Update to version 2011-11-20.07.
49468 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
49469 * scripts/move-if-change: Update to version 2012-01-06 07:23.
49470
49471 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
49472
49473 * debug/fgetws_u_chk.c: Fix leading whitespaces.
49474 * elf/sln.c: Likewise.
49475 * hurd/hurd/ioctl.h: Likewise.
49476 * hurd/hurdmalloc.c: Likewise.
49477 * hurd/xattr.c: Likewise.
49478 * include/shlib-compat.h: Likewise.
49479 * inet/ruserpass.c: Likewise.
49480 * libio/iofgets_u.c: Likewise.
49481 * libio/iofgetws_u.c: Likewise.
49482 * locale/programs/ld-identification.c: Likewise.
49483 * locale/programs/ld-time.c: Likewise.
49484 * mach/msg-destroy.c: Likewise.
49485 * nss/nss_files/files-netgrp.c: Likewise.
49486 * resolv/res_data.c: Likewise.
49487 * soft-fp/op-1.h: Likewise.
49488 * soft-fp/op-2.h: Likewise.
49489 * soft-fp/op-4.h: Likewise.
49490 * soft-fp/op-common.h: Likewise.
49491 * stdio-common/printf_fphex.c: Likewise.
49492 * stdlib/strtod_l.c: Likewise.
49493 * sunrpc/rpc/clnt.h: Likewise.
49494 * sysdeps/generic/framestate.c: Likewise.
49495 * sysdeps/i386/bsd-_setjmp.S: Likewise.
49496 * sysdeps/i386/bsd-setjmp.S: Likewise.
49497 * sysdeps/i386/__longjmp.S: Likewise.
49498 * sysdeps/i386/setjmp.S: Likewise.
49499 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
49500 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
49501 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49502 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
49503 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
49504 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
49505 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
49506 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
49507 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
49508 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
49509 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
49510 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
49511 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
49512 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
49513 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
49514 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
49515 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
49516 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
49517 * sysdeps/ieee754/support.c: Likewise.
49518 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
49519 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
49520 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
49521 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
49522 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
49523 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
49524 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
49525 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
49526 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
49527 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
49528 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
49529 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
49530 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
49531 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
49532 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
49533 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
49534 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
49535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
49536
49537 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
49538
49539 * posix/transbug.c: Remove executable mode.
49540
49541 2013-06-05 Joseph Myers <joseph@codesourcery.com>
49542
49543 * crypt/speeds.c: Remove trailing whitespace.
49544 * dlfcn/default.c: Likewise.
49545 * elf/ifuncdep2.c: Likewise.
49546 * elf/ifuncmain1.c: Likewise.
49547 * elf/ifuncmain1vis.c: Likewise.
49548 * elf/testobj.h: Likewise.
49549 * elf/tst-stackguard1.c: Likewise.
49550 * gmon/sys/gmon.h: Likewise.
49551 * hurd/hurdmsg.c: Likewise.
49552 * hurd/new-fd.c: Likewise.
49553 * hurd/ports-get.c: Likewise.
49554 * iconvdata/ibm1008_420.c: Likewise.
49555 * inet/tst-getni1.c: Likewise.
49556 * inet/tst-getni2.c: Likewise.
49557 * libio/ioungetc.c: Likewise.
49558 * libio/wfiledoalloc.c: Likewise.
49559 * manual/libm-err-tab.pl: Likewise.
49560 * math/w_dremf.c: Likewise.
49561 * misc/ftruncate.c: Likewise.
49562 * posix/bug-glob2.c: Likewise.
49563 * posix/tst-pcre.c: Likewise.
49564 * posix/wait4.c: Likewise.
49565 * resolv/README: Likewise.
49566 * resolv/res_debug.h: Likewise.
49567 * resolv/tst-inet_ntop.c: Likewise.
49568 * setjmp/bug269-setjmp.c: Likewise.
49569 * soft-fp/extended.h: Likewise.
49570 * soft-fp/op-1.h: Likewise.
49571 * soft-fp/op-2.h: Likewise.
49572 * soft-fp/op-4.h: Likewise.
49573 * soft-fp/op-8.h: Likewise.
49574 * soft-fp/testit.c: Likewise.
49575 * stdio-common/bug16.c: Likewise.
49576 * stdlib/random.c: Likewise.
49577 * sunrpc/rpcsvc/rquota.x: Likewise.
49578 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
49579 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
49580 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49581 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
49582 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
49583 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
49584 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
49585 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
49586 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
49587 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
49588 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
49589 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
49590 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
49591 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
49592 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
49593 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
49594 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
49595 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
49596 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
49597 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
49598 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
49599 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
49600 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
49601 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
49602 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
49603 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
49604 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
49605 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
49606 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
49607 * sysdeps/ieee754/s_lib_version.c: Likewise.
49608 * sysdeps/mach/hurd/check_fds.c: Likewise.
49609 * sysdeps/mach/hurd/getsockname.c: Likewise.
49610 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
49611 * sysdeps/mach/hurd/recvfrom.c: Likewise.
49612 * sysdeps/powerpc/bits/link.h: Likewise.
49613 * sysdeps/powerpc/dl-procinfo.c: Likewise.
49614 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
49615 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
49616 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
49617 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
49618 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
49619 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
49620 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
49621 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
49622 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
49623 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
49624 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
49625 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
49626 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
49627 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
49628 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
49629 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
49630 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
49631 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
49632 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
49633 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
49634 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
49635 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
49636 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
49637 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
49638 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
49639 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
49640 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
49641 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
49642 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
49643 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
49644 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
49645 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
49646 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
49647 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
49648 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
49649 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
49650 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
49651 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
49652 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
49653 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
49654 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
49655 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
49656 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
49657 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
49658 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
49659 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
49660 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
49661 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
49662 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
49663 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
49664 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
49665 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
49666 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
49667 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
49668 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
49669 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
49670 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
49671 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
49672 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
49673 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
49674 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
49675 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
49676 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
49677 * sysdeps/powerpc/sysdep.h: Likewise.
49678 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
49679 * sysdeps/s390/s390-64/sub_n.S: Likewise.
49680 * sysdeps/sh/dl-trampoline.S: Likewise.
49681 * sysdeps/sh/memset.S: Likewise.
49682 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
49683 * sysdeps/sh/strlen.S: Likewise.
49684 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
49685 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
49686 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
49687 * sysdeps/sparc/sparc32/rem.S: Likewise.
49688 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
49689 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
49690 * sysdeps/sparc/sparc32/strchr.S: Likewise.
49691 * sysdeps/sparc/sparc32/udiv.S: Likewise.
49692 * sysdeps/sparc/sparc32/urem.S: Likewise.
49693 * sysdeps/sparc/sparc64/add_n.S: Likewise.
49694 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
49695 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
49696 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
49697 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
49698 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
49699 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
49700 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
49701 * sysdeps/unix/bsd/times.c: Likewise.
49702 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
49703 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
49704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
49705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
49706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
49707 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
49708 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
49709 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
49710 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
49711 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
49712 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
49713 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
49714 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
49715 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
49716 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
49717 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
49718 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
49719 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
49720 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
49721 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
49722 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
49723 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
49724 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
49725 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
49726 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
49727 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
49728 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
49729 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49730 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
49731 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
49732 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
49733 * sysdeps/x86_64/strcspn.S: Likewise.
49734
49735 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
49736
49737 * locale/C-translit.h: Revert #include <stdint.h> because this is a
49738 generated file. Regenerate properly from gen-translit.pl.
49739 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
49740 locale/C-translit.h.
49741
49742 2013-06-05 Andreas Schwab <schwab@suse.de>
49743
49744 [BZ #15100]
49745 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
49746 week as 6 instead of -1.
49747 * time/tst-strptime.c (day_tests): Add test case.
49748
49749 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
49750
49751 * sysdeps/generic/math_private.h
49752 (libc_feholdexcept_setround_53bit): Replace with
49753 libc_feholdsetround_53bit.
49754 (libc_feupdateenv_53bit): Replace with
49755 libc_feresetround_53bit.
49756 (SET_RESTORE_ROUND_53BIT): Adjust.
49757
49758 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
49759
49760 * string/test-strchrnul.c: Add copyright header.
49761
49762 * posix/tst-getaddrinfo4.c: Increase test timeout.
49763
49764 2013-06-03 Carlos O'Donell <carlos@redhat.com>
49765
49766 [BZ #15536]
49767 * math/libm-test.inc (MAX_EXP): Remove
49768 (MIN_EXP): Define.
49769 (ulp): Use MIN_EXP - MANT_DIG.
49770 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
49771
49772 2013-05-31 Carlos O'Donell <carlos@redhat.com>
49773
49774 * po/be.po: Revert last change.
49775 * po/zh_CN.po: Likewise.
49776 * po/header.pot: Likewise.
49777
49778 2013-05-31 Joseph Myers <joseph@codesourcery.com>
49779
49780 * Makefile ($(common-objpfx)linkobj/libc.so): Define
49781 link-libc-deps to empty as target-specific variable.
49782 * Makerules (link-libc-args): New variable.
49783 (libc-for-link): Likewise.
49784 (link-libc-deps): Likewise.
49785 (lib%.so): Depend on $(link-libc-deps). Link with
49786 $(link-libc-args).
49787 (build-module): Link with $(link-libc-args).
49788 (build-module-asneeded): Likewise.
49789 (build-module-helper-objlist): Filter out $(link-libc-deps) from
49790 list of objects.
49791 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
49792 target-specific variable.
49793 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
49794 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
49795 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
49796 libc.
49797 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
49798 libc and ld.so.
49799 ($(objpfx)libpcprofile.so): Likewise.
49800 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
49801 libc_nonshared.a.
49802 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
49803 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
49804 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
49805 $(link-libc-deps).
49806 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
49807 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
49808 * login/Makefile ($(objpfx)libutil.so): Likewise.
49809 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
49810 * math/Makefile ($(objpfx)libm.so): Likewise.
49811 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
49812 $(objpfx)libnsl.so): Define libc-for-link as target-specific
49813 variable instead of depending directly on libc.
49814 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
49815 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
49816 $(link-libc-deps).
49817 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
49818 libc.
49819 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
49820 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
49821 ($(objpfx)libanl.so): Likewise.
49822 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
49823 ld.so.
49824 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
49825 $(link-libc-deps).
49826 * sysdeps/i386/fpu/Makefile: Remove file.
49827 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
49828 ($(objpfx)libm.so): Remove dependency on ld.so.
49829
49830 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
49831
49832 [BZ # 15553]
49833 * nis/yp_xdr.c (XDRMAXNAME): Define.
49834 (XDRMAXRECORD): Define.
49835 (xdr_domainname): Use XDRMAXNAME.
49836 (xdr_mapname): Likewise.
49837 (xdr_peername): Likewise.
49838 (xdr_keydat): Use XDRMAXRECORD.
49839 (xdr_valdat): Likewise.
49840
49841 2013-05-30 Jeff Law <law@redhat.com>
49842
49843 [BZ #14256]
49844 * manual/errno.texi (ESTALE): Update to account for more than
49845 just NFS file systems.
49846 * sysdeps/gnu/errlist.c: Regenerated.
49847
49848 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
49849
49850 [BZ #15465]
49851 * elf/Makefile (tests): Add tst-null-argv.
49852 (modules-names): Add tst-null-argv-lib.
49853 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
49854 (tst-null-argv-ENV): Set environment for tst-null-argv.
49855 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
49856 (RTLD_PROGNAME): New macro.
49857 * elf/tst-null-argv.c: New test case.
49858 * elf/tst-null-argv-lib.c: Library for test case.
49859 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
49860 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
49861 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
49862 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
49863 * elf/dl-init.c (call_init): Likewise.
49864 (_dl_init): Likewise.
49865 * elf/dl-load.c (print_search_path): Likewise.
49866 (_dl_map_object): Likewise.
49867 * elf/dl-lookup.c (do_lookup_x): Likewise.
49868 (add_dependency): Likewise.
49869 (_dl_lookup_symbol_x): Likewise.
49870 (_dl_debug_bindings): Likewise.
49871 * elf/dl-open.c (_dl_show_scope): Likewise.
49872 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
49873 * elf/dl-version.c (match_symbol): Likewise.
49874 (_dl_check_map_versions): Likewise.
49875 * elf/rtld.c (dl_main): Likewise.
49876 (print_unresolved): Use RTLD_PROGNAME.
49877 (print_missing_version): Likewise.
49878 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
49879 (elf_machine_rela): Likewise.
49880 * sysdeps/powerpc/powerpc32/dl-machine.c
49881 (__process_machine_rela): Likewise.
49882 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49883 Likewise.
49884 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
49885 Likewise.
49886 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
49887 Likewise.
49888 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
49889 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
49890 Likewise.
49891 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
49892 Likewise.
49893 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
49894
49895 2013-05-28 Carlos O'Donell <carlos@redhat.com>
49896
49897 * po/be.po: Add descriptive title.
49898 * po/zh_CN.po: Likewise.
49899 * po/header.pot: Likewise.
49900
49901 2013-05-28 Mike Frysinger <vapier@gentoo.org>
49902
49903 * locale/programs/locarchive.c (create_archive): Inlucde fname in
49904 error message.
49905 (enlarge_archive): Likewise.
49906
49907 2013-05-28 Ben North <ben@redfrontdoor.org>
49908
49909 * manual/arith.texi (frexp): It is the magnitude of the return
49910 value which lies in [0.5, 1), not the return value itself.
49911
49912 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49913
49914 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49915
49916 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
49917
49918 * stdio-common/bug26.c (main): Correct fscanf template.
49919
49920 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
49921 declare _dl_skip_args.
49922
49923 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
49924 Don't declare.
49925
49926 * manual/platform.texi: Add missing @end deftypefun.
49927
49928 2013-05-24 Joseph Myers <joseph@codesourcery.com>
49929
49930 [BZ #15529]
49931 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
49932 bit of mantissa of 2^16382.
49933 * math/libm-test.inc (hypot_test_data): Add more tests.
49934
49935 * math/libm-test.inc: Add drem and pow10 to list of tested
49936 functions.
49937 (pow10_test): New function.
49938 (drem_test): Likewise.
49939 (drem_test_tonearest): Likewise.
49940 (drem_test_towardzero): Likewise.
49941 (drem_test_downward): Likewise.
49942 (drem_test_upward): Likewise.
49943 (main): Call the new functions.
49944
49945 * math/libm-test.inc (finite_test_data): Remove.
49946 (finite_test): Run tests from isfinite_test_data.
49947 (gamma_test_data): Remove.
49948 (gamma_test): Run tests from lgamma_test_data.
49949 * sysdeps/i386/fpu/libm-test-ulps: Update.
49950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49951
49952 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49953
49954 * manual/platform.texi: Add PowerPC PPR function set documentation.
49955 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
49956 implementation.
49957
49958 2013-05-24 Carlos O'Donell <carlos@redhat.com>
49959
49960 * math/libm-test.inc (MAX_EXP): Define.
49961 (ULPDIFF): Define.
49962 (ulp): New function.
49963 (check_float_internal): Use ULPDIFF.
49964 (cpow_test): Disable failing test.
49965 (check_ulp): Test ulp() implemetnation.
49966 (main): Call check_ulp before starting tests.
49967
49968 2013-05-24 Joseph Myers <joseph@codesourcery.com>
49969
49970 * math/gen-libm-test.pl (generate_testfile): Do not handle
49971 START_DATA and END_DATA.
49972 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
49973 END_DATA.
49974 (acos_tonearest_test_data): Likewise.
49975 (acos_towardzero_test_data): Likewise.
49976 (acos_downward_test_data): Likewise.
49977 (acos_upward_test_data): Likewise.
49978 (acosh_test_data): Likewise.
49979 (asin_test_data): Likewise.
49980 (asin_tonearest_test_data): Likewise.
49981 (asin_towardzero_test_data): Likewise.
49982 (asin_downward_test_data): Likewise.
49983 (asin_upward_test_data): Likewise.
49984 (asinh_test_data): Likewise.
49985 (atan_test_data): Likewise.
49986 (atanh_test_data): Likewise.
49987 (atan2_test_data): Likewise.
49988 (cabs_test_data): Likewise.
49989 (cacos_test_data): Likewise.
49990 (cacosh_test_data): Likewise.
49991 (carg_test_data): Likewise.
49992 (casin_test_data): Likewise.
49993 (casinh_test_data): Likewise.
49994 (catan_test_data): Likewise.
49995 (catanh_test_data): Likewise.
49996 (cbrt_test_data): Likewise.
49997 (ccos_test_data): Likewise.
49998 (ccosh_test_data): Likewise.
49999 (ceil_test_data): Likewise.
50000 (cexp_test_data): Likewise.
50001 (cimag_test_data): Likewise.
50002 (clog_test_data): Likewise.
50003 (clog10_test_data): Likewise.
50004 (conj_test_data): Likewise.
50005 (copysign_test_data): Likewise.
50006 (cos_test_data): Likewise.
50007 (cos_tonearest_test_data): Likewise.
50008 (cos_towardzero_test_data): Likewise.
50009 (cos_downward_test_data): Likewise.
50010 (cos_upward_test_data): Likewise.
50011 (cosh_test_data): Likewise.
50012 (cosh_tonearest_test_data): Likewise.
50013 (cosh_towardzero_test_data): Likewise.
50014 (cosh_downward_test_data): Likewise.
50015 (cosh_upward_test_data): Likewise.
50016 (cpow_test_data): Likewise.
50017 (cproj_test_data): Likewise.
50018 (creal_test_data): Likewise.
50019 (csin_test_data): Likewise.
50020 (csinh_test_data): Likewise.
50021 (csqrt_test_data): Likewise.
50022 (ctan_test_data): Likewise.
50023 (ctan_tonearest_test_data): Likewise.
50024 (ctan_towardzero_test_data): Likewise.
50025 (ctan_downward_test_data): Likewise.
50026 (ctan_upward_test_data): Likewise.
50027 (ctanh_test_data): Likewise.
50028 (ctanh_tonearest_test_data): Likewise.
50029 (ctanh_towardzero_test_data): Likewise.
50030 (ctanh_downward_test_data): Likewise.
50031 (ctanh_upward_test_data): Likewise.
50032 (erf_test_data): Likewise.
50033 (erfc_test_data): Likewise.
50034 (exp_test_data): Likewise.
50035 (exp_tonearest_test_data): Likewise.
50036 (exp_towardzero_test_data): Likewise.
50037 (exp_downward_test_data): Likewise.
50038 (exp_upward_test_data): Likewise.
50039 (exp10_test_data): Likewise.
50040 (exp2_test_data): Likewise.
50041 (expm1_test_data): Likewise.
50042 (fabs_test_data): Likewise.
50043 (fdim_test_data): Likewise.
50044 (finite_test_data): Likewise.
50045 (floor_test_data): Likewise.
50046 (fma_test_data): Likewise.
50047 (fma_towardzero_test_data): Likewise.
50048 (fma_downward_test_data): Likewise.
50049 (fma_upward_test_data): Likewise.
50050 (fmax_test_data): Likewise.
50051 (fmin_test_data): Likewise.
50052 (fmod_test_data): Likewise.
50053 (fpclassify_test_data): Likewise.
50054 (frexp_test_data): Likewise.
50055 (gamma_test_data): Likewise.
50056 (hypot_test_data): Likewise.
50057 (ilogb_test_data): Likewise.
50058 (isfinite_test_data): Likewise.
50059 (isgreater_test_data): Likewise.
50060 (isgreaterequal_test_data): Likewise.
50061 (isinf_test_data): Likewise.
50062 (isless_test_data): Likewise.
50063 (islessequal_test_data): Likewise.
50064 (islessgreater_test_data): Likewise.
50065 (isnan_test_data): Likewise.
50066 (isnormal_test_data): Likewise.
50067 (issignaling_test_data): Likewise.
50068 (isunordered_test_data): Likewise.
50069 (j0_test_data): Likewise.
50070 (j1_test_data): Likewise.
50071 (jn_test_data): Likewise.
50072 (ldexp_test_data): Likewise.
50073 (lgamma_test_data): Likewise.
50074 (lrint_test_data): Likewise.
50075 (lrint_tonearest_test_data): Likewise.
50076 (lrint_towardzero_test_data): Likewise.
50077 (lrint_downward_test_data): Likewise.
50078 (lrint_upward_test_data): Likewise.
50079 (llrint_test_data): Likewise.
50080 (llrint_tonearest_test_data): Likewise.
50081 (llrint_towardzero_test_data): Likewise.
50082 (llrint_downward_test_data): Likewise.
50083 (llrint_upward_test_data): Likewise.
50084 (log_test_data): Likewise.
50085 (log10_test_data): Likewise.
50086 (log1p_test_data): Likewise.
50087 (log2_test_data): Likewise.
50088 (logb_test_data): Likewise.
50089 (logb_downward_test_data): Likewise.
50090 (lround_test_data): Likewise.
50091 (llround_test_data): Likewise.
50092 (modf_test_data): Likewise.
50093 (nearbyint_test_data): Likewise.
50094 (nextafter_test_data): Likewise.
50095 (nexttoward_test_data): Likewise.
50096 (pow_test_data): Likewise.
50097 (pow_tonearest_test_data): Likewise.
50098 (pow_towardzero_test_data): Likewise.
50099 (pow_downward_test_data): Likewise.
50100 (pow_upward_test_data): Likewise.
50101 (remainder_test_data): Likewise.
50102 (remainder_tonearest_test_data): Likewise.
50103 (remainder_towardzero_test_data): Likewise.
50104 (remainder_downward_test_data): Likewise.
50105 (remainder_upward_test_data): Likewise.
50106 (remquo_test_data): Likewise.
50107 (rint_test_data): Likewise.
50108 (rint_tonearest_test_data): Likewise.
50109 (rint_towardzero_test_data): Likewise.
50110 (rint_downward_test_data): Likewise.
50111 (rint_upward_test_data): Likewise.
50112 (round_test_data): Likewise.
50113 (scalb_test_data): Likewise.
50114 (scalbn_test_data): Likewise.
50115 (scalbln_test_data): Likewise.
50116 (signbit_test_data): Likewise.
50117 (sin_test_data): Likewise.
50118 (sin_tonearest_test_data): Likewise.
50119 (sin_towardzero_test_data): Likewise.
50120 (sin_downward_test_data): Likewise.
50121 (sin_upward_test_data): Likewise.
50122 (sincos_test_data): Likewise.
50123 (sinh_test_data): Likewise.
50124 (sinh_tonearest_test_data): Likewise.
50125 (sinh_towardzero_test_data): Likewise.
50126 (sinh_downward_test_data): Likewise.
50127 (sinh_upward_test_data): Likewise.
50128 (sqrt_test_data): Likewise.
50129 (tan_test_data): Likewise.
50130 (tan_tonearest_test_data): Likewise.
50131 (tan_towardzero_test_data): Likewise.
50132 (tan_downward_test_data): Likewise.
50133 (tan_upward_test_data): Likewise.
50134 (tanh_test_data): Likewise.
50135 (tgamma_test_data): Likewise.
50136 (trunc_test_data): Likewise.
50137 (y0_test_data): Likewise.
50138 (y1_test_data): Likewise.
50139 (yn_test_data): Likewise.
50140 (significand_test_data): Likewise.
50141
50142 * math/gen-libm-test.pl (@functions): Remove variable.
50143 (generate_testfile): Don't handle START and END lines.
50144 * math/libm-test.inc (START): New macro.
50145 (END): Likewise.
50146 (END_COMPLEX): Likewise.
50147 (acos_test): Use END macro without arguments.
50148 (acos_test_tonearest): Likewise.
50149 (acos_test_towardzero): Likewise.
50150 (acos_test_downward): Likewise.
50151 (acos_test_upward): Likewise.
50152 (acosh_test): Likewise.
50153 (asin_test): Likewise.
50154 (asin_test_tonearest): Likewise.
50155 (asin_test_towardzero): Likewise.
50156 (asin_test_downward): Likewise.
50157 (asin_test_upward): Likewise.
50158 (asinh_test): Likewise.
50159 (atan_test): Likewise.
50160 (atanh_test): Likewise.
50161 (atan2_test): Likewise.
50162 (cabs_test): Likewise.
50163 (cacos_test): Use END_COMPLEX macro without arguments.
50164 (cacosh_test): Likewise.
50165 (carg_test): Use END macro without arguments.
50166 (casin_test): Use END_COMPLEX macro without arguments.
50167 (casinh_test): Likewise.
50168 (catan_test): Likewise.
50169 (catanh_test): Likewise.
50170 (cbrt_test): Use END macro without arguments.
50171 (ccos_test): Use END_COMPLEX macro without arguments.
50172 (ccosh_test): Likewise.
50173 (ceil_test): Use END macro without arguments.
50174 (cexp_test): Use END_COMPLEX macro without arguments.
50175 (cimag_test): Use END macro without arguments.
50176 (clog_test): Use END_COMPLEX macro without arguments.
50177 (clog10_test): Likewise.
50178 (conj_test): Likewise.
50179 (copysign_test): Use END macro without arguments.
50180 (cos_test): Likewise.
50181 (cos_test_tonearest): Likewise.
50182 (cos_test_towardzero): Likewise.
50183 (cos_test_downward): Likewise.
50184 (cos_test_upward): Likewise.
50185 (cosh_test): Likewise.
50186 (cosh_test_tonearest): Likewise.
50187 (cosh_test_towardzero): Likewise.
50188 (cosh_test_downward): Likewise.
50189 (cosh_test_upward): Likewise.
50190 (cpow_test): Use END_COMPLEX macro without arguments.
50191 (cproj_test): Likewise.
50192 (creal_test): Use END macro without arguments.
50193 (csin_test): Use END_COMPLEX macro without arguments.
50194 (csinh_test): Likewise.
50195 (csqrt_test): Likewise.
50196 (ctan_test): Likewise.
50197 (ctan_test_tonearest): Likewise.
50198 (ctan_test_towardzero): Likewise.
50199 (ctan_test_downward): Likewise.
50200 (ctan_test_upward): Likewise.
50201 (ctanh_test): Likewise.
50202 (ctanh_test_tonearest): Likewise.
50203 (ctanh_test_towardzero): Likewise.
50204 (ctanh_test_downward): Likewise.
50205 (ctanh_test_upward): Likewise.
50206 (erf_test): Use END macro without arguments.
50207 (erfc_test): Likewise.
50208 (exp_test): Likewise.
50209 (exp_test_tonearest): Likewise.
50210 (exp_test_towardzero): Likewise.
50211 (exp_test_downward): Likewise.
50212 (exp_test_upward): Likewise.
50213 (exp10_test): Likewise.
50214 (exp2_test): Likewise.
50215 (expm1_test): Likewise.
50216 (fabs_test): Likewise.
50217 (fdim_test): Likewise.
50218 (finite_test): Likewise.
50219 (floor_test): Likewise.
50220 (fma_test): Likewise.
50221 (fma_test_towardzero): Likewise.
50222 (fma_test_downward): Likewise.
50223 (fma_test_upward): Likewise.
50224 (fmax_test): Likewise.
50225 (fmin_test): Likewise.
50226 (fmod_test): Likewise.
50227 (fpclassify_test): Likewise.
50228 (frexp_test): Likewise.
50229 (gamma_test): Likewise.
50230 (hypot_test): Likewise.
50231 (ilogb_test): Likewise.
50232 (isfinite_test): Likewise.
50233 (isgreater_test): Likewise.
50234 (isgreaterequal_test): Likewise.
50235 (isinf_test): Likewise.
50236 (isless_test): Likewise.
50237 (islessequal_test): Likewise.
50238 (islessgreater_test): Likewise.
50239 (isnan_test): Likewise.
50240 (isnormal_test): Likewise.
50241 (issignaling_test): Likewise.
50242 (isunordered_test): Likewise.
50243 (j0_test): Likewise.
50244 (j1_test): Likewise.
50245 (jn_test): Likewise.
50246 (ldexp_test): Likewise.
50247 (lgamma_test): Likewise.
50248 (lrint_test): Likewise.
50249 (lrint_test_tonearest): Likewise.
50250 (lrint_test_towardzero): Likewise.
50251 (lrint_test_downward): Likewise.
50252 (lrint_test_upward): Likewise.
50253 (llrint_test): Likewise.
50254 (llrint_test_tonearest): Likewise.
50255 (llrint_test_towardzero): Likewise.
50256 (llrint_test_downward): Likewise.
50257 (llrint_test_upward): Likewise.
50258 (log_test): Likewise.
50259 (log10_test): Likewise.
50260 (log1p_test): Likewise.
50261 (log2_test): Likewise.
50262 (logb_test): Likewise.
50263 (logb_test_downward): Likewise.
50264 (lround_test): Likewise.
50265 (llround_test): Likewise.
50266 (modf_test): Likewise.
50267 (nearbyint_test): Likewise.
50268 (nextafter_test): Likewise.
50269 (nexttoward_test): Likewise.
50270 (pow_test): Likewise.
50271 (pow_test_tonearest): Likewise.
50272 (pow_test_towardzero): Likewise.
50273 (pow_test_downward): Likewise.
50274 (pow_test_upward): Likewise.
50275 (remainder_test): Likewise.
50276 (remainder_test_tonearest): Likewise.
50277 (remainder_test_towardzero): Likewise.
50278 (remainder_test_downward): Likewise.
50279 (remainder_test_upward): Likewise.
50280 (remquo_test): Likewise.
50281 (rint_test): Likewise.
50282 (rint_test_tonearest): Likewise.
50283 (rint_test_towardzero): Likewise.
50284 (rint_test_downward): Likewise.
50285 (rint_test_upward): Likewise.
50286 (round_test): Likewise.
50287 (scalb_test): Likewise.
50288 (scalbn_test): Likewise.
50289 (scalbln_test): Likewise.
50290 (signbit_test): Likewise.
50291 (sin_test): Likewise.
50292 (sin_test_tonearest): Likewise.
50293 (sin_test_towardzero): Likewise.
50294 (sin_test_downward): Likewise.
50295 (sin_test_upward): Likewise.
50296 (sincos_test): Likewise.
50297 (sinh_test): Likewise.
50298 (sinh_test_tonearest): Likewise.
50299 (sinh_test_towardzero): Likewise.
50300 (sinh_test_downward): Likewise.
50301 (sinh_test_upward): Likewise.
50302 (sqrt_test): Likewise.
50303 (tan_test): Likewise.
50304 (tan_test_tonearest): Likewise.
50305 (tan_test_towardzero): Likewise.
50306 (tan_test_downward): Likewise.
50307 (tan_test_upward): Likewise.
50308 (tanh_test): Likewise.
50309 (tgamma_test): Likewise.
50310 (trunc_test): Likewise.
50311 (y0_test): Likewise.
50312 (y1_test): Likewise.
50313 (yn_test): Likewise.
50314 (significand_test): Likewise.
50315
50316 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
50317
50318 [BZ #15381]
50319 * libio/genops.c (_IO_no_init): Initialize wide struct info.
50320
50321 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
50322
50323 [BZ #14894]
50324 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
50325 __ppc_mdoio and __ppc_mdoom.
50326 * manual/platform.texi: Document new functions __ppc_yield,
50327 __ppc_mdoio and __ppc_mdoom.
50328
50329 2013-05-22 Carlos O'Donell <carlos@redhat.com>
50330
50331 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
50332 (main): Mention "tls" pseudo-hwcap is legacy.
50333 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
50334
50335 2013-05-22 Joseph Myers <joseph@codesourcery.com>
50336
50337 * math/gen-libm-test.pl (parse_args): Output only string of
50338 arguments as text for test name, not full call or descriptions of
50339 tests for extra outputs.
50340 (generate_testfile): Do not pass function name to parse_args.
50341 Generate this_func variable from START.
50342 * math/libm-test.inc (struct test_f_f_data): Rename test_name
50343 field to arg_str.
50344 (struct test_ff_f_data): Likewise.
50345 (test_ff_f_data_nexttoward): Likewise.
50346 (struct test_fi_f_data): Likewise.
50347 (struct test_fl_f_data): Likewise.
50348 (struct test_if_f_data): Likewise.
50349 (struct test_fff_f_data): Likewise.
50350 (struct test_c_f_data): Likewise.
50351 (struct test_f_f1_data): Likewise. Remove field extra_name.
50352 (struct test_fF_f1_data): Likewise.
50353 (struct test_ffI_f1_data): Likewise.
50354 (struct test_c_c_data): Rename test_name field to arg_str.
50355 (struct test_cc_c_data): Likewise.
50356 (struct test_f_i_data): Likewise.
50357 (struct test_ff_i_data): Likewise.
50358 (struct test_f_l_data): Likewise.
50359 (struct test_f_L_data): Likewise.
50360 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
50361 and extra2_name.
50362 (COMMON_TEST_SETUP): New macro.
50363 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
50364 (COMMON_TEST_CLEANUP): Likewise.
50365 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
50366 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
50367 macros.
50368 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
50369 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
50370 macros.
50371 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
50372 (RUN_TEST_fff_f): Take argument string. Call new setup and
50373 cleanup macros.
50374 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
50375 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
50376 macros.
50377 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
50378 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
50379 macros.
50380 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
50381 (RUN_TEST_fF_f1): Take argument string. Call new setup and
50382 cleanup macros.
50383 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
50384 (RUN_TEST_fI_f1): Take argument string. Call new setup and
50385 cleanup macros.
50386 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
50387 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
50388 cleanup macros.
50389 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
50390 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
50391 macros.
50392 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
50393 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
50394 macros.
50395 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
50396 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
50397 macros.
50398 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
50399 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
50400 cleanup macros.
50401 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
50402 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
50403 cleanup macros.
50404 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
50405 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
50406 macros.
50407 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
50408 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
50409 cleanup macros.
50410 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
50411 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
50412 macros.
50413 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
50414 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
50415 macros.
50416 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
50417 (RUN_TEST_fFF_11): Take argument string. Call new setup and
50418 cleanup macros.
50419 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
50420
50421 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
50422
50423 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
50424 to _sifields.sigfault.
50425 (si_addr_lsb): Define new macro.
50426 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
50427 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
50428 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
50429
50430 2013-05-03 Carlos O'Donell <carlos at redhat.com>
50431
50432 [BZ #15441]
50433 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
50434 returns -1.
50435 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
50436 null return -1.
50437 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
50438 loading the domain.
50439
50440 2013-05-22 Joseph Myers <joseph@codesourcery.com>
50441
50442 * math/gen-libm-test.pl (parse_args): Do not include expected
50443 result in test name.
50444 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
50445 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50446 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
50447 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
50448 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
50449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50450
50451 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
50452
50453 * benchtests/Makefile: Sort function entries.
50454
50455 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
50456 tanh, asinh, acosh, atanh.
50457 * benchtests/acos-inputs: New file.
50458 * benchtests/acosh-inputs: New file.
50459 * benchtests/asin-inputs: New file.
50460 * benchtests/asinh-inputs: New file.
50461 * benchtests/atanh-inputs: New file.
50462 * benchtests/cosh-inputs: New file.
50463 * benchtests/log-inputs: New file.
50464 * benchtests/sinh-inputs: New file.
50465 * benchtests/tanh-inputs: New file.
50466
50467 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
50468
50469 [BZ #15339]
50470 * posix/tst-getaddrinfo4.c: New test.
50471 * posix/Makefile (tests): Add it.
50472
50473 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
50474
50475 [BZ #15339]
50476 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
50477 when no services were used.
50478 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
50479 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
50480
50481 2013-05-21 Andreas Schwab <schwab@suse.de>
50482
50483 [BZ #15014]
50484 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
50485 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
50486 successful.
50487 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
50488 redundant variable declarations and reallocation of buffer when
50489 parsing as IPv6 address. Always set NSS status when called from
50490 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
50491 buffer too small. Correct computation of needed size.
50492 * nss/Makefile (tests): Add test-digits-dots.
50493 * nss/test-digits-dots.c: New test.
50494
50495 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
50496
50497 * benchtests/Makefile: Remove instructions for adding
50498 benchmark tests.
50499 * benchtests/README: New file to explain how to execute and
50500 enhance the benchmark tests.
50501
50502 2013-05-21 Andreas Schwab <schwab@suse.de>
50503
50504 [BZ #15493]
50505 * setjmp/Makefile (tests): Add tst-sigsetjmp.
50506 * setjmp/tst-sigsetjmp.c: New test.
50507
50508 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
50509
50510 * sysdeps/x86_64/memset.S (memset): New implementation.
50511 (__bzero): Likewise.
50512 (__memset_tail): New function.
50513
50514 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
50515
50516 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
50517 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
50518 __memcpy_sse2_unaligned ifunc selection.
50519 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
50520 Add memcpy-sse2-unaligned.S.
50521 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
50522 Add: __memcpy_sse2_unaligned.
50523
50524 2013-05-19 Joseph Myers <joseph@codesourcery.com>
50525
50526 [BZ #15490]
50527 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
50528 math_force_eval before restoring floating-point envrionment.
50529 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
50530 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
50531 Likewise.
50532 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
50533 <math_private.h>.
50534 (__nearbyintl): Use math_force_eval before restoring
50535 floating-point environment.
50536 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
50537
50538 * math/gen-libm-test.pl (special_functions): Remove.
50539 (parse_args): Don't handle TEST_extra. Handle functions with no
50540 return value.
50541 * math/libm-test.inc (struct test_sincos_data): Replace with
50542 struct test_fFF_11_data.
50543 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
50544 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
50545 (sincos_test_data): Change element type to struct
50546 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
50547 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
50548 RUN_TEST_LOOP_sincos.
50549 * math/README.libm-test: Don't mention special handling of
50550 individual functions.
50551 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
50552 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50553 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
50554 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
50555 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
50556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50557
50558 * math/gen-libm-test.pl (get_variable): Remove function.
50559 (parse_args): Don't show pointer parameters to call in test
50560 names. Use "extra output N" in test names for extra outputs
50561 rather than naming variables.
50562
50563 2013-05-18 Joseph Myers <joseph@codesourcery.com>
50564
50565 [BZ #15488]
50566 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
50567 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
50568 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
50569 double tests.
50570 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
50571 disable.
50572 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
50573 check_long_double.
50574
50575 * math/gen-libm-test.pl (@tests): Remove variable.
50576 ($count): Likewise.
50577 (new_test): Remove function.
50578 (show_exceptions): New function.
50579 (special_functions): Use show_exceptions instead of new_test.
50580 (parse_args): Likewise.
50581 (generate_testfile): Pass only function name in generated call to
50582 print_max_error or print_complex_max_error.
50583 (get_ulps): Do not handle complex tests specially.
50584 (output_test): Rename to ...
50585 (get_all_ulps_for_test): ... this. Return a string rather than
50586 printing to a file. Require ulps to be present.
50587 (output_ulps): Generate arrays rather than #defines.
50588 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
50589 (struct ulp_data): New type.
50590 (BUILD_COMPLEX_ULP): Remove macro.
50591 (compare_ulp_data): New function.
50592 (find_ulps): Likewise.
50593 (find_test_ulps): Likewise.
50594 (find_function_ulps): Likewise.
50595 (find_complex_function_ulps): Likewise.
50596 (print_max_error): Determine allowed ulps using
50597 find_function_ulps.
50598 (print_complex_max_error): Determine allowed ulps using
50599 find_complex_function_ulps.
50600 (check_float_internal): Determine max ulps using find_test_ulps.
50601 (check_float): Do not take max_ulp parameter. Update call to
50602 check_float_internal.
50603 (check_complex): Likewise.
50604 (check_int): Do not take max_ulp parameter.
50605 (check_long): Likewise.
50606 (check_bool): Likewise.
50607 (check_longlong): Likewise.
50608 (struct test_f_f_data): Remove max_ulp field.
50609 (struct test_ff_f_data): Likewise.
50610 (struct test_ff_f_data_nexttoward): Likewise.
50611 (struct test_fi_f_data): Likewise.
50612 (struct test_fl_f_data): Likewise.
50613 (struct test_if_f_data): Likewise.
50614 (struct test_fff_f_data): Likewise.
50615 (struct test_c_f_data): Likewise.
50616 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
50617 (struct test_fF_f1_data): Likewise.
50618 (struct test_ffI_f1_data): Likewise.
50619 (struct test_c_c_data): Remove max_ulp field.
50620 (struct test_cc_c_data): Likewise.
50621 (struct test_f_i_data): Likewise.
50622 (struct test_ff_i_data): Likewise.
50623 (struct test_f_l_data): Likewise.
50624 (struct test_f_L_data): Likewise.
50625 (struct test_sincos_data): Likewise.
50626 (RUN_TEST_f_f): Do not handle ulps.
50627 (RUN_TEST_LOOP_f_f): Likewise.
50628 (RUN_TEST_2_f): Likewise.
50629 (RUN_TEST_LOOP_2_f): Likewise.
50630 (RUN_TEST_fff_f): Likewise.
50631 (RUN_TEST_LOOP_fff_f): Likewise.
50632 (RUN_TEST_c_f): Likewise.
50633 (RUN_TEST_LOOP_c_f): Likewise.
50634 (RUN_TEST_f_f1): Likewise.
50635 (RUN_TEST_LOOP_f_f1): Likewise.
50636 (RUN_TEST_fF_f1): Likewise.
50637 (RUN_TEST_LOOP_fF_f1): Likewise.
50638 (RUN_TEST_fI_f1): Likewise.
50639 (RUN_TEST_LOOP_fI_f1): Likewise.
50640 (RUN_TEST_ffI_f1): Likewise.
50641 (RUN_TEST_LOOP_ffI_f1): Likewise.
50642 (RUN_TEST_c_c): Likewise.
50643 (RUN_TEST_LOOP_c_c): Likewise.
50644 (RUN_TEST_cc_c): Likewise.
50645 (RUN_TEST_LOOP_cc_c): Likewise.
50646 (RUN_TEST_f_i): Likewise.
50647 (RUN_TEST_LOOP_f_i): Likewise.
50648 (RUN_TEST_f_i_tg): Likewise.
50649 (RUN_TEST_LOOP_f_i_tg): Likewise.
50650 (RUN_TEST_ff_i_tg): Likewise.
50651 (RUN_TEST_LOOP_ff_i_tg): Likewise.
50652 (RUN_TEST_f_b): Likewise.
50653 (RUN_TEST_LOOP_f_b): Likewise.
50654 (RUN_TEST_f_b_tg): Likewise.
50655 (RUN_TEST_LOOP_f_b_tg): Likewise.
50656 (RUN_TEST_f_l): Likewise.
50657 (RUN_TEST_LOOP_f_l): Likewise.
50658 (RUN_TEST_f_L): Likewise.
50659 (RUN_TEST_LOOP_f_L): Likewise.
50660 (RUN_TEST_sincos): Likewise.
50661 (RUN_TEST_LOOP_sincos): Likewise.
50662
50663 2013-05-17 Joseph Myers <joseph@codesourcery.com>
50664
50665 [BZ #15480]
50666 [BZ #15485]
50667 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
50668 main case of finite arguments, set rounding mode to FE_TONEAREST
50669 and discard exceptions.
50670 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
50671 exceptions.
50672 (remainder_tonearest_test_data): New variable.
50673 (remainder_test_tonearest): New function.
50674 (remainder_towardzero_test_data): New variable.
50675 (remainder_test_towardzero): New function.
50676 (remainder_downward_test_data): New variable.
50677 (remainder_test_downward): New function.
50678 (remainder_upward_test_data): New variable.
50679 (remainder_test_upward): New function.
50680 (main): Call the new test functions.
50681
50682 * math/libm-test.inc (struct test_f_f1_data): Remove field
50683 extra_init.
50684 (struct test_fF_f1_data): Likewise.
50685 (struct test_ffI_f1_data): Likewise.
50686 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
50687 based on value of EXTRA_EXPECTED.
50688 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
50689 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
50690 EXTRA_VAR based on value of EXTRA_EXPECTED.
50691 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
50692 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
50693 EXTRA_VAR based on value of EXTRA_EXPECTED.
50694 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
50695 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
50696 EXTRA_VAR based on value of EXTRA_EXPECTED.
50697 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
50698 * math/gen-libm-test.pl (parse_args): Don't output initializers
50699 for extra output values.
50700
50701 * math/libm-test.inc (check_int): Expect result to be exactly
50702 equal to expected value and do not handle ulps.
50703 (check_long): Likewise.
50704 (check_longlong): Likewise.
50705
50706 * math/libm-test.inc (ceil_test_data): Test for "inexact"
50707 exceptions.
50708 (cimag_test_data): Likewise.
50709 (conj_test_data): Likewise.
50710 (copysign_test_data): Likewise.
50711 (cproj_test_data): Likewise.
50712 (creal_test_data): Likewise.
50713 (fabs_test_data): Likewise.
50714 (fdim_test_data): Likewise.
50715 (finite_test_data): Likewise.
50716 (floor_test_data): Likewise.
50717 (fmax_test_data): Likewise.
50718 (fmin_test_data): Likewise.
50719 (fmod_test_data): Likewise.
50720 (fpclassify_test_data): Likewise.
50721 (frexp_test_data): Likewise.
50722 (ilogb_test_data): Likewise.
50723 (isfinite_test_data): Likewise.
50724 (isgreater_test_data): Likewise.
50725 (isgreaterequal_test_data): Likewise.
50726 (isinf_test_data): Likewise.
50727 (isless_test_data): Likewise.
50728 (islessequal_test_data): Likewise.
50729 (islessgreater_test_data): Likewise.
50730 (isnan_test_data): Likewise.
50731 (isnormal_test_data): Likewise.
50732 (issignaling_test_data): Likewise.
50733 (isunordered_test_data): Likewise.
50734 (ldexp_test_data): Likewise.
50735 (lrint_test_data): Likewise.
50736 (lrint_test_data) [TEST_FLOAT]: Disable one test.
50737 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
50738 (lrint_tonearest_test_data): Test for "inexact" exceptions.
50739 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
50740 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
50741 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
50742 test input.
50743 (lrint_towardzero_test_data): Test for "inexact" exceptions.
50744 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
50745 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
50746 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
50747 that test input.
50748 (lrint_downward_test_data): Test for "inexact" exceptions.
50749 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
50750 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
50751 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
50752 test input.
50753 (lrint_upward_test_data): Test for "inexact" exceptions.
50754 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
50755 test input.
50756 (llrint_test_data): Test for "inexact" exceptions.
50757 (llrint_test_data) [TEST_FLOAT]: Disable one test.
50758 (llrint_tonearest_test_data): Test for "inexact" exceptions.
50759 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
50760 (llrint_towardzero_test_data): Test for "inexact" exceptions.
50761 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
50762 (llrint_downward_test_data): Test for "inexact" exceptions.
50763 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
50764 (llrint_upward_test_data): Test for "inexact" exceptions.
50765 (logb_test_data): Likewise.
50766 (logb_downward_test_data): Likewise.
50767 (nextafter_test_data): Likewise.
50768 (nexttoward_test_data): Likewise.
50769 (remainder_test_data): Likewise.
50770 (remquo_test_data): Likewise.
50771 (scalbn_test_data): Likewise.
50772 (scalbln_test_data): Likewise.
50773 (signbit_test_data): Likewise.
50774 (sqrt_test_data): Likewise.
50775 (significand_test_data): Likewise.
50776
50777 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
50778
50779 [BZ #15424]
50780 * benchtests/bench-modf.c (struct args): Mark arg0 as
50781 volatile.
50782 * scripts/bench.pl: Mark members of struct args as volatile.
50783
50784 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50785
50786 [BZ # 15497]
50787 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
50788 negative infinity on POWER6 or lower.
50789 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
50790
50791 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
50792
50793 [BZ #15442]
50794 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
50795 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
50796 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
50797 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
50798 (_FP_SETQNAN): New macro.
50799 (_FP_SETQNAN_SEMIRAW): Likewise.
50800 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
50801 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
50802 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
50803 (FP_EXTEND): Use _FP_FRAC_SNANP.
50804 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
50805 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
50806 into account.
50807 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
50808 New macro.
50809 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
50810 Likewise.
50811
50812 2013-05-16 Joseph Myers <joseph@codesourcery.com>
50813
50814 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
50815 with DIVIDE_BY_ZERO_EXCEPTION.
50816 (gamma_test_data): Likewise.
50817 (lgamma_test_data): Likewise.
50818 (log_test_data): Likewise.
50819 (log10_test_data): Likewise.
50820 (log2_test_data): Likewise.
50821 (tgamma_test_data): Likewise.
50822
50823 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
50824 (acos_test_tonearest): Likewise.
50825 (acos_test_towardzero): Likewise.
50826 (acos_test_downward): Likewise.
50827 (acos_test_upward): Likewise.
50828 (acosh_test): Likewise.
50829 (asin_test): Likewise.
50830 (asin_test_tonearest): Likewise.
50831 (asin_test_towardzero): Likewise.
50832 (asin_test_downward): Likewise.
50833 (asin_test_upward): Likewise.
50834 (asinh_test): Likewise.
50835 (atan_test): Likewise.
50836 (atanh_test): Likewise.
50837 (atan2_test): Likewise.
50838 (cabs_test): Likewise.
50839 (cacos_test): Likewise.
50840 (cacosh_test): Likewise.
50841 (casin_test): Likewise.
50842 (casinh_test): Likewise.
50843 (catan_test): Likewise.
50844 (catanh_test): Likewise.
50845 (cbrt_test): Likewise.
50846 (ccos_test): Likewise.
50847 (ccosh_test): Likewise.
50848 (cexp_test): Likewise.
50849 (clog_test): Likewise.
50850 (clog10_test): Likewise.
50851 (cos_test): Likewise.
50852 (cos_test_tonearest): Likewise.
50853 (cos_test_towardzero): Likewise.
50854 (cos_test_downward): Likewise.
50855 (cos_test_upward): Likewise.
50856 (cosh_test): Likewise.
50857 (cosh_test_tonearest): Likewise.
50858 (cosh_test_towardzero): Likewise.
50859 (cosh_test_downward): Likewise.
50860 (cosh_test_upward): Likewise.
50861 (cpow_test): Likewise.
50862 (csin_test): Likewise.
50863 (csinh_test): Likewise.
50864 (csqrt_test): Likewise.
50865 (ctan_test): Likewise.
50866 (ctan_test_tonearest): Likewise.
50867 (ctan_test_towardzero): Likewise.
50868 (ctan_test_downward): Likewise.
50869 (ctan_test_upward): Likewise.
50870 (ctanh_test): Likewise.
50871 (ctanh_test_tonearest): Likewise.
50872 (ctanh_test_towardzero): Likewise.
50873 (ctanh_test_downward): Likewise.
50874 (ctanh_test_upward): Likewise.
50875 (erf_test): Likewise.
50876 (erfc_test): Likewise.
50877 (exp_test): Likewise.
50878 (exp_test_tonearest): Likewise.
50879 (exp_test_towardzero): Likewise.
50880 (exp_test_downward): Likewise.
50881 (exp_test_upward): Likewise.
50882 (exp10_test): Likewise.
50883 (exp2_test): Likewise.
50884 (expm1_test): Likewise.
50885 (fmod_test): Likewise.
50886 (gamma_test): Likewise.
50887 (hypot_test): Likewise.
50888 (j0_test): Likewise.
50889 (j1_test): Likewise.
50890 (jn_test): Likewise.
50891 (lgamma_test): Likewise.
50892 (log_test): Likewise.
50893 (log10_test): Likewise.
50894 (log1p_test): Likewise.
50895 (log2_test): Likewise.
50896 (logb_test_downward): Likewise.
50897 (pow_test): Likewise.
50898 (pow_test_tonearest): Likewise.
50899 (pow_test_towardzero): Likewise.
50900 (pow_test_downward): Likewise.
50901 (pow_test_upward): Likewise.
50902 (remainder_test): Likewise.
50903 (remquo_test): Likewise.
50904 (sin_test): Likewise.
50905 (sin_test_tonearest): Likewise.
50906 (sin_test_towardzero): Likewise.
50907 (sin_test_downward): Likewise.
50908 (sin_test_upward): Likewise.
50909 (sincos_test): Likewise.
50910 (sinh_test): Likewise.
50911 (sinh_test_tonearest): Likewise.
50912 (sinh_test_towardzero): Likewise.
50913 (sinh_test_downward): Likewise.
50914 (sinh_test_upward): Likewise.
50915 (sqrt_test): Likewise.
50916 (tan_test): Likewise.
50917 (tan_test_tonearest): Likewise.
50918 (tan_test_towardzero): Likewise.
50919 (tan_test_downward): Likewise.
50920 (tan_test_upward): Likewise.
50921 (tanh_test): Likewise.
50922 (tgamma_test): Likewise.
50923 (y0_test): Likewise.
50924 (y1_test): Likewise.
50925 (yn_test): Likewise.
50926
50927 * math/gen-libm-test.pl (adjust_arg): Remove function.
50928 (special_function): Remove argument $in_func. Only handle
50929 generating output for tables of tests, not inside functions.
50930 (parse_args): Likewise.
50931 (generate_testfile): Remove variable $in_func. Update call to
50932 parse_args.
50933 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
50934 (MINUS_ZERO_INIT): Rename macro to minus_zero.
50935 (PLUS_INFTY_INIT): Rename macro to plus_infty.
50936 (MINUS_INFTY_INIT): Rename macro to minus_infty.
50937 (QNAN_VALUE_INIT): Rename macro to qnan_value.
50938 (MAX_VALUE_INIT): Rename macro to max_value.
50939 (MIN_VALUE_INIT): Rename macro to min_value.
50940 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
50941 (plus_zero): Remove variable.
50942 (minus_zero): Likewise.
50943 (plus_infty): Likewise.
50944 (minus_infty): Likewise.
50945 (qnan_value): Likewise.
50946 (max_value): Likewise.
50947 (min_value): Likewise.
50948 (min_subnorm_value): Likewise.
50949
50950 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
50951
50952 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
50953 uint64_t or uint32_t usage.
50954 * crypt/sha256-block.c: Likewise.
50955 * crypt/sha256-crypt.c: Likewise.
50956 * crypt/sha256.c: Likewise.
50957 * crypt/sha512-block.c: Likewise.
50958 * crypt/sha512-crypt.c: Likewise.
50959 * crypt/sha512.c: Likewise.
50960 * debug/backtrace-tst.c: Likewise.
50961 * debug/pcprofiledump.c: Likewise.
50962 * elf/cache.c: Likewise.
50963 * elf/dl-cache.c: Likewise.
50964 * elf/dl-misc.c: Likewise.
50965 * elf/dl-profile.c: Likewise.
50966 * elf/dl-support.c: Likewise.
50967 * elf/ldconfig.c: Likewise.
50968 * elf/sprof.c: Likewise.
50969 * iconv/dummy-repertoire.c: Likewise.
50970 * iconv/iconv_charmap.c: Likewise.
50971 * iconv/skeleton.c: Likewise.
50972 * iconvdata/8bit-generic.c: Likewise.
50973 * iconvdata/cp737.h: Likewise.
50974 * iconvdata/cp775.h: Likewise.
50975 * iconvdata/ibm1008.h: Likewise.
50976 * iconvdata/ibm1025.h: Likewise.
50977 * iconvdata/ibm1046.h: Likewise.
50978 * iconvdata/ibm1097.h: Likewise.
50979 * iconvdata/ibm1112.h: Likewise.
50980 * iconvdata/ibm1122.h: Likewise.
50981 * iconvdata/ibm1123.h: Likewise.
50982 * iconvdata/ibm1124.h: Likewise.
50983 * iconvdata/ibm1129.h: Likewise.
50984 * iconvdata/ibm1130.h: Likewise.
50985 * iconvdata/ibm1132.h: Likewise.
50986 * iconvdata/ibm1133.h: Likewise.
50987 * iconvdata/ibm1137.h: Likewise.
50988 * iconvdata/ibm1140.h: Likewise.
50989 * iconvdata/ibm1141.h: Likewise.
50990 * iconvdata/ibm1142.h: Likewise.
50991 * iconvdata/ibm1143.h: Likewise.
50992 * iconvdata/ibm1144.h: Likewise.
50993 * iconvdata/ibm1145.h: Likewise.
50994 * iconvdata/ibm1146.h: Likewise.
50995 * iconvdata/ibm1147.h: Likewise.
50996 * iconvdata/ibm1148.h: Likewise.
50997 * iconvdata/ibm1149.h: Likewise.
50998 * iconvdata/ibm1153.h: Likewise.
50999 * iconvdata/ibm1154.h: Likewise.
51000 * iconvdata/ibm1155.h: Likewise.
51001 * iconvdata/ibm1156.h: Likewise.
51002 * iconvdata/ibm1157.h: Likewise.
51003 * iconvdata/ibm1158.h: Likewise.
51004 * iconvdata/ibm1160.h: Likewise.
51005 * iconvdata/ibm1161.h: Likewise.
51006 * iconvdata/ibm1162.h: Likewise.
51007 * iconvdata/ibm1163.h: Likewise.
51008 * iconvdata/ibm1164.h: Likewise.
51009 * iconvdata/ibm1166.h: Likewise.
51010 * iconvdata/ibm1167.h: Likewise.
51011 * iconvdata/ibm12712.h: Likewise.
51012 * iconvdata/ibm1390.h: Likewise.
51013 * iconvdata/ibm1399.h: Likewise.
51014 * iconvdata/ibm16804.h: Likewise.
51015 * iconvdata/ibm4517.h: Likewise.
51016 * iconvdata/ibm4899.h: Likewise.
51017 * iconvdata/ibm4909.h: Likewise.
51018 * iconvdata/ibm4971.h: Likewise.
51019 * iconvdata/ibm5347.h: Likewise.
51020 * iconvdata/ibm803.h: Likewise.
51021 * iconvdata/ibm856.h: Likewise.
51022 * iconvdata/ibm901.h: Likewise.
51023 * iconvdata/ibm902.h: Likewise.
51024 * iconvdata/ibm9030.h: Likewise.
51025 * iconvdata/ibm9066.h: Likewise.
51026 * iconvdata/ibm921.h: Likewise.
51027 * iconvdata/ibm922.h: Likewise.
51028 * iconvdata/ibm9448.h: Likewise.
51029 * iconvdata/isiri-3342.h: Likewise.
51030 * iconvdata/jis0201.h: Likewise.
51031 * include/link.h: Likewise.
51032 * include/netdb.h: Likewise.
51033 * inet/check_native.c: Likewise.
51034 * inet/check_pf.c: Likewise.
51035 * inet/getipv4sourcefilter.c: Likewise.
51036 * inet/getnameinfo.c: Likewise.
51037 * inet/getsourcefilter.c: Likewise.
51038 * inet/htonl.c: Likewise.
51039 * inet/setipv4sourcefilter.c: Likewise.
51040 * inet/setsourcefilter.c: Likewise.
51041 * inet/test-inet6_opt.c: Likewise.
51042 * inet/tst-network.c: Likewise.
51043 * locale/C-collate.c: Likewise.
51044 * locale/C-ctype.c: Likewise.
51045 * locale/C-time.c: Likewise.
51046 * locale/C-translit.h: Likewise.
51047 * locale/loadarchive.c: Likewise.
51048 * locale/programs/3level.h: Likewise.
51049 * locale/programs/charmap.c: Likewise.
51050 * locale/programs/charmap.h: Likewise.
51051 * locale/programs/ld-address.c: Likewise.
51052 * locale/programs/ld-collate.c: Likewise.
51053 * locale/programs/ld-ctype.c: Likewise.
51054 * locale/programs/ld-identification.c: Likewise.
51055 * locale/programs/ld-measurement.c: Likewise.
51056 * locale/programs/ld-messages.c: Likewise.
51057 * locale/programs/ld-monetary.c: Likewise.
51058 * locale/programs/ld-name.c: Likewise.
51059 * locale/programs/ld-numeric.c: Likewise.
51060 * locale/programs/ld-paper.c: Likewise.
51061 * locale/programs/ld-telephone.c: Likewise.
51062 * locale/programs/ld-time.c: Likewise.
51063 * locale/programs/linereader.c: Likewise.
51064 * locale/programs/locale.c: Likewise.
51065 * locale/programs/locarchive.c: Likewise.
51066 * locale/programs/locfile.h: Likewise.
51067 * locale/programs/repertoire.c: Likewise.
51068 * locale/programs/simple-hash.c: Likewise.
51069 * locale/programs/simple-hash.h: Likewise.
51070 * malloc/memusage.c: Likewise.
51071 * malloc/memusagestat.c: Likewise.
51072 * nis/nis_defaults.c: Likewise.
51073 * nis/nis_hash.c: Likewise.
51074 * nis/nis_print.c: Likewise.
51075 * nis/nis_xdr.c: Likewise.
51076 * nscd/connections.c: Likewise.
51077 * nscd/hstcache.c: Likewise.
51078 * nscd/nscd_gethst_r.c: Likewise.
51079 * nscd/nscd_getserv_r.c: Likewise.
51080 * nscd/nscd_helper.c: Likewise.
51081 * nscd/servicescache.c: Likewise.
51082 * nss/makedb.c: Likewise.
51083 * nss/nss_db/db-XXX.c: Likewise.
51084 * nss/nss_db/db-initgroups.c: Likewise.
51085 * nss/nss_db/db-netgrp.c: Likewise.
51086 * nss/nss_files/files-network.c: Likewise.
51087 * nss/nss_files/files-parse.c: Likewise.
51088 * posix/bug-regex5.c: Likewise.
51089 * posix/fnmatch_loop.c: Likewise.
51090 * posix/regcomp.c: Likewise.
51091 * posix/regexec.c: Likewise.
51092 * posix/tst-rfc3484-2.c: Likewise.
51093 * posix/tst-rfc3484-3.c: Likewise.
51094 * posix/tst-rfc3484.c: Likewise.
51095 * resolv/nss_dns/dns-canon.c: Likewise.
51096 * resolv/nss_dns/dns-network.c: Likewise.
51097 * resolv/res_init.c: Likewise.
51098 * resolv/res_mkquery.c: Likewise.
51099 * resolv/tst-aton.c: Likewise.
51100 * stdlib/cxa_atexit.c: Likewise.
51101 * stdlib/cxa_finalize.c: Likewise.
51102 * stdlib/gen-fpioconst.c: Likewise.
51103 * stdlib/strtol_l.c: Likewise.
51104 * string/tst-endian.c: Likewise.
51105 * sunrpc/auth_des.c: Likewise.
51106 * sunrpc/clnt_udp.c: Likewise.
51107 * sunrpc/rtime.c: Likewise.
51108 * sunrpc/svcauth_des.c: Likewise.
51109 * sunrpc/xdr.c: Likewise.
51110 * sunrpc/xdr_intXX_t.c: Likewise.
51111 * sunrpc/xdr_rec.c: Likewise.
51112 * sysdeps/generic/ldconfig.h: Likewise.
51113 * sysdeps/generic/ldsodefs.h: Likewise.
51114 * sysdeps/generic/memusage.h: Likewise.
51115 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
51116 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
51117 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
51118 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
51119 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51120 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
51121 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
51122 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
51123 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
51124 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
51125 * sysdeps/posix/getaddrinfo.c: Likewise.
51126 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
51127 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51128 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
51129 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51130 * sysdeps/powerpc/test-gettimebase.c: Likewise.
51131 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
51132 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
51133 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
51134 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
51135 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
51136 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
51137 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
51138 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
51139 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
51140 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
51141 * sysdeps/x86_64/dl-tls.h: Likewise.
51142 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
51143 * time/alt_digit.c: Likewise.
51144 * time/era.c: Likewise.
51145 * wcsmbs/tst-c16c32-1.c: Likewise.
51146
51147 2013-05-16 Joseph Myers <joseph@codesourcery.com>
51148
51149 * math/libm-test.inc (struct test_sincos_data): New type.
51150 (RUN_TEST_LOOP_sincos): New macro.
51151 (sincos_test_data): New variable.
51152 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
51153
51154 2013-05-16 Richard Henderson <rth@redhat.com>
51155
51156 * math/atest-exp2.c (LIMB64): New macro.
51157 (CONSTSZ): New macro.
51158 (mp_exp1, mp_exp_m1, mp_log2): New variables.
51159 (hexdig): Move ...
51160 (print_mpn_fp): ... to function scope.
51161 (read_mpn_hex): Remove.
51162 (get_log2): Remove.
51163 (exp2_mpn): Use mp_log2.
51164 (main): Use mp_exp1.
51165
51166 2013-05-16 Joseph Myers <joseph@codesourcery.com>
51167
51168 * math/libm-test.inc: Remove comment about not testing "inexact"
51169 exceptions.
51170 (INEXACT_EXCEPTION): New macro.
51171 (NO_INEXACT_EXCEPTION): Likewise.
51172 (INVALID_EXCEPTION_OK): Update value.
51173 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
51174 (OVERFLOW_EXCEPTION_OK): Likewise.
51175 (UNDERFLOW_EXCEPTION_OK): Likewise.
51176 (IGNORE_ZERO_INF_SIGN): Likewise.
51177 (ERRNO_UNCHANGED): Likewise.
51178 (ERRNO_EDOM): Likewise.
51179 (ERRNO_ERANGE): Likewise.
51180 (test_exceptions): Handle testing "inexact" exceptions.
51181 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
51182 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
51183 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
51184 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
51185 INEXACT_EXCEPTION.
51186 (rint_towardzero_test_data): Likewise.
51187 (rint_downward_test_data): Likewise.
51188 (rint_upward_test_data): Likewise.
51189
51190 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
51191 with OVERFLOW_EXCEPTION.
51192 (exp10_test_data): Likewise.
51193 (exp2_test_data): Likewise.
51194 (expm1_test_data): Likewise.
51195 (lgamma_test_data): Likewise.
51196 (pow_test_data): Likewise.
51197 (tgamma_test_data): Likewise.
51198 (yn_test_data): Remove duplicate test of overflow.
51199
51200 * math/libm-test.inc (struct test_cc_c_data): New type.
51201 (RUN_TEST_LOOP_cc_c): New macro.
51202 (cpow_test_data): New variable.
51203 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
51204
51205 * math/libm-test.inc (struct test_f_L_data): New type.
51206 (RUN_TEST_LOOP_f_L): New macro.
51207 (llrint_test_data): New variable.
51208 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
51209 (llrint_tonearest_test_data): New variable.
51210 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
51211 (llrint_towardzero_test_data): New variable.
51212 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
51213 (llrint_downward_test_data): New variable.
51214 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
51215 (llrint_upward_test_data): New variable.
51216 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
51217 (llround_test_data): New variable.
51218 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
51219
51220 2013-05-13 Peter Collingbourne <pcc@google.com>
51221
51222 * math/atest-exp2.c (get_log2): Remove const attribute.
51223
51224 2013-05-15 Joseph Myers <joseph@codesourcery.com>
51225
51226 * math/libm-test.inc (struct test_f_l_data): New type.
51227 (RUN_TEST_LOOP_f_l): New macro.
51228 (lrint_test_data): New variable.
51229 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
51230 (lrint_tonearest_test_data): New variable.
51231 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
51232 (lrint_towardzero_test_data): New variable.
51233 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
51234 (lrint_downward_test_data): New variable.
51235 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
51236 (lrint_upward_test_data): New variable.
51237 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
51238 (lround_test_data): New variable.
51239 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
51240
51241 2013-05-15 Peter Collingbourne <pcc@google.com>
51242
51243 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
51244 (EXTRACT_WORDS64) Use where appropriate.
51245 (INSERT_WORDS64) Likewise.
51246
51247 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
51248 constraints with x constraints.
51249 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
51250
51251 * malloc/obstack.c (_obstack_compat): Add initializer.
51252
51253 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
51254
51255 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
51256 si_trapno and add si_addr_lsb to _sifields.sigfault.
51257 (si_trapno): Remove macro.
51258 (si_addr_lsb): Define new macro.
51259 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
51260
51261 2013-05-15 Joseph Myers <joseph@codesourcery.com>
51262
51263 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
51264 instead of TEST_f_l.
51265 (llrint_test_tonearest): Likewise.
51266 (llrint_test_towardzero): Likewise.
51267 (llrint_test_downward): Likewise.
51268 (llrint_test_upward): Likewise.
51269 (llround_test): Likewise.
51270
51271 * math/libm-test.inc (struct test_f_i_data): Add comment.
51272 (RUN_TEST_LOOP_f_b): New macro.
51273 (RUN_TEST_LOOP_f_b_tg): Likewise.
51274 (finite_test_data): New variable.
51275 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
51276 (isfinite_test_data): New variable.
51277 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51278 (isinf_test_data): New variable.
51279 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51280 (isnan_test_data): New variable.
51281 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51282 (isnormal_test_data): New variable.
51283 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51284 (issignaling_test_data): New variable.
51285 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51286 (signbit_test_data): New variable.
51287 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51288
51289 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
51290 with INVALID_EXCEPTION.
51291 (acosh_test_data): Likewise.
51292 (asin_test_data): Likewise.
51293 (atanh_test_data): Likewise.
51294 (fmod_test_data): Likewise.
51295 (log_test_data): Likewise.
51296 (log10_test_data): Likewise.
51297 (log2_test_data): Likewise.
51298 (pow_test_data): Likewise.
51299 (sqrt_test_data): Likewise.
51300 (y0_test_data): Likewise.
51301 (y1_test_data): Likewise.
51302 (yn_test_data): Likewise.
51303
51304 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
51305 function contents.
51306
51307 * math/libm-test.inc (struct test_ff_i_data): New type.
51308 (RUN_TEST_LOOP_ff_i_tg): New macro.
51309 (isgreater_test_data): New variable.
51310 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51311 (isgreaterequal_test_data): New variable.
51312 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51313 (isless_test_data): New variable.
51314 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51315 (islessequal_test_data): New variable.
51316 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51317 (islessgreater_test_data): New variable.
51318 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51319 (isunordered_test_data): New variable.
51320 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51321
51322 2013-05-14 David S. Miller <davem@davemloft.net>
51323
51324 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51325
51326 2013-05-14 Joseph Myers <joseph@codesourcery.com>
51327
51328 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
51329
51330 * math/libm-test.inc (struct test_fF_f1_data): Change type of
51331 extra_test to int.
51332 (struct test_f_i_data): Change type of max_ulp to int.
51333
51334 * math/libm-test.inc (test_ffI_f1_data): New type.
51335 (RUN_TEST_LOOP_ffI_f1): New macro.
51336 (remquo_test_data): New variable.
51337 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
51338
51339 * setjmp/tst-setjmp-fp.c: New file.
51340 * setjmp/Makefile (tests): Add tst-setjmp-fp.
51341 (link-libm): New variable.
51342 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
51343
51344 * math/libm-test.inc (struct test_f_i_data): New type.
51345 (RUN_TEST_LOOP_f_i): New macro.
51346 (RUN_TEST_LOOP_f_i_tg): Likewise.
51347 (fpclassify_test_data): New variable.
51348 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
51349 (ilogb_test_data): New variable.
51350 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
51351
51352 * math/libm-test.inc (scalbln_test): Correct function name in END
51353 call.
51354
51355 * math/libm-test.inc (struct test_f_f1_data): Add comment.
51356 (RUN_TEST_LOOP_fI_f1): New macro.
51357 (frexp_test_data): New variable.
51358 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
51359
51360 * math/libm-test.inc (struct test_fF_f1_data): New type.
51361 (RUN_TEST_LOOP_fF_f1): New macro.
51362 (modf_test_data): New variable.
51363 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
51364
51365 * math/libm-test.inc (struct test_f_f1_data): New type.
51366 (RUN_TEST_LOOP_f_f1): New macro.
51367 (gamma_test_data): New variable.
51368 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
51369 (lgamma_test_data): New variable.
51370 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
51371
51372 2013-05-13 Carlos O'Donell <carlos@redhat.com>
51373
51374 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
51375 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
51376 (main): Comment "tls" pseudo-hwcap.
51377
51378 2013-05-13 Joseph Myers <joseph@codesourcery.com>
51379
51380 * math/libm-test.inc (struct test_fl_f_data): New type.
51381 (RUN_TEST_LOOP_fl_f): New variable.
51382 (scalbln_test_data): New variable.
51383 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
51384
51385 * math/libm-test.inc (struct test_fi_f_data): New type.
51386 (RUN_TEST_LOOP_fi_f): New macro.
51387 (ldexp_test_data): New variable.
51388 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
51389 (scalbn_test_data): New variable.
51390 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
51391
51392 * math/libm-test.inc (struct test_c_f_data): New type.
51393 (RUN_TEST_LOOP_c_f): New macro.
51394 (cabs_test_data): New variable.
51395 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
51396 (carg_test_data): New variable.
51397 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
51398 (cimag_test_data): New variable.
51399 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
51400 (creal_test_data): New variable.
51401 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
51402
51403 * math/libm-test.inc (struct test_if_f_data): New type.
51404 (RUN_TEST_LOOP_if_f): New macro.
51405 (jn_test_data): New variable.
51406 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
51407 (yn_test_data): New variable.
51408 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
51409
51410 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
51411
51412 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51413
51414 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
51415 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
51416
51417 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
51418
51419 * benchtests/Makefile (CPPFLAGS-nonlib): Add
51420 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
51421 (bench-deps): Add bench-timing.h.
51422 * benchtests-bench-skeleton.c: Include bench-timing.h.
51423 (main): Use TIMING_* macros instead of clock_gettime.
51424 * benchtests/bench-timing.h: New file.
51425
51426 [BZ #14582]
51427 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
51428 Renamed from _LIB_VERSION.
51429 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
51430
51431 2013-05-12 Joseph Myers <joseph@codesourcery.com>
51432
51433 * math/libm-test.inc (struct test_fff_f_data): New type.
51434 (RUN_TEST_LOOP_fff_f): New macro.
51435 (fma_test_data): New variable.
51436 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
51437 (fma_towardzero_test_data): New variable.
51438 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
51439 (fma_downward_test_data): New variable.
51440 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
51441 (fma_upward_test_data): New variable.
51442 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
51443
51444 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
51445 (struct test_c_c_data): New type.
51446 (RUN_TEST_LOOP_c_c): New macro.
51447 (cacos_test_data): New variable.
51448 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
51449 (cacosh_test_data): New variable.
51450 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
51451 (casin_test_data): New variable.
51452 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
51453 (casinh_test_data): New variable.
51454 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
51455 (catan_test_data): New variable.
51456 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
51457 (catanh_test_data): New variable.
51458 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
51459 (ccos_test_data): New variable.
51460 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
51461 (ccosh_test_data): New variable.
51462 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
51463 (cexp_test_data): New variable.
51464 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
51465 (clog_test_data): New variable.
51466 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
51467 (clog10_test_data): New variable.
51468 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
51469 (conj_test_data): New variable.
51470 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
51471 (cproj_test_data): New variable.
51472 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
51473 (csin_test_data): New variable.
51474 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
51475 (csinh_test_data): New variable.
51476 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
51477 (csqrt_test_data): New variable.
51478 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
51479 (ctan_test_data): New variable.
51480 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
51481 (ctan_tonearest_test_data): New variable.
51482 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
51483 (ctan_towardzero_test_data): New variable.
51484 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
51485 (ctan_downward_test_data): New variable.
51486 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
51487 (ctan_upward_test_data): New variable.
51488 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
51489 (ctanh_test_data): New variable.
51490 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
51491 (ctanh_tonearest_test_data): New variable.
51492 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
51493 (ctanh_towardzero_test_data): New variable.
51494 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
51495 (ctanh_downward_test_data): New variable.
51496 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
51497 (ctanh_upward_test_data): New variable.
51498 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
51499 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
51500 of BUILD_COMPLEX.
51501
51502 * math/libm-test.inc (struct test_ff_f_data): New type.
51503 (struct test_ff_f_data_nexttoward): Likewise.
51504 (RUN_TEST_LOOP_2_f): New macro.
51505 (RUN_TEST_LOOP_ff_f): Likewise.
51506 (atan2_test_data): New variable.
51507 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
51508 (copysign_test_data): New variable.
51509 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
51510 (fdim_test_data): New variable.
51511 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
51512 (fmax_test_data): New variable.
51513 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
51514 (fmin_test_data): New variable.
51515 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
51516 (fmod_test_data): New variable.
51517 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
51518 (hypot_test_data): New variable.
51519 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
51520 (nextafter_test_data): New variable.
51521 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
51522 (nexttoward_test_data): New variable.
51523 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
51524 (pow_test_data): New variable.
51525 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
51526 (pow_tonearest_test_data): New variable.
51527 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
51528 (pow_towardzero_test_data): New variable.
51529 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
51530 (pow_downward_test_data): New variable.
51531 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
51532 (pow_upward_test_data): New variable.
51533 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
51534 (remainder_test_data): New variable.
51535 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
51536 (scalb_test_data): New variable.
51537 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
51538 * sysdeps/i386/fpu/libm-test-ulps: Update.
51539
51540 2013-05-11 Joseph Myers <joseph@codesourcery.com>
51541
51542 * math/libm-test.inc (fma_test): Use max_value instead of local
51543 variable fltmax.
51544 (nextafter_test): Likewise.
51545
51546 * math/libm-test.inc (acos_towardzero_test_data): New variable.
51547 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51548 (acos_downward_test_data): New variable.
51549 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51550 (acos_upward_test_data): New variable.
51551 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51552 (acosh_test_data): New variable.
51553 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
51554 (asin_test_data): New variable.
51555 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
51556 (asin_tonearest_test_data): New variable.
51557 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51558 (asin_towardzero_test_data): New variable.
51559 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51560 (asin_downward_test_data): New variable.
51561 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51562 (asin_upward_test_data): New variable.
51563 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51564 (asinh_test_data): New variable.
51565 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
51566 (atan_test_data): New variable.
51567 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
51568 (atanh_test_data): New variable.
51569 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
51570 (cbrt_test_data): New variable.
51571 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
51572 (ceil_test_data): New variable.
51573 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
51574 (cos_test_data): New variable.
51575 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
51576 (cos_tonearest_test_data): New variable.
51577 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51578 (cos_towardzero_test_data): New variable.
51579 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51580 (cos_downward_test_data): New variable.
51581 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51582 (cos_upward_test_data): New variable.
51583 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51584 (cosh_test_data): New variable.
51585 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
51586 (cosh_tonearest_test_data): New variable.
51587 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51588 (cosh_towardzero_test_data): New variable.
51589 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51590 (cosh_downward_test_data): New variable.
51591 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51592 (cosh_upward_test_data): New variable.
51593 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51594 (erf_test_data): New variable.
51595 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
51596 (erfc_test_data): New variable.
51597 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
51598 (exp_test_data): New variable.
51599 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
51600 (exp_tonearest_test_data): New variable.
51601 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51602 (exp_towardzero_test_data): New variable.
51603 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51604 (exp_downward_test_data): New variable.
51605 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51606 (exp_upward_test_data): New variable.
51607 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51608 (exp10_test_data): New variable.
51609 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
51610 (exp2_test_data): New variable.
51611 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
51612 (expm1_test_data): New variable.
51613 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
51614 (fabs_test_data): New variable.
51615 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
51616 (floor_test_data): New variable.
51617 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
51618 (j0_test_data): New variable.
51619 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
51620 (j1_test_data): New variable.
51621 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
51622 (log_test_data): New variable.
51623 (log_test): Run tests with RUN_TEST_LOOP_f_f.
51624 (log10_test_data): New variable.
51625 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
51626 (log1p_test_data): New variable.
51627 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
51628 (log2_test_data): New variable.
51629 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
51630 (logb_test_data): New variable.
51631 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
51632 (logb_downward_test_data): New variable.
51633 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51634 (nearbyint_test_data): New variable.
51635 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
51636 (rint_test_data): New variable.
51637 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
51638 (rint_tonearest_test_data): New variable.
51639 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51640 (rint_towardzero_test_data): New variable.
51641 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51642 (rint_downward_test_data): New variable.
51643 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51644 (rint_upward_test_data): New variable.
51645 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51646 (round_test_data): New variable.
51647 (round_test): Run tests with RUN_TEST_LOOP_f_f.
51648 (sin_test_data): New variable.
51649 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
51650 (sin_tonearest_test_data): New variable.
51651 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51652 (sin_towardzero_test_data): New variable.
51653 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51654 (sin_downward_test_data): New variable.
51655 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51656 (sin_upward_test_data): New variable.
51657 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51658 (sinh_test_data): New variable.
51659 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
51660 (sinh_tonearest_test_data): New variable.
51661 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51662 (sinh_towardzero_test_data): New variable.
51663 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51664 (sinh_downward_test_data): New variable.
51665 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51666 (sinh_upward_test_data): New variable.
51667 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51668 (sqrt_test_data): New variable.
51669 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
51670 (tan_test_data): New variable.
51671 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
51672 (tan_tonearest_test_data): New variable.
51673 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51674 (tan_towardzero_test_data): New variable.
51675 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51676 (tan_downward_test_data): New variable.
51677 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51678 (tan_upward_test_data): New variable.
51679 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51680 (tanh_test_data): New variable.
51681 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
51682 (tgamma_test_data): New variable.
51683 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
51684 (trunc_test_data): New variable.
51685 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
51686 (y0_test_data): New variable.
51687 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
51688 (y1_test_data): New variable.
51689 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
51690 (significand_test_data): New variable.
51691 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
51692
51693 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
51694
51695 [BZ #12387]
51696 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
51697
51698 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
51699
51700 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
51701
51702 2013-05-10 Andreas Jaeger <aj@suse.de>
51703
51704 [BZ #15448]
51705 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
51706 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
51707
51708 2013-05-10 Joseph Myers <joseph@codesourcery.com>
51709
51710 * math/gen-libm-test.pl (adjust_arg): New function.
51711 (special_functions): Handle generating output in both functions
51712 and arrays.
51713 (parse_args): Likewise.
51714 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
51715 $in_func argument to parse_args.
51716 * math/libm-test.inc (struct test_f_f_data): New type.
51717 (IF_ROUND_INIT_): New macro.
51718 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
51719 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
51720 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
51721 (IF_ROUND_INIT_FE_UPWARD): Likewise.
51722 (ROUND_RESTORE_): Likewise.
51723 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
51724 (ROUND_RESTORE_FE_TONEAREST): Likewise.
51725 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
51726 (ROUND_RESTORE_FE_UPWARD): Likewise.
51727 (RUN_TEST_LOOP_f_f): New macro.
51728 (acos_test_data): New variable.
51729 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
51730 (acos_tonearest_test_data): New variable.
51731 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51732
51733 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
51734
51735 * benchtests/bench-skeleton.c (startup): Fix coding style.
51736
51737 2013-05-10 Joseph Myers <joseph@codesourcery.com>
51738
51739 [BZ #6809]
51740 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
51741 negative infinity argument.
51742 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
51743 negative infinity argument.
51744 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
51745 negative infinity argument.
51746 * math/libm-test.inc (tgamma_test): Expect errno to be set for
51747 domain errors.
51748
51749 2013-05-10 Florian Weimer <fweimer@redhat.com>
51750
51751 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
51752 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
51753 * iconv/iconv_prog.c (main): Likewise.
51754 * locale/programs/charmap-dir.c (charmap_readdir)
51755 (fopen_uncompressed): Likewise.
51756 * locale/programs/locfile.c (siblings_uncached)
51757 (write_locale_data): Use lstat64 instead of lstat.
51758 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
51759 stat.
51760
51761 2013-05-10 Andreas Jaeger <aj@suse.de>
51762
51763 [BZ #15395]
51764 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
51765 localization.
51766 Include <locale.h>.
51767
51768 2013-05-09 Carlos O'Donell <carlos@redhat.com>
51769
51770 * elf/dl-close.c (_dl_close_worker): Add comments.
51771
51772 2013-05-09 Joseph Myers <joseph@codesourcery.com>
51773
51774 [BZ #15359]
51775 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
51776 high part of pi/2.
51777 (__ieee754_rem_pio2l): Update comments.
51778
51779 [BZ #15429]
51780 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
51781 high part of pi/2.
51782 (__ieee754_rem_pio2l): Update comments.
51783
51784 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
51785 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
51786
51787 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
51788 M_PI_4l.
51789
51790 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
51791 (M_PI_34_LOG10El): Likewise.
51792 (M_PI2_LOG10El): Likewise.
51793 (M_PI4_LOG10El): Likewise.
51794 (M_PI_LOG10El): Likewise.
51795
51796 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51797
51798 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51799
51800 2013-05-08 Joseph Myers <joseph@codesourcery.com>
51801
51802 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
51803 (MINUS_ZERO_INIT): Likewise.
51804 (PLUS_INFTY_INIT): Likewise.
51805 (MINUS_INFTY_INIT): Likewise.
51806 (QNAN_VALUE_INIT): Likewise.
51807 (MAX_VALUE_INIT): Likewise.
51808 (MIN_VALUE_INIT): Likewise.
51809 (MIN_SUBNORM_VALUE_INIT): Likewise.
51810 (plus_zero): Initialize with PLUS_ZERO_INIT.
51811 (minus_zero): Initialize with MINUS_ZERO_INIT.
51812 (plus_infty): Initialize with PLUS_INFTY_INIT.
51813 (minus_infty): Initialize with MINUS_INFTY_INIT.
51814 (qnan_value): Initialize with QNAN_VALUE_INIT.
51815 (max_value): Initialize with MAX_VALUE_INIT.
51816 (min_value): Initialize with MIN_VALUE_INIT.
51817 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
51818
51819 * math/libm-test.inc (RUN_TEST_if_f): New macro.
51820 (jn_test): Use TEST_if_f instead of TEST_ff_f.
51821 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
51822 (yn_test): Use TEST_if_f instead of TEST_ff_f.
51823
51824 * math/libm-test.inc (RUN_TEST_f_f): New macro.
51825 (RUN_TEST_2_f): Likewise.
51826 (RUN_TEST_ff_f): Likewise.
51827 (RUN_TEST_fi_f): Likewise.
51828 (RUN_TEST_fl_f): Likewise.
51829 (RUN_TEST_fff_f): Likewise.
51830 (RUN_TEST_c_f): Likewise.
51831 (RUN_TEST_f_f1): Likewise.
51832 (RUN_TEST_fF_f1): Likewise.
51833 (RUN_TEST_fI_f1): Likewise.
51834 (RUN_TEST_ffI_f1): Likewise.
51835 (RUN_TEST_c_c): Likewise.
51836 (RUN_TEST_cc_c): Likewise.
51837 (RUN_TEST_f_i): Likewise.
51838 (RUN_TEST_f_i_tg): Likewise.
51839 (RUN_TEST_ff_i_tg): Likewise.
51840 (RUN_TEST_f_b): Likewise.
51841 (RUN_TEST_f_b_tg): Likewise.
51842 (RUN_TEST_f_l): Likewise.
51843 (RUN_TEST_f_L): Likewise.
51844 (RUN_TEST_sincos): Likewise.
51845 * math/gen-libm-test.pl (new_test): Take new argument to indicate
51846 whether to show exceptions. Do not include ");\n" in return
51847 value.
51848 (special_functions): Output call to RUN_TEST_sincos instead of
51849 check_float calls. Update calls to new_test.
51850 (parse_args): Output call to single RUN_TEST_* macro instead of
51851 check_* calls and other assignments. Update calls to new_test.
51852
51853 [BZ #2546]
51854 [BZ #2560]
51855 [BZ #5159]
51856 [BZ #15426]
51857 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
51858 input to result for tgamma overflow.
51859 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
51860 (gamma_coeff): New variable.
51861 (NCOEFF): New macro.
51862 (gamma_positive): New function.
51863 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
51864 underflow here. Use gamma_positive instead of exp (lgamma) for
51865 other arguments.
51866 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
51867 (gamma_coeff): New variable.
51868 (NCOEFF): New macro.
51869 (gammaf_positive): New function.
51870 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
51871 underflow here. Use gamma_positive instead of exp (lgamma) for
51872 other arguments.
51873 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
51874 (gamma_coeff): New variable.
51875 (NCOEFF): New macro.
51876 (gammal_positive): New function.
51877 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
51878 underflow here. Use gamma_positive instead of exp (lgamma) for
51879 other arguments.
51880 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
51881 (gamma_coeff): New variable.
51882 (NCOEFF): New macro.
51883 (gammal_positive): New function.
51884 (__ieee754_gammal_r): Handle positive infinity, overflow and
51885 underflow here. Handle NaN the same as positive infinity. Remove
51886 check x < 0xffffffff for negative integers. Use gamma_positive
51887 instead of exp (lgamma) for other arguments.
51888 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
51889 (gamma_coeff): New variable.
51890 (NCOEFF): New macro.
51891 (gammal_positive): New function.
51892 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
51893 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
51894 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
51895 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
51896 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
51897 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
51898 * sysdeps/generic/math_private.h (__gamma_productf): New
51899 prototype.
51900 (__gamma_product): Likewise.
51901 (__gamma_productl): Likewise.
51902 * math/Makefile (libm-calls): Add gamma_product.
51903 * math/libm-test.inc (tgamma_test): Add more tests.
51904 * sysdeps/i386/fpu/libm-test-ulps: Update.
51905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51906
51907 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
51908
51909 * benchtests/bench-skeleton.c (main): Preheat CPU.
51910
51911 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
51912
51913 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
51914
51915 2013-05-07 Roland McGrath <roland@hack.frob.com>
51916
51917 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
51918 and _dl_skip_args_internal.
51919
51920 2013-05-07 Carlos O'Donell <carlos@redhat.com>
51921
51922 * manual/message.texi (Message Translation): Talk about users.
51923 Message to key mapping impacts design.
51924
51925 2013-05-06 Roland McGrath <roland@hack.frob.com>
51926
51927 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
51928
51929 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
51930
51931 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
51932 * sysdeps/wordsize-64/glob64.c: ... here.
51933
51934 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
51935 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
51936 New macros.
51937
51938 * debug/getlogin_r_chk.c: Moved to ...
51939 * login/getlogin_r_chk.c: ... here.
51940 * debug/Makefile (routines): Move getlogin_r_chk to ...
51941 * login/Makefile (routines): ... here.
51942 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
51943 * login/Versions (libc: GLIBC_2.4): ... here.
51944
51945 * io/poll.c (__poll): Renamed from poll.
51946 Add libc_hidden_def.
51947 (poll): Define as weak alias.
51948
51949 * debug/ptsname_r_chk.c: Moved to ...
51950 * login/ptsname_r_chk.c: ... here.
51951 * debug/Makefile (routines): Move ptsname_r_chk to ...
51952 * login/Makefile (routines): ... here.
51953 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
51954 * login/Versions (libc: GLIBC_2.4): ... here.
51955
51956 * posix/getlogin.c: Moved to ...
51957 * login/getlogin.c: ... here.
51958 * posix/getlogin_r.c: Moved to ...
51959 * login/getlogin_r.c: ... here.
51960 * posix/getlogin_r.c: Moved to ...
51961 * login/getlogin_r.c: ... here.
51962 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
51963 * login/Makefile (routines): ... here.
51964 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
51965 * login/Versions (libc: GLIBC_2.0): ... here.
51966
51967 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
51968 (setrlimit): Define as weak alias.
51969
51970 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
51971 Call __ names for open, ftruncate, and close.
51972 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
51973 (truncate): Define as weak alias.
51974
51975 2013-05-06 Joseph Myers <joseph@codesourcery.com>
51976
51977 * math/gen-libm-test.pl (parse_args): Initialize x before each
51978 test of frexp, modf and remquo.
51979
51980 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
51981 test signgam value.
51982
51983 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51984
51985 [BZ #15418]
51986 [BZ #15419]
51987 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
51988 internal tests.
51989 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51990
51991 2013-05-06 Roland McGrath <roland@hack.frob.com>
51992
51993 * elf/dl-writev.h: New file.
51994 * elf/dl-misc.c: Include it.
51995 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
51996 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
51997
51998 2013-05-04 Joseph Myers <joseph@codesourcery.com>
51999
52000 * math/libm-test.inc (noXFails): Remove variable.
52001 (noXPasses): Likewise.
52002 (BUILD_COMPLEX_INT): Remove macro.
52003 (print_screen): Remove xfail argument.
52004 (print_screen_max_error): Likewise.
52005 (update_stats): Likewise.
52006 (print_max_error): Likewise. Update calls to other affected
52007 functions.
52008 (print_complex_max_error): Likewise.
52009 (test_single_exception): Update calls to print_screen.
52010 (test_single_errno): Likewise.
52011 (check_float_internal): Remove xfail argument. Update calls to
52012 other affected functions.
52013 (check_float): Likewise.
52014 (check_complex): Likewise.
52015 (check_int): Likewise.
52016 (check_long): Likewise.
52017 (check_bool): Likewise.
52018 (check_longlong): Likewise.
52019 (main): Don't print noXFails and noXPasses.
52020 * math/gen-libm-test.pl (top level): Don't mention expected
52021 failure handling in comment.
52022 (new_test): Don't handle expected failures.
52023 (parse_args): Don't mention expected failure handling in comment.
52024 (generate_testfile): Don't handle expected failures.
52025 (parse_ulps): Likewise.
52026 (print_ulps_file): Likewise.
52027 (get_failure): Remove function.
52028 (output_test): Don't handle expected failures.
52029 * make/README.libm-test: Don't mention expected failure handling.
52030
52031 * math/libm-test.inc (plus_zero): Make const. Add initializer.
52032 (minus_zero): Likewise.
52033 (plus_infty): Likewise.
52034 (minus_infty): Likewise.
52035 (qnan_value): Likewise.
52036 (max_value): Likewise.
52037 (min_value): Likewise.
52038 (min_subnorm_value): Likewise.
52039 (initialize): Do not initialize those variables dynamically.
52040
52041 2013-05-03 Roland McGrath <roland@hack.frob.com>
52042
52043 * io/open.c (__open_2): Moved to ...
52044 * io/open_2.c: ... this new file.
52045 * io/open64.c (__open64_2): Moved to ...
52046 * io/open64_2.c: ... this new file.
52047 * io/openat.c (__openat_2): Moved to ...
52048 * io/openat_2.c: ... this new file.
52049 * io/openat64.c (__openat64_2): Moved to ...
52050 * io/openat64_2.c: ... this new file.
52051 * io/Makefile (routines): Add them.
52052 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
52053 * sysdeps/unix/sysv/linux/open_2.c: File removed.
52054 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
52055 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
52056 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
52057 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
52058 (__openat64): Add hidden_ver.
52059 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
52060 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
52061
52062 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
52063 Separately conditionalize setting of GLRO(dl_sysinfo) so
52064 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
52065 as well, but the actual setting is only under [NEED_DL_SYSINFO].
52066
52067 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52068
52069 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
52070 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
52071 definition.
52072 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
52073 * sysdeps/unix/sysv/linux/powerpc/init-first.c
52074 (_libc_vdso_platform_setup): Add __vdso_time initialization.
52075 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
52076 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
52077
52078 2013-05-03 Joseph Myers <joseph@codesourcery.com>
52079
52080 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
52081 test signgam value.
52082
52083 * math/libm-test.inc (hypot_test): Do not use
52084 IGNORE_ZERO_INF_SIGN.
52085
52086 2013-05-03 Andreas Jaeger <aj@suse.de>
52087
52088 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
52089 Linux 3.9.
52090 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
52091 (PF_MAX): Adjust for VSOCK change.
52092
52093 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52094
52095 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52096
52097 2013-05-02 Carlos O'Donell <carlos@redhat.com>
52098
52099 [BZ #15264]
52100 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
52101 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
52102 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
52103
52104 2013-05-02 David S. Miller <davem@davemloft.net>
52105
52106 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52107
52108 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
52109
52110 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
52111
52112 2013-05-01 Roland McGrath <roland@hack.frob.com>
52113
52114 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
52115
52116 2013-05-01 Richard Smith <richard@metafoo.co.uk>
52117
52118 [BZ #14952]
52119 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
52120 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
52121 Use __attribute__ ((__gnu_inline__)).
52122 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
52123 Don't use __attribute__ ((__gnu_inline__)).
52124
52125 2013-05-01 Joseph Myers <joseph@codesourcery.com>
52126
52127 [BZ #15423]
52128 * math/s_catan.c (__catan): Handle small real or imaginary part of
52129 input specially to avoid spurious underflow.
52130 * math/s_catanf.c (__catanf): Likewise.
52131 * math/s_catanh.c (__catanh): Likewise.
52132 * math/s_catanhf.c (__catanhf): Likewise.
52133 * math/s_catanhl.c (__catanhl): Likewise.
52134 * math/s_catanl.c (__catanl): Likewise.
52135 * math/libm-test.inc (catan_test): Add more tests.
52136 (catanh_test): Likewise.
52137 * sysdeps/i386/fpu/libm-test-ulps: Update.
52138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52139
52140 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52141
52142 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52143
52144 2013-04-30 Joseph Myers <joseph@codesourcery.com>
52145
52146 [BZ #15416]
52147 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
52148 accurately for denominator in atan2.
52149 * math/s_catanf.c (__catanf): Likewise.
52150 * math/s_catanh.c (__catanh): Likewise.
52151 * math/s_catanhf.c (__catanhf): Likewise.
52152 * math/s_catanhl.c (__catanhl): Likewise.
52153 * math/s_catanl.c (__catanl): Likewise.
52154 * math/libm-test.inc (catan_test): Add more tests.
52155 (catanh_test): Likewise.
52156 * sysdeps/i386/fpu/libm-test-ulps: Update.
52157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52158
52159 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
52160
52161 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
52162
52163 * benchtests/Makefile (bench): Remove slow benchmarks.
52164 * benchtests/atan-inputs: Add slow benchmark inputs.
52165 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
52166 (BENCH_FUNC): Accept variant offset.
52167 (VARIANT): Define.
52168 * benchtests/bench-skeleton.c (main): Run benchmark for each
52169 variant.
52170 * benchtests/cos-inputs: Add slow benchmark inputs.
52171 * benchtests/exp-inputs: Likewise.
52172 * benchtests/pow-inputs: Likewise.
52173 * benchtests/sin-inputs: Likewise.
52174 * benchtests/slowatan-inputs: Remove.
52175 * benchtests/slowatan.c: Remove.
52176 * benchtests/slowcos-inputs: Remove.
52177 * benchtests/slowcos.c: Remove.
52178 * benchtests/slowexp-inputs: Remove.
52179 * benchtests/slowexp.c: Remove.
52180 * benchtests/slowpow-inputs: Remove.
52181 * benchtests/slowpow.c: Remove.
52182 * benchtests/slowsin-inputs: Remove.
52183 * benchtests/slowsin.c: Remove.
52184 * benchtests/slowtan-inputs: Remove.
52185 * benchtests/slowtan.c: Remove.
52186 * benchtests/tan-inputs: Add slow benchmark inputs.
52187 * scripts/bench.pl: Parse comments and directives.
52188
52189 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
52190 in CPPFLAGS.
52191 ($(objpfx)bench-%.c): Remove *-ITER.
52192 * benchtests/bench-modf.c: Remove definition of ITER.
52193 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
52194 (main): Loop for DURATION seconds instead of fixed number of
52195 iterations.
52196 * scripts/bench.pl: Don't expect iterations in parameters.
52197
52198 2013-04-29 Roland McGrath <roland@hack.frob.com>
52199
52200 * io/fchdir.c (__fchdir): Renamed from fchdir.
52201 (fchdir): Define as weak alias.
52202
52203 2013-04-29 Joseph Myers <joseph@codesourcery.com>
52204
52205 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
52206 (ERRNO_EDOM): Likewise.
52207 (ERRNO_ERANGE): Likewise.
52208 (noErrnoTests): New variable.
52209 (init_max_error): Set errno to 0.
52210 (test_single_errno): New function.
52211 (test_errno): Likewise.
52212 (check_float_internal): Call test_errno. Set errno to 0.
52213 (check_complex): Refer to errno tests in comment.
52214 (check_int): Call test_errno. Set errno to 0.
52215 (check_long): Likewise.
52216 (check_bool): Likewise.
52217 (check_longlong): Likewise.
52218 (cos_test): Use ERRNO_* flags for errno tests instead of
52219 check_int.
52220 (expm1_test): Likewise.
52221 (fmod_test): Likewise.
52222 (ilogb_test): Likewise.
52223 (lgamma_test): Likewise.
52224 (pow_test): Likewise.
52225 (remainder_test): Likewise.
52226 (sin_test): Likewise.
52227 (tan_test): Likewise.
52228 (yn_test): Likewise.
52229 (initialize): Set errno to 0.
52230 (main): Print number of errno tests.
52231 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
52232
52233 2013-04-29 Andreas Jaeger <aj@suse.de>
52234
52235 [BZ #15084]
52236 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
52237 and RES_USEVC.
52238
52239 [BZ #15085]
52240 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
52241 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
52242 unimplemented.
52243
52244 [BZ #15380]
52245 * stdlib/random.c (__initstate): Return NULL if
52246 __initstate fails.
52247
52248 [BZ #15086]
52249 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
52250 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
52251 RES_SNGLKUPREOP.
52252
52253 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52254
52255 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52256
52257 2013-04-29 Joseph Myers <joseph@codesourcery.com>
52258
52259 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
52260 of individual tests.
52261 (casin_test): Likewise.
52262 (casinh_test): Likewise.
52263
52264 2013-04-27 Joseph Myers <joseph@codesourcery.com>
52265
52266 [BZ #15409]
52267 * math/s_catan.c (__catan): Handle arguments with large real or
52268 imaginary part separately without squaring.
52269 * math/s_catanf.c (__catanf): Likewise.
52270 * math/s_catanh.c (__catanh): Likewise.
52271 * math/s_catanhf.c (__catanhf): Likewise.
52272 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
52273 and redefine.
52274 (__catanhl): Handle arguments with large real or imaginary part
52275 separately without squaring.
52276 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
52277 and redefine.
52278 (__catanl): Handle arguments with large real or imaginary part
52279 separately without squaring.
52280 * math/libm-test.inc (catan_test): Add more tests.
52281 (catanh_test): Likewise.
52282 * sysdeps/i386/fpu/libm-test-ulps: Update.
52283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52284
52285 2013-04-27 Andreas Jaeger <aj@suse.de>
52286
52287 [BZ #15007]
52288 * stdlib/stdlib.h: Update guards for qecvt.
52289 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
52290 <stdlib.h>.
52291
52292 2013-04-27 Allan McRae <allan@archlinux.org>
52293
52294 * sysdeps/i386/fpu/libm-test-ulps: Update.
52295
52296 2013-04-26 Joseph Myers <joseph@codesourcery.com>
52297
52298 [BZ #15406]
52299 * math/s_catan.c: Include <float.h>.
52300 (__catan): Ensure underflow exception occurs for underflowed
52301 result.
52302 * math/s_catanf.c: Include <float.h>.
52303 (__catanf): Ensure underflow exception occurs for underflowed
52304 result.
52305 * math/s_catanh.c: Include <float.h>.
52306 (__catanh): Ensure underflow exception occurs for underflowed
52307 result.
52308 * math/s_catanhf.c: Include <float.h>.
52309 (__catanhf): Ensure underflow exception occurs for underflowed
52310 result.
52311 * math/s_catanhl.c: Include <float.h>.
52312 (__catanhl): Ensure underflow exception occurs for underflowed
52313 result.
52314 * math/s_catanl.c: Include <float.h>.
52315 (__catanl): Ensure underflow exception occurs for underflowed
52316 result.
52317 * math/libm-test.inc (catan_test): Add more tests.
52318 (catanh_test): Likewise.
52319
52320 [BZ #15405]
52321 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
52322 underflowed result.
52323 * math/s_ccoshf.c (__ccoshf): Likewise.
52324 * math/s_ccoshl.c (__ccoshl): Likewise.
52325 * math/s_csin.c (__csin): Likewise.
52326 * math/s_csinf.c (__csinf): Likewise.
52327 * math/s_csinh.c (__csinh): Likewise.
52328 * math/s_csinhf.c (__csinhf): Likewise.
52329 * math/s_csinhl.c (__csinhl): Likewise.
52330 * math/s_csinl.c (__csinl): Likewise.
52331 * math/libm-test.inc (ccos_test): Add more tests.
52332 (ccosh_test): Likewise.
52333 (csin_test): Likewise.
52334 (csinh_test): Likewise.
52335
52336 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52337
52338 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
52339 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
52340 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
52341 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
52342 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
52343 powerpc/power5+/fpu folders.
52344 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
52345
52346
52347 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
52348
52349 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52350
52351 2013-04-25 Joseph Myers <joseph@codesourcery.com>
52352
52353 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
52354 additions to variable.
52355 [$(config-machine) = x86_64] (modules-names): Likewise.
52356 ($(objpfx)tst-audit3): Remove dependency.
52357 ($(objpfx)tst-audit3.out): Likewise.
52358 ($(objpfx)tst-audit4): Likewise.
52359 ($(objpfx)tst-audit4.out): Likewise.
52360 ($(objpfx)tst-audit5): Likewise.
52361 ($(objpfx)tst-audit5.out): Likewise.
52362 ($(objpfx)tst-audit6): Likewise.
52363 ($(objpfx)tst-audit6.out): Likewise.
52364 ($(objpfx)tst-audit7): Likewise.
52365 ($(objpfx)tst-audit7.out): Likewise.
52366 (tst-audit3-ENV): Remove variable.
52367 (tst-audit4-ENV): Likewise.
52368 (tst-audit5-ENV): Likewise.
52369 (tst-audit6-ENV): Likewise.
52370 (tst-audit7-ENV): Likewise.
52371 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
52372 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
52373 addition to variable.
52374 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
52375 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
52376 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
52377 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
52378 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
52379 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
52380 tst-audit3, tst-audit4 and tst-audit5.
52381 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
52382 tst-audit6 and tst-audit7.
52383 [$(subdir) = elf] (modules-names): Add audit modules for those
52384 tests.
52385 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
52386 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
52387 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
52388 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
52389 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
52390 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
52391 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
52392 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
52393 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
52394 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
52395 [$(subdir) = elf] (tst-audit3-ENV): New variable.
52396 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
52397 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
52398 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
52399 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
52400 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
52401 Likewise.
52402 [$(subdir) = elf && $(config-cflags-avx) = yes]
52403 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
52404 [$(subdir) = elf && $(config-cflags-avx) = yes]
52405 (CFLAGS-tst-auditmod4a.c): Likewise.
52406 [$(subdir) = elf && $(config-cflags-avx) = yes]
52407 (CFLAGS-tst-auditmod4b.c): Likewise.
52408 [$(subdir) = elf && $(config-cflags-avx) = yes]
52409 (CFLAGS-tst-auditmod6b.c): Likewise.
52410 [$(subdir) = elf && $(config-cflags-avx) = yes]
52411 (CFLAGS-tst-auditmod6c.c): Likewise.
52412 [$(subdir) = elf && $(config-cflags-avx) = yes]
52413 (CFLAGS-tst-auditmod7b.c): Likewise.
52414 * elf/tst-audit3.c: Move to ...
52415 * sysdeps/x86_64/tst-audit3.c: ... here.
52416 * elf/tst-audit4.c: Move to ...
52417 * sysdeps/x86_64/tst-audit4.c: ... here.
52418 * elf/tst-audit5.c: Move to ...
52419 * sysdeps/x86_64/tst-audit5.c: ... here.
52420 * elf/tst-audit6.c: Move to ...
52421 * sysdeps/x86_64/tst-audit6.c: ... here.
52422 * elf/tst-audit7.c: Move to ...
52423 * sysdeps/x86_64/tst-audit7.c: ... here.
52424 * elf/tst-auditmod3a.c: Move to ...
52425 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
52426 * elf/tst-auditmod3b.c: Move to ...
52427 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
52428 * elf/tst-auditmod4a.c: Move to ...
52429 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
52430 * elf/tst-auditmod4b.c: Move to ...
52431 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
52432 * elf/tst-auditmod5a.c: Move to ...
52433 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
52434 * elf/tst-auditmod5b.c: Move to ...
52435 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
52436 * elf/tst-auditmod6a.c: Move to ...
52437 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
52438 * elf/tst-auditmod6b.c: Move to ...
52439 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
52440 * elf/tst-auditmod6c.c: Move to ...
52441 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
52442 * elf/tst-auditmod7a.c: Move to ...
52443 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
52444 * elf/tst-auditmod7b.c: Move to ...
52445 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
52446
52447 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
52448
52449 [BZ #15366]
52450 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
52451 define unconditionally.
52452 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
52453 define unconditionally.
52454 (INT8_C, INT16_C, etc.): Likewise.
52455
52456 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
52457
52458 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
52459 __ehdr_start with hidden visibility.
52460
52461 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
52462
52463 2013-04-24 Carlos O'Donell <carlos@redhat.com>
52464
52465 * math/libm-test.inc (cos_test): Use accurate hex constants.
52466 (sincost_test): Likewise.
52467
52468 2013-04-24 Joseph Myers <joseph@codesourcery.com>
52469
52470 * math/libm-test.inc (catan_test): Add more tests.
52471 (catanh_test): Likewise.
52472
52473 * math/s_catanf.c (__catanf): Use suffixed floating-point
52474 constants.
52475 * math/s_catanhf.c (__catanhf): Likewise.
52476 * math/s_catanhl.c (__catanhl): Likewise.
52477 * math/s_catanl.c (__catanl): Likewise.
52478
52479 [BZ #15394]
52480 * math/s_catan.c (__catan): Calculate imaginary part of result
52481 with log1p not log unless computing log of number close to 0.
52482 * math/s_catanf.c (__catanf): Likewise.
52483 * math/s_catanl.c (__catanl): Likewise.
52484 * math/s_catanh.c (__catanh): Calculate real part of result with
52485 log1p not log unless computing log of number close to 0.
52486 * math/s_catanhf.c (__catanhf): Likewise.
52487 * math/s_catanhl.c (__catanhl): Likewise.
52488 * math/libm-test.inc (catan_test): Add more tests.
52489 (catanh_test): Likewise.
52490 * sysdeps/i386/fpu/libm-test-ulps: Update.
52491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52492
52493 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
52494
52495 * benchtests/Makefile: Mention files in which fast and slow
52496 paths of math functions are implemented.
52497
52498 2013-04-23 Roland McGrath <roland@hack.frob.com>
52499
52500 * sysdeps/posix/timespec_get.c: New file.
52501
52502 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52503
52504 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
52505 POWER.
52506 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
52507 for POWER.
52508 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
52509 powerpc/power5/fpu folders.
52510 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
52511 * benchtests/Makefile: Add modf testcase.
52512 * benchtests/bench-modf.c: New file: Benchmark test for mo
52513
52514 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
52515
52516 [BZ #14888]
52517 * time/Makefile (tests): Add tst-strptime-whitespace.
52518 * time/strptime_l.c (get_number): Use ISSPACE.
52519 (__strptime_internal): Likewise.
52520 * time/tst-strptime-whitespace.c: New test case.
52521
52522 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
52523
52524 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
52525 member.
52526 (_nss_files_init): Set it here.
52527
52528 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
52529
52530 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
52531 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
52532 unsigned.
52533
52534 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
52535
52536 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
52537
52538 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
52539
52540 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
52541 size just once.
52542
52543 2013-04-21 David S. Miller <davem@davemloft.net>
52544
52545 * po/ru.po: Update Russion translation from translation project.
52546
52547 2013-04-17 Adam Conrad <adconrad@0c3.net>
52548
52549 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
52550 and setfsgid.
52551
52552 2013-04-17 Carlos O'Donell <carlos@redhat.com>
52553
52554 * configure.in: Remove i386 configure warning. Remove i386 case.
52555 * configure: Regenerate.
52556 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
52557 Add example to error message.
52558 * sysdeps/i386/configure: Regenerate.
52559
52560 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
52561
52562 * benchtests/Makefile (bench): Add cos, tan, slowcos and
52563 slowtan.
52564 * benchtests/cos-inputs: New file.
52565 * benchtests/slowcos-inputs: New file.
52566 * benchtests/slowcos.c: New file.
52567 * benchtests/slowtan-inputs: New file.
52568 * benchtests/slowtan.c: New file.
52569 * benchtests/tan-inputs: New file.
52570
52571 2013-04-16 Roland McGrath <roland@hack.frob.com>
52572
52573 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
52574 considered kosher.
52575
52576 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
52577
52578 * benchtests/Makefile: Include cppflags-iterator.mk to add
52579 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
52580
52581 * Makefile.in (bench-clean): New target.
52582 * benchtests/Makefile (bench-clean): Likewise.
52583
52584 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
52585
52586 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
52587
52588 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
52589
52590 * stdio-common/tstdiomisc.c: Fix coding-style violation.
52591
52592 2013-04-15 Andreas Schwab <schwab@suse.de>
52593
52594 * nscd/grpcache.c (cache_addgr): Properly check for short write.
52595 * nscd/initgrcache.c (addinitgroupsX): Likewise.
52596 * nscd/pwdcache.c (cache_addpw): Likewise.
52597 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
52598 more than recsize.
52599
52600 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
52601
52602 * benchtests/Makefile (bench): Write all output to
52603 bench-out.tmp together.
52604
52605 2013-04-15 Andreas Schwab <schwab@suse.de>
52606
52607 * nscd/nscd.c (main): Don't fork again after closing files.
52608
52609 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
52610
52611 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
52612
52613 * benchtests/Rules (bench-deps): Collect dependencies into a
52614 single variable. Add Makefile to dependencies.
52615 ($(objpfx)bench-%.c): Depend on bench-deps.
52616
52617 2013-04-12 Roland McGrath <roland@hack.frob.com>
52618 Xavier Roche <roche+kml2@exalead.com>
52619
52620 [BZ #15361]
52621 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
52622 just that it's a file descriptor.
52623 * manual/llio.texi (Synchronizing AIO Operations): Update description
52624 for EBADF error from aio_fsync.
52625
52626 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
52627
52628 * Rules (bench): Move target definition...
52629 * benchtests/Makefile: ... here.
52630
52631 2013-04-11 Carlos O'Donell <carlos@redhat.com>
52632
52633 * math/libm-test.inc (cos_test): Fix PI/2 test.
52634 (sincos_test): Likewise.
52635 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
52636 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
52637
52638 2013-04-11 Andreas Schwab <schwab@suse.de>
52639
52640 [BZ #13988]
52641 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
52642 accept exponent character only when digits were seen.
52643 * stdio-common/Makefile (tests): Add bug26.
52644 * stdio-common/bug26.c: New file.
52645
52646 [BZ #14293]
52647 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
52648 non-freeable.
52649
52650 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
52651
52652 * Makeconfig (rtld-prefix): Define built linker prefix.
52653 * Rules (run-bench): Use it.
52654 * math/Makefile (run-regen-ulps): Likewise.
52655
52656 * Rules (bench): Remove eval.
52657
52658 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
52659 Roland McGrath <roland@hack.frob.com>
52660 Ondrej Bilka <neleai@seznam.cz>
52661
52662 [BZ #15346]
52663 * time/getdate.c: Include ctype.h and alloca.h.
52664 (__getdate_r): Trim leading and trailing spaces of input.
52665 * time/tst-getdate.c (tests): Add tests with leading and
52666 trailing spaces.
52667
52668 2013-04-08 Roland McGrath <roland@hack.frob.com>
52669
52670 [BZ #14280]
52671 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
52672 when computing value.
52673
52674 2013-04-06 Carlos O'Donell <carlos@redhat.com>
52675
52676 * math/README.libm-test (How can I generate "libm-test-ulps"?):
52677 Use testrun.sh to run libm tests.
52678
52679 [BZ #15309]
52680 * elf/dl-open.c (dl_open_worker): memset all of seen array.
52681
52682 2013-04-06 Marko Myllynen <myllynen@redhat.com>
52683
52684 [BZ #15264]
52685 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
52686
52687 2013-04-06 Carlos O'Donell <carlos@redhat.com>
52688
52689 * Makefile.in (regen-ulps): New target.
52690 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
52691 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
52692 [ifneq (no,$(PERL)] (regen-ulps): New target.
52693 [ifeq (no,$(PERL)] (regen-ulps): New target.
52694 * math/libm-test.inc (ulps_file_name): Define.
52695 (output_dir): New variable.
52696 (options): Add "output-dir" option.
52697 (parse_opt): Handle 'o' case.
52698 (main): If output_dir is non-NULL use it as a prefix
52699 otherwise use "".
52700 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
52701
52702 2013-04-06 Carlos O'Donell <carlos@redhat.com>
52703
52704 [BZ #10060, #10062]
52705 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
52706 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
52707 fail configure if __sync_val_compare_and_swap is not inlined.
52708 * sysdeps/i386/configure: Regenerate.
52709 * configure.in: Build for i686 when configured for i386.
52710 * configure: Regenerate.
52711 * README: Remove i386 reference.
52712
52713 2013-04-06 Carlos O'Donell <carlos@redhat.com>
52714
52715 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
52716 * sysdeps/s390/s390-64/sysdep.h: Likewise.
52717
52718 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
52719
52720 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
52721 (lmsnanval): New variables.
52722 (F): Add conversion tests.
52723 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
52724 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
52725
52726 * stdio-common/tstdiomisc.c (F): Properly collect individual
52727 tests' results.
52728
52729 [BZ #14686, #15336]
52730 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
52731 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
52732 Instead, use input NaN values or generate a qNaN by arithmetic
52733 operation. Also fix bugs to comply with the standard.
52734 * math/libm-test.inc (remainder_test): Add more tests.
52735
52736 [BZ #15335, #15342]
52737 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
52738 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
52739 input NaN values or generate a qNaN by arithmetic operation.
52740
52741 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
52742 unreachable code.
52743
52744 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
52745 definitions.
52746
52747 2013-04-03 Joseph Myers <joseph@codesourcery.com>
52748
52749 [BZ #14478]
52750 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
52751 underflowed result.
52752 * math/s_cexpf.c (__cexpf): Likewise.
52753 * math/s_cexpl.c (__cexpl): Likewise.
52754 * math/libm-test.inc (cexp_test): Add more tests.
52755
52756 2013-04-03 Andreas Schwab <schwab@suse.de>
52757
52758 [BZ #15330]
52759 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
52760 order arrays from heap if bigger than alloca cutoff.
52761
52762 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
52763
52764 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
52765 (SNAN_TESTS_double): Refer to GCC PR56831.
52766 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
52767 GCC PR56828.
52768
52769 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
52770
52771 * Rules (bench): Move bench.out after the run is complete.
52772
52773 * Rules (bench): Echo currently running benchmark.
52774
52775 * benchtests/Makefile (bench): Add atan and slowatan.
52776 * benchtests/atan-inputs: New file.
52777 * benchtests/slowatan-inputs: New file.
52778 * benchtests/slowatan.c: New file.
52779
52780 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
52781 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
52782 its value.
52783
52784 [BZ #15305]
52785 * sysdeps/unix/sysv/linux/kernel-features.h
52786 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
52787 __ASSUME_XFS_RESTRICTED_CHOWN.
52788 * sysdeps/unix/sysv/linux/pathconf.c
52789 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
52790 Save and restore errno.
52791
52792 2013-04-02 Joseph Myers <joseph@codesourcery.com>
52793
52794 [BZ #15327]
52795 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
52796 arguments using __kernel_casinh.
52797 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
52798 arguments using __kernel_casinhf.
52799 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
52800 arguments using __kernel_casinhl.
52801 * math/libm-test.inc (cacosh_test): Add more tests.
52802 * sysdeps/i386/fpu/libm-test-ulps: Update.
52803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52804
52805 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
52806
52807 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
52808 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
52809
52810 * bench/Makefile (bench): Add sin and slowsin.
52811 * benchtests/sin-inputs: New file.
52812 * benchtests/slowsin-inputs: New file.
52813 * benchtests/slowsin.c: New file.
52814
52815 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
52816 (bench): Add slowexp and slowpow.
52817 (exp-ITER): Increase iterations.
52818 (pow-ITER): Likewise.
52819 * benchtests/exp-inputs: Change input.
52820 * benchtests/pow-inputs: Likewise.
52821 * benchtests/slowexp-inputs: New file.
52822 * benchtests/slowexp.c: New file.
52823 * benchtests/slowpow-inputs: New file.
52824 * benchtests/slowpow.c: New file.
52825
52826 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52827
52828 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
52829 instructions.
52830 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
52831 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
52832 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
52833 * benchtests/Makefile: Add rint benchtest.
52834 * benchtests/rint-inputs: Input for rint benchtest.
52835
52836 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
52837
52838 * Versions.def (libm): Add GLIBC_2.18.
52839 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
52840 hidden libm prototypes.
52841 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
52842 * math/Makefile (libm-calls): Add s_issignaling.
52843 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
52844 __issignalingf, __issignalingl. Adjust all libm.abilist files.
52845 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
52846 declaration.
52847 * math/math.h [__USE_GNU] (issignaling): New macro.
52848 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
52849 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
52850 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
52851 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
52852 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
52853 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
52854 * manual/arith.texi (issignaling): New section.
52855 * manual/libm-err-tab.pl (@all_functions): Update comment.
52856 * math/gen-libm-test.pl (parse_args): Apply special handling for
52857 issignaling.
52858 * math/libm-test.inc (print_float, issignaling_test): New
52859 functions.
52860 (check_float_internal): Add issignaling checks.
52861 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
52862 default definition.
52863 * sysdeps/powerpc/math-tests.h: New file.
52864 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
52865 tests.
52866 * math/test-snan.c (TEST_FUNC): Likewise.
52867
52868 2013-03-30 David S. Miller <davem@davemloft.net>
52869
52870 * po/de.po: Update from translation team.
52871
52872 2013-03-30 Joseph Myers <joseph@codesourcery.com>
52873
52874 [BZ #10357]
52875 * math/k_casinh.c (__kernel_casinh): Handle arguments with
52876 imaginary part less than 1.0 and real part less than 0.5
52877 specially.
52878 * math/k_casinhf.c (__kernel_casinhf): Likewise.
52879 * math/k_casinhl.c (__kernel_casinhl): Likewise.
52880 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
52881 (cacos_test): Add more tests.
52882 (casin_test): Likewise.
52883 (casinh_test): Likewise.
52884 * sysdeps/i386/fpu/libm-test-ulps: Update.
52885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52886
52887 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
52888
52889 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
52890 ONE with its value.
52891
52892 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
52893 (__pow_mp): Replace ONE and MONE with their values.
52894 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
52895 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
52896 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
52897 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
52898 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
52899 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
52900
52901 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
52902
52903 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
52904 (__pow_mp): Replace ZERO and MZERO with their values.
52905 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
52906 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
52907 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
52908 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
52909 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
52910 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
52911 (__sqr): Likewise.
52912
52913 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
52914
52915 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
52916
52917 2013-03-28 Roland McGrath <roland@hack.frob.com>
52918
52919 * include/stdlib.h [!SHARED] (__call_tls_dtors):
52920 Declare with __attribute__ ((weak)).
52921 * stdlib/exit.c (__libc_atexit) [!SHARED]:
52922 Call __call_tls_dtors only if it's not NULL.
52923
52924 2013-03-28 Roland McGrath <roland@hack.frob.com>
52925
52926 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
52927 didn't do it already, then set _dl_phdr and _dl_phnum based on the
52928 magic __ehdr_start linker symbol if it's defined.
52929 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
52930 them up here if it was already done.
52931
52932 * elf/dl-support.c (_dl_phdr): Make pointer to const.
52933 (_dl_aux_init): Use const in cast when setting it.
52934 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
52935 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
52936 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
52937
52938 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
52939 Declare them here.
52940 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
52941 * csu/libc-tls.c: Nor here.
52942 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
52943
52944 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
52945 (__libc_message): Never call vsyslog.
52946
52947 2013-03-28 Alan Modra <amodra@gmail.com>
52948
52949 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
52950 Define as empty.
52951 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
52952 Likewise.
52953
52954 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52955
52956 [BZ #15214]
52957 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
52958 underflow.
52959 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52960
52961 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
52962
52963 [BZ #15304]
52964 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
52965 Don't add gid passed as argument.
52966
52967 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
52968
52969 2013-03-27 Joseph Myers <joseph@codesourcery.com>
52970
52971 [BZ #15307]
52972 * math/k_casinh.c (__kernel_casinh): Handle arguments with
52973 imaginary part between 1.0 and 1.5 and real part less than 0.5
52974 specially.
52975 * math/k_casinhf.c (__kernel_casinhf): Likewise.
52976 * math/k_casinhl.c (__kernel_casinhl): Likewise.
52977 * math/libm-test.inc (cacos_test): Add more tests.
52978 (casin_test): Likewise.
52979 (casinh_test): Likewise.
52980 * sysdeps/i386/fpu/libm-test-ulps: Update.
52981 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52982
52983 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
52984
52985 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
52986 constants.
52987 (norm): Likewise.
52988 (denorm): Likewise.
52989 (__dbl_mp): Likewise.
52990 (add_magnitudes): Likewise.
52991 (sub_magnitudes): Likewise.
52992 (__add): Likewise.
52993 (__sub): Likewise.
52994 (__mul): Likewise.
52995 (__sqr): Likewise.
52996 (__inv): Likewise.
52997 (__dvd): Likewise.
52998
52999 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
53000 commented code.
53001 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
53002 (__dubcos): Likewise.
53003 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
53004 (__ieee754_acos): Likewise.
53005 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
53006 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
53007 (__exp1): Likewise.
53008 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
53009 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
53010 (log1): Likewise.
53011 (my_log2): Likewise.
53012 (checkint): Likewise.
53013 * sysdeps/ieee754/dbl-64/e_remainder.c
53014 (__ieee754_remainder): Likewise.
53015 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
53016 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
53017 (bsloww): Likewise.
53018 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
53019
53020 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
53021 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
53022 MANTISSA_STORE_T to store computations on mantissa. Use
53023 macros for rounding and division.
53024 (denorm): Likewise.
53025 (__dbl_mp): Likewise.
53026 (add_magnitudes): Likewise.
53027 (sub_magnitudes): Likewise.
53028 (__mul): Likewise.
53029 (__sqr): Likewise.
53030 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
53031 powers of two in terms of TWOPOW macro.
53032 (mp_no): Make type of mantissa as MANTISSA_T.
53033 [!RADIXI]: Define RADIXI.
53034 [!TWO52]: Define TWO52.
53035 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
53036
53037 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53038
53039 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
53040 llroundl symbol when building for PPC32.
53041
53042 2013-03-24 Mark H Weaver <mhw@netris.org>
53043
53044 * manual/arith.texi (Normalization Functions): Fix prototypes for
53045 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
53046
53047 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53048
53049 [BZ #13889]
53050 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
53051 high value to check if expl overflow.
53052 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
53053 to check for underflow and overflow.
53054 * math/libm-test.inc: Add exp test.
53055
53056 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
53057
53058 [BZ #11120]
53059 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
53060 with NOT_IN_libc.
53061
53062 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53063
53064 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
53065 symbol.
53066
53067 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
53068
53069 * math/gen-libm-test.pl (parse_args, special_functions): Properly
53070 wrap blocks consisting of several statements.
53071
53072 * sysdeps/generic/math-tests.h: New file.
53073 * sysdeps/i386/fpu/math-tests.h: Likewise.
53074 * math/test-snan.c: Include it.
53075 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
53076
53077 2013-03-21 Joseph Myers <joseph@codesourcery.com>
53078
53079 [BZ #15285]
53080 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
53081 (__ieee754_j0l): Do not improve calculations using cos of twice
53082 input for inputs above LDBL_MAX / 2.0L.
53083 (__ieee754_y0l): Likewise.
53084 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
53085 (__ieee754_j1l): Do not improve calculations using cos of twice
53086 input for inputs above LDBL_MAX / 2.0L.
53087 (__ieee754_y1l): Likewise.
53088 * math/libm-test.inc (j0_test): Add another test.
53089 (j1_test): Likewise.
53090 (y0_test): Likewise.
53091 (y1_test): Likewise.
53092 * sysdeps/i386/fpu/libm-test-ulps: Update.
53093
53094 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
53095
53096 * Rules ($(objpfx)bench-%.c): Include code from a C source
53097 file.
53098
53099 2013-03-21 Joseph Myers <joseph@codesourcery.com>
53100
53101 [BZ #15287]
53102 * math/k_casinh.c (__kernel_casinh): Handle arguments with
53103 imaginary part 1.0 and real part less than 0.5 specially.
53104 * math/k_casinhf.c (__kernel_casinhf): Likewise.
53105 * math/k_casinhl.c (__kernel_casinhl): Likewise.
53106 * math/libm-test.inc (cacos_test): Add more tests.
53107 (casin_test): Likewise.
53108 (casinh_test): Likewise.
53109 * sysdeps/i386/fpu/libm-test-ulps: Update.
53110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53111
53112 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
53113
53114 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
53115 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
53116
53117 2013-03-20 Joseph Myers <joseph@codesourcery.com>
53118
53119 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
53120 * config.make.in (config-cflags-sse4): Remove variable.
53121 (config-cflags-avx): Likewise.
53122 (config-cflags-sse2avx): Likewise.
53123 (config-cflags-novzeroupper): Likewise.
53124 (config-asflags-i686): Likewise.
53125 (have-mfma4): Likewise.
53126 (have-as-vis3): Likewise.
53127 (MIG): Likewise.
53128 * configure.in (MIG): Do not AC_SUBST.
53129 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
53130 (libc_cv_cc_sse4): Do not AC_SUBST.
53131 (libc_cv_cc_avx): Likewise.
53132 (libc_cv_cc_sse2avx): Likewise.
53133 (libc_cv_cc_novzeroupper): Likewise.
53134 (libc_cv_cc_fma4): Likewise.
53135 (libc_cv_as_i686): Likewise.
53136 (libc_cv_sparc_as_vis3): Likewise.
53137 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
53138 LIBC_CONFIG_VAR.
53139 (config-asflags-i686): Likewise.
53140 (config-cflags-avx): Likewise.
53141 (config-cflags-sse2avx): Likewise.
53142 (have-mfma4): Likewise.
53143 (config-cflags-novzeroupper): Likewise.
53144 * sysdeps/mach/configure.in (MIG): Likewise.
53145 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
53146 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
53147 LIBC_CONFIG_VAR.
53148 (config-cflags-avx): Likewise.
53149 (config-cflags-sse2avx): Likewise.
53150 (have-mfma4): Likewise.
53151 (config-cflags-novzeroupper): Likewise.
53152 * configure: Regenerated.
53153 * sysdeps/i386/configure: Likewise.
53154 * sysdeps/mach/configure: Likewise.
53155 * sysdeps/sparc/configure: Likewise.
53156 * sysdeps/x86_64/configure: Likewise.
53157
53158 2013-03-20 Roland McGrath <roland@hack.frob.com>
53159
53160 [BZ #14812]
53161 * locale/programs/localedef.c (options): Put N_ translation marker
53162 on argument names, not just descriptions.
53163
53164 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
53165
53166 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
53167
53168 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
53169
53170 [BZ #14176]
53171 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
53172
53173 2013-03-19 Roland McGrath <roland@hack.frob.com>
53174
53175 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
53176 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
53177 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
53178 [!BEFORE_ABORT] (before_abort): New function.
53179 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
53180 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
53181 (writev_for_fatal): New function.
53182 (WRITEV_FOR_FATAL): New macro; call that.
53183 (backtrace_and_maps): New function.
53184 (BEFORE_ABORT): New macro; call that.
53185 (struct str_list): Type removed.
53186 (__libc_message, __libc_fatal): Functions removed.
53187 Include <sysdeps/posix/libc_fatal.c> instead.
53188
53189 2013-03-19 Joseph Myers <joseph@codesourcery.com>
53190
53191 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
53192 constants.
53193 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
53194 double constants.
53195
53196 2013-03-19 Andreas Schwab <schwab@suse.de>
53197
53198 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
53199 * sysdeps/gnu/configure: Regenerate.
53200
53201 * configure.in: Substitute libc_cv_rtlddir.
53202 * configure: Regenerate.
53203 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
53204 * Makeconfig (rtlddir, inst_rtlddir): New variables.
53205 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
53206 * elf/Makefile (install-others, CFLAGS-interp.c)
53207 (ldso_install, common-ldd-rewrite): Likewise.
53208 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
53209 $(inst_slibdir)/$(rtld-installed-name).
53210 * scripts/rellns-sh: Add -p option.
53211 * Makerules (make-shlib-link): Use rellns-sh to get relative name
53212 for source.
53213
53214 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
53215
53216 * manual/nptl.texi: Renamed to ...
53217 * manual/threads.texi: ... this.
53218 * manual/Makefile (chapters): Update.
53219
53220 2013-03-18 Roland McGrath <roland@hack.frob.com>
53221
53222 [BZ #14812]
53223 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
53224 on argument names, not just descriptions.
53225 * malloc/memusagestat.c (options): Likewise.
53226 * nss/getent.c (options): Likewise.
53227
53228 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
53229
53230 [BZ #14812]
53231 * iconv/iconv_prog.c (options): Put N_ translation marker
53232 on argument names, not just descriptions.
53233 * iconv/iconvconfig.c (options): Likewise.
53234
53235 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
53236
53237 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
53238 implementation which is faster on all x86_64 architectures.
53239 Tested on AMD, Intel Nehalem, SNB, IVB.
53240 * sysdeps/x86_64/strnlen.S: Likewise.
53241
53242 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
53243 Remove all multiarch strlen and strnlen versions.
53244 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
53245 Remove strlen and strnlen related parts.
53246
53247 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
53248 Inline strlen part.
53249 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
53250
53251 * sysdeps/x86_64/multiarch/strlen.S: Remove.
53252 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
53253 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
53254 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
53255 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
53256 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
53257
53258 2013-03-17 Carlos O'Donell <carlos@redhat.com>
53259
53260 * manual/memory.texi (Malloc Tunable Parameters):
53261 Sort parameters alphabetically. Add comments for missing entries.
53262
53263 2013-03-17 David S. Miller <davem@davemloft.net>
53264
53265 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53266
53267 2013-03-16 Joseph Myers <joseph@codesourcery.com>
53268
53269 [BZ #15283]
53270 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
53271 for arguments at most half maximum finite value.
53272 * math/libm-test.inc (j0_test): Add more tests.
53273 (j1_test): Likewise.
53274 (y0_test): Likewise.
53275 (y1_test): Likewise.
53276 * sysdeps/i386/fpu/libm-test-ulps: Update.
53277 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53278
53279 [BZ #14155]
53280 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
53281 1 / x and functions P and Q for arguments above 0x1p256L.
53282 (__ieee754_y0l): Likewise.
53283 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
53284 (__ieee754_y1l): Likewise.
53285 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
53286 (j1_test): Likewise.
53287 (y0_test): Likewise.
53288 (y1_test): Likewise.
53289
53290 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
53291
53292 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
53293 variable.
53294
53295 2013-03-15 Roland McGrath <roland@hack.frob.com>
53296
53297 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
53298 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
53299 zero since it's initialized to EXEC_PAGESIZE.
53300
53301 * sysdeps/unix/sysv/linux/ldsodefs.h
53302 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
53303 * sysdeps/generic/ldsodefs.h: ... here.
53304
53305 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
53306
53307 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
53308
53309 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
53310 math/test-snan.c.
53311 * math/test-snan.c: Renamed from
53312 sysdeps/powerpc/fpu/test-powerpc-snan.c.
53313 * math/Makefile (tests): Add test-snan.
53314 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
53315 test-powerpc-snan.
53316
53317 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
53318 SUFFIX. Initialize qNaN_var with __builtin_nan family of
53319 functions.
53320 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
53321 __builtin_nan family of functions.
53322 * math/libm-test.inc (initialize): Initialize qnan_value with
53323 __builtin_nan family of functions.
53324 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
53325 Remove variables.
53326 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
53327 Remove functions.
53328 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
53329 storage class. Initialize qNaN_var and sNaN_var with
53330 __builtin_nan and __builtin_nans families of functions,
53331 respectively.
53332
53333 * math/libm-test.inc (acosh_test): Also test with qNaN input.
53334 (sqrt_test): Remove duplicate test with qNaN input.
53335 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
53336 (round_test, signbit_test, significand_test): Note missing +/-Inf
53337 as well as qNaN tests.
53338
53339 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
53340 qNaN_var. Fix a few strings, too.
53341 * math/libm-test.inc (nan_value): Rename to qnan_value.
53342 * math/gen-libm-test.pl (%beautify): Adjust to that.
53343 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
53344 * math/test-misc.c (main): Likewise.
53345 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
53346 to __qnan_bytes, and __qnan_union, respectively.
53347 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
53348 Likewise.
53349 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
53350 and lqnanval, respectively.
53351 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
53352 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
53353 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
53354 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
53355
53356 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
53357 * math/test-misc.c (main) [__x86_64__]: Enable test for long
53358 doubles.
53359
53360 * math/test-misc.c (main): Fix copy'n'pastos.
53361 * misc/tst-efgcvt.c (special): Likewise.
53362
53363 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
53364 Remove declarations.
53365
53366 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
53367
53368 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
53369 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
53370 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
53371 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
53372
53373 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53374
53375 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
53376 macro to return vdso values correctly in IFUNC implementations.
53377 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
53378 Optimization by using IFUNC.
53379
53380 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
53381 Richard Henderson <rth@redhat.com>
53382 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
53383
53384 * Makefile.in (bench): New target.
53385 * NEWS: Mention the benchmark framework.
53386 * Rules (bench): Likewise.
53387 (binaries-bench): Generate binaries for functions to
53388 benchmark.
53389 * benchtests/Makefile: New makefile for benchmark tests.
53390 * benchtests/bench-skeleton.c: New skeleton file for benchmark
53391 programs.
53392 * benchtests/exp-inputs: New input file for EXP function.
53393 * benchtests/pow-inputs: New input file for POW function.
53394 * scripts/bench.pl: New script to generate source files for
53395 benchmark programs.
53396
53397 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
53398
53399 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
53400 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
53401 computations on mantissa. Use macros for rounding and
53402 division.
53403 (denorm): Likewise.
53404 (__dbl_mp): Likewise.
53405 (add_magnitudes): Likewise.
53406 (sub_magnitudes): Likewise.
53407 (__mul): Likewise.
53408 (__sqr): Likewise.
53409 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
53410 powers of two in terms of TWOPOW macro.
53411 (mp_no): Make type of mantissa as MANTISSA_T.
53412 [!RADIXI]: Define RADIXI.
53413 [!TWO52]: Define TWO52.
53414 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
53415
53416 * manual/nptl.texi (cindex): Modify threads to pthreads.
53417
53418 2013-03-15 Joseph Myers <joseph@codesourcery.com>
53419
53420 * sysdeps/x86_64/preconfigure: Regenerated.
53421
53422 2013-03-14 Joseph Myers <joseph@codesourcery.com>
53423
53424 [BZ #14155]
53425 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
53426 0x1p28 and above.
53427 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
53428 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
53429 0x1p28 and above.
53430 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
53431 * math/libm-test.inc (j0_test): Do not allow one spurious
53432 underflow exception.
53433 (y1_test): Likewise.
53434
53435 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
53436
53437 * manual/Makefile (chapters): Add nptl.
53438 * manual/debug.texi (Debugging Support): Add link to Threads
53439 chapter.
53440 * manual/nptl.texi: New file.
53441
53442 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
53443
53444 2013-03-14 Petr Baudis <pasky@ucw.cz>
53445
53446 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
53447 for non-NULL pointer before the memory validity test. Pointed
53448 out by Holger Brunck <holger.brunck@keymile.com>.
53449
53450 2013-03-13 Andreas Schwab <schwab@suse.de>
53451
53452 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
53453 instead of .os.
53454
53455 2013-03-13 Joseph Myers <joseph@codesourcery.com>
53456
53457 * timezone/zic.c: Update from tzcode 2013b.
53458
53459 2013-03-12 Carlos O'Donell <carlos@redhat.com>
53460
53461 * manual/install.texi (Configuring and compiling):
53462 Mention i686 and i586.
53463 * INSTALL: Regenerate.
53464
53465 2013-03-12 Roland McGrath <roland@hack.frob.com>
53466
53467 * sysdeps/init_array/elf-init.c: New file.
53468 * csu/elf-init.c
53469 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
53470 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
53471
53472 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
53473 __gmon_start__ as global, but as static with a .preinit_array pointer.
53474 * sysdeps/init_array/gmon-start.c: New file. Use that.
53475 * sysdeps/init_array/crti.S: New file, empty except for comments.
53476 * sysdeps/init_array/crtn.S: Likewise.
53477
53478 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
53479
53480 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
53481 definining bcopy.
53482 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53483 Remove Prefer_SSE_for_memop.
53484 * sysdeps/x86_64/multiarch/init-arch.h: Remove
53485 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
53486 HAS_PREFER_SSE_FOR_MEMOP.
53487 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
53488 memset-x86-64.
53489 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
53490 Remove bzero, memset ifunc support.
53491 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
53492 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
53493 * sysdeps/x86_64/multiarch/memset.S: Likewise.
53494 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
53495
53496 2013-03-11 Andreas Schwab <schwab@suse.de>
53497
53498 [BZ #15234]
53499 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
53500 by SHLIB_COMPAT.
53501 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
53502 (GLIBC_2.16): Remove pthread_atfork.
53503
53504 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
53505
53506 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
53507 (ptestcases.h): Likewise.
53508
53509 2013-03-08 Roland McGrath <roland@hack.frob.com>
53510
53511 * Makeconfig ($(common-objpfx)config.status): Depend on
53512 sysdeps/*/preconfigure{,.in} too.
53513
53514 2013-03-08 Joseph Myers <joseph@codesourcery.com>
53515
53516 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
53517 (__free_hook): Use void * instead of __malloc_ptr_t.
53518 (__malloc_hook): Likewise.
53519 (__realloc_hook): Likewise.
53520 (__memalign_hook): Likewise.
53521 (__after_morecore_hook): Likewise.
53522 * malloc/arena.c (save_malloc_hook): Likewise.
53523 (save_free_hook): Likewise.
53524 * malloc/hooks.c (malloc_hook_ini): Likewise.
53525 (realloc_hook_ini): Likewise.
53526 (memalign_hook_ini): Likewise.
53527 * malloc/malloc.c (malloc_hook_ini): Likewise.
53528 (realloc_hook_ini): Likewise.
53529 (memalign_hook_ini): Likewise.
53530 (__free_hook): Likewise.
53531 (__malloc_hook): Likewise.
53532 (__realloc_hook): Likewise.
53533 (__memalign_hook): Likewise.
53534 (__libc_malloc): Likewise.
53535 (__libc_free): Likewise.
53536 (__libc_realloc): Likewise.
53537 (__libc_memalign): Likewise.
53538 (__libc_valloc): Likewise.
53539 (__libc_pvalloc): Likewise.
53540 (__libc_calloc): Likewise.
53541 (__posix_memalign): Likewise.
53542 * malloc/morecore.c (__sbrk): Likewise.
53543 (__default_morecore): Likewise.
53544
53545 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
53546
53547 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
53548 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
53549 __malloc_ptrdiff_t.
53550
53551 * malloc/malloc.h (__malloc_size_t): Remove macro.
53552 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
53553 __malloc_size_t.
53554 (old_memalign_hook): Likewise.
53555 (old_realloc_hook): Likewise.
53556 (struct hdr): Likewise.
53557 (flood): Likewise.
53558 (mallochook): Likewise.
53559 (memalignhook): Likewise.
53560 (reallochook): Likewise.
53561 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
53562 (tr_old_realloc_hook): Likewise.
53563 (tr_old_memalign_hook): Likewise.
53564 (tr_mallochook): Likewise.
53565 (tr_reallochook): Likewise.
53566 (tr_memalignhook): Likewise.
53567
53568 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53569
53570 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
53571 default_ldbl_pack and using as default implementation.
53572 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
53573 implementation.
53574 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
53575 redundant definition.
53576 (ldbl_insert_mantissa): Likewise.
53577 (ldbl_canonicalize): Likewise.
53578 (ldbl_nearbyint): Likewise.
53579 (ldbl_pack): Rename to ldbl_pack_ppc.
53580 (ldbl_unpack): Rename to ldbl_unpack_ppc.
53581 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
53582 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
53583
53584 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
53585
53586 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
53587 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
53588 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
53589 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
53590 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
53591 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
53592 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
53593 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
53594
53595 2013-03-07 Andreas Jaeger <aj@suse.de>
53596
53597 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53598 bits/mman-linux.h.
53599
53600 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
53601
53602 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
53603 Include mpa.h and declare __MPEXP.
53604 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
53605 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
53606 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
53607 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
53608 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
53609 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
53610 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
53611
53612 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
53613 (__slowpow): Use long double EXPL and LOGL functions to
53614 compute POW.
53615 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
53616 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
53617 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
53618 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
53619 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
53620 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
53621
53622 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
53623 intermediate variable to calculate exponent.
53624 (__sqr): Likewise.
53625 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
53626 Likewise.
53627 (__sqr): Likewise.
53628
53629 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
53630 [!NO__SQR]: Define __sqr.
53631 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
53632 and NO__SQR. Remove all code except __mul and __sqr. Include
53633 sysdeps/ieee754/dbl-64/mpa.c.
53634 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
53635
53636 [BZ #12723]
53637 * posix/Makefile (tests): Add tst-pathconf.
53638 * posix/tst-pathconf.c: New test case.
53639 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
53640 _PC_PIPE_BUF.
53641 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
53642
53643 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
53644
53645 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
53646
53647 2013-03-06 Andreas Jaeger <aj@suse.de>
53648
53649 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
53650 definition via __MAP_ANONYMOUS.
53651
53652 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
53653 it's not part of Linux headers.
53654
53655 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
53656 (MAP_HUGE_MASK): Define.
53657
53658 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
53659 Define.
53660 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
53661 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
53662 Define.
53663 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
53664 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
53665 Define.
53666 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
53667 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
53668 Define.
53669 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
53670
53671 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
53672 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
53673 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
53674 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
53675 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
53676 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
53677
53678 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
53679 Handle f2fs.
53680
53681 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53682 Handle f2fs and efivarfs.
53683
53684 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
53685 f2fs.
53686
53687 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
53688 (EFIVARFS_MAGIC): Add.
53689 (F2FS_LINK_MAX): Add.
53690
53691 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
53692
53693 * stdio-common/vfprintf.c: Replace __builtin_expect with
53694 __glibc_unlikely.
53695
53696 2013-03-06 Joseph Myers <joseph@codesourcery.com>
53697
53698 [BZ #13550]
53699 * sysdeps/generic/bp-sym.h: Remove file.
53700 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
53701 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
53702 <bp-sym.h> and <bp-asm.h>.
53703 (__longjmp): Don't use BP_SYM.
53704 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
53705 and <bp-asm.h>.
53706 (memcpy): Don't use BP_SYM.
53707 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
53708 <bp-sym.h> and <bp-asm.h>.
53709 (memcpy): Don't use BP_SYM.
53710 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
53711 <bp-asm.h>.
53712 (memcpy): Don't use BP_SYM.
53713 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
53714 <bp-asm.h>.
53715 (memset): Don't use BP_SYM.
53716 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
53717 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
53718 (__bzero): Don't use BP_SYM.
53719 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
53720 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
53721 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
53722 <bp-sym.h> and <bp-asm.h>.
53723 (memcmp): Don't use BP_SYM. Remove comment about bounded
53724 pointers.
53725 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
53726 <bp-sym.h> and <bp-asm.h>.
53727 (memcpy): Don't use BP_SYM.
53728 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
53729 <bp-sym.h> and <bp-asm.h>.
53730 (memset): Don't use BP_SYM.
53731 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
53732 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
53733 (__bzero): Don't use BP_SYM.
53734 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
53735 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
53736 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
53737 <bp-sym.h> and <bp-asm.h>.
53738 (strncmp): Don't use BP_SYM. Remove comment about bounded
53739 pointers.
53740 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
53741 <bp-sym.h> and <bp-asm.h>.
53742 (memcpy): Don't use BP_SYM.
53743 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
53744 <bp-sym.h> and <bp-asm.h>.
53745 (memset): Don't use BP_SYM.
53746 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
53747 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
53748 (__bzero): Don't use BP_SYM.
53749 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
53750 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
53751 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
53752 <bp-sym.h> and <bp-asm.h>.
53753 (__memchr): Don't use BP_SYM.
53754 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
53755 <bp-sym.h> and <bp-asm.h>.
53756 (memcmp): Don't use BP_SYM. Remove comment about bounded
53757 pointers.
53758 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
53759 <bp-sym.h> and <bp-asm.h>.
53760 (memcpy): Don't use BP_SYM.
53761 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
53762 <bp-sym.h> and <bp-asm.h>.
53763 (__mempcpy): Don't use BP_SYM.
53764 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
53765 <bp-sym.h> and <bp-asm.h>.
53766 (__memrchr): Don't use BP_SYM.
53767 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
53768 <bp-sym.h> and <bp-asm.h>.
53769 (memset): Don't use BP_SYM.
53770 (__bzero): Likewise.
53771 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
53772 <bp-sym.h> and <bp-asm.h>.
53773 (__rawmemchr): Don't use BP_SYM.
53774 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
53775 <bp-sym.h> and <bp-asm.h>.
53776 (__STRCMP): Don't use BP_SYM.
53777 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
53778 <bp-sym.h> and <bp-asm.h>.
53779 (strchr): Don't use BP_SYM.
53780 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
53781 <bp-sym.h> and <bp-asm.h>.
53782 (__strchrnul): Don't use BP_SYM.
53783 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
53784 <bp-sym.h> and <bp-asm.h>.
53785 (strlen): Don't use BP_SYM.
53786 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
53787 <bp-sym.h> and <bp-asm.h>.
53788 (strncmp): Don't use BP_SYM. Remove comment about bounded
53789 pointers.
53790 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
53791 <bp-sym.h> and <bp-asm.h>.
53792 (__strnlen): Don't use BP_SYM.
53793 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
53794 <bp-sym.h> and <bp-asm.h>.
53795 (__GI__setjmp): Don't use BP_SYM.
53796 (_setjmp): Likewise.
53797 (__sigsetjmp): Likewise.
53798 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
53799 (L(start_addresses)): Don't use BP_SYM.
53800 (_start): Likewise.
53801 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
53802 <bp-asm.h>.
53803 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
53804 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
53805 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53806 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
53807 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
53808 <bp-asm.h>.
53809 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
53810 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
53811 about bounded pointers.
53812 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
53813 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
53814 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
53815 <bp-asm.h>.
53816 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
53817 about bounded pointers. Remove GKM FIXME comments.
53818 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
53819 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
53820 <bp-asm.h>.
53821 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
53822 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
53823 Remove GKM FIXME comments.
53824 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53825 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
53826 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
53827 <bp-asm.h>.
53828 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
53829 about bounded pointers. Remove GKM FIXME comment.
53830 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
53831 and <bp-asm.h>.
53832 (strncmp): Don't use BP_SYM. Remove comment about bounded
53833 pointers.
53834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
53835 <bp-sym.h> and <bp-asm.h>.
53836 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
53837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
53838 <bp-sym.h> and <bp-asm.h>.
53839 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
53840 comment.
53841
53842 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
53843
53844 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
53845 call free(NULL).
53846
53847 2013-03-05 David S. Miller <davem@davemloft.net>
53848
53849 * po/es.po: Update from translation team.
53850
53851 2013-03-05 Andreas Jaeger <aj@suse.de>
53852
53853 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
53854 <bits/mman-linux.h>.
53855 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
53856 is fine.
53857 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
53858 <bits/mman-linux.h> to end of file.
53859 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
53860 is fine.
53861 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
53862 <bits/mman-linux.h> to end of file.
53863 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
53864 is fine.
53865 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
53866 <bits/mman-linux.h> to end of file.
53867
53868 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
53869 (MCL_CURRENT, MCL_FUTURE): Define here.
53870
53871 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53872
53873 [BZ #15232]
53874 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
53875 attribute_hidden.
53876 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
53877
53878 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53879
53880 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
53881 fourth parameter needed for rt_sigprocmask syscall.
53882 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
53883 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
53884 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
53885 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
53886 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
53887 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
53888
53889 2013-03-04 Joseph Myers <joseph@codesourcery.com>
53890
53891 [BZ #13550]
53892 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
53893 comment about bounded pointers.
53894 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
53895 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
53896
53897 2013-03-04 Andreas Jaeger <aj@suse.de>
53898
53899 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
53900 common definitions.
53901
53902 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
53903 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
53904 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
53905 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
53906 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
53907 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
53908
53909 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53910
53911 [BZ #15055]
53912 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
53913 __ieee754_sqrl instead of __sqrl.
53914
53915 2013-03-01 Joseph Myers <joseph@codesourcery.com>
53916
53917 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
53918 * sysdeps/powerpc/fpu_control.h: ... here.
53919 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
53920 * sysdeps/powerpc/bits/fenvinline.h: ... here.
53921 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
53922 * sysdeps/powerpc/bits/mathinline.h: ... here.
53923
53924 2013-03-01 Roland McGrath <roland@hack.frob.com>
53925
53926 * elf/dl-hwcaps.c (_dl_important_hwcaps):
53927 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
53928 to just [NEED_DL_SYSINFO_DSO].
53929 * elf/dl-support.c: Likewise.
53930 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
53931 * elf/rtld.c (dl_main): Likewise.
53932 * elf/setup-vdso.h (setup_vdso): Likewise.
53933 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
53934 * sysdeps/unix/sysv/linux/dl-sysdep.c
53935 (_dl_discover_osversion): Likewise.
53936
53937 2013-03-01 Carlos O'Donell <carlos@redhat.com>
53938
53939 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
53940 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
53941
53942 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
53943
53944 * NEWS: Mention libm performance improvements and non-x86 PI
53945 futex support.
53946
53947 * csu/libc-start.c (__pthread_initialize_minimal): Change
53948 function arguments.
53949 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
53950
53951 2013-02-28 Joseph Myers <joseph@codesourcery.com>
53952
53953 [BZ #13550]
53954 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
53955 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
53956 <bp-sym.h> and <bp-asm.h>.
53957 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
53958 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
53959 and <bp-asm.h>.
53960 (memcpy): Don't use BP_SYM.
53961 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
53962 <bp-asm.h>.
53963 (__mpn_add_n): Don't use BP_SYM.
53964 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
53965 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
53966 and <bp-asm.h>.
53967 (__mpn_addmul_1): Don't use BP_SYM.
53968 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53969 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
53970 <bp-sym.h>.
53971 (_setjmp): Don't use BP_SYM.
53972 (__novmx_setjmp): Likewise.
53973 (__GI__setjmp): Likewise.
53974 (__vmx_setjmp): Likewise.
53975 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
53976 <bp-sym.h>.
53977 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
53978 (__bzero): Don't use BP_SYM.
53979 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
53980 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
53981 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
53982 <bp-sym.h> and <bp-asm.h>.
53983 (memcpy): Don't use BP_SYM.
53984 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
53985 <bp-sym.h> and <bp-asm.h>.
53986 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
53987 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
53988 <bp-sym.h> and <bp-asm.h>.
53989 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
53990 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
53991 <bp-asm.h>.
53992 (__mpn_lshift): Don't use BP_SYM.
53993 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53994 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
53995 <bp-asm.h>.
53996 (memset): Don't use BP_SYM.
53997 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
53998 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
53999 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
54000 <bp-asm.h>.
54001 (__mpn_mul_1): Don't use BP_SYM.
54002 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54003 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
54004 <bp-sym.h> and <bp-asm.h>.
54005 (memcmp): Don't use BP_SYM.
54006 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
54007 <bp-sym.h> and <bp-asm.h>.
54008 (memcpy): Don't use BP_SYM.
54009 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
54010 <bp-sym.h> and <bp-asm.h>.
54011 (memset): Don't use BP_SYM.
54012 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
54013 <bp-sym.h> and <bp-asm.h>.
54014 (strncmp): Don't use BP_SYM.
54015 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
54016 <bp-sym.h> and <bp-asm.h>.
54017 (memcpy): Don't use BP_SYM.
54018 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
54019 <bp-sym.h> and <bp-asm.h>.
54020 (memset): Don't use BP_SYM.
54021 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
54022 <bp-sym.h> and <bp-asm.h>.
54023 (__memchr): Don't use BP_SYM.
54024 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
54025 <bp-sym.h> and <bp-asm.h>.
54026 (memcmp): Don't use BP_SYM.
54027 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
54028 <bp-sym.h> and <bp-asm.h>.
54029 (memcpy): Don't use BP_SYM.
54030 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
54031 <bp-sym.h> and <bp-asm.h>.
54032 (__mempcpy): Don't use BP_SYM.
54033 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
54034 <bp-sym.h> and <bp-asm.h>.
54035 (__memrchr): Don't use BP_SYM.
54036 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
54037 <bp-sym.h> and <bp-asm.h>.
54038 (memset): Don't use BP_SYM.
54039 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
54040 <bp-sym.h> and <bp-asm.h>.
54041 (__rawmemchr): Don't use BP_SYM.
54042 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
54043 <bp-sym.h> and <bp-asm.h>.
54044 (__STRCMP): Don't use BP_SYM.
54045 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
54046 <bp-sym.h> and <bp-asm.h>.
54047 (strchr): Don't use BP_SYM.
54048 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
54049 <bp-sym.h> and <bp-asm.h>.
54050 (__strchrnul): Don't use BP_SYM.
54051 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
54052 <bp-sym.h> and <bp-asm.h>.
54053 (strlen): Don't use BP_SYM.
54054 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
54055 <bp-sym.h> and <bp-asm.h>.
54056 (strncmp): Don't use BP_SYM.
54057 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
54058 <bp-sym.h> and <bp-asm.h>.
54059 (__strnlen): Don't use BP_SYM.
54060 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
54061 <bp-asm.h>.
54062 (__mpn_rshift): Don't use BP_SYM.
54063 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54064 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
54065 <bp-sym.h> and <bp-asm.h>.
54066 (__sigsetjmp): Don't use BP_SYM.
54067 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
54068 (L(start_addresses)): Don't use BP_SYM.
54069 (_start): Likewise.
54070 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
54071 <bp-asm.h>.
54072 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
54073 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
54074 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
54075 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
54076 <bp-asm.h>.
54077 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
54078 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
54079 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
54080 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
54081 <bp-asm.h>.
54082 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
54083 comments.
54084 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
54085 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
54086 <bp-asm.h>.
54087 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
54088 FIXME comments.
54089 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
54090 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
54091 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
54092 <bp-asm.h>.
54093 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
54094 comment.
54095 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
54096 and <bp-asm.h>.
54097 (strncmp): Don't use BP_SYM,
54098 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
54099 <bp-asm.h>.
54100 (__mpn_sub_n): Don't use BP_SYM.
54101 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54102 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
54103 and <bp-asm.h>.
54104 (__mpn_submul_1): Don't use BP_SYM.
54105 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
54107 <bp-sym.h> and <bp-asm.h>.
54108 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
54109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
54110 <bp-sym.h> and <bp-asm.h>.
54111 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
54112 comment.
54113
54114 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
54115
54116 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
54117 Use ZK to minimize writes to Z.
54118 (sub_magnitudes): Simplify code a bit.
54119 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
54120 Use ZK to minimize writes to Z.
54121 (sub_magnitudes): Simplify code a bit.
54122
54123 2013-02-27 Roland McGrath <roland@hack.frob.com>
54124
54125 * csu/gmon-start.c: Add special exception to license text.
54126
54127 2013-02-27 Richard Henderson <rth@redhat.com>
54128
54129 * scripts/config.guess: Update from config.git.
54130 * scripts/config.sub: Likewise.
54131
54132 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
54133
54134 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
54135
54136 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
54137
54138 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
54139
54140 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
54141
54142 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
54143
54144 2013-02-26 Roland McGrath <roland@hack.frob.com>
54145
54146 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
54147 [$(build-shared = yes].
54148
54149 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
54150
54151 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
54152 (__mul): Reduce iterations for calculating mantissa.
54153
54154 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
54155 MPTWO.
54156 (__mpranred): Likewise.
54157
54158 [BZ #15160]
54159 * malloc/memusagestat.c (main): Draw graphs for heap and stack
54160 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
54161
54162 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
54163
54164 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
54165 Define __attribute__.
54166
54167 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
54168
54169 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
54170 unused.
54171 * posix/regex_internal.h (__attribute): Remove.
54172 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
54173 (re_string_context_at): Likewise.
54174 (bitset_not): Use __attribute__ and mark function as possibly
54175 unused.
54176 (bitset_merge): Likewise.
54177 (bitset_mask): Likewise.
54178 (re_string_char_size_at): Likewise.
54179 (re_string_wchar_at): Likewise.
54180 (re_string_elem_size_at): Likewise.
54181
54182 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
54183
54184 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
54185 code.
54186 (cc32): Likewise.
54187
54188 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
54189 (__acr): Likewise.
54190 (__cpy): Likewise.
54191 (norm): Likewise.
54192 (denorm): Likewise.
54193 (__dbl_mp): Likewise.
54194 (add_magnitudes): Likewise.
54195 (sub_magnitudes): Likewise.
54196 (__mul): Likewise.
54197 (__inv): Likewise.
54198
54199 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
54200 style.
54201
54202 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
54203 style.
54204
54205 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
54206 code.
54207
54208 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
54209 up changes with default code.
54210 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
54211 Likewise.
54212
54213 2013-02-24 Allan McRae <allan@archlinux.org>
54214
54215 * manual/socket.texi (The Internet Namespace): Order menu items
54216 to match that in the file.
54217
54218 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
54219 node listing of the info page menu.
54220
54221 2013-02-21 Joseph Myers <joseph@codesourcery.com>
54222
54223 [BZ #13550]
54224 * sysdeps/i386/bp-asm.h: Remove file.
54225 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
54226 (PARMS): Do not use macros from bp-asm.h.
54227 (S1): Likewise.
54228 (S2): Likewise.
54229 (SIZE): Likewise.
54230 (__mpn_add_n): Do not use BP_SYM
54231 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
54232 "bp-asm.h".
54233 (PARMS): Do not use macros from bp-asm.h.
54234 (S1): Likewise.
54235 (SIZE): Likewise.
54236 (__mpn_addmul_1): Do not use BP_SYM
54237 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
54238 "bp-asm.h".
54239 (PARMS): Do not use macros from bp-asm.h.
54240 (SIGMSK): Likewise.
54241 (_setjmp): Likewise. Do not use BP_SYM.
54242 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
54243 "bp-asm.h".
54244 (PARMS): Do not use macros from bp-asm.h.
54245 (SIGMSK): Likewise.
54246 (setjmp): Likewise. Do not use BP_SYM.
54247 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
54248 "bp-asm.h".
54249 (PARMS): Do not use macros from bp-asm.h.
54250 (__frexp): Do not use BP_SYM.
54251 (frexp): Likewise.
54252 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
54253 "bp-asm.h".
54254 (PARMS): Do not use macros from bp-asm.h.
54255 (__frexpf): Do not use BP_SYM.
54256 (frexpf): Likewise.
54257 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
54258 "bp-asm.h".
54259 (PARMS): Do not use macros from bp-asm.h.
54260 (__frexpl): Do not use BP_SYM.
54261 (frexpl): Likewise.
54262 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
54263 "bp-asm.h".
54264 (PARMS): Do not use macros from bp-asm.h.
54265 (__remquo): Do not use BP_SYM.
54266 (remquo): Likewise.
54267 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
54268 "bp-asm.h".
54269 (PARMS): Do not use macros from bp-asm.h.
54270 (__remquof): Do not use BP_SYM.
54271 (remquof): Likewise.
54272 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
54273 "bp-asm.h".
54274 (PARMS): Do not use macros from bp-asm.h.
54275 (__remquol): Do not use BP_SYM.
54276 (remquol): Likewise.
54277 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
54278 "bp-asm.h".
54279 (PARMS): Do not use macros from bp-asm.h.
54280 (DEST): Likewise.
54281 (SRC): Likewise.
54282 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
54283 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
54284 "bp-asm.h".
54285 (PARMS): Do not use macros from bp-asm.h.
54286 (strlen): Do not use BP_SYM.
54287 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
54288 "bp-asm.h".
54289 (PARMS): Do not use macros from bp-asm.h.
54290 (S1): Likewise.
54291 (S2): Likewise.
54292 (SIZE): Likewise.
54293 (__mpn_add_n): Do not use BP_SYM.
54294 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
54295 "bp-asm.h".
54296 (PARMS): Do not use macros from bp-asm.h.
54297 (S1): Likewise.
54298 (SIZE): Likewise.
54299 (__mpn_addmul_1): Do not use BP_SYM.
54300 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
54301 weak_alias.
54302 (bzero): Likewise.
54303 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
54304 "bp-asm.h".
54305 (PARMS): Do not use macros from bp-asm.h.
54306 (S): Likewise.
54307 (SIZE): Likewise.
54308 (__mpn_lshift): Do not use BP_SYM.
54309 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
54310 "bp-asm.h".
54311 (PARMS): Do not use macros from bp-asm.h.
54312 (DEST): Likewise.
54313 (SRC): Likewise.
54314 (LEN): Likewise.
54315 (memcpy): Likewise. Do not use BP_SYM.
54316 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
54317 libc_hidden_def and weak_alias.
54318 (mempcpy): Do not use BP_SYM in weak_alias.
54319 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
54320 "bp-asm.h".
54321 (PARMS): Do not use macros from bp-asm.h.
54322 (DEST): Likewise.
54323 (LEN): Likewise.
54324 [!BZERO_P] (CHR): Likewise.
54325 (memset): Likewise. Do not use BP_SYM.
54326 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
54327 "bp-asm.h".
54328 (PARMS): Do not use macros from bp-asm.h.
54329 (S1): Likewise.
54330 (SIZE): Likewise.
54331 (__mpn_mul_1): Do not use BP_SYM.
54332 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
54333 "bp-asm.h".
54334 (PARMS): Do not use macros from bp-asm.h.
54335 (S): Likewise.
54336 (SIZE): Likewise.
54337 (__mpn_rshift): Do not use BP_SYM.
54338 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
54339 "bp-asm.h".
54340 (PARMS): Do not use macros from bp-asm.h.
54341 (STR): Likewise.
54342 (CHR): Likewise.
54343 (strchr): Likewise. Do not use BP_SYM.
54344 (index): Do not use BP_SYM in weak_alias.
54345 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
54346 "bp-asm.h".
54347 (PARMS): Do not use macros from bp-asm.h.
54348 (DEST): Likewise.
54349 (SRC): Likewise.
54350 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
54351 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
54352 "bp-asm.h".
54353 (PARMS): Do not use macros from bp-asm.h.
54354 (strlen): Do not use BP_SYM.
54355 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
54356 "bp-asm.h".
54357 (PARMS): Do not use macros from bp-asm.h.
54358 (S1): Likewise.
54359 (S2): Likewise.
54360 (SIZE): Likewise.
54361 (__mpn_sub_n): Do not use BP_SYM.
54362 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
54363 "bp-asm.h".
54364 (PARMS): Do not use macros from bp-asm.h.
54365 (S1): Likewise.
54366 (SIZE): Likewise.
54367 (__mpn_submul_1): Do not use BP_SYM.
54368 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
54369 "bp-asm.h".
54370 (PARMS): Do not use macros from bp-asm.h.
54371 (S1): Likewise.
54372 (S2): Likewise.
54373 (SIZE): Likewise.
54374 (__mpn_add_n): Do not use BP_SYM.
54375 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
54376 weak_alias.
54377 (bzero): Likewise.
54378 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
54379 "bp-asm.h".
54380 (PARMS): Do not use macros from bp-asm.h.
54381 (BLK2): Likewise.
54382 (LEN): Likewise.
54383 (memcmp): Do not use BP_SYM.
54384 (bcmp): Do not use BP_SYM in weak_alias.
54385 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
54386 "bp-asm.h".
54387 (PARMS): Do not use macros from bp-asm.h.
54388 (DEST): Likewise.
54389 (SRC): Likewise.
54390 (LEN): Likewise.
54391 (memcpy): Likewise. Do not use BP_SYM.
54392 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
54393 "bp-asm.h".
54394 (PARMS): Do not use macros from bp-asm.h.
54395 (DEST): Likewise.
54396 (SRC): Likewise.
54397 (LEN): Likewise.
54398 (memmove): Likewise. Do not use BP_SYM.
54399 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
54400 "bp-asm.h".
54401 (PARMS): Do not use macros from bp-asm.h.
54402 (DEST): Likewise.
54403 (SRC): Likewise.
54404 (LEN): Likewise.
54405 (__mempcpy): Likewise. Do not use BP_SYM.
54406 (mempcpy): Do not use BP_SYM in weak_alias.
54407 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
54408 "bp-asm.h".
54409 (PARMS): Do not use macros from bp-asm.h.
54410 (DEST): Likewise.
54411 (LEN): Likewise.
54412 [!BZERO_P] (CHR): Likewise.
54413 (memset): Likewise. Do not use BP_SYM.
54414 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
54415 "bp-asm.h".
54416 (PARMS): Do not use macros from bp-asm.h.
54417 (STR2): Likewise.
54418 (strcmp): Do not use BP_SYM.
54419 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
54420 "bp-asm.h".
54421 (PARMS): Do not use macros from bp-asm.h.
54422 (STR): Likewise.
54423 (DELIM): Likewise.
54424 [USE_AS_STRTOK_R] (SAVE): Likewise.
54425 (FUNCTION): Likewise. Do not use BP_SYM.
54426 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
54427 aliases.
54428 (strtok_r): Likewise.
54429 (__GI___strtok_r): Likewise.
54430 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
54431 (PARMS): Do not use macros from bp-asm.h.
54432 (S): Likewise.
54433 (SIZE): Likewise.
54434 (__mpn_lshift): Do not use BP_SYM.
54435 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
54436 (PARMS): Do not use macros from bp-asm.h.
54437 (STR): Likewise.
54438 (CHR): Likewise.
54439 (__memchr): Do not use BP_SYM.
54440 (memchr): Do not use BP_SYM in weak_alias.
54441 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
54442 (PARMS): Do not use macros from bp-asm.h.
54443 (BLK2): Likewise.
54444 (LEN): Likewise.
54445 (memcmp): Do not use BP_SYM.
54446 (bcmp): Do not use BP_SYM in weak_alias.
54447 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
54448 (PARMS): Do not use macros from bp-asm.h.
54449 (S1): Likewise.
54450 (SIZE): Likewise.
54451 (__mpn_mul_1): Do not use BP_SYM.
54452 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
54453 "bp-asm.h".
54454 (PARMS): Do not use macros from bp-asm.h.
54455 (STR): Likewise.
54456 (CHR): Likewise.
54457 (__rawmemchr): Do not use BP_SYM.
54458 (rawmemchr): Do not use BP_SYM in weak_alias.
54459 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
54460 (PARMS): Do not use macros from bp-asm.h.
54461 (S): Likewise.
54462 (SIZE): Likewise.
54463 (__mpn_rshift): Do not use BP_SYM.
54464 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
54465 (PARMS): Do not use macros from bp-asm.h.
54466 (SIGMSK): Likewise.
54467 (__sigsetjmp): Likewise. Do not use BP_SYM.
54468 * sysdeps/i386/start.S: Do not include "bp-sym.h".
54469 (_start): Do not use BP_SYM.
54470 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
54471 (PARMS): Do not use macros from bp-asm.h.
54472 (DEST): Likewise.
54473 (SRC): Likewise.
54474 (__stpcpy): Likewise. Do not use BP_SYM.
54475 (stpcpy): Do not use BP_SYM in weak_alias.
54476 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
54477 "bp-asm.h".
54478 (PARMS): Do not use macros from bp-asm.h.
54479 (DEST): Likewise.
54480 (SRC): Likewise.
54481 (LEN): Likewise.
54482 (__stpncpy): Likewise. Do not use BP_SYM.
54483 (stpncpy): Do not use BP_SYM in weak_alias.
54484 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
54485 (PARMS): Do not use macros from bp-asm.h.
54486 (STR): Likewise.
54487 (CHR): Likewise.
54488 (strchr): Likewise. Do not use BP_SYM.
54489 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
54490 "bp-asm.h".
54491 (PARMS): Do not use macros from bp-asm.h.
54492 (STR): Likewise.
54493 (CHR): Likewise.
54494 (__strchrnul): Likewise. Do not use BP_SYM.
54495 (strchrnul): Do not use BP_SYM in weak_alias.
54496 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
54497 "bp-asm.h".
54498 (PARMS): Do not use macros from bp-asm.h.
54499 (STOP): Likewise.
54500 (strcspn): Do not use BP_SYM.
54501 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
54502 "bp-asm.h".
54503 (PARMS): Do not use macros from bp-asm.h.
54504 (STR): Likewise.
54505 (STOP): Likewise.
54506 (strpbrk): Likewise. Do not use BP_SYM.
54507 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
54508 "bp-asm.h".
54509 (PARMS): Do not use macros from bp-asm.h.
54510 (STR): Likewise.
54511 (CHR): Likewise.
54512 (strrchr): Likewise. Do not use BP_SYM.
54513 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
54514 (PARMS): Do not use macros from bp-asm.h.
54515 (SKIP): Likewise.
54516 (strspn): Do not use BP_SYM.
54517 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
54518 (PARMS): Do not use macros from bp-asm.h.
54519 (STR): Likewise.
54520 (DELIM): Likewise.
54521 (SAVE): Likewise.
54522 (FUNCTION): Likewise. Do not use BP_SYM.
54523 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
54524 aliases.
54525 (strtok_r): Likewise.
54526 (__GI___strtok_r): Likewise.
54527 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
54528 (PARMS): Do not use macros from bp-asm.h.
54529 (S1): Likewise.
54530 (S2): Likewise.
54531 (SIZE): Likewise.
54532 (__mpn_sub_n): Do not use BP_SYM.
54533 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
54534 "bp-asm.h".
54535 (PARMS): Do not use macros from bp-asm.h.
54536 (S1): Likewise.
54537 (SIZE): Likewise.
54538 (__mpn_submul_1): Do not use BP_SYM.
54539 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
54540 <bp-sym.h>.
54541 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
54542 and <bp-asm.h>.
54543 (PARMS): Do not use macros from bp-asm.h.
54544 (FLAGS): Likewise.
54545 (PTID): Likewise.
54546 (TLS): Likewise.
54547 (CTID): Likewise.
54548 (__clone): Do not use BP_SYM.
54549 (clone): Do not use BP_SYM in weak_alias.
54550 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
54551 and <bp-asm.h>.
54552 (PARMS): Do not use macros from bp-asm.h.
54553 (LEN): Likewise.
54554 (__mmap64): Do not use BP_SYM.
54555 (mmap64): Do not use BP_SYM in weak_alias.
54556 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
54557 <bp-sym.h> and <bp-asm.h>.
54558 (PARMS): Do not use macros from bp-asm.h.
54559 (__posix_fadvise64_l64): Do not use BP_SYM.
54560 * sysdeps/unix/sysv/linux/i386/semtimedop.S
54561 (PARMS): Do not use macros from bp-asm.h.
54562 (NSOPS): Likewise.
54563 (semtimedop): Do not use BP_SYM.
54564 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
54565 and <bp-asm.h>.
54566
54567 2013-02-21 Allan McRae <allan@archlinux.org>
54568
54569 * manual/message.texi (Charset conversion in gettext):
54570 Move @end statement to beginning of line.
54571
54572 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
54573
54574 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
54575 static.
54576 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
54577 Likewise.
54578
54579 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
54580 (denorm): Likewise.
54581 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
54582 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
54583
54584 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54585
54586 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
54587 tail-call to the resolved function if pltexit isn't needed.
54588
54589 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
54590
54591 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
54592 or Y being zero as being unlikely.
54593 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
54594 Likewise.
54595
54596 2013-02-20 Carlos O'Donell <carlos@redhat.com>
54597
54598 * manual/nss.texi (System Databases and Name Service Switch):
54599 Remove frobnicate @pxref.
54600
54601 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
54602
54603 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
54604 __attribute__ ((unused)) to __attribute__ ((__unused__)).
54605
54606 2013-02-20 Petr Machata <pmachata@redhat.com>
54607
54608 * elf/elf.h (R_ARM_TARGET1): New macro.
54609 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
54610 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
54611 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
54612 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
54613 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
54614 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
54615 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
54616 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
54617 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
54618 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
54619 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
54620 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
54621 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
54622 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
54623 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
54624 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
54625 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
54626 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
54627 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
54628 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
54629 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
54630 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
54631 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
54632 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
54633 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
54634 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
54635 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
54636 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
54637 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
54638 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
54639 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
54640 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
54641 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
54642 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
54643 (R_ARM_THM_GOT_BREL12): Likewise.
54644 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
54645 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
54646 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
54647 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
54648 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
54649 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
54650 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
54651 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
54652 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
54653
54654 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
54655
54656 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
54657 __attribute_used__ to __attribute__ ((unused)).
54658
54659 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
54660
54661 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
54662 powerpc mpa.c.
54663 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
54664 comment formatting.
54665 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
54666
54667 2013-02-19 Joseph Myers <joseph@codesourcery.com>
54668
54669 [BZ #13550]
54670 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
54671 Remove macro.
54672 (ENTER): Remove both macro definitions.
54673 (LEAVE): Likewise.
54674 (CHECK_BOUNDS_LOW): Likewise.
54675 (CHECK_BOUNDS_HIGH): Likewise.
54676 (CHECK_BOUNDS_BOTH): Likewise.
54677 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
54678 (RETURN_BOUNDED_POINTER): Likewise.
54679 (RETURN_NULL_BOUNDED_POINTER): Likewise.
54680 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
54681 (POP_ERRNO_LOCATION_RETURN): Likewise.
54682 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
54683 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54684 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
54685 macros.
54686 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54687 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
54688 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
54689 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
54690 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
54691 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
54692 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
54693 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
54694 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
54695 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
54696 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
54697 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
54698 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54699 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
54700 removed macros.
54701 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54702 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
54703 macros.
54704 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54705 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
54706 * sysdeps/i386/i586/memset.S (memset): Likewise.
54707 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
54708 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54709 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
54710 macros.
54711 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54712 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
54713 Change uses of L(2) to L(out).
54714 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
54715 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
54716 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
54717 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54718 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
54719 removed macros.
54720 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54721 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
54722 macros.
54723 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54724 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
54725 (RETURN): Do not use macro LEAVE.
54726 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
54727 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
54728 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
54729 * sysdeps/i386/i686/memset.S (memset): Likewise.
54730 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
54731 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
54732 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
54733 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
54734 Likewise.
54735 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
54736 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
54737 L(1_2) and L(1_3) into L(1).
54738 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
54739 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
54740 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54741 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
54742 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
54743 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
54744 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
54745 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54746 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
54747 macros.
54748 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
54749 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54750 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
54751 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
54752 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
54753 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
54754 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
54755 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
54756 * sysdeps/i386/strcspn.S (strcspn): Likewise.
54757 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
54758 * sysdeps/i386/strrchr.S (strrchr): Likewise.
54759 * sysdeps/i386/strspn.S (strspn): Likewise.
54760 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
54761 conditional code.
54762 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
54763 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
54764 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
54765 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
54766 L(1_3) into L(1_1).
54767 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
54768 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54769 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
54770 macros.
54771 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54772
54773 2013-02-19 Jakub Jelinek <jakub@redhat.com>
54774
54775 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
54776 macro.
54777
54778 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
54779
54780 * math/atest-exp.c (exp_mpn): Remove ROUND.
54781 * math/atest-exp2.c (exp_mpn): Likewise.
54782 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
54783
54784 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
54785 * stdlib/tst-tls-atexit-lib.c: Likewise.
54786 * stdlib/tst-tls-atexit.c: Likewise.
54787
54788 2013-02-18 Mike Frysinger <vapier@gentoo.org>
54789
54790 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
54791 and __attribute_alloc_size__.
54792
54793 2013-02-18 Mike Frysinger <vapier@gentoo.org>
54794
54795 * include/programs/xmalloc.h: Change __attribute_alloc_size to
54796 __attribute_alloc_size__.
54797 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
54798 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
54799
54800 2013-02-18 Mike Frysinger <vapier@gentoo.org>
54801
54802 * include/programs/xmalloc.h: New file.
54803 * catgets/gencat.c: Include it.
54804 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
54805 * elf/pldd.c: Likewise.
54806 * iconv/iconv_charmap.c: Likewise.
54807 * iconv/iconvconfig.c: Likewise.
54808 * iconv/strtab.c: Likewise.
54809 * locale/programs/locale.c: Likewise.
54810 * locale/programs/localedef.h: Likewise.
54811 * locale/programs/simple-hash.c: Likewise.
54812 * nscd/nscd.h: Likewise.
54813 * nss/makedb.c: Likewise.
54814 * sysdeps/generic/ldconfig.h: Likewise.
54815
54816 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
54817
54818 * Versions.def: Add GLIBC_2.18.
54819 * include/link.h (struct link_map): New member l_tls_dtor_count.
54820 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
54821 (__call_tls_dtors): Likewise.
54822 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
54823 __cxa_thread_atexit_impl.
54824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
54825 Likewise.
54826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
54827 Likewise.
54828 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
54829 Likewise.
54830 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
54831 Likewise.
54832 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
54833 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
54834 Likewise.
54835 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
54836 Likewise.
54837 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
54838 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
54839 Likewise.
54840 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
54841 (tests): Add test case tst-tls-atexit.
54842 (modules-names): Add shared library for tst-tls-atexit.
54843 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
54844 (GLIBC_PRIVATE): Add __call_tls_dtors.
54845 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
54846 for libstdc++.
54847 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
54848 * stdlib/tst-tls-atexit.c: New test case.
54849 * stdlib/tst-tls-atexit-lib.c: New test case.
54850
54851 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
54852
54853 * elf/Versions (ld): Add _dl_find_dso_for_object.
54854 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
54855 * elf/dl-open.c (_dl_find_dso_for_object): New function.
54856 (dl_open_worker): Use _dl_find_dso_for_object.
54857 * elf/dl-sym.c (do_sym): Likewise.
54858 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
54859
54860 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54861
54862 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
54863 Syntactic changes only.
54864 (_dl_runtime_profile): Do a tail-call to the resolved function.
54865
54866 2013-02-17 Joseph Myers <joseph@codesourcery.com>
54867
54868 [BZ #13550]
54869 * sysdeps/x86_64/bp-asm.h: Remove file.
54870 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
54871 <bp-sym.h> and <bp-asm.h>.
54872 (__clone): Do not use BP_SYM.
54873 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
54874 <bp-sym.h> and <bp-asm.h>.
54875 * sysdeps/unix/x86_64/sysdep.S: Likewise.
54876 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
54877 "bp-asm.h".
54878 (_setjmp): Do not use BP_SYM.
54879 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
54880 "bp-asm.h".
54881 (setjmp): Do not use BP_SYM.
54882 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
54883 libc_hidden_def.
54884 (mempcpy): Do not use BP_SYM in weak_alias.
54885 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
54886 "bp-asm.h".
54887 (strchr): Do not use BP_SYM.
54888 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
54889 "bp-asm.h".
54890 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
54891 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
54892 (_start): Do not use BP_SYM.
54893 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
54894 "bp-asm.h".
54895 (strcat): Do not use BP_SYM.
54896 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
54897 "bp-asm.h".
54898 (STRCMP): Do not use BP_SYM.
54899 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
54900 "bp-asm.h".
54901 (STRCPY): Do not use BP_SYM.
54902 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
54903 "bp-asm.h".
54904 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
54905 "bp-asm.h".
54906 (FUNCTION): Do not use BP_SYM.
54907 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
54908 weak_alias.
54909 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
54910
54911 2013-02-17 Andreas Jaeger <aj@suse.de>
54912
54913 * time/Versions: Sort entries.
54914 * string/Versions: Likewise.
54915 * resolv/Versions: Likewise.
54916 * posix/Versions: Likewise.
54917 * iconv/Versions: Likewise.
54918 * elf/Versions: Likewise.
54919 * wcsmbs/Versions: Likewise.
54920
54921 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
54922
54923 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
54924 loop termination condition.
54925
54926 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
54927 variable to calculate EZ.
54928 (__sqr): Likewise.
54929
54930 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
54931 the lower precision input.
54932
54933 2013-02-15 Joseph Myers <joseph@codesourcery.com>
54934
54935 [BZ #13550]
54936 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
54937 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
54938 (run-via-rtld-prefix): Do not handle %-bp tests.
54939 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
54940 (all-object-suffixes): Remove .ob.
54941 (bppfx): Remove variable.
54942 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
54943 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
54944 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
54945 [$(build-bounded) = yes] (libtype.ob): Likewise.
54946 * Makerules (elide-routines.ob): Remove variable.
54947 (do-tests-clean): Do not handle *-bp.out.
54948 (common-mostlyclean): Do not handle *-bp and *-bp.out.
54949 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
54950 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
54951 (tests): Do not include $(tests-bp.out).
54952 (xtests): Do not include $(xtests-bp.out).
54953 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
54954 [$(build-bounded) = yes] ($(addprefix
54955 $(objpfx),$(binaries-bounded))): Remove rule.
54956 ($(objpfx)%-bp.out): Remove rule.
54957 * config.make.in (build-bounded): Remove variable.
54958 * crypt/Makefile [$(build-bounded) = yes]
54959 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
54960 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
54961 append to variable.
54962 [$(build-bounded) = yes] (install-lib): Likewise.
54963 [$(build-bounded) = yes] (generated): Likewise.
54964 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
54965 Remove rule.
54966 * intl/Makefile [$(build-bounded) = yes]
54967 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
54968 * math/Makefile [$(build-bounded) = yes]
54969 ($(tests:%=$(objpfx)%-bp): Likewise.
54970 * misc/Makefile [$(build-bounded) = yes]
54971 ($(objpfx)tst-tsearch-bp): Likewise.
54972 * nptl/Makeconfig (bounded-thread-library): Remove variable.
54973 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
54974 Remove dependency.
54975 * string/Makefile (o-objects.ob): Remove variable.
54976 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
54977 (CFLAGS-.ob): Remove variable.
54978 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
54979 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
54980 both definitions of variable.
54981 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
54982 (ASFLAGS-.ob): Remove variable.
54983
54984 2013-02-14 Joseph Myers <joseph@codesourcery.com>
54985
54986 [BZ #13550]
54987 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
54988 Remove __BOUNDED_POINTERS__ from condition.
54989 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
54990 * string/bits/string2.h [!__NO_STRING_INLINES &&
54991 !__BOUNDED_POINTERS__]: Likewise.
54992 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
54993 Likewise.
54994 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
54995 Remove conditional code.
54996 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
54997 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
54998 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
54999 condition.
55000
55001 [BZ #13550]
55002 * csu/libc-start.c: Do not include <bp-sym.h>.
55003 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
55004 * elf/dl-open.c: Do not include <bp-sym.h>.
55005 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
55006 * math/fegetenv.c: Do not include <bp-sym.h>.
55007 (fegetenv): Do not use BP_SYM in versioned symbols.
55008 * nptl/sysdeps/pthread/bits/libc-lockP.h
55009 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
55010 <bp-sym.h>.
55011 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55012 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
55013 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55014 (__pthread_mutex_destroy): Likewise.
55015 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55016 (__pthread_mutex_lock): Likewise.
55017 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55018 (__pthread_mutex_trylock): Likewise.
55019 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55020 (__pthread_mutex_unlock): Likewise.
55021 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55022 (__pthread_mutexattr_init): Likewise.
55023 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55024 (__pthread_mutexattr_destroy): Likewise.
55025 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55026 (__pthread_mutexattr_settype): Likewise.
55027 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55028 (__pthread_rwlock_init): Likewise.
55029 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55030 (__pthread_rwlock_destroy): Likewise.
55031 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55032 (__pthread_rwlock_rdlock): Likewise.
55033 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55034 (__pthread_rwlock_tryrdlock): Likewise.
55035 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55036 (__pthread_rwlock_wrlock): Likewise.
55037 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55038 (__pthread_rwlock_trywrlock): Likewise.
55039 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55040 (__pthread_rwlock_unlock): Likewise.
55041 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55042 (__pthread_key_create): Likewise.
55043 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55044 (__pthread_setspecific): Likewise.
55045 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55046 (__pthread_getspecific): Likewise.
55047 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
55048 Likewise.
55049 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55050 (_pthread_cleanup_push_defer): Likewise.
55051 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55052 (_pthread_cleanup_pop_restore): Likewise.
55053 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55054 (pthread_setcancelstate): Likewise.
55055 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
55056 <bp-sym.h>.
55057 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
55058 (memchr): Do not use BP_SYM in weak_alias.
55059 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
55060 (fegetenv): Do not use BP_SYM in versioned symbols.
55061 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
55062 (fesetenv): Do not use BP_SYM in versioned symbols.
55063 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
55064 (feupdateenv): Do not use BP_SYM in versioned symbols.
55065 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
55066 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
55067 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
55068 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
55069 (open64): Do not use BP_SYM in weak_alias.
55070 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
55071 (fegetenv): Do not use BP_SYM in versioned symbols.
55072 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
55073 (fesetenv): Do not use BP_SYM in versioned symbols.
55074 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
55075 (feupdateenv): Do not use BP_SYM in versioned symbols.
55076 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
55077 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
55078 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
55079 (feraiseexcept): Do not use BP_SYM in versioned symbols.
55080 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
55081 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
55082 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
55083 <bp-sym.h>.
55084 (__libc_start_main): Do not use BP_SYM.
55085
55086 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
55087
55088 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
55089 redundant return line.
55090 (norm): Likewise.
55091 (denorm): Likewise.
55092 (dbl_mp): Likewise.
55093 (sub_magnitudes): Likewise.
55094 (__add): Likewise.
55095 (__sub): Likewise.
55096 (__mul): Likewise.
55097 (__inv): Likewise.
55098 (__dvd): Likewise.
55099 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
55100 (norm): Likewise.
55101 (denorm): Likewise.
55102 (dbl_mp): Likewise.
55103 (sub_magnitudes): Likewise.
55104 (__add): Likewise.
55105 (__sub): Likewise.
55106 (__mul): Likewise.
55107 (__inv): Likewise.
55108 (__dvd): Likewise.
55109
55110 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
55111 instead of __mul.
55112 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
55113 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
55114 (cc32): Likewise.
55115
55116 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
55117 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
55118 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
55119 of __mul for squares.
55120 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
55121 function
55122 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
55123 Likewise.
55124 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
55125 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
55126
55127 2013-02-13 Joseph Myers <joseph@codesourcery.com>
55128
55129 [BZ #13550]
55130 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
55131 code.
55132 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
55133 prototype or function definition. Rename ubp_* variables and
55134 parameters. Remove argv definitions conditional on
55135 [__BOUNDED_POINTERS__].
55136 * debug/backtrace.c (__backtrace): Do not use __unbounded.
55137 * elf/dl-runtime.c (_dl_fixup): Likewise.
55138 * include/set-hooks.h (RUN_HOOK): Likewise.
55139 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
55140 definition.
55141 * string/strcpy.c (strcpy): Do not use __unbounded.
55142 * sysdeps/generic/frame.h (struct layout): Likewise.
55143 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
55144 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
55145 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
55146 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
55147 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
55148 (__backtrace): Likewise.
55149 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
55150 use __ptrvalue.
55151 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
55152 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
55153 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
55154 Likewise.
55155 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
55156 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
55157 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
55158 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
55159 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
55160 Do not use __unbounded.
55161 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
55162 Rename __unboundedrlimits parameter to rlimits in prototype.
55163 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
55164 Do not use __unbounded.
55165 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
55166 not use __ptrvalue.
55167 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
55168 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
55169 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
55170 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
55171 __ptrvalue or __unbounded.
55172 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
55173 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
55174 use __unbounded.
55175 (__new_msgctl): Do not use __ptrvalue.
55176 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
55177 __unbounded.
55178 (__libc_msgrcv): Do not use __ptrvalue.
55179 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
55180 startup_info): Do not use __unbounded.
55181 (__libc_start_main): Likewise. Rename ubp_* variables and
55182 parameters. Remove argv definitions conditional on
55183 [__BOUNDED_POINTERS__].
55184 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
55185 __ptrvalue.
55186 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
55187 use __unbounded.
55188 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
55189 or __ptrvalue.
55190 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
55191 use __unbounded.
55192 (__new_shmctl): Do not use __ptrvalue.
55193 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
55194 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
55195 Likewise.
55196 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
55197 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
55198 (__libc_sigaction): Likewise.
55199 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
55200 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
55201 Likewise.
55202 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
55203
55204 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
55205
55206 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
55207
55208 * string/mempcpy.c: Implement by calling memcpy.
55209
55210 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
55211
55212 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
55213
55214 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
55215 evaluation.
55216
55217 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
55218 values in the mantissa.
55219
55220 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
55221 minimize writes to Z.
55222 (sub_magnitudes): Simplify code a bit.
55223
55224 2013-02-12 Roland McGrath <roland@hack.frob.com>
55225
55226 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
55227 from the message. The linker prefixes all warnings with that already.
55228
55229 2013-02-12 Andreas Schwab <schwab@suse.de>
55230
55231 [BZ #15078]
55232 * posix/regexec.c (extend_buffers): Add parameter min_len.
55233 (check_matching): Pass minimum needed length.
55234 (clean_state_log_if_needed): Likewise.
55235 (get_subexp): Likewise.
55236 * posix/Makefile (tests): Add bug-regex34.
55237 (bug-regex34-ENV): Define.
55238 * posix/bug-regex34.c: New file.
55239
55240 [BZ #11561]
55241 * posix/regcomp.c (parse_bracket_exp): When looking up collating
55242 elements compare against the byte sequence of it, not its name.
55243 * posix/Makefile (tests): Add bug-regex35.
55244 (bug-regex35-ENV): Define.
55245 * posix/bug-regex35.c: New file.
55246
55247 2013-02-11 Tom de Vries <tom@codesourcery.com>
55248
55249 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
55250 comment.
55251 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
55252 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
55253 (CHECK_EOL): Add undef.
55254
55255 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
55256
55257 * bits/stdlib-bsearch.h: New file.
55258 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
55259 * stdlib/stdlib.h: Likewise.
55260
55261 2013-02-11 Roland McGrath <roland@hack.frob.com>
55262
55263 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
55264 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
55265 declaration.
55266 * manual/search.texi (Array Search Function): Add missing const in
55267 lfind prototype.
55268 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
55269 declaration to use rlim_t.
55270 (Basic Scheduling Functions): Remove erroneous const from
55271 sched_getparam prototype. Remove erroneous * from
55272 sched_get_priority_max and sched_get_priority_min prototypes.
55273 (Resource Usage): Fix summary @comment on vtimes to refer to
55274 sys/vtimes.h rather than vtimes.h.
55275 Add missing *s in vtimes prototype.
55276 (Limits on Resources): Fix ulimit prototype to return long int.
55277 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
55278 prototypes to use long int rather than double.
55279 (BSD Random): Fix initstate and setstate to use char *, not void *.
55280 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
55281 prototype to make second argument 'struct aiocb64 *const[]'.
55282 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
55283 (Status of AIO Operations): Remove erroneous const in aio_return and
55284 aio_return64 prototypes.
55285 (Synchronizing I/O): Fix sync prototype to return void.
55286 * manual/startup.texi (Suboptions): Remove an erroneous const in
55287 getsubopt prototype.
55288 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
55289 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
55290 use size_t rather than int.
55291 (Scanning All Users): Likewise for getpwent_r.
55292 (Setting Groups): Add missing const to setgroups prototype.
55293 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
55294 * manual/socket.texi (Host Names): Fix gethostbyaddr and
55295 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
55296 'const void *' rather than 'const char *'.
55297 (Host Address Functions): Likewise for inet_ntop.
55298 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
55299 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
55300 ssize_t for return value.
55301 (Sending Data): Likewise for send, sendto, sendmsg.
55302 (Socket Option Functions): Add a missing const in setsockopt prototype.
55303 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
55304 use wchar_t for the argument.
55305 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
55306 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
55307 take no arguments.
55308 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
55309 double/float/long double for second argument.
55310 Fix return types of significand, significandf, significandl.
55311 * manual/filesys.texi (Setting Permissions): Use mode_t for second
55312 argument in fchmod prototype.
55313 (File Owner): Use uid_t and gid_t in fchown prototype.
55314 (File Times): Add const to utimes, futimes, and lutimes prototypes.
55315 (Making Special Files): Use mode_t and dev_t in mknod prototype.
55316 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
55317 use 'const struct dirent **' as argument types to CMP function pointer
55318 argument.
55319 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
55320 (File Times): Fix summary magic @comment for struct utimbuf and utime
55321 to refer to utime.h, not time.h.
55322 * manual/string.texi (Argz Functions): Add missing const in
55323 argz_extract and argz_next prototypes.
55324 (Finding Tokens in a String): Likewise for basename.
55325 (String/Array Comparison): Fix typo in wcscasecmp prototype.
55326 (Copying and Concatenation): Fix typo in wmemmove prototype.
55327 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
55328 (Signal Stack): Remove erroneous const in sigstack prototype.
55329 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
55330 prototype.
55331 (Simple Calendar Time): Likewise for stime.
55332 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
55333 prototype.
55334 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
55335 say sys/sysctl.h instead.
55336 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
55337 and vsyslog prototypes.
55338
55339 2013-02-11 Tom de Vries <tom@codesourcery.com>
55340
55341 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
55342 Remove.
55343
55344 2013-02-11 Roland McGrath <roland@hack.frob.com>
55345
55346 * misc/sys/mman.h: Fix typo in mremap comment.
55347
55348 2013-02-08 Roland McGrath <roland@hack.frob.com>
55349
55350 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
55351 the '\0' terminator.
55352
55353 2013-02-08 Joseph Myers <joseph@codesourcery.com>
55354
55355 [BZ #13550]
55356 * debug/segfault.c: Don't include <bp-checks.h>.
55357 * sysdeps/generic/bp-checks.h: Remove file.
55358 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
55359 (__GETDENTS): Don't use CHECK_N.
55360 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
55361 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
55362 (__getgroups): Don't use CHECK_N.
55363 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
55364 (setgroups): Don't use CHECK_N.
55365 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
55366 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
55367 (__libc_msgrcv): Don't use CHECK_N.
55368 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
55369 (__libc_msgsnd): Don't use CHECK_N.
55370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
55371 <bp-checks.h>.
55372 (__libc_pread): Don't use CHECK_N.
55373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
55374 include <bp-checks.h>.
55375 (__libc_pread64): Don't use CHECK_N.
55376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
55377 include <bp-checks.h>.
55378 (__libc_pwrite): Don't use CHECK_N.
55379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
55380 include <bp-checks.h>.
55381 (__libc_pwrite64): Don't use CHECK_N.
55382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
55383 <bp-checks.h>.
55384 (__libc_pread): Don't use CHECK_N.
55385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
55386 include <bp-checks.h>.
55387 (__libc_pread64): Don't use CHECK_N.
55388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
55389 include <bp-checks.h>.
55390 (__libc_pwrite): Don't use CHECK_N.
55391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
55392 include <bp-checks.h>.
55393 (__libc_pwrite64): Don't use CHECK_N.
55394 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
55395 (do_pread): Don't use CHECK_N.
55396 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
55397 (do_pread64): Don't use CHECK_N.
55398 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
55399 (do_pwrite): Don't use CHECK_N.
55400 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
55401 (do_pwrite64): Don't use CHECK_N.
55402 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
55403 (__libc_readv): Don't use CHECK_N.
55404 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
55405 (semop): Don't use CHECK_N.
55406 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
55407 <bp-checks.h>.
55408 (semtimedop): Don't use CHECK_N.
55409 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
55410 (__libc_pread): Don't use CHECK_N.
55411 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
55412 <bp-checks.h>.
55413 (__libc_pread64): Don't use CHECK_N.
55414 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
55415 <bp-checks.h>.
55416 (__libc_pwrite): Don't use CHECK_N.
55417 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
55418 <bp-checks.h>.
55419 (__libc_pwrite64): Don't use CHECK_N.
55420 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
55421 <bp-checks.h>.
55422 (__libc_msgrcv): Don't use CHECK_N.
55423 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
55424 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
55425 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
55426 (__libc_writev): Don't use CHECK_N.
55427
55428 2013-02-08 Roland McGrath <roland@hack.frob.com>
55429
55430 * string/strcpy.c: Removed unused variable.
55431
55432 * Makeconfig (+sysdep-includes): Define with := rather than =.
55433 Use an existing include/ subdir of each sysdeps dir before it.
55434
55435 2013-02-08 Carlos O'Donell <carlos@redhat.com>
55436
55437 * nscd/connection.c (register_traced_file): Comment function.
55438 [HAVE_INOTIFY] (union __inev): Define.
55439 [HAVE_INOTIFY] (inotify_check_files): New function.
55440 [HAVE_INOTIFY] (clear_db_cache): Likewise.
55441 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
55442 clear_db_cache.
55443 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
55444
55445 2013-02-08 Carlos O'Donell <carlos@redhat.com>
55446
55447 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
55448 loaded if not already and that a failure is permanent.
55449
55450 2013-02-08 Carlos O'Donell <carlos@redhat.com>
55451
55452 [BZ #15006]
55453 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
55454 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
55455
55456 2013-02-08 Joseph Myers <joseph@codesourcery.com>
55457
55458 [BZ #13550]
55459 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
55460 (CHECK_1_NULL_OK): Likewise.
55461 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
55462 (__fxstat): Do not use CHECK_1.
55463 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
55464 <bp-checks.h>.
55465 (___fxstat64): Do not use CHECK_1.
55466 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
55467 <bp-checks.h>.
55468 (__fxstatat): Do not use CHECK_1.
55469 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
55470 <bp-checks.h>.
55471 (__fxstatat64): Do not use CHECK_1.
55472 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
55473 <bp-checks.h>.
55474 (__fxstat): Do not use CHECK_1.
55475 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
55476 <bp-checks.h>.
55477 (__fxstatat): Do not use CHECK_1.
55478 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
55479 <bp-checks.h>.
55480 (__getresgid): Do not use CHECK_1.
55481 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
55482 <bp-checks.h>.
55483 (__getresuid): Do not use CHECK_1.
55484 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
55485 <bp-checks.h>.
55486 (__lxstat): Do not use CHECK_1.
55487 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
55488 <bp-checks.h>.
55489 (__old_msgctl): Do not use CHECK_1.
55490 (__new_msgctl): Likewise.
55491 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
55492 <bp-checks.h>.
55493 (__new_setrlimit): Do not use CHECK_1.
55494 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
55495 <bp-checks.h>.
55496 (__old_shmctl): Do not use CHECK_1.
55497 (__new_shmctl): Likewise.
55498 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
55499 <bp-checks.h>.
55500 (__xstat): Do not use CHECK_1.
55501 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
55502 (__lxstat): Do not use CHECK_1.
55503 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
55504 <bp-checks.h>.
55505 (___lxstat64): Do not use CHECK_1.
55506 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
55507 (__old_msgctl): Do not use CHECK_1.
55508 (__new_msgctl): Likewise.
55509 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
55510 <bp-checks.h>.
55511 (__gettimeofday): Do not use CHECK_1.
55512 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
55513 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
55514 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
55515 <bp-checks.h>.
55516 (__gettimeofday): Do not use CHECK_1.
55517 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
55518 (__old_shmctl): Do not use CHECK_1_NULL_OK.
55519 (__new_shmctl): Do not use CHECK_1.
55520 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
55521 <bp-checks.h>.
55522 (do_sigtimedwait): Do not use CHECK_1.
55523 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
55524 <bp-checks.h>.
55525 (do_sigwaitinfo): Do not use CHECK_1.
55526 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
55527 <bp-checks.h>.
55528 (msgctl): Do not use CHECK_1.
55529 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
55530 <bp-checks.h>.
55531 (shmctl): Do not use CHECK_1.
55532 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
55533 (ustat): Do not use CHECK_1.
55534 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
55535 <bp-checks.h>.
55536 (__fxstat): Do not use CHECK_1.
55537 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
55538 <bp-checks.h>.
55539 (__fxstatat): Do not use CHECK_1.
55540 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
55541 <bp-checks.h>.
55542 (__lxstat): Do not use CHECK_1.
55543 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
55544 <bp-checks.h>.
55545 (__xstat): Do not use CHECK_1.
55546 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
55547 (__xstat): Do not use CHECK_1.
55548 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
55549 (___xstat64): Do not use CHECK_1.
55550
55551 [BZ #13550]
55552 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
55553 definitions.
55554 (CHECK_BOUNDS_HIGH): Likewise.
55555 * string/strcpy.c: Do not include <bp-checks.h>.
55556 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
55557
55558 2013-02-07 Roland McGrath <roland@hack.frob.com>
55559
55560 * nscd/nscd-client.h (__nscd_drop_map_ref):
55561 Add __attribute__ ((unused)).
55562 * nis/nss-nisplus.h (niserr2nss): Likewise.
55563
55564 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
55565 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
55566
55567 * csu/libc-tls.c (init_static_tls, init_slotinfo):
55568 Remove inline keyword.
55569 * include/rounding-mode.h (round_away): Likewise.
55570 * libio/wfileops.c (adjust_wide_data): Likewise.
55571 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
55572 (__m128i_strloadu_tolower): Likewise.
55573 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
55574 (__m128i_strloadu_tolower): Likewise.
55575 * time/mktime.c (ydhms_diff): Likewise.
55576 * locale/elem-hash.h (elem_hash): Likewise.
55577 * locale/setlocale.c (setdata): Likewise.
55578 * posix/regex_internal.h (re_string_char_size_at): Likewise.
55579 (re_string_wchar_at): Likewise.
55580 (bitset_not, bitset_merge, bitset_mask): Likewise.
55581 [!(__GNUC__ > 3)] (inline): Remove macro.
55582 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
55583 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
55584 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
55585 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
55586 * string/memcmp.c (memcmp_bytes): Likewise.
55587 * locale/programs/locarchive.c (compute_hashval): Likewise.
55588 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
55589 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
55590 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
55591 * nss/getent.c (print_rpc, print_protocols): Likewise.
55592 (print_passwd, print_group, print_aliases): Likewise.
55593 * nis/nss-nisplus.h (niserr2nss): Likewise.
55594 * nscd/connections.c (restart_p): Likewise.
55595 Change return type to bool.
55596
55597 2013-02-05 Roland McGrath <roland@hack.frob.com>
55598
55599 * Makeconfig (all-Depend-files): Add existing
55600 $(sorted-subdirs:=/Depend) files.
55601 (all-subdirs): Remove nss.
55602 * sysdeps/unix/inet/Subdirs: Add it here instead.
55603 * hesiod/Depend: New file.
55604
55605 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
55606 instead of calling alloca.
55607
55608 * io/lseek.c (__lseek): Rename to __libc_lseek.
55609 Define __lseek as an alias.
55610
55611 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
55612
55613 2013-02-04 Carlos O'Donell <carlos@redhat.com>
55614
55615 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
55616 else clause and remove check for non-standard endianness.
55617
55618 2013-02-04 David S. Miller <davem@davemloft.net>
55619
55620 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55621
55622 2013-02-04 Joseph Myers <joseph@codesourcery.com>
55623
55624 [BZ #13550]
55625 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
55626 (__ubp_memchr): Remove prototype.
55627 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
55628 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
55629 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
55630 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
55631 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
55632 Remove alias.
55633 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
55634 (__ubp_memchr): Likewise.
55635 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
55636 (__ubp_memchr): Likewise.
55637 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
55638 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
55639 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
55640 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
55641 CHECK_STRING.
55642 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
55643 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
55644 (__getcwd): Do not use CHECK_STRING.
55645 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
55646 <bp-checks.h>.
55647 (__real_chown): Do not use CHECK_STRING.
55648 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
55649 <bp-checks.h>.
55650 (fchownat): Do not use CHECK_STRING.
55651 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
55652 CHECK_STRING.
55653 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
55654 <bp-checks.h>.
55655 (__lchown): Do not use CHECK_STRING.
55656 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
55657 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
55658 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
55659 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
55660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
55661 include <bp-checks.h>.
55662 (truncate64): Do not use CHECK_STRING.
55663 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
55664 <bp-checks.h>.
55665 (__real_chown): Do not use CHECK_STRING.
55666 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
55667 <bp-checks.h>.
55668 (__lchown): Do not use CHECK_STRING.
55669 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
55670 <bp-checks.h>.
55671 (__chown): Do not use CHECK_STRING.
55672 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
55673 <bp-checks.h>.
55674 (truncate64): Do not use CHECK_STRING.
55675 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
55676 Likewise.
55677 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
55678 (__xmknod): Do not use CHECK_STRING.
55679 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
55680 <bp-checks.h>.
55681 (__xmknodat): Do not use CHECK_STRING.
55682 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
55683 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
55684
55685 2013-02-04 Andreas Schwab <schwab@suse.de>
55686
55687 [BZ #14142]
55688 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
55689 * include/netdb.h: Likewise for h_errno.
55690 * elf/tst-stackguard1.c: Include <tls.h>.
55691
55692 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
55693
55694 * elf/link.h (struct link_map): Extend the l_addr comment.
55695 * include/link.h (struct link_map): Likewise.
55696
55697 2013-02-01 Joseph Myers <joseph@codesourcery.com>
55698
55699 [BZ #13550]
55700 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
55701 (BOUNDED_1): Remove macro.
55702 * debug/backtrace.c: Don't include <bp-checks.h>.
55703 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
55704 (__backtrace): Likewise.
55705 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
55706 <bp-checks.h>.
55707 (__backtrace): Don't use BOUNDED_1.
55708 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
55709 <bp-checks.h>.
55710 (__backtrace): Don't use BOUNDED_1.
55711 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
55712 (__backtrace): Don't use BOUNDED_1.
55713 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
55714 (shmat): Don't use BOUNDED_N.
55715
55716 2013-01-31 Joseph Myers <joseph@codesourcery.com>
55717
55718 [BZ #13550]
55719 * sysdeps/generic/bp-start.h: Remove file.
55720 * csu/libc-start.c: Don't include <bp-start.h>.
55721 (LIBC_START_MAIN): Set up __environ directly instead of using
55722 INIT_ARGV_and_ENVIRON.
55723 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
55724 <bp-start.h>.
55725
55726 [BZ #13550]
55727 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
55728 definitions.
55729 (CHECK_FCNTL): Likewise.
55730 (CHECK_N_PAGES): Likewise.
55731
55732 [BZ #13550]
55733 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
55734 definitions.
55735 (CHECK_SIGSET_NULL_OK): Likewise.
55736 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
55737 <bp-checks.h>.
55738 (sigpending): Don't use CHECK_SIGSET.
55739 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
55740 <bp-checks.h>.
55741 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
55742 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
55743 <bp-checks.h>.
55744 (do_sigsuspend): Don't use CHECK_SIGSET.
55745 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
55746 use CHECK_SIGSET.
55747 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
55748 (do_sigwait): Don't use CHECK_SIGSET.
55749 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
55750 use CHECK_SIGSET.
55751 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
55752 include <bp-checks.h>.
55753 (sigpending): Don't use CHECK_SIGSET.
55754 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
55755 include <bp-checks.h>.
55756 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
55757 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
55758 <bp-checks.h>.
55759 (sigpending): Don't use CHECK_SIGSET.
55760 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
55761 <bp-checks.h>.
55762 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
55763
55764 [BZ #13550]
55765 * sysdeps/generic/bp-semctl.h: Remove file.
55766 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
55767 <bp-checks.h> and <bp-semctl.h>.
55768 (__old_semctl): Don't use CHECK_SEMCTL.
55769 (__new_semctl): Likewise.
55770 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
55771 and <bp-semctl.h>.
55772 (__old_semctl): Don't use CHECK_SEMCTL.
55773 (__new_semctl): Likewise.
55774 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
55775 <bp-checks.h> and <bp-semctl.h>.
55776 (__old_semctl): Don't use CHECK_SEMCTL.
55777 (__new_semctl): Likewise.
55778 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
55779 <bp-checks.h> and <bp-semctl.h>.
55780 (semctl): Don't use CHECK_SEMCTL.
55781
55782 [BZ #13550]
55783 * Makerules (elide-bp-thunks): Remove variable.
55784 (elide-routines.oS): Don't use $(elide-bp-thunks).
55785 (elide-routines.os): Likewise.
55786 (elide-routines.o): Likewise.
55787 (elide-routines.op): Likewise.
55788 (elide-routines.og): Likewise.
55789 (objects): Don't use $(bp-thunks).
55790 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
55791 include.
55792 (common-generated): Do not add s-proto-bp.d.
55793 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
55794 (int): Likewise.
55795 (typ): Likewise.
55796 Do not generate makefile rules for bounded-pointer thunks.
55797 * sysdeps/generic/bp-thunks.h: Remove file.
55798 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
55799 * sysdeps/unix/s-proto-bp.S: Likewise.
55800
55801 [BZ #15062]
55802 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
55803 parts of result separately when argument is not close to line from
55804 -i to i and one part of argument is small.
55805 * math/k_casinhf.c (__kernel_casinhf): Likewise.
55806 * math/k_casinhl.c (__kernel_casinhl): Likewise.
55807 * math/libm-test.inc (cacos_test): Add more tests.
55808 (casin_test): Likewise.
55809 (casinh_test): Likewise.
55810 * sysdeps/i386/fpu/libm-test-ulps: Update.
55811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55812
55813 2013-01-31 David S. Miller <davem@davemloft.net>
55814
55815 * po/de.po: Update from translation team.
55816
55817 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
55818
55819 * time/tzfile.c: Include stdint.h for SIZE_MAX.
55820
55821 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
55822
55823 * configure.in (_AC_PROG_CC_C89): New definition.
55824 * configure: Regenerate.
55825
55826 * configure.in (AC_PROG_CPP): New definition.
55827 * configure: Regenerate.
55828
55829 2013-01-23 Joseph Myers <joseph@codesourcery.com>
55830
55831 * debug/tst-backtrace.h: New file.
55832 * debug/tst-backtrace2.c: Include tst-backtrace.h.
55833 (ret): Remove variable.
55834 (x): Likewise.
55835 (FAIL): Remove macro.
55836 (NO_INLINE): Likewise.
55837 (fn1): Use match function instead of strstr.
55838 * debug/tst-backtrace3.c: Include tst-backtrace.h.
55839 (ret): Remove variable.
55840 (x): Likewise.
55841 (FAIL): Remove macro.
55842 (NO_INLINE): Likewise.
55843 (fn): Use match function instead of strstr.
55844 * debug/tst-backtrace4.c: Include tst-backtrace.h.
55845 (ret): Remove variable.
55846 (x): Likewise.
55847 (FAIL): Remove macro.
55848 (NO_INLINE): Likewise.
55849 (handle_signal): Use match function instead of strstr.
55850 * debug/tst-backtrace5.c: Include tst-backtrace.h.
55851 (ret): Remove variable.
55852 (x): Likewise.
55853 (FAIL): Remove macro.
55854 (NO_INLINE): Likewise.
55855 (handle_signal): Use match function instead of strstr.
55856
55857 2013-01-23 Roland McGrath <roland@hack.frob.com>
55858
55859 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
55860
55861 2013-01-23 David S. Miller <davem@davemloft.net>
55862
55863 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
55864 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
55865 argument of CAS if possible.
55866 * sysdeps/sparc/sparc64/bits/atomic.h
55867 (__arch_compare_and_exchange_val_32_acq): Likewise.
55868 (__arch_compare_and_exchange_val_64_acq): Likewise.
55869
55870 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
55871
55872 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
55873 * sysdeps/posix/ulimit.c: ... this.
55874 Include <limits.h>.
55875 * sysdeps/unix/bsd/ulimit.c: Remove file.
55876
55877 2013-01-23 Adam Conrad <adconrad@0c3.net>
55878
55879 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
55880 (LDFLAGS-tst-array5): Likewise.
55881
55882 2013-01-23 Joseph Myers <joseph@codesourcery.com>
55883
55884 [BZ #15036]
55885 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
55886 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
55887 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
55888 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
55889
55890 2013-01-21 David S. Miller <davem@davemloft.net>
55891
55892 * sysdeps/sparc/backtrace.c: New file.
55893 * sysdeps/sparc/sparc32/backtrace.h: New file.
55894 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
55895 * sysdeps/sparc/sparc64/backtrace.h: New file.
55896 * sysdeps/sparc/sparc64/backtrace.c: Delete.
55897 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
55898 -funwind-tables.
55899
55900 2013-01-21 Andreas Schwab <schwab@suse.de>
55901
55902 [BZ #15020]
55903 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
55904 closed its stdout.
55905
55906 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
55907
55908 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
55909 "mpa2.h".
55910 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
55911
55912 2013-01-18 Joseph Myers <joseph@codesourcery.com>
55913 Mark Mitchell <mark@codesourcery.com>
55914 Tom de Vries <tom@codesourcery.com>
55915 Paul Pluzhnikov <ppluzhnikov@google.com>
55916
55917 * debug/tst-backtrace2.c: New file.
55918 * debug/tst-backtrace3.c: Likewise.
55919 * debug/tst-backtrace4.c: Likewise.
55920 * debug/tst-backtrace5.c: Likewise.
55921 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
55922 (CFLAGS-tst-backtrace3.c): Likewise.
55923 (CFLAGS-tst-backtrace4.c): Likewise.
55924 (CFLAGS-tst-backtrace5.c): Likewise.
55925 (LDFLAGS-tst-backtrace2): Likewise.
55926 (LDFLAGS-tst-backtrace3): Likewise.
55927 (LDFLAGS-tst-backtrace4): Likewise.
55928 (LDFLAGS-tst-backtrace5): Likewise.
55929 (tests): Add new tests tst-backtrace2, tst-backtrace3,
55930 tst-backtrace4 and tst-backtrace5.
55931
55932 2013-01-18 Anton Blanchard <anton@samba.org>
55933 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
55934
55935 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
55936 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
55937 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
55938 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
55939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
55940 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
55941 "+r" and remove output regs list as redundant. Add explicit inline
55942 asm to specify register of return val to work around compiler codegen
55943 bug. Remove (int) cast on return value. Add return type parameter to
55944 use in macro so that this macro does not truncate return value for
55945 64-bit values.
55946 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
55947 pass to INTERNAL_VSYSCALL_NCS.
55948 (INLINE_VSYSCALL): Add 'long int' as return type to
55949 INTERNAL_VSYSCALL_NCS macro invocation.
55950 (INTERNAL_VSYSCALL): Add 'long int' as return type to
55951 INTERNAL_VSYSCALL_NCS macro invocation.
55952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
55953
55954 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
55955
55956 [BZ #14496]
55957 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
55958 Fix application of SIMD FP exception mask.
55959
55960 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
55961 mp_no from a power of two.
55962 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
55963 __mpexp_twomm1. Use __pow_mp.
55964
55965 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
55966 multiplication.
55967
55968 2013-01-17 David S. Miller <davem@davemloft.net>
55969
55970 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55971
55972 2013-01-17 Joseph Myers <joseph@codesourcery.com>
55973
55974 [BZ #15023]
55975 * include/complex.h: Condition contents on [!_COMPLEX_H].
55976 (__kernel_casinhf): New prototype.
55977 (__kernel_casinh): Likewise.
55978 (__kernel_casinhl): Likewise.
55979 * math/Makefile (libm_calls): Add k_casinh.
55980 * math/k_casinh.c: New file.
55981 * math/k_casinhf.c: Likewise.
55982 * math/k_casinhl.c: Likewise.
55983 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
55984 finite nonzero arguments.
55985 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
55986 finite nonzero arguments.
55987 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
55988 finite nonzero arguments.
55989 * math/s_casinh.c: Do not include <float.h>.
55990 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
55991 * math/s_casinhf.c: Do not include <float.h>.
55992 (__casinhf): Move code for finite nonzero arguments to
55993 k_casinhf.c.
55994 * math/s_casinhl.c: Do not include <float.h>.
55995 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
55996 redefine.
55997 (__casinhl): Move code for finite nonzero arguments to
55998 k_casinhl.c.
55999 * math/libm-test.inc (cacos_test): Add more tests.
56000 * sysdeps/i386/fpu/libm-test-ulps: Update.
56001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56002
56003 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
56004
56005 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
56006 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
56007 [!HAVE_MREMAP]: Remove [defined linux] case.
56008 * malloc/arena.c: Do not include <malloc-sysdep.h>.
56009
56010 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
56011
56012 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
56013
56014 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
56015
56016 * elf/elf.h (R_386_SIZE32): New relocation.
56017 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
56018 R_386_SIZE32.
56019 (elf_machine_rela): Likewise.
56020 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
56021 R_X86_64_SIZE64 and R_X86_64_SIZE32.
56022
56023 2013-01-17 Joseph Myers <joseph@codesourcery.com>
56024
56025 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
56026 (FP_FAST_FMA): Do not define.
56027 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
56028 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
56029 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
56030 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
56031 !_SOFT_FLOAT]: Likewise.
56032 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
56033 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
56034 value.
56035 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
56036 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
56037 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
56038 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
56039 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
56040 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
56041 file.
56042
56043 2013-01-16 Andreas Schwab <schwab@suse.de>
56044
56045 [BZ #14327]
56046 * include/stdlib.h (__mktemp): Add declaration.
56047 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
56048 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
56049
56050 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
56051
56052 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
56053 definitions.
56054 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
56055 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
56056 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
56057 definitions here.
56058 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
56059 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
56060 definitions.
56061 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
56062 and ONE.
56063 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
56064 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
56065 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
56066 definitions.
56067 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
56068 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
56069 definitions.
56070 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
56071
56072 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
56073
56074 2013-01-15 David S. Miller <davem@davemloft.net>
56075
56076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
56077 trunc{,f} to libm-sysdep_routes.
56078 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
56079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
56080 file.
56081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
56082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
56083 file.
56084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
56085 file.
56086 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
56087 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
56088 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
56089 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
56090 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
56091 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
56092 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
56093 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
56094
56095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
56096 nearbyint{,f} to libm-sysdep_routes.
56097 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
56098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
56099 New file.
56100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
56101 file.
56102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
56103 New file.
56104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
56105 file.
56106 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
56107 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
56108 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
56109 file.
56110 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
56111 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
56112 file.
56113 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
56114 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
56115 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
56116
56117 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
56118 libc_feholdexcept and libc_fesetenv.
56119
56120 2013-01-15 Mike Frysinger <vapier@gentoo.org>
56121
56122 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
56123
56124 2013-01-14 David S. Miller <davem@davemloft.net>
56125
56126 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
56127 (SPARC_ASM_VIS2_IFUNC): Likewise.
56128 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
56129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
56130 use of 'siam' instruction.
56131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
56132 Likewise.
56133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
56134 Likewise.
56135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
56136 Likewise.
56137 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
56138 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
56139 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
56140 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
56141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
56142 file.
56143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
56144 file.
56145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
56146 file.
56147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
56148 file.
56149 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
56150 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
56151 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
56152 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
56153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
56154 new VIS2 routines.
56155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
56156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
56157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
56158 Likewise.
56159 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
56160 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
56161 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
56162 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
56163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
56164 routines to libm-sysdep_routines.
56165 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
56166
56167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
56168 fdim/fdimf to libm-sysdep_routines.
56169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
56170 file.
56171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
56172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
56173 file.
56174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
56175 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
56176 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
56177 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
56178 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
56179 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
56180 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
56181
56182 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
56183
56184 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
56185 to optimize copies.
56186
56187 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
56188 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
56189 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
56190
56191 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
56192 local variable MPTWO.
56193 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
56194 Likewise.
56195
56196 2013-01-13 Mike Frysinger <vapier@gentoo.org>
56197
56198 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
56199 GLOB_NOESCAPE.
56200
56201 2013-01-13 Mike Frysinger <vapier@gentoo.org>
56202
56203 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
56204
56205 2013-01-13 Mike Frysinger <vapier@gentoo.org>
56206
56207 * manual/pattern.texi (glob_t): Document gl_flags.
56208 (glob64_t): Likewise.
56209
56210 2013-01-11 David S. Miller <davem@davemloft.net>
56211
56212 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
56213 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
56214 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
56215 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
56216 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
56217 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
56218 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
56219 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
56220 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
56221 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
56222 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
56223 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
56224 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
56225
56226 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
56227 sparc V9 rather than using V8 code.
56228 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
56229 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
56230
56231 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
56232 Move to...
56233 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
56234 Here.
56235
56236 2013-01-11 Roland McGrath <roland@hack.frob.com>
56237
56238 [BZ #14941]
56239 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
56240 not in the main loop.
56241 * configure: Regenerated.
56242
56243 2013-01-11 Joseph Myers <joseph@codesourcery.com>
56244
56245 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
56246 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
56247 to just #else.
56248 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
56249 [!__GLIBC_HAVE_LONG_LONG] case.
56250 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
56251 condition to just #else.
56252 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
56253 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
56254 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
56255 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
56256 unconditional.
56257 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
56258 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
56259 #elif condition to just #else.
56260 * sysdeps/unix/sysv/linux/sys/sysmacros.h
56261 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
56262 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
56263 #elif condition to just #else.
56264
56265 2013-01-11 Steve Ellcey <sellcey@mips.com>
56266
56267 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
56268 (EF_MIPS_ARCH_64): Fix value.
56269 (EF_MIPS_ARCH_32R2): New.
56270 (EF_MIPS_ARCH_64R2): New.
56271
56272 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
56273
56274 * Makeconfig (+link-pie-before-libc): New.
56275 (+link-pie-after-libc): Likewise.
56276 (+link-pie-tests): Likewise.
56277 (+link-pie): Rewritten.
56278 (link-before-libc): Remove $(config-LDFLAGS).
56279 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
56280 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
56281 (config-LDFLAGS): Renamed to ...
56282 (rtld-LDFLAGS): This.
56283 (rtld-tests-LDFLAGS): New macro.
56284 (link-libc-rpath-link): Likewise.
56285 (link-libc-tests-rpath-link): Likewise.
56286 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
56287 (link-libc): Prepand $(link-libc-rpath-link).
56288 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
56289 (test-program-prefix): New macro.
56290 (test-via-rtld-prefix): Likewise.
56291 (test-program-cmd): Likewise.
56292 (host-test-program-cmd): Likewise.
56293 * Makefile ($(common-objpfx)testrun.sh): Replace
56294 $(run-program-prefix) with $(test-program-prefix).
56295 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
56296 $(rtld-LDFLAGS).
56297 ($(common-objpfx)shlib.lds): Likewise.
56298 (build-module-helper): Likewise.
56299 ($(common-objpfx)format.lds): Likewise.
56300 * Rules (binaries-pie-tests): New.
56301 (binaries-pie-notests): Likewise.
56302 (binaries-pie): Rewritten.
56303 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
56304 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
56305 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
56306 (make-test-out): Replace $(host-built-program-cmd) with
56307 $(host-test-program-cmd).
56308 * config.make.in (build-hardcoded-path-in-tests): New variable.
56309 * configure.in (--enable-hardcoded-path-in-tests): New configure
56310 option.
56311 (hardcoded_path_in_tests): New AC_SUBST.
56312 * configure: Regenerated.
56313 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
56314 $(built-program-cmd) with $(test-program-cmd).
56315 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
56316 (test_program_cmd): This.
56317 * elf/Makefile ($(objpfx)order.out): Run test with
56318 $(test-program-prefix).
56319 ($(objpfx)order2.out): Likewise.
56320 ($(objpfx)tst-initorder.out): Likewise.
56321 ($(objpfx)tst-initorder2.out): Likewise.
56322 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
56323 $(test-program-cmd).
56324 ($(objpfx)tst-array1-static.out): Likewise.
56325 ($(objpfx)tst-array2.out): Likewise.
56326 ($(objpfx)tst-array3.out): Likewise.
56327 ($(objpfx)tst-array4.out): Likewise.
56328 ($(objpfx)tst-array5.out): Likewise.
56329 ($(objpfx)tst-array5-static.out): Likewise.
56330 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
56331 $(test-program-cmd).
56332 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
56333 $(run-program-prefix) with $(test-program-prefix).
56334 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
56335 (test_program_prefix): This.
56336 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
56337 $(run-program-prefix) with $(test-program-prefix).
56338 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
56339 (test_program_prefix): This.
56340 * iconvdata/tst-tables.sh: Likewise.
56341 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
56342 $(run-program-prefix) with $(test-program-prefix).
56343 ($(objpfx)tst-translit.out): Likewise.
56344 ($(objpfx)tst-gettext2.out): Likewise.
56345 ($(objpfx)tst-gettext4.out): Likewise.
56346 ($(objpfx)tst-gettext6.out): Likewise.
56347 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
56348 (test_program_prefix): This.
56349 * intl/tst-gettext2.sh: Likewise.
56350 * intl/tst-gettext4.sh Likewise.
56351 * intl/tst-gettext6.sh: Likewise.
56352 * intl/tst-translit.sh: Likewise.
56353 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
56354 with $(test-program-cmd).
56355 * libio/Makefile ($(objpfx)test-freopen.out): Replace
56356 $(run-program-prefix) with $(test-program-prefix).
56357 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
56358 (test_program_prefix): This.
56359 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
56360 $(run-program-prefix) with $(test-program-prefix).
56361 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
56362 (test_program_prefix): This.
56363 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
56364 * posix/Makefile ($(objpfx)globtest.out): Replace
56365 $(run-via-rtld-prefix) and $(test-wrapper) with
56366 $(test-program-prefix) and $(test-via-rtld-prefix).
56367 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
56368 $(test-program-prefix).
56369 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
56370 $(host-test-program-cmd).
56371 (tst-spawn-ARGS): Likewise.
56372 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
56373 $(test-program-prefix).
56374 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
56375 (test_via_rtld_prefix): This.
56376 (test_wrapper): Renamed to ...
56377 (test_program_prefix): This.
56378 (run_program_prefix): Replaced by test_program_prefix.
56379 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
56380 (test_program_prefix): This.
56381 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
56382 with $(host-test-program-cmd).
56383 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
56384 $(run-program-prefix) with $(test-program-prefix).
56385 ($(objpfx)tst-printf.out): Likewise.
56386 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
56387 $(test-program-cmd).
56388 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
56389 (test_program_prefix): This.
56390 * stdio-common/tst-unbputc.sh: Likewise.
56391 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
56392 $(run-program-prefix) with $(test-program-prefix).
56393 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
56394 (test_program_prefix): This.
56395 * string/Makefile ($(objpfx)tst-svc.out): Replace
56396 $(built-program-cmd) with $(test-program-cmd).
56397
56398 2013-01-11 Andreas Jaeger <aj@suse.de>
56399
56400 [BZ #15003]
56401 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
56402 value. Sync with Linux 3.7.
56403
56404 2013-01-10 David S. Miller <davem@davemloft.net>
56405
56406 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
56407 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
56408 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
56409
56410 2013-01-10 Roland McGrath <roland@hack.frob.com>
56411
56412 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
56413 never set.
56414 * configure: Regenerated.
56415
56416 2013-01-10 David S. Miller <davem@davemloft.net>
56417
56418 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
56419 sparc V9 rather than using V8 code.
56420 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
56421 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
56422
56423 2013-01-10 Roland McGrath <roland@hack.frob.com>
56424
56425 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
56426 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
56427 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
56428 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
56429 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
56430 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
56431 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
56432 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
56433 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
56434 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
56435 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
56436 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
56437 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
56438 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
56439 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
56440 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
56441 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
56442 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
56443 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
56444 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
56445 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
56446 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
56447 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
56448 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
56449 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
56450 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
56451 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
56452
56453 2013-01-10 David S. Miller <davem@davemloft.net>
56454
56455 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56456
56457 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
56458
56459 * posix/Makefile (tests-static): New variable.
56460 (tests): Add $(tests-static).
56461 (tst-exec-static-ARGS): New variable.
56462 (tst-spawn-static-ARGS): Likewise.
56463 * posix/tst-exec-static.c: New file.
56464 * posix/tst-spawn-static.c: Likewise.
56465 * posix/tst-exec.c: Support run directly.
56466 * posix/tst-spawn.c: Likewise.
56467
56468 2013-01-10 Joseph Myers <joseph@codesourcery.com>
56469
56470 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
56471 long.
56472 * math/bits/mathcalls.h (llrint): Likewise.
56473 (llround): Likewise.
56474 * stdlib/stdlib.h (struct drand48_data): Likewise.
56475 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
56476 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
56477 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
56478 Likewise.
56479 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
56480 Likewise.
56481 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
56482 (elf_greg_t): Likewise.
56483 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
56484 (__jmp_buf): Likewise.
56485 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
56486 definitions.
56487 (llrint): Likewise, for all definitions.
56488 (llrintl): Likewise.
56489
56490 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
56491 Remove [__GNUC__] condition.
56492 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
56493 condition to just [__USE_ISOC99].
56494 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
56495
56496 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
56497
56498 [BZ #14200]
56499 * sysdeps/unix/sysv/linux/x86/bits/environments.h
56500 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
56501 defined.
56502 (_POSIX_V6_ILP32_OFF32): Likewise.
56503 (_XBS5_ILP32_OFF32): Likewise.
56504 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
56505 (__ILP32_OFFBIG_LDFLAGS): Likewise.
56506
56507 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
56508
56509 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
56510
56511 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
56512 doubles __mpexp_twomm1. Adjust usage.
56513 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
56514 Remove.
56515
56516 2013-01-10 Andreas Schwab <schwab@suse.de>
56517
56518 [BZ #14964]
56519 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
56520 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
56521
56522 2013-01-09 David S. Miller <davem@davemloft.net>
56523
56524 [BZ #15003]
56525 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
56526 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
56527 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
56528 (TCP_FASTOPEN): Define.
56529 (tcp_repair_opt): New structure.
56530 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
56531 enum values.
56532 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
56533 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
56534 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
56535 (tcp_cookie_transactions): New structure.
56536
56537 2013-01-09 Anton Blanchard <anton@samba.org>
56538
56539 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
56540 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
56541 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
56542 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
56543
56544 2013-01-09 Joseph Myers <joseph@codesourcery.com>
56545
56546 * include/features.h (__USE_ANSI): Remove.
56547
56548 2013-01-09 Roland McGrath <roland@hack.frob.com>
56549
56550 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
56551
56552 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
56553
56554 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
56555
56556 * sysdeps/s390/fpu/libm-test-ulps: Update.
56557
56558 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56559
56560 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
56561 (__acr): Likewise.
56562 (__cpy): Likewise.
56563 (norm): Likewise.
56564 (denorm): Likewise.
56565 (__mp_dbl): Likewise.
56566 (__dbl_mp): Likewise.
56567 (add_magnitudes): Likewise.
56568 (sub_magnitudes): Likewise.
56569 (__add): Likewise.
56570 (__sub): Likewise.
56571 (__mul): Likewise.
56572 (__inv): Likewise.
56573 (__dvd): Likewise.
56574 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
56575 (__acr): Likewise.
56576 (__cpy): Likewise.
56577 (norm): Likewise.
56578 (denorm): Likewise.
56579 (__mp_dbl): Likewise.
56580 (__dbl_mp): Likewise.
56581 (add_magnitudes): Likewise.
56582 (sub_magnitudes): Likewise.
56583 (__add): Likewise.
56584 (__sub): Likewise.
56585 (__mul): Likewise.
56586 (__inv): Likewise.
56587 (__dvd): Likewise.
56588 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
56589 (__acr): Likewise.
56590 (__cpy): Likewise.
56591 (norm): Likewise.
56592 (denorm): Likewise.
56593 (__mp_dbl): Likewise.
56594 (__dbl_mp): Likewise.
56595 (add_magnitudes): Likewise.
56596 (sub_magnitudes): Likewise.
56597 (__add): Likewise.
56598 (__sub): Likewise.
56599 (__mul): Likewise.
56600 (__inv): Likewise.
56601 (__dvd): Likewise.
56602
56603 2013-01-08 Joseph Myers <joseph@codesourcery.com>
56604
56605 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
56606 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
56607 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
56608 2 && __USE_EXTERN_INLINES]: Likewise.
56609
56610 2013-01-08 Andreas Jaeger <aj@suse.de>
56611
56612 [BZ# 14985]
56613 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
56614 Remove.
56615 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
56616 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
56617
56618 2013-01-07 Anton Blanchard <anton@samba.org>
56619
56620 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
56621 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
56622 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
56623 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
56624 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
56625 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
56626 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
56627 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
56628 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
56629 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
56630 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
56631 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
56632 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
56633 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
56634 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
56635 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
56636 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
56637 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
56638 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
56639 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
56640 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
56641 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
56642 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
56643 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
56644 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
56645 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
56646 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
56647 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
56648 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
56649 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
56650 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
56651 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
56652 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
56653 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
56654 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
56655 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
56656 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
56657 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
56658 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
56659 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
56660 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
56661 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
56662 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
56663
56664 2013-01-07 Joseph Myers <joseph@codesourcery.com>
56665
56666 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
56667 (__MALLOC_PMT): Likewise.
56668 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
56669 [__GNUC__], only on [_LIBC].
56670 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
56671 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
56672 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
56673 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
56674 forward declaration.
56675 (realloc_hook_ini): Likewise.
56676 (memalign_hook_ini): Likewise.
56677 (__libc_memalign): Do not use __MALLOC_PMT in variable
56678 declaration.
56679 (__libc_valloc): Likewise.
56680 (__libc_pvalloc): Likewise.
56681 (__libc_calloc): Likewise.
56682 (__posix_memalign): Likewise.
56683
56684 [BZ #14996]
56685 * math/s_casinh.c: Include <float.h>.
56686 (__casinh): Do not do computation with squaring and square root
56687 for large arguments.
56688 * math/s_casinhf.c: Include <float.h>.
56689 (__casinhf): Do not do computation with squaring and square root
56690 for large arguments.
56691 * math/s_casinhl.c: Include <float.h>.
56692 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
56693 (__casinhl): Do not do computation with squaring and square root
56694 for large arguments.
56695 * math/libm-test.inc (casin_test): Add more tests.
56696 (casinh_test): Likewise.
56697 * sysdeps/i386/fpu/libm-test-ulps: Update.
56698 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56699
56700 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
56701
56702 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
56703 (__x86_64_raw_data_cache_size): Likewise.
56704 (__x86_64_data_cache_size_half): Likewise.
56705 (__x86_64_raw_data_cache_size_half): Likewise.
56706 (__x86_64_shared_cache_size): Likewise.
56707 (__x86_64_raw_shared_cache_size): Likewise.
56708 (__x86_64_shared_cache_size_half): Likewise.
56709 (__x86_64_raw_shared_cache_size_half): Likewise.
56710 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
56711 to ...
56712 (__x86_data_cache_size): This.
56713 (__x86_64_raw_data_cache_size): Renamed to ...
56714 (__x86_raw_data_cache_size): This.
56715 (__x86_64_data_cache_size_half): Renamed to ...
56716 (__x86_data_cache_size_half): This.
56717 (__x86_64_raw_data_cache_size_half): Renamed to ...
56718 (__x86_raw_data_cache_size_half): This.
56719 (__x86_64_shared_cache_size): Renamed to ...
56720 (__x86_shared_cache_size): This.
56721 (__x86_64_raw_shared_cache_size): Renamed to ...
56722 (__x86_raw_shared_cache_size): This.
56723 (__x86_64_shared_cache_size_half): Renamed to ...
56724 (__x86_shared_cache_size_half): This.
56725 (__x86_64_raw_shared_cache_size_half): Renamed to ...
56726 (__x86_raw_shared_cache_size_half): This.
56727 * sysdeps/x86_64/memcpy.S: Updated.
56728 * sysdeps/x86_64/memset.S: Likewise.
56729 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
56730 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
56731 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
56732
56733 2013-01-04 David S. Miller <davem@davemloft.net>
56734
56735 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56736
56737 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
56738
56739 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
56740 1 to avoid redefinition warning.
56741 (__USE_GNU): Don't define.
56742 (init_signaling_nan): Protoize.
56743
56744 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56745
56746 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
56747
56748 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
56749 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
56750 (__cpymn): Likewise.
56751 (norm): Remove commented code.
56752 (denorm): Likewise.
56753 (__mp_dbl): Likewise.
56754 (__inv): Likewise.
56755 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
56756 (__cpymn): Likewise.
56757 (norm): Remove commented code.
56758 (denorm): Likewise.
56759 (__mp_dbl): Likewise.
56760 (__inv): Likewise.
56761
56762 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
56763 mp_no value for 1.0 and 2.0.
56764 (norm): Use RADIXI instead of radixi.d.
56765 (denorm): Likewise.
56766 (__mul): Use 0.0 instead of zero.d.
56767 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
56768 mp_no value for 1.0 and 2.0.
56769 (norm): Use RADIXI instead of radixi.d.
56770 (denorm): Likewise.
56771 (__mul): Use 0.0 instead of zero.d.
56772
56773 2013-01-04 Joseph Myers <joseph@codesourcery.com>
56774
56775 [BZ #14994]
56776 * math/s_casinh.c (__casinh): Reduce finite argument to first
56777 quadrant then set signs of results at the end.
56778 * math/s_casinhf.c (__casinhf): Likewise.
56779 * math/s_casinhl.c (__casinhl): Likewise.
56780 * math/libm-test.inc (casin_test): Add more tests.
56781 (casinh_test): Likewise.
56782 * sysdeps/i386/fpu/libm-test-ulps: Update.
56783 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56784
56785 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
56786
56787 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
56788
56789 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
56790
56791 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
56792 declarations.
56793 (denorm): Likewise.
56794 (__mp_dbl): Likewise.
56795 (__inv): Likewise.
56796
56797 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
56798 and adjust the header comment.
56799
56800 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
56801 variable name from declaration.
56802
56803 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
56804
56805 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56806 Initialize COMMON_CPUID_INDEX_7 element.
56807 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
56808 (CPUID_RTM): Likewise.
56809 (HAS_RTM): Likewise.
56810 (COMMON_CPUID_INDEX_7): New enum.
56811
56812 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
56813
56814 [BZ #14981]
56815 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
56816 size is zero, record memory as freed.
56817
56818 2013-01-03 Andreas Jaeger <aj@suse.de>
56819
56820 * po/ia.po: Add new Interlingua translation.
56821
56822 2012-01-03 Allan McRae <allan@archlinux.org>
56823
56824 * locale/programs/localedef.c: Fix description of '--posix' flag.
56825
56826 2013-01-02 Joseph Myers <joseph@codesourcery.com>
56827
56828 * NEWS: Update dates in second copyright notice.
56829 * README: Update copyright dates in example.
56830 * manual/libc.texinfo: Update copyright dates.
56831 * scripts/test-installation.pl: Update copyright date in --version
56832 output.
56833
56834 * hurd/ctty-input.c: Fix copyright notice formatting.
56835 * hurd/ctty-output.c: Likewise.
56836 * hurd/dtable.c: Likewise.
56837 * hurd/hurd-raise.c: Likewise.
56838 * hurd/hurdprio.c: Likewise.
56839 * hurd/msgportdemux.c: Likewise.
56840 * misc/sys/file.h: Likewise.
56841 * misc/sys/ioctl.h: Likewise.
56842 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
56843 * sysdeps/mach/hurd/chdir.c: Likewise.
56844 * sysdeps/mach/hurd/fchdir.c: Likewise.
56845 * sysdeps/mach/hurd/rename.c: Likewise.
56846 * sysdeps/mach/hurd/rmdir.c: Likewise.
56847 * sysdeps/mach/hurd/seekdir.c: Likewise.
56848 * sysdeps/mach/hurd/setsid.c: Likewise.
56849 * sysdeps/posix/wait3.c: Likewise.
56850
56851 * All files with FSF copyright notices: Update copyright dates
56852 using scripts/update-copyrights.
56853 * intl/plural.c: Regenerated.
56854 * locale/programs/charmap-kw.h: Likewise.
56855 * locale/programs/locfile-kw.h: Likewise.
56856
56857 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
56858
56859 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
56860 four values.
56861
56862 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
56863 calculation loop and add branch prediction.
56864
56865 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
56866 check access beyond bounds of m1np.
56867
56868 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
56869 MPTWO.
56870 (__inv): Remove local variable MPTWO to use the global
56871 constant.
56872 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
56873 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
56874 variable MPTWO.
56875 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
56876 MP3HALFS static const.
56877
56878 2013-01-01 David S. Miller <davem@davemloft.net>
56879
56880 * po/ca.po: Update from translation team.
56881
56882 2013-01-01 Joseph Myers <joseph@codesourcery.com>
56883
56884 * scripts/update-copyrights: New file.
56885 * Makeconfig: Reformat copyright notice.
56886 * ctype/ctype.h: Likewise.
56887 * debug/swprintf_chk.c: Likewise.
56888 * elf/dl-cache.c: Likewise.
56889 * elf/dl-debug.c: Likewise.
56890 * elf/dl-object.c: Likewise.
56891 * grp/initgroups.c: Likewise.
56892 * hurd/Makefile: Likewise.
56893 * hurd/hurd/signal.h: Likewise.
56894 * hurd/hurdfault.c: Likewise.
56895 * hurd/hurdioctl.c: Likewise.
56896 * hurd/hurdlookup.c: Likewise.
56897 * hurd/intr-msg.c: Likewise.
56898 * iconv/gconv_open.c: Likewise.
56899 * libio/swprintf.c: Likewise.
56900 * locale/lc-ctype.c: Likewise.
56901 * locale/nl_langinfo.c: Likewise.
56902 * mach/Machrules: Likewise.
56903 * mach/Makefile: Likewise.
56904 * malloc/obstack.h: Likewise.
56905 * manual/Makefile: Likewise.
56906 * manual/tsort.awk: Likewise.
56907 * misc/bits/stab.def: Likewise.
56908 * nis/nis_print_group_entry.c: Likewise.
56909 * nis/nis_table.c: Likewise.
56910 * nis/nss_compat/compat-pwd.c: Likewise.
56911 * nis/nss_compat/compat-spwd.c: Likewise.
56912 * po/Makefile: Likewise.
56913 * posix/fnmatch.c: Likewise.
56914 * posix/regex.h: Likewise.
56915 * resolv/Makefile: Likewise.
56916 * resolv/nss_dns/dns-network.c: Likewise.
56917 * resolv/res_hconf.c: Likewise.
56918 * scripts/gen-sorted.awk: Likewise.
56919 * soft-fp/soft-fp.h: Likewise.
56920 * stdio-common/printf.h: Likewise.
56921 * stdlib/monetary.h: Likewise.
56922 * stdlib/random.c: Likewise.
56923 * stdlib/random_r.c: Likewise.
56924 * sysdeps/generic/Makefile: Likewise.
56925 * sysdeps/gnu/Makefile: Likewise.
56926 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
56927 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56928 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
56929 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56930 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56931 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56932 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56933 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
56934 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56935 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56936 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
56937 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
56938 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
56939 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
56940 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
56941 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
56942 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
56943 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56944 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
56945 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56946 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
56947 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
56948 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
56949 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
56950 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
56951 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
56952 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
56953 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
56954 * sysdeps/mach/hurd/errnos.awk: Likewise.
56955 * sysdeps/mach/hurd/fork.c: Likewise.
56956 * sysdeps/mach/hurd/getcwd.c: Likewise.
56957 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
56958 * sysdeps/mach/hurd/mmap.c: Likewise.
56959 * sysdeps/mach/hurd/utimes.c: Likewise.
56960 * sysdeps/mach/hurd/xmknod.c: Likewise.
56961 * sysdeps/posix/profil.c: Likewise.
56962 * sysdeps/posix/readdir_r.c: Likewise.
56963 * sysdeps/powerpc/bits/mathdef.h: Likewise.
56964 * sysdeps/powerpc/bits/setjmp.h: Likewise.
56965 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
56966 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
56967 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
56968 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
56969 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
56970 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
56971 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
56972 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
56973 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
56974 * sysdeps/pthread/lio_listio.c: Likewise.
56975 * sysdeps/sparc/dl-procinfo.h: Likewise.
56976 * sysdeps/unix/i386/sysdep.S: Likewise.
56977 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
56978 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
56979 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
56980 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
56981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
56982 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
56983 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
56984 * sysdeps/unix/sysv/linux/speed.c: Likewise.
56985 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
56986 * sysdeps/wordsize-32/divdi3.c: Likewise.
56987 * time/sys/time.h: Likewise.
56988 * wcsmbs/Makefile: Likewise.
56989
56990 2013-01-01 David S. Miller <davem@davemloft.net>
56991
56992 * po/fr.po: Update from translation team.
56993
56994 * catgets/gencat.c: Update copyright year.
56995 * csu/version.c: Likewise.
56996 * debug/catchsegv.sh: Likewise.
56997 * debug/pcprofiledump.c: Likewise.
56998 * debug/xtrace.sh: Likewise.
56999 * elf/ldconfig.c: Likewise.
57000 * elf/ldd.bash.in: Likewise.
57001 * elf/pldd.c: Likewise.
57002 * elf/sotruss.ksh: Likewise.
57003 * elf/sprof.c: Likewise.
57004 * iconv/iconv_prog.c: Likewise.
57005 * iconv/iconvconfig.c: Likewise.
57006 * locale/programs/locale.c: Likewise.
57007 * locale/programs/localedef.c: Likewise.
57008 * login/programs/pt_chown.c: Likewise.
57009 * malloc/memusage.sh: Likewise.
57010 * malloc/memusagestat.c: Likewise.
57011 * malloc/mtrace.pl: Likewise.
57012 * nscd/nscd.c: Likewise.
57013 * nss/getent.c: Likewise.
57014 * nss/makedb.c: Likewise.
57015 * posix/getconf.c: Likewise.
57016
57017 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
57018
57019 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
57020 numbers.
57021
57022 2012-12-30 Mike Frysinger <vapier@gentoo.org>
57023
57024 * math/bits/mathcalls.h (modf): Use __nonnull.
57025
57026 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
57027
57028 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
57029 (split): Use macro CN instead of the bare value.
57030 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
57031 could be used.
57032 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
57033 instead of the bare value.
57034 (power1): Likewise.
57035
57036 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
57037
57038 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
57039 __ATAN_TWOM.
57040 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
57041
57042 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
57043 their values.
57044 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
57045 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
57046 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
57047 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
57048
57049 2012-12-28 Andreas Jaeger <aj@suse.de>
57050
57051 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
57052 values are from Linux 3.7.
57053
57054 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
57055 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
57056
57057 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
57058
57059 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
57060 TRUE case.
57061
57062 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
57063 (norm): Likewise.
57064 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
57065 variables with preprocessor constants.
57066 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
57067 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
57068 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
57069
57070 2012-12-27 Bruno Haible <bruno@clisp.org>
57071
57072 [BZ #14317]
57073 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
57074 only if needed.
57075
57076 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
57077
57078 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
57079 and use variable directly.
57080 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
57081
57082 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
57083 MPONE.
57084 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
57085 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
57086 variable MPONE.
57087 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
57088 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
57089 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
57090 include directive. Remove local variable MPONE.
57091 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
57092 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
57093 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
57094
57095 2012-12-25 David S. Miller <davem@davemloft.net>
57096
57097 * version.h (RELEASE): Set to "development".
57098 (VERSION): Set to "2.17.90".
57099 * NEWS: Add 2.18 section.
57100
57101 2012-12-21 David S. Miller <davem@davemloft.net>
57102
57103 * po/hr.po: Update from translation team.
57104
57105 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57106
57107 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
57108
57109 2012-12-19 Steve Ellcey <sellcey@mips.com>
57110
57111 * NEWS: Mention new memcpy for MIPS.
57112
57113 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
57114
57115 * manual/contrib.texi (Contributors): Spelling correction.
57116
57117 2012-12-15 David S. Miller <davem@davemloft.net>
57118
57119 * po/ru.po: Update from translation team.
57120
57121 2012-12-13 David S. Miller <davem@davemloft.net>
57122
57123 * NEWS: Mention IFUNC testsuite enhancements.
57124
57125 * po/pl.po: Update from translation team.
57126 * po/bg.po: Likewise.
57127
57128 * manual/contrib.texi (Contributors): Update entries for Hongjiu
57129 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
57130
57131 2012-12-11 David S. Miller <davem@davemloft.net>
57132
57133 * po/sv.po: Update from translation team.
57134
57135 * po/vi.po: Update from translation team.
57136
57137 * po/cs.po: Update from translation team.
57138
57139 * po/de.po: Update from translation team.
57140 * po/eo.po: Likewise.
57141 * po/nl.po: Likewise.
57142
57143 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
57144
57145 [BZ #14246]
57146 * manual/argp.texi (Argp Helper Functions): Move node to follow
57147 Argp Parsing State.
57148
57149 [BZ #14872]
57150 * manual/conf.texi (Limits on File System Capacity): Mention if
57151 terminating null is included in the max size.
57152
57153 2012-12-10 Andreas Jaeger <aj@suse.de>
57154
57155 * po/cs.po: Update from translation team.
57156
57157 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
57158
57159 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
57160 void pointer and cast to uintptr_t.
57161 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
57162 path.
57163 * sysdeps/s390/s390-64/memcpy.S: Likewise.
57164 * sysdeps/s390/s390-64/memset.S: Likewise.
57165
57166 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
57167
57168 [BZ #14833]
57169 * menual/message.texi (Message Translation): Fix typos.
57170 (Helper programs for gettext): Likewise.
57171
57172 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
57173
57174 [BZ #14898]
57175 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
57176 Change to -1.
57177
57178 2012-12-07 David S. Miller <davem@davemloft.net>
57179
57180 * po/libc.pot: Update.
57181
57182 2012-12-07 Richard Henderson <rth@redhat.com>
57183
57184 [BZ #10114]
57185 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
57186 normal/normal case to before the switch.
57187 (_FP_DIV): Likewise.
57188
57189 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
57190 Mike Frysinger <vapier@gentoo.org>
57191
57192 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
57193 check for __NR_fadvise64_64.
57194
57195 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
57196
57197 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
57198 0, not just to plain "0" as a statement.
57199 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
57200 with cw.
57201
57202 2012-12-06 Joseph Myers <joseph@codesourcery.com>
57203
57204 * NEWS: Use sourceware.org in Bugzilla URL.
57205
57206 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
57207
57208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
57209 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
57210
57211 * stdio-common/tst-put-error.c (do_test): Add newline to the
57212 padded test to ensure flush.
57213
57214 2012-12-05 Jeff Law <law@redhat.com>
57215
57216 * sunrpc/etc.rpc (fedfs_admin): Add entry.
57217
57218 2012-12-05 Joseph Myers <joseph@codesourcery.com>
57219
57220 * README: Don't refer to ports add-on as distributed separately.
57221 Mention AArch64 in list of systems supported in the ports add-on.
57222
57223 * LICENSES: Add more non-FSF copyright and license notices.
57224
57225 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
57226 ((unused)).
57227
57228 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
57229
57230 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
57231 10000 as width of padded output.
57232
57233 2012-12-04 Joseph Myers <joseph@codesourcery.com>
57234
57235 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
57236
57237 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
57238 variable LX with __attribute__ ((unused)).
57239 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
57240 Likewise.
57241 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
57242 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
57243 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
57244 with __attribute__ ((unused)).
57245
57246 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
57247
57248 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
57249
57250 2012-12-04 Joseph Myers <joseph@codesourcery.com>
57251
57252 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
57253 (CFLAGS-nldbl-acos.c): New variable.
57254 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
57255 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
57256 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
57257 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
57258 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
57259 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
57260 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
57261 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
57262 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
57263 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
57264 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
57265 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
57266 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
57267 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
57268 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
57269 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
57270 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
57271 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
57272 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
57273 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
57274 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
57275 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
57276 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
57277 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
57278 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
57279 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
57280 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
57281 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
57282 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
57283 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
57284 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
57285 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
57286 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
57287 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
57288 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
57289 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
57290 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
57291 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
57292 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
57293 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
57294 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
57295 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
57296 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
57297 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
57298 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
57299 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
57300 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
57301 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
57302 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
57303 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
57304 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
57305 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
57306 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
57307 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
57308 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
57309 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
57310 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
57311 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
57312 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
57313 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
57314 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
57315 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
57316 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
57317 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
57318 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
57319 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
57320 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
57321 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
57322 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
57323 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
57324 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
57325 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
57326 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
57327 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
57328 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
57329 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
57330 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
57331 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
57332 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
57333 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
57334 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
57335 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
57336 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
57337 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
57338 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
57339 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
57340 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
57341 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
57342 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
57343 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
57344 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
57345 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
57346 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
57347 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
57348 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
57349 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
57350 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
57351
57352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
57353 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
57354
57355 [BZ #14914]
57356 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
57357 whole low double instead of just low 47 bits when splitting values
57358 into two parts.
57359
57360 2012-12-03 Allan McRae <allan@archlinux.org>
57361
57362 * manual/stdio.texi (Predefined Printf Handlers): Remove
57363 @hsep and @vsep usage.
57364
57365 2012-12-03 Mike Frysinger <vapier@gentoo.org>
57366
57367 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
57368 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
57369
57370 2012-12-03 Jeff Law <law@redhat.com>
57371
57372 * time/sys/time.h (settimeofday): Do not mark TV argument
57373 as __nonnull.
57374
57375 2012-12-01 Mike Frysinger <vapier@gentoo.org>
57376
57377 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
57378 when currently writing and seek to current position when not.
57379 * libio/Makefile (tests): Remove bug-fclose1.
57380 * libio/bug-fclose1.c: Delete.
57381
57382 2012-12-01 Joseph Myers <joseph@codesourcery.com>
57383
57384 * manual/arith.texi (feenableexcept): Fix typo.
57385 (fedisableexcept): Likewise.
57386
57387 2012-11-30 Roland McGrath <roland@hack.frob.com>
57388
57389 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
57390 second, differently-typed declaration, rather than a cast.
57391
57392 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
57393
57394 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
57395 * include/rpc/svc.h: ... here.
57396
57397 2012-11-30 Aurelien Jarno <aurel32@debian.org>
57398
57399 [BZ #13013]
57400 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
57401 depending n and resplen2 to catch cases where answer
57402 equals answerp2.
57403
57404 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
57405
57406 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
57407 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
57408
57409 2012-11-29 Mike Frysinger <vapier@gentoo.org>
57410
57411 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
57412
57413 2012-11-29 Roland McGrath <roland@hack.frob.com>
57414
57415 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
57416
57417 2012-11-28 Jeff Law <law@redhat.com>
57418
57419 [BZ #13761]
57420 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
57421 dataset_temporary. Track alloca usage into alloca_used.
57422 If dataset is large allocate and release it via malloc/free.
57423
57424 2012-06-04 Florian Weimer <fweimer@redhat.com>
57425
57426 [BZ #14197]
57427 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
57428
57429 2012-11-28 David S. Miller <davem@davemloft.net>
57430
57431 * sysdeps/sparc/fpu/libm-test-ulps: Update.
57432
57433 2012-11-28 Joseph Myers <joseph@codesourcery.com>
57434
57435 [BZ #14803]
57436 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
57437 of pi/2 rounded to nearest to 64 bits.
57438 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
57439 nearest to 64 bits.
57440 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
57441 bits.
57442
57443 2012-11-28 Jeff Law <law@redhat.com>
57444 Martin Osvald <mosvald@redhat.com>
57445
57446 [BZ #14889]
57447 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
57448 * sunrpc/svc.c: Include time.h.
57449 (__svc_accept_failed): New function.
57450 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
57451 any reason other than EINTR, call __svc_accept_failed.
57452 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
57453 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
57454
57455 2012-11-28 Andreas Schwab <schwab@suse.de>
57456
57457 * scripts/abilist.awk: Also handle indirect functions in .opd
57458 section.
57459
57460 2012-11-28 Joseph Myers <joseph@codesourcery.com>
57461
57462 [BZ #13881]
57463 * sysdeps/x86/fpu/powl_helper.c: New file.
57464 * sysdeps/x86/fpu/Makefile: Likewise.
57465 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
57466 (p3): New object.
57467 (__ieee754_powl): Use __powl_helper for finite arguments except
57468 integer exponents below 8.
57469 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
57470 (p3): New object.
57471 (__ieee754_powl): Use __powl_helper for finite arguments except
57472 integer exponents below 8.
57473 * math/libm-test.inc (pow_test): Add more tests and enable some
57474 previously disabled tests.
57475 * sysdeps/i386/fpu/libm-test-ulps: Update.
57476 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57477
57478 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
57479 Carlos O'Donell <carlos_odonell@mentor.com>
57480
57481 * nss/makedb.c (is_prime): Assert that input is odd and greater
57482 than 4. Note that fact in a comment too.
57483 (next_prime): Add 4 to input.
57484
57485 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
57486
57487 [BZ #11741]
57488 * libio/Makefile (tests): Add test case tst-fwrite-error.
57489 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
57490 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
57491 * libio/tst-fwrite-error.c: New test case.
57492
57493 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
57494
57495 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
57496 before casting to void *.
57497 * include/libc-internal.h (__pointer_type): New macro.
57498 (__integer_if_pointer_type_sub): Likewise.
57499 (__integer_if_pointer_type): Likewise.
57500 (cast_to_integer): Likewise.
57501 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
57502 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
57503 before casting to atomic64_t.
57504 (atomic_exchange_acq): Likewise.
57505 (__arch_exchange_and_add_body): Likewise.
57506 (__arch_add_body): Likewise.
57507 (atomic_add_negative): Likewise.
57508 (atomic_add_zero): Likewise.
57509
57510 2012-11-26 Joseph Myers <joseph@codesourcery.com>
57511
57512 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
57513 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
57514 (add_fdes): Likewise.
57515 (linear_search_fdes): Likewise.
57516 (binary_search_unencoded_fdes): Likewise.
57517
57518 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
57519
57520 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
57521
57522 2012-11-24 Adam Conrad <adconrad@0c3.net>
57523
57524 * configure.in: Autodetect C++ header directories.
57525 * configure: Regenerated.
57526
57527 2012-11-23 Mike Frysinger <vapier@gentoo.org>
57528
57529 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
57530
57531 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
57532
57533 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57534
57535 2012-11-22 Joseph Myers <joseph@codesourcery.com>
57536
57537 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
57538 LDBL_MANT_DIG == 106]: Disable some tests.
57539 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
57540 Likewise.
57541 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
57542 Likewise.
57543
57544 [BZ #14871]
57545 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
57546 input for small inputs. Return +/- pi/2 for large inputs.
57547 * math/libm-test.inc (atan_test): Add more tests.
57548
57549 * sysdeps/generic/unwind-dw2-fde-glibc.c
57550 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
57551 __attribute__ ((unused)).
57552
57553 [BZ #14645]
57554 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
57555 x * y if x and y are nonzero and z is zero.
57556
57557 [BZ #14811]
57558 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
57559 nonzero exponents with absolute value below 0x1p-117 to +/-
57560 0x1p-117.
57561
57562 [BZ #14869]
57563 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
57564 up arguments below 2**-450, not just those below 2**-500.
57565 * math/libm-test.inc (hypot_test): Add another test.
57566
57567 [BZ #14868]
57568 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
57569 Return a+b for ratio over 2**120, not 2**60.
57570 * math/libm-test.inc (hypot_test): Add another test.
57571
57572 * math/libm-test.inc (clog_test): Use
57573 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
57574 (clog10_test): Likewise.
57575
57576 [BZ #6778]
57577 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
57578
57579 2012-11-22 Andreas Schwab <schwab@suse.de>
57580
57581 * sysdeps/i386/fpu/libm-test-ulps: Update.
57582
57583 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
57584
57585 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
57586 printf output with newline.
57587
57588 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
57589
57590 [BZ #14865]
57591 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
57592 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
57593 -z nodlopen, -z initfirst and -z execstack support.
57594 * configure: Regenerated.
57595
57596 * elf/elf.h (DF_1_NODIRECT): New macro.
57597 (DF_1_IGNMULDEF): Likewise.
57598 (DF_1_NOKSYMS): Likewise.
57599 (DF_1_NOHDR): Likewise.
57600 (DF_1_EDITED): Likewise.
57601 (DF_1_NORELOC): Likewise.
57602 (DF_1_SYMINTPOSE): Likewise.
57603 (DF_1_GLOBAUDIT): Likewise.
57604 (DF_1_SINGLETON): Likewise.
57605 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
57606 DT_1_SUPPORTED_MASK bits.
57607 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
57608
57609 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
57610
57611 * sysdeps/unix/make-syscalls.sh: Document prefixes.
57612
57613 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
57614
57615 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
57616 macro.
57617
57618 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
57619 (sendmmsg): Move declarations...
57620 * socket/sys/socket.h: ... here.
57621 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
57622 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
57623 include it from...
57624 * socket/recvmmsg.c: ... this new file.
57625 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
57626 (sendmmsg): Rename to __sendmmsg, create weak alias and make
57627 definition of __sendmmsg hidden.
57628 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
57629 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
57630 Move ENOSYS stub into and include it from...
57631 * socket/sendmmsg.c: ... this new file.
57632 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
57633 (sysdep_routines): Move recvmmsg and sendmmsg...
57634 * socket/Makefile (routines): ... here.
57635 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
57636 (GLIBC_PRIVATE): Add __sendmmsg.
57637 * include/sys/socket.h (__sendmmsg): Add declarations.
57638 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
57639 sendmmsg.
57640
57641 2012-11-20 Joseph Myers <joseph@codesourcery.com>
57642
57643 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
57644 variable I1 with __attribute__ ((unused)).
57645 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
57646
57647 2012-11-19 Joseph Myers <joseph@codesourcery.com>
57648
57649 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
57650 DUMMY variables with __attribute__ ((unused)).
57651
57652 * bits/byteswap.h: Include <bits/types.h>.
57653 (__bswap_64): Use __uint64_t instead of unsigned long long int.
57654
57655 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
57656
57657 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
57658 string_t. Do not manually set errno.
57659 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
57660 length with __strnlen. Make sure to both set errno and return it on
57661 failure.
57662
57663 2012-11-19 David S. Miller <davem@davemloft.net>
57664
57665 With help from Joseph Myers.
57666 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
57667 very large arguments properly.
57668 * math/libm-test.inc (atan_test): New tests.
57669 (atan2_test): New tests.
57670 * sysdeps/sparc/fpu/libm-test-ulps: Update.
57671 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57672
57673 2012-11-19 Joseph Myers <joseph@codesourcery.com>
57674
57675 [BZ #14856]
57676 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
57677 Define to 3.
57678
57679 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
57680 [POSIX] (EADDRNOTAVAIL): Likewise.
57681 [POSIX] (EAFNOSUPPORT): Likewise.
57682 [POSIX] (EALREADY): Likewise.
57683 [POSIX] (ECONNABORTED): Likewise.
57684 [POSIX] (ECONNREFUSED): Likewise.
57685 [POSIX] (ECONNRESET): Likewise.
57686 [POSIX] (EDESTADDRREQ): Likewise.
57687 [POSIX] (EDQUOT): Likewise.
57688 [POSIX] (EHOSTUNREACH): Likewise.
57689 [POSIX] (EIDRM): Likewise.
57690 [POSIX] (EISCONN): Likewise.
57691 [POSIX] (ELOOP): Likewise.
57692 [POSIX] (EMULTIHOP): Likewise.
57693 [POSIX] (ENETDOWN): Likewise.
57694 [POSIX] (ENETUNREACH): Likewise.
57695 [POSIX] (ENOBUFS): Likewise.
57696 [POSIX] (ENODATA): Likewise.
57697 [POSIX] (ENOLINK): Likewise.
57698 [POSIX] (ENOMSG): Likewise.
57699 [POSIX] (ENOPROTOOPT): Likewise.
57700 [POSIX] (ENOSR): Likewise.
57701 [POSIX] (ENOSTR): Likewise.
57702 [POSIX] (ENOTCONN): Likewise.
57703 [POSIX] (ENOTSOCK): Likewise.
57704 [POSIX] (EOPNOTSUPP): Likewise.
57705 [POSIX] (EOVERFLOW): Likewise.
57706 [POSIX] (EPROTO): Likewise.
57707 [POSIX] (EPROTONOSUPPORT): Likewise.
57708 [POSIX] (EPROTOTYPE): Likewise.
57709 [POSIX] (ESTALE): Likewise.
57710 [POSIX] (ETIME): Likewise.
57711 [POSIX] (ETXTBSY): Likewise.
57712 [POSIX] (EWOULDBLOCK): Likewise.
57713 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
57714 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
57715 [POSIX] (SEEK_CUR): Likewise.
57716 [POSIX] (SEEK_END): Likewise.
57717 [POSIX || UNIX98] (mode_t): Do not require.
57718 [POSIX] (off_t): Likewise.
57719 [POSIX] (pid_t): Likewise.
57720 [POSIX] (sys/stat.h): Do not allow header.
57721 [POSIX] (unistd.h): Likewise.
57722 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
57723 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
57724 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
57725 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
57726 require.
57727 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
57728 sigevent): Specify elements.
57729 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
57730 entry.
57731 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
57732 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
57733
57734 * conform/data/cpio.h-data [POSIX]: Disable whole file.
57735 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
57736 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
57737 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
57738 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
57739 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
57740 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
57741 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
57742 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
57743 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
57744 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
57745 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
57746 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
57747 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
57748 Likewise.
57749 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
57750 Likewise.
57751 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
57752 Likewise.
57753 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
57754 Likewise.
57755 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
57756 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
57757 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
57758 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
57759 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
57760 Specify lower bound on value.
57761 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
57762 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
57763 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
57764 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
57765 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
57766 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
57767 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
57768 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
57769 value.
57770 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
57771 as optional.
57772 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
57773 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
57774 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
57775 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
57776 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
57777 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
57778 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
57779 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
57780 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
57781 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
57782 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
57783 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
57784 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
57785 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
57786 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
57787 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
57788 entry.
57789 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
57790 optional.
57791 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
57792 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
57793 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
57794 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
57795 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
57796 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
57797 Likewise.
57798 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
57799 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
57800 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
57801 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
57802 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
57803 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
57804 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
57805 as optional.
57806 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
57807 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
57808 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
57809 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
57810 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
57811 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
57812 specify as optional.
57813 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
57814 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
57815 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
57816 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
57817 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
57818 [XPG3] (NL_LANGMAX): Likewise.
57819 [POSIX || XPG3] (NL_MSGMAX): Likewise.
57820 [POSIX || XPG3] (NL_NMAX): Likewise.
57821 [POSIX || XPG3] (NL_SETMAX): Likewise.
57822 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
57823 [XPG3] (NZERO): Likewise.
57824 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
57825 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
57826 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
57827 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
57828 (REG_ERANGE): Expect.
57829 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
57830 optional-constant.
57831 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
57832 Use (void) in prototype.
57833 [POSIX] (*_t): Allow.
57834 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
57835 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
57836 (WRDE_BADVAL): Expect.
57837
57838 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
57839 expect.
57840 [XPG3 || XPG4] (O_RSYNC): Likewise.
57841 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
57842 Likewise.
57843 [XPG3 || XPG4] (pthread_sigmask): Likewise.
57844 [XPG3 || XPG4] (sigqueue): Likewise.
57845 [XPG3 || XPG4] (sigtimedwait): Likewise.
57846 [XPG3 || XPG4] (sigwaitinfo): Likewise.
57847 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
57848 [XPG3 || XPG4] (vsnprintf): Likewise.
57849 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
57850 Likewise.
57851 [XPG3 || XPG4] (blksize_t): Likewise.
57852 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
57853 Likewise.
57854 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
57855 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
57856 [XPG3 || XPG4] (struct itimerspec): Likewise.
57857 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
57858 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
57859 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
57860 [XPG3 || XPG4] (clockid_t): Likewise.
57861 [XPG3 || XPG4] (timer_t): Likewise.
57862 [XPG3 || XPG4] (clock_getres): Likewise.
57863 [XPG3 || XPG4] (clock_gettime): Likewise.
57864 [XPG3 || XPG4] (clock_settime): Likewise.
57865 [XPG3 || XPG4] (nanosleep): Likewise.
57866 [XPG3 || XPG4] (timer_create): Likewise.
57867 [XPG3 || XPG4] (timer_delete): Likewise.
57868 [XPG3 || XPG4] (timer_gettime): Likewise.
57869 [XPG3 || XPG4] (timer_getoverrun): Likewise.
57870 [XPG3 || XPG4] (timer_settime): Likewise.
57871 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
57872 [XPG3 || XPG4] (getlogin_r): Likewise.
57873 [XPG3 || XPG4] (pread): Likewise.
57874 [XPG3 || XPG4] (pthread_atfork): Likewise.
57875 [XPG3 || XPG4] (pwrite): Likewise.
57876
57877 [BZ #14835]
57878 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
57879 <bits/siginfo.h>.
57880
57881 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
57882
57883 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
57884 finalizing MALLSTREAM.
57885
57886 * sysdeps/mach/hurd/syncfs.c: New file.
57887
57888 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
57889
57890 [BZ #14719]
57891 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
57892 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
57893 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
57894 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
57895 (_nss_dns_gethostbyname4_r): Likewise.
57896 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
57897 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
57898
57899 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
57900
57901 [BZ #13763]
57902 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
57903
57904 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
57905
57906 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
57907 * elf/cache.c (print_entry): Print ",AArch64" for
57908 FLAG_AARCH64_LIB64
57909
57910 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
57911 * elf/cache.c (print_entry): Print ",hard-float" for
57912 FLAG_ARM_LIBHF.
57913
57914 2012-11-18 David S. Miller <davem@davemloft.net>
57915
57916 With help from Joseph Myers.
57917 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
57918 cutoff to 2**-13.
57919 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
57920 cutoff to 2**-25.
57921 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
57922 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
57923 small.
57924 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
57925 * math/libm-test.inc (y0_test): New tests.
57926 (y1_test): New tests.
57927 * sysdeps/i386/fpu/libm-test-ulps: Update.
57928 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57929 * sysdeps/sparc/fpu/libm-test-ulps: Update.
57930
57931 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
57932
57933 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
57934 64-bit targets.
57935 * configure: Regenerated.
57936
57937 2012-11-17 David S. Miller <davem@davemloft.net>
57938
57939 [BZ #14811]
57940 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
57941 nonzero exponents with absolute value below 0x1p-128 to +/-
57942 0x1p-128.
57943
57944 2012-11-17 Joseph Myers <joseph@codesourcery.com>
57945
57946 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
57947
57948 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
57949
57950 * posix/getconf-speclist.c: New file.
57951 * posix/posix-envs.def: Likewise.
57952 * posix/confstr.c (START_ENV_GROUP): New macro.
57953 (END_ENV_GROUP): Likewise.
57954 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
57955 (KNOWN_PRESENT_ENV_STRING): Likewise.
57956 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
57957 (UNKNOWN_ENVIRONMENT): Likewise.
57958 (confstr): Include posix-envs.def instead of handling
57959 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
57960 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
57961 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
57962 (END_ENV_GROUP): Likewise.
57963 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
57964 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
57965 (UNKNOWN_ENVIRONMENT): Likewise.
57966 (__sysconf): Include posix-envs.def instead of handling associated
57967 cases directly here.
57968 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
57969 preprocessing getconf-speclist.c rather than running getconf or
57970 generating empty file.
57971
57972 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
57973
57974 * scripts/check-local-headers.sh: Ignore 'mach' headers.
57975
57976 2012-11-16 Andrej Lajovic <natrij@gmail.com>
57977
57978 [BZ #14672]
57979 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
57980
57981 2012-11-16 David S. Miller <davem@davemloft.net>
57982
57983 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
57984 smaller than LDBL_EPSILON/2.0L, just return xm1.
57985
57986 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
57987
57988 * elf/tst-array1.c (init): Set constructor priority to 1000.
57989 (fini): Set destructor priority to 1000.
57990 * elf/tst-array2dep.c: Likewise.
57991
57992 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
57993
57994 [BZ #11741]
57995 * libio/fileops.c (_IO_new_file_write): Correctly return error.
57996 (_IO_new_file_xsputn): Also return EOF if none of the input
57997 data was written when overflow failed.
57998 * libio/iopadn.c (_IO_padn): Likewise.
57999 * libio/iowpadn.c (_IO_wpadn): Likewise.
58000 * stdio-common/tst-put-error.c: Add copyright notice.
58001 (do_test): Add case for printing padded string.
58002 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
58003 _IO_padn returned error.
58004 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
58005 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
58006 return EOF.
58007
58008 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
58009
58010 * libio/libioP.h: Add comment note that the references to C++
58011 bits are now obsolete.
58012
58013 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
58014
58015 * math/libm-test.inc (check_complex): Use asprintf.
58016
58017 2012-11-14 Joseph Myers <joseph@codesourcery.com>
58018
58019 * debug/pcprofiledump.c (print_version): Update copyright year.
58020 * malloc/memusagestat.c (print_version): Likewise.
58021
58022 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
58023
58024 [BZ #14831]
58025 * elf/Makefile (tests): Add tst-audit8.
58026 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
58027 ($(objpfx)tst-audit8.out): New target.
58028 (tst-audit8-ENV): New variable.
58029 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
58030 audit if l_reloc_result is NULL.
58031 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
58032 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
58033 * elf/tst-audit8.c: New file.
58034
58035 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
58036
58037 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
58038 * misc/Makefile (CFLAGS-select.c): Define.
58039 * posix/Makefile (CFLAGS-pause.c): Define.
58040
58041 2012-11-13 David S. Miller <davem@davemloft.net>
58042
58043 * crypt/Makefile: Move test targets after toplevel Rules
58044 inclusion. Grab any necessary sysdep routines when linking.
58045 * crypt/md5.c (md5_process_block): Remove define, we will always
58046 name it __md5_process_block.
58047 (md5_finish_ctx): Update md5_process_block call.
58048 (md5_stream): Likewise.
58049 (md5_process_bytes): Likewise.
58050 (md5_process_block): Rename to __md5_process_block and move to ...
58051 * crypt/md5-block.c: ... here.
58052 * crypt/sha256.c (sha256_process_block): Move to ...
58053 * crypt/sha256-block.c: ... here.
58054 * crypt/sha512.c (sha512_process_block): Move to ...
58055 * crypt/sha512-block.c: ... here.
58056 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
58057 path.
58058 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
58059 * sysdeps/sparc/sparc64/multiarch/Makefile
58060 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
58061 crypt subdir.
58062 (localedef-aux): Add md5 crypto assembler when in locale subdir.
58063 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
58064 multiarch changes.
58065 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
58066 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
58067 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
58068 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
58069 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
58070 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
58071 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
58072 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
58073 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
58074 file.
58075 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
58076 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
58077 file.
58078 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
58079
58080 2012-11-13 Joseph Myers <joseph@codesourcery.com>
58081
58082 * timezone/tzselect.ksh: Update from tzcode git revision
58083 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
58084 * timezone/zdump.c: Likewise.
58085 * timezone/zic.c: Likewise.
58086 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
58087 in TZVERSION setting, not $(PKGVERSION).
58088 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
58089 REPORT_BUGS_TO settings.
58090
58091 [BZ #14838]
58092 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
58093 macro.
58094
58095 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
58096
58097 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
58098 detection to immediately after _FP_ROUND().
58099 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
58100 bits are 0.
58101
58102 2012-11-11 David S. Miller <davem@davemloft.net>
58103
58104 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
58105 inttypes.h
58106 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
58107 __close rather than their public counterparts.
58108
58109 2012-11-10 Joseph Myers <joseph@codesourcery.com>
58110
58111 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
58112 file.
58113 [UNIX98] (sem_timedwait): Do not expect.
58114 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
58115 [XPG4 || UNIX98] (sockatmark): Do not expect.
58116 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
58117 (clock_getcpuclockid): Do not expect.
58118 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
58119 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
58120 Do not expect.
58121 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
58122 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
58123 [UNIX98] (vwscanf): Likewise.
58124 [UNIX98] (vswscanf): Likewise.
58125
58126 2012-11-09 Joseph Myers <joseph@codesourcery.com>
58127
58128 * timezone/version.h: Remove file.
58129 * timezone/README: Do not refer to version.h.
58130 * timezone/Makefile ($(objpfx)zic.o): New dependency on
58131 $(objpfx)version.h.
58132 ($(objpfx)zdump.o): Likewise.
58133 ($(objpfx)version.h): New target.
58134
58135 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
58136 2012i.
58137 * timezone/README: Don't mention modification to tzselect.ksh.
58138 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
58139 work on unmodified tzselect.ksh. Substitute version numbers in
58140 tzselect.ksh.
58141
58142 * Makefile (format-me): Remove.
58143 (INSTALL): Adjust indentation. Use commands directly instead of
58144 using $(format-me).
58145
58146 * aclocal.m4 (ACX_PKGVERSION): New macro.
58147 (ACX_BUGURL): Likewise.
58148 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
58149 (PKGVERSION): New AC_DEFINE_UNQUOTED.
58150 (REPORT_BUGS_TO): Likewise.
58151 * configure: Regenerated.
58152 * config.h.in (PKGVERSION): New macro.
58153 (REPORT_BUGS_TO): Likewise.
58154 * config.make.in (PKGVERSION): New variable.
58155 (PKGVERSION_TEXI): Likewise.
58156 (REPORT_BUGS_TO): Likewise.
58157 (REPORT_BUGS_TEXI): Likewise.
58158 * Makefile (format-me): Use -I$(common-objpfx)manual.
58159 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
58160 ($(common-objpfx)manual/%): New target.
58161 (manual/%): Remove target.
58162 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
58163 (print_version): Use PKGVERSION.
58164 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
58165 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
58166 and REPORT_BUGS_TO.
58167 ($(objpfx)xtrace): Likewise.
58168 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
58169 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
58170 (print_version): Use PKGVERSION.
58171 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
58172 (do_version): Use PKGVERSION.
58173 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
58174 REPORT_BUGS_TO.
58175 (common-ldd-rewrite): Likewise.
58176 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
58177 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
58178 (print_version): Use PKGVERSION.
58179 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
58180 * elf/pldd.c (argp_program_bug_address): Remove variable.
58181 (more_help): New function.
58182 (argp): Use more_help.
58183 (print_version): Use PKGVERSION.
58184 * elf/sln.c (main): Use PKGVERSION.
58185 (usage): Use REPORT_BUGS_TO.
58186 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
58187 (top level): Use PKGVERSION.
58188 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
58189 (print_version): Use PKGVERSION.
58190 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
58191 (print_version): Use PKGVERSION.
58192 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
58193 (print_version): Use PKGVERSION.
58194 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
58195 (print_version): Use PKGVERSION.
58196 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
58197 (print_version): Use PKGVERSION.
58198 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
58199 (print_version): Use PKGVERSION.
58200 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
58201 and BUGURL.
58202 ($(objpfx)memusage): Likewise.
58203 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
58204 (do_version): Use PKGVERSION.
58205 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
58206 (print_version): Use PKGVERSION.
58207 * malloc/mtrace.pl ($PACKAGE): Remove variable.
58208 ($PKGVERSION): New variable.
58209 ($REPORT_BUGS_TO): Likewise.
58210 (usage): Use $REPORT_BUGS_TO.
58211 (top level): Use $PKGVERSION.
58212 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
58213 ($(objpfx)pkgvers.texi): New rule.
58214 ($(objpfx)stamp-pkgvers): Likewise.
58215 * manual/install.texi: Include pkgvers.texi.
58216 (--with-pkgversion): Document new configure option.
58217 (--with-bugurl): Likewise.
58218 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
58219 than necessarily for this particular distribution. Use
58220 REPORT_BUGS_TO for where to report bugs.
58221 * INSTALL: Regenerated.
58222 * manual/libc.texinfo: Include pkgvers.texi.
58223 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
58224 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
58225 (print_version): Use PKGVERSION.
58226 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
58227 (print_version): Use PKGVERSION.
58228 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
58229 (print_version): Use PKGVERSION.
58230 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
58231 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
58232 macro.
58233 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
58234 (print_version): Use PKGVERSION.
58235 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
58236 (print_version): Use PKGVERSION.
58237 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
58238 and PKGVERSION.
58239
58240 * timezone/checktab.awk: Update from tzcode 2012i.
58241 * timezone/ialloc.c: Likewise.
58242 * timezone/private.h: Likewise.
58243 * timezone/scheck.c: Likewise.
58244 * timezone/tzfile.h: Likewise.
58245 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
58246 (TZVERSION): Hardcode tzcode version number.
58247 * timezone/zdump.c: Update from tzcode 2012i.
58248 * timezone/zic.c: Likewise.
58249 * timezone/version.h: New file.
58250 * timezone/README: Describe version.h. Update upstream location.
58251
58252 [BZ #14824]
58253 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
58254 (mktemp): Enable declaration.
58255 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
58256 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
58257 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
58258 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
58259 Likewise.
58260 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
58261 Likewise.
58262 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
58263 Likewise.
58264 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
58265 Likewise.
58266 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
58267 Likewise.
58268 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
58269 Likewise.
58270
58271 [BZ #14821]
58272 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
58273 offset in buffer as u_int32_t not u_long. Consistently use memcpy
58274 for copies of such integer values.
58275 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
58276 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
58277
58278 2012-11-09 Andreas Jaeger <aj@suse.de>
58279
58280 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
58281 definitions and declarations that are provided by
58282 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
58283
58284 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58285
58286 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
58287 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
58288 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
58289 definition.
58290
58291 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
58292
58293 * elf/elf.h: Update comment before AArch64 relocations.
58294
58295 2012-11-07 David S. Miller <davem@davemloft.net>
58296
58297 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
58298 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
58299 (__start_context): Declare.
58300 (__makecontext_ret): Delete.
58301 (__makecontext): Hook up __start_context instead of
58302 __makecontext_ret.
58303 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
58304 (sysdep_routines): Add __start_context when in stdlib.
58305
58306 2012-11-07 Joseph Myers <joseph@codesourcery.com>
58307
58308 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
58309 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
58310 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
58311 hardcoded "nm".
58312 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
58313 (READELF): New variable. Use it instead of hardcoded "readelf".
58314
58315 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
58316
58317 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
58318 * sysdeps/x86/Makefile: Here.
58319 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
58320 * sysdeps/x86/tst-xmmymm.sh: This.
58321
58322 2012-11-07 Joseph Myers <joseph@codesourcery.com>
58323
58324 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
58325 expectations.
58326 [UNIX98] (pthread_barrier_t): Do not expect.
58327 [UNIX98] (pthread_barrierattr_t): Likewise.
58328 [UNIX98] (pthread_spinlock_t): Likewise.
58329 [UNIX98] (pthread_barrier_destroy): Likewise.
58330 [UNIX98] (pthread_barrier_init): Likewise.
58331 [UNIX98] (pthread_barrier_wait): Likewise.
58332 [UNIX98] (pthread_barrierattr_destroy): Likewise.
58333 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
58334 [UNIX98] (pthread_barrierattr_init): Likewise.
58335 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
58336 [UNIX98] (pthread_getcpuclockid): Likewise.
58337 [UNIX98] (pthread_mutex_timedlock): Likewise.
58338 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
58339 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
58340 [UNIX98] (pthread_sigmask): Likewise.
58341 [UNIX98] (pthread_spin_destroy): Likewise.
58342 [UNIX98] (pthread_spin_init): Likewise.
58343 [UNIX98] (pthread_spin_lock): Likewise.
58344 [UNIX98] (pthread_spin_trylock): Likewise.
58345 [UNIX98] (pthread_spin_unlock): Likewise.
58346 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
58347 Do not expect.
58348 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
58349 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
58350 [XPG3 || XPG4] (pthread_cond_t): Likewise.
58351 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
58352 [XPG3 || XPG4] (pthread_key_t): Likewise.
58353 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
58354 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
58355 [XPG3 || XPG4] (pthread_once_t): Likewise.
58356 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
58357 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
58358 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
58359 [XPG3 || XPG4] (pthread_t): Likewise.
58360
58361 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
58362 not expect.
58363 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
58364
58365 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
58366 Change function return type to int.
58367
58368 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
58369 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
58370 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
58371 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
58372 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
58373 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
58374 [!POSIX] (posix_madvise): Likewise.
58375 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
58376 && !UNIX98].
58377 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
58378 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
58379 (mode_t): Likewise.
58380 (posix_mem_offset): Likewise.
58381 (posix_typed_mem_get_info): Likewise.
58382 (posix_typed_mem_open): Likewise.
58383
58384 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
58385 Change condition to [XOPEN2K8].
58386
58387 * conform/conformtest.pl: Preprocess allow-header data with -x c
58388 instead of from stdin.
58389 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
58390 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
58391 [C99-based standards] (cerfc): Likewise.
58392 [C99-based standards] (cexp2): Likewise.
58393 [C99-based standards] (cexpm1): Likewise.
58394 [C99-based standards] (clog10): Likewise.
58395 [C99-based standards] (clog1p): Likewise.
58396 [C99-based standards] (clog2): Likewise.
58397 [C99-based standards] (clgamma): Likewise.
58398 [C99-based standards] (ctgamma): Likewise.
58399 [C99-based standards] (cerff): Likewise.
58400 [C99-based standards] (cerfcf): Likewise.
58401 [C99-based standards] (cexp2f): Likewise.
58402 [C99-based standards] (cexpm1f): Likewise.
58403 [C99-based standards] (clog10f): Likewise.
58404 [C99-based standards] (clog1pf): Likewise.
58405 [C99-based standards] (clog2f): Likewise.
58406 [C99-based standards] (clgammaf): Likewise.
58407 [C99-based standards] (ctgammaf): Likewise.
58408 [C99-based standards] (cerfl): Likewise.
58409 [C99-based standards] (cerfcl): Likewise.
58410 [C99-based standards] (cexp2l): Likewise.
58411 [C99-based standards] (cexpm1l): Likewise.
58412 [C99-based standards] (clog10l): Likewise.
58413 [C99-based standards] (clog1pl): Likewise.
58414 [C99-based standards] (clog2l): Likewise.
58415 [C99-based standards] (clgammal): Likewise.
58416 [C99-based standards] (ctgammal): Likewise.
58417 * conform/data/inttypes.h-data [C99-based standards]: Include
58418 stdint.h-data. Remove all expectations for stdint.h contents.
58419 [C99-based standards] (PRI*): Do not allow.
58420 [C99-based standards] (SCN*): Likewise.
58421 [C99-based standards] (*_t): Likewise.
58422 [C99-based-standards] (PRId8): Expect macro.
58423 [C99-based-standards] (PRIi8): Likewise.
58424 [C99-based-standards] (PRIo8): Likewise.
58425 [C99-based-standards] (PRIu8): Likewise.
58426 [C99-based-standards] (PRIx8): Likewise.
58427 [C99-based-standards] (PRIX8): Likewise.
58428 [C99-based-standards] (SCNd8): Likewise.
58429 [C99-based-standards] (SCNi8): Likewise.
58430 [C99-based-standards] (SCNo8): Likewise.
58431 [C99-based-standards] (SCNu8): Likewise.
58432 [C99-based-standards] (SCNx8): Likewise.
58433 [C99-based-standards] (PRIdLEAST8): Likewise.
58434 [C99-based-standards] (PRIiLEAST8): Likewise.
58435 [C99-based-standards] (PRIoLEAST8): Likewise.
58436 [C99-based-standards] (PRIuLEAST8): Likewise.
58437 [C99-based-standards] (PRIxLEAST8): Likewise.
58438 [C99-based-standards] (PRIXLEAST8): Likewise.
58439 [C99-based-standards] (SCNdLEAST8): Likewise.
58440 [C99-based-standards] (SCNiLEAST8): Likewise.
58441 [C99-based-standards] (SCNoLEAST8): Likewise.
58442 [C99-based-standards] (SCNuLEAST8): Likewise.
58443 [C99-based-standards] (SCNxLEAST8): Likewise.
58444 [C99-based-standards] (PRIdFAST8): Likewise.
58445 [C99-based-standards] (PRIiFAST8): Likewise.
58446 [C99-based-standards] (PRIoFAST8): Likewise.
58447 [C99-based-standards] (PRIuFAST8): Likewise.
58448 [C99-based-standards] (PRIxFAST8): Likewise.
58449 [C99-based-standards] (PRIXFAST8): Likewise.
58450 [C99-based-standards] (SCNdFAST8): Likewise.
58451 [C99-based-standards] (SCNiFAST8): Likewise.
58452 [C99-based-standards] (SCNoFAST8): Likewise.
58453 [C99-based-standards] (SCNuFAST8): Likewise.
58454 [C99-based-standards] (SCNxFAST8): Likewise.
58455 [C99-based-standards] (PRId16): Likewise.
58456 [C99-based-standards] (PRIi16): Likewise.
58457 [C99-based-standards] (PRIo16): Likewise.
58458 [C99-based-standards] (PRIu16): Likewise.
58459 [C99-based-standards] (PRIx16): Likewise.
58460 [C99-based-standards] (PRIX16): Likewise.
58461 [C99-based-standards] (SCNd16): Likewise.
58462 [C99-based-standards] (SCNi16): Likewise.
58463 [C99-based-standards] (SCNo16): Likewise.
58464 [C99-based-standards] (SCNu16): Likewise.
58465 [C99-based-standards] (SCNx16): Likewise.
58466 [C99-based-standards] (PRIdLEAST16): Likewise.
58467 [C99-based-standards] (PRIiLEAST16): Likewise.
58468 [C99-based-standards] (PRIoLEAST16): Likewise.
58469 [C99-based-standards] (PRIuLEAST16): Likewise.
58470 [C99-based-standards] (PRIxLEAST16): Likewise.
58471 [C99-based-standards] (PRIXLEAST16): Likewise.
58472 [C99-based-standards] (SCNdLEAST16): Likewise.
58473 [C99-based-standards] (SCNiLEAST16): Likewise.
58474 [C99-based-standards] (SCNoLEAST16): Likewise.
58475 [C99-based-standards] (SCNuLEAST16): Likewise.
58476 [C99-based-standards] (SCNxLEAST16): Likewise.
58477 [C99-based-standards] (PRIdFAST16): Likewise.
58478 [C99-based-standards] (PRIiFAST16): Likewise.
58479 [C99-based-standards] (PRIoFAST16): Likewise.
58480 [C99-based-standards] (PRIuFAST16): Likewise.
58481 [C99-based-standards] (PRIxFAST16): Likewise.
58482 [C99-based-standards] (PRIXFAST16): Likewise.
58483 [C99-based-standards] (SCNdFAST16): Likewise.
58484 [C99-based-standards] (SCNiFAST16): Likewise.
58485 [C99-based-standards] (SCNoFAST16): Likewise.
58486 [C99-based-standards] (SCNuFAST16): Likewise.
58487 [C99-based-standards] (SCNxFAST16): Likewise.
58488 [C99-based-standards] (PRId32): Likewise.
58489 [C99-based-standards] (PRIi32): Likewise.
58490 [C99-based-standards] (PRIo32): Likewise.
58491 [C99-based-standards] (PRIu32): Likewise.
58492 [C99-based-standards] (PRIx32): Likewise.
58493 [C99-based-standards] (PRIX32): Likewise.
58494 [C99-based-standards] (SCNd32): Likewise.
58495 [C99-based-standards] (SCNi32): Likewise.
58496 [C99-based-standards] (SCNo32): Likewise.
58497 [C99-based-standards] (SCNu32): Likewise.
58498 [C99-based-standards] (SCNx32): Likewise.
58499 [C99-based-standards] (PRIdLEAST32): Likewise.
58500 [C99-based-standards] (PRIiLEAST32): Likewise.
58501 [C99-based-standards] (PRIoLEAST32): Likewise.
58502 [C99-based-standards] (PRIuLEAST32): Likewise.
58503 [C99-based-standards] (PRIxLEAST32): Likewise.
58504 [C99-based-standards] (PRIXLEAST32): Likewise.
58505 [C99-based-standards] (SCNdLEAST32): Likewise.
58506 [C99-based-standards] (SCNiLEAST32): Likewise.
58507 [C99-based-standards] (SCNoLEAST32): Likewise.
58508 [C99-based-standards] (SCNuLEAST32): Likewise.
58509 [C99-based-standards] (SCNxLEAST32): Likewise.
58510 [C99-based-standards] (PRIdFAST32): Likewise.
58511 [C99-based-standards] (PRIiFAST32): Likewise.
58512 [C99-based-standards] (PRIoFAST32): Likewise.
58513 [C99-based-standards] (PRIuFAST32): Likewise.
58514 [C99-based-standards] (PRIxFAST32): Likewise.
58515 [C99-based-standards] (PRIXFAST32): Likewise.
58516 [C99-based-standards] (SCNdFAST32): Likewise.
58517 [C99-based-standards] (SCNiFAST32): Likewise.
58518 [C99-based-standards] (SCNoFAST32): Likewise.
58519 [C99-based-standards] (SCNuFAST32): Likewise.
58520 [C99-based-standards] (SCNxFAST32): Likewise.
58521 [C99-based-standards] (PRId64): Likewise.
58522 [C99-based-standards] (PRIi64): Likewise.
58523 [C99-based-standards] (PRIo64): Likewise.
58524 [C99-based-standards] (PRIu64): Likewise.
58525 [C99-based-standards] (PRIx64): Likewise.
58526 [C99-based-standards] (PRIX64): Likewise.
58527 [C99-based-standards] (SCNd64): Likewise.
58528 [C99-based-standards] (SCNi64): Likewise.
58529 [C99-based-standards] (SCNo64): Likewise.
58530 [C99-based-standards] (SCNu64): Likewise.
58531 [C99-based-standards] (SCNx64): Likewise.
58532 [C99-based-standards] (PRIdLEAST64): Likewise.
58533 [C99-based-standards] (PRIiLEAST64): Likewise.
58534 [C99-based-standards] (PRIoLEAST64): Likewise.
58535 [C99-based-standards] (PRIuLEAST64): Likewise.
58536 [C99-based-standards] (PRIxLEAST64): Likewise.
58537 [C99-based-standards] (PRIXLEAST64): Likewise.
58538 [C99-based-standards] (SCNdLEAST64): Likewise.
58539 [C99-based-standards] (SCNiLEAST64): Likewise.
58540 [C99-based-standards] (SCNoLEAST64): Likewise.
58541 [C99-based-standards] (SCNuLEAST64): Likewise.
58542 [C99-based-standards] (SCNxLEAST64): Likewise.
58543 [C99-based-standards] (PRIdFAST64): Likewise.
58544 [C99-based-standards] (PRIiFAST64): Likewise.
58545 [C99-based-standards] (PRIoFAST64): Likewise.
58546 [C99-based-standards] (PRIuFAST64): Likewise.
58547 [C99-based-standards] (PRIxFAST64): Likewise.
58548 [C99-based-standards] (PRIXFAST64): Likewise.
58549 [C99-based-standards] (SCNdFAST64): Likewise.
58550 [C99-based-standards] (SCNiFAST64): Likewise.
58551 [C99-based-standards] (SCNoFAST64): Likewise.
58552 [C99-based-standards] (SCNuFAST64): Likewise.
58553 [C99-based-standards] (SCNxFAST64): Likewise.
58554 [C99-based-standards] (PRIdMAX): Likewise.
58555 [C99-based-standards] (PRIiMAX): Likewise.
58556 [C99-based-standards] (PRIoMAX): Likewise.
58557 [C99-based-standards] (PRIuMAX): Likewise.
58558 [C99-based-standards] (PRIxMAX): Likewise.
58559 [C99-based-standards] (PRIXMAX): Likewise.
58560 [C99-based-standards] (SCNdMAX): Likewise.
58561 [C99-based-standards] (SCNiMAX): Likewise.
58562 [C99-based-standards] (SCNoMAX): Likewise.
58563 [C99-based-standards] (SCNuMAX): Likewise.
58564 [C99-based-standards] (SCNxMAX): Likewise.
58565 [C99-based-standards] (PRIdPTR): Likewise.
58566 [C99-based-standards] (PRIiPTR): Likewise.
58567 [C99-based-standards] (PRIoPTR): Likewise.
58568 [C99-based-standards] (PRIuPTR): Likewise.
58569 [C99-based-standards] (PRIxPTR): Likewise.
58570 [C99-based-standards] (PRIXPTR): Likewise.
58571 [C99-based-standards] (SCNdPTR): Likewise.
58572 [C99-based-standards] (SCNiPTR): Likewise.
58573 [C99-based-standards] (SCNoPTR): Likewise.
58574 [C99-based-standards] (SCNuPTR): Likewise.
58575 [C99-based-standards] (SCNxPTR): Likewise.
58576 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
58577 allow.
58578 * conform/data/stdint.h-data: Update comments to clarify
58579 requirements.
58580 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
58581 type.
58582 [C99-based standards] (INT8_MAX): Likewise.
58583 [C99-based standards] (INT16_MIN): Likewise.
58584 [C99-based standards] (INT16_MAX): Likewise.
58585 [C99-based standards] (INT32_MIN): Likewise.
58586 [C99-based standards] (INT32_MAX): Likewise.
58587 [C99-based standards] (INT64_MIN): Likewise.
58588 [C99-based standards] (INT64_MAX): Likewise.
58589 [C99-based standards] (UINT8_MAX): Likewise.
58590 [C99-based standards] (UINT16_MAX): Likewise.
58591 [C99-based standards] (UINT32_MAX): Likewise.
58592 [C99-based standards] (UINT64_MAX): Likewise.
58593 [C99-based standards] (INT_LEAST8_MIN): Likewise.
58594 [C99-based standards] (INT_LEAST8_MAX): Likewise.
58595 [C99-based standards] (INT_LEAST16_MIN): Likewise.
58596 [C99-based standards] (INT_LEAST16_MAX): Likewise.
58597 [C99-based standards] (INT_LEAST32_MIN): Likewise.
58598 [C99-based standards] (INT_LEAST32_MAX): Likewise.
58599 [C99-based standards] (INT_LEAST64_MIN): Likewise.
58600 [C99-based standards] (INT_LEAST64_MAX): Likewise.
58601 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
58602 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
58603 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
58604 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
58605 [C99-based standards] (INT_FAST8_MIN): Likewise.
58606 [C99-based standards] (INT_FAST8_MAX): Likewise.
58607 [C99-based standards] (INT_FAST16_MIN): Likewise.
58608 [C99-based standards] (INT_FAST16_MAX): Likewise.
58609 [C99-based standards] (INT_FAST32_MIN): Likewise.
58610 [C99-based standards] (INT_FAST32_MAX): Likewise.
58611 [C99-based standards] (INT_FAST64_MIN): Likewise.
58612 [C99-based standards] (INT_FAST64_MAX): Likewise.
58613 [C99-based standards] (UINT_FAST8_MAX): Likewise.
58614 [C99-based standards] (UINT_FAST16_MAX): Likewise.
58615 [C99-based standards] (UINT_FAST32_MAX): Likewise.
58616 [C99-based standards] (UINT_FAST64_MAX): Likewise.
58617 [C99-based standards] (INTPTR_MIN): Likewise.
58618 [C99-based standards] (INTPTR_MAX): Likewise.
58619 [C99-based standards] (UINTPTR_MAX): Likewise.
58620 [C99-based standards] (INTMAX_MIN): Likewise.
58621 [C99-based standards] (INTMAX_MAX): Likewise.
58622 [C99-based standards] (UINTMAX_MAX): Likewise.
58623 [C99-based standards] (PTRDIFF_MIN): Likewise.
58624 [C99-based standards] (PTRDIFF_MAX): Likewise.
58625 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
58626 [C99-based standards] (SIZE_MAX): Likewise.
58627 [C99-based standards] (WCHAR_MAX): Likewise.
58628 [C99-based standards] (WINT_MAX): Likewise.
58629 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
58630 constraint on value.
58631 [C99-based standards] (WCHAR_MIN): Likewise.
58632 [C99-based standards] (WINT_MIN): Likewise.
58633 [C99-based standards] (*_t): Allow.
58634 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
58635 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
58636 Include math.h-data and complex.h-data. Remove all expectations
58637 of math.h and complex.h contents.
58638 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
58639 at end of line.
58640 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
58641 (struct tm): Expect tag.
58642 [C99-based-standards] (wcstof): Expect function.
58643 [C99-based-standards] (wcstold): Likewise.
58644 [C99-based-standards] (wcstoll): Likewise.
58645 [C99-based-standards] (wcstoull): Likewise.
58646 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
58647 macro-int-constant. Specify type.
58648 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
58649 constraint on value.
58650 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
58651 Specify type.
58652 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
58653 Specify value.
58654 [ISO C standards]: Do not allow headers.
58655 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
58656 wcs[abcdefghijklmnopqrstuvwxyz]*.
58657 [ISO C standards] (*_t): Do not allow.
58658 * conform/data/wctype.h-data [C99-based standards] (iswblank):
58659 Expect function.
58660 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
58661 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
58662 Specify type.
58663 [ISO C standards]: Do not allow headers.
58664 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
58665 is[abcdefghijklmnopqrstuvwxyz]*.
58666 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
58667 to[abcdefghijklmnopqrstuvwxyz]*.
58668 [ISO C standards] (*_t): Do not allow.
58669 * conform/data/stdalign.h-data: New file.
58670 * conform/data/stdbool.h-data: Likewise.
58671 * conform/data/stdnoreturn.h-data: Likewise.
58672
58673 2012-11-07 Roland McGrath <roland@hack.frob.com>
58674
58675 [BZ #14815]
58676 * manual/filesys.texi (Directory Entries): Typo fix.
58677 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
58678
58679 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
58680
58681 * elf/elf.h (EM_AARCH64): New macro.
58682 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
58683 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
58684 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
58685 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
58686 (R_AARCH64_TLSDESC): Likewise.
58687 (NT_ARM_TLS): Likewise.
58688 (NT_ARM_HW_BREAK): Likewise.
58689 (NT_ARM_HW_WATCH): Likewise.
58690
58691 2012-11-07 Joseph Myers <joseph@codesourcery.com>
58692
58693 [BZ #14811]
58694 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
58695 (__ieee754_powl): Saturate nonzero exponents with absolute value
58696 below 0x1p-79 to +/- 0x1p-79.
58697 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
58698 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
58699 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
58700 nonzero exponents with absolute value below 0x1p-32 to +/-
58701 0x1p-32.
58702 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
58703 (__ieee754_powl): Saturate nonzero exponents with absolute value
58704 below 0x1p-79 to +/- 0x1p-79.
58705 * math/libm-test.inc (pow_test): Add more tests.
58706
58707 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58708
58709 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
58710 _dl_s390_cap_flags with kernel. Increase string length.
58711 (_dl_s390_platforms): Add z196 and zEC12.
58712
58713 2012-11-07 Joseph Myers <joseph@codesourcery.com>
58714
58715 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
58716 Change XOPEN21K to XOPEN2K.
58717
58718 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
58719
58720 * string/memmove.c: Use memcpy when possible.
58721
58722 2012-11-06 Andreas Jaeger <aj@suse.de>
58723
58724 * po/eo.po: Update from translation team.
58725
58726 2012-11-06 Joseph Myers <joseph@codesourcery.com>
58727
58728 [BZ #14793]
58729 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
58730 exponent and small x and y exponents, scale x or y up. Increase
58731 by 2 the exponent used in scaling up.
58732 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58733 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58734 * math/libm-test.inc (fma_test): Add more tests.
58735 (fma_test_towardzero): Likewise.
58736 (fma_test_downward): Likewise.
58737 (fma_test_upward): Likewise.
58738
58739 2012-11-05 Joseph Myers <joseph@codesourcery.com>
58740
58741 [BZ #14805]
58742 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
58743 fenv_t *.
58744
58745 [BZ #14801]
58746 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
58747 namespace for names of struct fields.
58748 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
58749 fenv_t fields.
58750 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
58751 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
58752
58753 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
58754
58755 [BZ #3665]
58756 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
58757
58758 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
58759
58760 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
58761 PTR_DEMANGLE.
58762
58763 [BZ #5246]
58764 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
58765 PTR_DEMANGLE.
58766
58767 2012-11-04 Joseph Myers <joseph@codesourcery.com>
58768
58769 [BZ #14797]
58770 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
58771 definitely overflow as x * y not x * y + z.
58772 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58773 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58774 * math/libm-test.inc (fma_test): Add more tests.
58775 (fma_test_towardzero): Likewise.
58776 (fma_test_downward): Likewise.
58777 (fma_test_upward): Likewise.
58778
58779 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
58780
58781 [BZ #157]
58782
58783 * include/stub-tag.h: Remove file.
58784 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
58785 '#include' of it.
58786 * manual/maint.texi (Porting): Don't reference it.
58787 * Makerules ($(objpfx)stubs): Likewise.
58788 * dirent/closedir.c: Don't include <stub-tag.h>.
58789 * dirent/dirfd.c: Likewise.
58790 * dirent/fdopendir.c: Likewise.
58791 * dirent/getdents.c: Likewise.
58792 * dirent/getdents64.c: Likewise.
58793 * dirent/opendir.c: Likewise.
58794 * dirent/readdir.c: Likewise.
58795 * dirent/readdir64.c: Likewise.
58796 * dirent/readdir64_r.c: Likewise.
58797 * dirent/readdir_r.c: Likewise.
58798 * dirent/rewinddir.c: Likewise.
58799 * dirent/seekdir.c: Likewise.
58800 * dirent/telldir.c: Likewise.
58801 * gmon/profil.c: Likewise.
58802 * grp/setgroups.c: Likewise.
58803 * inet/if_index.c: Likewise.
58804 * io/access.c: Likewise.
58805 * io/chdir.c: Likewise.
58806 * io/chmod.c: Likewise.
58807 * io/chown.c: Likewise.
58808 * io/close.c: Likewise.
58809 * io/dup.c: Likewise.
58810 * io/dup2.c: Likewise.
58811 * io/dup3.c: Likewise.
58812 * io/euidaccess.c: Likewise.
58813 * io/faccessat.c: Likewise.
58814 * io/fchdir.c: Likewise.
58815 * io/fchmod.c: Likewise.
58816 * io/fchmodat.c: Likewise.
58817 * io/fchown.c: Likewise.
58818 * io/fchownat.c: Likewise.
58819 * io/fcntl.c: Likewise.
58820 * io/flock.c: Likewise.
58821 * io/fstatfs.c: Likewise.
58822 * io/fstatfs64.c: Likewise.
58823 * io/fstatvfs.c: Likewise.
58824 * io/fstatvfs64.c: Likewise.
58825 * io/futimens.c: Likewise.
58826 * io/fxstat.c: Likewise.
58827 * io/fxstat64.c: Likewise.
58828 * io/fxstatat.c: Likewise.
58829 * io/fxstatat64.c: Likewise.
58830 * io/getcwd.c: Likewise.
58831 * io/isatty.c: Likewise.
58832 * io/lchmod.c: Likewise.
58833 * io/lchown.c: Likewise.
58834 * io/link.c: Likewise.
58835 * io/linkat.c: Likewise.
58836 * io/lseek.c: Likewise.
58837 * io/lseek64.c: Likewise.
58838 * io/lxstat64.c: Likewise.
58839 * io/mkdir.c: Likewise.
58840 * io/mkdirat.c: Likewise.
58841 * io/mkfifo.c: Likewise.
58842 * io/mkfifoat.c: Likewise.
58843 * io/open.c: Likewise.
58844 * io/open64.c: Likewise.
58845 * io/openat.c: Likewise.
58846 * io/openat64.c: Likewise.
58847 * io/pipe.c: Likewise.
58848 * io/pipe2.c: Likewise.
58849 * io/poll.c: Likewise.
58850 * io/posix_fadvise.c: Likewise.
58851 * io/posix_fadvise64.c: Likewise.
58852 * io/posix_fallocate.c: Likewise.
58853 * io/posix_fallocate64.c: Likewise.
58854 * io/read.c: Likewise.
58855 * io/readlink.c: Likewise.
58856 * io/readlinkat.c: Likewise.
58857 * io/rmdir.c: Likewise.
58858 * io/sendfile.c: Likewise.
58859 * io/sendfile64.c: Likewise.
58860 * io/statfs.c: Likewise.
58861 * io/statfs64.c: Likewise.
58862 * io/statvfs.c: Likewise.
58863 * io/statvfs64.c: Likewise.
58864 * io/symlink.c: Likewise.
58865 * io/symlinkat.c: Likewise.
58866 * io/ttyname.c: Likewise.
58867 * io/ttyname_r.c: Likewise.
58868 * io/umask.c: Likewise.
58869 * io/unlink.c: Likewise.
58870 * io/unlinkat.c: Likewise.
58871 * io/utime.c: Likewise.
58872 * io/utimensat.c: Likewise.
58873 * io/write.c: Likewise.
58874 * io/xmknod.c: Likewise.
58875 * io/xmknodat.c: Likewise.
58876 * io/xstat.c: Likewise.
58877 * io/xstat64.c: Likewise.
58878 * login/getpt.c: Likewise.
58879 * login/grantpt.c: Likewise.
58880 * login/unlockpt.c: Likewise.
58881 * math/e_acoshl.c: Likewise.
58882 * math/e_acosl.c: Likewise.
58883 * math/e_asinl.c: Likewise.
58884 * math/e_atan2l.c: Likewise.
58885 * math/e_atanhl.c: Likewise.
58886 * math/e_coshl.c: Likewise.
58887 * math/e_expl.c: Likewise.
58888 * math/e_fmodl.c: Likewise.
58889 * math/e_gammal_r.c: Likewise.
58890 * math/e_hypotl.c: Likewise.
58891 * math/e_j0l.c: Likewise.
58892 * math/e_j1l.c: Likewise.
58893 * math/e_jnl.c: Likewise.
58894 * math/e_lgammal_r.c: Likewise.
58895 * math/e_log10l.c: Likewise.
58896 * math/e_log2l.c: Likewise.
58897 * math/e_logl.c: Likewise.
58898 * math/e_powl.c: Likewise.
58899 * math/e_rem_pio2l.c: Likewise.
58900 * math/e_sinhl.c: Likewise.
58901 * math/e_sqrtl.c: Likewise.
58902 * math/fclrexcpt.c: Likewise.
58903 * math/fedisblxcpt.c: Likewise.
58904 * math/feenablxcpt.c: Likewise.
58905 * math/fegetenv.c: Likewise.
58906 * math/fegetexcept.c: Likewise.
58907 * math/fegetround.c: Likewise.
58908 * math/feholdexcpt.c: Likewise.
58909 * math/fesetenv.c: Likewise.
58910 * math/fesetround.c: Likewise.
58911 * math/feupdateenv.c: Likewise.
58912 * math/fgetexcptflg.c: Likewise.
58913 * math/fraiseexcpt.c: Likewise.
58914 * math/fsetexcptflg.c: Likewise.
58915 * math/ftestexcept.c: Likewise.
58916 * math/k_cosl.c: Likewise.
58917 * math/k_rem_pio2l.c: Likewise.
58918 * math/k_sinl.c: Likewise.
58919 * math/k_tanl.c: Likewise.
58920 * math/s_asinhl.c: Likewise.
58921 * math/s_atanl.c: Likewise.
58922 * math/s_cbrtl.c: Likewise.
58923 * math/s_erfl.c: Likewise.
58924 * math/s_expm1l.c: Likewise.
58925 * math/s_log1pl.c: Likewise.
58926 * math/s_tanhl.c: Likewise.
58927 * misc/acct.c: Likewise.
58928 * misc/brk.c: Likewise.
58929 * misc/chflags.c: Likewise.
58930 * misc/chroot.c: Likewise.
58931 * misc/fchflags.c: Likewise.
58932 * misc/fgetxattr.c: Likewise.
58933 * misc/flistxattr.c: Likewise.
58934 * misc/fremovexattr.c: Likewise.
58935 * misc/fsetxattr.c: Likewise.
58936 * misc/fsync.c: Likewise.
58937 * misc/ftruncate.c: Likewise.
58938 * misc/futimes.c: Likewise.
58939 * misc/futimesat.c: Likewise.
58940 * misc/getdomain.c: Likewise.
58941 * misc/getdtsz.c: Likewise.
58942 * misc/gethostid.c: Likewise.
58943 * misc/gethostname.c: Likewise.
58944 * misc/getloadavg.c: Likewise.
58945 * misc/getpagesize.c: Likewise.
58946 * misc/getsysstats.c: Likewise.
58947 * misc/getxattr.c: Likewise.
58948 * misc/gtty.c: Likewise.
58949 * misc/ioctl.c: Likewise.
58950 * misc/lgetxattr.c: Likewise.
58951 * misc/listxattr.c: Likewise.
58952 * misc/llistxattr.c: Likewise.
58953 * misc/lremovexattr.c: Likewise.
58954 * misc/lsetxattr.c: Likewise.
58955 * misc/lutimes.c: Likewise.
58956 * misc/madvise.c: Likewise.
58957 * misc/mincore.c: Likewise.
58958 * misc/mlock.c: Likewise.
58959 * misc/mlockall.c: Likewise.
58960 * misc/mmap.c: Likewise.
58961 * misc/mprotect.c: Likewise.
58962 * misc/msync.c: Likewise.
58963 * misc/munlock.c: Likewise.
58964 * misc/munlockall.c: Likewise.
58965 * misc/munmap.c: Likewise.
58966 * misc/preadv.c: Likewise.
58967 * misc/preadv64.c: Likewise.
58968 * misc/ptrace.c: Likewise.
58969 * misc/pwritev.c: Likewise.
58970 * misc/pwritev64.c: Likewise.
58971 * misc/readv.c: Likewise.
58972 * misc/reboot.c: Likewise.
58973 * misc/remap_file_pages.c: Likewise.
58974 * misc/removexattr.c: Likewise.
58975 * misc/revoke.c: Likewise.
58976 * misc/select.c: Likewise.
58977 * misc/setdomain.c: Likewise.
58978 * misc/setegid.c: Likewise.
58979 * misc/seteuid.c: Likewise.
58980 * misc/sethostid.c: Likewise.
58981 * misc/sethostname.c: Likewise.
58982 * misc/setregid.c: Likewise.
58983 * misc/setreuid.c: Likewise.
58984 * misc/setxattr.c: Likewise.
58985 * misc/sstk.c: Likewise.
58986 * misc/stty.c: Likewise.
58987 * misc/swapoff.c: Likewise.
58988 * misc/swapon.c: Likewise.
58989 * misc/sync.c: Likewise.
58990 * misc/syncfs.c: Likewise.
58991 * misc/syscall.c: Likewise.
58992 * misc/truncate.c: Likewise.
58993 * misc/ualarm.c: Likewise.
58994 * misc/usleep.c: Likewise.
58995 * misc/ustat.c: Likewise.
58996 * misc/utimes.c: Likewise.
58997 * misc/vhangup.c: Likewise.
58998 * misc/writev.c: Likewise.
58999 * posix/_exit.c: Likewise.
59000 * posix/alarm.c: Likewise.
59001 * posix/execve.c: Likewise.
59002 * posix/fexecve.c: Likewise.
59003 * posix/fork.c: Likewise.
59004 * posix/fpathconf.c: Likewise.
59005 * posix/getaddrinfo.c: Likewise.
59006 * posix/getegid.c: Likewise.
59007 * posix/geteuid.c: Likewise.
59008 * posix/getgid.c: Likewise.
59009 * posix/getgroups.c: Likewise.
59010 * posix/getlogin.c: Likewise.
59011 * posix/getlogin_r.c: Likewise.
59012 * posix/getpgid.c: Likewise.
59013 * posix/getpid.c: Likewise.
59014 * posix/getppid.c: Likewise.
59015 * posix/getresgid.c: Likewise.
59016 * posix/getresuid.c: Likewise.
59017 * posix/getsid.c: Likewise.
59018 * posix/getuid.c: Likewise.
59019 * posix/glob64.c: Likewise.
59020 * posix/nanosleep.c: Likewise.
59021 * posix/pathconf.c: Likewise.
59022 * posix/pause.c: Likewise.
59023 * posix/posix_madvise.c: Likewise.
59024 * posix/pread.c: Likewise.
59025 * posix/pread64.c: Likewise.
59026 * posix/pwrite.c: Likewise.
59027 * posix/pwrite64.c: Likewise.
59028 * posix/sched_getaffinity.c: Likewise.
59029 * posix/sched_getp.c: Likewise.
59030 * posix/sched_gets.c: Likewise.
59031 * posix/sched_primax.c: Likewise.
59032 * posix/sched_primin.c: Likewise.
59033 * posix/sched_rr_gi.c: Likewise.
59034 * posix/sched_setaffinity.c: Likewise.
59035 * posix/sched_setp.c: Likewise.
59036 * posix/sched_sets.c: Likewise.
59037 * posix/sched_yield.c: Likewise.
59038 * posix/setgid.c: Likewise.
59039 * posix/setlogin.c: Likewise.
59040 * posix/setpgid.c: Likewise.
59041 * posix/setresgid.c: Likewise.
59042 * posix/setresuid.c: Likewise.
59043 * posix/setsid.c: Likewise.
59044 * posix/setuid.c: Likewise.
59045 * posix/sleep.c: Likewise.
59046 * posix/spawni.c: Likewise.
59047 * posix/sysconf.c: Likewise.
59048 * posix/times.c: Likewise.
59049 * posix/wait.c: Likewise.
59050 * posix/wait3.c: Likewise.
59051 * posix/wait4.c: Likewise.
59052 * posix/waitpid.c: Likewise.
59053 * resolv/gai_sigqueue.c: Likewise.
59054 * resource/getpriority.c: Likewise.
59055 * resource/getrlimit.c: Likewise.
59056 * resource/getrusage.c: Likewise.
59057 * resource/nice.c: Likewise.
59058 * resource/setpriority.c: Likewise.
59059 * resource/setrlimit.c: Likewise.
59060 * resource/ulimit.c: Likewise.
59061 * rt/aio_cancel.c: Likewise.
59062 * rt/aio_fsync.c: Likewise.
59063 * rt/aio_read.c: Likewise.
59064 * rt/aio_sigqueue.c: Likewise.
59065 * rt/aio_suspend.c: Likewise.
59066 * rt/aio_write.c: Likewise.
59067 * rt/clock_getres.c: Likewise.
59068 * rt/clock_gettime.c: Likewise.
59069 * rt/clock_nanosleep.c: Likewise.
59070 * rt/clock_settime.c: Likewise.
59071 * rt/lio_listio.c: Likewise.
59072 * rt/mq_close.c: Likewise.
59073 * rt/mq_getattr.c: Likewise.
59074 * rt/mq_notify.c: Likewise.
59075 * rt/mq_open.c: Likewise.
59076 * rt/mq_receive.c: Likewise.
59077 * rt/mq_send.c: Likewise.
59078 * rt/mq_setattr.c: Likewise.
59079 * rt/mq_timedreceive.c: Likewise.
59080 * rt/mq_timedsend.c: Likewise.
59081 * rt/mq_unlink.c: Likewise.
59082 * rt/shm_open.c: Likewise.
59083 * rt/shm_unlink.c: Likewise.
59084 * rt/timer_create.c: Likewise.
59085 * rt/timer_delete.c: Likewise.
59086 * rt/timer_getoverr.c: Likewise.
59087 * rt/timer_gettime.c: Likewise.
59088 * rt/timer_settime.c: Likewise.
59089 * setjmp/__longjmp.c: Likewise.
59090 * setjmp/setjmp.c: Likewise.
59091 * signal/kill.c: Likewise.
59092 * signal/killpg.c: Likewise.
59093 * signal/raise.c: Likewise.
59094 * signal/sigaction.c: Likewise.
59095 * signal/sigaltstack.c: Likewise.
59096 * signal/sigblock.c: Likewise.
59097 * signal/sigignore.c: Likewise.
59098 * signal/sigintr.c: Likewise.
59099 * signal/signal.c: Likewise.
59100 * signal/sigpause.c: Likewise.
59101 * signal/sigpending.c: Likewise.
59102 * signal/sigqueue.c: Likewise.
59103 * signal/sigreturn.c: Likewise.
59104 * signal/sigset.c: Likewise.
59105 * signal/sigsetmask.c: Likewise.
59106 * signal/sigstack.c: Likewise.
59107 * signal/sigsuspend.c: Likewise.
59108 * signal/sigtimedwait.c: Likewise.
59109 * signal/sigvec.c: Likewise.
59110 * signal/sigwait.c: Likewise.
59111 * signal/sigwaitinfo.c: Likewise.
59112 * signal/sysv_signal.c: Likewise.
59113 * socket/accept.c: Likewise.
59114 * socket/accept4.c: Likewise.
59115 * socket/bind.c: Likewise.
59116 * socket/connect.c: Likewise.
59117 * socket/getpeername.c: Likewise.
59118 * socket/getsockname.c: Likewise.
59119 * socket/getsockopt.c: Likewise.
59120 * socket/isfdtype.c: Likewise.
59121 * socket/listen.c: Likewise.
59122 * socket/recv.c: Likewise.
59123 * socket/recvfrom.c: Likewise.
59124 * socket/recvmsg.c: Likewise.
59125 * socket/send.c: Likewise.
59126 * socket/sendmsg.c: Likewise.
59127 * socket/sendto.c: Likewise.
59128 * socket/setsockopt.c: Likewise.
59129 * socket/shutdown.c: Likewise.
59130 * socket/sockatmark.c: Likewise.
59131 * socket/socket.c: Likewise.
59132 * socket/socketpair.c: Likewise.
59133 * stdio-common/ctermid.c: Likewise.
59134 * stdio-common/cuserid.c: Likewise.
59135 * stdio-common/remove.c: Likewise.
59136 * stdio-common/rename.c: Likewise.
59137 * stdio-common/renameat.c: Likewise.
59138 * stdio-common/tempname.c: Likewise.
59139 * stdlib/getcontext.c: Likewise.
59140 * stdlib/makecontext.c: Likewise.
59141 * stdlib/setcontext.c: Likewise.
59142 * stdlib/swapcontext.c: Likewise.
59143 * stdlib/system.c: Likewise.
59144 * streams/fattach.c: Likewise.
59145 * streams/fdetach.c: Likewise.
59146 * streams/getmsg.c: Likewise.
59147 * streams/getpmsg.c: Likewise.
59148 * streams/putmsg.c: Likewise.
59149 * streams/putpmsg.c: Likewise.
59150 * sysdeps/unix/bsd/getpt.c: Likewise.
59151 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
59152 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
59153 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
59154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
59155 Likewise.
59156 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
59157 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
59158 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
59159 * sysvipc/msgctl.c: Likewise.
59160 * sysvipc/msgget.c: Likewise.
59161 * sysvipc/msgrcv.c: Likewise.
59162 * sysvipc/msgsnd.c: Likewise.
59163 * sysvipc/semctl.c: Likewise.
59164 * sysvipc/semget.c: Likewise.
59165 * sysvipc/semop.c: Likewise.
59166 * sysvipc/semtimedop.c: Likewise.
59167 * sysvipc/shmat.c: Likewise.
59168 * sysvipc/shmctl.c: Likewise.
59169 * sysvipc/shmdt.c: Likewise.
59170 * sysvipc/shmget.c: Likewise.
59171 * termios/tcdrain.c: Likewise.
59172 * termios/tcflow.c: Likewise.
59173 * termios/tcflush.c: Likewise.
59174 * termios/tcgetattr.c: Likewise.
59175 * termios/tcgetpgrp.c: Likewise.
59176 * termios/tcsendbrk.c: Likewise.
59177 * termios/tcsetattr.c: Likewise.
59178 * termios/tcsetpgrp.c: Likewise.
59179 * time/adjtime.c: Likewise.
59180 * time/clock.c: Likewise.
59181 * time/getitimer.c: Likewise.
59182 * time/gettimeofday.c: Likewise.
59183 * time/setitimer.c: Likewise.
59184 * time/settimeofday.c: Likewise.
59185 * time/stime.c: Likewise.
59186 * time/time.c: Likewise.
59187
59188 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
59189
59190 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
59191 /usr/old/bin.
59192
59193 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
59194 instead of spaces.
59195 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
59196
59197 2012-11-03 Joseph Myers <joseph@codesourcery.com>
59198
59199 [BZ #14796]
59200 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
59201 FE_TONEAREST before applying Dekker multiplication and Knuth
59202 addition. Clear inexact exceptions and check for exact zero
59203 results afterwards.
59204 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59205 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
59206 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59207 * math/libm-test.inc (fma_test): Add more tests.
59208 (fma_test_towardzero): Likewise.
59209 (fma_test_downward): Likewise.
59210 (fma_test_upward): Likewise.
59211 * sysdeps/generic/math_private.h (default_libc_fesetround): New
59212 function.
59213 (libc_fesetround): New macro.
59214 (libc_fesetroundf): Likewise.
59215 (libc_fesetroundl): Likewise.
59216 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
59217 function.
59218 (libc_fesetround_387): Likewise.
59219 (libc_fesetroundf): New macro.
59220 (libc_fesetround): Likewise.
59221 (libc_fesetroundl): Likewise.
59222 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
59223 function.
59224 (libc_fesetroundf): New macro.
59225 (libc_fesetround): Likewise.
59226 (libc_fesetroundl): Likewise.
59227 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
59228 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
59229 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
59230 libm_hidden_ver.
59231 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
59232 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
59233 libm_hidden_def.
59234 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
59235 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
59236 libm_hidden_ver.
59237 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
59238 libm_hidden_def.
59239
59240 [BZ #3439]
59241 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
59242 integer constant usable in #if and use that to give value to enum
59243 constant.
59244 (FE_DIVBYZERO): Likewise.
59245 (FE_UNDERFLOW): Likewise.
59246 (FE_OVERFLOW): Likewise.
59247 (FE_INVALID): Likewise.
59248 (FE_INVALID_SNAN): Likewise.
59249 (FE_INVALID_ISI): Likewise.
59250 (FE_INVALID_IDI): Likewise.
59251 (FE_INVALID_ZDZ): Likewise.
59252 (FE_INVALID_IMZ): Likewise.
59253 (FE_INVALID_COMPARE): Likewise.
59254 (FE_INVALID_SOFTWARE): Likewise.
59255 (FE_INVALID_SQRT): Likewise.
59256 (FE_INVALID_INTEGER_CONVERSION): Likewise.
59257 (FE_TONEAREST): Likewise.
59258 (FE_TOWARDZERO): Likewise.
59259 (FE_UPWARD): Likewise.
59260 (FE_DOWNWARD): Likewise.
59261 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
59262 (FE_DIVBYZERO): Likewise.
59263 (FE_OVERFLOW): Likewise.
59264 (FE_UNDERFLOW): Likewise.
59265 (FE_INEXACT): Likewise.
59266 (FE_TONEAREST): Likewise.
59267 (FE_DOWNWARD): Likewise.
59268 (FE_UPWARD): Likewise.
59269 (FE_TOWARDZERO): Likewise.
59270 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
59271 (FE_UNDERFLOW): Likewise.
59272 (FE_OVERFLOW): Likewise.
59273 (FE_DIVBYZERO): Likewise.
59274 (FE_INVALID): Likewise.
59275 (FE_TONEAREST): Likewise.
59276 (FE_TOWARDZERO): Likewise.
59277 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
59278 (FE_OVERFLOW): Likewise.
59279 (FE_UNDERFLOW): Likewise.
59280 (FE_DIVBYZERO): Likewise.
59281 (FE_INEXACT): Likewise.
59282 (FE_TONEAREST): Likewise.
59283 (FE_TOWARDZERO): Likewise.
59284 (FE_UPWARD): Likewise.
59285 (FE_DOWNWARD): Likewise.
59286 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
59287 (FE_DIVBYZERO): Likewise.
59288 (FE_OVERFLOW): Likewise.
59289 (FE_UNDERFLOW): Likewise.
59290 (FE_INEXACT): Likewise.
59291 (FE_TONEAREST): Likewise.
59292 (FE_DOWNWARD): Likewise.
59293 (FE_UPWARD): Likewise.
59294 (FE_TOWARDZERO): Likewise.
59295
59296 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
59297
59298 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
59299
59300 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
59301
59302 * scripts/cross-test-ssh.sh (command): Use newlines to separate
59303 commands. Quote $PWD.
59304 (blacklist_exports): Don't use remove_newlines. Replace "declare
59305 -x" by "export".
59306 (remove_newlines): Remove.
59307
59308 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
59309
59310 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
59311 * stdlib/stdlib.h (atof): Moved to ...
59312 * include/bits/stdlib-float.h: Here. New file.
59313 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
59314 * stdlib/bits/stdlib-float.h: New file.
59315 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
59316 -mno-sse -mno-mmx.
59317 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
59318 <xmmintrin.h>.
59319
59320 2012-11-02 Joseph Myers <joseph@codesourcery.com>
59321
59322 * conform/conformtest.pl (@headers): Add fenv.h.
59323 * conform/data/fenv.h-data: New file.
59324 * include/fenv.h [_ISOMAC]: Disable all contents of file except
59325 include of <math/fenv.h>.
59326
59327 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
59328 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
59329 && !UNIX98]. Enables tests for XOPEN2K8.
59330 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
59331 POSIX2008]: Likewise.
59332
59333 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
59334 (struct rusage): Do not expect type or its members.
59335
59336 [BZ #3439]
59337 * math/math.h (FP_NAN): Define macro to integer constant usable in
59338 #if and use that to give value to enum constant.
59339 (FP_INFINITE): Likewise.
59340 (FP_ZERO): Likewise.
59341 (FP_SUBNORMAL): Likewise.
59342 (FP_NORMAL): Likewise.
59343
59344 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
59345
59346 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
59347 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
59348 arguments.
59349
59350 2012-11-02 Roland McGrath <roland@hack.frob.com>
59351
59352 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
59353 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
59354 autoconf-time if not.
59355 * configure.in: Remove AC_PREREQ.
59356
59357 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
59358
59359 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
59360 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
59361 of the internal implementation.
59362
59363 2012-11-02 Joseph Myers <joseph@codesourcery.com>
59364
59365 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
59366 except include of <misc/sys/syslog.h>.
59367
59368 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
59369
59370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
59371 function returns with a NULL context exit with zero.
59372
59373 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
59374
59375 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
59376
59377 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
59378
59379 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
59380 (run_program_cmd): This.
59381 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
59382 (tst_langinfo): New variable. Use it.
59383
59384 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
59385
59386 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
59387 floating point opcodes.
59388
59389 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
59390
59391 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
59392 variable.
59393
59394 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
59395
59396 * sysdeps/mach/hurd/powerpc: Remove directory.
59397 * sysdeps/mach/powerpc: Likewise.
59398
59399 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
59400
59401 * scripts/check-local-headers.sh: Ignore c++ headers.
59402
59403 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
59404
59405 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
59406 __libc_cleanup_region_start argument.
59407
59408 2012-11-01 Joseph Myers <joseph@codesourcery.com>
59409
59410 [BZ #14784]
59411 [BZ #14785]
59412 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
59413 x * y using scaling, not as x * y + z.
59414 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59415 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59416 * math/libm-test.inc (fma_test): Add more tests.
59417 (fma_test_towardzero): Likewise.
59418 (fma_test_downward): Likewise.
59419 (fma_test_upward): Likewise.
59420
59421 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
59422
59423 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
59424
59425 2012-10-31 Joseph Myers <joseph@codesourcery.com>
59426
59427 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
59428 New variable.
59429
59430 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
59431
59432 * rt/tst-shm.c (worker): Correct checking for mmap failure.
59433
59434 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
59435
59436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59437 Fix sort order.
59438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59439 Likewise.
59440
59441 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
59442
59443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59444 Fix the order of the list for glibc 2.17.
59445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59446 Likewise.
59447
59448 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
59449
59450 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59451
59452 2012-10-31 Joseph Myers <joseph@codesourcery.com>
59453
59454 [BZ #14610]
59455 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
59456 for low part of x being zero before using __atanl (y).
59457 * math/libm-test.inc (atan2_test): Add another test.
59458
59459 * manual/install.texi (Configuring and compiling): Document
59460 general use of test-wrapper and test-wrapper-env.
59461 * INSTALL: Regenerated.
59462
59463 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
59464 (__fma): Do not extract and scale down low bits on after-rounding
59465 systems when result rounded to normal precision would have normal
59466 exponent.
59467 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
59468 (__fmal): Do not extract and scale down low bits on after-rounding
59469 systems when result rounded to normal precision would have normal
59470 exponent.
59471 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
59472 (__fmal): Do not extract and scale down low bits on after-rounding
59473 systems when result rounded to normal precision would have normal
59474 exponent.
59475 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
59476 macro.
59477 (fma_test): Add more tests.
59478 (fma_test_towardzero): Likewise.
59479 (fma_test_downward): Likewise.
59480 (fma_test_upward): Likewise.
59481
59482 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
59483
59484 * sysdeps/i386/tininess.h: Renamed to ...
59485 * sysdeps/x86/tininess.h: This.
59486 * sysdeps/x86_64/tininess.h: Removed.
59487
59488 2012-10-30 Joseph Myers <joseph@codesourcery.com>
59489
59490 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
59491 input. Use $(build-program-cmd).
59492 ($(objpfx)tst-array1-static.out): Likewise.
59493 ($(objpfx)tst-array2.out): Likewise.
59494 ($(objpfx)tst-array3.out): Likewise.
59495 ($(objpfx)tst-array4.out): Likewise.
59496 ($(objpfx)tst-array5.out): Likewise.
59497 ($(objpfx)tst-array5-static.out): Likewise.
59498
59499 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
59500
59501 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
59502 if defined.
59503
59504 * nss/nsswitch.h (nss_interface_function): Provide new
59505 macro for use with NSS functions.
59506 * grp/initgroups.c: Use new macro.
59507 * nss/getXXbyYY.c: Likewise.
59508 * nss/getXXbyYY_r.c: Likewise.
59509 * nss/getXXent.c: Likewise.
59510 * nss/getXXent_r.c: Likewise.
59511 * sysdeps/posix/getaddrinfo.c: Likewise.
59512
59513 2012-10-30 Andreas Jaeger <aj@suse.de>
59514
59515 * po/ru.po: Update Russion translation from translation project.
59516
59517 2012-10-30 Joseph Myers <joseph@codesourcery.com>
59518
59519 [BZ #14152]
59520 [BZ #14783]
59521 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
59522 result and shift together with sticky bit instead of replicating
59523 round-to-nearest rounding.
59524 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59525 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59526 * math/libm-test.inc (fma_test): Add more tests. Do not permit
59527 missing underflow exceptions.
59528 (fma_test_towardzero): Add more tests.
59529 (fma_test_downward): Likewise.
59530 (fma_test_upward): Likewise.
59531
59532 [BZ #14047]
59533 * sysdeps/generic/tininess.h: New file.
59534 * sysdeps/i386/tininess.h: Likewise.
59535 * sysdeps/sh/tininess.h: Likewise.
59536 * sysdeps/x86_64/tininess.h: Likewise.
59537 * stdlib/tst-strtod-underflow.c: Likewise.
59538 * stdlib/tst-tininess.c: Likewise.
59539 * stdlib/strtod_l.c: Include <tininess.h>.
59540 (round_and_return): Do not set errno for exact underflow cases.
59541 Force an underflow exception when setting errno for underflow.
59542 Determine underflow based on rounding to normal precision if
59543 TININESS_AFTER_ROUNDING.
59544 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
59545 ERANGE for exact underflow cases.
59546 * stdlib/Makefile (tests): Add tst-tininess and
59547 tst-strtod-underflow.
59548 ($(objpfx)tst-tininess): Use $(link-libm).
59549 ($(objpfx)tst-strtod-underflow): Likewise.
59550
59551 2012-10-30 Andreas Jaeger <aj@suse.de>
59552
59553 [BZ#14767]
59554 * elf/Makefile (tests): Remove conditional for have-initfini-array
59555 since this is now always required and the variable does not exist
59556 anymore.
59557 (tests-static): Likewise.
59558 (modules-names): Likewise.
59559
59560 * po/eo.po: Add Esperanto translation from translation project.
59561
59562 * elf/tst-array1.c (fini_array): Make writeable so that it can be
59563 merged with constructor/destructor.
59564 (init_array): Likewise.
59565 * elf/tst-array2dep.c (fini_array): Likewise.
59566 (init_array): Likewise.
59567
59568 2012-10-29 Mike Frysinger <vapier@gentoo.org>
59569
59570 * manual/message.texi: Delete @cartouche tags.
59571
59572 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
59573
59574 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
59575 EOPNOTSUPP.
59576 * sysdeps/mach/hurd/fsync.c: Likewise.
59577
59578 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
59579 [_POSIX_REALTIME_SIGNALS]: Change condition to
59580 [_POSIX_REALTIME_SIGNALS > 0].
59581
59582 2012-10-27 Andreas Jaeger <aj@suse.de>
59583
59584 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
59585 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
59586 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
59587 [__WORDSIZE != 64]: Likewise.
59588
59589 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
59590
59591 * iconvdata/tst-table.sh: Remove ${SHELL}.
59592 * iconvdata/tst-tables.sh: Likewise.
59593
59594 2012-10-25 David S. Miller <davem@davemloft.net>
59595
59596 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
59597 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
59598 of strtoull.
59599
59600 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
59601 ifunc-impl-list.c
59602 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
59603 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
59604 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
59605 file.
59606
59607 2012-10-25 Roland McGrath <roland@hack.frob.com>
59608
59609 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
59610 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
59611 __getdirentries.
59612
59613 2012-10-25 Joseph Myers <joseph@codesourcery.com>
59614 Jim Blandy <jimb@codesourcery.com>
59615
59616 * scripts/cross-test-ssh.sh: New file.
59617 * manual/install.texi (Configuring and compiling): Document use of
59618 cross-test-ssh.sh.
59619 * INSTALL: Regenerated.
59620
59621 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
59622
59623 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
59624 EOPNOTSUPP.
59625
59626 2012-10-25 Joseph Myers <joseph@codesourcery.com>
59627
59628 * Makeconfig (run-program-prefix): Fix comment.
59629
59630 2012-10-24 Joseph Myers <joseph@codesourcery.com>
59631 Jim Blandy <jimb@codesourcery.com>
59632
59633 * Makeconfig (test-wrapper): New variable,
59634 (test-wrapper-env): Likewise.
59635 [$(cross-compiling) = yes && $(test-wrapper) != ""]
59636 (run-built-tests): Define to yes.
59637 (run-program-prefix): Use $(test-wrapper).
59638 (built-program-cmd): Likewise.
59639 * Rules (make-test-out): Use $(test-wrapper-env) and
59640 $(host-built-program-cmd).
59641 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
59642 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
59643 tst-pathopt.sh.
59644 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
59645 $(test-wrapper-env) to tst-rtld-load-self.sh.
59646 ($(objpfx)order2.out): Use $(test-wrapper).
59647 ($(objpfx)tst-initorder.out): Likewise.
59648 ($(objpfx)tst-initorder2.out): Likewise.
59649 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
59650 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
59651 (test_wrapper_env): New variable. Use it to run ld.so.
59652 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
59653 Use it to run ld.so.
59654 (test_wrapper_env): Likewise.
59655 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
59656 $(test-wrapper) to run-iconv-test.sh.
59657 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
59658 (ICONV): Use $test_wrapper.
59659 * posix/Makefile ($(objpfx)globtest.out): Pass
59660 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
59661 globtest.sh, not $(run-program-prefix).
59662 * posix/globtest.sh (run_via_rtld_prefix): New variable.
59663 (test_wrapper): Likewise.
59664 (test_wrapper_env): Likewise. Use it to run globtest with HOME
59665 set together with run_via_rtld_prefix.
59666 (run_program_prefix): Define in terms of test_wrapper and
59667 run_via_rtld_prefix.
59668
59669 2012-10-24 Roland McGrath <roland@hack.frob.com>
59670
59671 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
59672 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
59673 Targets removed.
59674
59675 [BZ #14743]
59676 * include/time.h: Remove librt_hidden_proto (clock_gettime).
59677 Declare __clock_getres, __clock_gettime, __clock_settime,
59678 __clock_nanosleep, and __clock_getcpuclockid.
59679 * rt/clock_gettime.c: Define __clock_gettime as an alias.
59680 Remove librt_hidden_def (clock_gettime).
59681 * sysdeps/unix/clock_gettime.c: Likewise.
59682 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
59683 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
59684 * rt/clock_getres.c: Define __clock_getres as an alias.
59685 * sysdeps/posix/clock_getres.c: Likewise.
59686 * rt/clock_settime.c: Define __clock_settime as an alias.
59687 * sysdeps/unix/clock_settime.c: Likewise.
59688 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
59689 * sysdeps/unix/clock_nanosleep.c: Likewise.
59690 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
59691 * rt/clock-compat.c: New file.
59692 * rt/Makefile (librt-routines): Add clock-compat and move
59693 $(clock-routines) to ...
59694 (routines): ... here, new variable.
59695 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
59696 Don't add get_clockfreq here.
59697 * rt/Versions (libc: GLIBC_2.17): New version set.
59698 Add clock_* symbols here.
59699 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
59700 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
59701 (GLIBC_2.17): Add clock_* symbols.
59702 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
59703 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
59704 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
59705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59706 Likewise.
59707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59708 Likewise.
59709 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
59710 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
59711 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
59712 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
59713 * NEWS: Mention the move.
59714
59715 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
59716 Use __open, __read, __close rather than their public counterparts.
59717 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
59718 (__get_clockfreq_via_cpuinfo): Likewise.
59719 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
59720 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
59721
59722 * config.h.in (HAVE_IFUNC): New #undef.
59723 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
59724 was successful.
59725 * configure: Regenerated.
59726
59727 2012-10-24 Mike Frysinger <vapier@gentoo.org>
59728
59729 * configure.in: Move READELF check to start of file.
59730 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
59731 libc_cv_asm_gnu_indirect_function in the process.
59732 * configure: Regenerated.
59733
59734 2012-10-24 Mike Frysinger <vapier@gentoo.org>
59735
59736 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
59737 send the output to /dev/null.
59738 (libc_cv_cc_with_libunwind): Likewise.
59739 (libc_cv_as_noexecstack): Likewise.
59740 * configure: Regenerate.
59741
59742 2012-10-24 Joseph Myers <joseph@codesourcery.com>
59743
59744 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
59745
59746 * posix/globtest.sh (TMPDIR): Do not set.
59747 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
59748 (testout): Likewise.
59749
59750 2012-10-24 Andreas Jaeger <aj@suse.de>
59751
59752 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
59753 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
59754 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
59755 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
59756 posix_fadvise64, posix_fallocate64.
59757
59758 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
59759 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
59760 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
59761 Likewise.
59762 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
59763 Likewise.
59764 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
59765
59766 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
59767 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
59768 <bits/fcntl-linux.h>.
59769 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
59770
59771 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
59772 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
59773 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
59774 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
59775 [__WORDSIZE != 64]: Likewise.
59776
59777 2012-10-23 Joseph Myers <joseph@codesourcery.com>
59778
59779 * Makeconfig (run-built-tests): New variable.
59780 * Rules [$(cross-compiling) = yes]: Change condition to
59781 [$(run-built-tests) = no].
59782 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
59783 to [$(run-built-tests) = yes].
59784 * elf/Makefile [$(cross-compiling) = no]: Likewise.
59785 * grp/Makefile [$(cross-compiling) = no]: Likewise.
59786 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
59787 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
59788 * intl/Makefile [$(cross-compiling) = no]: Likewise.
59789 * io/Makefile [$(cross-compiling) = no]: Likewise.
59790 * libio/Makefile [$(cross-compiling) = no]: Likewise.
59791 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
59792 * misc/Makefile [$(cross-compiling) = no]: Likewise.
59793 * posix/Makefile [$(cross-compiling) = no]: Likewise.
59794 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
59795 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
59796 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
59797 * string/Makefile [$(cross-compiling) = no]: Likewise.
59798
59799 * posix/Makefile ($(objpfx)globtest.out): Pass
59800 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
59801 $(rtld-installed-name).
59802 * posix/globtest.sh (elf_objpfx): Remove variable.
59803 (rtld_installed_name): Likewise.
59804 (library_path): Likewise.
59805 (run_program_prefix): New variable. Use for running globtest
59806 binary.
59807
59808 2012-10-23 Jim Blandy <jimb@codesourcery.com>
59809 Joseph Myers <joseph@codesourcery.com>
59810
59811 * Makeconfig (host-built-program-cmd): New variable.
59812 * elf/Makefile (tst-stackguard1-ARGS): Use
59813 $(host-built-program-cmd).
59814 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
59815 (tst-spawn-ARGS): Likewise.
59816 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
59817
59818 2012-10-23 Joseph Myers <joseph@codesourcery.com>
59819 Jim Blandy <jimb@codesourcery.com>
59820
59821 * Makeconfig (run-via-rtld-prefix): New variable.
59822 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
59823 (built-program-cmd): Likewise.
59824
59825 2012-10-22 Andreas Jaeger <aj@suse.de>
59826
59827 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
59828 __O_RSYNC if it exists, otherwise to O_SYNC.
59829
59830 2012-10-22 Jim Blandy <jimb@codesourcery.com>
59831 Joseph Myers <joseph@codesourcery.com>
59832
59833 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
59834 /dev/null.
59835 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
59836 from /dev/null
59837 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
59838 /dev/null.
59839
59840 2012-10-22 Andreas Jaeger <aj@suse.de>
59841
59842 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
59843 Define always.
59844 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
59845
59846 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59847 bits/fcntl-linux.h.
59848
59849 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
59850 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
59851
59852 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
59853 to __O_LARGEFILE.
59854 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
59855 to __O_LARGEFILE.
59856
59857 2012-10-21 Jim Blandy <jimb@codesourcery.com>
59858 Joseph Myers <joseph@codesourcery.com>
59859
59860 * config.make.in (NM): New variable.
59861
59862 2012-10-21 Andreas Jaeger <aj@suse.de>
59863
59864 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
59865 definitions and declarations that are provided by
59866 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
59867
59868 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
59869
59870 [BZ #14683]
59871 * elf/Makefile (tests-static): Add tst-leaks1-static.
59872 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
59873 ($(objpfx)tst-leaks1-static): New rule.
59874 ($(objpfx)tst-leaks1-static-mem): Likewise.
59875 (tst-leaks1-static-ENV): New macro.
59876 * elf/dl-open.c (dl_open_worker): Check the main application
59877 only if SHARED is defined.
59878 * elf/tst-leaks1-static.c: New file.
59879
59880 2012-10-20 Andreas Jaeger <aj@suse.de>
59881
59882 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
59883 generic values for Linux.
59884 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
59885 and declarations that are provided by <bits/fcntl-linux.h> and
59886 include <bits/fcntl-linux.h>.
59887 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59888 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59889
59890 2012-10-20 Roland McGrath <roland@hack.frob.com>
59891
59892 * io/fcntl.h: Move include of <bits/types.h> to the top and
59893 include it unconditionally.
59894
59895 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
59896
59897 * wcsmbs/Makefile (tests-ifunc): New variable.
59898 (tests): Add $(tests-ifunc).
59899 * wcsmbs/test-wcschr-ifunc.c: New file.
59900 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
59901 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
59902 * wcsmbs/test-wcslen-ifunc.c: Likewise.
59903 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
59904 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
59905
59906 * string/Makefile (tests-ifunc): New variable.
59907 (tests): Add $(tests-ifunc).
59908 * string/test-memccpy.c (TEST_NAME): New macro.
59909 * string/test-memchr.c (TEST_NAME): Likewise.
59910 * string/test-memcmp.c (TEST_NAME): Likewise.
59911 * string/test-memcpy.c (TEST_NAME): Likewise.
59912 * string/test-memmem.c (TEST_NAME): Likewise.
59913 * string/test-memmove.c (TEST_NAME): Likewise.
59914 * string/test-memset.c (TEST_NAME): Likewise.
59915 * string/test-rawmemchr.c (TEST_NAME): Likewise.
59916 * string/test-stpcpy.c (TEST_NAME): Likewise.
59917 * string/test-stpncpy.c (TEST_NAME): Likewise.
59918 * string/test-strcasecmp.c (TEST_NAME): Likewise.
59919 * string/test-strcasestr.c (TEST_NAME): Likewise.
59920 * string/test-strcat.c (TEST_NAME): Likewise.
59921 * string/test-strchr.c (TEST_NAME): Likewise.
59922 * string/test-strcmp.c(TEST_NAME): Likewise.
59923 * string/test-strcpy.c (TEST_NAME): Likewise.
59924 * string/test-strcspn.c (TEST_NAME): Likewise.
59925 * string/test-strlen.c (TEST_NAME): Likewise.
59926 * string/test-strncasecmp.c (TEST_NAME): Likewise.
59927 * string/test-strncmp.c (TEST_NAME): Likewise.
59928 * string/test-strncpy.c (TEST_NAME): Likewise.
59929 * string/test-strnlen.c (TEST_NAME): Likewise.
59930 * string/test-strpbrk.c (TEST_NAME): Likewise.
59931 * string/test-strrchr.c (TEST_NAME): Likewise.
59932 * string/test-strspn.c (TEST_NAME): Likewise.
59933 * string/test-strstr.c (TEST_NAME): Likewise.
59934 * string/test-bcopy-ifunc.c: New file.
59935 * string/test-bzero-ifunc.c: Likewise.
59936 * string/test-memccpy-ifunc.c: Likewise.
59937 * string/test-memchr-ifunc.c: Likewise.
59938 * string/test-memcmp-ifunc.c: Likewise.
59939 * string/test-memcpy-ifunc.c: Likewise.
59940 * string/test-memmem-ifunc.c: Likewise.
59941 * string/test-memmove-ifunc.c: Likewise.
59942 * string/test-mempcpy-ifunc.c: Likewise.
59943 * string/test-memset-ifunc.c: Likewise.
59944 * string/test-rawmemchr-ifunc.c: Likewise.
59945 * string/test-stpcpy-ifunc.c: Likewise.
59946 * string/test-stpncpy-ifunc.c: Likewise.
59947 * string/test-strcasecmp-ifunc.c: Likewise.
59948 * string/test-strcasestr-ifunc.c: Likewise.
59949 * string/test-strcat-ifunc.c: Likewise.
59950 * string/test-strchr-ifunc.c: Likewise.
59951 * string/test-strchrnul-ifunc.c: Likewise.
59952 * string/test-strcmp-ifunc.c: Likewise.
59953 * string/test-strcpy-ifunc.c: Likewise.
59954 * string/test-strcspn-ifunc.c: Likewise.
59955 * string/test-strlen-ifunc.c: Likewise.
59956 * string/test-strncasecmp-ifunc.c: Likewise.
59957 * string/test-strncat-ifunc.c: Likewise.
59958 * string/test-strncmp-ifunc.c: Likewise.
59959 * string/test-strncpy-ifunc.c: Likewise.
59960 * string/test-strnlen-ifunc.c: Likewise.
59961 * string/test-strpbrk-ifunc.c: Likewise.
59962 * string/test-strrchr-ifunc.c: Likewise.
59963 * string/test-strspn-ifunc.c: Likewise.
59964 * string/test-strstr-ifunc.c: Likewise.
59965
59966 * debug/Makefile (tests-ifunc): New variable.
59967 (tests): Add $(tests-ifunc).
59968 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
59969 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
59970 * debug/test-stpcpy_chk-ifunc.c: New file.
59971 * debug/test-strcpy_chk-ifunc.c: Likewise.
59972
59973 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
59974
59975 [BZ #13601]
59976 * elf/dl-load.c (open_verify): Retry read if the entire ELF
59977 header is not read in.
59978
59979 2012-10-19 Joseph Myers <joseph@codesourcery.com>
59980
59981 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
59982 script to $(SHELL) as $<. Pass $(common-objpfx) to script
59983 directly. Pass built executable to script as
59984 $(built-program-cmd).
59985 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
59986 $testprogram without using LD_LIBRARY_PATH and $ldso.
59987
59988 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
59989 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
59990 $(rtld-installed-name).
59991 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
59992 (rtld_installed_name): Likewise.
59993 (library_path): Likewise.
59994 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
59995 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
59996 $(run-program-prefix) to tst-tables.sh.
59997 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
59998 it to run tst-table-from and tst-table-to.
59999 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
60000 Pass it to tst-table.sh.
60001 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
60002 $(run-program-prefix) to tst-gettext.sh.
60003 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
60004 tst-translit.sh.
60005 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
60006 tst-gettext2.sh.
60007 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
60008 to run tst-gettext.
60009 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
60010 to run tst-gettext2.
60011 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
60012 to run tst-translit.
60013 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
60014 $(run-program-prefix) to tst-mtrace.sh.
60015 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
60016 to run tst-mtrace.
60017 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
60018 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
60019 $(rtld-installed-name).
60020 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
60021 (rtld_installed_name): Likewise.
60022 (run_program_prefix): New variable. Use it to run wordexp-test.
60023
60024 * Makeconfig (ARCH): Remove all definitions.
60025 (machine): Likewise.
60026 [ARCH]: Remove conditional code.
60027 [!objdir]: Give error.
60028 [!objdir] (objpfx): Remove.
60029 [!objdir] (common-objpfx): Likewise.
60030 [!objdir] (common-objdir): Likewise.
60031 * configure.in (config_makefile): Remove. Hardcode Makefile in
60032 AC_CONFIG_FILES call.
60033 * configure: Regenerated.
60034
60035 [BZ #13888]
60036 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
60037 or TMPDIR.
60038 (testout): Likewise.
60039
60040 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
60041 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
60042 $(rtld-installed-name).
60043 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
60044 (rtld_installed_name): Likwise.
60045 (runit): Remove function.
60046 (run_getconf): New variable, Use it for running getconf binary.
60047
60048 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
60049
60050 [BZ #14716]
60051 * string/test-memmem.c (check_result): New function.
60052 (do_one_test): Use it.
60053 (check1): New function.
60054 (test_main): Use it.
60055
60056 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
60057
60058 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
60059
60060 2012-10-18 Joseph Myers <joseph@codesourcery.com>
60061
60062 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
60063 (_G_LSEEK64): Likewise.
60064 (_G_MMAP64): Likewise.
60065 (_G_FSTAT64): Likewise.
60066 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
60067 (_G_LSEEK64): Likewise.
60068 (_G_MMAP64): Likewise.
60069 (_G_FSTAT64): Likewise.
60070 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
60071 unconditional. Call __mmap64 directly.
60072 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
60073 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
60074 __lseek64 directly.
60075 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
60076 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
60077 __mmap64 directly.
60078 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
60079 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
60080 __lseek64 directly.
60081 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
60082 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
60083 __lseek64 directly.
60084 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
60085 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
60086 __lseek64 directly.
60087 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
60088 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
60089 __fxstat64 directly.
60090 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
60091 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
60092 unconditional.
60093 (freopen64) [!_G_OPEN64]: Remove conditional code.
60094 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
60095 unconditional.
60096 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
60097 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
60098 unconditional.
60099 (ftello64) [!_G_LSEEK64]: Remove conditional code.
60100 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
60101 unconditional.
60102 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
60103 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
60104 unconditional.
60105 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
60106 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
60107 unconditional.
60108 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
60109 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
60110 unconditional.
60111 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
60112 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
60113 unconditional.
60114 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
60115
60116 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
60117
60118 [BZ #12140]
60119 * manual/memory.texi (Malloc Tunable Parameters): Add note
60120 about free list pointers overwriting some perturb bytes.
60121 Wording suggested by Roland McGrath.
60122
60123 2012-10-17 Joseph Myers <joseph@codesourcery.com>
60124
60125 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
60126 (lgamma_test): Likewise.
60127 (tgamma_test): Likewise.
60128
60129 2012-10-16 Florian Weimer <fweimer@redhat.com>
60130
60131 [BZ #14700]
60132 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
60133 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
60134
60135 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
60136
60137 * NEWS: Mention BZ #14716.
60138 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
60139 when removing AVAILABLE1_USES_J macro.
60140
60141 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
60142
60143 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
60144 (__bswap_64): __uint64_t for unsigned 64-bit int.
60145
60146 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
60147
60148 * include/string.h (memmem): Declare libc hidden alias.
60149 * string/memmem.c (memmem): Define libc hidden alias.
60150 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
60151 __read, __close instead of open, read, close.
60152
60153 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
60154
60155 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
60156 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
60157 global and hidden.
60158 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
60159 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
60160 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
60161 Likewise.
60162 (__rawmemchr_sse2): Likewise.
60163 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
60164 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
60165 (__strchr_sse2): Likewise.
60166 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
60167 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
60168 (__strcasecmp_sse2): Likewise.
60169 (__strncasecmp_sse2): Likewise.
60170 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
60171 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
60172 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
60173 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
60174 (__strrchr_sse2): Likewise.
60175 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
60176 ifunc-impl-list.c.
60177 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
60178 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
60179 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
60180 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
60181 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
60182 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
60183 * sysdeps/x86_64/multiarch/memset.S: Likewise.
60184 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
60185 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
60186 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
60187 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
60188 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
60189 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
60190 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
60191 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
60192 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
60193 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
60194 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
60195 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
60196 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
60197 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
60198 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
60199 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
60200 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
60201 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
60202 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
60203 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
60204 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
60205 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
60206 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
60207
60208 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
60209 global and hidden.
60210 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
60211 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
60212 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
60213 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
60214 Likewise.
60215 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
60216 Likewise.
60217 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
60218 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
60219 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
60220 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
60221 ifunc-impl-list.c.
60222 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
60223 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
60224 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
60225 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
60226 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
60227 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
60228 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
60229 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
60230 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
60231 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
60232 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
60233 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
60234 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
60235 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
60236 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
60237 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
60238 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
60239 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
60240 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
60241 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
60242 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
60243 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
60244 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
60245 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
60246 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
60247 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
60248 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
60249 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
60250 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
60251 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
60252 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
60253 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
60254 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
60255 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
60256 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
60257 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
60258 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
60259 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
60260 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
60261 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
60262 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
60263
60264 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
60265 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
60266 * include/ifunc-impl-list.h: New file.
60267 * misc/ifunc-impl-list.c: Likewise.
60268 * misc/Makefile (routines): Add ifunc-impl-list.
60269 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
60270 * string/test-string.h: Include <ifunc-impl-list.h>.
60271 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
60272 TEST_NAME]: New variables.
60273 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
60274 are defined.
60275 (test_init): Call __libc_ifunc_impl_list to initialize
60276 func_list if TEST_IFUNC and TEST_NAME are defined.
60277
60278 * string/Makefile (strop-tests): Add bcopy and bzero.
60279 * string/test-bcopy.c: New file.
60280 * string/test-bzero.c: Likewise.
60281 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
60282 defined.
60283 * string/test-memset.c: Support bzero test if TEST_BZERO is
60284 defined.
60285 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
60286 __libc_memmove.
60287 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
60288 __libc_memset.
60289 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
60290 of memset.
60291
60292 2012-10-10 Joseph Myers <joseph@codesourcery.com>
60293
60294 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
60295 * configure: Regenerated.
60296
60297 * Makeconfig (+link-static-before-libc): Don't include
60298 $(link-static-libc).
60299
60300 * libio/libio.h (_IO_pos_t): Remove.
60301
60302 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
60303
60304 * NEWS: Add note about FIPS mode. Wording suggested by Roland
60305 McGrath.
60306
60307 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
60308
60309 * crypt/crypt-entry.c: Include fips-private.h.
60310 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
60311 * crypt/md5c-test.c (main): Tolerate disabled MD5.
60312 * sysdeps/unix/sysv/linux/fips-private.h: New file.
60313 * sysdeps/generic/fips-private.h: New file, dummy fallback.
60314
60315 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
60316
60317 * crypt/crypt-private.h: Include stdbool.h.
60318 (_ufc_setup_salt_r): Return bool.
60319 * crypt/crypt-entry.c: Include errno.h.
60320 (__crypt_r): Return NULL with EINVAL for bad salt.
60321 * crypt/crypt_util.c (bad_for_salt): New.
60322 (_ufc_setup_salt_r): Check that salt is long enough and within
60323 the specified alphabet.
60324 * crypt/badsalttest.c: New file.
60325 * crypt/Makefile (tests): Add it.
60326 ($(objpfx)badsalttest): New.
60327
60328 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
60329
60330 * NEWS: Add entry for BZ #14602.
60331
60332 2012-10-09 Joseph Myers <joseph@codesourcery.com>
60333
60334 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
60335 type-generic.
60336 * math/libm-test.inc: Update comment listing what functions and
60337 macros are tested.
60338 (isgreater_test): New function.
60339 (isgreaterequal_test): Likewise.
60340 (isless_test): Likewise.
60341 (islessequal_test): Likewise.
60342 (islessgreater_test): Likewise.
60343 (isunordered_test): Likewise.
60344 (main): Call the new functions.
60345
60346 2012-10-09 Roland McGrath <roland@hack.frob.com>
60347
60348 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
60349 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
60350 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
60351 * sysdeps/i386/configure: Regenerated.
60352 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
60353 * sysdeps/mach/configure: Regenerated.
60354 * sysdeps/mach/hurd/configure: Regenerated.
60355 * sysdeps/powerpc/configure: Regenerated.
60356 * sysdeps/powerpc/powerpc32/configure: Regenerated.
60357 * sysdeps/powerpc/powerpc64/configure: Regenerated.
60358 * sysdeps/s390/s390-32/configure: Regenerated.
60359 * sysdeps/s390/s390-64/configure: Regenerated.
60360 * sysdeps/sh/configure: Regenerated.
60361 * sysdeps/sparc/configure: Regenerated.
60362 * sysdeps/unix/sysv/linux/configure: Regenerated.
60363 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
60364 * sysdeps/x86_64/configure: Regenerated.
60365
60366 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
60367 defined. Don't check if MAP is NULL.
60368
60369 2012-10-09 Joseph Myers <joseph@codesourcery.com>
60370
60371 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
60372 (_G_stat64): Likewise.
60373 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
60374 (_G_stat64): Likewise.
60375 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
60376 instead of struct _G_stat64.
60377 * libio/fileops.c (mmap_remap_check): Likewise.
60378 (decide_maybe_mmap): Likewise.
60379 (_IO_new_file_seekoff): Likewise.
60380 (_IO_file_stat): Likewise.
60381 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
60382 _G_off64_t.
60383 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
60384 instead of struct _G_stat64.
60385 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
60386
60387 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
60388
60389 [BZ #14602]
60390 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
60391 Replace with ...
60392 (CHECK_EOL): New macro.
60393 (two_way_short_needle): Check beginning of haystack for EOL. Use
60394 CHECK_EOL.
60395 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
60396 Replace with CHECK_EOL.
60397 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
60398 Replace with CHECK_EOL.
60399
60400 2012-10-08 Joseph Myers <joseph@codesourcery.com>
60401
60402 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
60403 type-generic.
60404 * math/libm-test.inc: Update comment listing what functions and
60405 macros are tested.
60406 (finite_test): New function.
60407 (isinf_test): Likewise.
60408 (isnan_test): Likewise.
60409 (fpclassify_test): Test subnormal input.
60410 (isfinite_test): Likewise.
60411 (isnormal_test): Likewise.
60412 (main): Call the new functions.
60413
60414 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
60415
60416 [BZ #14660]
60417 * Makerules (%.dynsym): Force C locale when running
60418 $(OBJDUMP) --dynamic-syms.
60419
60420 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
60421
60422 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
60423 <stdint.h>.
60424
60425 2012-10-06 David S. Miller <davem@davemloft.net>
60426
60427 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
60428 upper 32-bits of the length value in %o2 since we use branch-on-register
60429 tests which consider the entire 64-bit register.
60430
60431 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
60432
60433 * string/test-strstr.c (check2): Add a test for page boundary.
60434
60435 2012-10-05 David S. Miller <davem@davemloft.net>
60436
60437 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
60438 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
60439 file.
60440 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
60441 sysdep_routines.
60442 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
60443 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
60444 and bzero when HWCAP_SPARC_CRYPTO is present.
60445
60446 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
60447
60448 [BZ #14602]
60449 * string/test-strstr.c (check2): New function.
60450 (test_main): Call check2.
60451
60452 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
60453 and bug-strchr1.
60454 * string/bug-strcasestr1.c (do_test): Moved to ...
60455 * string/test-strcasestr.c (check1): Here. New function.
60456 (do_one_test): Break out result checking code into ...
60457 (check_result): This. New function.
60458 (do_one_test): Call check_result.
60459 (test_main): Call check1.
60460 * string/bug-strchr1.c (do_test): Moved to ...
60461 * string/test-strchr.c (check1): Here. New function.
60462 (do_one_test): Break out result checking code into ...
60463 (check_result): This. New function.
60464 (do_one_test): Call check_result.
60465 (test_main): Call check1.
60466 * string/bug-strstr1.c (main): Moved to ...
60467 * string/test-strstr.c (check1): Here. New function.
60468 (do_one_test): Break out result checking code into ...
60469 (check_result): This. New function.
60470 (do_one_test): Call check_result.
60471 (test_main): Call check1.
60472 * string/bug-strcasestr1.c: Removed.
60473 * string/bug-strchr1.c: Likewise.
60474 * string/bug-strstr1.c: Likewise.
60475
60476 * elf/Makefile (dl-routines): Add hwcaps.
60477 * elf/dl-support.c (_dl_important_hwcaps): Removed.
60478 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
60479 (_dl_important_hwcaps): Moved to ...
60480 * elf/dl-hwcaps.c: Here. New file.
60481 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
60482
60483 [BZ #14557]
60484 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
60485 if IS_IN_rtld isn't defined.
60486
60487 * elf/dl-support.c (_dl_sysinfo_map): New.
60488 Include "get-dynamic-info.h" and "setup-vdso.h".
60489 (_dl_non_dynamic_init): Call setup_vdso.
60490 * elf/dynamic-link.h: Don't include <assert.h>.
60491 (elf_get_dynamic_info): Moved to ...
60492 * elf/get-dynamic-info.h: Here. New file.
60493 * elf/dynamic-link.h: Include "get-dynamic-info.h".
60494 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
60495 * elf/setup-vdso.h: Here. New file.
60496 * elf/rtld.c: Include "setup-vdso.h".
60497 (dl_main): Call setup_vdso.
60498
60499 2012-10-05 Joseph Myers <joseph@codesourcery.com>
60500
60501 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
60502 creal in comment listing functions tested. List finite, isinf,
60503 isnan, isless, islessequal, isgreater, isgreaterequal,
60504 islessgreater, isunordered, lgamma_r and pow10 as functions and
60505 macros not tested. Mention which functions not tested are aliases
60506 for other functions. Fix typo. Note that signs of NaNs are not
60507 tested.
60508
60509 * scripts/config.guess: Update from config.git.
60510 * scripts/config.sub: Likewise.
60511
60512 2012-10-04 Roland McGrath <roland@hack.frob.com>
60513
60514 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
60515 * misc/madvise.c (madvise): Renamed to __madvise.
60516 Make madvise a weak alias.
60517 * include/sys/mman.h: Declare __madvise.
60518 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
60519 * sysdeps/unix/syscalls.list
60520 (madvise): Make __madvise the strong name, and madvise a weak alias.
60521 * sysdeps/unix/sysv/linux/syscalls.list
60522 (madvise, mmap): Remove redundant entries.
60523 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
60524 * malloc/malloc.c (mtrim): Likewise.
60525 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
60526
60527 2012-10-03 Roland McGrath <roland@hack.frob.com>
60528
60529 * sysdeps/mach/hurd/dl-cache.c: File removed.
60530 * config.h.in (USE_LDCONFIG): New #undef.
60531 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
60532 * configure: Regenerated.
60533 * elf/Makefile (dl-routines): Add dl-cache only under
60534 [$(use-ldconfig) = yes].
60535 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
60536 cache on [USE_LDCONFIG].
60537 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
60538 [USE_LDCONFIG].
60539 * elf/rtld.c (dl_main): Likewise.
60540
60541 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
60542
60543 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
60544 _SC_LEVEL4_CACHE_LINESIZE.
60545
60546 2012-10-03 Roland McGrath <roland@hack.frob.com>
60547
60548 * sysdeps/unix/bsd/confstr.h: File removed.
60549
60550 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
60551
60552 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
60553 sys/sdt-config.h.
60554
60555 2012-10-02 Roland McGrath <roland@hack.frob.com>
60556
60557 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
60558 Make 'mapoff' field ElfW(Off) rather than off_t.
60559
60560 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
60561
60562 * nscd/Makefile: Remove nscd-cflags and all its users.
60563 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
60564 (CFLAGS-nonlib): Add compiler flags for nscd modules.
60565
60566 [BZ #10631]
60567 * malloc.c (malloc_printerr): Clarify error message.
60568
60569 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
60570
60571 [BZ #14648]
60572 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60573 Set bit_FMA_Usable if FMA is supported.
60574 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
60575 macro.
60576 (bit_FMA4_Usable): Updated.
60577 (index_FMA_Usable): New macro.
60578 (CPUID_FMA): Likewise.
60579 (HAS_FMA): Defined with bit_FMA_Usable.
60580
60581 2012-10-01 Roland McGrath <roland@hack.frob.com>
60582
60583 * bits/types.h (__swblk_t): Type removed.
60584 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
60585 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
60586 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
60587 (__SWBLK_T_TYPE): Likewise.
60588 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
60589 (__SWBLK_T_TYPE): Likewise.
60590 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60591 (__SWBLK_T_TYPE): Likewise.
60592 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
60593 (__SWBLK_T_TYPE): Likewise.
60594
60595 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
60596 Honza Horak <hhorak@redhat.com>
60597
60598 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
60599 (xdr_mapname): Use YPMAXMAP as maxsize.
60600 (xdr_peername): Use YPMAXPEER as maxsize.
60601 (xdr_keydat): Use YPAXRECORD as maxsize.
60602 (xdr_valdat): Use YPMAXRECORD as maxsize.
60603
60604 2012-10-01 Roland McGrath <roland@hack.frob.com>
60605
60606 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
60607
60608 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
60609 * csu/init-first.c: ... here.
60610 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
60611 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
60612 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
60613 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
60614 * sysdeps/i386/init-first.c: File removed.
60615 * sysdeps/sh/init-first.c: File removed.
60616
60617 2012-10-01 Joseph Myers <joseph@codesourcery.com>
60618
60619 [BZ #14645]
60620 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
60621 if x * y might underflow to zero and z is zero.
60622 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
60623 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60624 * math/libm-test.inc (min_subnorm_value): New variable.
60625 (fma_test): Add more tests.
60626 (fma_test_towardzero): Likewise.
60627 (fma_test_downward): Likewise.
60628 (fma_test_upward): Likewise.
60629 (initialize): Set min_subnorm_value.
60630
60631 2012-09-29 Joseph Myers <joseph@codesourcery.com>
60632
60633 [BZ #14638]
60634 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
60635 0 + 0.
60636 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
60637 mode for addition resulting in exact zero.
60638 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
60639 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
60640 exact 0 + 0.
60641 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
60642 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60643 * math/libm-test.inc (fma_test): Add more tests.
60644 (fma_test_towardzero): New function.
60645 (fma_test_downward): Likewise.
60646 (fma_test_upward): Likewise.
60647 (main): Call the new functions.
60648
60649 2012-09-28 David S. Miller <davem@davemloft.net>
60650
60651 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
60652
60653 2012-09-28 Roland McGrath <roland@hack.frob.com>
60654
60655 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
60656 instead of SIGALRM.
60657
60658 * sysdeps/gnu/_G_config.h: Moved to ...
60659 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
60660 * sysdeps/mach/hurd/_G_config.h: Moved to ...
60661 * sysdeps/generic/_G_config.h: ... here.
60662
60663 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
60664
60665 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
60666
60667 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
60668 Conditionalize target on [libnss_test1.so-version].
60669
60670 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
60671
60672 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
60673 (elfobjdir): Move out of conditionals.
60674
60675 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
60676 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
60677 (__nss_lookup_function): Conditionalize label remove_from_tree on
60678 [!DO_STATIC_NSS || SHARED], matching its only use.
60679
60680 2012-09-28 David S. Miller <davem@davemloft.net>
60681
60682 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
60683 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
60684 file.
60685 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
60686 sysdep_routines.
60687 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
60688 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
60689 when HWCAP_SPARC_CRYPTO is present.
60690
60691 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
60692
60693 * io/tst-mknodat.c: Create a FIFO instead of a socket.
60694
60695 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
60696
60697 [BZ #6530]
60698 * stdio-common/vfprintf.c (process_string_arg): Revert
60699 2000-07-22 change.
60700
60701 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
60702
60703 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
60704 for testcase.
60705 * stdio-common/tst-sprintf.c: Include <locale.h>
60706 (main): Test sprintf's handling of incomplete multibyte
60707 characters.
60708
60709 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
60710
60711 * elf/dl-runtime.c (VERSYMIDX): Removed.
60712 * elf/dl-version.c (VERSYMIDX): Likewise.
60713 * elf/do-rel.h (VERSYMIDX): Likewise.
60714 (VALIDX): Likewise.
60715 * elf/dynamic-link.h (VERSYMIDX): Likewise.
60716 * elf/rtld.c (VALIDX): Likewise.
60717 (ADDRIDX): Likewise.
60718 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
60719 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
60720 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
60721 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
60722 (VALIDX): Likewise.
60723 (ADDRIDX): Likewise.
60724
60725 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
60726
60727 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
60728
60729 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
60730
60731 [BZ #11438]
60732 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
60733 to global scope.
60734 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
60735 addresses are in the same scope as 192.0.2/24.
60736 * posix/gai.conf: Document new scope table defaults.
60737
60738 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
60739
60740 [BZ #5298]
60741 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
60742 for ftell. Compute offsets from write pointers instead.
60743 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
60744
60745 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
60746
60747 [BZ #14543]
60748 * libio/Makefile (tests): New test case tst-fseek.
60749 * libio/tst-fseek.c: New test case to verify that fseek/ftell
60750 combination works in wide mode.
60751 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
60752 state when the external buffer state changes.
60753
60754 2012-09-27 David S. Miller <davem@davemloft.net>
60755
60756 [BZ #14376]
60757 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
60758 pass reloc->r_addend in as the 'high' argument to
60759 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
60760
60761 * sysdeps/sparc/fpu/libm-test-ulps: Update.
60762
60763 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
60764
60765 * rt/tst-aio2.c: Include <pthread.h>.
60766 * rt/tst-aio3.c: Likewise.
60767
60768 2012-09-27 Steve Ellcey <sellcey@mips.com>
60769
60770 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
60771
60772 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
60773
60774 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
60775 contents on [SHARED].
60776
60777 2012-09-26 Marek Polacek <polacek@redhat.com>
60778
60779 [BZ #14530]
60780 [BZ #13741]
60781 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
60782 for C++ and GCC <4.3 as well as for non GCC compilers.
60783
60784 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
60785
60786 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60787
60788 2012-09-25 Roland McGrath <roland@hack.frob.com>
60789
60790 * Makefile.in (all, install): Declare with .PHONY.
60791 Reported by Michael Hope <michael.hope@linaro.org>.
60792
60793 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
60794
60795 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
60796 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
60797 system header.
60798 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
60799 Likewise.
60800 (sydep_routines): Add the new and the internal functions.
60801 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
60802 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
60803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
60804 (GLIBC_2.17): Add the new function.
60805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
60806 (GLIBC_2.17): Likewise.
60807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
60808 (GLIBC_2.17): Likewise.
60809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
60810 (GLIBC_2.17): Likewise.
60811 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
60812
60813 2012-09-25 Alan Modra <amodra@gmail.com>
60814
60815 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
60816 Add release barrier before setting once_control to say
60817 initialisation is done. Add hints on lwarx. Use macro in
60818 place of isync.
60819 (clear_once_control): Add release barrier.
60820
60821 2012-09-25 Joseph Myers <joseph@codesourcery.com>
60822
60823 [BZ #13629]
60824 * math/s_clog.c (__clog): Handle more values close to |z| = 1
60825 specially.
60826 * math/s_clog10.c (__clog10): Likewise.
60827 * math/s_clog10f.c (__clog10f): Likewise.
60828 * math/s_clog10l.c (__clog10l): Likewise.
60829 * math/s_clogf.c (__clogf): Likewise.
60830 * math/s_clogl.c (__clogl): Likewise.
60831 * math/Makefile (libm-calls): Add x2y2m1.
60832 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
60833 (__x2y2m1): Likewise.
60834 (__x2y2m1l): Likewise.
60835 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
60836 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
60837 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
60838 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
60839 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
60840 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
60841 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
60842 * sysdeps/i386/fpu/libm-test-ulps: Update.
60843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60844
60845 [BZ #14621]
60846 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
60847 int as type of variable DEPTH.
60848 (glob): Use size_t instead of int as type of variables NEWCOUNT
60849 and OLD_PATHC.
60850
60851 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60852
60853 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
60854 Add s_sincosf-sse2.
60855 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
60856 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
60857 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
60858 macros for using routine as __sincosf_ia32.
60859 Use macro for function declaration and weak_alias.
60860 * sysdeps/i386/fpu/libm-test-ulps: Update.
60861
60862 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
60863 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60864
60865 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
60866 subnormal argument.
60867 * math/s_cexpf.c (__cexpf): Likewise.
60868 * math/s_csinf.c (__csinf): Likewise.
60869 * math/s_csinhf.c (__csinhf): Likewise.
60870 * math/s_ctanf.c (__ctanf): Likewise.
60871 * math/s_ctanhf.c (__ctanhf): Likewise.
60872 * math/s_ccosh.c (__ccoshf): Likewise.
60873 * math/s_cexp.c (__cexpl): Likewise.
60874 * math/s_csin.c (__csin): Likewise.
60875 * math/s_csinh.c (__csinh): Likewise.
60876 * math/s_ctan.c (__ctan): Likewise.
60877 * math/s_ctanh.c (ctanh): Likewise.
60878 * math/s_ccoshl.c (__ccoshl): Likewise.
60879 * math/s_cexpl.c (__cexpl): Likewise.
60880 * math/s_csinl.c (__csinl): Likewise.
60881 * math/s_csinhl.c (__csinhl): Likewise.
60882 * math/s_ctanl.c (__ctanl): Likewise.
60883 * math/s_ctanhl.c (__ctanhl): Likewise.
60884
60885 2012-09-25 Joseph Myers <joseph@codesourcery.com>
60886
60887 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
60888 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
60889 (_IO_off_t): Define to __off_t, not _G_off_t.
60890 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
60891 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
60892 (_IO_wint_t): Define to wint_t, not _G_wint_t.
60893 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
60894 type of __dummy and __dummy2 fields.
60895 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
60896 (_G_ssize_t): Likewise.
60897 (_G_off_t): Likewise.
60898 (_G_pid_t): Likewise.
60899 (_G_uid_t): Likewise.
60900 (_G_wchar_t): Likewise.
60901 (_G_wint_t): Likewise.
60902 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
60903 (_G_ssize_t): Likewise.
60904 (_G_off_t): Likewise.
60905 (_G_pid_t): Likewise.
60906 (_G_uid_t): Likewise.
60907 (_G_wchar_t): Likewise.
60908 (_G_wint_t): Likewise.
60909 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
60910 (_G_ssize_t): Likewise.
60911 (_G_off_t): Likewise.
60912 (_G_pid_t): Likewise.
60913 (_G_uid_t): Likewise.
60914 (_G_wchar_t): Likewise.
60915 (_G_wint_t): Likewise.
60916
60917 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
60918
60919 * malloc/arena.c: Include malloc-sysdep.h.
60920 (shrink_heap): Use check_may_shrink_heap to decide if madvise
60921 is sufficient to shrink the heap or an unmap is needed.
60922 * sysdeps/generic/malloc-sysdep.h: New file. Define
60923 new function check_may_shrink_heap.
60924 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
60925 new function check_may_shrink_heap.
60926
60927 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
60928
60929 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
60930 comments.
60931
60932 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
60933
60934 * catgets/test-gencat.sh: Add "set -e".
60935 * elf/tst-pathopt.sh: Likewise.
60936 * grp/tst_fgetgrent.sh: Likewise.
60937 * iconvdata/run-iconv-test.sh: Likewise.
60938 * intl/tst-gettext.sh: Likewise.
60939 * intl/tst-gettext2.sh: Likewise.
60940 * intl/tst-gettext4.sh: Likewise.
60941 * intl/tst-gettext6.sh: Likewise.
60942 * intl/tst-translit.sh: Likewise.
60943 * io/ftwtest-sh: Likewise.
60944 * libio/test-freopen.sh: Likewise.
60945 * malloc/tst-mtrace.sh: Likewise.
60946 * posix/globtest.sh: Likewise.
60947 * posix/tst-getconf.sh: Likewise.
60948 * posix/wordexp-tst.sh: Likewise.
60949 * stdio-common/tst-printf.sh: Likewise.
60950 * stdio-common/tst-unbputc.sh: Likewise.
60951 * stdlib/tst-fmtmsg.sh: Likewise.
60952 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
60953 * catgets/Makefile: Do not specify -e option when running
60954 testsuite shell scripts.
60955 * elf/Makefile: Likewise.
60956 * grp/Makefile: Likewise.
60957 * iconvdata/Makefile: Likewise.
60958 * intl/Makefile: Likewise.
60959 * io/Makefile: Likewise.
60960 * libio/Makefile: Likewise.
60961 * malloc/Makefile: Likewise.
60962 * posix/Makefile: Likewise.
60963 * stdio-common/Makefile: Likewise.
60964 * stdlib/Makefile: Likewise.
60965 * sysdeps/x86_64/Makefile: Likewise.
60966
60967 * io/ftwtest-sh: Add copyright header.
60968 * posix/globtest.sh: Likewise.
60969 * posix/tst-getconf.sh: Likewise.
60970 * posix/wordexp-tst.sh: Likewise.
60971 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
60972
60973 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
60974
60975 [BZ #13679]
60976 * Makeconfig (+link): Defined as $(+link-static) if
60977 $(build-shared) isn't yes.
60978 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
60979 isn't yes.
60980 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
60981
60982 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
60983
60984 [BZ #14562]
60985 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
60986 new chunk size with MALLOC_ALIGN_MASK.
60987
60988 2012-09-24 Joseph Myers <joseph@codesourcery.com>
60989
60990 [BZ #5044]
60991 * stdio-common/printf_fphex.c: Include <stdbool.h> and
60992 <rounding-mode.h>.
60993 (__printf_fphex): Determine rounding using get_rounding_mode and
60994 round_away.
60995 * stdio-common/tst-printf-round.c (struct hex_test): New
60996 structure.
60997 (hex_tests): New variable.
60998 (test_hex_in_one_mode): New function.
60999 (do_test): Also run tests for hex float output.
61000
61001 2012-09-21 Joseph Myers <joseph@codesourcery.com>
61002
61003 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
61004 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
61005 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
61006 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
61007 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
61008 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
61009 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
61010 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
61011
61012 2012-09-20 Joseph Myers <joseph@codesourcery.com>
61013
61014 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
61015 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
61016 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
61017 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
61018
61019 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
61020
61021 [BZ #14579]
61022 * elf/rtld.c (dl_main): Limit the check for self loading to normal
61023 mode only.
61024 * elf/tst-rtld-load-self.sh: New test.
61025 * elf/Makefile: Run it.
61026
61027 2012-09-18 Joseph Myers <joseph@codesourcery.com>
61028
61029 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
61030 (tst-writev-ENV): Remove.
61031 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
61032
61033 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
61034
61035 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
61036
61037 2012-09-17 Joseph Myers <joseph@codesourcery.com>
61038
61039 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
61040 unconditional.
61041 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
61042 Likewise.
61043 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
61044 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
61045 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
61046 Likewise.
61047
61048 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
61049
61050 [BZ #14587]
61051 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
61052 * config.make.in (have-cpp-asm-debuginfo): Removed.
61053 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
61054 * configure: Regenerated.
61055
61056 2012-09-14 Joseph Myers <joseph@codesourcery.com>
61057
61058 [BZ #5044]
61059 * stdio-common/printf_fp.c: Include <stdbool.h> and
61060 <rounding-mode.h>.
61061 (___printf_fp): Determine rounding using get_rounding_mode and
61062 round_away.
61063 * stdio-common/tst-printf-round.c: New file.
61064 * stdio-common/Makefile (tests): Add tst-printf-round.
61065 (link-libm): New variable.
61066 ($(objpfx)tst-printf-round): Depend in $(link-libm).
61067
61068 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
61069
61070 [BZ #14576]
61071 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
61072 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
61073 Likewise.
61074 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
61075 Likewise.
61076
61077 2012-09-13 Joseph Myers <joseph@codesourcery.com>
61078
61079 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
61080 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
61081 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
61082 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
61083
61084 2012-09-12 Joseph Myers <joseph@codesourcery.com>
61085
61086 [BZ #14518]
61087 * include/rounding-mode.h: New file.
61088 * sysdeps/generic/get-rounding-mode.h: Likewise.
61089 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
61090 * stdlib/strtod_l.c: Include <rounding-mode.h>.
61091 (MAX_VALUE): New macro.
61092 (MIN_VALUE): Likewise.
61093 (overflow_value): New function.
61094 (underflow_value): Likewise.
61095 (round_and_return): Use overflow_value and underflow_value to
61096 determine return values in overflow and underflow cases. Use
61097 round_away to determine rounding depending on rounding mode.
61098 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
61099 determine return values in overflow and underflow cases.
61100 * stdlib/tst-strtod-round.c: Include <fenv.h>.
61101 (struct test_results): New structure.
61102 (struct test): Use struct test_results to store expected results
61103 for all rounding modes.
61104 (TEST): Include expected results for all rounding modes.
61105 (test_in_one_mode): New function.
61106 (do_test): Use test_in_one_mode to compute and check results.
61107 Check results for all rounding modes.
61108 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
61109 $(link-libm).
61110
61111 2012-12-09 Allan McRae <allan@archlinux.org>
61112
61113 * sysdeps/i386/fpu/libm-test-ulps: Update
61114
61115 2012-09-11 Joseph Myers <joseph@codesourcery.com>
61116
61117 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
61118 (_G_int32_t): Likewise.
61119 (_G_uint16_t): Likewise.
61120 (_G_uint32_t): Likewise.
61121 (_G_HAVE_BOOL): Likewise.
61122 (_G_HAVE_ATEXIT): Likewise.
61123 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
61124 (_G_HAVE_IO_FILE_OPEN): Likewise.
61125 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
61126 (_G_int32_t): Likewise.
61127 (_G_uint16_t): Likewise.
61128 (_G_uint32_t): Likewise.
61129 (_G_HAVE_BOOL): Likewise.
61130 (_G_HAVE_ATEXIT): Likewise.
61131 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
61132 (_G_HAVE_IO_FILE_OPEN): Likewise.
61133 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
61134 (_G_int32_t): Likewise.
61135 (_G_uint16_t): Likewise.
61136 (_G_uint32_t): Likewise.
61137 (_G_HAVE_BOOL): Likewise.
61138 (_G_HAVE_ATEXIT): Likewise.
61139 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
61140 (_G_HAVE_IO_FILE_OPEN): Likewise.
61141
61142 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
61143
61144 * csu/libc-tls.c: Update copyright years.
61145
61146 2012-09-10 Joseph Myers <joseph@codesourcery.com>
61147
61148 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
61149 [!_G_USING_THUNKS]: Remove conditional code.
61150 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
61151 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
61152
61153 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
61154 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
61155 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
61156 (_G_VTABLE_LABEL_PREFIX): Likewise.
61157 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
61158 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
61159 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
61160 (_G_VTABLE_LABEL_PREFIX): Likewise.
61161 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
61162 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
61163 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
61164 (_G_VTABLE_LABEL_PREFIX): Likewise.
61165 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
61166
61167 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
61168
61169 * libio/Makefile: Include ../Makeconfig before tests.
61170 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
61171 only if $(build-shared) is yes.
61172
61173 * iconv/gconv_db.c: Update copyright years.
61174
61175 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61176
61177 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
61178 unwind info if defined PIC. Fix special cases description.
61179 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
61180
61181 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
61182 DP_HI_MASK entry.
61183 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
61184
61185 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
61186
61187 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
61188
61189 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
61190 is NULL.
61191
61192 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
61193 (LDLIBS-tst-chk4): This.
61194 (LDFLAGS-tst-chk5): Renamed to ...
61195 (LDLIBS-tst-chk5): This.
61196 (LDFLAGS-tst-chk6): Renamed to ...
61197 (LDLIBS-tst-chk6): This.
61198 (LDFLAGS-tst-lfschk4): Renamed to ...
61199 (LDLIBS-tst-lfschk4): This.
61200 (LDFLAGS-tst-lfschk5): Renamed to ...
61201 (LDLIBS-tst-lfschk5): This.
61202 (LDFLAGS-tst-lfschk6): Renamed to ...
61203 (LDLIBS-tst-lfschk6): This.
61204
61205 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
61206 on $(common-objpfx)soversions.mk.
61207
61208 2012-09-07 Joseph Myers <joseph@codesourcery.com>
61209
61210 [BZ #10014]
61211 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
61212 example host name.
61213
61214 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
61215
61216 * malloc/arena.c (arena_get_retry): New function that gets
61217 another arena for the caller to try its request on.
61218 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
61219 current arena cannot fulfill the request.
61220 (__libc_memalign): Likewise.
61221 (__libc_memalign): Likewise.
61222 (__libc_pvalloc): Likewise.
61223 (__libc_calloc): Likewise.
61224
61225 2012-09-05 John Tobey <john.tobey@gmail.com>
61226
61227 [BZ #13542]
61228 * manual/arith.texi (Operations on Complex): Fix description
61229 of carg branch cut.
61230
61231 2012-09-06 Joseph Myers <joseph@codesourcery.com>
61232
61233 [BZ #10014]
61234 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
61235 host name.
61236
61237 [BZ #10038]
61238 * manual/memory.texi (Memory): Make order of menu items match
61239 order of sections.
61240
61241 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
61242
61243 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
61244 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
61245 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
61246
61247 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
61248
61249 * csu/libc-tls.c (static_dtv): Renamed to ...
61250 (_dl_static_dtv): This. Make it global.
61251 (_dl_initial_dtv): Removed.
61252 (__libc_setup_tls): Updated.
61253 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
61254 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
61255 DL_INITIAL_DTV.
61256
61257 2012-09-06 Petr Machata <pmachata@redhat.com>
61258
61259 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
61260 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
61261 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
61262 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
61263
61264 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
61265
61266 [BZ #14545]
61267 * csu/libc-tls.c (_dl_initial_dtv): New variable.
61268 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
61269 freeing dtv[-1].
61270
61271 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
61272
61273 [BZ #14544]
61274 * Makeconfig (link-static-before-libc): Replace $(+prector)
61275 with $(+prectorT).
61276 (link-static-after-libc): Replace $(+postctor) with
61277 $(+postctorT).
61278 (link-bounded): Replace $(+prector)/$(+postctor) with
61279 $(+prectorT)/$(+postctorT).
61280 (+prectorT): New macro.
61281 (+postctorT): Likewise.
61282
61283 2012-09-06 Joseph Myers <joseph@codesourcery.com>
61284
61285 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
61286 (round_str): Handle values above the maximum for IBM long double
61287 as inexact.
61288 * stdlib/tst-strtod-round.c (tests): Regenerated.
61289
61290 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
61291
61292 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
61293 assembler flag.
61294 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
61295 zarch_nohighgprs around the zarch optimized routines.
61296 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
61297 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
61298 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
61299 for zarch.
61300
61301 2012-09-05 David S. Miller <davem@davemloft.net>
61302
61303 * sysdeps/sparc/fpu/libm-test-ulps: Update.
61304
61305 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
61306 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
61307 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
61308 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
61309 entries.
61310
61311 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
61312
61313 * malloc/arena.c: Fold copyright years.
61314 * malloc/mcheck.c, malloc/memusage.c: Likewise.
61315
61316 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
61317
61318 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
61319
61320 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
61321
61322 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
61323
61324 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
61325
61326 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
61327 change internal state upon failure.
61328
61329 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
61330
61331 * malloc/mcheck.c (mcheck_check_all): Fix typo.
61332 * malloc/memusage.c (mmap): Likewise.
61333 (mmap64, mremap): Likewise. Adjust name in comment.
61334
61335 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
61336
61337 * libio/fileops.c: Fix typos in comments.
61338 * libio/oldfileops.c: Likewise.
61339 * libio/wfileops.c: Likewise.
61340
61341 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
61342
61343 [BZ #1349]
61344 * malloc/Makefile (tests): Add tst-malloc-usable test case.
61345 (tst-malloc-usable-ENV): Set environment for test case.
61346 * malloc/hooks.c (malloc_check_get_size): New function to get
61347 requested size.
61348 * malloc/malloc.c (musable): Use malloc_check_get_size.
61349 * malloc/tst-malloc-usable.c: New test case.
61350
61351 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
61352
61353 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
61354
61355 2012-09-05 Allan McRae <allan@archlinux.org>
61356
61357 [BZ #13966]
61358 * configure.in (CXX_SYSINCLUDES): Use compiler output to
61359 determine header location.
61360 * configure: Regenerated.
61361
61362 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
61363
61364 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
61365 float format.
61366 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
61367 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
61368 format.
61369 (test): Regenerate.
61370
61371 2012-09-04 David S. Miller <davem@davemloft.net>
61372
61373 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
61374 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
61375 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
61376
61377 2012-09-04 Florian Weimer <fweimer@redhat.com>
61378
61379 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
61380 failures.
61381
61382 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
61383
61384 2012-09-04 Joseph Myers <joseph@codesourcery.com>
61385
61386 [BZ #9914]
61387 * libio/iogetdelim.c: Include <limits.h>.
61388 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
61389 + len + 1 would overflow.
61390
61391 2012-09-03 Andreas Jaeger <aj@suse.de>
61392
61393 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61394 * sysdeps/i386/fpu/libm-test-ulps: Update.
61395
61396 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61397
61398 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
61399 Add s_sinf-sse2, s_conf-sse2.
61400
61401 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
61402 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
61403 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
61404 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
61405
61406 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
61407 for using routine as __sinf_ia32.
61408 Use macro for function declaration and weak_alias.
61409 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
61410 for using routine as __cosf_ia32.
61411 Use macro for function declaration and weak_alias.
61412
61413 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
61414 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
61415
61416 * sysdeps/x86_64/fpu/s_sinf.S: New file.
61417 * sysdeps/x86_64/fpu/s_cosf.S: New file.
61418 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61419
61420 * math/libm-test.inc (cos_test): Add more test cases.
61421 (sin_test): Likewise.
61422 (sincos_test): Likewise.
61423
61424 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
61425
61426 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
61427 (IFUNC_RESOLVE): Make pointers to the specialized implementations
61428 hidden.
61429 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
61430
61431 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
61432
61433 [BZ #14538]
61434 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
61435 first element of the GOT.
61436 (elf_machine_load_address): Return the difference between
61437 the runtime address of _DYNAMIC and elf_machine_dynamic ().
61438
61439 2012-09-01 Allan McRae <allan@archlinux.org>
61440
61441 [BZ #13412]
61442 * configure.in (AWK): Require gawk version 3.0 or later.
61443 * configure: Regenerated.
61444
61445 2012-09-01 Joseph Myers <joseph@codesourcery.com>
61446
61447 * sysdeps/unix/sysv/linux/kernel-features.h
61448 (__ASSUME_POSIX_CPU_TIMERS): Remove.
61449 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
61450 [__NR_clock_getres]: Make code unconditional.
61451 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
61452 (clock_getcpuclockid): Remove code left unreachable by removal of
61453 conditionals.
61454 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
61455 code unconditional.
61456 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
61457 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
61458 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
61459 Make code unconditional.
61460 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
61461 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
61462 * sysdeps/unix/sysv/linux/clock_settime.c
61463 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
61464 conditional code.
61465 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
61466 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
61467
61468 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
61469
61470 [BZ #14476]
61471 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
61472 scripts/test-installation.pl.
61473
61474 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
61475 and $ld_so_version if it is set.
61476
61477 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
61478
61479 [BZ #14516]
61480 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
61481 failure if reading from procfs failed.
61482 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
61483
61484 2012-08-27 Joseph Myers <joseph@codesourcery.com>
61485
61486 * sysdeps/unix/sysv/linux/kernel-features.h
61487 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
61488 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
61489 Remove conditional code.
61490 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61491 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
61492 Remove conditional code.
61493 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61494 * sysdeps/unix/sysv/linux/i386/fxstat.c
61495 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
61496 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61497 * sysdeps/unix/sysv/linux/i386/fxstatat.c
61498 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
61499 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61500 * sysdeps/unix/sysv/linux/i386/lxstat.c
61501 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
61502 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61503 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
61504 Remove conditional code.
61505 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61506 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
61507 Remove conditional code.
61508 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61509 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
61510 <kernel-features.h>.
61511 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
61512 Remove.
61513 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
61514 Remove conditional code.
61515 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61516 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
61517 Remove conditional.
61518
61519 2012-08-27 Mike Frysinger <vapier@gentoo.org>
61520
61521 [BZ #5400]
61522 * NEWS: Add fixed bug number.
61523
61524 2012-08-27 Joseph Myers <joseph@codesourcery.com>
61525
61526 [BZ #14519]
61527 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
61528 underflowing exponent in case of negative sign.
61529 * stdlib/tst-strtod-round-data: Add more tests.
61530 * stdlib/tst-strtod-round.c (tests): Regenerated.
61531
61532 [BZ #3479]
61533 * stdlib/strtod_l.c (NDIG): Remove.
61534 (HEXNDIG): Likewise.
61535 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
61536 smallest representable value.
61537 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
61538 lie within an exact representation of 1/2 ulp of the result.
61539 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
61540 unconditionally.
61541 (TENS_P9_IDX): Define unconditionally.
61542 (TENS_P9_SIZE): Likewise.
61543 (TENS_P10_IDX): Likewise.
61544 (TENS_P10_SIZE): Likewise.
61545 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
61546 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
61547 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
61548 entries for 10^2^13 and 10^2^14.
61549 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
61550 (TENS_P13_IDX): Define.
61551 (TENS_P13_SIZE): Likewise.
61552 (TENS_P14_IDX): Likewise.
61553 (TENS_P14_SIZE): Likewise.
61554 (_fpioconst_pow10): Change array size to
61555 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
61556 unconditional.
61557 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
61558 1024]: Add entries for 10^2^13 and 10^2^14.
61559 [LAST_POW10 > _LAST_POW10]: Remove #error.
61560 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
61561 (_fpioconst_pow10): Change array size to
61562 FPIOCONST_POW10_ARRAY_SIZE.
61563 * stdlib/gen-fpioconst.c: New file.
61564 * stdlib/gen-tst-strtod-round.c: Likewise.
61565 * stdlib/tst-strtod-round-data: Likewise.
61566 * stdlib/tst-strtod-round.c: Likewise.
61567 * stdlib/Makefile (tests): Add tst-strtod-round.
61568
61569 [BZ #14459]
61570 * stdlib/strtod_l.c: Include <stdint.h>.
61571 (NDEBUG): Do not define.
61572 (round_and_return): Change EXPONENT parameter to type intmax_t.
61573 Rearrange calculations to avoid internal overflow possibilities.
61574 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
61575 Rearrange calculations to avoid internal overflow possibilities.
61576 Assert that number fits inside MPNSIZE limbs.
61577 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
61578 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
61579 calculations and add assertions to avoid internal overflow
61580 possibilities. Add casts to avoid signed/unsigned operations.
61581 * stdlib/tst-strtod-overflow.c: New file.
61582 * stdlib/Makefile (tests): Add tst-strtod-overflow.
61583
61584 2012-08-25 Marek Polacek <polacek@redhat.com>
61585
61586 * time/time.h: Fix some typos in comments.
61587
61588 2012-08-23 Roland McGrath <roland@hack.frob.com>
61589
61590 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
61591 * posix/tst-rfc3484-2.c: Likewise.
61592 * posix/tst-rfc3484-3.c: Likewise.
61593
61594 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
61595
61596 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
61597 (EF_ARM_ABI_FLOAT_HARD): Likewise.
61598
61599 2012-08-23 Joseph Myers <joseph@codesourcery.com>
61600
61601 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
61602 #include of fxstatat64.c.
61603
61604 2012-08-22 Roland McGrath <roland@hack.frob.com>
61605
61606 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
61607 * shadow/getspent_r.c: Likewise.
61608 * shadow/getspnam.c: Likewise.
61609 * shadow/getspnam_r.c: Likewise.
61610 * gshadow/getsgent.c: Likewise.
61611 * gshadow/getsgent_r.c: Likewise.
61612 * gshadow/getsgnam.c: Likewise.
61613 * gshadow/getsgnam_r.c: Likewise.
61614 * inet/getnetbyad.c: Likewise.
61615 * inet/getnetbyad_r.c: Likewise.
61616 * inet/getnetbynm.c: Likewise.
61617 * inet/getnetbynm_r.c: Likewise.
61618 * inet/getnetent.c: Likewise.
61619 * inet/getnetent_r.c: Likewise.
61620 * inet/getproto.c: Likewise.
61621 * inet/getproto_r.c: Likewise.
61622 * inet/getprtent.c: Likewise.
61623 * inet/getprtent_r.c: Likewise.
61624 * inet/getprtname.c: Likewise.
61625 * inet/getprtname_r.c: Likewise.
61626 * inet/getrpcbyname.c: Likewise.
61627 * inet/getrpcbyname_r.c: Likewise.
61628 * inet/getrpcbynumber.c: Likewise.
61629 * inet/getrpcbynumber_r.c: Likewise.
61630 * inet/getrpcent.c: Likewise.
61631 * inet/getrpcent_r.c: Likewise.
61632 * inet/getaliasent.c: Likewise.
61633 * inet/getaliasent_r.c: Likewise.
61634 * inet/getaliasname.c: Likewise.
61635 * inet/getaliasname_r.c: Likewise.
61636 * nscd/getgrgid_r.c: Likewise.
61637 * nscd/getgrnam_r.c: Likewise.
61638 * nscd/gethstbyad_r.c: Likewise.
61639 * nscd/gethstbynm3_r.c: Likewise.
61640 * nscd/getpwnam_r.c: Likewise.
61641 * nscd/getpwuid_r.c: Likewise.
61642 * nscd/getsrvbynm_r.c: Likewise.
61643 * nscd/getsrvbypt_r.c: Likewise.
61644 * nscd/gai.c: Likewise.
61645
61646 * configure.in (build_nscd): New substituted variable, set
61647 by --disable-build-nscd and defaults to $use_nscd.
61648 * configure: Regenerated.
61649 * config.make.in (build-nscd): New substituted variable.
61650 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
61651 Change conditional to require [$(build-nscd) = yes] as well.
61652 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
61653
61654 [BZ# 13696]
61655 * configure.in (use_nscd): New substituted variable, set by
61656 --disable-nscd. If enabled, define USE_NSCD.
61657 * configure: Regenerated.
61658 * config.h.in: Add USE_NSCD.
61659 * config.make.in (use-nscd): New substituted variable.
61660 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
61661 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
61662 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
61663 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
61664 (CFLAGS-getgrnam_r.c): Likewise.
61665 (CFLAGS-initgroups.c): Likewise.
61666 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
61667 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
61668 Variables removed.
61669 * inet/getnetgrent_r.c
61670 (nscd_setnetgrent): New function, broken out of ...
61671 (setnetgrent): ... here. Call it.
61672 (innetgr): Conditionalize nscd bits on [USE_NSCD].
61673 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
61674 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
61675 * nscd/Makefile (routines, aux): Move definitions after include of
61676 Makeconfig. Conditionalize on [$(use-nscd) != no].
61677 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
61678 Conditionalize on [USE_NSCD].
61679 (is_nscd, nscd_init_cb): Likewise.
61680 (nss_load_library): Conditionalize init callback on [USE_NSCD].
61681 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
61682 * nss/nss_db/db-init.c: Likewise.
61683 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
61684 [USE_NSCD].
61685 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
61686 (make_request): Use it.
61687 (cache_valid_p): New function.
61688 (__check_pf): Use it.
61689 * NEWS: Add item for --disable-nscd.
61690
61691 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
61692
61693 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
61694 to support sed >= 4.2.1-20-ga9bf076.
61695 * configure: Regenerated.
61696
61697 2012-08-22 Roland McGrath <roland@hack.frob.com>
61698
61699 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
61700 Conditionalize whole body on [IREL].
61701
61702 2012-08-22 Jeff Law <law@redhat.com>
61703
61704 [BZ #14505]
61705 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
61706 if the family is PF_UNSPEC.
61707
61708 2012-08-22 Mike Frysinger <vapier@gentoo.org>
61709
61710 * Makerules (lib-version): Rename from V.
61711 (install-lib-nosubdir): Change V to lib-version.
61712
61713 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
61714
61715 [BZ #14252]
61716 * powerpc32/power6/wcschr.c: New file.
61717 * powerpc32/power6/wcscpy.c: New file.
61718 * powerpc32/power6/wcsrchr.c: New file.
61719 * powerpc64/power6/wcschr.c: New file.
61720 * powerpc64/power6/wcscpy.c: New file.
61721 * powerpc64/power6/wcsrchr.c: New file.
61722
61723 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
61724
61725 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
61726 (two_way_short_needle): Use it.
61727 * string/strstr.c (AVAILABLE1_USES_J): Define.
61728 * string/strcasestr.c: Likewise.
61729
61730 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
61731 array references.
61732 * string/strcasestr.c (TOLOWER): Make side-effect safe.
61733
61734 [BZ #11607]
61735 * NEWS: Add an entry.
61736 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
61737 define their defaults.
61738 (two_way_short_needle): Detect end-of-string on-the-fly.
61739 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
61740 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
61741 * string/bug-strcasestr1.c: New test.
61742 * string/Makefile: Run it.
61743
61744 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
61745
61746 [BZ #11607]
61747 * string/str-two-way.h (two_way_short_needle): Optimize matching of
61748 the first character.
61749
61750 2012-08-21 Roland McGrath <roland@hack.frob.com>
61751
61752 * csu/elf-init.c (__libc_csu_irel): Function removed.
61753 * csu/libc-start.c (apply_irel): New function.
61754 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
61755
61756 2012-08-21 Joseph Myers <joseph@codesourcery.com>
61757
61758 * sysdeps/unix/sysv/linux/kernel-features.h
61759 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
61760 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
61761 <kernel-features.h>.
61762 [__NR_fadvise64_64]: Make code unconditional.
61763 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
61764 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
61765 !__NR_fadvise64_64)]: Likewise.
61766 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
61767 !__NR_fadvise64_64))]: Likewise.
61768 [__NR_fadvise64]: Make code unconditional.
61769 [!__NR_fadvise64]: Remove conditional code.
61770 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
61771 <kernel-features.h>.
61772 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
61773 unconditional.
61774 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
61775 conditional code.
61776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
61777 not include <kernel-features.h>.
61778 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
61779 unconditional.
61780 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
61781 conditional code.
61782 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
61783 include <kernel-features.h>.
61784 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
61785 unconditional.
61786 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
61787 conditional code.
61788
61789 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
61790
61791 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
61792 slight instruction rearrangements per scrollpipe analysis.
61793 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
61794
61795 2012-08-20 Roland McGrath <roland@hack.frob.com>
61796
61797 * manual/syslog.texi (syslog; vsyslog, closelog):
61798 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
61799 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
61800
61801 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
61802 DSOCAPS to match condition on defining it.
61803
61804 2012-08-20 Joseph Myers <joseph@codesourcery.com>
61805
61806 * sysdeps/unix/sysv/linux/kernel-features.h
61807 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
61808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
61809 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
61810 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
61811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
61812 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
61813 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
61814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
61815 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
61816 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
61817
61818 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
61819 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
61820
61821 * sysdeps/unix/sysv/linux/kernel-features.h
61822 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
61823 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
61824 unconditional.
61825 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61826 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
61827 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
61828 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61829 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
61830 Make code unconditional.
61831 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61832 (__mmap64) [!__NR_mmap2]: Likewise.
61833 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
61834 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
61835 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61836 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
61837 [__NR_mmap2]: Make code unconditional.
61838 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61839 (__mmap64) [!__NR_mmap2]: Likewise.
61840
61841 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
61842
61843 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
61844
61845 2012-08-18 Andreas Jaeger <aj@suse.de>
61846
61847 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
61848
61849 2012-08-18 Mike Frysinger <vapier@gentoo.org>
61850
61851 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
61852 * include/unistd.h (__have_sock_cloexec): Likewise.
61853 (__have_pipe2): Likewise.
61854 (__have_dup3): Likewise.
61855
61856 2012-08-18 Mike Frysinger <vapier@gentoo.org>
61857
61858 [BZ #9685]
61859 * include/unistd.h (__have_pipe2): Change define into an extern int.
61860 (__have_dup3): Likewise.
61861 * socket/have_sock_cloexec.c: Include fcntl.h.
61862 (__have_pipe2): New variable.
61863 (__have_dup3): Likewise.
61864
61865 2012-08-17 Mike Frysinger <vapier@gentoo.org>
61866
61867 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
61868
61869 2012-08-17 Marek Polacek <polacek@redhat.com>
61870
61871 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
61872 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
61873
61874 2012-08-17 Roland McGrath <roland@hack.frob.com>
61875
61876 * configure.in: Add AC_SUBST for sysheaders.
61877 * configure: Regenerated.
61878 * config.make.in (sysheaders): New substituted variable.
61879
61880 * sysdeps/unix/mkfifo.c: Moved ...
61881 * sysdeps/posix/mkfifo.c: ... here.
61882 * sysdeps/unix/mkfifoat.c: Moved ...
61883 * sysdeps/posix/mkfifoat.c: ... here.
61884
61885 * sysdeps/unix/utime.c: Moved ...
61886 * sysdeps/posix/utime.c: ... here.
61887
61888 * sysdeps/unix/time.c: Moved ...
61889 * sysdeps/posix/time.c: ... here.
61890 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
61891 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
61892
61893 * sysdeps/unix/nice.c: Moved ...
61894 * sysdeps/posix/nice.c: ... here.
61895
61896 * sysdeps/unix/alarm.c: Moved ...
61897 * sysdeps/posix/alarm.c: ... here.
61898
61899 * intl/Makefile ($(codeset_mo)): Depend on the input file.
61900
61901 2012-08-17 Jeff Law <law@redhat.com>
61902
61903 * intl/Makefile (codeset_mo): New variable.
61904 ($(codeset_mo)): New target.
61905 (tst-codeset.out): Depend on that. Remove explicit rule.
61906 (tst-gettext3.out, tst-gettext5.out): Likewise.
61907 (LOCPATH-ENV, tst-codeset-ENV): New variables.
61908 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
61909 * intl/tst-codeset.sh: Remove.
61910 * intl/tst-gettext3.sh: Likewise.
61911 * intl/tst-gettext5.sh: Likewise.
61912
61913 2012-08-17 Roland McGrath <roland@hack.frob.com>
61914
61915 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
61916 * sysdeps/unix/syscalls.list: ... here.
61917
61918 * sysdeps/posix/getaddrinfo.c
61919 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
61920 (gaiconf_init, gaiconf_reload): Use them.
61921 [!_STATBUF_ST_NSEC]
61922 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
61923 Define using time_t rather than struct timespec.
61924
61925 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
61926 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
61927 Macros removed.
61928 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
61929 [!NO_THREADS].
61930 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
61931 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
61932 Likewise.
61933
61934 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
61935 __libc_cleanup_push argument.
61936
61937 * bits/param.h: New file.
61938 * misc/sys/param.h: New file.
61939 * include/sys/param.h: New file.
61940 * misc/Makefile (headers): Add bits/param.h.
61941 * sysdeps/generic/sys/param.h: File removed.
61942 * sysdeps/unix/sysv/linux/bits/param.h: New file.
61943 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
61944 * sysdeps/mach/hurd/bits/param.h: New file.
61945 * sysdeps/mach/hurd/sys/param.h: File removed.
61946
61947 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
61948 last change.
61949
61950 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
61951 [_IO_MTSAFE_IO].
61952 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
61953 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
61954 New macros.
61955
61956 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
61957 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
61958 rather than -D_IO_MTSAFE_IO conditionally.
61959 * stdio-common/Makefile (CPPFLAGS): Likewise.
61960 * wcsmbs/Makefile (CPPFLAGS): Likewise.
61961 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
61962 Use $(libio-mtsafe).
61963 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
61964 of -D_IO_MTSAFE_IO.
61965 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
61966 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
61967 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
61968 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
61969 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
61970 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
61971 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
61972 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
61973 (CFLAGS-fread_u_chk.c): Likewise.
61974 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
61975 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
61976 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
61977 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
61978 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
61979 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
61980 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
61981 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
61982 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
61983
61984 * libio/Makefile: Test [$(libc-reentrant) = yes]
61985 instead of [$(filter %REENTRANT, $(defines)) nonempty].
61986
61987 * Makeconfig
61988 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
61989 * sysdeps/pthread/configure: File removed.
61990 * sysdeps/pthread/Makeconfig: New file.
61991 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
61992 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
61993
61994 2012-08-16 Gary Benson <gbenson@redhat.com>
61995
61996 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
61997 unmapping the first object in a namespace.
61998
61999 2012-08-16 Roland McGrath <roland@hack.frob.com>
62000
62001 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
62002 (__internal_setnetgrent): ... this. Add internal_function to
62003 definition. Add libc_hidden_def.
62004 (setnetgrent): Update caller.
62005 (internal_endnetgrent): Renamed to ...
62006 (__internal_endnetgrent): ... this. Add internal_function to
62007 definition. Add libc_hidden_def.
62008 (endnetgrent): Update caller.
62009 (internal_getnetgrent_r): Renamed to ...
62010 (__internal_getnetgrent_r): ... this. Add internal_function to
62011 definition. Add libc_hidden_def.
62012 (__getnetgrent_r): Update caller.
62013 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
62014
62015 2012-08-16 Joseph Myers <joseph@codesourcery.com>
62016
62017 * stdlib/longlong.h: Update from GCC.
62018
62019 2012-08-16 Roland McGrath <roland@hack.frob.com>
62020
62021 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
62022 on _QL, which is set by umul_ppmm but never used.
62023 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
62024 variables, which are set by GMP macros but never used.
62025 * stdio-common/_itowa.c (_itowa): Likewise.
62026 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
62027 * stdlib/mod_1.c (mpn_mod_1): Likewise.
62028
62029 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
62030
62031 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
62032 struct La_sh_regs is not constant.
62033 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
62034 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
62035 and struct La_sparc64_regs are not constant.
62036
62037 2012-08-16 Joseph Myers <joseph@codesourcery.com>
62038
62039 * sysdeps/unix/sysv/linux/kernel-features.h
62040 (__ASSUME_POSIX_TIMERS): Remove.
62041 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
62042 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
62043 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
62044 Make code unconditional.
62045 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
62046 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
62047 Make code unconditional.
62048 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
62049 * sysdeps/unix/sysv/linux/clock_nanosleep.c
62050 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
62051 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
62052 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
62053 Make code unconditional.
62054 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
62055 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
62056 (__libc_missing_posix_timers): Remove.
62057
62058 2012-08-15 Roland McGrath <roland@hack.frob.com>
62059
62060 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
62061 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
62062
62063 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
62064
62065 * elf/dl-sym.c: Include <stdlib.h>.
62066
62067 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
62068 constants, which avoids warnings in 32-bit builds.
62069
62070 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
62071 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
62072
62073 * misc/lseek.c: File moved to ...
62074 * io/lseek.c: ... here.
62075
62076 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
62077
62078 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
62079 shifting LEN more than 31 bits at once.
62080
62081 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
62082
62083 [BZ #14195]
62084 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
62085 segmentation fault for a case of two empty input strings.
62086 * string/test-strncasecmp.c (check1): Renamed to...
62087 (bz12205): ...this.
62088 (bz14195): Add new testcase for two empty input strings and N > 0.
62089 (test_main): Call new testcase, adapt for renamed function.
62090
62091 2012-08-15 Andreas Jaeger <aj@suse.de>
62092
62093 [BZ #14090]
62094 * crypt/md5test2.c: New test, based on test supplied by Serge
62095 Belyshev <belyshev@depni.sinp.msu.ru>.
62096 * crypt/Makefile (xtests): Add md5test-giant..
62097 * crypt/Makefile ($(objpfx)md5test-giant): Add.
62098
62099 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
62100
62101 [BZ #14090]
62102 * crypt/md5.c (md5_process_block): Don't assume the buffer
62103 length is less than 2**32.
62104 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
62105 length is less than 2**64.
62106
62107 2012-08-15 Roland McGrath <roland@hack.frob.com>
62108
62109 * string/str-two-way.h: Include <sys/param.h>.
62110 (MAX): Macro removed.
62111
62112 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
62113 Move #define and #undef of memmove to just before and after
62114 including <string.h>.
62115
62116 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
62117 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
62118 and after including <string.h>. Move declarations of
62119 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
62120 to before #include "string/memmove.c".
62121
62122 * include/dirent.h: Declare __getdirentries.
62123
62124 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
62125 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
62126
62127 2012-08-14 Mike Frysinger <vapier@gentoo.org>
62128
62129 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
62130 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
62131 * sysdeps/i386/configure: Regenerated.
62132 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
62133 STABS_CURRENT_FILE, and STABS_FUN.
62134 (END): Remove call to STABS_FUN_END.
62135 (STABS_CURRENT_FILE1): Delete.
62136 (STABS_CURRENT_FILE): Likewise.
62137 (STABS_FUN): Likewise.
62138 (STABS_FUN_END): Likewise.
62139 (STABS_FUN2): Likewise.
62140 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
62141 * sysdeps/x86_64/configure: Regenerated.
62142
62143 2012-08-14 Roland McGrath <roland@hack.frob.com>
62144
62145 * elf/dl-open.c: Include <atomic.h>.
62146 * elf/dl-lookup.c: Likewise.
62147
62148 2012-08-14 Joseph Myers <joseph@codesourcery.com>
62149
62150 * sysdeps/unix/sysv/linux/kernel-features.h
62151 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
62152 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
62153 unconditionally.
62154 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
62155 unconditionally.
62156 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
62157 condition on __ASSUME_CLONE_THREAD_FLAGS.
62158
62159 2012-08-14 Andreas Jaeger <aj@suse.de>
62160
62161 * sysdeps/i386/fpu/libm-test-ulps: Update.
62162
62163 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
62164
62165 * include/atomic.h (atomic_exchange_and_add): Split into ...
62166 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
62167 New atomic macros.
62168
62169 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
62170
62171 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62172
62173 2012-08-13 Jeff Law <law@redhat.com>
62174
62175 * manual/stdio.texi (snprintf): Clarify handling of the trailing
62176 null byte in the output string.
62177
62178 2012-08-10 Joseph Myers <joseph@codesourcery.com>
62179
62180 * sysdeps/unix/sysv/linux/kernel-features.h
62181 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
62182 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
62183 (__ASSUME_ARG_MAX_STACK_BASED): Define.
62184 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
62185 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
62186 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
62187 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
62188
62189 2012-08-09 Jeff Law <law@redhat.com>
62190
62191 [BZ #13939]
62192 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
62193 When avoid_arena is set, don't retry in the that arena. Pick the
62194 next one, whatever it might be.
62195 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
62196 (arena_lock): Pass in new parameter to arena_get2.
62197 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
62198 arena_get2.
62199 (__libc_malloc): Unify retrying after main arena failure with
62200 __libc_memalign version.
62201 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
62202
62203 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
62204
62205 [BZ #14166]
62206 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
62207 to __redirect_strstr.
62208 (__strstr_sse42): Use typeof __redirect_strstr.
62209 (__strstr_ia32): Likewise.
62210 (__libc_strstr): New prototype.
62211 (strstr): Renamed to ...
62212 (__libc_strstr): This.
62213 (strstr): New strong alias of __libc_strstr.
62214 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
62215 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
62216 __redirect_time.
62217 Include <time.h>.
62218 (__libc_time): New prototype.
62219 (time_ifunc): Replace time with __libc_time.
62220 (time): New strong alias and hidden definition of __libc_time.
62221 (__GI_time): Remove strong alias.
62222 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
62223 Include <stddef.h>.
62224 (memmove): Redefined to __redirect_memmove.
62225 (__memmove_sse2): Use typeof __redirect_memmove.
62226 (__memmove_ssse3): Likewise.
62227 (__memmove_ssse3_back): Likewise.
62228 (__libc_memmove): New prototype.
62229 (memmove): Renamed to ...
62230 (__libc_memmove): This.
62231 (memmove): New strong alias of __libc_memmove.
62232
62233 2012-08-08 Mark Salter <msalter@redhat.com>
62234
62235 * elf/elf.h
62236 (R_MN10300_TLS_GD): Define.
62237 (R_MN10300_TLS_LD): Likewise.
62238 (R_MN10300_TLS_LDO): Likewise.
62239 (R_MN10300_TLS_GOTIE): Likewise.
62240 (R_MN10300_TLS_IE): Likewise.
62241 (R_MN10300_TLS_LE): Likewise.
62242 (R_MN10300_TLS_DTPMOD): Likewise.
62243 (R_MN10300_TLS_DTPOFF): Likewise.
62244 (R_MN10300_TLS_TPOFF): Likewise.
62245 (R_MN10300_SYM_DIFF): Likewise.
62246 (R_MN10300_ALIGN): Likewise.
62247 (R_MN10300_NUM): Update.
62248
62249 2012-08-08 Joseph Myers <joseph@codesourcery.com>
62250
62251 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
62252 Remove.
62253
62254 2012-08-08 Roland McGrath <roland@hack.frob.com>
62255
62256 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
62257
62258 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
62259 sysdeps/unix -> sysdeps/posix move.
62260 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
62261
62262 2012-08-07 Allan McRae <allan@archlinux.org>
62263
62264 [BZ #14303]
62265 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
62266 (SUNOS_CPP): Likewise.
62267 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
62268 not found.
62269 (open_input): Call CPP using execvp.
62270
62271 2012-08-07 Joseph Myers <joseph@codesourcery.com>
62272
62273 * sysdeps/unix/sysv/linux/kernel-features.h
62274 (__ASSUME_PROT_GROWSUPDOWN): Remove.
62275 (__ASSUME_NO_CLONE_DETACHED): Likewise.
62276 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
62277 (__ASSUME_WAITID_SYSCALL): Likewise.
62278 * sysdeps/unix/sysv/linux/dl-execstack.c
62279 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
62280 code unconditional.
62281 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
62282 conditional code.
62283 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
62284 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
62285 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
62286 code.
62287 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
62288 unconditional.
62289 [__ASSUME_WAITID_SYSCALL]: Likewise.
62290 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
62291
62292 2012-08-07 Roland McGrath <roland@hack.frob.com>
62293
62294 * sysdeps/unix/closedir.c: Renamed to ...
62295 * sysdeps/posix/closedir.c: ... here.
62296 * sysdeps/unix/dirfd.c: Renamed to ...
62297 * sysdeps/posix/dirfd.c: ... here.
62298 * sysdeps/unix/dirstream.h: Renamed to ...
62299 * sysdeps/posix/dirstream.h: ... here.
62300 * sysdeps/unix/fdopendir.c: Renamed to ...
62301 * sysdeps/posix/fdopendir.c: ... here.
62302 * sysdeps/unix/opendir.c: Renamed to ...
62303 * sysdeps/posix/opendir.c: ... here.
62304 * sysdeps/unix/readdir.c: Renamed to ...
62305 * sysdeps/posix/readdir.c: ... here.
62306 * sysdeps/unix/readdir_r.c: Renamed to ...
62307 * sysdeps/posix/readdir_r.c: ... here.
62308 * sysdeps/unix/rewinddir.c: Renamed to ...
62309 * sysdeps/posix/rewinddir.c: ... here.
62310 * sysdeps/unix/seekdir.c: Renamed to ...
62311 * sysdeps/posix/seekdir.c: ... here.
62312 * sysdeps/unix/telldir.c: Renamed to ...
62313 * sysdeps/posix/telldir.c: ... here.
62314 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
62315 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
62316 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
62317 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
62318
62319 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
62320 * bits/fcntl.h: ... here.
62321
62322 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
62323 not 0.
62324 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
62325 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
62326 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
62327 (struct flock): Move l_start, l_len to the beginning.
62328 Use __pid_t for l_pid.
62329 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
62330 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
62331 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
62332 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
62333 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
62334 [__USE_LARGEFILE64] (struct flock64): New type.
62335 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
62336
62337 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
62338 * bits/dirent.h: ... here.
62339
62340 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
62341 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
62342
62343 2012-08-07 Joseph Myers <joseph@codesourcery.com>
62344
62345 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
62346 Change from 2.6.0 to 2.6.16.
62347 * sysdeps/unix/sysv/linux/configure: Regenerated.
62348 * sysdeps/unix/sysv/linux/kernel-features.h
62349 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
62350 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
62351 version.
62352 (__ASSUME_UTIMES): Likewise.
62353 (__ASSUME_CLONE_STOPPED): Remove.
62354 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
62355 architectures, not kernel version.
62356 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
62357 (__ASSUME_NO_CLONE_DETACHED): Likewise.
62358 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
62359 (__ASSUME_WAITID_SYSCALL): Likewise.
62360 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
62361 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
62362 * README: State 2.6.16 as minimum Linux kernel version. Do not
62363 refer to older versions.
62364
62365 2012-08-06 Roland McGrath <roland@hack.frob.com>
62366
62367 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
62368 Define alphasort64 as an alias.
62369 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
62370 Define versionsort64 as an alias.
62371 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
62372 Define scandir64 as an alias.
62373 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
62374 Define scandirat64 as an alias.
62375 * dirent/alphasort64.c (alphasort64):
62376 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
62377 * dirent/versionsort64.c: Likewise.
62378 * dirent/scandir64.c: Likewise.
62379 * dirent/scandirat64.c: Likewise.
62380 * sysdeps/wordsize-64/alphasort.c: File removed.
62381 * sysdeps/wordsize-64/alphasort64.c: File removed.
62382 * sysdeps/wordsize-64/scandir.c: File removed.
62383 * sysdeps/wordsize-64/scandir64.c: File removed.
62384 * sysdeps/wordsize-64/scandirat.c: File removed.
62385 * sysdeps/wordsize-64/scandirat64.c: File removed.
62386 * sysdeps/wordsize-64/versionsort.c: File removed.
62387 * sysdeps/wordsize-64/versionsort64.c: File removed.
62388 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
62389 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
62390 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
62391 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
62392 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
62393 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
62394 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
62395 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
62396
62397 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
62398 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
62399 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
62400 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62401 [defined __arch64__ || defined __sparcv9]
62402 (__INO_T_MATCHES_INO64_T): New macro.
62403 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
62404 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
62405 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
62406 * sysdeps/unix/sysv/linux/bits/dirent.h
62407 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
62408 (_DIRENT_MATCHES_DIRENT64): New macro.
62409
62410 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
62411 Define lockf64 as an alias.
62412 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
62413 Define fseeko64 as an alias.
62414 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
62415 Define ftello64 as an alias.
62416 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
62417 Define _IO_fgetpos64 and fgetpos64 as aliases.
62418 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
62419 Define _IO_fsetpos64 and fsetpos64 as aliases.
62420 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
62421 Conditionalize body on this.
62422 * libio/fseeko64.c: Likewise.
62423 * libio/ftello64.c: Likewise.
62424 * libio/iofgetpos64.c: Likewise.
62425 * libio/iofsetpos64.c: Likewise.
62426 * sysdeps/wordsize-64/lockf.c: File removed.
62427 * sysdeps/wordsize-64/lockf64.c: File removed.
62428 * sysdeps/wordsize-64/fseeko.c: File removed.
62429 * sysdeps/wordsize-64/fseeko64.c: File removed.
62430 * sysdeps/wordsize-64/ftello.c: File removed.
62431 * sysdeps/wordsize-64/ftello64.c: File removed.
62432 * sysdeps/wordsize-64/iofgetpos.c: File removed.
62433 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
62434 * sysdeps/wordsize-64/iofsetpos.c: File removed.
62435 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
62436 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
62437 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
62438 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
62439 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
62440 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
62441 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
62442 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
62443 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
62444 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
62445 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
62446
62447 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
62448 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
62449 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
62450 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62451 [defined __arch64__ || defined __sparcv9]
62452 (__OFF_T_MATCHES_OFF64_T): New macro.
62453 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
62454 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
62455 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
62456 (__OFF_T_MATCHES_OFF64_T): New macro.
62457
62458 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
62459
62460 * stdlib/secure-getenv.c (__secure_getenv): Replace
62461 GLIBC_2_16 with GLIBC_2_17.
62462
62463 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
62464
62465 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
62466 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
62467
62468 2012-08-03 David S. Miller <davem@davemloft.net>
62469
62470 * sysdeps/sparc/fpu/libm-test-ulps: Update.
62471
62472 2012-08-03 Joseph Myers <joseph@codesourcery.com>
62473
62474 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
62475 Remove.
62476 (__ASSUME_CORRECT_SI_PID): Likewise.
62477 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
62478 (__ASSUME_TMPFS_NAME): Likewise.
62479 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
62480 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
62481 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
62482 (HAVE_AUX_SECURE): Make definition unconditional.
62483 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
62484 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
62485
62486 2012-08-03 Roland McGrath <roland@hack.frob.com>
62487
62488 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
62489 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
62490 * sysdeps/mach/hurd/eloop-threshold.h: New file.
62491 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
62492 __eloop_threshold instead of SYMLOOP_MAX.
62493
62494 * sysdeps/generic/eloop-threshold.h: New file.
62495 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
62496 of MAXSYMLINKS.
62497 * elf/chroot_canon.c (chroot_canon): Likewise.
62498
62499 2012-08-03 Joseph Myers <joseph@codesourcery.com>
62500
62501 [BZ #13717]
62502 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
62503 Change to 2.6.0 everywhere.
62504 * sysdeps/unix/sysv/linux/configure: Regenerated.
62505 * sysdeps/unix/sysv/linux/kernel-features.h
62506 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
62507 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
62508 kernel versions.
62509 (__ASSUME_POSIX_TIMERS): Define unconditionally.
62510 (__ASSUME_FUTEX_REQUEUE): Remove.
62511 (__ASSUME_STATFS64): Define unconditionally.
62512 (__ASSUME_AT_SECURE): Likewise.
62513 (__ASSUME_CORRECT_SI_PID): Likewise.
62514 (__ASSUME_TGKILL): Define without depending on kernel version for
62515 i386.
62516 (__ASSUME_UTIMES): Likewise.
62517 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
62518 kernel version.
62519 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
62520 (__ASSUME_TMPFS_NAME): Likewise.
62521 * README: Update reference to Linux kernel versions.
62522
62523 2012-08-02 Marek Polacek <polacek@redhat.com>
62524
62525 [BZ# 14150]
62526 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
62527 libc_cv_asm_type_prefix with %.
62528 * configure: Regenerated.
62529 * include/libc-symbols.h: Remove comment about
62530 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
62531 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
62532 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
62533 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
62534 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
62535 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
62536 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
62537 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
62538 * elf/tst-unique2mod1.c: Likewise.
62539 * elf/tst-unique1mod2.c: Likewise.
62540 * elf/tst-unique1mod1.c: Likewise.
62541 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
62542 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
62543 Replace ASM_TYPE_DIRECTIVE with .type.
62544 * sysdeps/s390/s390-64/sysdep.h: Likewise.
62545 * sysdeps/i386/sysdep.h: Likewise.
62546 * sysdeps/x86_64/sysdep.h: Likewise.
62547 * sysdeps/sh/sysdep.h: Likewise.
62548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
62549 Do not define ASM_TYPE_DIRECTIVE.
62550 * sysdeps/powerpc/sysdep.h: Likewise.
62551 * sysdeps/powerpc/powerpc32/sysdep.h:
62552 Replace ASM_TYPE_DIRECTIVE with .type.
62553 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
62554 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
62555 * sysdeps/i386/fpu/e_powf.S: Likewise.
62556 * sysdeps/i386/fpu/e_expl.S: Likewise.
62557 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
62558 * sysdeps/i386/fpu/e_acosh.S: Likewise.
62559 * sysdeps/i386/fpu/e_pow.S: Likewise.
62560 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
62561 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
62562 * sysdeps/i386/fpu/s_expm1.S: Likewise.
62563 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
62564 * sysdeps/i386/fpu/e_log2.S: Likewise.
62565 * sysdeps/i386/fpu/e_log2l.S: Likewise.
62566 * sysdeps/i386/fpu/e_scalb.S: Likewise.
62567 * sysdeps/i386/fpu/e_powl.S: Likewise.
62568 * sysdeps/i386/fpu/e_log10f.S: Likewise.
62569 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
62570 * sysdeps/i386/fpu/e_logl.S: Likewise.
62571 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
62572 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
62573 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
62574 * sysdeps/i386/fpu/e_log2f.S: Likewise.
62575 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
62576 * sysdeps/i386/fpu/e_log.S: Likewise.
62577 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
62578 * sysdeps/i386/fpu/e_logf.S: Likewise.
62579 * sysdeps/i386/fpu/e_log10l.S: Likewise.
62580 * sysdeps/i386/fpu/e_atanh.S: Likewise.
62581 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
62582 * sysdeps/i386/fpu/e_log10.S: Likewise.
62583 * sysdeps/i386/fpu/s_frexp.S: Likewise.
62584 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
62585 * sysdeps/i386/fpu/s_asinh.S: Likewise.
62586 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
62587 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
62588 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
62589 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
62590 * sysdeps/i386/i686/strtok.S: Likewise.
62591 * sysdeps/i386/i386-mcount.S: Likewise.
62592 * sysdeps/i386/strtok.S: Likewise.
62593 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
62594 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
62595 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
62596 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
62597 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
62598 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
62599 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
62600 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
62601 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
62602 * sysdeps/x86_64/_mcount.S: Likewise.
62603 * sysdeps/x86_64/strtok.S: Likewise.
62604 * sysdeps/sh/_mcount.S: Likewise.
62605
62606 2012-08-01 Roland McGrath <roland@hack.frob.com>
62607
62608 * libio/iofopen.c: Include <fcntl.h>.
62609 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
62610 (_IO_fopen64, fopen64): Define as aliases.
62611 * libio/iofopen64.c: Include <fcntl.h>.
62612 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
62613 Conditionalize body on this.
62614 * sysdeps/wordsize-64/iofopen.c: File removed.
62615 * sysdeps/wordsize-64/iofopen64.c: File removed.
62616
62617 2012-08-01 Marek Polacek <polacek@redhat.com>
62618
62619 * libc/Makeconfig: Use elf in place of binfmt-subdir.
62620 Use dlfcn directly instead of a variable.
62621 (binfmt-subdir): Do not define.
62622 (dlfcn): Likewise.
62623
62624 2012-08-01 Joseph Myers <joseph@codesourcery.com>
62625
62626 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
62627 Remove all definitions.
62628 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
62629 <kernel-features.h>.
62630 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
62631 (miss_F_GETOWN_EX): Remove all definitions.
62632 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
62633 macro definition.
62634 [!__ASSUME_FCNTL64]: Remove conditional code.
62635 [__ASSUME_FCNTL64]: Make code unconditional.
62636 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
62637 <kernel-features.h>.
62638 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
62639 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
62640 (lockf64) [__NR_fcntl64]: Make code unconditional.
62641 (lockf64) [__ASSUME_FCNTL64]: Likewise.
62642
62643 * sysdeps/unix/sysv/linux/kernel-features.h
62644 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
62645 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
62646 Make code unconditional.
62647 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
62648 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
62649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
62650 [__NR_vfork]: Make code unconditional.
62651 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
62652 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
62653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
62654 [__NR_vfork]: Make code unconditional.
62655 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
62656 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
62657
62658 2012-08-01 Roland McGrath <roland@hack.frob.com>
62659
62660 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
62661 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
62662
62663 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
62664 Define mkstemp64 as an alias.
62665 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
62666 Define mkstemps64 as an alias.
62667 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
62668 Define mkostemp64 as an alias.
62669 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
62670 Define mkostemps64 as an alias.
62671 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
62672 Conditionalize body on this.
62673 * misc/mkostemp64.c: Likewise.
62674 * misc/mkostemps64.c: Likewise.
62675 * misc/mkstemps64.c: Likewise.
62676 * sysdeps/wordsize-64/mkstemp64.c: File removed.
62677 * sysdeps/wordsize-64/mkostemp64.c: File removed.
62678 * sysdeps/wordsize-64/mkostemp.c: File removed.
62679 * sysdeps/wordsize-64/mkstemp.c: File removed.
62680 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
62681 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
62682 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
62683 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
62684
62685 [BZ #14138]
62686 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
62687 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
62688 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
62689 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
62690
62691 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
62692 compat_symbol macros from <shlib-compat.h> rather than the underlying
62693 default_symbol_version and symbol_version macros, so that DEFAULT
62694 lines in shlib-versions are respected.
62695 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
62696
62697 2012-08-01 Florian Weimer <fweimer@redhat.com>
62698
62699 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
62700 Declare with warn_unused_result.
62701 (setgid, setregid, setegid, setresgid): Likewise.
62702 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
62703 Likewise.
62704 * WUR-REPORT: Remove set*id functions.
62705
62706 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
62707
62708 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
62709
62710 2012-07-31 Roland McGrath <roland@hack.frob.com>
62711
62712 [BZ #10191]
62713 * include/sys/socket.h (__libc_accept, __libc_accept4):
62714 Add attribute_hidden.
62715 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
62716
62717 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
62718 use of PTR_MANGLE.
62719 * inet/getnetgrent_r.c (setup): Likewise.
62720
62721 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
62722
62723 2012-07-31 David S. Miller <davem@davemloft.net>
62724
62725 * sysdeps/sparc/fpu/libm-test-ulps: Update.
62726
62727 2012-07-31 Joseph Myers <joseph@codesourcery.com>
62728
62729 [BZ #13629]
62730 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
62731 value between 1.0 and 2.0 and smaller part has absolute value less
62732 than 1.0.
62733 * math/s_clog10.c (__clog10): Likewise.
62734 * math/s_clog10f.c (__clog10f): Likewise.
62735 * math/s_clog10l.c (__clog10l): Likewise.
62736 * math/s_clogf.c (__clogf): Likewise.
62737 * math/s_clogl.c (__clogl): Likewise.
62738 * math/libm-test.inc (clog_test): Add more tests.
62739 (clog10_test): Likewise.
62740 * sysdeps/i386/fpu/libm-test-ulps: Update.
62741 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62742
62743 2012-07-31 Florian Weimer <fweimer@redhat.com>
62744
62745 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
62746 Exit with zero in case no suitable GID is found, and write a
62747 message to standard error.
62748
62749 2012-07-30 Roland McGrath <roland@hack.frob.com>
62750
62751 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
62752 rather than to 1.
62753 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
62754 (MAXPATHLEN): Removed.
62755 (NOGROUP, NODEV): New macros.
62756 (setbit, clrbit, isset, isclr): New macros.
62757 (howmany, roundup, powerof2): New macros.
62758 (DEV_BSIZE): New macro.
62759
62760 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
62761 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
62762
62763 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
62764 definition on [!__NO_LONG_DOUBLE_MATH].
62765
62766 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
62767 PTR_MANGLE and PTR_DEMANGLE.
62768
62769 * socket/accept4.c (accept4): Rename to __libc_accept4.
62770 Define accept4 as a weak alias.
62771
62772 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
62773 on [_DIRENT_HAVE_D_TYPE].
62774 * io/ftw.c (ftw_dir): Likewise.
62775
62776 * io/xmknod.c (__xmknod): Don't check PATH for being null.
62777
62778 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
62779
62780 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
62781 Use the BSD numbers rather than the arbitrary ones we had.
62782 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
62783 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
62784 (SIGXCPU, SIGXFSZ): New macros.
62785 (_NSIG): Now 32.
62786
62787 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
62788 initializer on [_LIBC_REENTRANT].
62789
62790 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
62791 definitions inside [_POSIX_MAPPED_FILES].
62792
62793 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
62794
62795 * dirent/opendir.c: Include <fcntl.h>.
62796
62797 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
62798 (__libc_getspecific): Likewise.
62799 (__libc_key_create): Likewise.
62800
62801 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
62802 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
62803 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
62804 (tmpfile64): Define as alias.
62805 * sysdeps/wordsize-64/tmpfile.c: File removed.
62806 * sysdeps/wordsize-64/tmpfile64.c: File removed.
62807 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
62808 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
62809
62810 * stdio-common/vfscanf.c: Include <stdbool.h>.
62811 * nss/makedb.c: Likewise.
62812 * stdio-common/_i18n_number.h: Likewise.
62813 * argp/argp-help.c: Likewise.
62814 * posix/wordexp.c: Likewise.
62815 * sysdeps/posix/spawni.c: Likewise.
62816 * nss/nss_files/files-initgroups.c: Likewise.
62817 * stdio-common/reg-modifier.c: Include <stdlib.h>.
62818 * nss/nss_files/files-initgroups.c: Likewise.
62819 * nss/nss_db/db-netgrp.c: Likewise.
62820 * nss/nss_db/db-initgroups.c: Likewise.
62821 * io/fchmodat.c: Include <sys/stat.h>.
62822
62823 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
62824 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
62825
62826 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
62827 [HAVE_MMAP].
62828
62829 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
62830 Add multiple inclusion protection.
62831
62832 2012-07-27 David S. Miller <davem@davemloft.net>
62833
62834 * sysdeps/sparc/fpu/libm-test-ulps: Update.
62835
62836 2012-07-27 Gary Benson <gbenson@redhat.com>
62837
62838 [BZ #14298]
62839 * elf/rtld.c: Include <stap-probe.h>.
62840 (dl_main): Added static probes "init_start" and "init_complete".
62841 * elf/dl-load.c: Include <stap-probe.h>.
62842 (lose): Take new parameter "nsid".
62843 Added static probe "map_failed".
62844 (_dl_map_object_from_fd): Pass namespace id to lose.
62845 Added static probe "map_start".
62846 (open_verify): Pass namespace id to lose.
62847 * elf/dl-open.c: Include <stap-probe.h>.
62848 (dl_open_worker) Added static probes "map_complete", "reloc_start"
62849 and "reloc_complete".
62850 * elf/dl-close.c: Include <stap-probe.h>.
62851 (_dl_close_worker): Added static probes "unmap_start" and
62852 "unmap_complete".
62853 * elf/rtld-debugger-interface.txt: New file documenting the above.
62854
62855 2012-07-26 Roland McGrath <roland@hack.frob.com>
62856
62857 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
62858 rather than a string variable.
62859 * sunrpc/rpc_main.c (h_output): Likewise.
62860 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
62861
62862 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
62863
62864 * inet/check_native.c: New file.
62865
62866 2012-07-26 Joseph Myers <joseph@codesourcery.com>
62867
62868 [BZ #13629]
62869 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
62870 if larger part has absolute value 1.0.
62871 * math/s_clog10.c (__clog10): Likewise.
62872 * math/s_clog10f.c (__clog10f): Likewise.
62873 * math/s_clog10l.c (__clog10l): Likewise.
62874 * math/s_clogf.c (__clogf): Likewise.
62875 * math/s_clogl.c (__clogl): Likewise.
62876 * math/libm-test.inc (clog_test): Add more tests.
62877 (clog10_test): Likewise.
62878 * sysdeps/i386/fpu/libm-test-ulps: Update.
62879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62880
62881 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
62882 (pltexit): Likewise.
62883 (La_regs): Likewise.
62884 (La_retval): Likewise.
62885 (int_retval): Likewise.
62886 Update #error for removed macros to refer only to definitions in
62887 tst-audit.h.
62888 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
62889 macro.
62890 (pltexit): Likewise.
62891 (La_regs): Likewise.
62892 (La_retval): Likewise.
62893 (int_retval): Likewise.
62894 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
62895 macro.
62896 (pltexit): Likewise.
62897 (La_regs): Likewise.
62898 (La_retval): Likewise.
62899 (int_retval): Likewise.
62900 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
62901 macro.
62902 (pltexit): Likewise.
62903 (La_regs): Likewise.
62904 (La_retval): Likewise.
62905 (int_retval): Likewise.
62906 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
62907 macro.
62908 (pltexit): Likewise.
62909 (La_regs): Likewise.
62910 (La_retval): Likewise.
62911 (int_retval): Likewise.
62912 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
62913 macro.
62914 (pltexit): Likewise.
62915 (La_regs): Likewise.
62916 (La_retval): Likewise.
62917 (int_retval): Likewise.
62918 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
62919 macro.
62920 (pltexit): Likewise.
62921 (La_regs): Likewise.
62922 (La_retval): Likewise.
62923 (int_retval): Likewise.
62924 * sysdeps/generic/tst-audit.h: Update comment to refer only to
62925 macro definitions in tst-audit.h.
62926 * sysdeps/i386/tst-audit.h: New file.
62927 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
62928 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
62929 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
62930 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
62931 * sysdeps/sh/tst-audit.h: Likewise.
62932 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
62933 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
62934 * sysdeps/x86_64/tst-audit.h: Likewise.
62935
62936 2012-07-26 Andreas Jaeger <aj@suse.de>
62937
62938 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
62939 ptrace.
62940
62941 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
62942 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
62943 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
62944 PTRACE_O_MASK.
62945 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
62946 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
62947 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
62948
62949 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
62950 value.
62951
62952 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
62953 _sigsys.
62954 (si_call_addr, si_syscall, si_arch): Define new macro.
62955 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
62956 _sigsys.
62957 (si_call_addr, si_syscall, si_arch): Define new marcro.
62958 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
62959 _sigsys.
62960 (si_call_addr, si_syscall, si_arch): Define new macro.
62961 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
62962 _sigsys.
62963 (si_call_addr, si_syscall, si_arch): Define new macro.
62964
62965 2012-07-25 Joseph Myers <joseph@codesourcery.com>
62966
62967 [BZ #13717]
62968 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
62969 Change to 2.4.21 where previously 2.4.1.
62970 * sysdeps/unix/sysv/linux/configure: Regenerated.
62971 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
62972 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
62973 Linux kernel version.
62974 (__ASSUME_STD_AUXV): Remove.
62975 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
62976 kernel version.
62977 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
62978 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
62979 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
62980 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
62981 (__ASSUME_NETLINK_SUPPORT): Likewise.
62982 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
62983 (__no_netlink_support): Remove conditional definition.
62984 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
62985 Remove.
62986 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
62987 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
62988 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
62989 (if_nameindex_ioctl): Remove.
62990 (if_nameindex_netlink): Do not handle __no_netlink_support.
62991 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
62992 code.
62993 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
62994 Remove conditional code.
62995 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
62996 code.
62997 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
62998 unconditional.
62999 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
63000 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
63001 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
63002 Remove.
63003 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
63004 [!__ASSUME_STD_AUXV]: Remove conditional code.
63005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
63006 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
63007 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
63008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
63009 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
63010 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
63011 code.
63012 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
63013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
63014 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
63015 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
63016 conditional code.
63017 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
63018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
63019 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
63020 code.
63021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
63022 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
63023 conditional code.
63024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
63025 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
63026 code unconditional.
63027 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63028 conditional code.
63029 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
63030 unconditional.
63031 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63032 conditional code.
63033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
63034 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
63035 unconditional.
63036 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63037 conditional code.
63038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
63039 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
63040 code unconditional.
63041 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63042 conditional code.
63043 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
63044 unconditional.
63045 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63046 conditional code.
63047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
63048 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
63049 code unconditional.
63050 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63051 conditional code.
63052 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
63053 unconditional.
63054 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63055 conditional code.
63056
63057 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
63058
63059 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
63060 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
63061 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
63062 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
63063 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
63064 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
63065 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
63066 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
63067 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
63068 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
63069 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
63070 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
63071 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
63072 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
63073 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
63074 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
63075 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
63076 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
63077 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
63078 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
63079 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
63080 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
63081 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
63082
63083 2012-07-25 Florian Weimer <fweimer@redhat.com>
63084
63085 * Versions.def: Add GLIBC_2.17.
63086 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
63087 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
63088 Introduce __libc_secure_getenv.
63089 * stdlib/Versions (2.17): Add secure_getenv
63090 (GLIBC_PRIVATE): Add __libc_secure_getenv.
63091 * stdlib/secure-getenv.c: Rename __secure_getenv to
63092 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
63093 symbol __secure_getenv for GLIBC_2.0.
63094 * stdlib/tst-secure-getenv.c: New.
63095 * stdlib/Makefile (tests): Add testcase.
63096 * manual/startup.texi (Environment Access): Document
63097 secure_getenv.
63098 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
63099 __libc_secure_getenv.
63100 * inet/ruserpass.c (ruserpass): Likewise.
63101 * malloc/mtrace.c (mtrace): Likewise.
63102 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
63103 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
63104 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
63105 * sysdeps/posix/tempname.c: Likewise. Evaluate
63106 HAVE_SECURE_GETENV.
63107 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
63108 __secure_getenv to __libc_secure_getenv.
63109 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
63110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
63111 Likewise.
63112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
63113 Likewise.
63114 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
63115 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
63116 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
63117 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
63118 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
63119 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
63120 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
63121
63122 2012-07-25 Joseph Myers <joseph@codesourcery.com>
63123
63124 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
63125 (struct La_i86_retval): Likewise.
63126 (struct La_x86_64_regs): Likewise.
63127 (struct La_x86_64_retval): Likewise.
63128 (struct La_x32_regs): Likewise.
63129 (struct La_x32_retval): Likewise.
63130 (struct La_ppc32_regs): Likewise.
63131 (struct La_ppc32_retval): Likewise.
63132 (struct La_ppc64_regs): Likewise.
63133 (struct La_ppc64_retval): Likewise.
63134 (struct La_sh_regs): Likewise.
63135 (struct La_sh_retval): Likewise.
63136 (struct La_s390_32_regs): Likewise.
63137 (struct La_s390_32_retval): Likewise.
63138 (struct La_s390_64_regs): Likewise.
63139 (struct La_s390_64_retval): Likewise.
63140 (struct La_sparc32_regs): Likewise.
63141 (struct La_sparc32_retval): Likewise.
63142 (struct La_sparc64_regs): Likewise.
63143 (struct La_sparc64_retval): Likewise.
63144 (struct audit_ifaces): Remove architecture-specific pltenter and
63145 pltexit members.
63146 * sysdeps/i386/ldsodefs.h: New file.
63147 * sysdeps/powerpc/ldsodefs.h: Likewise.
63148 * sysdeps/s390/ldsodefs.h: Likewise.
63149 * sysdeps/sh/ldsodefs.h: Likewise.
63150 * sysdeps/sparc/ldsodefs.h: Likewise.
63151 * sysdeps/x86_64/ldsodefs.h: Likewise.
63152
63153 2012-07-25 Marek Polacek <polacek@redhat.com>
63154
63155 [BZ #6808]
63156 * math/libm-test.inc (yn_test): Add another test.
63157 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
63158 to ERANGE when the result is +-Inf.
63159 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
63160 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
63161 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
63162 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
63163
63164 2012-07-24 Joseph Myers <joseph@codesourcery.com>
63165
63166 * conform/data/time.h-data (NULL): Use macro-constant. Require
63167 equal to 0.
63168 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
63169 clock_t.
63170 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
63171
63172 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
63173
63174 * configure.in <sysdeps resolving>: Correct printing
63175 Implies_before.
63176 * configure: Regenerate.
63177
63178 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
63179
63180 * math/w_ilogb.c: Include <limits.h>.
63181 * math/w_ilogbl.c: Likewise.
63182
63183 2012-07-20 Joseph Myers <joseph@codesourcery.com>
63184
63185 * manual/lang.texi (__va_copy): Document primarily as ISO C99
63186 va_copy. Document allowing for unavailable va_copy only as
63187 pre-C99 compatibility.
63188 * manual/string.texi (Copying and Concatenation): Use va_copy
63189 instead of __va_copy in concat example.
63190
63191 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
63192
63193 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
63194 (__sendto): Use create_address_port. Initialize APORT and deallocate
63195 it if not null.
63196
63197 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
63198 with O_NOLINK passed to __file_name_lookup.
63199
63200 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
63201 with O_NOLINK passed to __file_name_lookup.
63202
63203 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
63204 negative N or less than NGIDS.
63205
63206 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
63207 type to string_t. Set ERANGE as errno and return it if NAME is not big
63208 enough. Use memcpy instead of strncpy.
63209
63210 2012-07-20 Joseph Myers <joseph@codesourcery.com>
63211
63212 * elf/Makefile (check-data): Remove.
63213 (localplt.data): New vpath directive.
63214 ($(objpfx)check-localplt.out): Use localplt.data from vpath
63215 instead of $(check-data).
63216 * scripts/data/localplt-generic.data: Move to ...
63217 * sysdeps/generic/localplt.data: ... here.
63218 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
63219 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
63220 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
63221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
63222 ... here.
63223 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
63224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
63225 ... here.
63226 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
63227 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
63228 ... here.
63229 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
63230 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
63231 ... here.
63232 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
63233 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
63234 ... here.
63235 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
63236 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
63237 ... here.
63238
63239 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63240
63241 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
63242 PPC32 and PPC64 files.
63243 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
63244 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
63245
63246 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
63247
63248 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
63249 __makecontext_ret to ...
63250 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
63251 ... here and call exit if uc_link is NULL. New file.
63252 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
63253 __makecontext_ret.S.
63254 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
63255 __makecontext_ret to ...
63256 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
63257 ... here and call exit if uc_link is NULL. New file.
63258 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
63259 __makecontext_ret.S.
63260
63261 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
63262
63263 * elf/elf.h (R_390_IRELATIVE): New definition.
63264 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
63265 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
63266 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
63267 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
63268 (elf_machine_lazy_rel): Likewise.
63269 * sysdeps/s390/dl-irel.h: New file.
63270 * sysdeps/s390/s390-64/memcpy.S: New asm code.
63271 * sysdeps/s390/s390-64/memset.S: New asm code.
63272 * sysdeps/s390/s390-64/memcmp.S: New asm code.
63273 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
63274 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
63275 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
63276 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
63277 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
63278 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
63279 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
63280 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
63281 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
63282 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
63283 * sysdeps/s390/s390-32/memcpy.S: New asm code.
63284 * sysdeps/s390/s390-32/memset.S: New asm code.
63285 * sysdeps/s390/s390-32/memcmp.S: New asm code.
63286
63287 2012-07-17 Marek Polacek <polacek@redhat.com>
63288
63289 [BZ #14349]
63290 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
63291 * sysdeps/s390/s390-64/configure.in: Likewise.
63292 * sysdeps/sparc/configure.in: Likewise.
63293 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
63294 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
63295 * sysdeps/i386/configure.in: Likewise.
63296 * sysdeps/x86_64/configure.in: Likewise.
63297 * sysdeps/sh/configure.in: Likewise.
63298 * sysdeps/s390/s390-32/configure: Regenerated.
63299 * sysdeps/s390/s390-64/configure: Likewise.
63300 * sysdeps/x86_64/configure: Likewise.
63301 * sysdeps/sh/configure: Likewise.
63302 * sysdeps/powerpc/powerpc64/configure: Likewise.
63303 * sysdeps/powerpc/powerpc32/configure: Likewise.
63304 * sysdeps/sparc/configure: Likwise.
63305 * sysdeps/i386/configure: Likewise.
63306
63307 * elf/dl-open.c: Comment fixes.
63308
63309 2012-07-17 Joseph Myers <joseph@codesourcery.com>
63310
63311 * Makefile [CXX] (check-data): Remove.
63312 [CXX] (c++-types.data): New vpath directive.
63313 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
63314 vpath. Do not allow for C++ type data being missing.
63315 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
63316 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
63317 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
63318 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
63319 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
63320 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
63321 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
63322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
63323 ... here.
63324 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
63325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
63326 ... here.
63327 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
63328 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
63329 ... here.
63330 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
63331 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
63332 ... here.
63333 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
63334 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
63335 ... here.
63336 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
63337 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
63338 ... here.
63339 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
63340 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
63341 ... here.
63342 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
63343 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
63344
63345 * elf/tls-macros.h (TLS_LE): Move architecture-specific
63346 definitions to architecture-specific files.
63347 (TLS_IE): Likewise.
63348 (TLS_LD): Likewise.
63349 (TLS_GD): Likewise.
63350 * sysdeps/i386/tls-macros.h: New file.
63351 * sysdeps/powerpc/tls-macros.h: Likewise.
63352 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
63353 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
63354 * sysdeps/sh/tls-macros.h: Likewise.
63355 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
63356 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
63357 * sysdeps/x86_64/tls-macros.h: Likewise.
63358
63359 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
63360
63361 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
63362 zero value for regular exit case.
63363
63364 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
63365 (__start_context): Preserve zero value for regular exit case.
63366
63367 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
63368 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
63369
63370 * manual/setjmp.texi (setcontext): Clarify normal process
63371 termination when uc_link is the null pointer.
63372 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
63373 exit call.
63374
63375 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
63376
63377 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
63378 preprocessor. Test for each exception mask separately.
63379
63380 2012-07-16 Andreas Jaeger <aj@suse.de>
63381
63382 * po/ru.po: Update from translation team.
63383
63384 2012-07-15 Joseph Myers <joseph@codesourcery.com>
63385
63386 * conform/data/string.h-data (NULL): Use macro-constant. Require
63387 equal to 0.
63388 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
63389 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
63390 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
63391 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
63392 [ISO || ISO99 || ISO11] (*_t): Do not allow.
63393
63394 2012-07-13 Andreas Jaeger <aj@suse.de>
63395
63396 * po/fr.po: Update from translation team.
63397
63398 2012-07-12 Marek Polacek <polacek@redhat.com>
63399
63400 [BZ #14173]
63401 * math/libm-test.inc (yn_test): Add test for BZ #14173.
63402 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
63403 loop condition.
63404
63405 2012-07-12 Joseph Myers <joseph@codesourcery.com>
63406
63407 [BZ #13717]
63408 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
63409 Change to 2.4.1 where previously 2.4.0.
63410 * sysdeps/unix/sysv/linux/configure: Regenerated.
63411 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
63412 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
63413 version.
63414 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
63415 (__ASSUME_AT_CLKTCK): Remove.
63416 (__ASSUME_AT_PAGESIZE): Likewise.
63417 (__ASSUME_AT_XID): Likewise.
63418 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
63419 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
63420 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
63421 unconditionally.
63422 (HAVE_AUX_PAGESIZE): Likewise.
63423 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
63424 [__ASSUME_AT_CLKTCK]: Make code unconditional.
63425 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
63426
63427 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
63428
63429 [BZ #14307]
63430 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
63431 the temporary buffer used to invoke __gethostbyname2_r,
63432 __gethostbyaddr_r and gethostbyname4_r to make room for struct
63433 host_data / struct gaih_addrtuple.
63434 * resolv/nss_dns/dns-host.c (global scope): Move definition of
63435 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
63436 header file nss/nsswitch.h.
63437 * nss/nsswitch.h (global scope): Add definition of implementation
63438 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
63439 resolv/nss_dns/dns-host.c).
63440
63441 2012-07-11 Andreas Jaeger <aj@suse.de>
63442
63443 * po/fr.po: Update from translation team.
63444
63445 * po/sv.po: Update from translation team
63446 * po/fr.po: Another update from translation team.
63447
63448 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63449
63450 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
63451 for subnormals or multiply small sinh result by itself.
63452 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
63453 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63454
63455 2012-07-11 David S. Miller <davem@davemloft.net>
63456
63457 * sysdeps/sparc/fpu/libm-test-ulps: Update.
63458
63459 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
63460
63461 [BZ #14347]
63462 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
63463 (INTERNAL_MARK): Shift it here.
63464
63465 2012-07-10 Marek Polacek <polacek@redhat.com>
63466
63467 [BZ #14151]
63468 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
63469 libc_cv_asm_global_directive with .globl.
63470 * configure: Regenerated.
63471 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
63472 with .globl.
63473 * sysdeps/i386/configure: Regenerated.
63474 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
63475 with .globl.
63476 * sysdeps/x86_64/configure: Regenerated.
63477 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
63478 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
63479 * elf/tst-unique2mod2.c: Likewise.
63480 * elf/tst-unique2mod1.c: Likewise.
63481 * elf/tst-unique1mod2.c: Likewise.
63482 * elf/tst-unique1mod1.c: Likewise.
63483 * sysdeps/s390/s390-32/sysdep.h: Likewise.
63484 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
63485 * sysdeps/s390/s390-64/sysdep.h: Likewise.
63486 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
63487 * sysdeps/mach/sysdep.h: Likewise.
63488 * sysdeps/i386/sysdep.h: Likewise.
63489 * sysdeps/i386/i386-mcount.S: Likewise.
63490 * sysdeps/x86_64/_mcount.S: Likewise.
63491 * sysdeps/x86_64/sysdep.h: Likewise.
63492 * sysdeps/sh/_mcount.S: Likewise.
63493 * sysdeps/sh/sysdep.h: Likewise.
63494 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
63495 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
63496 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
63497 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
63498 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
63499 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
63500 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
63501 * locale/localeinfo.h: Likewise.
63502 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
63503 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
63504
63505 2012-07-09 Roland McGrath <roland@hack.frob.com>
63506
63507 [BZ #14336]
63508 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
63509 system".
63510 * manual/message.texi (The Uniforum approach): Likewise.
63511 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
63512 (glibc iconv Implementation): Likewise.
63513
63514 2012-07-09 Joseph Myers <joseph@codesourcery.com>
63515
63516 [BZ #14337]
63517 * math/s_clog.c (__clog): Avoid scaling a value down where that
63518 could result in underflow.
63519 * math/s_clog10.c (__clog10): Likewise.
63520 * math/s_clog10f.c (__clog10f): Likewise.
63521 * math/s_clog10l.c (__clog10l): Likewise.
63522 * math/s_clogf.c (__clogf): Likewise.
63523 * math/s_clogl.c (__clogl): Likewise.
63524 * math/libm-test.inc (clog_test): Add more tests.
63525 (clog10_test): Likewise.
63526 * sysdeps/i386/fpu/libm-test-ulps: Update.
63527 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63528
63529 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
63530
63531 [BZ #14283]
63532 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
63533 by 7 not 8 to examine high bit of fractional part.
63534
63535 [BZ #14042]
63536 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
63537 for call to __mcount_internal.
63538 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
63539 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
63540 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
63541
63542 2012-07-06 Joseph Myers <joseph@codesourcery.com>
63543
63544 [BZ #14154]
63545 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
63546 approximation for values within 0x1p-13f of an odd multiple of
63547 pi/4.
63548 * math/libm-test.inc (tan_test): Do not allow spurious underflow
63549 exception. Add more tests.
63550 * sysdeps/i386/fpu/libm-test-ulps: Update.
63551
63552 [BZ #6778]
63553 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
63554 inputs and return -1 for them. Do not check for +Inf in case not
63555 reachable for +Inf.
63556 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
63557 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
63558 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
63559 and return -1 for them. Do not check for +Inf in case not
63560 reachable for +Inf.
63561 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
63562 define.
63563 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
63564 and return -1 for them. Do not check for +Inf in case not
63565 reachable for +Inf.
63566 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
63567 spurious underflow.
63568 * sysdeps/i386/fpu/libm-test-ulps: Update.
63569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63570
63571 2012-07-06 Mike Frysinger <vapier@gentoo.org>
63572
63573 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
63574
63575 2012-07-05 Joseph Myers <joseph@codesourcery.com>
63576
63577 [BZ #14157]
63578 [BZ #14331]
63579 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
63580 could result in spurious underflow. Scale down values above
63581 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
63582 * math/s_csqrtf.c (__csqrtf): Likewise.
63583 * math/s_csqrtl.c (__csqrtl): Likewise.
63584 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
63585 spurious underflow.
63586 * sysdeps/i386/fpu/libm-test-ulps: Update.
63587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63588
63589 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
63590
63591 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
63592 xopen-msg.sed.
63593 * catgets/xopen-msg.awk: New file.
63594 * catgets/xopen-msg.sed: Removed.
63595
63596 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
63597 po2text.sed.
63598 * intl/po2test.awk: New file.
63599 * intl/po2test.sed: Removed.
63600
63601 2012-07-04 Joseph Myers <joseph@codesourcery.com>
63602
63603 [BZ #14328]
63604 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
63605 or multiply small sinh result by itself.
63606 * math/s_ctanf.c (__ctanf): Likewise.
63607 * math/s_ctanh.c (__ctanh): Likewise.
63608 * math/s_ctanhf.c (__ctanhf): Likewise.
63609 * math/s_ctanhl.c (__ctanhl): Likewise.
63610 * math/s_ctanl.c (__ctanl): Likewise.
63611 * math/libm-test.inc (ctan_test_tonearest): New function.
63612 (ctan_test_towardzero): Likewise.
63613 (ctan_test_downward): Likewise.
63614 (ctan_test_upward): Likewise.
63615 (ctanh_test_tonearest): Likewise.
63616 (ctanh_test_towardzero): Likewise.
63617 (ctanh_test_downward): Likewise.
63618 (ctanh_test_upward): Likewise.
63619 (main): Call these new functions.
63620 * sysdeps/i386/fpu/libm-test-ulps: Update.
63621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63622
63623 2012-07-03 Mike Frysinger <vapier@gentoo.org>
63624
63625 * .gitignore: Delete /ports entry.
63626
63627 2012-07-03 Andreas Jaeger <aj@suse.de>
63628
63629 * po/bg.po: Update from translation team.
63630 * po/cs.po: Likewise.
63631 * po/de.po: Likewise.
63632 * po/hr.po: Likewise.
63633 * po/nl.pl: Likewise.
63634 * po/pl.po: Likewise.
63635 * po/vi.po: Likewise.
63636
63637 2012-07-03 Joseph Myers <joseph@codesourcery.com>
63638
63639 * Makeconfig [!+link] (+link-before-libc): New variable.
63640 [!+link] (+link-after-libc): Likewise.
63641 [!+link] (+link-tests): Likewise.
63642 [!+link] (+link): Define in terms of $(+link-before-libc) and
63643 $(+link-after-libc).
63644 [!+link-static] (+link-static-before-libc): New variable.
63645 [!+link-static] (+link-static-after-libc): Likewise.
63646 [!+link-static] (+link-static-tests): Likewise.
63647 [!+link-static] (+link-static): Define in terms of
63648 $(+link-static-before-libc) and $(+link-static-after-libc).
63649 [build-shared] (link-libc-before-gnulib): New variable.
63650 [build-shared] (link-libc-tests): Likewise.
63651 [build-shared] (link-libc): Define in terms of
63652 $(link-libc-before-gnulib).
63653 [!build-shared] (link-libc-tests): New variable.
63654 (link-libc-static-tests): New variable.
63655 [!gnulib] (gnulib-arch): New variable.
63656 [!gnulib] (gnulib-tests): Likewise.
63657 [!gnulib] (static-gnulib-arch): Likewise.
63658 [!gnulib] (static-gnulib-tests): Likewise.
63659 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
63660 Define with "=" instead of ":=".
63661 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
63662 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
63663 * Rules (binaries-all-notests): New variable.
63664 (binaries-all-tests): Likewise.
63665 (binaries-static-notests): Likewise.
63666 (binaries-static-tests): Likewise.
63667 (binaries-all): Define using $(binaries-all-notests) and
63668 $(binaries-all-tests).
63669 (binaries-static): Define using $(binaries-static-notests) and
63670 $(binaries-static-tests).
63671 (binaries-shared-tests): New variable.
63672 (binaries-shared-notests): Likewise.
63673 (binaries-shared): Remove variable.
63674 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
63675 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
63676 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
63677 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
63678 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
63679 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
63680 * elf/Makefile (sln-modules): New variable.
63681 (extra-objs): Add $(sln-modules:=.o).
63682 (ldconfig-modules): Add static-stubs.
63683 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
63684 * elf/static-stubs.c: New file.
63685
63686 [BZ #14283]
63687 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
63688 by 7 not 8 to examine high bit of fractional part. Use volatile
63689 variables when splitting into final array of floats if
63690 __FLT_EVAL_METHOD__ != 0.
63691 * math/libm-test.inc (cos_test): Add another test.
63692 (sin_test): Likewise.
63693 * sysdeps/i386/fpu/libm-test-ulps: Update.
63694
63695 [BZ #14273]
63696 * math/libm-test.inc (cosh_test): Add more tests.
63697
63698 * version.h (RELEASE): Set to "development".
63699 (VERSION): Set to "2.16.90".
63700
63701 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
63702
63703 * NEWS: Update copyright. Remove last-updated date.
63704 Mention math library bug fixes and timezone data changes.
63705 * README: Mention GNU/Hurd, x32, and HPPA support status.
63706
63707 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
63708
63709 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
63710
63711 2012-06-27 Andreas Jaeger <aj@suse.de>
63712
63713 * manual/contrib.texi (Contributors): Add Samuel Thibault.
63714
63715 2012-06-25 Andreas Jaeger <aj@suse.de>
63716
63717 * sysdeps/s390/fpu/libm-test-ulps: Update.
63718
63719 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
63720 Thomas Schwinge <thomas@codesourcery.com>
63721
63722 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
63723 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
63724 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
63725 fanotify_mark.
63726
63727 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
63728
63729 * sysdeps/mach/start.c: Remove file.
63730 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
63731 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
63732 * sysdeps/sh/init-first.c: Likewise.
63733
63734 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
63735 registers for frame unwinding purposes, add CFI directives.
63736 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
63737 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
63738 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
63739 Likewise.
63740
63741 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
63742 __fortify_fail returning.
63743 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
63744
63745 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
63746 sysdeps/sh/____longjmp_chk.S.
63747 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
63748 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
63749 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
63750 (gen-as-const-headers): Append sigaltstack-offsets.sym.
63751
63752 * sysdeps/sh/abort-instr.h: New file.
63753 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
63754 process in case exit returns.
63755
63756 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
63757 initialize the GOT register before use.
63758
63759 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
63760 calculation of ARGC > 4.
63761
63762 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
63763 meaningful names to some local labels.
63764
63765 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
63766 Kaz Kojima <kkojima@rr.iij4u.or.jp>
63767
63768 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
63769 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
63770 (__arch_compare_and_exchange_val_16_acq): Likewise.
63771 (__arch_compare_and_exchange_val_32_acq): Likewise.
63772 (atomic_exchange_and_add): Fix gUSA sequence.
63773 (atomic_add): Likewise.
63774 (atomic_add_negative): Likewise.
63775 (atomic_add_zero): Likewise.
63776 (atomic_bit_test_set): Likewise.
63777
63778 2012-06-22 Andreas Schwab <schwab@redhat.com>
63779
63780 [BZ #13579]
63781 * include/link.h (struct link_map): Add l_free_initfini.
63782 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
63783 l_initfini.
63784 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
63785 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
63786 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
63787 set.
63788
63789 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
63790
63791 * configure.in: Use AC_LANG_SOURCE.
63792 * configure: Regenerate.
63793
63794 2012-06-22 Roland McGrath <roland@hack.frob.com>
63795
63796 * configure.in (libc_cv_localstatedir): New substituted variable.
63797 * configure: Regenerated.
63798 * config.make.in (localstatedir): New variable, substituted from
63799 libc_cv_localstatedir.
63800 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
63801 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
63802 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
63803 * sysdeps/gnu/configure: Regenerated.
63804
63805 2012-06-21 Jeff Law <law@redhat.com>
63806
63807 [BZ #14277]
63808 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
63809 free. Simplify list management for _LIBC case.
63810
63811 2012-06-21 Joseph Myers <joseph@codesourcery.com>
63812
63813 [BZ #14273]
63814 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
63815 Clear sign bit of 64-bit integer value before comparing against
63816 overflow value.
63817
63818 * sysdeps/mach/configure: Regenerated.
63819
63820 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
63821
63822 [BZ #14278]
63823 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
63824
63825 2012-06-21 Jeff Law <law@redhat.com>
63826
63827 [BZ #13882]
63828 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
63829 uint16_t for elements in the "seen" array to avoid char overflows.
63830 * elf/dl-fini.c (_dl_sort_fini): Likewise.
63831 * elf/dl-open.c (dl_open_worker): Likewise.
63832
63833 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
63834
63835 * scripts/list-sources.sh: Scan PORTS for translations.
63836 * po/libc.pot: Regenerated.
63837
63838 2012-06-21 Andreas Jaeger <aj@suse.de>
63839
63840 [BZ #12194]
63841 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
63842 warning.
63843 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
63844 * bits/byteswap-16.h (__bswap_16): Likewise.
63845 * bits/byteswap.h (__bswap_constant_16): Likewise.
63846
63847 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
63848
63849 [BZ #14117]
63850 * sysdeps/i386/fpu_control.h: Removed.
63851 * sysdeps/x86_64/fpu_control.h: Moved to ...
63852 * sysdeps/x86/fpu_control.h: Here.
63853
63854 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
63855 (_FPU_SETCW): Likewise.
63856
63857 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
63858
63859 [BZ #14117]
63860 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
63861 * sysdeps/x86/fpu/bits/mathinline.h: This.
63862 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
63863
63864 [BZ #14050]
63865 [BZ #14117]
63866 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
63867 functions if __x86_64__ is defined.
63868
63869 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
63870
63871 * string/endian.h: Add !__ASSEMBLER__ condition for including
63872 conversion interfaces.
63873
63874 2012-06-15 Joseph Myers <joseph@codesourcery.com>
63875
63876 [BZ #14241]
63877 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
63878 of ABS(x) in calculating zero to negative powers other than odd
63879 integers.
63880 * math/libm-test.inc (pow_test): Add more tests.
63881
63882 2012-06-15 Andreas Jaeger <aj@suse.de>
63883
63884 * manual/contrib.texi (Contributors): Update entry of Liubov
63885 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
63886 Machado Filho.
63887
63888 2012-06-15 Cyril Hrubis <metan@ucw.cz>
63889
63890 * string/string.h: Add __wur to GNU version of strerror_r.
63891
63892 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
63893
63894 [BZ #14229]
63895 * string/Makefile (tests): Add tst-strtok_r.
63896 * string/tst-strtok_r.c: New file.
63897 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
63898 RAX_LP/RDX_LP on SAVE_PTR.
63899
63900 2012-06-14 Roland McGrath <roland@hack.frob.com>
63901
63902 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
63903
63904 2012-06-14 Joseph Myers <joseph@codesourcery.com>
63905
63906 * libm_test.inc (csqrt_test): Allow more spurious underflow
63907 exceptions.
63908 (j0_test): Likewise.
63909 (j1_test): Likewise.
63910 (y0_test): Likewise.
63911 (y1_test): Likewise.
63912
63913 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
63914
63915 * po/Makefile (libc.pot): Use UTF-8 charset.
63916
63917 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
63918
63919 [BZ #14210]
63920 Suppress sign-conversion warning from FD_SET.
63921 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
63922 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
63923 not unsigned long int.
63924 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
63925
63926 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
63927
63928 [BZ #14050]
63929 [BZ #14117]
63930 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
63931 __extern_always_inline instead of __extern_inline.
63932 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
63933 (__signbit): Likewise.
63934 (__signbitl): Support C++ namespace.
63935 (lrintf): New inline function.
63936 (lrint): Likewise.
63937 (llrintf): Likewise.
63938 (llrint): Likewise.
63939 (fmaxf): Likewise.
63940 (fmax): Likewise.
63941 (fminf): Likewise.
63942 (fmin): Likewise.
63943 (rint): Likewise.
63944 (rintf): Likewise.
63945 (ceil): Likewise.
63946 (ceilf): Likewise.
63947 (floor): Likewise.
63948 (floorf): Likewise.
63949 (nearbyint): Likewise.
63950 (nearbyintf): Likewise.
63951
63952 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
63953
63954 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
63955 non-default versions.
63956
63957 2012-06-11 Roland McGrath <roland@hack.frob.com>
63958
63959 [BZ #14218]
63960 * manual/argp.texi (Argp): Reword argp_parse description slightly.
63961
63962 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
63963
63964 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
63965 (FE_UPWARD, FE_DOWNWARD): Don't define.
63966 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
63967 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
63968
63969 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
63970 reading it.
63971 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
63972 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
63973
63974 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
63975
63976 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
63977 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
63978 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
63979 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
63980
63981 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
63982
63983 [BZ #14117]
63984 * sysdeps/i386/fpu/bits/fenv.h: Removed.
63985 * sysdeps/i386/fpu/Implies: New file.
63986 * sysdeps/x86_64/fpu/Implies: Likewise.
63987 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
63988 * sysdeps/x86/fpu/bits/fenv.h: This.
63989
63990 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
63991 __SSE_MATH__.
63992
63993 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
63994
63995 [BZ #14134]
63996 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
63997 character 0xffff that matches the last element of the
63998 conversion table.
63999
64000 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64001
64002 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
64003 fmodl commit.
64004
64005 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64006
64007 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
64008 values higher than 25.6283.
64009
64010 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64011
64012 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
64013 subnormal exponent extraction and add some __builtin_expect.
64014 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
64015 Fix for subnormal mantissa calculation.
64016
64017 2012-06-04 Mike Frysinger <vapier@gentoo.org>
64018
64019 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
64020 cpu2 is -1 and errno is not ENOSYS.
64021
64022 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
64023
64024 [BZ #14117]
64025 * sysdeps/i386/i486/bits/string.h: Renamed to ...
64026 * sysdeps/x86/bits/string.h: This.
64027 * sysdeps/x86_64/bits/string.h: Removed.
64028
64029 * sysdeps/i386/i486/bits/string.h: Define inline functions only
64030 if not compiling for x86-64, but compiling for >= i486.
64031
64032 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
64033 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
64034
64035 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
64036 New macro from Linux kernel 3.4.0.
64037 (FP_XSTATE_MAGIC2): Likewise.
64038 (FP_XSTATE_MAGIC2_SIZE): Likewise.
64039 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
64040 (struct _fpx_sw_bytes): New struct.
64041 (struct _xsave_hdr): Likewise.
64042 (struct _ymmh_state): Likewise.
64043 (struct _xstate): Likewise.
64044
64045 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
64046 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
64047 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
64048 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
64049 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
64050 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
64051
64052 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
64053 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
64054 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
64055 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
64056 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
64057 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
64058
64059 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
64060
64061 [BZ #13743]
64062 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
64063 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
64064 (sysdep_headers): Include sys/platform/ppc.h.
64065 * sysdeps/powerpc/test-gettimebase.c: Test for
64066 __ppc_get_timebase() to catch future ISA opcode/insn changes.
64067 * manual/Makefile (appendices): Include platform.texi.
64068 * manual/contrib.texi (Contributors): Update @node pointers.
64069 * manual/maint.texi (Maintenance): Likewise.
64070 (Platform): New node.
64071 * manual/platform.texi: New file. Document the new features.
64072
64073 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
64074 Jakub Jelinek <jakub@redhat.com>
64075
64076 [BZ #14188]
64077 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
64078 where __builtin_expect is unavailable.
64079
64080 2012-06-03 David S. Miller <davem@davemloft.net>
64081
64082 * stdlib/longlong.h: Updated from GCC.
64083
64084 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
64085
64086 [BZ #14042]
64087 * sysdeps/powerpc/powerpc32/mcount.c: New file.
64088 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
64089 __mcount_internal.
64090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
64091 (GLIBC_2.16): Likewise.
64092
64093 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
64094
64095 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
64096
64097 2012-06-01 Joseph Myers <joseph@codesourcery.com>
64098
64099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
64100 (default-abi): New variable.
64101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
64102 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
64103 variable.
64104 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
64105 Likewise.
64106 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
64107 Likewise.
64108 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
64109 Likewise.
64110
64111 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
64112 definition. Document in comment.
64113
64114 2012-06-01 David S. Miller <davem@davemloft.net>
64115
64116 * stdlib/longlong.h: Updated from GCC.
64117
64118 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
64119
64120 [BZ #14117]
64121 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
64122 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
64123 sys/debugreg.h sys/io.h here.
64124 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
64125 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
64126 sys/io.h.
64127 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
64128 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
64129 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
64130 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
64131 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
64132 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
64133
64134 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
64135 Define only if __x86_64__ is defined.
64136
64137 2012-06-01 Joseph Myers <joseph@codesourcery.com>
64138
64139 [BZ #14048]
64140 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
64141 Use int64_t for variable i.
64142 * math/libm-test.inc (fmod_test): Add more tests.
64143
64144 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
64145 z computation is not scheduled after fetestexcept.
64146 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
64147 Use math_force_eval instead of asm to ensure calculation scheduled
64148 before exception test.
64149 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
64150 Ensure a1 + u.d computation is not scheduled after fetestexcept.
64151
64152 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
64153
64154 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
64155 computation is not scheduled after fetestexcept.
64156
64157 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
64158
64159 [BZ #14117]
64160 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
64161 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
64162
64163 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64164
64165 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
64166 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
64167
64168 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
64169
64170 [BZ #14117]
64171 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
64172 <bits/wordsize.h>.
64173 (__WCHAR_MIN): Support __WORDSIZE == 64.
64174 (__WCHAR_MAX): Likewise.
64175
64176 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
64177 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
64178
64179 [BZ #14183]
64180 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
64181 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
64182
64183 [BZ #14117]
64184 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
64185 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
64186
64187 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
64188 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
64189
64190 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
64191 Defined to 1 if __x86_64__ isn't defined.
64192 (_STAT_VER_LINUX_OLD): New.
64193 (st_atime): Remove duplicate.
64194 (st_mtime): Likewise.
64195 (st_ctime): Likewise.
64196
64197 2012-05-31 David S. Miller <davem@davemloft.net>
64198
64199 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
64200 entries.
64201
64202 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
64203
64204 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
64205 gen-libm-test.pl.
64206
64207 [BZ #14132]
64208 * elf/dl-reloc.c: Include <_itoa.h>.
64209 (_dl_reloc_bad_type): Remove use of INTUSE.
64210 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
64211 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
64212 * stdio-common/psiginfo.c (psiginfo): Likewise.
64213 * stdio-common/psignal.c (psignal): Likewise.
64214 * string/strsignal.c (strsignal): Likewise.
64215 * include/signal.h (_sys_siglist): Declare hidden proto.
64216 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
64217 INTVARDEF with libc_hidden_data_def.
64218 * stdio-common/itoa-udigits.c: Likewise.
64219 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
64220 (_itoa_lower_digits_internal): Remove declaration.
64221 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
64222 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
64223 (_sys_sigabbrev_internal): Remove aliases.
64224 (_sys_siglist): Define hidden alias.
64225
64226 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
64227
64228 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64229 bits/sysctl.h.
64230
64231 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
64232
64233 [BZ #14117]
64234 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
64235 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
64236
64237 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
64238 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
64239 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
64240 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
64241 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
64242 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
64243
64244 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
64245 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
64246 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
64247
64248 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
64249 with __addr.
64250 (insw): Likewise.
64251 (insl): Likewise.
64252 (outsb): Likewise.
64253 (outsw): Likewise.
64254 (outsl): Likewise.
64255
64256 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
64257 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
64258 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
64259
64260 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
64261 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
64262 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
64263 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
64264 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
64265 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
64266
64267 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
64268 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
64269
64270 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
64271 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
64272
64273 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
64274 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
64275 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
64276
64277 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
64278 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
64279 to ...
64280 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
64281
64282 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
64283 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
64284 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
64285
64286 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
64287 for x86-64.
64288 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
64289
64290 2012-05-31 Joseph Myers <joseph@codesourcery.com>
64291
64292 * math/math.h (M_El): Use two more decimal places.
64293 (M_LOG2El): Likewise.
64294 (M_LOG10El): Likewise.
64295 (M_LN2l): Likewise.
64296 (M_LN10l): Likewise.
64297 (M_PIl): Likewise.
64298 (M_PI_2l): Likewise.
64299 (M_PI_4l): Likewise.
64300 (M_1_PIl): Likewise.
64301 (M_2_PIl): Likewise.
64302 (M_2_SQRTPIl): Likewise.
64303 (M_SQRT2l): Likewise.
64304 (M_SQRT1_2l): Likewise.
64305
64306 2012-05-31 David S. Miller <davem@davemloft.net>
64307
64308 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
64309 values between float registers.
64310 * sysdeps/sparc/sparc64/memset.S: Likewise.
64311 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
64312
64313 2012-05-31 Mike Frysinger <vapier@gentoo.org>
64314
64315 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
64316 -D_FORTIFY_SOURCE=1.
64317 (CPPFLAGS-tst-longjmp_chk.c): Define.
64318 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
64319 (CPPFLAGS-tst-longjmp_chk2.c): Define.
64320 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
64321 CFLAGS-tst-wchar-h.c.
64322
64323 2012-05-31 Marek Polacek <polacek@redhat.com>
64324
64325 [BZ #14132]
64326 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
64327 __endmntent_internal): Remove declaration.
64328 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
64329 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
64330 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
64331
64332 2012-05-30 David S. Miller <davem@davemloft.net>
64333
64334 * sysdeps/sparc/sparc32/soft-fp/q_util.c
64335 (___Q_simulate_exceptions): Use real FP ops rather than writing
64336 into the %fsr.
64337 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
64338 Likewise.
64339
64340 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
64341
64342 [BZ #14117]
64343 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
64344 * sysdeps/x86/bits/xtitypes.h: This.
64345
64346 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
64347 * sysdeps/x86/bits/wordsize.h: This.
64348
64349 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
64350 * sysdeps/x86/bits/huge_vall.h: This.
64351
64352 * sysdeps/i386/bits/select.h: Removed.
64353 * sysdeps/x86_64/bits/select.h: Renamed to ...
64354 * sysdeps/x86/bits/select.h: This.
64355
64356 * sysdeps/i386/bits/setjmp.h: Removed.
64357 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
64358 * sysdeps/x86/bits/setjmp.h: This.
64359
64360 * sysdeps/i386/bits/mathdef.h: Removed.
64361 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
64362 * sysdeps/x86/bits/mathdef.h: This.
64363
64364 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
64365
64366 [BZ #14132]
64367 * include/sys/socket.h (__connect_internal)
64368 (__libc_sa_len_internal): Remove declaration.
64369 (__connect, __libc_sa_len): Declare hidden_proto.
64370 (SA_LEN): Remove use of INTUSE.
64371 * socket/connect.c: Add libc_hidden_def.
64372 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
64373 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
64374 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
64375 alias.
64376 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
64377 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
64378 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
64379 of adding _internal alias.
64380
64381 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
64382
64383 [BZ #14117]
64384 * sysdeps/i386/bits/link.h: Removed.
64385 * sysdeps/i386/bits/linkmap.h: Likewise.
64386 * sysdeps/x86_64/bits/link.h: Renamed to ...
64387 * sysdeps/x86/bits/link.h: This.
64388 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
64389 * sysdeps/x86/bits/linkmap.h: This.
64390
64391 * sysdeps/i386/bits/endian.h: Removed.
64392 * sysdeps/x86_64/bits/endian.h: Renamed to ...
64393 * sysdeps/x86/bits/endian.h: This.
64394
64395 * sysdeps/i386/bits/byteswap.h: Removed.
64396 * sysdeps/i386/bits/byteswap-16.h: Likewise.
64397 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
64398 * sysdeps/x86/bits/byteswap.h: This.
64399 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
64400 * sysdeps/x86/bits/byteswap-16.h: This.
64401 * sysdeps/i386/Implies: Add x86.
64402 * sysdeps/x86_64/Implies: Likewise.
64403
64404 2012-05-30 David S. Miller <davem@davemloft.net>
64405
64406 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
64407 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
64408 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
64409 (FP_TRAPPING_EXCEPTIONS): Define.
64410 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
64411 (FP_TRAPPING_EXCEPTIONS): Define.
64412 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
64413 subnormals only when inexact has been signalled or underflow
64414 exceptions are enabled.
64415 (_FP_PACK_CANONICAL): Likewise.
64416
64417 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
64418
64419 [BZ #14183]
64420 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
64421 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
64422
64423 2012-05-30 Richard Henderson <rth@twiddle.net>
64424
64425 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
64426 with #ifndef NOT_IN_libc.
64427
64428 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
64429 marked to avoid plt entry.
64430
64431 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
64432
64433 [BZ #14112]
64434 * Makeconfig (default-abi): New macro.
64435 (abi-includes): Likewise.
64436 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
64437 $(abi-$(default-abi)-lib-soname) for soname if defined.
64438 ($(common-objpfx)gnu/lib-names.stmp): Generate from
64439 abi-variants.
64440 * Makefile (installed-stubs): Likewise.
64441 * include/stubs-biarch.h: Removed.
64442 * scripts/lib-names.awk: Only handle one library at a time.
64443 * scripts/soversions.awk: Remove WORDSIZE support.
64444 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
64445 entries.
64446 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
64447 Removed.
64448 (syscall-list-default-condition): Likewise.
64449 (syscall-list-default-condition): Likewise.
64450 (syscall-list-includes): Likewise.
64451 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
64452 syscall-list-* with abi-*. Handle undefined abi-variants.
64453 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
64454 * sysdeps/unix/sysv/linux/i386/Implies: New file.
64455 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
64456 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
64457 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
64458 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
64459 Removed.
64460 (syscall-list-32-options): Likewise.
64461 (syscall-list-32-condition): Likewise.
64462 (syscall-list-64-options): Likewise.
64463 (syscall-list-64-condition): Likewise.
64464 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
64465 macro.
64466 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
64467 Renamed to ...
64468 (abi-*): This.
64469 (abi-64-ld-soname): New macro.
64470 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
64471 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
64472 Renamed to ...
64473 (abi-*): This.
64474 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
64475 * sysdeps/x86_64/x32/shlib-versions: Likewise.
64476
64477 2012-05-30 Joseph Myers <joseph@codesourcery.com>
64478
64479 * sysdeps/unix/sysv/linux/kernel-features.h
64480 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
64481 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
64482 include <kernel-features.h>.
64483 [!__NR_ftruncate64]: Remove conditional code.
64484 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64485 [__NR_ftruncate64]: Make code unconditional.
64486 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64487 * sysdeps/unix/sysv/linux/truncate64.c: Do not
64488 include <kernel-features.h>.
64489 [!__NR_ftruncate64]: Remove conditional code.
64490 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64491 [__NR_ftruncate64]: Make code unconditional.
64492 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
64494 include <kernel-features.h>.
64495 [!__NR_ftruncate64]: Remove conditional code.
64496 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64497 [__NR_ftruncate64]: Make code unconditional.
64498 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
64500 include <kernel-features.h>.
64501 [!__NR_ftruncate64]: Remove conditional code.
64502 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64503 [__NR_ftruncate64]: Make code unconditional.
64504 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64505
64506 * configure.in (libc_cv_fpie): Weaken to a compile test using
64507 LIBC_TRY_CC_OPTION.
64508 * configure: Regenerated.
64509
64510 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64511
64512 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
64513 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
64514 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
64515 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
64516 Refreshed.
64517 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
64518 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
64519 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
64520 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
64521 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
64522 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
64523 Refreshed.
64524
64525 2012-05-27 David S. Miller <davem@davemloft.net>
64526
64527 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
64528 (___Q_zero): New.
64529 (__Q_simulate_exceptions): Return void. Change to simulate
64530 exceptions by writing into the %fsr.
64531 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
64532 (__Qp_handle_exceptions): Likewise.
64533 (numbers): Delete.
64534 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
64535 __Qp_handle_exceptions.
64536 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
64537 __Qp_handle_exceptions.
64538 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
64539 as unused and give dummy FP_RND_NEAREST initializer.
64540 (FP_INHIBIT_RESULTS): Define.
64541 (___Q_simulate_exceptions): Update declaration.
64542 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
64543 formatting.
64544 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
64545 as unused and give dummy FP_RND_NEAREST initializer.
64546 (__Qp_handle_exceptions): Update declaration.
64547 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
64548 formatting.
64549
64550 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
64551
64552 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
64553 the temporary FPU control word.
64554 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
64555 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
64556 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
64557 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
64558 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
64559 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
64560 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
64561 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
64562 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
64563 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
64564 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
64565
64566 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
64567
64568 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
64569 fields.
64570
64571 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
64572
64573 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
64574 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
64575 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
64576 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
64577 Likewise.
64578 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
64579 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
64580 Likewise.
64581
64582 2012-05-27 Ulrich Drepper <drepper@gmail.com>
64583
64584 * po/h.po: Update from translation team.
64585
64586 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
64587
64588 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
64589
64590 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
64591 handling of denormals.
64592 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
64593 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
64594 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
64595 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
64596 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
64597 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
64598 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
64599 Likewise.
64600
64601 2012-05-26 Marek Polacek <polacek@redhat.com>
64602
64603 [BZ #14152]
64604 * math/libm-test.inc (fma_test): Don't always expect underflow
64605 exception.
64606
64607 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
64608
64609 [BZ #12416]
64610 * elf/tst-execstack.c: Include stackinfo.h.
64611 (do_test): Adjust test case to ensure that pthread_getattr_np
64612 behaviour remains the same after marking stack executable.
64613
64614 2012-05-25 Joseph Myers <joseph@codesourcery.com>
64615
64616 * sysdeps/unix/sysv/linux/kernel-features.h
64617 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
64618 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
64619 kernel-features.h.
64620 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
64621 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
64622 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
64623 kernel-features.h.
64624 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
64625 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
64626
64627 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
64628
64629 * configure.in: Define the default includes to being none.
64630 * configure: Regenerated.
64631
64632 2012-05-25 Roland McGrath <roland@hack.frob.com>
64633
64634 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
64635 * sysdeps/x86_64/setjmp.S: Likewise.
64636 * sysdeps/i386/bsd-setjmp.S: Likewise.
64637 * sysdeps/i386/bsd-_setjmp.S: Likewise.
64638 * sysdeps/i386/setjmp.S: Likewise.
64639 * sysdeps/i386/__longjmp.S: Likewise.
64640 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
64641 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
64642
64643 * include/stap-probe.h: New file.
64644 * configure.in: Handle --enable-systemtap.
64645 * configure: Regenerated.
64646 * config.h.in (USE_STAP_PROBE): New #undef.
64647 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
64648 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
64649 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
64650
64651 2012-05-25 Joseph Myers <joseph@codesourcery.com>
64652
64653 [BZ #13717]
64654 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
64655 to 2.4.0 where earlier.
64656 * sysdeps/unix/sysv/linux/configure: Regenerated.
64657 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
64658 <kernel-features.h>.
64659 [__ASSUME_32BITUIDS]: Make code unconditional.
64660 [!__ASSUME_32BITUIDS]: Remove conditional code.
64661 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
64662 <kernel-features.h>.
64663 [__ASSUME_32BITUIDS]: Make code unconditional.
64664 [!__ASSUME_32BITUIDS]: Remove conditional code.
64665 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
64666 [__ASSUME_32BITUIDS]: Make code unconditional.
64667 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
64668 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
64669 <kernel-features.h>.
64670 [__ASSUME_32BITUIDS]: Make code unconditional.
64671 [!__ASSUME_32BITUIDS]: Remove conditional code.
64672 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
64673 <kernel-features.h>.
64674 [__ASSUME_32BITUIDS]: Make code unconditional.
64675 [!__ASSUME_32BITUIDS]: Remove conditional code.
64676 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
64677 <kernel-features.h>.
64678 [__ASSUME_32BITUIDS]: Make code unconditional.
64679 [!__ASSUME_32BITUIDS]: Remove conditional code.
64680 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
64681 <kernel-features.h>.
64682 [__ASSUME_32BITUIDS]: Make code unconditional.
64683 [!__ASSUME_32BITUIDS]: Remove conditional code.
64684 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
64685 <kernel-features.h>.
64686 [__ASSUME_32BITUIDS]: Make code unconditional.
64687 [!__ASSUME_32BITUIDS]: Remove conditional code.
64688 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
64689 <kernel-features.h>.
64690 [__ASSUME_32BITUIDS]: Make code unconditional.
64691 [!__ASSUME_32BITUIDS]: Remove conditional code.
64692 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
64693 <kernel-features.h>.
64694 [__ASSUME_32BITUIDS]: Make code unconditional.
64695 [!__ASSUME_32BITUIDS]: Remove conditional code.
64696 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
64697 <kernel-features.h>.
64698 [__ASSUME_32BITUIDS]: Make code unconditional.
64699 [!__ASSUME_32BITUIDS]: Remove conditional code.
64700 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
64701 <kernel-features.h>.
64702 [__ASSUME_32BITUIDS]: Make code unconditional.
64703 [!__ASSUME_32BITUIDS]: Remove conditional code.
64704 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
64705 <kernel-features.h>.
64706 [__ASSUME_32BITUIDS]: Make code unconditional.
64707 [!__ASSUME_32BITUIDS]: Remove conditional code.
64708 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
64709 <kernel-features.h>.
64710 [__NR_setresgid] (__setresgid): Do not declare.
64711 [__ASSUME_32BITUIDS]: Make code unconditional.
64712 [!__ASSUME_32BITUIDS]: Remove conditional code.
64713 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
64714 <kernel-features.h>.
64715 [__NR_setresuid] (__setresuid): Do not declare.
64716 [__ASSUME_32BITUIDS]: Make code unconditional.
64717 [!__ASSUME_32BITUIDS]: Remove conditional code.
64718 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
64719 <kernel-features.h>.
64720 [__ASSUME_32BITUIDS]: Make code unconditional.
64721 [!__ASSUME_32BITUIDS]: Remove conditional code.
64722 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
64723 <kernel-features.h>.
64724 [__ASSUME_32BITUIDS]: Make code unconditional.
64725 [!__ASSUME_32BITUIDS]: Remove conditional code.
64726 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
64727 <kernel-features.h>.
64728 [__ASSUME_32BITUIDS]: Make code unconditional.
64729 [!__ASSUME_32BITUIDS]: Remove conditional code.
64730 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
64731 <kernel-features.h>.
64732 [__ASSUME_32BITUIDS]: Make code unconditional.
64733 [!__ASSUME_32BITUIDS]: Remove conditional code.
64734 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
64735 <kernel-features.h>.
64736 [__ASSUME_32BITUIDS]: Make code unconditional.
64737 [!__ASSUME_32BITUIDS]: Remove conditional code.
64738 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
64739 <kernel-features.h>.
64740 [__ASSUME_32BITUIDS]: Make code unconditional.
64741 [!__ASSUME_32BITUIDS]: Remove conditional code.
64742 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
64743 <kernel-features.h>.
64744 [__ASSUME_32BITUIDS]: Make code unconditional.
64745 [!__ASSUME_32BITUIDS]: Remove conditional code.
64746 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
64747 <kernel-features.h>.
64748 [__ASSUME_32BITUIDS]: Make code unconditional.
64749 [!__ASSUME_32BITUIDS]: Remove conditional code.
64750 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
64751 <kernel-features.h>.
64752 [__ASSUME_32BITUIDS]: Make code unconditional.
64753 [!__ASSUME_32BITUIDS]: Remove conditional code.
64754 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
64755 <kernel-features.h>.
64756 [__ASSUME_32BITUIDS]: Make code unconditional.
64757 [!__ASSUME_32BITUIDS]: Remove conditional code.
64758 * sysdeps/unix/sysv/linux/kernel-features.h
64759 (__ASSUME_SETRESUID_SYSCALL): Remove.
64760 (__ASSUME_SETRESGID_SYSCALL): Likewise.
64761 (__ASSUME_32BITUIDS): Likewise.
64762 (__ASSUME_LDT_WORKS): Likewise.
64763 (__ASSUME_O_DIRECTORY): Likewise.
64764 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
64765 architecture but not kernel version.
64766 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
64767 (__ASSUME_MMAP2_SYSCALL): Likewise.
64768 (__ASSUME_STAT64_SYSCALL): Likewise.
64769 (__ASSUME_IPC64): Likewise.
64770 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
64771 <kernel-features.h>.
64772 [__ASSUME_32BITUIDS]: Make code unconditional.
64773 [!__ASSUME_32BITUIDS]: Remove conditional code.
64774 * sysdeps/unix/sysv/linux/opendir.c: Do not include
64775 <kernel-features.h>.
64776 [__ASSUME_O_DIRECTORY]: Make code unconditional.
64777 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
64778 132096]: Remove conditional code.
64779 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
64780 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
64781 <kernel-features.h>.
64782 [__ASSUME_32BITUIDS]: Make code unconditional.
64783 [!__ASSUME_32BITUIDS]: Remove conditional code.
64784 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
64785 <kernel-features.h>.
64786 [__ASSUME_32BITUIDS]: Make code unconditional.
64787 [!__ASSUME_32BITUIDS]: Remove conditional code.
64788 * sysdeps/unix/sysv/linux/setegid.c: Do not include
64789 <kernel-features.h>.
64790 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
64791 unconditional.
64792 (__setresgid): Do not declare.
64793 [__ASSUME_32BITUIDS]: Make code unconditional.
64794 [!__ASSUME_32BITUIDS]: Remove conditional code.
64795 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
64796 <kernel-features.h>.
64797 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
64798 unconditional.
64799 (__setresuid): Do not declare.
64800 [__ASSUME_32BITUIDS]: Make code unconditional.
64801 [!__ASSUME_32BITUIDS]: Remove conditional code.
64802 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
64803 <kernel-features.h>.
64804 [__ASSUME_32BITUIDS]: Make code unconditional.
64805 [!__ASSUME_32BITUIDS]: Remove conditional code.
64806 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
64807 <kernel-features.h>.
64808 [__ASSUME_32BITUIDS]: Make code unconditional.
64809 [!__ASSUME_32BITUIDS]: Remove conditional code.
64810
64811 2012-05-25 Richard Henderson <rth@twiddle.net>
64812
64813 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
64814 dl_hwcap to ifunc resolver.
64815 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
64816 elf_ifunc_invoke.
64817 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
64818 dl_hwcap to ifunc resolver.
64819 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
64820
64821 2012-05-24 Joseph Myers <joseph@codesourcery.com>
64822
64823 [BZ #14153]
64824 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
64825 for |x| <= 2**-26, not 2**-57.
64826 * math/libm-test.inc (acos_test): Do not allow spurious underflow
64827 exception.
64828
64829 2012-05-24 Jeff Law <law@redhat.com>
64830
64831 * stdio-common/Makefile (tests): Add bug25.
64832 * stdio-common/bug25.c: New test.
64833
64834 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
64835
64836 [BZ #13576]
64837 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
64838 multiple of MALLOC_ALIGNMENT in size.
64839 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
64840
64841 2012-05-24 Joseph Myers <joseph@codesourcery.com>
64842
64843 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
64844 Require >= 256.
64845 (FILENAME_MAX): Use macro-int-constant.
64846 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
64847 (_IOFBF): Use macro-int-constant.
64848 (_IOLBF): Likewise.
64849 (_IONBF): Likewise.
64850 (SEEK_CUR): Likewise.
64851 (SEEK_END): Likewise.
64852 (SEEK_SET): Likewise.
64853 (TMP_MAX): Likewise.
64854 (EOF): Use macro-int-constant. Require < 0.
64855 (NULL): Use macro-constant. Require == 0.
64856 (stdin): Require type to be FILE *.
64857 (stdout): Likewise.
64858 (stderr): Likewise.
64859 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
64860 macro-int-constant.
64861 (EXIT_SUCCESS): Likewise.
64862 (NULL): Use macro-constant. Require == 0.
64863 (RAND_MAX): Use macro-int-constant.
64864 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
64865 [C99-based standards] (strtof): Require function.
64866 [C99-based standards] (strtold): Likewise.
64867 [C99-based standards] (strtoll): Likewise.
64868 [C99-based standards] (strtoull): Likewise.
64869 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
64870 [ISO || ISO99 || ISO11] (limits.h): Likewise.
64871 [ISO || ISO99 || ISO11] (math.h): Likewise.
64872 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
64873 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
64874 [ISO || ISO99 || ISO11] (*_t): Do not allow.
64875
64876 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
64877
64878 [BZ #14132]
64879 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
64880 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
64881 * intl/dgettext.c (DCGETTEXT): Likewise.
64882 * intl/gettext.c (DCGETTEXT): Likewise.
64883 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
64884 * posix/regex_internal.h (gettext): Likewise.
64885 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
64886 Remove declaration.
64887 * include/argz.h (__argz_count_internal)
64888 (__argz_stringify_internal): Remove declaration.
64889 (__argz_count, __argz_stringify): Declare hidden proto.
64890 * intl/dcgettext.c: Remove use of INTDEF.
64891 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
64892 * string/argz-stringify.c: Likewise.
64893 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
64894 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
64895 Declare hidden proto.
64896 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
64897 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
64898 Declare hidden proto.
64899 * include/stdio.h (__asprintf_internal): Don't declare.
64900 (__asprintf): Don't define as macro. Declare hidden proto.
64901 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
64902 (__fsetlocking): Declare hidden proto.
64903 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
64904 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
64905 hidden proto.
64906 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
64907 (_IO_setlinebuf): Remove use of INTUSE.
64908 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
64909 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
64910 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
64911 Remove declaration.
64912 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
64913 (_IO_do_flush): Remove use of INTUSE.
64914 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
64915 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
64916 (_IO_adjust_column, _IO_least_wmarker)
64917 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
64918 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
64919 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
64920 (_IO_default_doallocate, _IO_wdefault_doallocate)
64921 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
64922 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
64923 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
64924 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
64925 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
64926 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
64927 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
64928 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
64929 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
64930 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
64931 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
64932 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
64933 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
64934 proto.
64935 (_IO_flush_all_internal, _IO_adjust_column_internal)
64936 (_IO_default_uflow_internal, _IO_default_finish_internal)
64937 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
64938 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
64939 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
64940 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
64941 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
64942 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
64943 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
64944 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
64945 (_IO_file_close_internal, _IO_file_close_it_internal)
64946 (_IO_file_underflow_internal, _IO_file_overflow_internal)
64947 (_IO_file_init_internal, _IO_file_attach_internal)
64948 (_IO_file_fopen_internal, _IO_file_read_internal)
64949 (_IO_file_sync_internal, _IO_file_seek_internal)
64950 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
64951 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
64952 (_IO_str_underflow_internal, _IO_str_overflow_internal)
64953 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
64954 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
64955 (_IO_list_all_internal, _IO_link_in_internal)
64956 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
64957 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
64958 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
64959 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
64960 (_IO_do_write_internal, _IO_padn_internal)
64961 (_IO_getline_info_internal, _IO_getline_internal)
64962 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
64963 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
64964 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
64965 (_IO_vfscanf_internal, _IO_vfprintf_internal)
64966 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
64967 (_IO_init_internal, _IO_un_link_internal): Don't declare.
64968 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
64969 with libc_hidden_ver, remove use of INTUSE.
64970 * libio/genops.c: Likewise.
64971 * libio/freopen.c: Likewise.
64972 * libio/freopen64.c: Likewise.
64973 * libio/iofclose.c: Likewise.
64974 * libio/iofdopen.c: Likewise.
64975 * libio/iofflush.c: Likewise.
64976 * libio/iofflush_u.c: Likewise.
64977 * libio/iofgets.c: Likewise.
64978 * libio/iofgets_u.c: Likewise.
64979 * libio/iofopen.c: Likewise.
64980 * libio/iofopncook.c: Likewise.
64981 * libio/iofread.c: Likewise.
64982 * libio/iofread_u.c: Likewise.
64983 * libio/ioftell.c: Likewise.
64984 * libio/iofwrite.c: Likewise.
64985 * libio/iogetline.c: Likewise.
64986 * libio/iogets.c: Likewise.
64987 * libio/iogetwline.c: Likewise.
64988 * libio/iopadn.c: Likewise.
64989 * libio/iopopen.c: Likewise.
64990 * libio/ioseekoff.c: Likewise.
64991 * libio/ioseekpos.c: Likewise.
64992 * libio/iosetbuffer.c: Likewise.
64993 * libio/iosetvbuf.c: Likewise.
64994 * libio/ioungetc.c: Likewise.
64995 * libio/ioungetwc.c: Likewise.
64996 * libio/iovdprintf.c: Likewise.
64997 * libio/iovsprintf.c: Likewise.
64998 * libio/iovsscanf.c: Likewise.
64999 * libio/memstream.c: Likewise.
65000 * libio/obprintf.c: Likewise.
65001 * libio/oldfileops.c: Likewise.
65002 * libio/oldiofclose.c: Likewise.
65003 * libio/oldiofdopen.c: Likewise.
65004 * libio/oldiofopen.c: Likewise.
65005 * libio/oldiopopen.c: Likewise.
65006 * libio/oldstdfiles.c: Likewise.
65007 * libio/putc.c: Likewise.
65008 * libio/setbuf.c: Likewise.
65009 * libio/setlinebuf.c: Likewise.
65010 * libio/stdfiles.c: Likewise.
65011 * libio/strops.c: Likewise.
65012 * libio/vasprintf.c: Likewise.
65013 * libio/vscanf.c: Likewise.
65014 * libio/vsnprintf.c: Likewise.
65015 * libio/vswprintf.c: Likewise.
65016 * libio/wfiledoalloc.c: Likewise.
65017 * libio/wfileops.c: Likewise.
65018 * libio/wgenops.c: Likewise.
65019 * libio/wmemstream.c: Likewise.
65020 * libio/wstrops.c: Likewise.
65021 * libio/__fpurge.c: Likewise.
65022 * libio/__fsetlocking.c: Likewise.
65023 * assert/assert.c: Likewise.
65024 * debug/fgets_chk.c: Likewise.
65025 * debug/fgets_u_chk.c: Likewise.
65026 * debug/fread_chk.c: Likewise.
65027 * debug/fread_u_chk.c: Likewise.
65028 * debug/gets_chk.c: Likewise.
65029 * debug/obprintf_chk.c: Likewise.
65030 * debug/vasprintf_chk.c: Likewise.
65031 * debug/vdprintf_chk.c: Likewise.
65032 * debug/vsnprintf_chk.c: Likewise.
65033 * debug/vsprintf_chk.c: Likewise.
65034 * malloc/mtrace.c: Likewise.
65035 * misc/error.c: Likewise.
65036 * misc/syslog.c: Likewise.
65037 * stdio-common/asprintf.c: Likewise.
65038 * stdio-common/fxprintf.c: Likewise.
65039 * stdio-common/getw.c: Likewise.
65040 * stdio-common/isoc99_fscanf.c: Likewise.
65041 * stdio-common/isoc99_scanf.c: Likewise.
65042 * stdio-common/isoc99_vfscanf.c: Likewise.
65043 * stdio-common/isoc99_vscanf.c: Likewise.
65044 * stdio-common/isoc99_vsscanf.c: Likewise.
65045 * stdio-common/printf-prs.c: Likewise.
65046 * stdio-common/printf_fp.c: Likewise.
65047 * stdio-common/printf_fphex.c: Likewise.
65048 * stdio-common/printf_size.c: Likewise.
65049 * stdio-common/putw.c: Likewise.
65050 * stdio-common/scanf.c: Likewise.
65051 * stdio-common/sprintf.c: Likewise.
65052 * stdio-common/tmpfile.c: Likewise.
65053 * stdio-common/vfprintf.c: Likewise.
65054 * stdio-common/vfscanf.c: Likewise.
65055 * stdlib/strfmon_l.c: Likewise.
65056 * sunrpc/openchild.c: Likewise.
65057 * sunrpc/xdr_stdio.c: Likewise.
65058 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
65059 * sysdeps/mach/hurd/tmpfile.c: Likewise.
65060
65061 2012-05-24 Roland McGrath <roland@hack.frob.com>
65062
65063 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
65064
65065 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
65066 in the third column, to generate for the shared library an IFUNC
65067 that uses _dl_vdso_vsym.
65068 * Makerules (COMPILE.c, compile-stdin.c): New variables.
65069 * Makeconfig (object-suffixes-noshared): New variable.
65070
65071 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
65072 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
65073 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
65074 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
65075
65076 [BZ #14132]
65077 * include/sys/time.h (__gettimeofday): Remove macro.
65078 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
65079 * time/gettimeofday.c (__gettimeofday): Remove #undef.
65080 Remove INTDEF.
65081 (__gettimeofday): Add libc_hidden_def.
65082 (gettimeofday): Add libc_hidden_weak.
65083 * sysdeps/mach/gettimeofday.c: Likewise.
65084 * sysdeps/posix/gettimeofday.c: Likewise.
65085 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
65086 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
65087 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
65088 (__gettimeofday_internal): Remove strong_alias.
65089 (__gettimeofday): Add libc_hidden_def.
65090 (gettimeofday): Add libc_hidden_weak.
65091 * sysdeps/unix/syscalls.list (gettimeofday):
65092 Remove __gettimeofday_internal alias.
65093
65094 2012-05-24 Daniel Jacobowitz <drow@false.org>
65095 H.J. Lu <hongjiu.lu@intel.com>
65096
65097 [BZ #12495]
65098 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
65099 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
65100 (largebin_index_32_big): New.
65101 (largebin_index): Use it for 16-byte alignment.
65102 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
65103 correction with front_misalign.
65104
65105 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
65106
65107 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
65108 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
65109 Likewise.
65110 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
65111 Likewise.
65112 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
65113 Likewise.
65114 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
65115 Likewise.
65116 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
65117 Likewise.
65118 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
65119 Likewise.
65120 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
65121 Likewise.
65122 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
65123 Likewise.
65124 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
65125 Likewise.
65126 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
65127 Likewise.
65128 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
65129 Likewise.
65130 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
65131 Likewise.
65132
65133 * scripts/data/c++-types-x32-linux-gnu.data: New file.
65134 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
65135
65136 2012-05-24 Joseph Myers <joseph@codesourcery.com>
65137
65138 [BZ #10846]
65139 [BZ #14036]
65140 * math/libm-test.inc (exp_test): Add test from bug 14036.
65141 (pow_test): Add test from bug 10846.
65142
65143 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
65144 and other flags.
65145 (special_function): Do not include flags in test name.
65146 (parse_args): Likewise.
65147 * sysdeps/i386/fpu/libm-test-ulps: Update.
65148 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
65149 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
65150 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
65151 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65152
65153 * math/gen-libm-test.pl (%beautify): Add entries for underflow
65154 exceptions.
65155 * math/libm-test.inc ("Philosophy"): Update comment about
65156 exception testing.
65157 (UNDERFLOW_EXCEPTION): New macro.
65158 (UNDERFLOW_EXCEPTION_OK): Likewise.
65159 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
65160 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
65161 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
65162 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
65163 (INVALID_EXCEPTION_OK): Update value.
65164 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
65165 (OVERFLOW_EXCEPTION_OK): Likewise.
65166 (IGNORE_ZERO_INF_SIGN): Likewise.
65167 (test_exceptions): Handle underflow exceptions.
65168 (acos_test): Update for underflow exception expectations.
65169 (cexp_test): Likewise.
65170 (clog_test): Likewise.
65171 (clog10_test): Likewise.
65172 (csqrt_test): Likewise.
65173 (ctan_test): Likewise.
65174 (ctanh_test): Likewise.
65175 (exp_test): Likewise.
65176 (exp10_test): Likewise.
65177 (exp2_test): Likewise.
65178 (expm1_test): Likewise.
65179 (fma_test): Likewise.
65180 (j0_test): Likewise.
65181 (jn_test): Likewise.
65182 (nexttoward_test): Likewise.
65183 (pow_test): Likewise.
65184 (scalbn_test): Likewise.
65185 (scalbln_test): Likewise.
65186 (tan_test): Likewise.
65187 (y1_test): Likewise.
65188 * sysdeps/i386/fpu/libm-test-ulps: Update.
65189 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65190
65191 2012-05-23 David S. Miller <davem@davemloft.net>
65192
65193 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
65194 (__libc_sigaction): Remove unused local variables.
65195
65196 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
65197
65198 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
65199
65200 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
65201
65202 mktime: avoid signed integer overflow
65203 * time/mktime.c (__mktime_internal): Do not mishandle the case
65204 where diff == INT_MIN.
65205
65206 mktime: simplify computation of average
65207 * time/mktime.c (ranged_convert): Use new time_t_avg function
65208 instead of rolling our own (probably-slower) code.
65209
65210 mktime: do not assume signed right shift propagates sign bit
65211 * time/mktime.c (isdst_differ): New static function.
65212 (__mktime_internal): No need to normalize tm_isdst now.
65213 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
65214 tm_isdst values.
65215
65216 mktime: merge another wrapv change from gnulib
65217 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
65218 from some compilers.
65219
65220 mktime: remove incorrect attempt at unusual arithmetics
65221 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
65222 The code didn't really work on such machines anyway.
65223 (TYPE_MINIMUM): Assume two's complement.
65224 (twos_complement_arithmetic): Verify that long_int and time_t
65225 are two's complement (or unsigned, in the latter case).
65226
65227 mktime: check signed shifts on long_int and time_t, too
65228 * time/mktime.c (SHR): Check that shifts work as desired
65229 on the types long_int and time_t too, as SHR is used on
65230 such types.
65231
65232 mktime: do not assume 'long' is wide enough
65233 * time/mktime.c (verify): Move decl up.
65234 (long_int): New type.
65235 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
65236 to remove assumption in the code that 'long' is wide enough to
65237 store year values. This assumption is not true on x32 and on
65238 some non-glibc platforms.
65239
65240 mktime: merge wrapv change from gnulib
65241 * time/mktime.c (WRAPV): New macro.
65242 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
65243 (guess_time_tm, __mktime_internal): Do not assume that signed
65244 integer overflow wraps around; modern compilers generate code
65245 where this assumption is no longer valid.
65246
65247 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
65248
65249 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
65250 Replace "jmp L(pseudo_end)" with "ret".
65251 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
65252 Likewise.
65253
65254 2012-05-23 Andreas Jaeger <aj@suse.de>
65255
65256 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
65257 * sysdeps/unix/sysv/linux/poll.c: Remove file.
65258
65259 2012-05-23 Andreas Jaeger <aj@suse.de>
65260 Maximilian Attems <max@stro.at>
65261
65262 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
65263 New macros.
65264
65265 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
65266
65267 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
65268 code so that pseudo_end is just ret and the stack pointer is
65269 correct also for static library in error case.
65270
65271 2012-05-23 Joseph Myers <joseph@codesourcery.com>
65272
65273 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
65274 move to syscalls.list.
65275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
65276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
65277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
65278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
65279
65280 * manual/install.texi (Running make install): Do not mention Linux
65281 kernel version for which pt_chown is not needed.
65282 (Linux): Do not mention problems with nscd with 2.0 kernels.
65283 * INSTALL: Regenerated.
65284
65285 2012-05-23 Andreas Jaeger <aj@suse.de>
65286
65287 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
65288 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
65289 macro.
65290 * sysdeps/unix/sysv/linux/s390/bits/mman.h
65291 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65292 * sysdeps/unix/sysv/linux/sh/bits/mman.h
65293 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65294 * sysdeps/unix/sysv/linux/i386/bits/mman.h
65295 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65296 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
65297 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65298 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
65299 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65300 * sysdeps/unix/sysv/linux/bits/in.h
65301 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
65302
65303 2012-05-22 Roland McGrath <roland@hack.frob.com>
65304
65305 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
65306 (PREPARE_VERSION): Just use assert instead, it will be elided
65307 under [NDEBUG] anyway.
65308
65309 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
65310
65311 * sysdeps/unix/sysv/linux/Makefile: Include
65312 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
65313 (sysdep_routines): Remove sysctl.
65314 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
65315 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
65316 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
65317 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
65318 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
65319
65320 2012-05-22 Andreas Jaeger <aj@suse.de>
65321
65322 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
65323 that pseudo_end is just ret and the stack pointer is correct also
65324 for static library in error case.
65325
65326 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
65327
65328 [BZ #14122]
65329 * nss/nsswitch.c (defconfig_entries): New variable.
65330 (__nss_database_lookup): Don't leak defconfig entries.
65331 (nss_parse_service_list): Don't leak on error paths.
65332 (free_database_entries): New function.
65333 (free_defconfig): New function.
65334 (free_mem): Move common code to free_database_entries.
65335
65336 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
65337
65338 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
65339 Add arch_prctl.
65340 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
65341
65342 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
65343 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
65344 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
65345 New macro.
65346 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
65347 (INTERNAL_SYSCALL_TYPES): Likewise.
65348 (LOAD_ARGS_TYPES_[1-6]): Likewise.
65349 (LOAD_REGS_TYPES_[1-6]): Likewise.
65350 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
65351 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
65352
65353 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
65354
65355 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
65356 copysignl for GLIBC_2_0.
65357 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
65358 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
65359 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
65360 logbl for GLIBC_2_0.
65361 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
65362 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
65363
65364 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
65365
65366 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
65367 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
65368
65369 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
65370 Use "neg %eax".
65371
65372 * time/mktime.c: Update copyright years.
65373
65374 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
65375
65376 mktime: merge comment-quoting-style change from gnulib
65377 * time/mktime.c: Quote 'like this' in comments.
65378 The GNU coding standards suggest that we no longer quote `like this',
65379 as "`" and "'" are typically rendered asymmetrically nowadays.
65380 The typical gnulib style is to quote 'like this' when quoting
65381 code, and "like this" when quoting English.
65382
65383 * time/mktime.c (compile-command): Add "-I.".
65384
65385 mktime: merge mktime-internal.h change from gnulib
65386 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
65387
65388 mktime: merge time_r change from gnulib
65389 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
65390
65391 mktime: merge DEBUG change from gnulib
65392 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
65393 case system <time.h> has a #define.
65394
65395 mktime: merge <sys/types.h> change from gnulib
65396 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
65397 since <time.t> is now guaranteed to define time_t.
65398
65399 mktime: merge HAVE_CONFIG_H change from gnulib
65400 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
65401
65402 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
65403
65404 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
65405 Use "neg %eax".
65406
65407 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
65408 __rlim_t cast.
65409 (struct rusage): Use anonymous union to pad each field to
65410 __syscall_slong_t.
65411
65412 2012-05-21 David S. Miller <davem@davemloft.net>
65413
65414 * Makefules (o-iterator): Remove .s cases.
65415 (compile-command.s): Delete.
65416 (COMPILE.s): Delete.
65417 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
65418
65419 2012-05-21 Joseph Myers <joseph@codesourcery.com>
65420
65421 * configure.in (libc_cv_predef_stack_protector): Only consider
65422 "foobar" and "__stack_chk_fail" lines in libc_undefs.
65423 * configure: Regenerated.
65424
65425 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
65426
65427 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
65428 New macro. Use R*LP on int and pointer.
65429 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
65430 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
65431 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
65432 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
65433
65434 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
65435 [__WORDSIZE_TIME64_COMPAT32] instead of
65436 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
65437 (struct utmp): Likewise.
65438 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
65439 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
65440 Renamed to ...
65441 (__WORDSIZE_TIME64_COMPAT32): This.
65442 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
65443 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
65444 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
65445 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
65446 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
65447 (__WORDSIZE_TIME64_COMPAT32): New macro.
65448
65449 2012-05-21 Andreas Jaeger <aj@suse.de>
65450
65451 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
65452 only if [SHARED]. Add prototype for __wcschr_ia32.
65453
65454 2012-05-21 Roland McGrath <roland@hack.frob.com>
65455
65456 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
65457 of %rbp unmolested in the jmp_buf while mangling the low bits.
65458 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
65459 unmolested high bits of %rbp while demangling the low bits.
65460 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
65461
65462 2012-05-21 Andreas Jaeger <aj@suse.de>
65463
65464 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
65465 * sunrpc/svc_simple.c: Use it for registerrpc.
65466 * sunrpc/xcrypt.c: Use it for passwd2des.
65467
65468 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
65469
65470 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
65471
65472 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
65473 Don't define if [__SYSCALL_WORDSIZE != 32].
65474 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
65475 New macro.
65476
65477 2012-05-21 Bruno Haible <bruno@clisp.org>
65478 Andreas Jaeger <aj@suse.de>
65479
65480 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
65481 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
65482 inptr and inend for must_buffer_ch.
65483 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
65484 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
65485 * stdio-common/Makefile (tests): Remove bug15.
65486 (bug15-ENV): Remove macro.
65487 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
65488 anymore.
65489
65490 2012-05-19 Andreas Jaeger <aj@suse.de>
65491 Roland McGrath <roland@hack.frob.com>
65492
65493 * manual/contrib.texi: Completely rewritten. It contains now an
65494 alphabetical list of contributors and their contributions.
65495
65496 2012-05-21 Richard Henderson <rth@twiddle.net>
65497
65498 * misc/getauxval.c (__getauxval): Use unsigned long int.
65499 * misc/sys/auxv.h: Include <sys/cdefs.h>.
65500 (getauxval): Use unsigned long int.
65501
65502 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
65503
65504 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
65505
65506 2012-05-21 Roland McGrath <roland@hack.frob.com>
65507
65508 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
65509 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
65510 __alignof__ (long double).
65511
65512 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
65513
65514 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65515
65516 2012-05-20 Richard Henderson <rth@twiddle.net>
65517
65518 * misc/getauxval.c: New file.
65519 * misc/sys/auxv.h: New file.
65520 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
65521 (routines): Add getauxval.
65522 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
65523 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
65524 * elf/dl-sysdep.c (_dl_auxv): Remove.
65525 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
65526 * elf/dl-support.c (_dl_auxv): New variable.
65527 (_dl_aux_init): Initialize it.
65528 * manual/startup.texi (Auxiliary Vector): New node.
65529 * sysdeps/generic/bits/hwcap.h: New file.
65530 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
65531 * sysdeps/powerpc/sysdep.h: ... here. Include it.
65532 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
65533 * sysdeps/sparc/sysdep.h: ... here. Include it.
65534 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
65535 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
65536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
65537 Update.
65538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
65539 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
65540 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
65541 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
65542 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
65543 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
65544 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
65545 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
65546
65547 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
65548
65549 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65550
65551 2012-05-19 David S. Miller <davem@davemloft.net>
65552
65553 * sysdeps/sparc/fpu/libm-test-ulps: Update.
65554
65555 2012-05-19 Joseph Myers <joseph@codesourcery.com>
65556
65557 [BZ #14123]
65558 * math/s_ccosh.c: Include <float.h>
65559 (__ccosh): Avoid internal overflow calculating sinh and cosh
65560 values before multiplying by sin and cos values.
65561 * math/s_ccoshf.c: Likewise.
65562 * math/s_ccoshl.c: Likewise.
65563 * math/s_csin.c: Likewise.
65564 * math/s_csinf.c: Likewise.
65565 * math/s_csinl.c: Likewise.
65566 * math/s_csinh.c: Likewise.
65567 * math/s_csinhf.c: Likewise.
65568 * math/s_csinhl.c: Likewise.
65569 * math/libm-test.inc (ccos_test): Add more tests.
65570 (ccosh_test): Likewise.
65571 (csin_test): Likewise.
65572 (csinh_test): Likewise.
65573 * sysdeps/i386/fpu/libm-test-ulps: Update.
65574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65575
65576 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
65577
65578 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
65579 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
65580
65581 * sysdeps/x86_64/x32/_itoa.h: Add comment.
65582
65583 2012-05-19 Joseph Myers <joseph@codesourcery.com>
65584
65585 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
65586 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
65587 * sysdeps/powerpc/soft-fp/Versions: Likewise.
65588 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
65589 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
65590 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
65591 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
65592 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
65593 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
65594 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
65595 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
65596 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
65597 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
65598 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
65599 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
65600 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
65601 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
65602 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
65603 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
65604 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
65605 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
65606 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
65607 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
65608 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
65609 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
65610 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
65611 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
65612 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
65613 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
65614 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
65615 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
65616
65617 2012-05-18 Andreas Jaeger <aj@suse.de>
65618
65619 * csu/.gitignore: Delete.
65620
65621 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
65622
65623 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
65624 (timex): Use __syscall_slong_t.
65625
65626 2012-05-18 Andreas Jaeger <aj@suse.de>
65627 Carlos O'Donell <carlos_odonell@mentor.com>
65628
65629 * manual/install.texi (Configuring and compiling): Update
65630 description about files modified in the source directory.
65631 * INSTALL: Regenerated.
65632
65633 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
65634
65635 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
65636 value. Use "or" to set return value to -1.
65637 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
65638 negate return value.
65639
65640 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
65641
65642 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
65643 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
65644 failure if the compiler has Graphite support disabled.
65645 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
65646 Likewise.
65647 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
65648 (CFLAGS-memmove.c): Likewise.
65649 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
65650 Likewise.
65651
65652 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
65653
65654 * sysdeps/x86_64/x32/_itoa.h: New file.
65655
65656 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
65657 getdents system call only if kernel and user dirents have the
65658 same d_ino and d_off.
65659
65660 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
65661 LLONG_MAX != LONG_MAX.
65662 (_itoa_word): Use _ITOA_WORD_TYPE on value.
65663 (_fitoa_word): Likewise.
65664
65665 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
65666 years.
65667 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
65668 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
65669 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
65670
65671 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
65672 include <bits/wordsize.h>. Check __x86_64__ instead of
65673 __WORDSIZE.
65674 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
65675 if __x86_64__ is defined. Use anonymous union on fpstate.
65676
65677 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
65678 anonymous union.
65679
65680 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
65681
65682 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
65683 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
65684 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
65685 Refer to _rtld_local_ro instead of _rtld_global_ro.
65686 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
65687 Likewise.
65688 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
65689 Likewise.
65690 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
65691 Likewise.
65692 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
65693 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
65694 of _rtld_global, and rtld_progname instead of _dl_argv[0].
65695
65696 [BZ #10882]
65697 * sysdeps/powerpc/powerpc32/dl-machine.c
65698 (__elf_machine_runtime_setup) [PROF]: Don't reference
65699 _dl_prof_resolve.
65700
65701 2012-05-18 Andreas Jaeger <aj@suse.de>
65702
65703 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
65704 function only available for GCCs before 3.4 since GCC 3.4
65705 introduced a builtin.
65706 (lrint): Likewise.
65707 (llrintf): Likewise.
65708 (llrint): Likewise.
65709 (fmaxf): Likewise.
65710 (fmax): Likewise.
65711 (fminf): Likewise.
65712 (fmin): Likewise.
65713 (rint): Likewise.
65714 (rintf): Likewise.
65715 (nearbyint): Likewise.
65716 (nearbyintf): Likewise.
65717 (ceil): Likewise.
65718 (ceilf): Likewise.
65719 (floor): Likewise.
65720 (floorf): Likewise.
65721
65722 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
65723
65724 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
65725 on both fields and cast pointer to __syscall_ulong_t.
65726
65727 * bits/types.h (__fsword_t): New type.
65728 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
65729 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
65730 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65731 (__FSWORD_T_TYPE): Likewise.
65732 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
65733 (__FSWORD_T_TYPE): Likewise.
65734 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65735 (__FSWORD_T_TYPE): Likewise.
65736 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
65737 (__FSWORD_T_TYPE): Likewise.
65738 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
65739 __SWORD_TYPE with __fsword_t.
65740 (statfs64): Likewise.
65741
65742 2012-05-17 David S. Miller <davem@davemloft.net>
65743
65744 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
65745
65746 2012-05-17 Andreas Jaeger <aj@suse.de>
65747
65748 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
65749 warning.
65750
65751 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
65752
65753 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
65754
65755 2012-05-17 Andreas Jaeger <aj@suse.de>
65756
65757 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
65758 when it is used.
65759
65760 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
65761
65762 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
65763
65764 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
65765
65766 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
65767 * sysdeps/x86_64/tst-mallocalign1.c: New file.
65768
65769 2012-05-17 Andreas Jaeger <aj@suse.de>
65770 Carlos O'Donell <carlos_odonell@mentor.com>
65771
65772 [BZ #14059]
65773 * sysdeps/x86_64/multiarch/init-arch.h
65774 (bit_YMM_Usable): Rename to...
65775 (bit_AVX_Usable): ... this.
65776 (bit_FMA4_Usable): New macro.
65777 (bit_XMM_state): New macro.
65778 (bit_YMM_state): New macro.
65779 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
65780 [__ASSEMBLER__] (index_AVX_Usable): ... this.
65781 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
65782 (CPUID_OSXSAVE): New macro.
65783 (CPUID_AVX): New macro.
65784 (CPUID_FMA4): New macro.
65785 (index_YMM_Usable): Rename to...
65786 (index_AVX_Usable): ... this.
65787 (HAS_AVX): Use HAS_ARCH_FEATURE.
65788 (HAS_FMA4): Likewise.
65789 (HAS_YMM_USABLE): Remove.
65790 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65791 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
65792 are present.
65793 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
65794 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
65795 * sysdeps/x86_64/multiarch/Makefile: Likewise.
65796 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
65797 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
65798
65799 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
65800
65801 * math/libm-test.c: Support platforms without multiple rounding modes.
65802 * math/bug-nextafter.c: Support platforms without FP exceptions.
65803 * math/bug-nexttoward.c: Likewise.
65804 * math/test-fenv.c: Likewise.
65805 * math/test-misc.c: Likewise.
65806 * stdlib/bug-getcontext.c: Likewise.
65807
65808 2012-05-17 Andreas Jaeger <aj@suse.de>
65809
65810 * manual/examples/search.c (critter_cmp): Change signature to
65811 avoid warnings.
65812 * manual/string.texi (Collation Functions): Likewise.
65813
65814 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
65815
65816 * bits/types.h: Fold copyright years.
65817 * bits/typesizes.h: Likewise.
65818 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
65819 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
65820 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
65821 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
65822 * time/time.h: Likewise.
65823
65824 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
65825
65826 [BZ #208]
65827 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
65828 in instead of returning them. Return void.
65829 (__libc_mallinfo): Accumulate over all arenas.
65830 (__malloc_stats): Adjust for change in int_mallinfo interface.
65831
65832 2012-05-16 Roland McGrath <roland@hack.frob.com>
65833
65834 [BZ #10375]
65835 * configure.in (NM): Add AC_CHECK_TOOL for it.
65836 (libc_extra_cflags): New substituted variable.
65837 Check for -fstack-protector being used implicitly.
65838 * configure: Regenerated.
65839 * config.make.in (config-extra-cflags): New variable,
65840 gets @libc_extra_cflags@.
65841 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
65842
65843 [BZ #10375]
65844 * configure.in: Check for _FORTIFY_SOURCE being predefined.
65845 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
65846 * configure: Regenerated.
65847 * config.make.in (CPPUNDEFS): New substituted variable.
65848 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
65849 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
65850 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
65851
65852 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
65853
65854 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
65855 (mq_attr): Use __syscall_slong_t.
65856
65857 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
65858
65859 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
65860 Check __x86_64__ instead of __WORDSIZE.
65861 (_STAT_VER_LINUX): Likewise.
65862 (stat): Check __x86_64__ instead of __WORDSIZE. Use
65863 __syscall_ulong_t and __syscall_slong_t.
65864 (stat64): Likewise.
65865
65866 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
65867
65868 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
65869
65870 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
65871
65872 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
65873
65874 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
65875
65876 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
65877 __syscall_ulong_t.
65878
65879 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
65880 include <bits/wordsize.h>. Check __x86_64__ instead of
65881 __WORDSIZE.
65882 (greg_t): Use "__extension__ long long int" if __x86_64__ is
65883 defined.
65884 (mcontext_t): Replace "unsigned long" with "unsigned long long".
65885
65886 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
65887 include <bits/wordsize.h>. Check __x86_64__ instead of
65888 __WORDSIZE.
65889 (user_regs_struct): Use "__extension__ unsigned long long"
65890 instead of "unsigned long" if __x86_64__ is defined.
65891 (user): Likewise. Pad after pointer field if __ILP32__ is
65892 defined.
65893
65894 2012-05-16 Joseph Myers <joseph@codesourcery.com>
65895
65896 * configure.in (makeinfo): Require version 4.5 or later. Allow
65897 versions 5 to 9.
65898 * configure: Regenerated.
65899 * manual/install.texi (texinfo): Increase version requirement to
65900 4.5 or later.
65901 * INSTALL: Regenerated.
65902
65903 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
65904
65905 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
65906
65907 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
65908
65909 * sysdeps/x86_64/x32/ffs.c: New file.
65910
65911 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
65912 __syscall_ulong_t.
65913 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
65914 defined. Use __syscall_ulong_t.
65915 (shminfo): Use __syscall_ulong_t.
65916 (shm_info): Likewise.
65917
65918 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
65919 __syscall_ulong_t.
65920
65921 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
65922 <bits/wordsize.h>.
65923 (msgqnum_t): Use __syscall_ulong_t.
65924 (msglen_t): Likewise.
65925 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
65926 __syscall_ulong_t.
65927
65928 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
65929 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
65930
65931 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
65932
65933 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
65934 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
65935
65936 * sysvipc/sys/msg.h (msgbuf): Replace long int with
65937 __syscall_slong_t.
65938
65939 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
65940 include <bits/wordsize.h>. Check __x86_64__ instead of
65941 __WORDSIZE.
65942
65943 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
65944 "unsigned long long int" if __x86_64__ is defined.
65945 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
65946
65947 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
65948 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
65949 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
65950
65951 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
65952 <stdint.h>.
65953 (GET_PC): Cast to uintptr_t first.
65954 (GET_FRAME): Likewise.
65955 (GET_STACK): Likewise.
65956
65957 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
65958 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
65959 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
65960 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
65961 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
65962 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
65963 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
65964 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
65965 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
65966 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
65967 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
65968 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
65969 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
65970 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
65971 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
65972 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
65973 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
65974 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
65975 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
65976 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
65977 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
65978 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
65979 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
65980 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
65981 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
65982 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
65983 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
65984 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
65985 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
65986
65987 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
65988
65989 * Makerules (+depfiles): Also collect depfiles from .oS in
65990 $(extra-objs).
65991 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
65992 .oS, $(libnldbl-routines)).
65993
65994 * Makerules (native-compile-mkdep-flags): Define.
65995 * sunrpc/Makefile (extra-objs): Add $(addprefix
65996 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
65997 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
65998 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
65999 calling $(make-target-directory).
66000
66001 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
66002
66003 * bits/types.h (__snseconds_t): Removed.
66004 * time/time.h (struct timespec): Replace __snseconds_t with
66005 __syscall_slong_t.
66006 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
66007 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
66008 Likewise.
66009 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
66010 (__SNSECONDS_T_TYPE): Likewise.
66011 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
66012 (__SNSECONDS_T_TYPE): Likewise.
66013 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
66014 (__SNSECONDS_T_TYPE): Likewise.
66015
66016 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
66017
66018 * sysdeps/mach/hurd/bits/typesizes.h
66019 (__SYSCALL_SLONG_TYPE): New macro.
66020 (__SYSCALL_ULONG_TYPE): Likewise.
66021
66022 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
66023
66024 * bits/types.h (__syscall_slong_t): New type.
66025 (__syscall_ulong_t): Likewise.
66026
66027 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
66028 (__SYSCALL_ULONG_TYPE): Likewise.
66029 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
66030 (__SYSCALL_SLONG_TYPE): Likewise.
66031 (__SYSCALL_ULONG_TYPE): Likewise.
66032 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
66033 (__SYSCALL_SLONG_TYPE): Likewise.
66034 (__SYSCALL_ULONG_TYPE): Likewise.
66035 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
66036 (__SYSCALL_SLONG_TYPE): Likewise.
66037 (__SYSCALL_ULONG_TYPE): Likewise.
66038
66039 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
66040
66041 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
66042 Add sigaltstack-offsets.sym.
66043 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
66044 <sigaltstack-offsets.h>.
66045 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
66046 longjmp_msg pointer.
66047 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
66048 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
66049 signal stack.
66050 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
66051
66052 2012-05-15 Joseph Myers <joseph@codesourcery.com>
66053
66054 * elf/stackguard-macros.h: Remove file.
66055 * sysdeps/generic/stackguard-macros.h: New file.
66056 * sysdeps/i386/stackguard-macros.h: Likewise.
66057 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
66058 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
66059 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
66060 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
66061 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
66062 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
66063 * sysdeps/x86_64/stackguard-macros.h: Likewise.
66064 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
66065 <elf/stackguard-macros.h>.
66066
66067 [BZ #14109]
66068 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
66069 __aligned__ in attribute.
66070 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
66071 (gregset_t): Likewise.
66072
66073 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
66074
66075 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
66076 * sysdeps/x86_64/64/Implies-after: Here. New file.
66077 * sysdeps/x86_64/x32/Implies-after: New file.
66078
66079 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
66080
66081 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
66082 and access return value for _dl_profile_fixup. Use R10_LP to
66083 load frame size.
66084
66085 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
66086
66087 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
66088
66089 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
66090
66091 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
66092 * sysdeps/x86_64/x32/sysdep.h: New file.
66093
66094 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
66095
66096 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
66097 * sysdeps/x86_64/setjmp.S: Likewise.
66098
66099 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66100
66101 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
66102 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
66103 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
66104 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
66105 remove unused global constant.
66106
66107 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
66108
66109 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
66110 include of <not-cancel.h>.
66111
66112 2012-05-15 Roland McGrath <roland@hack.frob.com>
66113
66114 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
66115
66116 2012-05-15 Jeff Law <law@redhat.com>
66117 Andreas Jaeger <aj@suse.de>
66118
66119 [BZ #13594]
66120 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
66121 out from...
66122 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
66123 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
66124 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
66125 code changing __hst_map_handle.map.
66126
66127 2012-05-15 Roland McGrath <roland@hack.frob.com>
66128
66129 * configure.in (sysnames): Look for Implies-before and Implies-after
66130 files.
66131 * configure: Regenerated.
66132
66133 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
66134
66135 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
66136 8-byte data alignment with LP_SIZE alignment.
66137
66138 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
66139
66140 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
66141 into R10_LP.
66142
66143 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
66144
66145 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
66146
66147 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
66148
66149 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
66150 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
66151 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
66152 Likewise.
66153 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
66154
66155 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
66156
66157 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
66158 (stackinfo_sub_sp): Likewise.
66159
66160 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
66161
66162 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
66163 RAX_LP.
66164
66165 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
66166
66167 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
66168 into R*_LP.
66169
66170 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
66171
66172 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
66173 sizes into R*_LP.
66174
66175 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
66176
66177 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
66178
66179 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
66180
66181 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
66182 into R11_LP and load __x86_64_shared_cache_size_half into
66183 R8_LP.
66184
66185 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
66186
66187 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
66188 R8_LP.
66189
66190 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66191
66192 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
66193 logb for POWER7.
66194 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
66195 logbf for POWER7.
66196 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
66197 logbl for POWER7.
66198 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
66199 powerpc32/power7/fpu/s_logb.c via #include.
66200 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
66201 powerpc32/power7/fpu/s_logbf.c via #include.
66202 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
66203 powerpc32/power7/fpu/s_logbl.c via #include.
66204
66205 2012-05-15 Joseph Myers <joseph@codesourcery.com>
66206
66207 * README.libm: Remove file.
66208
66209 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
66210
66211 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
66212 count for x32. Use R*_LP and omit operand-size suffix.
66213
66214 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
66215
66216 * shlib-versions: Move x86_64-.*-linux.* entries to ...
66217 * sysdeps/x86_64/64/shlib-versions: Here. New file.
66218 * sysdeps/x86_64/x32/shlib-versions: New file.
66219
66220 2012-05-14 Roland McGrath <roland@hack.frob.com>
66221
66222 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
66223 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
66224 Use _dl_fatal_printf instead.
66225
66226 2012-05-14 Joseph Myers <joseph@codesourcery.com>
66227
66228 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
66229 set if not set by the user. Do not allow for being unset.
66230 * sysdeps/unix/sysv/linux/configure: Regenerated.
66231
66232 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
66233
66234 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
66235 the `q' suffix from lea and replace .quad with ASM_ADDR.
66236
66237 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
66238
66239 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
66240 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
66241 instead of $17.
66242 (PTR_DEMANGLE): Likewise.
66243
66244 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
66245
66246 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
66247 (LP_OP): Likewise.
66248 (ASM_ADDR): Likewise.
66249 (RAX_LP): Likewise.
66250 (RBP_LP): Likewise.
66251 (RBX_LP): Likewise.
66252 (RCX_LP): Likewise.
66253 (RDI_LP): Likewise.
66254 (RSI_LP): Likewise.
66255 (RSP_LP): Likewise.
66256 (R8_LP): Likewise.
66257 (R9_LP): Likewise.
66258 (R10_LP): Likewise.
66259 (R10_LP): Likewise.
66260 (R11_LP): Likewise.
66261 (R12_LP): Likewise.
66262 (R13_LP): Likewise.
66263 (R14_LP): Likewise.
66264 (R15_LP): Likewise.
66265
66266 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
66267
66268 * sysdeps/x86_64/x32/dl-machine.h: New file.
66269
66270 2012-05-14 Andreas Jaeger <aj@suse.de>
66271
66272 * manual/Makefile (subdir): Remove export of subdir.
66273 (all): Remove target.
66274 (.PHONY): Remove all from list.
66275 (mkinstalldirs): Remove.
66276 (.PHONY): Remove installdirs from list.
66277 ($(inst_infodir)/libc.info): Use make-target-directory.
66278 (installdirs): Remove.
66279 (subdir_%): Remove.
66280 (glibc-targets): Remove.
66281 (lib): Remove.
66282 (stubs): Remove.
66283 ($(objpfx)stubs ../po/manual.pot): Remove.
66284 ($(objpfx)stamp%): Remove.
66285 (make-target-directory): Remove.
66286 (subdir_install): Remove.
66287 (routines): Remove.
66288 (aux): Remove.
66289 (sources): Remove.
66290 (objects): Remove.
66291 (headers): Remove.
66292
66293 [BZ #13750]
66294 * manual/.gitignore: Remove, it's not needed anymore.
66295 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
66296 all files in it.
66297 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
66298 directory.
66299 (texis): Renamed to $(objpfx)texis.
66300 (texis-path): New, contains path to generated files.
66301 (chapters.%): Use texis-path for complete path, add extra argument
66302 libc-texinfo.sh.
66303 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
66304 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
66305 (summary,texi, stamp-summary): Use complete path of
66306 files. Generate files in build dir.
66307 (dir-add.texi): Build in build dir.
66308 (libm-err.texi,stamp-libm-err): Likewise.
66309 (version.texi, stamp-version): Likewise.
66310 (.%c.texi): Likewise.
66311 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
66312 (mostlyclean): Remove target.
66313 (realclean): Remove target.
66314 (generated): Add new variable with contents from mostlyclean and
66315 realclean, remove entries duplicated in common-mostlyclean, add
66316 stamp-libm-err and stamp-version.
66317 (generated-dirs): Add libc directory.
66318 ($(inst_infodir)/libc.info): Install files from build dir.
66319
66320 * manual/install.texi (Configuring and compiling): Adjust since
66321 the info files are not part of the tar ball anymore.
66322
66323 2012-05-14 Andreas Jaeger <aj@suse.de>
66324
66325 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
66326 variable.
66327
66328 2012-05-14 Joseph Myers <joseph@codesourcery.com>
66329
66330 [BZ #13717]
66331 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
66332 to 2.2.0 where earlier.
66333 * sysdeps/unix/sysv/linux/configure: Regenerated.
66334 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
66335 Remove conditional code.
66336 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
66337 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
66338 Remove conditional code.
66339 [!__NR_lchown]: Likewise.
66340 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
66341 [__NR_lchown]: Likewise.
66342 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
66343 comment referencing __ASSUME_LCHOWN_SYSCALL.
66344 * sysdeps/unix/sysv/linux/i386/sigaction.c
66345 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66346 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66347 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
66348 Remove conditional code.
66349 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
66350 (__protocol_available): Remove #if 0 code.
66351 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
66352 conditional code.
66353 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
66354 * sysdeps/unix/sysv/linux/kernel-features.h
66355 (__ASSUME_GETCWD_SYSCALL): Don't define.
66356 (__ASSUME_REALTIME_SIGNALS): Likewise.
66357 (__ASSUME_PREAD_SYSCALL): Likewise.
66358 (__ASSUME_PWRITE_SYSCALL): Likewise.
66359 (__ASSUME_POLL_SYSCALL): Likewise.
66360 (__ASSUME_LCHOWN_SYSCALL): Likewise.
66361 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
66362 non-SPARC.
66363 (__ASSUME_SIOCGIFNAME): Don't define.
66364 (__ASSUME_MSG_NOSIGNAL): Likewise.
66365 (__ASSUME_SENDFILE): Define unconditionally.
66366 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
66367 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
66368 conditional code.
66369 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
66370 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
66371 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
66372 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
66373 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
66374 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
66375 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
66376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
66377 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
66378 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
66380 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
66381 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
66383 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66384 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
66386 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66387 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
66389 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
66390 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
66392 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
66393 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
66395 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66396 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
66398 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66399 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66400 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
66401 Remove conditional code.
66402 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66403 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
66404 Remove conditional code.
66405 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66406 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
66407 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
66408 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
66409 Remove conditional code.
66410 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66411 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
66412 Remove conditional code.
66413 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66414 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
66415 Remove conditional code.
66416 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66417 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
66418 Remove conditional code.
66419 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66420 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
66421 Remove conditional code.
66422 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66423 * sysdeps/unix/sysv/linux/sh/pwrite64.c
66424 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66425 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66426 * sysdeps/unix/sysv/linux/sigaction.c
66427 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66428 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66429 * sysdeps/unix/sysv/linux/sigpending.c
66430 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66431 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66432 * sysdeps/unix/sysv/linux/sigprocmask.c
66433 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66434 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66435 * sysdeps/unix/sysv/linux/sigsuspend.c
66436 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66437 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66438 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
66439 (__libc_missing_rt_sigs): Remove.
66440 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
66441 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
66442 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
66443 Remove conditional code.
66444 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
66445 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
66446 return 1.
66447 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
66448 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
66449 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
66450 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
66451
66452 2012-05-14 Andreas Jaeger <aj@suse.de>
66453
66454 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
66455 it's not used in glibc.
66456 (__coshm1): Likewise.
66457 (__acosh1p): Likewise.
66458 (__sgn): Likewise.
66459
66460 * manual/string.texi (Copying and Concatenation): Add missing
66461 variable in concat example.
66462 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
66463
66464 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
66465
66466 [BZ #14103]
66467 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
66468 __builtin_clzl with __builtin_clzll.
66469
66470 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
66471
66472 [BZ #14104]
66473 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
66474 libc_freeres_ptr.
66475
66476 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
66477
66478 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
66479 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
66480 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
66481 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
66482
66483 2012-05-14 Mike Frysinger <vapier@gentoo.org>
66484
66485 * NEWS: Update ia64 info.
66486
66487 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
66488
66489 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
66490 used as bcopy.
66491
66492 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
66493
66494 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
66495 * sysdeps/unix/syscalls.list (dup3): Likewise.
66496 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
66497 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
66498
66499 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
66500
66501 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
66502 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
66503
66504 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
66505
66506 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
66507 thread pointer.
66508 (TLS_IE): Use mov/add instead of movq/addq to load thread
66509 pointer.
66510 (TLS_GD_PREFIX): New.
66511 (TLS_GD): Use it.
66512
66513 2012-05-11 David S. Miller <davem@davemloft.net>
66514
66515 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
66516 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
66517 (_FPU_SETCW): Likewise.
66518
66519 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
66520
66521 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
66522 is 32-byte aligned.
66523
66524 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
66525
66526 [BZ #11837]
66527 * iconvdata/gb18030.c: Update tables.
66528 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
66529 characters specially.
66530 (BODY for TO_LOOP): Add encoding of missing ranges.
66531
66532 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
66533
66534 [BZ #13673]
66535 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
66536 * sysdeps/mach/hurd/dup3.c: Likewise.
66537 * sysdeps/mach/hurd/readlinkat.c: Likewise.
66538 * sysdeps/powerpc/memmove.c:: Likewise.
66539
66540 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
66541
66542 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
66543 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
66544
66545 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
66546
66547 * elf/elf.h (R_X86_64_RELATIVE64): New.
66548 (R_X86_64_NUM): Updated.
66549 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
66550 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
66551 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
66552 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
66553 tst-quad1pie tst-quad2pie
66554 (modules-names): Add tst-quadmod1 tst-quadmod2.
66555 ($(objpfx)tst-quad1): New dependency.
66556 ($(objpfx)tst-quad2): Likewise.
66557 ($(objpfx)tst-quad1pie): Likewise.
66558 ($(objpfx)tst-quad2pie): Likewise.
66559 * sysdeps/x86_64/tst-quad1.c: New file.
66560 * sysdeps/x86_64/tst-quad1pie.c: New file.
66561 * sysdeps/x86_64/tst-quad2.c: Likewise.
66562 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
66563 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
66564 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
66565 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
66566 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
66567
66568 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
66569
66570 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
66571 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
66572 * streams/stropts.h (t_scalar_t): Define type.
66573
66574 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
66575 (_PATH_PRESERVE): Set to "/var/lib".
66576 (_PATH_RWHODIR): Set to "/var/spool/rwho".
66577
66578 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
66579 instead of int.
66580
66581 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
66582 if __dir_mkfile succeeded.
66583
66584 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
66585 checking for _hurd_dtablesize. Unlock it right after having
66586 finished _hurd_dtable allocation.
66587
66588 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
66589
66590 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
66591 * sysdeps/mach/hurd/configure: Regenerated.
66592 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
66593 special-casing to...
66594 * sysdeps/gnu/configure.in: ... this new file.
66595 * sysdeps/unix/sysv/linux/configure: Regenerated.
66596 * sysdeps/gnu/configure: New generated file.
66597
66598 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
66599 for Linux: use nsec instead of usec, as well as:
66600 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
66601 members of type struct timespec.
66602 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
66603 New macros.
66604 (struct stat64): Likewise.
66605 (_STATBUF_ST_NSEC): New macro.
66606 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
66607
66608 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
66609 __strtoul_internal rather than strtoul.
66610
66611 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
66612
66613 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
66614 and reject them.
66615
66616 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
66617
66618 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
66619 which preserves existing values.
66620 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
66621
66622 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
66623
66624 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
66625 TIMEOUT values. Return EINVAL for NFDS values either negative or
66626 greater than FD_SETSIZE.
66627
66628 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
66629
66630 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
66631 allocated, call __vm_protect to finish enabling the existing space, and
66632 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
66633 allocate the remainder.
66634
66635 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
66636
66637 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
66638 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
66639
66640 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
66641
66642 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
66643 sysdeps/mach/hurd/readlink.c.
66644
66645 * posix/tst-sysconf.c (posix_options): Only use
66646 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
66647 _POSIX_SYNCHRONIZED_IO when they are defined
66648 * sysdeps/mach/hurd/bits/posix_opt.h:
66649 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
66650 (_XOPEN_REALTIME): Undefine macro.
66651 (_XOPEN_REALTIME_THREADS): Undefine macro.
66652 (_XOPEN_SHM): Undefine macro.
66653 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
66654 macro to -1.
66655 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
66656 macro to -1.
66657 (_POSIX_ASYNC_IO): Undefine macro.
66658 (_POSIX_PRIORITIZED_IO): Undefine macro.
66659 (_POSIX_SPIN_LOCKS): Define macro to -1.
66660
66661 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
66662 SA_NODEFER, SA_RESETHAND.
66663 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
66664 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
66665 F_DUPFD_CLOEXEC.
66666
66667 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
66668
66669 * elf/Makefile (pldd-modules): Define unconditionally.
66670
66671 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
66672
66673 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
66674
66675 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
66676
66677 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
66678 Return ENOENT when name is empty.
66679 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
66680
66681 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
66682
66683 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
66684
66685 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
66686
66687 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
66688
66689 Fix mlock in all cases except non-readable pages.
66690 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
66691 instead of VM_PROT_ALL as parameter to __vm_wire function.
66692
66693 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
66694 (__mkdir): When path is `/', just fail with EEXIST.
66695 * sysdeps/mach/hurd/mkdirat.c: Likewise.
66696
66697 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
66698
66699 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
66700 <sys/uio.h> (for writev).
66701 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
66702 and <sys/param.h> (for MIN).
66703
66704 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
66705
66706 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
66707 REQUESTED_TIME. Properly set the remaining time and return EINTR
66708 if interrupted.
66709
66710 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
66711
66712 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
66713 Depend on against $(link-rpcuserlibs).
66714
66715 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
66716
66717 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
66718 (__libc_stack_end): Do not use attribute_relro.
66719 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
66720 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
66721 to libthread-provided value.
66722 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
66723 attribute_relro.
66724
66725 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
66726
66727 [BZ #3748]
66728 * bits/libc-lock.h (__libc_once_get): New macro.
66729 * sysdeps/mach/bits/libc-lock.h: Likewise.
66730 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
66731 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
66732 instead of using implementation details.
66733
66734 * libio/fileops.c: Unconditionally include <kernel-features.h>.
66735 * libio/freopen.c: Likewise.
66736 * libio/freopen64.c: Likewise.
66737 * misc/syslog.c: Likewise.
66738 * nscd/connections.c: Likewise.
66739 * nscd/netgroupcache.c: Likewise.
66740 * sysdeps/posix/getcwd.c: Likewise.
66741
66742 2012-05-10 Roland McGrath <roland@hack.frob.com>
66743
66744 * math/w_ilogbf.c: Add #include <limits.h>.
66745
66746 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
66747
66748 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
66749 path instead of returning without unlocking.
66750
66751 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
66752 immediate-write ioctls.
66753 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
66754
66755 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
66756
66757 * sysdeps/mach/hurd/i386/init-first.c (init): Use
66758 __builtin_frame_address instead of making assumptions about the
66759 location of the return address relative to DATA. Force early load of
66760 the return address.
66761 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
66762 __builtin_frame_address.
66763
66764 dup3 for GNU Hurd.
66765 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
66766 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
66767 implement dup3 and do some further code clean-ups.
66768 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
66769 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
66770
66771 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
66772
66773 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
66774
66775 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
66776 HURD_CRITICAL_END around holding _hurd_dtable_lock.
66777 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
66778 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
66779 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
66780 d->port.lock.
66781
66782 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
66783 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
66784 when handler == SIG_ERR, not when handler != SIG_ERR.
66785
66786 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
66787
66788 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
66789 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
66790 definitions.
66791
66792 accept4 for GNU Hurd.
66793 * include/sys/socket.h (__libc_accept4): New prototype.
66794 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
66795 to implement __libc_accept4.
66796 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
66797 __libc_accept4.
66798 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
66799
66800 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
66801 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
66802 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
66803 signal-defines.sym.
66804
66805 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
66806
66807 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
66808
66809 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
66810
66811 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
66812 assertion on O_CLOEXEC flag.
66813 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
66814 * hurd/intern-fd.c: Likewise.
66815 * hurd/port2fd.c: Likewise.
66816
66817 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
66818
66819 [BZ #3906]
66820 * bits/in.h (IPV6_PKTINFO): Define new macro.
66821 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
66822
66823 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66824
66825 [BZ #13954]
66826 [BZ #13955]
66827 [BZ #13956]
66828 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
66829 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
66830 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
66831 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
66832 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
66833 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
66834 * math/libm-test.inc (logb_test) : Additional logb tests.
66835
66836 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
66837 Andreas Jaeger <aj@suse.de>
66838
66839 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
66840 * configure: Regenerated.
66841 * config.h.in (LINK_OBSOLETE_RPC): New macro.
66842 * config.make.in (link-obsolete-rpc): New substituted variable.
66843 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
66844 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
66845 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
66846 (shared-only-routines): Don't set it under [link-obsolete-rpc],
66847 so that libc.a contains the symbols.
66848 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
66849 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
66850 * sunrpc/auth_none.c: Likewise.
66851 * sunrpc/auth_unix.c: Likewise.
66852 * sunrpc/authdes_prot.c: Likewise.
66853 * sunrpc/authuxprot.c: Likewise.
66854 * sunrpc/clnt_gen.c: Likewise.
66855 * sunrpc/clnt_perr.c: Likewise.
66856 * sunrpc/clnt_raw.c: Likewise.
66857 * sunrpc/clnt_simp.c: Likewise.
66858 * sunrpc/clnt_tcp.c: Likewise.
66859 * sunrpc/clnt_udp.c: Likewise.
66860 * sunrpc/clnt_unix.c: Likewise.
66861 * sunrpc/des_crypt.c: Likewise.
66862 * sunrpc/des_soft.c: Likewise.
66863 * sunrpc/get_myaddr.c: Likewise.
66864 * sunrpc/key_call.c: Likewise.
66865 * sunrpc/key_prot.c: Likewise.
66866 * sunrpc/netname.c: Likewise.
66867 * sunrpc/pm_getmaps.c: Likewise.
66868 * sunrpc/pm_getport.c: Likewise.
66869 * sunrpc/pmap_clnt.c: Likewise.
66870 * sunrpc/pmap_prot.c: Likewise.
66871 * sunrpc/pmap_prot2.c: Likewise.
66872 * sunrpc/pmap_rmt.c: Likewise.
66873 * sunrpc/publickey.c: Likewise.
66874 * sunrpc/rpc_cmsg.c: Likewise.
66875 * sunrpc/rpc_common.c: Likewise.
66876 * sunrpc/rpc_dtable.c: Likewise.
66877 * sunrpc/rpc_prot.c: Likewise.
66878 * sunrpc/rpc_thread.c: Likewise.
66879 * sunrpc/rtime.c: Likewise.
66880 * sunrpc/svc.c: Likewise.
66881 * sunrpc/svc_auth.c: Likewise.
66882 * sunrpc/svc_raw.c: Likewise.
66883 * sunrpc/svc_run.c: Likewise.
66884 * sunrpc/svc_tcp.c: Likewise.
66885 * sunrpc/svc_udp.c: Likewise.
66886 * sunrpc/svc_unix.c: Likewise.
66887 * sunrpc/svcauth_des.c: Likewise.
66888 * sunrpc/xcrypt.c: Likewise.
66889 * sunrpc/xdr.c: Likewise.
66890 * sunrpc/xdr_array.c: Likewise.
66891 * sunrpc/xdr_float.c: Likewise.
66892 * sunrpc/xdr_intXX_t.c: Likewise.
66893 * sunrpc/xdr_mem.c: Likewise.
66894 * sunrpc/xdr_rec.c: Likewise.
66895 * sunrpc/xdr_ref.c: Likewise.
66896 * sunrpc/xdr_sizeof.c: Likewise.
66897 * sunrpc/xdr_stdio.c: Likewise.
66898
66899 2012-05-10 Roland McGrath <roland@hack.frob.com>
66900
66901 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
66902 change. Update copyright years.
66903
66904 2012-05-10 Joseph Myers <joseph@codesourcery.com>
66905
66906 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
66907
66908 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
66909 Joseph Myers <joseph@codesourcery.com>
66910 Paul Pluzhnikov <ppluzhnikov@google.com>
66911
66912 [BZ #14012]
66913 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
66914 requiring rpcgen.
66915 [cross-compiling] (extra-libs): Likewise.
66916 [cross-compiling] (extra-libs-others): Likewise.
66917 [cross-compiling] (librpcsvc-routines): Likewise.
66918 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
66919 [cross-compiling] (omit-deps): Likewise.
66920 (sunrpc-CPPFLAGS): New variable.
66921 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
66922 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
66923 (cross-rpcgen-objs): New variable.
66924 (extra-objs): Append $(cross-rpcgen-objs).
66925 ($(cross-rpcgen-objs)): New rule.
66926 ($(objpfx)cross-rpcgen): Likewise.
66927 (rpcgen-cmd): Define to use $(built-program-file). Expand
66928 comment.
66929 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
66930 ($(objpfx)x%.stmp): Likewise.
66931 * sunrpc/proto.h [IS_IN_build] (_): Define.
66932 [IS_IN_build] (_libc_intl_domainname): Likewise.
66933
66934 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
66935
66936 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
66937 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
66938 and R_X86_64_TPOFF64.
66939
66940 2012-05-10 Joseph Myers <joseph@codesourcery.com>
66941
66942 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
66943 sysdeps/unix/sysv/syscalls.list.
66944 (stime): Likewise.
66945 (utime): Likewise.
66946 * sysdeps/unix/sysv/syscalls.list: Remove file.
66947
66948 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
66949
66950 [BZ #3440]
66951 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
66952 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
66953 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
66954 (__LC_IDENTIFICATION): Make these macros useful in #if
66955 expressions, as required by C99.
66956
66957 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
66958
66959 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
66960 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
66961 after this.
66962
66963 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
66964
66965 * stdlib/longlong.h: Updated from GCC.
66966
66967 2012-05-09 Andreas Jaeger <aj@suse.de>
66968
66969 * nscd/nscd.c (run_modes): Make named enum, reorder so that
66970 default is first entry.
66971 (run_mode): Set type.
66972 (main): Remove informal message about syslog.
66973 (options): Fix typo.
66974
66975 [BZ #14053]
66976 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
66977 to asm.
66978 (lrint): Likewise.
66979 (llrintf): Likewise.
66980 (llrint): Likewise.
66981 (rint): Likewise.
66982 (rintf): Likewise.
66983 (nearbyint): Likewise.
66984 (nearbyintf): Likewise.
66985
66986 2012-05-09 Andreas Jaeger <aj@suse.de>
66987 Pedro Alves <palves@redhat.com>
66988
66989 * nscd/nscd.c (run_mode): Use enum.
66990 (main): Cleanup coding style issue.
66991
66992 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
66993 Andreas Jaeger <aj@suse.de>
66994
66995 * nscd/nscd.c (go_background): Replaced with...
66996 (run_mode): ... this.
66997 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
66998 (options): Add -F --foreground.
66999 (main): Implement it.
67000 (parse_opt): Parse it.
67001
67002 2012-05-09 Andreas Jaeger <aj@suse.de>
67003
67004 [BZ #14083]
67005 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
67006 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
67007 -Wconversion warning.
67008 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
67009 Likewise.
67010
67011 2012-05-09 Joseph Myers <joseph@codesourcery.com>
67012
67013 * conform/data/locale.h-data (NULL): Use macro-constant. Require
67014 == 0.
67015 (LC_ALL): Use macro-int-constant.
67016 (LC_COLLATE): Likewise.
67017 (LC_CTYPE): Likewise.
67018 (LC_MESSAGES): Likewise.
67019 (LC_MONETARY): Likewise.
67020 (LC_NUMERIC): Likewise.
67021 (LC_TIME): Likewise.
67022 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
67023 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
67024 [ISO || ISO99 || ISO11] (*_t): Do not allow.
67025 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
67026 Specify type.
67027 [C99-based standards] (float_t): Expect type.
67028 [C99-based standards] (double_t): Expect type.
67029 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
67030 type.
67031 [C99-based standards] (HUGE_VALL): Likewise.
67032 [C99-based standards] (INFINITY): Likewise.
67033 [C99-based standards] (NAN): Likewise.
67034 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
67035 [C99-based standards] (FP_NAN): Likewise.
67036 [C99-based standards] (FP_NORMAL): Likewise.
67037 [C99-based standards] (FP_SUBNORMAL): Likewise.
67038 [C99-based standards] (FP_ZERO): Likewise.
67039 [C99-based standards] (FP_FAST_FMA): Use
67040 optional-macro-int-constant. Specify type. Require == 1.
67041 [C99-based standards] (FP_FAST_FMAF): Likewise.
67042 [C99-based standards] (FP_FAST_FMAL): Likewise.
67043 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
67044 [C99-based standards] (FP_ILOGBNAN): Likewise.
67045 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
67046 Specify type.
67047 [C99-based standards] (MATH_ERREXCEPT): Likewise.
67048 [C99-based standards] (math_errhandling): Specify type.
67049 [ISO99 || ISO11] (signgam): Do not allow.
67050 [non-C99-based standards] (copysignf): Do not allow.
67051 [non-C99-based standards] (exp2f): Likewise.
67052 [non-C99-based standards] (log2f): Likewise.
67053 [non-C99-based standards] (modff): Allow.
67054 [non-C99-based standards] (erff): Do not allow.
67055 [non-C99-based standards] (erfcf): Likewise.
67056 [non-C99-based standards] (gammaf): Likewise.
67057 [non-C99-based standards] (hypotf): Likewise.
67058 [non-C99-based standards] (j0f): Likewise.
67059 [non-C99-based standards] (j1f): Likewise.
67060 [non-C99-based standards] (jnf): Likewise.
67061 [non-C99-based standards] (lgammaf): Likewise.
67062 [non-C99-based standards] (tgammaf): Likewise.
67063 [non-C99-based standards] (y0f): Likewise.
67064 [non-C99-based standards] (y1f): Likewise.
67065 [non-C99-based standards] (ynf): Likewise.
67066 [non-C99-based standards] (isnanf): Likewise.
67067 [non-C99-based standards] (acoshf): Likewise.
67068 [non-C99-based standards] (asinhf): Likewise.
67069 [non-C99-based standards] (atanhf): Likewise.
67070 [non-C99-based standards] (cbrtf): Likewise.
67071 [non-C99-based standards] (expm1f): Likewise.
67072 [non-C99-based standards] (ilogbf): Likewise.
67073 [non-C99-based standards] (log1pf): Likewise.
67074 [non-C99-based standards] (logbf): Likewise.
67075 [non-C99-based standards] (nextafterf): Likewise.
67076 [non-C99-based standards] (remainderf): Likewise.
67077 [non-C99-based standards] (rintf): Likewise.
67078 [non-C99-based standards] (scalbf): Likewise.
67079 [non-C99-based standards] (copysignl): Likewise.
67080 [non-C99-based standards] (exp2l): Likewise.
67081 [non-C99-based standards] (log2l): Likewise.
67082 [non-C99-based standards] (modfl): Allow.
67083 [non-C99-based standards] (erfl): Do not allow.
67084 [non-C99-based standards] (erfcl): Likewise.
67085 [non-C99-based standards] (gammal): Likewise.
67086 [non-C99-based standards] (hypotl): Likewise.
67087 [non-C99-based standards] (j0l): Likewise.
67088 [non-C99-based standards] (j1l): Likewise.
67089 [non-C99-based standards] (jnl): Likewise.
67090 [non-C99-based standards] (lgammal): Likewise.
67091 [non-C99-based standards] (tgammal): Likewise.
67092 [non-C99-based standards] (y0l): Likewise.
67093 [non-C99-based standards] (y1l): Likewise.
67094 [non-C99-based standards] (ynl): Likewise.
67095 [non-C99-based standards] (isnanl): Likewise.
67096 [non-C99-based standards] (acoshl): Likewise.
67097 [non-C99-based standards] (asinhl): Likewise.
67098 [non-C99-based standards] (atanhl): Likewise.
67099 [non-C99-based standards] (cbrtl): Likewise.
67100 [non-C99-based standards] (expm1l): Likewise.
67101 [non-C99-based standards] (ilogbl): Likewise.
67102 [non-C99-based standards] (log1pl): Likewise.
67103 [non-C99-based standards] (logbl): Likewise.
67104 [non-C99-based standards] (nextafterl): Likewise.
67105 [non-C99-based standards] (remainderl): Likewise.
67106 [non-C99-based standards] (rintl): Likewise.
67107 [non-C99-based standards] (scalbl): Likewise.
67108 [ISO || ISO99 || ISO11] (*_t): Do not allow.
67109 [non-C99-based standards] (FP_*): Do not allow.
67110 [C99-based standards] (FP_*): Change to
67111 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
67112 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
67113 allow.
67114 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
67115 (SIG_ERR): Likewise.
67116 [X/Open-based standards] (SIG_HOLD): Likewise.
67117 (SIG_IGN): Likewise.
67118 (SIGABRT): Use macro-int-constant. Specify type. Require
67119 positive value.
67120 (SIGFPE): Likewise.
67121 (SIGILL): Likewise.
67122 (SIGINT): Likewise.
67123 (SIGSEGV): Likewise.
67124 (SIGTER): Likewise.
67125 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
67126 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
67127 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
67128 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
67129 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
67130 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
67131 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
67132 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
67133 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
67134 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
67135 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
67136 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
67137 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
67138 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
67139 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
67140 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
67141 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
67142 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
67143 [X/Open-based standards] (SIGTRAP): Likewise.
67144 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
67145 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
67146 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
67147 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
67148 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
67149 allow.
67150
67151 2012-05-08 Ian Wienand <ianw@vmware.com>
67152
67153 [BZ #14080]
67154 * time/tzset.c (__tzset_parse_tz): Update default rules for
67155 daylight time changes in the Energy Policy Act of 2005.
67156
67157 2012-05-09 Andreas Jaeger <aj@suse.de>
67158
67159 [BZ #13983]
67160 * elf/ldconfig.c (parse_conf): Change string to make clear that
67161 ldconfig only issued a warning if ld.so.conf does not exist.
67162
67163 2012-05-08 David S. Miller <davem@davemloft.net>
67164
67165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
67166 movxtod instead of popping the value on the stack.
67167
67168 * sysdeps/sparc/fpu/libm-test-ulps: Update.
67169
67170 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
67171
67172 * config.h.in: Add HAVE_ARM_PCS_VFP.
67173
67174 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
67175
67176 [BZ #13979]
67177 * include/features.h: Warn if user requests __FORTIFY_SOURCE
67178 checking but the checks are disabled for any reason.
67179
67180 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
67181
67182 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
67183 and ELF64_R_TYPE with ELFW(R_TYPE).
67184
67185 2012-05-08 Joseph Myers <joseph@codesourcery.com>
67186
67187 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
67188 (ulimit): Likewise.
67189
67190 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
67191 (settimeofday): Likewise.
67192
67193 2012-05-08 Mike Frysinger <vapier@gentoo.org>
67194
67195 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
67196 a struct th_u2 inside the union, and move tu_block/tu_code into
67197 a new th_u3 union of tu_block/tu_code inside of that. Move
67198 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
67199 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
67200 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
67201 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
67202 (th_stuff): Change to th_u1.tu_stuff.
67203 (th_data): Define.
67204 (th_msg): Change to th_u1.th_u2.tu_data.
67205
67206 2012-05-07 David S. Miller <davem@davemloft.net>
67207
67208 * sysdeps/sparc/fpu/libm-test-ulps: Update.
67209
67210 [BZ #14074]
67211 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
67212 (SETUP_PIC_REG): Use it.
67213 (SETUP_PIC_REG_LEAF): Use it.
67214
67215 2012-05-07 Joseph Myers <joseph@codesourcery.com>
67216
67217 [BZ #13885]
67218 [BZ #13923]
67219 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
67220 USE_AS_EXPM1L.
67221 (EXPL_FINITE): Likewise.
67222 (FLDLOG): Likewise.
67223 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
67224 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
67225 e_expl.S.
67226 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
67227 USE_AS_EXPM1L.
67228 (EXPL_FINITE): Likewise.
67229 (FLDLOG): Likewise.
67230 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
67231 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
67232 e_expl.S.
67233 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
67234 test of -max_value argument for long double.
67235 * sysdeps/i386/fpu/libm-test-ulps: Update.
67236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67237
67238 2012-05-06 David S. Miller <davem@davemloft.net>
67239
67240 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
67241 quad soft-float symbols whose references which are compiler
67242 generated.
67243 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
67244
67245 2012-05-06 Joseph Myers <joseph@codesourcery.com>
67246
67247 [BZ #13884]
67248 [BZ #13914]
67249 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
67250 USE_AS_EXP10L.
67251 (EXPL_FINITE): Likewise.
67252 (FLDLOG): Likewise.
67253 (c0): Likewise.
67254 (c1): Likewise.
67255 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
67256 Adjust comments for base varying.
67257 (__expl_finite): Change alias to EXPL_FINITE.
67258 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
67259 e_expl.S.
67260 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
67261 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
67262 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
67263 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
67264 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
67265 USE_AS_EXP10L.
67266 (EXPL_FINITE): Likewise.
67267 (FLDLOG): Likewise.
67268 (c0): Likewise.
67269 (c1): Likewise.
67270 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
67271 Adjust comments for base varying.
67272 (__expl_finite): Change alias to EXPL_FINITE.
67273 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
67274 tests for bugs.
67275 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67276
67277 [BZ #14064]
67278 * math/libm-test.inc (check_float_internal): Correct ulp
67279 calculation for subnormal expected results.
67280
67281 2012-05-06 Andreas Jaeger <aj@suse.de>
67282
67283 * Makeconfig (+math-flags): New, set to -frounding-math.
67284 (+cflags): Add +math-flags so that all of glibc gets compiled with
67285 it.
67286
67287 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
67288
67289 2012-05-05 Joseph Myers <joseph@codesourcery.com>
67290
67291 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
67292 Disable one test.
67293
67294 [BZ #13787]
67295 [BZ #13922]
67296 [BZ #14036]
67297 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
67298 (__ieee754_expl): Allow for and saturate large arguments.
67299 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
67300 (u_threshold): Likewise.
67301 (__exp): Call __ieee754_exp before checking for overflow and
67302 underflow.
67303 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
67304 (u_threshold): Likewise.
67305 (__expf): Call __ieee754_expf before checking for overflow and
67306 underflow.
67307 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
67308 (u_threshold): Likewise.
67309 (__expl): Call __ieee754_expl before checking for overflow and
67310 underflow.
67311 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
67312 (__ieee754_expl): Allow for and saturate large arguments.
67313 * math/libm-test.inc (exp_test): Add another test. Do not allow
67314 missing overflow exception on overflow.
67315 (expm1_test): Do not allow missing overflow exception on overflow.
67316
67317 * sysdeps/i386/fpu/e_expl.c: Move to ...
67318 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
67319 rather than using inline asm.
67320 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
67321 * sysdeps/x86_64/fpu/e_expl.S: Copy from
67322 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
67323
67324 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
67325 (nice): Likewise.
67326 (poll): Likewise.
67327 (signal): Likewise.
67328 (time): Likewise.
67329 (times): Likewise.
67330
67331 2012-05-04 Joseph Myers <joseph@codesourcery.com>
67332
67333 * sysdeps/unix/syscalls.list (adjtime): Add entry from
67334 sysdeps/unix/common/syscalls.list.
67335 (fchmod): Likewise.
67336 (fchown): Likewise.
67337 (ftruncate): Likewise.
67338 (getrusage): Likewise.
67339 (gettimeofday): Likewise.
67340 (setpgid): Likewise.
67341 (setregid): Likewise.
67342 (setreuid): Likewise.
67343 (sigaction): Likewise.
67344 (truncate): Likewise.
67345 (vhangup): Likewise.
67346 * sysdeps/unix/common/syscalls.list: Remove file.
67347 * sysdeps/unix/bsd/Implies: Don't include unix/common.
67348 * sysdeps/unix/sysv/linux/Implies: Likewise.
67349
67350 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
67351
67352 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
67353 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
67354 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
67355 Moved to ...
67356 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
67357 Here.
67358 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
67359 to ...
67360 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
67361 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
67362 to ...
67363 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
67364 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
67365 to ...
67366 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
67367 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
67368 to ...
67369 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
67370 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
67371 to ...
67372 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
67373 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
67374 to ...
67375 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
67376 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
67377 to ...
67378 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
67379 Here.
67380 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
67381 to ...
67382 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
67383 Here.
67384 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
67385 to ...
67386 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
67387 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
67388 Moved to ...
67389 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
67390 Here.
67391 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
67392 to ...
67393 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
67394
67395 2012-05-04 Joseph Myers <joseph@codesourcery.com>
67396
67397 * sysdeps/unix/common/bits/dirent.h: Remove file.
67398 * sysdeps/unix/common/bits/fcntl.h: Likewise.
67399
67400 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
67401 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
67402 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
67403 * sysdeps/unix/bsd/isatty.c: Likewise.
67404 * sysdeps/unix/bsd/tcdrain.c: Likewise.
67405 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
67406 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
67407
67408 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67409
67410 [BZ #13563]
67411 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
67412 long double comparison inaccuracies.
67413 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
67414 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67415
67416 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
67417
67418 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
67419 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
67420
67421 2012-05-04 Joseph Myers <joseph@codesourcery.com>
67422
67423 [BZ #14049]
67424 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
67425 nonzero digits before rounding a hex value.
67426 * stdlib/tst-strtod.c (tests): Add another test.
67427
67428 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
67429
67430 * sysdeps/s390/fpu/libm-test-ulps: Update.
67431
67432 2012-05-03 Andreas Jaeger <aj@suse.de>
67433
67434 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
67435 does not get optimized out.
67436 (malloc_opt_barrier): New.
67437
67438 2012-05-03 Andreas Jaeger <aj@suse.de>
67439 Roland McGrath <roland@hack.frob.com>
67440
67441 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
67442 intermediate file deletion.
67443 (generated): Add .symlist files.
67444
67445 2012-05-03 Joseph Myers <joseph@codesourcery.com>
67446
67447 [BZ #13775]
67448 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
67449 Redirect under this condition.
67450 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
67451 [__USE_GNU] (__dprintf_chk): Not under this condition.
67452 [__USE_GNU] (__vdprintf_chk): Likewise.
67453 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
67454 under this condition.
67455 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
67456 [__USE_XOPEN2K8] (dprintf): Define under this condition.
67457 [__USE_XOPEN2K8] (vdprintf): Likewise.
67458 [__USE_GNU] (__dprintf_chk): Not under this condition.
67459 [__USE_GNU] (__vdprintf_chk): Likewise.
67460 [__USE_GNU] (dprintf): Likewise.
67461 [__USE_GNU] (vdprintf): Likewise.
67462
67463 2012-05-03 Roland McGrath <roland@hack.frob.com>
67464
67465 * elf/Makefile (common-generated): Set this instead of generated for
67466 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
67467 $(all-built-dso)-derived lists.
67468
67469 2012-05-03 Andreas Jaeger <aj@suse.de>
67470
67471 * sysdeps/i386/fpu/libm-test-ulps: Update.
67472
67473 * FAQ: Removed.
67474 * FAQ.in: Likewise.
67475 * scripts/gen-FAQ.pl: Likewise.
67476 * manual/install.texi (Installation): Point to online location of
67477 FAQ.
67478 * Makefile (files-for-dist): Remove FAQ.
67479 (FAQ): Remove.
67480
67481 2012-05-02 Allan McRae <allan@archlinux.org>
67482
67483 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
67484 (LDFLAGS-reldepmod5.so): Likewise.
67485 (LDFLAGS-reldep6mod1.so): Likewise.
67486 (LDFLAGS-reldep6mod4.so): Likewise.
67487 (LDFLAGS-reldep8mod3.so): Likewise.
67488 (LDFLAGS-unload4mod1.so): Likewise.
67489 (LDFLAGS-unload4mod2.so): Likewise.
67490 (LDFLAGS-tst-initorder): Likewise.
67491 (LDFLAGS-tst-initordera2.so): Likewise.
67492 (LDFLAGS-tst-initordera3.so): Likewise.
67493 (LDFLAGS-tst-initordera4.so): Likewise.
67494 (LDFLAGS-tst-initorderb2.so): Likewise.
67495 (LDFLAGS-noload): Likewise.
67496 (LDFLAGS-next): Likewise.
67497 (LDFLAGS-order2mod1.so): Likewise.
67498 (LDFLAGS-order2mod2.so): Likewise.
67499 (LDFLAGS-tst-initorder2): Likewise.
67500 (LDFLAGS-tst-initorder2a.so): Likewise.
67501 (LDFLAGS-tst-initorder2b.so): Likewise.
67502 (LDFLAGS-tst-initorder2c.so): Likewise.
67503 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
67504
67505 2012-05-02 David S. Miller <davem@davemloft.net>
67506
67507 * sysdeps/sparc/fpu/libm-test-ulps: Update.
67508
67509 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
67510
67511 [BZ #14055]
67512 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
67513
67514 2012-05-02 Andreas Jaeger <aj@suse.de>
67515
67516 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
67517 since we manipulate rounding mode.
67518 (CPPFLAGS-test-idouble.c): Likewise.
67519 (CPPFLAGS-test-ifloat.c): Likewise.
67520 (CFLAGS-test-ldouble.c): Likewise.
67521 (CFLAGS-test-double.c): Likewise.
67522 (CFLAGS-test-float.c): Likewise.
67523 (CFLAGS-test-misc.c): Likewise.
67524 (CFLAGS-test-test-fenv.c): Likewise.
67525
67526 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67527
67528 [BZ #2550]
67529 [BZ #2570]
67530 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
67531 comparisons to determine direction to adjust input.
67532
67533 2012-05-01 Roland McGrath <roland@hack.frob.com>
67534
67535 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
67536 output to the target.
67537
67538 * scripts/localplt.awk: New file.
67539 * elf/Makefile ($(objpfx)check-localplt): Target removed.
67540 (check-localplt-CFLAGS): Variable removed.
67541 ($(all-built-dso:=.jmprel)): New static pattern rule.
67542 (generated): Add those targets.
67543 (localplt-built-dso): New variable.
67544 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
67545
67546 * elf/check-localplt.c: File removed.
67547
67548 * scripts/check-execstack.awk: New file.
67549 * elf/Makefile ($(objpfx)check-execstack): Target removed.
67550 (check-execstack-CFLAGS): Variable removed.
67551 ($(objpfx)check-execstack.h): Target removed.
67552 ($(objpfx)execstack-default): New target.
67553 (generated): Add that instead of check-execstack.h.
67554 ($(all-built-dso:=.phdr)): New static pattern rule.
67555 (generated): Add those targets.
67556 * elf/check-execstack.c: File removed.
67557
67558 * scripts/check-textrel.awk: New file.
67559 * elf/Makefile ($(objpfx)check-textrel): Target removed.
67560 (check-textrel-CFLAGS): Variable removed.
67561 (all-built-dso): Use := to define.o
67562 ($(all-built-dso:=.dyn)): New static pattern rule.
67563 (generated): Add those targets.
67564 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
67565 * config.make.in (READELF): New substituted variable.
67566 * elf/check-textrel.c: File removed.
67567
67568 2012-05-01 Joseph Myers <joseph@codesourcery.com>
67569
67570 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
67571 allow.
67572 * conform/data/ctype.h-data [C99-based standards] (isblank):
67573 Expect function.
67574 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
67575 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
67576 [ISO || ISO99 || ISO11] (*_t): Do not allow.
67577 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
67578 Specify type. Require positive value.
67579 (EILSEQ): Likewise.
67580 (ERANGE): Likewise.
67581 [ISO || POSIX] (EILSEQ): Do not expect.
67582 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
67583 Specify type. Require positive value.
67584 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
67585 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
67586 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
67587 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
67588 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
67589 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
67590 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
67591 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
67592 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
67593 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
67594 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
67595 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
67596 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
67597 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
67598 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
67599 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
67600 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
67601 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
67602 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
67603 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
67604 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
67605 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
67606 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
67607 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
67608 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
67609 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
67610 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
67611 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
67612 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
67613 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
67614 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
67615 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
67616 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
67617 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
67618 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
67619 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
67620 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
67621 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
67622 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
67623 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
67624 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
67625 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
67626 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
67627 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
67628 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
67629 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
67630 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
67631 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
67632 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
67633 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
67634 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
67635 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
67636 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
67637 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
67638 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
67639 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
67640 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
67641 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
67642 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
67643 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
67644 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
67645 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
67646 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
67647 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
67648 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
67649 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
67650 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
67651 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
67652 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
67653 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
67654 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
67655 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
67656 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
67657 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
67658 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
67659 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
67660 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
67661 Require >= 2.
67662 (FLT_ROUNDS): Expect as macro, not constant.
67663 (FLT_MANT_DIG): Use macro-int-constant.
67664 (DBL_MANT_DIG): Likewise.
67665 (LDBL_MANT_DIG): Likewise.
67666 (FLT_DIG): Likewise.
67667 (DBL_DIG): Likewise.
67668 (LDBL_DIG): Likewise.
67669 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
67670 (DBL_MIN_EXP): Likewise.
67671 (LDBL_MIN_EXP): Likewise.
67672 (FLT_MAX_EXP): Use macro-int-constant.
67673 (DBL_MAX_EXP): Likewise.
67674 (LDBL_MAX_EXP): Likewise.
67675 (FLT_MAX_10_EXP): Likewise.
67676 (DBL_MAX_10_EXP): Likewise.
67677 (LDBL_MAX_10_EXP): Likewise.
67678 (FLT_MAX): Use macro-constant.
67679 (DBL_MAX): Likewise.
67680 (LDBL_MAX): Likewise.
67681 (FLT_EPSILON): Use macro-constant. Give upper bound.
67682 (DBL_EPSILON): Likewise.
67683 (LDBL_EPSILON): Likewise.
67684 (FLT_MIN): Likewise.
67685 (DBL_MIN): Likewise.
67686 (LDBL_MIN): Likewise.
67687 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
67688 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
67689 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
67690 [ISO11] (FLT_HAS_SUBNORM): Likewise.
67691 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
67692 [ISO11] (DBL_DECIMAL_DIG): Likewise.
67693 [ISO11] (FLT_DECIMAL_DIG): Likewise.
67694 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
67695 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
67696 [ISO11] (FLT_TRUE_MIN): Likewise.
67697 [ISO11] (LDBL_TRUE_MIN): Likewise.
67698 [ISO || ISO99 || ISO11] (*_t): Do not allow.
67699 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
67700 (SCHAR_MIN): Use macro-int-constant. Specify type.
67701 (SCHAR_MAX): Likewise.
67702 (UCHAR_MAX): Likewise.
67703 (CHAR_MIN): Likewise.
67704 (CHAR_MAX): Likewise.
67705 (MB_LEN_MAX): Use macro-int-constant.
67706 (SHRT_MIN): Use macro-int-constant. Specify type.
67707 (SHRT_MAX): Likewise.
67708 (USHRT_MAX): Likewise.
67709 (INT_MAX): Likewise.
67710 (INT_MIN): Use macro-int-constant. Specify type. Make upper
67711 bound negative.
67712 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
67713 bound with "U".
67714 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
67715 bound with "L".
67716 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
67717 bound negative. Suffix upper bound with "L".
67718 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
67719 bound with "UL".
67720 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
67721 Specify type.
67722 [C99-based standards] (LLONG_MAX): Likewise.
67723 [C99-based standards] (ULLONG_MAX): Likewise.
67724 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
67725 == 0.
67726 [ISO11] (max_align_t): Require type.
67727 [ISO || ISO99 || ISO11] (*_t): Do not allow.
67728
67729 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
67730 from $CFLAGS, without defining away __attribute__ calls.
67731 (checknamespace): Use $CFLAGS_namespace.
67732
67733 * conform/conformtest.pl (@keywords): Only include C99 keywords
67734 for standards based on C99 or C11.
67735
67736 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
67737 Disable tests.
67738 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
67739 UNIX98]: Likewise.
67740
67741 * conform/conformtest.pl: Handle "macro-int-constant" and test for
67742 usability of symbols in #if.
67743
67744 * conform/conformtest.pl: If macro or constant types start
67745 "promoted:", expect the symbol to be of the following type
67746 promoted by the integer promotions.
67747
67748 * conform/conformtest.pl: Parse all "constant" and "macro" lines
67749 in one place. Also handle "macro-constant".
67750
67751 * conform/conformtest.pl: Only accept expected macro values with
67752 "==". Parse all "macro" lines in one place.
67753 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
67754
67755 * conform/conformtest.pl: Handle braced types on "constant" lines
67756 instead of handling "typed-constant".
67757 * conform/data/signal.h-data: Use "constant" instead of
67758 "typed-constant".
67759
67760 * conform/conformtest.pl: Handle "optional-" at start of lines in
67761 one place rather than duplicating several cases. Handle each
67762 format of "macro" line with initial "optional-".
67763
67764 * conform/conformtest.pl: Only accept expected constant or
67765 optional-constant values with "==". Parse all "constant" lines in
67766 one place. Parse all "optional-constant" lines in one place.
67767 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
67768 * conform/data/fmtmsg.h-data: Likewise.
67769 * conform/data/netinet/in.h-data: Likewise.
67770 * conform/data/tar.h-data: Likewise.
67771 * conform/data/limits.h-data: Use "==" form on "constant" and
67772 "optional-constant" lines.
67773
67774 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
67775 Use -std=c99 for XOPEN2K.
67776 (@knownproblems): Remove.
67777 (newtoken): Don't check %isknown.
67778
67779 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
67780 Do not expect macro.
67781 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
67782 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
67783 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
67784 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
67785 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
67786 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
67787 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
67788 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
67789 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
67790 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
67791 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
67792 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
67793 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
67794 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
67795 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
67796 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
67797 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
67798 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
67799 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
67800 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
67801 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
67802 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
67803 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
67804 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
67805 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
67806 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
67807 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
67808 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
67809 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
67810 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
67811 [XPG3] (acosh): Likewise.
67812 [XPG3] (asinh): Likewise.
67813 [XPG3] (atanh): Likewise.
67814 [XPG3] (cbrt): Likewise.
67815 [XPG3] (expm1): Likewise.
67816 [XPG3] (ilogb): Likewise.
67817 [XPG3] (log1p): Likewise.
67818 [XPG3] (logb): Likewise.
67819 [XPG3] (nextafter): Likewise.
67820 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
67821 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
67822 [XPG3] (remainder): Likewise.
67823 [XPG3] (rint): Likewise.
67824 [XPG3 || XPG4 || UNIX98] (round): Likewise.
67825 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
67826 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
67827 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
67828 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
67829 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
67830 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
67831 [UNIX98 || XOPEN2K] (scalb): Expect.
67832 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
67833 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
67834 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
67835 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
67836 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
67837 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
67838 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
67839 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
67840 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
67841 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
67842 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
67843 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
67844 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
67845 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
67846 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
67847 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
67848 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
67849 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
67850 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
67851 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
67852 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
67853 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
67854 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
67855 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
67856 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
67857 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
67858 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
67859 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
67860 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
67861 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
67862 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
67863 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
67864 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
67865 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
67866 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
67867 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
67868 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
67869 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
67870 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
67871 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
67872 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
67873 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
67874 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
67875 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
67876 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
67877 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
67878 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
67879 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
67880 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
67881 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
67882 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
67883 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
67884 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
67885 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
67886 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
67887 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
67888 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
67889 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
67890 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
67891 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
67892 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
67893 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
67894 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
67895 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
67896 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
67897 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
67898 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
67899 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
67900 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
67901 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
67902 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
67903 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
67904 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
67905 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
67906 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
67907 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
67908 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
67909 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
67910 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
67911 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
67912 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
67913 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
67914 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
67915 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
67916 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
67917 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
67918 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
67919 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
67920 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
67921 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
67922 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
67923 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
67924 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
67925 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
67926 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
67927 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
67928 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
67929 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
67930 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
67931 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
67932 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
67933 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
67934 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
67935 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
67936 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
67937 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
67938 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
67939 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
67940 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
67941 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
67942 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
67943 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
67944 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
67945 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
67946 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
67947 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
67948 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
67949 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
67950 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
67951 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
67952 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
67953 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
67954 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
67955 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
67956 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
67957 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
67958 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
67959 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
67960 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
67961 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
67962 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
67963 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
67964 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
67965 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
67966 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
67967 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
67968 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
67969
67970 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
67971 _XOPEN_SOURCE_EXTENDED for XPG4.
67972
67973 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
67974
67975 * Makeconfig (localtime): Remove variable.
67976 (inst_localtime-file): Likewise.
67977
67978 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
67979
67980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
67981 Update.
67982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
67983 Update.
67984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
67985 Update.
67986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
67987 Update.
67988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
67989 Update.
67990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
67991 Update.
67992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
67993 Update.
67994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
67995 Update.
67996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
67997 Update.
67998
67999 2012-05-01 Joseph Myers <joseph@codesourcery.com>
68000
68001 [BZ #2550]
68002 [BZ #2570]
68003 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
68004 comparisons to determine direction to adjust input.
68005 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
68006 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
68007 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
68008 Likewise.
68009 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
68010 Likewise.
68011 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
68012 Likewise.
68013 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
68014 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
68015 Likewise.
68016 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
68017 Likewise.
68018 * math/libm-test.inc (nexttoward_test): Add more tests.
68019
68020 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
68021
68022 [BZ #14040]
68023 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
68024 in version GLIBC_2.1, not GLIBC_2.0.
68025 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
68026 Likewise.
68027
68028 2012-04-30 Joseph Myers <joseph@codesourcery.com>
68029
68030 [BZ #13942]
68031 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
68032 (1 - x) * (1 + x).
68033 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
68034 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
68035 * math/libm-test.inc (acos_test): Add more tests.
68036 (asin_test): Likewise.
68037 * sysdeps/i386/fpu/libm-test-ulps: Update.
68038 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68039
68040 [BZ #14034]
68041 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
68042 of square root.
68043 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
68044 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
68045 * math/libm-test.inc (acos_test_tonearest): New function.
68046 (acos_test_towardzero): Likewise.
68047 (acos_test_downward): Likewise.
68048 (acos_test_upward): Likewise.
68049 (asin_test_tonearest): Likewise.
68050 (asin_test_towardzero): Likewise.
68051 (asin_test_downward): Likewise.
68052 (asin_test_upward): Likewise.
68053 (main): Call the new functions.
68054 * sysdeps/i386/fpu/libm-test-ulps: Update.
68055 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68056
68057 [BZ #13884]
68058 [BZ #13924]
68059 * math/e_exp10.c: Include <float.h>.
68060 (__ieee754_exp10): Handle underflow here rather than multiplying
68061 large negative argument by M_LN10.
68062 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
68063 of __ieee754_expf.
68064 * math/e_exp10l.c: Include <float.h>.
68065 (__ieee754_exp10l): Handle underflow here rather than multiplying
68066 large negative argument by M_LN10l.
68067 * math/libm-test.inc (exp10_test): Add another test. Do not allow
68068 spurious overflow exception on underflow.
68069
68070 2012-04-29 Marek Polacek <polacek@redhat.com>
68071
68072 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
68073 (__fortify_function): New macro.
68074 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
68075 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
68076 __extern_always_inline.
68077 * libio/bits/stdio2.h: Likewise.
68078 * libio/bits/stdio.h: Likewise.
68079 * string/string.h: Likewise.
68080 * string/bits/string3.h: Likewise.
68081 * include/stdio.h: Likewise.
68082 * stdlib/bits/stdlib.h: Likewise.
68083 * stdlib/stdlib.h: Likewise.
68084 * rt/bits/mqueue2.h: Likewise.
68085 * rt/mqueue.h: Likewise.
68086 * posix/bits/unistd.h: Likewise.
68087 * posix/unistd.h: Likewise.
68088 * io/bits/poll2.h: Likewise.
68089 * io/bits/fcntl2.h: Likewise.
68090 * io/fcntl.h: Likewise.
68091 * io/sys/poll.h: Likewise.
68092 * misc/bits/syslog.h: Likewise.
68093 * misc/bits/syslog-ldbl.h: Likewise.
68094 * misc/sys/syslog.h: Likewise.
68095 * socket/bits/socket2.h: Likewise.
68096 * socket/sys/socket.h: Likewise.
68097 * debug/tst-chk1.c: Likewise.
68098 * wcsmbs/bits/wchar2.h: Likewise.
68099 * wcsmbs/bits/wchar-ldbl.h: Likewise.
68100 * wcsmbs/wchar.h: Likewise.
68101
68102 2012-04-29 Andreas Jaeger <aj@suse.de>
68103
68104 * Makerules (tests): Remove enable-check-abi protection.
68105 (check-abi-warn): Remove.
68106 (check-abi-%): Remove check-abi-warn usage.
68107
68108 * configure.in: Remove check-abi configure option.
68109 * configure: Regenerated.
68110 * config.make.in (enable-check-abi): Remove.
68111
68112 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
68113
68114 [BZ #14033]
68115 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
68116 double functions to double *_finite functions.
68117
68118 [BZ #13941]
68119 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
68120 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
68121 LDBL_MIN_EXP.
68122 * stdio-common/Makefile (tests): Add tst-sprintf3.
68123 * stdio-common/tst-sprintf3.c: New file.
68124
68125 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
68126 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
68127
68128 2012-04-28 Joseph Myers <joseph@codesourcery.com>
68129
68130 * conform/conformtest.pl: Remove duplicate typed-constant
68131 handling.
68132
68133 2012-04-28 David S. Miller <davem@davemloft.net>
68134
68135 * Makerules (%.abilist): Add vpath on sysdep_dirs.
68136 (check-abi-%): Remove AWK script prerequisite and explicit
68137 abilist directory.
68138 (check-abi): Rewrite to just diff the symlist with the abilist.
68139 (config-tls, config-abi-config): Delete, no longer used.
68140 (update-abi-%): Remove AWK script and explicit abilist directory.
68141 (update-abi): Rewrite to simply compare and conditionally copy the
68142 symlist and the sysdep abilist file. Remove update-abi-config
68143 checks.
68144 * abilist/ld.abilist: Remove.
68145 * abilist/libBrokenLocale.abilist: Remove.
68146 * abilist/libanl.abilist: Remove.
68147 * abilist/libcrypt.abilist: Remove.
68148 * abilist/libdl.abilist: Remove.
68149 * abilist/librt.abilist: Remove.
68150 * abilist/libthread_db.abilist: Remove.
68151 * abilist/libutil.abilist: Remove.
68152 * scripts/extract-abilist.awk: Remove.
68153 * scripts/merge-abilist.awk: Remove.
68154 * sysdeps/generic/libcidn.abilist: New file.
68155 * sysdeps/generic/libnss_compat.abilist: New file.
68156 * sysdeps/generic/libnss_db.abilist: New file.
68157 * sysdeps/generic/libnss_dns.abilist: New file.
68158 * sysdeps/generic/libnss_files.abilist: New file.
68159 * sysdeps/generic/libnss_hesiod.abilist: New file.
68160 * sysdeps/generic/libnss_nis.abilist: New file.
68161 * sysdeps/generic/libnss_nisplus.abilist: New file.
68162 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
68163 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
68164 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
68165 file.
68166 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
68167 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
68168 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
68169 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
68170 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
68171 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
68172 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
68173 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
68174 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
68175 file.
68176 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
68177 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
68178 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
68179 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
68180 file.
68181 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
68182 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
68183 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
68184 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
68185 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
68186 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
68187 file.
68188 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
68189 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
68190 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
68191 file.
68192 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
68193 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
68194 New file.
68195 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
68196 New file.
68197 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
68198 New file.
68199 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
68200 New file.
68201 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
68202 New file.
68203 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
68204 New file.
68205 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
68206 New file.
68207 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
68208 New file.
68209 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
68210 New file.
68211 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
68212 New file.
68213 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
68214 New file.
68215 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
68216 New file.
68217 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
68218 New file.
68219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
68220 file.
68221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
68222 New file.
68223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
68224 New file.
68225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
68226 file.
68227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
68228 New file.
68229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
68230 New file.
68231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
68232 file.
68233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
68234 New file.
68235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
68236 New file.
68237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
68238 New file.
68239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
68240 New file.
68241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
68242 New file.
68243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
68244 New file.
68245 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
68246 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
68247 file.
68248 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
68249 New file.
68250 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
68251 file.
68252 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
68253 file.
68254 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
68255 file.
68256 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
68257 file.
68258 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
68259 file.
68260 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
68261 New file.
68262 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
68263 file.
68264 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
68265 file.
68266 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
68267 New file.
68268 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
68269 file.
68270 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
68271 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
68272 file.
68273 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
68274 New file.
68275 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
68276 file.
68277 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
68278 file.
68279 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
68280 file.
68281 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
68282 file.
68283 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
68284 file.
68285 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
68286 New file.
68287 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
68288 file.
68289 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
68290 file.
68291 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
68292 New file.
68293 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
68294 file.
68295 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
68296 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
68297 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
68298 file.
68299 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
68300 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
68301 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
68302 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
68303 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
68304 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
68305 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
68306 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
68307 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
68308 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
68309 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
68310 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
68311 file.
68312 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
68313 New file.
68314 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
68315 file.
68316 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
68317 file.
68318 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
68319 file.
68320 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
68321 file.
68322 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
68323 file.
68324 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
68325 New file.
68326 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
68327 New file.
68328 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
68329 file.
68330 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
68331 New file.
68332 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
68333 file.
68334 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
68335 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
68336 file.
68337 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
68338 New file.
68339 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
68340 file.
68341 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
68342 file.
68343 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
68344 file.
68345 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
68346 file.
68347 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
68348 file.
68349 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
68350 New file.
68351 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
68352 New file.
68353 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
68354 file.
68355 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
68356 New file.
68357 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
68358 file.
68359
68360 2012-04-28 Joseph Myers <joseph@codesourcery.com>
68361
68362 * conform/conformtest.pl: Fix typo in handling typed-constant from
68363 allow-header.
68364
68365 2012-04-27 Joseph Myers <joseph@codesourcery.com>
68366
68367 * README: Cut down references to pre-2.6 Linux kernels and
68368 Linuxthreads. Update lists of configurations in libc and ports
68369 and sort alphabetically. Say "or newer" with Linux kernel version
68370 requirements.
68371
68372 * config.h.in [IS_IN_build]: Allow compiling without optimization.
68373
68374 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
68375
68376 [BZ #887]
68377 * math/libm-test.inc (logb_test_downward): New test to expose
68378 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
68379 rounding mode.
68380
68381 2012-04-27 Joseph Myers <joseph@codesourcery.com>
68382
68383 [BZ #14027]
68384 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
68385 to be done.
68386 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
68387 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
68388
68389 2012-04-26 Joseph Myers <joseph@codesourcery.com>
68390
68391 * sysdeps/unix/i386/brk.S: Remove file.
68392 * sysdeps/unix/i386/dl-brk.S: Likewise.
68393 * sysdeps/unix/i386/pipe.S: Likewise.
68394 * sysdeps/unix/i386/sigreturn.S: Likewise.
68395 * sysdeps/unix/i386/syscall.S: Likewise.
68396 * sysdeps/unix/i386/vfork.S: Likewise.
68397 * sysdeps/unix/i386/wait.S: Likewise.
68398
68399 * sysdeps/unix/common/tcsendbrk.c: Move to ...
68400 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
68401
68402 * configure.in (arm*-none*): Do not allow without
68403 --enable-hacker-mode.
68404 (netbsd*): Remove case setting base_os.
68405 (386bsd*): Likewise.
68406 (freebsd*): Likewise.
68407 (bsdi*): Likewise.
68408 (osf*): Likewise.
68409 (sunos*): Likewise.
68410 (ultrix*): Likewise.
68411 (newsos*): Likewise.
68412 (dynix*): Likewise.
68413 (*bsd*): Likewise.
68414 (sysv*): Likewise.
68415 (isc*): Likewise.
68416 (esix*): Likewise.
68417 (sco*): Likewise.
68418 (minix*): Likewise.
68419 (irix4*): Likewise.
68420 (irix6*): Likewise.
68421 (solaris[2-9]*): Likewise.
68422 (none): Likewise.
68423 * configure: Regenerated.
68424
68425 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68426
68427 [BZ #11521]
68428 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
68429 overflow or cancellation in calculating denominator.
68430 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
68431 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
68432 down expression to avoid unexpected rounding in newer GCCs.
68433 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
68434
68435 2012-04-26 David S. Miller <davem@davemloft.net>
68436
68437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
68438 long-double compat symbols.
68439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
68440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
68441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
68442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
68443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
68444 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
68445 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
68446 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
68447 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
68448 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
68449 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
68450 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
68451 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
68452
68453 2012-04-25 David S. Miller <davem@davemloft.net>
68454
68455 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
68456 HWCAP_* values only after the memory barriers have been defined.
68457 (atomic_full_barrier): Define.
68458 (atomic_read_barrier): Define.
68459 (atomic_write_barrier): Define.
68460
68461 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
68462
68463 * shlib-versions: Add libgcc_s version information.
68464 * sysdeps/generic/libgcc_s.h: Remove.
68465 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
68466 libgcc_s.h.
68467 * sysdeps/gnu/unwind-resume.c: Likewise.
68468 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
68469
68470 2012-04-25 David S. Miller <davem@davemloft.net>
68471
68472 * sysdeps/unix/sparc/brk.S: Delete.
68473 * sysdeps/unix/sparc/dl-brk.S: Delete.
68474 * sysdeps/unix/sparc/pipe.S: Delete.
68475 * sysdeps/unix/sparc/sysdep.S: Delete.
68476 * sysdeps/unix/sparc/sysdep.h: Delete.
68477 * sysdeps/unix/sparc/vfork.S: Delete.
68478 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
68479 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
68480 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
68481 (ret_ERRVAL, r0, r1, MOVE): Define.
68482 (JUMPTARGET): Remove.
68483 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
68484 sysdeps/unix/sparc/sysdep.h
68485 (ENTRY, END): Remove.
68486 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
68487
68488 2012-04-25 Joseph Myers <joseph@codesourcery.com>
68489
68490 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
68491 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
68492 -DIS_IN_build.
68493
68494 * timezone/README: Update upstream location and email address for
68495 tzcode and tzdata.
68496 * timezone/zdump.c: Update from tzcode 2012b.
68497 * timezone/zic.c: Likewise.
68498
68499 * configure.in (libc_cv_as_needed): Remove test.
68500 * configure: Regenerated.
68501 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
68502 conditional definition.
68503 [$(have-as-needed) != yes] (no-as-needed): Likewise.
68504 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
68505 * config.make.in (have-as-needed): Remove variable.
68506
68507 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
68508 Paul Pluzhnikov <ppluzhnikov@google.com>
68509
68510 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
68511 strings correctly.
68512
68513 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
68514
68515 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
68516 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
68517 * sysdeps/sh/strlen.S: Likewise.
68518
68519 2012-04-24 Joseph Myers <joseph@codesourcery.com>
68520
68521 * sysdeps/unix/fork.S: Remove file.
68522 * sysdeps/unix/i386/fork.S: Likewise.
68523 * sysdeps/unix/sparc/fork.S: Likewise.
68524
68525 * sysdeps/unix/system.c: Remove file.
68526 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
68527
68528 * sysdeps/unix/getegid.S: Remove file.
68529 * sysdeps/unix/geteuid.S: Likewise.
68530
68531 2012-04-24 Roland McGrath <roland@hack.frob.com>
68532
68533 * scripts/check-localplt.awk: New file.
68534 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
68535 of diff.
68536 * scripts/data/localplt-generic.data: Add a comment.
68537
68538 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
68539 NODE when __dir_mkfile failed.
68540 * sysdeps/mach/hurd/symlinkat.c: Likewise.
68541 Reported by Ludovic Courtès <ludo@gnu.org>.
68542
68543 2012-04-24 Andreas Jaeger <aj@suse.de>
68544
68545 * Makerules (common-clean): Also remove gen-as-const-headers
68546 files.
68547
68548 2012-04-24 Joseph Myers <joseph@codesourcery.com>
68549
68550 * Makerules (native-compile): Do not change working directory for
68551 build. Use $(OUTPUT_OPTION) in command.
68552 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
68553
68554 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68555
68556 [BZ #13886]
68557 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
68558 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
68559 * math/libm-test.inc (floor_test): Add more tests.
68560 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
68561
68562 2012-04-24 Joseph Myers <joseph@codesourcery.com>
68563
68564 * sysdeps/unix/getdents.c: Remove file.
68565 * sysdeps/unix/sysv/getdents.c: Likewise.
68566 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
68567
68568 * sysdeps/unix/syscalls.list (madvise): Add syscall from
68569 sysdeps/unix/mman/syscalls.list.
68570 (mmap): Likewise.
68571 (mprotect): Likewise.
68572 (msync): Likewise.
68573 (munmap): Likewise.
68574 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
68575 * sysdeps/unix/mman/syscalls.list: Remove.
68576 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
68577
68578 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
68579 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
68580 * configure: Regenerated.
68581 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
68582 $(libgcc_s_suffix).
68583 * config.make.in (libgcc_s_suffix): Remove variable.
68584
68585 2012-04-23 Joseph Myers <joseph@codesourcery.com>
68586
68587 * sysdeps/unix/sysv/gethostname.c: Move to ...
68588 * sysdeps/posix/gethostname.c: ... here.
68589
68590 * sysdeps/unix/execve.S: Remove file.
68591
68592 * sysdeps/unix/_exit.S: Remove file.
68593
68594 2012-04-23 Andreas Jaeger <aj@suse.de>
68595
68596 [BZ #13739]
68597 * manual/Makefile: Remove make dist support, there's no
68598 need for a stand-alone documentation tar ball.
68599 (TEXI2DVI): Define always, it's not in Makeconfig.
68600 (dist): Removed.
68601 (tar-it): Removed.
68602 (edition): Removed.
68603 (glibc-doc-$(edition).tar): Removed
68604 (%.Z): Removed.
68605 (%.gz): Removed.
68606 (%.uu): Removed.
68607 (ETAGS): Remove, it's in Makeconfig.
68608 (move-if-change): Remove, it's in Makeconfig.
68609
68610 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
68611
68612 [BZ #13970]
68613 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
68614 (strtod, strtof, strtold, strtol, strtoul, strtoq)
68615 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
68616 (strtod_l, strtof_l, strtold_l): Remove __wur.
68617 It is not necessarily an error to ignore strtol's return value.
68618 One can reliably look at the stored endptr to decide whether
68619 the number had valid syntax.
68620
68621 2012-04-21 Andreas Jaeger <aj@suse.de>
68622
68623 [BZ #13739]
68624 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
68625
68626 2012-04-21 Joseph Myers <joseph@codesourcery.com>
68627
68628 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
68629 * sysdeps/unix/sysv/Versions: Remove file.
68630
68631 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
68632
68633 [BZ #13927]
68634 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68635
68636 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
68637
68638 [BZ #7064]
68639 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
68640 version from __vm86.
68641
68642 2012-04-20 Joseph Myers <joseph@codesourcery.com>
68643
68644 * sysdeps/unix/common/lxstat.c: Remove file.
68645 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
68646
68647 * sysdeps/unix/sysv/Makefile: Remove file.
68648
68649 * sysdeps/unix/sysv/direct.h: Remove file.
68650
68651 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
68652 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
68653 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
68654 * sysdeps/unix/sysv/bits/signum.h: Likewise.
68655 * sysdeps/unix/sysv/bits/stat.h: Likewise.
68656 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
68657 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
68658
68659 * sysdeps/unix/sysv/setrlimit.c: Remove file.
68660
68661 * sysdeps/unix/xmknod.c: Remove file.
68662 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
68663
68664 * sysdeps/unix/sysv/settimeofday.c: Remove file.
68665
68666 * sysdeps/unix/sysv/i386/time.S: Remove file.
68667
68668 * sysdeps/unix/fxstat.c: Remove file.
68669 * sysdeps/unix/xstat.c: Likewise.
68670 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
68671
68672 * sysdeps/unix/sysv/sigaction.c: Remove file.
68673
68674 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
68675 (sysdep_headers): Remove variable.
68676 [termio.h not in sysdep_headers] (generated): Likewise.
68677 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
68678 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
68679 * sysdeps/unix/sysv/tcdrain.c: Likewise.
68680 * sysdeps/unix/sysv/tcflow.c: Likewise.
68681 * sysdeps/unix/sysv/tcflush.c: Likewise.
68682 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
68683 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
68684 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
68685 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
68686 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
68687
68688 * sysdeps/unix/siglist.c: Remove file.
68689
68690 * sysdeps/unix/getppid.S: Remove file.
68691
68692 * sysdeps/unix/mkdir.c: Remove file.
68693 * sysdeps/unix/rmdir.c: Likewise.
68694
68695 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
68696
68697 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
68698 ERR_MAX value.
68699 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
68700 errlist-compat value.
68701
68702 2012-04-18 David S. Miller <davem@davemloft.net>
68703
68704 * sysdeps/generic/memcopy.h (reg_char): Delete.
68705 * debug/strcat_chk.c: Use char, not reg_char.
68706 * debug/strcpy_chk.c: Likewise.
68707 * debug/strncat_chk.c: Likewise.
68708 * debug/strncpy_chk.c: Likewise.
68709 * string/memchr.c: Likewise.
68710 * string/memrchr.c: Likewise.
68711 * string/rawmemchr.c: Likewise.
68712 * string/strcat.c: Likewise.
68713 * string/strchr.c: Likewise.
68714 * string/strchrnul.c: Likewise.
68715 * string/strcmp.c: Likewise.
68716 * string/strcpy.c: Likewise.
68717 * string/strncat.c: Likewise.
68718 * string/strncmp.c: Likewise.
68719 * string/strncpy.c: Likewise.
68720
68721 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
68722
68723 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
68724 __builtin_memcopy is called when src and dest ranges are known to not
68725 overlap.
68726
68727 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
68728
68729 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
68730 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
68731 fwd_align_merge macro call.
68732 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
68733 bwd_align_merge macro call.
68734 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
68735
68736 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
68737
68738 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
68739 bwd_align_merge macros.
68740 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
68741 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
68742 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
68743
68744 2012-04-18 David S. Miller <davem@davemloft.net>
68745
68746 * sysdeps/sparc/sparc64/memcopy.h: Delete.
68747
68748 2012-04-18 Andreas Jaeger <aj@suse.de>
68749
68750 [BZ# 6794]
68751 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
68752 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
68753 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
68754
68755 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
68756 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
68757 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
68758
68759 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
68760 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
68761 Adjust for changed ldbl-128 files.
68762
68763 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
68764 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
68765 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
68766
68767 2012-04-17 David S. Miller <davem@davemloft.net>
68768
68769 * sysdeps/sparc/sparc32/memcopy.h: Delete.
68770
68771 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
68772
68773 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
68774 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
68775 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
68776 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
68777 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
68778 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
68779
68780 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68781
68782 [BZ #6794]
68783 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
68784 * math/libm-test.inc: Add ilogb errno and exception tests.
68785 * math/w_ilogb.c: New file: ilogb wrapper.
68786 * math/w_ilogbf.c: New file: ilogbf wrapper.
68787 * math/w_ilogbl.c: New file: ilogbl wrapper.
68788 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
68789 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
68790 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
68791 exception being thrown with 0.0 as argument.
68792 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
68793 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
68794 exception being thrown with 0.0 as argument.
68795 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
68796 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
68797 exception being thrown with 0.0 as argument.
68798 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
68799 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
68800 exception being thrown with 0.0 as argument.
68801 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
68802 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
68803 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
68804 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
68805 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
68806 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
68807 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
68808 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
68809 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
68810
68811 2012-04-17 Petr Baudis <pasky@ucw.cz>
68812
68813 * include/sys/uio.h: Change __vector to __iovec to avoid clash
68814 with altivec.
68815
68816 2012-04-16 Marek Polacek <polacek@redhat.com>
68817
68818 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
68819
68820 2012-04-16 Marek Polacek <polacek@redhat.com>
68821
68822 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
68823 operands of fdivp instruction.
68824
68825 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
68826
68827 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
68828 * elf/tst-auditmod3b.c: Likewise.
68829 * elf/tst-auditmod4b.c: Likewise.
68830 * elf/tst-auditmod5b.c: Likewise.
68831 * elf/tst-auditmod6b.c: Likewise.
68832 * elf/tst-auditmod6c.c: Likewise.
68833 * elf/tst-auditmod7b.c: Likewise.
68834 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
68835 * sysdeps/x86_64/preconfigure.in: Likewise.
68836 * sysdeps/x86_64/preconfigure: Regenerated.
68837
68838 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
68839
68840 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
68841 __ILP32__.
68842
68843 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
68844
68845 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
68846 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
68847
68848 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
68849
68850 [BZ #13973]
68851 * locale/iso-639.def: Fix gl language name. Spotted by
68852 Yaron Shahrabani.
68853
68854 2012-04-12 Roland McGrath <roland@hack.frob.com>
68855
68856 [BZ #2074]
68857 * libio/libio.h (__io_write_fn): Update comment.
68858
68859 2012-04-12 Petr Baudis <pasky@ucw.cz>
68860
68861 [BZ #2074]
68862 * stdio.texi (Hook Functions): The user provided writer function
68863 is not allowed to return -1.
68864
68865 2012-04-11 David S. Miller <davem@davemloft.net>
68866
68867 * sysdeps/sparc/fpu/libm-test-ulps: Update.
68868
68869 2012-04-11 Mike Frysinger <vapier@gentoo.org>
68870
68871 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
68872 Add a leading slash to rtkaio.
68873
68874 2012-04-11 Jim Meyering <meyering@redhat.com>
68875
68876 [BZ #11959]
68877 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
68878 It is not necessarily an error to ignore fwrite's return
68879 value. One can reliably use ferror to test for errors after
68880 the fact.
68881
68882 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
68883
68884 * bits/types.h (__snseconds_t): New type.
68885 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
68886
68887 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
68888 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
68889 (__SNSECONDS_T_TYPE): Likewise.
68890 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
68891 (__SNSECONDS_T_TYPE): Likewise.
68892 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
68893 (__SNSECONDS_T_TYPE): Likewise.
68894
68895 2012-04-10 Andreas Jaeger <aj@suse.de>
68896
68897 [BZ #2636]
68898 * manual/time.texi (Processor Time): Return type of times is
68899 elapsed real time since an arbitrary point in the past.
68900 (CPU Time): Move CLK_TCK from here...
68901 (Processor Time): ...to here. Correct description.
68902 * manual/conf.texi (Constants for Sysconf): Correct description of
68903 _SC_CLK_TCK.
68904
68905 2012-04-10 David S. Miller <davem@davemloft.net>
68906
68907 [BZ #13967]
68908 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
68909 where the is a gap between DT_REL(A) and DT_JMPREL.
68910
68911 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
68912
68913 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
68914 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
68915 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
68916
68917 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
68918
68919 * elf/dl-support.c (_dl_inhibit_cache): New variable.
68920 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
68921 (dl_main): Handle --inhibit-cache.
68922 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
68923 _dl_inhibit_cache.
68924 * elf/dl-load.c (_dl_map_object): Use it.
68925 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
68926
68927 2012-04-09 Joseph Myers <joseph@codesourcery.com>
68928
68929 [BZ #13872]
68930 * sysdeps/i386/fpu/e_powl.S (p78): New object.
68931 (__ieee754_powl): Saturate large exponents rather than testing for
68932 overflow of y*log2(x).
68933 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
68934 * math/libm-test.inc (pow_test): Do not permit spurious overflow
68935 exceptions.
68936
68937 [BZ #11521]
68938 * math/s_ctan.c: Include <float.h>.
68939 (__ctan): Avoid internal overflow or cancellation in calculating
68940 denominator.
68941 * math/s_ctanf.c: Likewise.
68942 * math/s_ctanl.c: Likewise.
68943 * math/s_ctanh.c: Likewise.
68944 * math/s_ctanhf.c: Likewise.
68945 * math/s_ctanhl.c: Likewise.
68946 * math/libm-test.inc (ctan_test): Add more tests.
68947 (ctanh_test): Likewise.
68948 * sysdeps/i386/fpu/libm-test-ulps: Update.
68949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68950
68951 2012-04-09 Andreas Jaeger <aj@suse.de>
68952
68953 [BZ #6894]
68954 * manual/filesys.texi (Directory Entries): Mention that d_namlen
68955 is an optional BSD extension.
68956
68957 [BZ #10254]
68958 * manual/stdio.texi (Opening Streams): Document additional fopen
68959 parameters.
68960
68961 2012-04-09 Roland McGrath <roland@hack.frob.com>
68962
68963 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
68964 %eax without telling the compiler.
68965
68966 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
68967
68968 [BZ # 13963]
68969 * manual/install.texi: Use sourceware.org.
68970
68971 2012-04-09 Joseph Myers <joseph@codesourcery.com>
68972
68973 [BZ #13873]
68974 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
68975 (__ieee754_pow): Generate overflow and underflow using huge*huge
68976 and tiny*tiny rather than just returning constant infinity or zero
68977 for large exponents.
68978 * math/libm-test.inc (pow_test): Require overflow exceptions for
68979 applicable cases of large exponents.
68980
68981 [BZ #706]
68982 * sysdeps/i386/fpu/e_pow.S (p10): New object.
68983 (__ieee754_pow): Use iterative multiplication algorithm only for
68984 integer exponents with absolute value below 1024. Check for odd
68985 integer exponents when using algorithm for real exponents.
68986 * math/libm-test.inc (pow_test): Add more tests.
68987 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68988
68989 2012-04-08 Joseph Myers <joseph@codesourcery.com>
68990
68991 [BZ #13705]
68992 * math/libm-test.inc (exp_test): Do not allow overflow exception
68993 on underflow test.
68994
68995 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
68996
68997 [BZ #13705]
68998 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
68999 instead of __kernel_standard_f.
69000
69001 2012-04-08 Mike Frysinger <vapier@gentoo.org>
69002
69003 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
69004 * sysdeps/x86_64/memset_chk.S: Likewise.
69005
69006 2012-04-08 Andreas Jaeger <aj@suse.de>
69007
69008 [BZ #10153]
69009 * manual/startup.texi (Environment Access): Describe return value
69010 for putenv and setenv.
69011
69012 [BZ #6895]
69013 * manual/filesys.texi (Directory Entries): Add description for
69014 DT_LNK.
69015
69016 [BZ #6890]
69017 * manual/filesys.texi (Directory Entries): Clarify that it's file
69018 system not operating system in the description of DT_UNKNOWN.
69019
69020 [BZ #6578]
69021 * manual/syslog.texi (closelog): Fix reference, it's openlog.
69022
69023 2012-04-08 Stephen Compall <s11@member.fsf.org>
69024
69025 [BZ #6649]
69026 * manual/llio.texi (Opening and Closing Files): Add cross
69027 reference to explain mode argument.
69028
69029 2012-04-07 Mike Frysinger <vapier@gentoo.org>
69030
69031 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
69032 * sysdeps/x86_64/memset_chk.S: Likewise.
69033
69034 2012-04-07 David S. Miller <davem@davemloft.net>
69035
69036 * elf/elf.h (R_SPARC_WDISP10): Define.
69037 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
69038 R_SPARC_SIZE32.
69039 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
69040 R_SPARC_SIZE64 and R_SPARC_H34.
69041
69042 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
69043
69044 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
69045 conditions and remove no longer applicable assertion.
69046
69047 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
69048
69049 * bits/byteswap.h: Include <features.h>.
69050 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
69051 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
69052
69053 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
69054
69055 * bits/byteswap.h (__bswap_16): Removed.
69056 Include <bits/byteswap-16.h> to get __bswap_16.
69057 * sysdeps/i386/bits/byteswap.h: Likewise.
69058 * sysdeps/s390/bits/byteswap.h: Likewise.
69059 * sysdeps/x86_64/bits/byteswap.h: Likewise.
69060 * bits/byteswap-16.h: New file.
69061 * sysdeps/i386/bits/byteswap-16.h: Likewise.
69062 * sysdeps/s390/bits/byteswap-16.h: Likewise.
69063 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
69064 * string/Makefile (headers): Add bits/byteswap-16.h.
69065
69066 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
69067
69068 [BZ #13895]
69069 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
69070 extra indirection.
69071 * nss/Makefile (tests-static, tests): Add tst-nss-static.
69072 * nss/tst-nss-static.c: New.
69073
69074 2012-04-06 Robert Millan <rmh@gnu.org>
69075
69076 [BZ #6486]
69077 * manual/llio.texi (File Position Primitive): lseek
69078 refers to WHENCE when it really means OFFSET.
69079
69080 2012-04-06 Andreas Jaeger <aj@suse.de>
69081
69082 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
69083 strncmp declarations.
69084
69085 * abilist/libc.abilist: Add __poll and __ppoll.
69086
69087 2012-04-05 David S. Miller <davem@davemloft.net>
69088
69089 * scripts/check-local-headers.sh: Accept a host triplet in the
69090 path matched by the exclude regexp.
69091
69092 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
69093 definition.
69094 * sysdeps/powerpc/powerpc32/dl-machine.h
69095 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
69096 * sysdeps/s390/s390-32/dl-machine.h
69097 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
69098 * sysdeps/sparc/sparc32/dl-machine.h
69099 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
69100 * sysdeps/sparc/sparc64/dl-machine.h
69101 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
69102
69103 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
69104 lazy binding.
69105 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
69106 undefined symbol errors.
69107
69108 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
69109 DT_NEEDED entries.
69110
69111 2012-04-05 Michael Matz <matz@suse.de>
69112
69113 [BZ #13592]
69114 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
69115
69116 2012-04-05 Andreas Jaeger <aj@suse.de>
69117
69118 [BZ #13908]
69119 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
69120 comment.
69121
69122 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
69123
69124 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
69125 which ROUND is no valid rounding mode.
69126
69127 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
69128
69129 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
69130 read again.
69131 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
69132
69133 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
69134
69135 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
69136 an exception using FPU order intentionally.
69137
69138 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
69139
69140 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
69141 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
69142 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
69143 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
69144
69145 2012-04-05 Simon Josefsson <simon@josefsson.org>
69146
69147 [BZ #12340]
69148 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
69149 EINVAL when BUFLEN is too smal.
69150
69151 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
69152
69153 [BZ #13553]
69154 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
69155 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
69156
69157 2012-04-03 Andreas Jaeger <aj@suse.de>
69158
69159 [BZ #13938]
69160 * manual/setjmp.texi (System V contexts): Fix sentence.
69161
69162 [BZ #13926]
69163 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
69164 New macro for this case.
69165 [!__GNUC__] (__bswap_64): New inline function for this case.
69166 * sysdeps/x86_64/bits/byteswap.h: Likewise.
69167 * bits/byteswap.h: Likewise.
69168 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
69169 ull, guard with __GLIBC_HAVE_LONG_LONG.
69170
69171 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
69172 __GLIBC_HAVE_LONG_LONG.
69173
69174 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
69175 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
69176
69177 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
69178
69179 [BZ #13691]
69180 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
69181 inptr and inend, rather than using last_ch.
69182
69183 2012-04-02 David S. Miller <davem@davemloft.net>
69184
69185 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
69186 * stdio-common/printf-parse.h (read_int): Change return type to
69187 'int', return -1 on INT_MAX overflow.
69188 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
69189 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
69190 overflows INT_MAX. Check for overflow of in-format-string precision
69191 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
69192 SIZE_MAX not INT_MAX for integer overflow test.
69193 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
69194 skip the construct in the format string but do not record anything.
69195 * stdio-common/bug22.c: Adjust to test both width/prevision
69196 INT_MAX overflow as well as total length INT_MAX overflow. Check
69197 explicitly for proper errno values.
69198
69199 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
69200
69201 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
69202 CHAR_MAX.
69203 * string/test-strcmp.c [! WIDE]: Likewise.
69204 * time/tst-mktime2.c: Likewise for INT_MAX.
69205 * string/test-string.h: #include <sys/param.h> for MIN.
69206
69207 * csu/init-first.c (__libc_init_first): Call __ctype_init.
69208 * sysdeps/i386/init-first.c (init): Likewise.
69209 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
69210 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
69211 * sysdeps/sh/init-first.c (init): Likewise.
69212
69213 2012-04-01 Ulrich Drepper <drepper@gmail.com>
69214
69215 * po/ru.po: Update from translation team.
69216 * po/vi.po: Likewise.
69217
69218 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
69219
69220 * resolv/nss_dns/dns-host.c: Merge copyright years.
69221
69222 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
69223
69224 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
69225 Optimize memcpy with prefetch if
69226 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
69227 src, dst pointers have unequal 16 byte alignments.
69228
69229 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
69230
69231 [BZ #13928]
69232 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
69233 from a CNAME entry and return the minimum ttl for the query.
69234 (gaih_getanswer_slice): Likewise.
69235
69236 2012-03-30 Jeff Law <law@redhat.com>
69237
69238 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
69239 due to long keys.
69240 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
69241 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
69242
69243 * resolv/nss_dns/dns-host.c: Update copyright year.
69244
69245 2012-03-30 Ulrich Drepper <drepper@gmail.com>
69246
69247 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
69248 requests to save a system call. Fix check that all bytes are sent.
69249
69250 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
69251 comments for sendmmsg.
69252
69253 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
69254
69255 [BZ #13691]
69256 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
69257 with only 1 character between 0x0041 and 0x01b0.
69258 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
69259 * wcsmbs/tst-mbsnrtowcs.c: New file.
69260
69261 2012-03-29 David S. Miller <davem@davemloft.net>
69262
69263 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
69264 small copies by hand.
69265
69266 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
69267
69268 [BZ #13761]
69269 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
69270 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
69271 group memberships.
69272
69273 2012-03-28 David S. Miller <davem@davemloft.net>
69274
69275 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
69276 that branches into memcpy.
69277 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
69278 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
69279 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
69280 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
69281 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
69282 bits.
69283 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
69284 implementation too.
69285 * sysdeps/sparc/mempcpy.S: New file.
69286
69287 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
69288 the IFUNC routine in the libc case.
69289 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
69290
69291 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
69292 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
69293 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
69294 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
69295 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
69296 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
69297 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
69298 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
69299
69300 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
69301 loop to 256 bytes instead of 64 bytes and fix test signedness.
69302
69303 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
69304 * sysdeps/sparc/sparc32/Makefile: rather than here...
69305 * sysdeps/sparc/sparc64/Makefile: and here.
69306
69307 2012-03-28 Ulrich Drepper <drepper@gmail.com>
69308
69309 * malloc/mallocbug.c: Avoid warnings about unused variables.
69310
69311 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
69312
69313 [BZ #13760]
69314 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
69315 in the right place. Discard and retry query if response is
69316 larger than input buffer size.
69317
69318 2012-03-28 Joseph Myers <joseph@codesourcery.com>
69319
69320 [BZ #369]
69321 [BZ #2678]
69322 [BZ #3866]
69323 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
69324 x for large integer exponent.
69325 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
69326 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
69327 sign of result as needed afterwards.
69328 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
69329 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
69330 result for underflowing pow the same as for overflow.
69331 (__kernel_standard_l): Handle powl overflow and underflow here
69332 rather than calling __kernel_standard.
69333 * math/libm-test.inc (pow_test): Add more tests.
69334
69335 [BZ #3868]
69336 [BZ #13879]
69337 [BZ #13910]
69338 [BZ #13911]
69339 [BZ #13912]
69340 [BZ #13913]
69341 [BZ #13915]
69342 [BZ #13916]
69343 [BZ #13917]
69344 [BZ #13918]
69345 [BZ #13919]
69346 [BZ #13920]
69347 [BZ #13921]
69348 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
69349 * sysdeps/ieee754/k_standard.c: Include <float.h>.
69350 (__kernel_standard_l): New function.
69351 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
69352 __kernel_standard.
69353 * math/w_acosl.c (__acosl): Likewise.
69354 * math/w_asinl.c (__asinl): Likewise.
69355 * math/w_atan2l.c (__atan2l): Likewise.
69356 * math/w_atanhl.c (__atanhl): Likewise.
69357 * math/w_coshl.c (__coshl): Likewise.
69358 * math/w_exp10l.c (__exp10l): Likewise.
69359 * math/w_exp2l.c (__exp2l): Likewise.
69360 * math/w_fmodl.c (__fmodl): Likewise.
69361 * math/w_hypotl.c (__hypotl): Likewise.
69362 * math/w_j0l.c (__j0l, __y0l): Likewise.
69363 * math/w_j1l.c (__j1l, __y1l): Likewise.
69364 * math/w_jnl.c (__jnl, __ynl): Likewise.
69365 * math/w_lgammal.c (__lgammal): Likewise.
69366 * math/w_log10l.c (__log10l): Likewise.
69367 * math/w_log2l.c (__log2l): Likewise.
69368 * math/w_logl.c (__logl): Likewise.
69369 * math/w_powl.c (__powl): Likewise.
69370 * math/w_remainderl.c (__remainderl): Likewise.
69371 * math/w_scalbl.c (sysv_scalbl): Likewise.
69372 * math/w_sinhl.c (__sinhl): Likewise.
69373 * math/w_sqrtl.c (__sqrtl): Likewise.
69374 * math/w_tgammal.c (__tgammal): Likewise.
69375 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
69376 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
69377 * math/libm-test.inc (acos_test): Add more tests.
69378 (acosh_test): Likewise.
69379 (asin_test): Likewise.
69380 (atanh_test): Likewise.
69381 (exp_test): Likewise.
69382 (exp10_test): Likewise.
69383 (exp2_test): Likewise.
69384 (expm1_test): Likewise.
69385 (lgamma_test): Likewise.
69386 (log_test): Likewise.
69387 (log10_test): Likewise.
69388 (log1p_test): Likewise.
69389 (log2_test): Likewise.
69390 (pow_test): Do not allow some spurious overflow exceptions.
69391 (sqrt_test): Add more tests.
69392 (tgamma_test): Likewise.
69393 (y0_test): Likewise.
69394 (y1_test): Likewise.
69395 (yn_test): Likewise.
69396
69397 2012-03-27 Anton Blanchard <anton@samba.org>
69398
69399 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
69400 MAP_HUGETLB.
69401 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
69402 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
69403 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
69404
69405 2012-03-27 David S. Miller <davem@davemloft.net>
69406
69407 * conform/Makefile: Run run-conformtest.sh using $(BASH).
69408
69409 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
69410 have-as-vis3 check.
69411
69412 2012-03-27 Andreas Jaeger <aj@suse.de>
69413
69414 * sysdeps/x86_64/elf/configure.in: Moved to ...
69415 * sysdeps/x86_64/configure.in: ... here.
69416 * sysdeps/x86_64/elf/start.S: Moved to ...
69417 * sysdeps/x86_64/start.S: ... here.
69418 * sysdeps/x86_64/elf/configure: Delete.
69419
69420 * sysdeps/x86_64/configure.in: Merge contents from
69421 sysdeps/i386/configure.in (without i686 check).
69422
69423 * sysdeps/i386/elf/Versions: Merge into ...
69424 * sysdeps/i386/Versions: ... this.
69425 * sysdeps/i386/elf/Versions: Delete file.
69426 * sysdeps/i386/elf/start.S: Moved to ...
69427 * sysdeps/i386/start.S: ...here.
69428 * sysdeps/i386/elf/configure.in: Merge into...
69429 * sysdeps/i386/configure.in: ...here.
69430 * sysdeps/i386/elf/configure.in: Delete file.
69431 * sysdeps/i386/elf/configure: Delete file.
69432
69433 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
69434 * debug/backtracesyms.c: ... here.
69435 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
69436 * debug/backtracesymsfd.c: ... here.
69437 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
69438 * sysdeps/generic/ifunc-sel.h: ... here.
69439
69440 * sysdeps/unix/i386/start.c: Delete file.
69441 * sysdeps/unix/sparc/start.c: Delete file.
69442 * sysdeps/unix/start.c: Delete file.
69443
69444 * sysdeps/sh/elf/configure.in: Moved to ...
69445 * sysdeps/sh/configure.in: ... here.
69446 * sysdeps/sh/elf/start.S: Moved to ...
69447 * sysdeps/sh/start.S: ... here.
69448 * sysdeps/sh/elf/configure: Delete file.
69449
69450 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
69451 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
69452 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
69453 * sysdeps/powerpc/powerpc64/entry.h: ... here.
69454 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
69455 * sysdeps/powerpc/powerpc64/start.S: here.
69456 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
69457 * sysdeps/powerpc/powerpc64/Makefile: ... this.
69458 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
69459 * sysdeps/powerpc/powerpc64/configure.in: ... this.
69460 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
69461
69462 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
69463 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
69464 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
69465 * sysdeps/powerpc/powerpc32/start.S: ... here.
69466 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
69467 * sysdeps/powerpc/powerpc32/configure.in: ... this.
69468 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
69469
69470 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
69471 * sysdeps/powerpc/ifunc-sel.h: ... here.
69472 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
69473 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
69474
69475 * sysdeps/sparc/elf/configure.in: Moved to ...
69476 * sysdeps/sparc/configure.in: ... here.
69477 * sysdeps/sparc/elf/configure: Delete file.
69478 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
69479 * sysdeps/sparc/sparc32/start.S: ... here.
69480 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
69481 * sysdeps/sparc/sparc64/start.S: ... here.
69482 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
69483 * sysdeps/sparc/sparc32/Makefile: ... this.
69484 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
69485 * sysdeps/sparc/sparc64/Makefile: ... this.
69486
69487 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
69488 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
69489 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
69490 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
69491 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
69492 * sysdeps/s390/s390-32/setjmp.S: ... here.
69493 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
69494 * sysdeps/s390/s390-32/configure.in: ... here.
69495 * sysdeps/s390/s390-32/elf/configure: Delete file.
69496 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
69497 * sysdeps/s390/s390-32/start.S: ... here.
69498
69499 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
69500 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
69501 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
69502 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
69503 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
69504 * sysdeps/s390/s390-64/setjmp.S: ... here.
69505 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
69506 * sysdeps/s390/s390-64/configure.in: ... here
69507 * sysdeps/s390/s390-64/elf/configure: Delete file.
69508 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
69509 * sysdeps/s390/s390-64/start.S: ... here.
69510 * sysdeps/s390/s390-64/elf/configure: Delete.
69511
69512 * configure.in: Remove support for elf directories in sysdeps.
69513
69514 * configure: Regenerated.
69515 * sysdeps/i386/configure: Regenerated.
69516 * sysdeps/powerpc/powerpc32/configure: Regenerated.
69517 * sysdeps/powerpc/powerpc64/configure: Regenerated.
69518 * sysdeps/s390/s390-32/configure: Regenerated.
69519 * sysdeps/s390/s390-64/configure: Regenerated.
69520 * sysdeps/sh/configure: Regenerated.
69521 * sysdeps/sparc/configure: Regenerated.
69522 * sysdeps/x86_64/configure: Regenerated.
69523
69524 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
69525
69526 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69527
69528 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
69529 denormal result into account.
69530
69531 2012-03-25 Roland McGrath <roland@hack.frob.com>
69532
69533 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
69534 Reported by Allan McRae <allan@archlinux.org>.
69535
69536 2012-03-23 Jeff Law <law@redhat.com>
69537
69538 * nss/getnssent.c (__nss_getent): Fix typo.
69539
69540 2012-03-23 David S. Miller <davem@davemloft.net>
69541
69542 * sysdeps/sparc/fpu/libm-test-ulps: Update.
69543
69544 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
69545
69546 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
69547 to pad to uint64_t for each field.
69548 (dl_tls_index): Replace unsigned long with uint64_t.
69549
69550 2012-03-23 Daniel Jacobowitz <dmj@google.com>
69551 Paul Pluzhnikov <ppluzhnikov@google.com>
69552
69553 [BZ #6528]
69554 * grp/Makefile (otherlibs): Don't set it.
69555 * inet/Makefile (otherlibs): Likewise.
69556 * login/Makefile (otherlibs): Likewise.
69557 * nscd/Makefile (otherlibs): Likewise.
69558 * posix/Makefile (otherlibs): Likewise.
69559 * pwd/Makefile (otherlibs): Likewise.
69560 * rt/Makefile (otherlibs): Likewise.
69561 * sunrpc/Makefile (otherlibs): Likewise.
69562 * nss/Makefile (otherlibs): Likewise.
69563 Add libnss_files to routines and static-only-routines.
69564 ($(objpfx)getent): Remove rule.
69565 * resolv/Makefile: Add libnss_dns and libresolv to routines and
69566 static-only-routines.
69567
69568 2012-03-22 Joseph Myers <joseph@codesourcery.com>
69569
69570 [BZ #13892]
69571 * math/s_cexp.c: Include <float.h>.
69572 (__cexp): Handle exp result overflowing not necessarily
69573 overflowing both real and imaginary parts of result.
69574 * math/s_cexpf.c: Likewise.
69575 * math/s_cexpl.c: Likewise.
69576 * math/libm-test.inc (cexp_test): Add more tests.
69577 * sysdeps/i386/fpu/libm-test-ulps: Update.
69578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69579
69580 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
69581
69582 * include/link.h (ELFW): New macro.
69583 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
69584 Replace ELF64_R_TYPE with ELFW(R_TYPE).
69585
69586 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
69587
69588 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
69589 with uint64_t.
69590
69591 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
69592
69593 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
69594 declaration.
69595 (struct La_x32_retval): Likewise.
69596
69597 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
69598
69599 * sysdeps/x86_64/preconfigure.in: New file.
69600 * sysdeps/x86_64/preconfigure: New generated file.
69601
69602 2012-03-22 Joseph Myers <joseph@codesourcery.com>
69603
69604 [BZ #13824]
69605 * math/e_exp2l.c: Include <float.h>.
69606 (__ieee754_exp2l): Handle overflow and underflow cases
69607 separately. Only pass fractional part of argument to
69608 __ieee754_expl.
69609 * math/libm-test.inc (exp2_test): Add more tests.
69610
69611 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
69612 negating x to take absolute value.
69613 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
69614 Likewise.
69615 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
69616 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
69617 Likewise.
69618 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
69619 computing low part if x was negated.
69620 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
69621
69622 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
69623
69624 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
69625 la_x32_gnu_pltexit.
69626 (pltexit): Cast int_retval to ptrdiff_t.
69627 * elf/tst-auditmod3b.c: Likewise.
69628 * elf/tst-auditmod4b.c: Likewise.
69629 * elf/tst-auditmod5b.c: Likewise.
69630 * elf/tst-auditmod6b.c: Likewise.
69631 * elf/tst-auditmod6c.c: Likewise.
69632 * elf/tst-auditmod7b.c: Likewise.
69633
69634 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
69635 and x32_gnu_pltexit.
69636
69637 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
69638 __ELF_NATIVE_CLASS.
69639 (La_x32_regs): New macro.
69640 (La_x32_retval): Likewise.
69641 (la_x32_gnu_pltenter): New function prototype.
69642 (la_x32_gnu_pltexit): Likewise.
69643
69644 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
69645
69646 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
69647 exponent.
69648
69649 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69650
69651 * configure.in (libc_cv_cc_nofma): Check for option to disable
69652 generation of FMA instructions.
69653 * configure: Regenerate.
69654 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
69655 * sysdeps/ieee754/dbl-64/Makefile: New file.
69656 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
69657 Remove brandred-fma4.
69658 (CFLAGS-brandred-fma4.c): Remove.
69659 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
69660 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
69661 define.
69662 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
69663 define.
69664
69665 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
69666
69667 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
69668 LLONG_MAX != LONG_MAX.
69669 (_itoa_word): Use _ITOA_WORD_TYPE on value.
69670 (_fitoa_word): Likewise.
69671 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
69672 LLONG_MAX != LONG_MAX.
69673 * stdio-common/_itowa.h: Include <_itoa.h>.
69674 (_itowa_word): Use _ITOA_WORD_TYPE on value.
69675 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
69676 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
69677 only if not defined.
69678 (_ITOA_WORD_TYPE): Likewise.
69679 (_itoa_word): Use _ITOA_WORD_TYPE on value.
69680 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
69681
69682 2012-03-21 David S. Miller <davem@davemloft.net>
69683
69684 * sysdeps/sparc/fpu/libm-test-ulps: Update.
69685
69686 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
69687
69688 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
69689 of x86_64 when setting libc_cv_slibdir, libdir and
69690 libc_cv_localedir.
69691 * sysdeps/unix/sysv/linux/configure: Regenerated.
69692
69693 2012-03-21 Joseph Myers <joseph@codesourcery.com>
69694
69695 * manual/lang.texi (Old Varargs): Remove section.
69696 (How Variadic): Update menu.
69697 (va_start): Do not mention varargs.h.
69698
69699 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
69700 Joseph Myers <joseph@codesourcery.com>
69701
69702 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
69703 link test.
69704 * configure: Regenerated.
69705
69706 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
69707
69708 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
69709 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
69710 conformtest.pl
69711
69712 2012-03-21 Joseph Myers <joseph@codesourcery.com>
69713
69714 * NOTES: Remove.
69715 * Makefile (files-for-dist): Remove NOTES.
69716 (NOTES): Remove rule.
69717 * README: Don't refer to NOTES.
69718 * manual/creature.texi: Don't include macros.texi.
69719 * manual/intro.texi (creature.texi): Remove comment referring to
69720 NOTES.
69721
69722 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
69723 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
69724 * configure: Regenerated.
69725 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
69726 LIBC_TRY_CC_OPTION.
69727 (libc_cv_as_i686): Likewise.
69728 (libc_cv_cc_avx): Likewise.
69729 (libc_cv_cc_sse2avx): Likewise.
69730 (libc_cv_cc_fma4): Likewise.
69731 (libc_cv_cc_novzeroupper): Likewise.
69732 * sysdeps/i386/configure: Regenerated.
69733
69734 [BZ #13883]
69735 * sysdeps/i386/fpu/s_cexp.S: Remove.
69736 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
69737 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
69738 * math/libm-test.inc (cexp_test): Add more tests.
69739 * sysdeps/i386/fpu/libm-test-ulps: Update.
69740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69741
69742 2012-03-21 Allan McRae <allan@archlinux.org>
69743
69744 * timezone/Makefile: Do not install iso3166.tab and zone.tab
69745
69746 2012-03-21 Joseph Myers <joseph@codesourcery.com>
69747
69748 [BZ #13871]
69749 * math/w_exp2.c: Do not include <float.h>.
69750 (o_threshold, u_threshold): Remove.
69751 (__exp2): Calculate result before checking finiteness and calling
69752 __kernel_standard.
69753 * math/w_exp2f.c: Likewise.
69754 * math/w_exp2l.c: Likewise.
69755 * math/libm-test.inc (exp2_test): Require overflow exception for
69756 1e6 input.
69757
69758 [BZ #3866]
69759 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
69760 range of signed 64-bit integers before using fistpll. Remove
69761 checks for whether integers fit in mantissa bits.
69762 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
69763 the range of signed 32-bit integers before using fistpl. Remove
69764 checks for whether integers fit in mantissa bits.
69765 * sysdeps/i386/fpu/e_powl.S (p64): New object.
69766 (__ieee754_powl): Test for y outside the range of signed 64-bit
69767 integers before using fistpll. Reduce 64-bit values to 63-bit
69768 ones as needed.
69769 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
69770 divide-by-zero is raised for zero to large negative powers.
69771 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
69772 (__ieee754_powl): Test for y outside the range of signed 64-bit
69773 integers before using fistpll. Reduce 64-bit values to 63-bit
69774 ones as needed.
69775 * math/libm-test.inc (pow_test): Add more tests.
69776
69777 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
69778
69779 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
69780 <stdio-common/_itoa.h>.
69781 * debug/segfault.c: Likewise.
69782 * elf/dl-cache.c: Likewise.
69783 * elf/dl-minimal.c: Likewise.
69784 * elf/dl-misc.c: Likewise.
69785 * elf/dl-sysdep.c: Likewise.
69786 * elf/dl-version.c: Likewise.
69787 * elf/rtld.c: Likewise.
69788 * hurd/hurdsock.c: Likewise.
69789 * hurd/lookup-retry.c: Likewise.
69790 * malloc/malloc.c: Likewise.
69791 * malloc/mtrace.c: Likewise.
69792 * nscd/nscd_getgr_r.c: Likewise.
69793 * nscd/nscd_getpw_r.c: Likewise.
69794 * nscd/nscd_getserv_r.c: Likewise.
69795 * posix/getopt_init.c: Likewise.
69796 * posix/wordexp.c: Likewise.
69797 * stdio-common/_itoa.c: Likewise.
69798 * stdio-common/printf_fphex.c: Likewise.
69799 * stdio-common/vfprintf.c: Likewise.
69800 * string/_strerror.c: Likewise.
69801 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
69802 * sysdeps/i386/i686/hp-timing.h: Likewise.
69803 * sysdeps/mach/_strerror.c: Likewise.
69804 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
69805 * sysdeps/mach/hurd/sethostid.c: Likewise.
69806 * sysdeps/mach/hurd/xmknodat.c: Likewise.
69807 * sysdeps/mach/xpg-strerror.c: Likewise.
69808 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
69809 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
69810 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
69811 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
69812 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
69813 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
69814 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
69815 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
69816 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
69817 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
69818 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
69819 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
69820 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
69821 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
69822 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
69823 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
69824 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
69825 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
69826 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
69827 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
69828 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
69829
69830 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
69831
69832 * stdio-common/_itoa.h: Moved to ...
69833 * sysdeps/generic/_itoa.h: Here.
69834
69835 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
69836
69837 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
69838 instead of "_itoa.h" and "_itowa.h".
69839 * stdio-common/vfprintf.: Likewise.
69840
69841 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
69842
69843 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
69844 <bits/wordsize.h>.
69845 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
69846 (__signbit): Likwise.
69847 (llrintf): Likwise.
69848 (llrint): Likwise.
69849
69850 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
69851
69852 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
69853 __WORDSIZE != 64.
69854
69855 2012-03-20 Joseph Myers <joseph@codesourcery.com>
69856
69857 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
69858 OVERFLOW_EXCEPTION_OK.
69859 * math/libm-test.inc ("Philosophy"): Update comment about
69860 exception testing.
69861 (OVERFLOW_EXCEPTION): Define.
69862 (OVERFLOW_EXCEPTION_OK): Likewise.
69863 (INVALID_EXCEPTION_OK): Renumber.
69864 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
69865 (IGNORE_ZERO_INF_SIGN): Likewise.
69866 (test_exceptions): Handle FE_OVERFLOW.
69867 (exp10_test): Expect overflow exceptions.
69868 (exp2_test): Likewise.
69869 (expm1_test): Likewise.
69870 (nextafter_test): Likewise.
69871 (pow_test): Likewise.
69872 (scalbn_test): Likewise.
69873 (scalbln_test): Likewise.
69874
69875 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
69876
69877 * sysdeps/x86_64/bits/atomic.h
69878 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
69879 64bit integer.
69880 (atomic_exchange_acq): Likewise.
69881 (__arch_exchange_and_add_body): Likewise.
69882 (__arch_add_body): Likewise.
69883 (atomic_add_negative): Likewise.
69884 (atomic_add_zero): Likewise.
69885
69886 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
69887
69888 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
69889 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
69890
69891 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
69892
69893 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
69894 Check __x86_64__ instead of __WORDSIZE.
69895
69896 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
69897
69898 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
69899
69900 2012-03-19 David S. Miller <davem@davemloft.net>
69901
69902 * sysdeps/sparc/fpu/libm-test-ulps: Update.
69903
69904 * sysdeps/sparc/fpu/fenv_private.h: New file.
69905 * sysdeps/sparc/fpu/math_private.h: Use it.
69906 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
69907 Remove.
69908 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
69909 (libc_feholdexcept_setroundl): Remove.
69910 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
69911 Remove.
69912 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
69913 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
69914
69915 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
69916
69917 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
69918 int64_t instead of long int.
69919 (INSERT_WORDS64): Likwise.
69920
69921 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
69922
69923 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
69924 _Unwind_GetCFA return to _Unwind_Ptr first.
69925
69926 2012-03-19 Joseph Myers <joseph@codesourcery.com>
69927
69928 [BZ #13629]
69929 * math/s_clog.c: Include <float.h>.
69930 (__clog): Scale large or subnormal inputs.
69931 * math/s_clogf.c: Likewise.
69932 * math/s_clogl.c: Likewise.
69933 * math/s_clog10.c: Include <float.h>.
69934 (M_LOG10_2): Define.
69935 (__clog10): Scale large or subnormal inputs.
69936 * math/s_clog10f.c: Likewise.
69937 * math/s_clog10l.c: Likewise.
69938 * math/libm-test.inc (clog_test): Add more tests.
69939 (clog10_test): Likewise.
69940 * sysdeps/i386/fpu/libm-test-ulps: Update.
69941 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69942
69943 [BZ #11451]
69944 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
69945 x and y.
69946 * math/libm-test.inc (atan2_test): Add another test.
69947
69948 * Makerules (common-objdir-compile): Remove.
69949 * sysdeps/unix/Makefile (config-generated): Do not add
69950 $(unix-generated) to variable.
69951 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
69952 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
69953 Remove rule.
69954 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
69955 Likewise.
69956 [generic bits/local_lim.h] (before-compile): Do not append to
69957 variable.
69958 [generic bits/local_lim.h] (common-generated): Likewise.
69959 [generic sys/param.h] (before-compile): Do not append to variable.
69960 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
69961 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
69962 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
69963 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
69964 include.
69965 [generic sys/param.h] (sys/param.h-includes): Remove variable.
69966 [generic sys/param.h] (sys/param.h-includes): Remove rule.
69967 [generic sys/param.h] ($(addprefix
69968 $(common-objpfx),$(sys/param.h-includes))): Likewise.
69969 [generic sys/param.h] (common-generated): Do not append to
69970 variable.
69971 [generic sys/param.h] (sysdep_headers): Likewise.
69972 [generic bits/errno.h] (before-compile): Do not append to
69973 variable.
69974 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
69975 rule.
69976 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
69977 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
69978 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
69979 [generic bits/errno.h] (common-generated): Do not append to
69980 variable.
69981 [generic bits/ioctls.h] (before-compile): Do not append to
69982 variable.
69983 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
69984 rule.
69985 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
69986 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
69987 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
69988 rule.
69989 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
69990 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
69991 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
69992 [generic bits/ioctls.h] (common-generated): Do not append to
69993 variable.
69994 [generic sys/syscall.h] (syscall.h): Remove variable.
69995 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
69996 rule.
69997 [generic sys/syscall.h] (before-compile): Do not append to
69998 variable.
69999 [generic sys/syscall.h] (common-generated): Likewise.
70000 * sysdeps/unix/errnos-tmpl.c: Remove file.
70001 * sysdeps/unix/errnos.awk: Likewise.
70002 * sysdeps/unix/ioctls-tmpl.c: Likewise.
70003 * sysdeps/unix/ioctls.awk: Likewise.
70004 * sysdeps/unix/mk-local_lim.c: Likewise.
70005 * sysdeps/unix/snarf-ioctls: Likewise.
70006
70007 2012-03-19 Richard Henderson <rth@twiddle.net>
70008
70009 * sysdeps/i386/fpu/fenv_private.h: New file.
70010 * sysdeps/i386/fpu/math_private.h: Use it.
70011 (math_opt_barrier, math_force_eval): Remove.
70012 (libc_feholdexcept_setround_53bit): Remove.
70013 (libc_feupdateenv_53bit): Remove.
70014 * sysdeps/x86_64/fpu/math_private.h: Likewise.
70015 (math_opt_barrier, math_force_eval): Remove.
70016 (libc_feholdexcept): Remove.
70017 (libc_feholdexcept_setround): Remove.
70018 (libc_fetestexcept, libc_fesetenv): Remove.
70019 (libc_feupdateenv_test): Remove.
70020 (libc_feupdateenv, libc_feholdsetround): Remove.
70021 (libc_feresetround): Remove.
70022
70023 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
70024 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
70025
70026 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
70027 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
70028 (libc_feupdateenv_testl): New.
70029 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
70030 (libc_feupdateenv_testf): New.
70031 (libc_feupdateenv): Use libc_feupdateenv_test.
70032 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
70033 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
70034
70035 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
70036 (libc_feholdsetroundf, libc_feholdsetroundl): New.
70037 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
70038 (libc_feresetround_noex): New.
70039 (libc_feresetround_noexf): New.
70040 (libc_feresetround_noexl): New.
70041 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
70042 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
70043 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
70044 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
70045 SET_RESTORE_ROUND.
70046 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
70047 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
70048 (__cos): Likewise.
70049 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
70050 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
70051 SET_RESTORE_ROUND_NOEX.
70052 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
70053 SET_RESTORE_ROUND_NOEXF.
70054 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
70055 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
70056 (libc_feholdsetroundf): New.
70057 (libc_feresetround, libc_feresetroundf): New.
70058
70059 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
70060 (libc_feholdexcept_setround_53bit): Convert from macro to function.
70061 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
70062
70063 * sysdeps/generic/math_private.h: Include <fenv.h>.
70064 (default_libc_feholdexcept): New.
70065 (default_libc_feholdexcept_setround): New.
70066 (default_libc_fesetenv, default_libc_feupdateenv): New.
70067 (libc_feholdexcept): Only define if undefined.
70068 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
70069 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
70070 (libc_feholdexcept_setroundl): Likewise.
70071 (libc_feholdexcept_setround_53bit): Likewise.
70072 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
70073 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
70074 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
70075 (libc_feupdateenv_53bit): Likewise.
70076 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
70077 (libc_feholdexcept): Convert from macro to inline function.
70078 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
70079 (libc_fesetenv, libc_feupdateenv): Likewise.
70080
70081 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
70082 not previously defined.
70083 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
70084 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
70085 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
70086 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
70087 * sysdeps/ieee754/flt-32/math_private.h: New file.
70088 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
70089 math_private.h below SET_FLOAT_WORD.
70090 (__isnan, __isinf_ns, __finite): Remove.
70091 (__isnanf, __isinf_nsf, __finitef): Remove.
70092
70093 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
70094
70095 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70096
70097 2012-03-17 David S. Miller <davem@davemloft.net>
70098
70099 [BZ #6471]
70100 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
70101 for 2.16.
70102
70103 2012-03-16 David S. Miller <davem@davemloft.net>
70104
70105 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
70106 warnings.
70107
70108 [BZ #6471]
70109 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
70110 properly.
70111 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
70112 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
70113 sysdep_routines when subdir is sysvipc.
70114 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
70115 __getshmlba helper.
70116
70117 * sysdeps/sparc/fpu/libm-test/ulps: Update.
70118
70119 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
70120
70121 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
70122 [__LP64__].
70123
70124 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
70125
70126 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
70127 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
70128 (__lround): Renamed to ...
70129 (__llround): This. Replace long int with long long int.
70130 Define lround functions as aliases of llround functions.
70131 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
70132
70133 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
70134
70135 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
70136 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
70137 adresses to uintptr_t. Replace "long int" and "unsigned long
70138 int" with "greg_t" on va_arg.
70139
70140 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
70141
70142 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
70143 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
70144
70145 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
70146 Move e_machine check before EI_CLASS check. Handle x32
70147 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
70148 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
70149 SKIP_EM_IA_64 and include
70150 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
70151
70152 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
70153 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
70154 (add_system_dir): New macro.
70155
70156 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
70157 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
70158
70159 2012-03-16 Joseph Myers <joseph@codesourcery.com>
70160
70161 [BZ #2551]
70162 [BZ #2552]
70163 [BZ #2553]
70164 [BZ #2554]
70165 [BZ #2562]
70166 [BZ #2563]
70167 [BZ #2565]
70168 [BZ #2566]
70169 [BZ #2576]
70170 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
70171 (y0): Likewise.
70172 * math/w_j0f.c (j0f): Likewise.
70173 (y0f): Likewise.
70174 * math/w_j0l.c (__j0l): Likewise.
70175 (__y0l): Likewise.
70176 * math/w_j1.c (j1): Likewise.
70177 (y1): Likewise.
70178 * math/w_j1f.c (j1f): Likewise.
70179 (y1f): Likewise.
70180 * math/w_j1l.c (__j1l): Likewise.
70181 (__y1l): Likewise.
70182 * math/w_jn.c (jn): Likewise.
70183 (yn): Likewise.
70184 * math/w_jnf.c (jnf): Likewise.
70185 (ynf): Likewise.
70186 * math/w_jnl.c (__jnl): Likewise.
70187 (__ynl): Likewise.
70188 * math/libm-test.inc (j0_test): Add more tests.
70189 (j1_test): Likewise.
70190 (jn_test): Likewise. Add trailing semicolon to existing test.
70191 (y0_test): Likewise.
70192 (y1_test): Likewise.
70193 * sysdeps/i386/fpu/libm-test-ulps: Update.
70194 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70195
70196 [BZ #13851]
70197 [BZ #13854]
70198 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
70199 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
70200 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
70201 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
70202 (__tanl): Set errno for infinite argument.
70203 * sysdeps/i386/fpu/mptan.c: Remove.
70204 * sysdeps/i386/fpu/s_tan.S: Likewise.
70205 * sysdeps/i386/fpu/s_tanl.S: Likewise.
70206 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
70207 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
70208 * math/libm-test.inc (tan_test): Add more tests and enable more
70209 tests for double and long double.
70210 * sysdeps/i386/fpu/libm-test-ulps: Update.
70211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70212
70213 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
70214
70215 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
70216 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
70217
70218 2012-03-16 Roland McGrath <roland@hack.frob.com>
70219
70220 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
70221 * configure.in: Use it for both main tree and add-ons.
70222 * configure: Regenerated.
70223
70224 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
70225
70226 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
70227
70228 2012-03-16 Joseph Myers <joseph@codesourcery.com>
70229
70230 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
70231 in comment.
70232
70233 [BZ #13851]
70234 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
70235 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
70236 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
70237 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
70238 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
70239 infinite argument.
70240 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
70241 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
70242 != 0 for prec == 2.
70243 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
70244 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
70245 * sysdeps/i386/fpu/s_cosl.S: Likewise.
70246 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
70247 * sysdeps/i386/fpu/s_sinl.S: Likewise.
70248 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
70249 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
70250 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
70251 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
70252 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
70253 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
70254 * math/libm-test.inc (cos_test): Add more tests and enable more
70255 tests for long double.
70256 (sin_test): Likewise.
70257 (sincos_test): Likewise.
70258 * sysdeps/i386/fpu/libm-test-ulps: Update.
70259 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70260
70261 2012-03-16 David S. Miller <davem@davemloft.net>
70262
70263 * sysdeps/sparc/fpu/math_private.h: New file.
70264
70265 2012-03-15 David S. Miller <davem@davemloft.net>
70266
70267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
70268 file.
70269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
70270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
70271 file.
70272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
70273 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
70274 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
70275 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
70276 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
70277 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
70278 sysdep routines.
70279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
70280
70281 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
70282 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
70283
70284 * sysdeps/sparc/sparc-ifunc.h: New file.
70285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
70286 sparc-ifunc.h
70287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
70288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
70289 Likewise.
70290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
70291 Likewise.
70292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
70293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
70294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
70295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
70296 Likewise.
70297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
70298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
70299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
70300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
70301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
70302 Likewise.
70303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
70304 Likewise.
70305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
70306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
70307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
70308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
70309 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
70310 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
70311 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
70312 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
70313 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
70314 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
70315 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
70316 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
70317 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
70318 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
70319 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
70320 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
70321 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
70322 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
70323 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
70324 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
70325 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
70326 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
70327 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
70328 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
70329
70330 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
70331
70332 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
70333 scaling.
70334 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70335
70336 2012-03-15 Andreas Jaeger <aj@suse.de>
70337
70338 [BZ #13852]
70339 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
70340 ieee754/flt-32 implementation for sin, cos and sincos.
70341 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
70342 * sysdeps/i386/fpu/s_cosf.S: Likewise.
70343 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
70344 * sysdeps/i386/fpu/s_sinf.S: Likewise.
70345 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
70346 ieee754/flt-32 implementation for tan.
70347
70348 * math/libm-test.inc (cos_test): Enable some large input tests for
70349 float as well
70350 (sin_test): Likewise.
70351 (sincos_test): Likewise.
70352 (tan_test): Add tests for large input.
70353
70354 * sysdeps/i386/fpu/libm-test-ulps: Update.
70355
70356 2012-03-15 Andreas Jaeger <aj@suse.de>
70357
70358 [BZ #13658]
70359 * math/libm-test.inc (cos_test): Add more test cases.
70360 (sin_test): Likewise.
70361 (sincos_test): Likewise.
70362
70363 2012-03-15 Andreas Jaeger <aj@suse.de>
70364
70365 [BZ #13837]
70366 * math/libm-test.inc (cos_test): Add a test case for large input
70367 value.
70368 (sin_test): Likewise.
70369 (sincos_test): Likewise.
70370
70371 2012-03-15 Andreas Jaeger <aj@suse.de>
70372 Joseph Myers <joseph@codesourcery.com>
70373
70374 [BZ #13658]
70375 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
70376 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
70377 * sysdeps/i386/fpu/branred.c: Likewise.
70378 * sysdeps/i386/fpu/dosincos.c: Likewise.
70379 * sysdeps/i386/fpu/mpa.c: Likewise.
70380 * sysdeps/i386/fpu/s_cos.S: Likewise.
70381 * sysdeps/i386/fpu/s_sin.S: Likewise.
70382 * sysdeps/i386/fpu/s_sincos.S: Likewise.
70383 * sysdeps/i386/fpu/sincos32.c: Likewise.
70384
70385 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
70386 Define.
70387 (libc_feupdateenv_53bit): Define.
70388 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
70389 Define.
70390 (libc_feupdateenv_53bit): Define.
70391
70392 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
70393 53 bit (without extend i386 double precision).
70394
70395 * math/libm-test.inc (sincos_test): Add tests for large input.
70396 (sin): Likewise.
70397 (cos): Likewise.
70398
70399 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
70400
70401 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
70402
70403 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70404
70405 2012-03-15 David S. Miller <davem@davemloft.net>
70406
70407 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
70408 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
70409 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
70410 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
70411 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
70412 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
70413 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
70414 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
70415 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
70416 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
70417 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
70418 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
70419 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
70420 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
70421 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
70422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
70423 file.
70424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
70425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
70426 file.
70427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
70428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
70429 file.
70430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
70431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
70432 file.
70433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
70434 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
70435 fmin/fmax sysdep routines.
70436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
70437
70438 2012-03-14 David S. Miller <davem@davemloft.net>
70439
70440 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
70441 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
70442 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
70443 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
70444 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
70445 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
70446 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
70447 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
70448 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
70449 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
70450 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
70451 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
70452 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
70453 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
70454 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
70455 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
70456 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
70457 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
70458 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
70459 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
70460 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
70461 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
70462 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
70463 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
70464 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
70465 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
70466 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
70467 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
70468 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
70469 routines.
70470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
70471 file.
70472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
70473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
70474 file.
70475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
70476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
70477 file.
70478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
70479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
70480 file.
70481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
70482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
70483 file.
70484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
70485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
70486 file.
70487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
70488 file.
70489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
70490 file.
70491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
70492 file.
70493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
70494 New file.
70495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
70496 file.
70497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
70498 file.
70499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
70500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
70501 file.
70502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
70503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
70504 file.
70505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
70506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
70507 file.
70508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
70509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
70510 VIS3 routines.
70511
70512 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
70513 New file.
70514
70515 * sysdeps/sparc/fpu/libm-test-ulps: Update.
70516
70517 * sysdeps/sparc/configure.in: New file.
70518 * sysdeps/sparc/configure: Generate.
70519 * configure.in (libc_cv_sparc_as_vis3): Substitute.
70520 * configure: Regenerate.
70521 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
70522 * config.make.in (have-as-vis3): New.
70523 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
70524 available use -Av9d instead of -Av9a.
70525 * sysdeps/sparc/sparc64/Makefile: Likewise.
70526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
70527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
70528 New file.
70529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
70530 file.
70531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
70532 New file.
70533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
70534 file.
70535 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
70536 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
70537 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
70538 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
70539 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
70540
70541 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
70542 fzeros/fnegs to load 0x80000000 into a float register instead of
70543 using the stack.
70544 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
70545
70546 2012-03-14 Joseph Myers <joseph@codesourcery.com>
70547
70548 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70549 bits/syscall.h.
70550 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
70551 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
70552 ($(inst_includedir)/bits/syscall.h): Remove rule.
70553 ($(objpfx)bits/syscall.d): Include instead of
70554 $(objpfx)syscall-list.d.
70555 (generated): Change syscall-list.h and syscall-list.d to
70556 bits/syscall.h and bits/syscall.d.
70557
70558 2012-03-14 Roland McGrath <roland@hack.frob.com>
70559
70560 [BZ #13846]
70561 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
70562
70563 2012-03-14 Joseph Myers <joseph@codesourcery.com>
70564
70565 [BZ #13841]
70566 * math/s_csqrt.c: Include <float.h>.
70567 (__csqrt): Scale large or subnormal inputs.
70568 * math/s_csqrtf.c: Likewise.
70569 * math/s_csqrtl.c: Likewise.
70570 * math/libm-test.inc (csqrt_test): Add more tests.
70571 * sysdeps/i386/fpu/libm-test-ulps: Update.
70572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70573
70574 [BZ #13840]
70575 * math/libm-test.inc (hypot_test): Add more tests.
70576
70577 2012-03-13 David S. Miller <davem@davemloft.net>
70578
70579 [BZ #13840]
70580 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
70581 double-precision for the calculation instead of scaling.
70582
70583 2012-03-13 Joseph Myers <joseph@codesourcery.com>
70584
70585 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
70586 manipulate bits before adding and subtracting TWO52[sx].
70587 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
70588 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
70589 Likewise.
70590 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
70591
70592 2012-03-13 David S. Miller <davem@davemloft.net>
70593
70594 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
70595 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
70596 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
70597 rtld-global-offsets.h
70598 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
70599
70600 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
70601 large parameters.
70602
70603 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
70604
70605 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
70606 'err' in the ifdef scope in which it is actually used.
70607
70608 * nss/nss_db/db-init.c: Include string.h
70609
70610 2012-03-12 David S. Miller <davem@davemloft.net>
70611
70612 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
70613 masking out of the most significant byte of random value used.
70614 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
70615 Fix coding style in previous change.
70616
70617 * sysdeps/unix/sysv/linux/kernel-features.h
70618 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
70619 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
70620 expression.
70621 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
70622 later.
70623
70624 2012-03-11 David S. Miller <davem@davemloft.net>
70625
70626 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
70627 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
70628 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
70629 for 'resultvar' otherwise things get truncated on 64-bit.
70630
70631 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
70632 Fix masking out of the most significant byte of random value used.
70633
70634 * sysdeps/sparc/fpu/libm-test-ulps: Update.
70635
70636 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
70637
70638 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70639
70640 2012-03-09 David S. Miller <davem@davemloft.net>
70641
70642 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
70643 variables with appropriate CPP guards.
70644 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
70645 from the frame pointer, not the stack pointer. Correct layout
70646 comments. Fix test on resulting framesize and the management of
70647 the outregs buffer for pltexit. Preserve floating point return
70648 values across _dl_call_pltexit call.
70649 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
70650 framesize and the management of the outregs buffer for pltexit.
70651 Preserve floating point return values across _dl_call_pltexit
70652 call.
70653 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
70654 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
70655 (la_sparc64_gnu_pltexit): New functions.
70656 (print_exit): Fix format string for return register value.
70657
70658 2012-03-10 Joseph Myers <joseph@codesourcery.com>
70659
70660 * sunrpc/Makefile (others): Add rpcgen.
70661 ($(objpfx)rpcgen): Remove special build rule and dependency on
70662 libc.
70663 * sunrpc/rpcgen.c: New file.
70664
70665 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
70666
70667 [BZ #13673]
70668 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
70669 * stdio-common/bug-vfprintf-nargs.c: Likewise.
70670 * sysdeps/i386/crti.S: Likewise.
70671 * sysdeps/i386/crtn.S: Likewise.
70672 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
70673 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
70674 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
70675 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
70676 * sysdeps/sh/crti.S: Likewise.
70677 * sysdeps/sh/crtn.S: Likewise.
70678 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
70679
70680 [BZ #13673]
70681 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
70682 with URL.
70683 * locale/programs/locfile-kw.gperf: Likewise.
70684 * locale/programs/charmap-kw.h: Regenerated.
70685 * locale/programs/locfile-kw.h: Likewise.
70686
70687 [BZ #13673]
70688 * intl/plural.y: Replace FSF snail mail address with URL.
70689 * intl/plural.c: Regenerated.
70690
70691 2012-03-09 Richard Henderson <rth@twiddle.net>
70692
70693 * include/math_private.h: Remove file.
70694 * math/math_private.h: Move file ...
70695 * sysdeps/generic/math_private.h: ... here.
70696
70697 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
70698 * sysdeps/powerpc/fpu/math_private.h: Likewise.
70699 * sysdeps/x86_64/fpu/math_private.h: Likewise.
70700
70701 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
70702 and <math_private.h>.
70703 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
70704 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
70705 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
70706 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
70707 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
70708 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
70709 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
70710 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
70711 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
70712 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
70713 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
70714 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
70715 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
70716 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
70717 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
70718 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
70719 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
70720 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
70721 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
70722 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
70723 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70724 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
70725 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
70726 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70727 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
70728 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
70729 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
70730 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
70731 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
70732 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
70733 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
70734 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
70735 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
70736 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
70737 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
70738 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
70739 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
70740 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
70741 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
70742 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
70743 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
70744 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
70745 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
70746 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
70747 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
70748 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
70749 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
70750 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
70751 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
70752 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
70753 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
70754 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
70755 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
70756 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
70757 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
70758 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
70759 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
70760 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
70761 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
70762 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
70763 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
70764 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
70765 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
70766 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
70767 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
70768 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
70769 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
70770 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
70771 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
70772 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
70773 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
70774 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
70775 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
70776 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
70777 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
70778 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
70779 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
70780 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
70781 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
70782 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
70783 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
70784 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
70785 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
70786 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
70787 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
70788 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
70789 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
70790 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
70791 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
70792 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
70793 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
70794 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
70795 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
70796 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
70797 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
70798 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
70799 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
70800 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
70801 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
70802 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
70803 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
70804 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
70805 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
70806 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
70807 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
70808 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
70809 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
70810 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
70811 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
70812 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
70813 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
70814 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
70815 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
70816 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
70817 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
70818 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
70819 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
70820 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
70821 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
70822 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
70823 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
70824 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
70825 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
70826 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
70827 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
70828 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
70829 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
70830 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
70831 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
70832 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
70833 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
70834 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
70835 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
70836 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
70837 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
70838 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
70839 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
70840 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
70841 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
70842 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
70843 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
70844 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
70845 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
70846 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
70847 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
70848 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
70849 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
70850 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
70851 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
70852 * sysdeps/ieee754/k_standard.c: Likewise.
70853 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
70854 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
70855 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
70856 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
70857 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
70858 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
70859 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
70860 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
70861 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
70862 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
70863 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
70864 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
70865 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
70866 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
70867 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
70868 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
70869 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
70870 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
70871 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
70872 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
70873 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
70874 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
70875 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
70876 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
70877 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
70878 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
70879 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
70880 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
70881 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
70882 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
70883 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
70884 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
70885 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
70886 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
70887 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
70888 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
70889 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
70890 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
70891 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
70892 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
70893 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
70894 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
70895 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
70896 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
70897 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
70898 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
70899 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
70900 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
70901 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
70902 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
70903 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
70904 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
70905 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
70906 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
70907 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
70908 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
70909 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
70910 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
70911 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
70912 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
70913 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
70914 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
70915 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
70916 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
70917 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
70918 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
70919 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
70920 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
70921 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
70922 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
70923 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
70924 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
70925 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
70926 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
70927 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
70928 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
70929 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
70930 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
70931 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
70932 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
70933 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
70934 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
70935 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
70936 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
70937 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
70938 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
70939 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
70940 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
70941 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
70942 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
70943 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
70944 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
70945 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
70946 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
70947 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
70948 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
70949 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
70950 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
70951 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
70952 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
70953 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
70954 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
70955 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
70956 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
70957 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
70958 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
70959 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
70960 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
70961 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
70962 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
70963 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
70964 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
70965 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
70966 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
70967 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
70968 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
70969 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
70970 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
70971 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
70972 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
70973 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
70974 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
70975 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
70976 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
70977 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
70978 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
70979 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
70980 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
70981 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
70982 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
70983 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
70984 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
70985 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
70986 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
70987 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
70988 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
70989 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
70990 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
70991 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
70992 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
70993 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
70994 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
70995 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
70996 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
70997 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
70998 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
70999 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
71000 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
71001 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
71002 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
71003 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
71004 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
71005 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
71006 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
71007 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
71008 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
71009 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
71010 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
71011 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
71012 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
71013 * sysdeps/ieee754/s_lib_version.c: Likewise.
71014 * sysdeps/ieee754/s_matherr.c: Likewise.
71015 * sysdeps/ieee754/s_signgam.c: Likewise.
71016 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
71017 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
71018 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
71019 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
71020 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
71021 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
71022 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
71023 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
71024 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
71025 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
71026 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
71027 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
71028 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
71029 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
71030 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
71031 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
71032 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
71033 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
71034 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
71035 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
71036 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
71037
71038 2012-03-09 Joseph Myers <joseph@codesourcery.com>
71039
71040 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
71041 * sunrpc/rpc_main.c: Likewise.
71042 * sunrpc/rpc_svcout.c: Likewise.
71043
71044 2012-03-09 David S. Miller <davem@davemloft.net>
71045
71046 * include/math_private.h: New file.
71047
71048 2012-03-09 Joseph Myers <joseph@codesourcery.com>
71049
71050 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
71051 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
71052 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
71053 from <bits/socket_type.h>.
71054 (enum __socket_type): Don't define here.
71055 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
71056 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71057 bits/socket_type.h.
71058
71059 [BZ #13566]
71060 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
71061 checking __USE_GNU.
71062
71063 * Makerules ($(inst_includedir)/%.h): New rule.
71064 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
71065 (install-others): Remove variable setting.
71066 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
71067
71068 2012-03-08 Richard Henderson <rth@twiddle.net>
71069
71070 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
71071 from macro to inline function; merge with the
71072 !__LIBC_INTERNAL_MATH_INLINES version.
71073 (__ieee754_sqrtf): Likewise.
71074
71075 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
71076 to inline function.
71077 (__rintf, __floor, __floorf): Likewise.
71078
71079 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
71080 macro to inline function.
71081 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
71082
71083 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
71084 not <math/math_private.h>.
71085
71086 2012-03-08 David S. Miller <davem@davemloft.net>
71087
71088 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
71089 copyright year.
71090 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
71091
71092 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
71093
71094 * resolv/gai_misc.c (handle_requests): Fix struct timespec
71095 normalization.
71096 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
71097 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
71098
71099 2012-03-08 Ulrich Drepper <drepper@gmail.com>
71100
71101 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
71102 be defined individually, they must be defined as a block. Define
71103 S for printing a string instead of hidint the different by using a
71104 macro for adding the 'l'.
71105 * stdio-common/tst-fphex-wide.c: Adjust.
71106
71107 2012-03-07 Marek Polacek <polacek@redhat.com>
71108
71109 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
71110
71111 2012-03-08 Marek Polacek <polacek@redhat.com>
71112
71113 [BZ #13806]
71114 * stdio-common/Makefile (tests): Add tst-fphex-wide.
71115 * stdio-common/tst-fphex.c: Define a few macros to make the
71116 test reusable. Use them.
71117 * stdio-common/tst-fphex-wide.c: New file.
71118
71119 2012-03-08 Joseph Myers <joseph@codesourcery.com>
71120
71121 [BZ #6911]
71122 * manual/macros.texi (gnusystems): New macro.
71123 (nongnusystems): Likewise.
71124 (gnulinuxhurdsystems): Likewise.
71125 (gnuhurdsystems): Likewise..
71126 (gnulinuxsystems): Likewise.
71127 * manual/charset.texi: Use new macros or @theglibc{} to refer to
71128 variants of the GNU system, not "GNU system".
71129 * manual/conf.texi: Likewise.
71130 * manual/errno.texi: Likewise. Update example of errno macro
71131 expansion.
71132 * manual/filesys.texi: Likewise.
71133 (getumask): Document as specific to GNU/Hurd.
71134 * manual/install.texi: Likewise. Reword some references to
71135 GNU/Linux.
71136 * manual/intro.texi: Likewise.
71137 * manual/io.texi: Likewise.
71138 (File Name Portability): Detail which constraints are inapplicable
71139 to all GNU systems and which are only inapplicable to GNU/Hurd.
71140 * manual/job.texi: Likewise.
71141 * manual/llio.texi: Likewise.
71142 (O_NOCTTY): Document as present on GNU/Linux.
71143 * manual/maint.texi: Likewise.
71144 * manual/memory.texi: Likewise.
71145 * manual/pattern.texi: Likewise.
71146 * manual/pipe.texi: Likewise.
71147 * manual/process.texi: Likewise.
71148 * manual/resource.texi: Likewise.
71149 (RUSAGE_CHILDREN): Remove statement about specifying a particular
71150 child on GNU/Hurd.
71151 * manual/setjmp.texi: Likewise.
71152 * manual/signal.texi: Likewise.
71153 * manual/startup.texi: Likewise.
71154 * manual/stdio.texi: Likewise.
71155 * manual/terminal.texi: Likewise.
71156 (ONLCR): Document as POSIX.
71157 (OXTABS): Document availability on GNU/Linux as XTABS.
71158 (ONOEOT): Document availability separately from other bits.
71159 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
71160 * manual/time.texi: Likewise.
71161 * manual/users.texi: Likewise.
71162 * INSTALL: Regenerated.
71163 * sysdeps/gnu/errlist.c: Regenerated.
71164
71165 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
71166 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
71167 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
71168 puts.
71169 * configure: Regenerated.
71170
71171 2012-03-07 Joseph Myers <joseph@codesourcery.com>
71172
71173 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
71174 default includes instead of AC_HEADER_CHECK.
71175 * sysdeps/i386/configure: Regenerated.
71176
71177 [BZ #10716]
71178 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
71179 * math/s_cacoshf.c (__cacoshf): Likewise.
71180 * math/s_cacoshl.c (__cacoshl): Likewise.
71181 * math/s_casinh.c (__casinh): Set signs of result from argument.
71182 * math/s_casinhf.c (__casinhf): Likewise.
71183 * math/s_casinhl.c (__casinhl): Likewise.
71184 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
71185 (casinh_test): Add more tests.
71186 * sysdeps/i386/fpu/libm-test-ulps: Update.
71187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71188
71189 2012-03-07 Ulrich Drepper <drepper@gmail.com>
71190
71191 * po/zh_TW.po: Update from translation team.
71192
71193 * login/Makefile (distribute): Remove variable.
71194 * catgets/Makefile: Likewise.
71195 * mach/Makefile: Likewise.
71196 * malloc/Makefile: Likewise.
71197 * misc/Makefile: Likewise.
71198 * iconv/Makefile: Likewise.
71199 * nscd/Makefile: Likewise.
71200 * hurd/Makefile: Likewise.
71201 * manual/Makefile: Likewise.
71202 * locale/Makefile: Likewise.
71203 * intl/Makefile: Likewise.
71204 * conform/Makefile: Likewise.
71205 * nss/Makefile: Likewise.
71206 * time/Makefile: Likewise.
71207 * soft-fp/Makefile: Likewise.
71208 * dirent/Makefile: Likewise.
71209 * gmon/Makefile: Likewise.
71210 * po/Makefile: Likewise.
71211 * rt/Makefile: Likewise.
71212 * socket/Makefile: Likewise.
71213 * math/Makefile: Likewise.
71214 * signal/Makefile: Likewise.
71215 * debug/Makefile: Likewise.
71216 * elf/Makefile: Likewise.
71217 * timezone/Makefile: Likewise.
71218 * stdlib/Makefile: Likewise.
71219 * iconvdata/Makefile: Likewise.
71220 * sunrpc/Makefile: Likewise.
71221 * io/Makefile: Likewise.
71222 * argp/Makefile: Likewise.
71223 * inet/Makefile: Likewise.
71224 * hesiod/Makefile: Likewise.
71225 * grp/Makefile: Likewise.
71226 * csu/Makefile: Likewise.
71227 * wctype/Makefile: Likewise.
71228 * crypt/Makefile: Likewise.
71229 * libio/Makefile: Likewise.
71230 * string/Makefile: Likewise.
71231 * nis/Makefile: Likewise.
71232 * resolv/Makefile: Likewise.
71233 * stdio-common/Makefile: Likewise.
71234 * wcsmbs/Makefile: Likewise.
71235 * dlfcn/Makefile: Likewise.
71236 * posix/Makefile: Likewise.
71237
71238 [BZ #6959]
71239 * timezone/Makefile: Don't install timezone files, just the programs
71240 and scripts.
71241
71242 2012-03-06 Ulrich Drepper <drepper@gmail.com>
71243
71244 * nss/databases.def: Add missing gshadow entry.
71245
71246 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
71247
71248 2012-03-06 Marek Polacek <polacek@redhat.com>
71249
71250 [BZ #13726]
71251 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
71252 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
71253 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
71254 * stdio-common/tst-long-dbl-fphex.c: New file.
71255
71256 2012-03-06 David S. Miller <davem@davemloft.net>
71257
71258 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
71259 (set_obp_int): New function.
71260 (get_obp_int): New function.
71261 (__get_clockfreq_via_dev_openprom): Likewise.
71262 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
71263 Avoid unused variable warnings on 'val' and use builtin_expect.
71264 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
71265 __builtin_expect.
71266 (INLINE_CLONE_SYSCALL): Likewise.
71267
71268 2012-03-05 David S. Miller <davem@davemloft.net>
71269
71270 * sysdeps/sparc/fpu/libm-test-ulps: Update.
71271
71272 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
71273
71274 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71275
71276 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
71277 only for |x| >= 40.
71278 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
71279
71280 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
71281
71282 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
71283 Replace gettimeofday with __vdso_gettimeofday.
71284
71285 * sysdeps/unix/sysv/linux/x86_64/init-first.c
71286 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
71287 __vdso_clock_gettime and __vdso_getcpu.
71288
71289 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
71290 time with __vdso_time.
71291
71292 2012-03-05 Joseph Myers <joseph@codesourcery.com>
71293
71294 * manual/lang.texi (size_t): Note types to which size_t may be
71295 equivalent with the GNU C Library, but do not describe when
71296 differences between them are significant.
71297
71298 2012-03-05 Andreas Jaeger <aj@suse.de>
71299
71300 * sysdeps/i386/fpu/libm-test-ulps: Update.
71301
71302 2012-03-05 Joseph Myers <joseph@codesourcery.com>
71303
71304 [BZ #3976]
71305 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
71306 (__ieee754_pow): Save and restore rounding mode and use
71307 round-to-nearest for main computations.
71308 * math/libm-test.inc (pow_test_tonearest): New function.
71309 (pow_test_towardzero): Likewise.
71310 (pow_test_downward): Likewise.
71311 (pow_test_upward): Likewise.
71312 (main): Call the new functions.
71313 * sysdeps/i386/fpu/libm-test-ulps: Update.
71314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71315
71316 [BZ #3976]
71317 * math/libm-test.inc (cosh_test_tonearest): New function.
71318 (cosh_test_towardzero): Likewise.
71319 (cosh_test_downward): Likewise.
71320 (cosh_test_upward): Likewise.
71321 (sinh_test_tonearest): Likewise.
71322 (sinh_test_towardzero): Likewise.
71323 (sinh_test_downward): Likewise.
71324 (sinh_test_upward): Likewise.
71325 (main): Call the new functions.
71326 * sysdeps/i386/fpu/libm-test-ulps: Update.
71327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71328
71329 2012-03-05 Tom de Vries <tom@codesourcery.com>
71330
71331 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
71332 default stack guard is set in last bytes.
71333 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
71334
71335 2012-03-05 Kees Cook <keescook@chromium.org>
71336
71337 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
71338
71339 [BZ #13656]
71340 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
71341 possibly allocate from heap instead of stack.
71342 * stdio-common/bug-vfprintf-nargs.c: New file.
71343 * stdio-common/Makefile (tests): Add nargs overflow test.
71344
71345 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
71346
71347 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71348
71349 2012-03-03 Marek Polacek <polacek@redhat.com>
71350
71351 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
71352 * math/math_private.h: Likewise.
71353 * stdlib/tst-strtod.c: Likewise.
71354 * sysdeps/i386/i486/bits/atomic.h: Likewise.
71355 * sysdeps/x86_64/bits/atomic.h: Likewise.
71356
71357 2012-03-02 David S. Miller <davem@davemloft.net>
71358
71359 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
71360 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
71361 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
71362 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
71363 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
71364 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
71365 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
71366 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
71367
71368 2012-03-02 Roland McGrath <roland@hack.frob.com>
71369
71370 [BZ #13792]
71371 * manual/examples/README: New file, says the example source files
71372 can be used under GPL>=2.
71373 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
71374 line containing just "*/".
71375 * manual/examples/add.c: Add copyright header (GPL>=2).
71376 * manual/examples/argp-ex1.c: Likewise.
71377 * manual/examples/argp-ex2.c: Likewise.
71378 * manual/examples/argp-ex3.c: Likewise.
71379 * manual/examples/argp-ex4.c: Likewise.
71380 * manual/examples/atexit.c: Likewise.
71381 * manual/examples/db.c: Likewise.
71382 * manual/examples/dir.c: Likewise.
71383 * manual/examples/dir2.c: Likewise.
71384 * manual/examples/execinfo.c: Likewise.
71385 * manual/examples/filecli.c: Likewise.
71386 * manual/examples/filesrv.c: Likewise.
71387 * manual/examples/fmtmsgexpl.c: Likewise.
71388 * manual/examples/genpass.c: Likewise.
71389 * manual/examples/inetcli.c: Likewise.
71390 * manual/examples/inetsrv.c: Likewise.
71391 * manual/examples/isockad.c: Likewise.
71392 * manual/examples/longopt.c: Likewise.
71393 * manual/examples/memopen.c: Likewise.
71394 * manual/examples/memstrm.c: Likewise.
71395 * manual/examples/mkfsock.c: Likewise.
71396 * manual/examples/mkisock.c: Likewise.
71397 * manual/examples/mygetpass.c: Likewise.
71398 * manual/examples/pipe.c: Likewise.
71399 * manual/examples/popen.c: Likewise.
71400 * manual/examples/rprintf.c: Likewise.
71401 * manual/examples/search.c: Likewise.
71402 * manual/examples/select.c: Likewise.
71403 * manual/examples/setjmp.c: Likewise.
71404 * manual/examples/sigh1.c: Likewise.
71405 * manual/examples/sigusr.c: Likewise.
71406 * manual/examples/stpcpy.c: Likewise.
71407 * manual/examples/strdupa.c: Likewise.
71408 * manual/examples/strftim.c: Likewise.
71409 * manual/examples/strncat.c: Likewise.
71410 * manual/examples/subopt.c: Likewise.
71411 * manual/examples/swapcontext.c: Likewise.
71412 * manual/examples/termios.c: Likewise.
71413 * manual/examples/testopt.c: Likewise.
71414 * manual/examples/testpass.c: Likewise.
71415 * manual/examples/timeval_subtract.c: Likewise.
71416
71417 [BZ #13792]
71418 * manual/time.texi (Elapsed Time): Move timeval_subtract example
71419 function to ...
71420 * manual/timeval_subtract.c.texi: ... here, new file.
71421
71422 2012-03-02 David S. Miller <davem@davemloft.net>
71423
71424 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
71425
71426 2012-03-02 Joseph Myers <joseph@codesourcery.com>
71427
71428 [BZ #3976]
71429 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
71430 (__sin): Save and restore rounding mode and use round-to-nearest
71431 for all computations.
71432 (__cos): Save and restore rounding mode and use round-to-nearest
71433 for all computations.
71434 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
71435 <fenv.h>.
71436 (tan): Save and restore rounding mode and use round-to-nearest for
71437 all computations.
71438 * math/libm-test.inc (cos_test_tonearest): New function.
71439 (cos_test_towardzero): Likewise.
71440 (cos_test_downward): Likewise.
71441 (cos_test_upward): Likewise.
71442 (sin_test_tonearest): Likewise.
71443 (sin_test_towardzero): Likewise.
71444 (sin_test_downward): Likewise.
71445 (sin_test_upward): Likewise.
71446 (tan_test_tonearest): Likewise.
71447 (tan_test_towardzero): Likewise.
71448 (tan_test_downward): Likewise.
71449 (tan_test_upward): Likewise.
71450 (main): Call the new functions.
71451 * sysdeps/i386/fpu/libm-test-ulps: Update.
71452 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71453
71454 [BZ #10135]
71455 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
71456 small n, then large n, before computing and testing k+n.
71457 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
71458 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
71459 Likewise.
71460 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
71461 Likewise.
71462 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
71463 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
71464 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
71465 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
71466 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
71467 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
71468 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
71469 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
71470 * math/libm-test.inc (scalbn_test): Add more tests.
71471 (scalbln_test): Likewise.
71472
71473 * manual/filesys.texi (mode_t): Describe constraints on size and
71474 signedness, not exact equivalence to a particular type.
71475 (ino_t): Likewise.
71476 (ino64_t): Likewise.
71477 (dev_t): Likewise.
71478 (nlink_t): Likewise.
71479 (blkcnt_t): Likewise.
71480 (blkcnt64_t): Likewise.
71481 * manual/llio.texi (off_t): Likewise.
71482
71483 [BZ #3976]
71484 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
71485 (__ieee754_exp): Save and restore rounding mode and use
71486 round-to-nearest for all computations.
71487 * math/libm-test.inc (exp_test_tonearest): New function.
71488 (exp_test_towardzero): Likewise.
71489 (exp_test_downward): Likewise.
71490 (exp_test_upward): Likewise.
71491 (main): Call the new functions.
71492 * sysdeps/i386/fpu/libm-test-ulps: Update.
71493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71494
71495 2012-03-01 Chris Demetriou <cgd@google.com>
71496
71497 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
71498 have predictable order.
71499
71500 2012-03-01 David S. Miller <davem@davemloft.net>
71501
71502 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
71503
71504 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
71505 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
71506 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
71507 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
71508
71509 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
71510 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
71511 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
71512 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
71513 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
71514 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
71515 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
71516 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
71517 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
71518
71519 * sysdeps/sparc/fpu/libm-test-ulps: Update.
71520
71521 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
71522 * sysdeps/sparc/fpu/libm-test-ulps: to here.
71523 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
71524
71525 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
71526 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
71527 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
71528 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
71529 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
71530 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
71531 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
71532 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
71533 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
71534 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
71535 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
71536 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
71537 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
71538 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
71539 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
71540 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
71541 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
71542 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
71543 * sysdeps/sparc/elf/configure: Regenerated.
71544
71545 2012-03-01 Joseph Myers <joseph@codesourcery.com>
71546
71547 * configure.in (AS, LD): Require binutils 2.20 or later.
71548 * configure: Regenerated.
71549 * manual/install.texi (Tools for Compilation): Give binutils 2.20
71550 as required minimum version.
71551 * INSTALL: Regenerated.
71552
71553 [BZ #2541]
71554 [BZ #4108]
71555 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
71556 before squaring exponent.
71557 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
71558 bottom long double and 27 bits of top long double before squaring
71559 exponent.
71560 * math/libm-test.inc (erfc_test): Add more tests.
71561 * sysdeps/i386/fpu/libm-test-ulps: Update.
71562 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
71563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71564
71565 2012-03-01 Kai Tietz <ktietz@redhat.com>
71566
71567 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
71568 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
71569 containing bit-fields.
71570 * soft-fp/extended.h (_FP_UNION_E): Likewise.
71571 * soft-fp/single.h (_FP_UNION_S): Likewise.
71572 * soft-fp/double.h (_FP_UNION_D): Likewise.
71573
71574 2012-02-29 Joseph Myers <joseph@codesourcery.com>
71575
71576 [BZ #13786]
71577 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
71578 not include ../strcmp.S.
71579 [USE_AS_STRNCASECMP_L]: Likewise.
71580 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
71581 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
71582 * sysdeps/i386/i686/multiarch/strncase_l-c.c
71583 (__strncasecmp_l_ia32): Define as alias to
71584 __strncasecmp_l_nonascii.
71585
71586 [BZ #5794]
71587 * math/libm-test.inc (expm1_test): Add test for bug 5794.
71588 * sysdeps/i386/fpu/libm-test-ulps: Update.
71589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71590
71591 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
71592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71593
71594 2012-02-29 Jeff Law <law@redhat.com>
71595
71596 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
71597 out of bounds read.
71598
71599 2012-02-29 Marek Polacek <polacek@redhat.com>
71600
71601 [BZ #13706]
71602 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
71603 * elf/Makefile: Add rules to run tst-unused-dep.out.
71604
71605 2012-02-28 David S. Miller <davem@davemloft.net>
71606
71607 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
71608 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
71609 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
71610 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
71611 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
71612 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
71613
71614 2012-02-29 Joseph Myers <joseph@codesourcery.com>
71615
71616 * math/libm-test.inc (llround_test): Move one test from
71617 lround_test. Use TEST_f_L in moved test.
71618 (lround_test): Move misplaced test to llround_test. Add testcase
71619 from bug 2561.
71620
71621 2012-02-28 Ulrich Drepper <drepper@gmail.com>
71622
71623 * sysdeps/x86_64/fpu/e_expf.S: New file.
71624 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
71625
71626 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
71627
71628 [BZ #13637]
71629 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
71630 of remain_len that may cause incomplete multi-byte character and
71631 false match.
71632 * posix/bug-regex33.c: New file.
71633 * posix/Makefile (tests): Add bug-regex33.
71634
71635 2012-02-28 Joseph Myers <joseph@codesourcery.com>
71636
71637 * manual/macros.texi: New file.
71638 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
71639 * manual/libc.texinfo: Include macros.texi.
71640 * manual/creatute.texi: Likewise.
71641 * manual/install.texi: Likewise.
71642 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
71643 @glibcadj{} in references to the GNU C Library.
71644 * manual/charset.texi: Likewise.
71645 * manual/conf.texi: Likewise.
71646 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
71647 when not using those macros.
71648 * manual/creature.texi: Likewise.
71649 * manual/crypt.texi: Likewise.
71650 * manual/errno.texi: Likewise.
71651 * manual/filesys.texi: Likewise.
71652 * manual/header.texi: Likewise.
71653 * manual/install.texi: Likewise.
71654 * manual/intro.texi: Likewise.
71655 * manual/io.texi: Likewise.
71656 * manual/job.texi: Likewise.
71657 * manual/lang.texi: Likewise.
71658 * manual/libc.texiinfo: Likewise.
71659 * manual/llio.texi: Likewise.
71660 * manual/locale.texi: Likewise.
71661 * manual/maint.texi: Likewise.
71662 * manual/math.texi: Likewise.
71663 * manual/memory.texi: Likewise.
71664 * manual/message.texi: Likewise.
71665 * manual/nss.texi: Likewise.
71666 * manual/pattern.texi: Likewise.
71667 * manual/process.texi: Likewise.
71668 * manual/resource.texi: Likewise.
71669 * manual/search.texi: Likewise.
71670 * manual/setjmp.texi: Likewise.
71671 * manual/signal.texi: Likewise.
71672 * manual/socket.texi: Likewise.
71673 * manual/startup.texi: Likewise.
71674 * manual/stdio.texi: Likewise.
71675 * manual/string.texi: Likewise.
71676 * manual/sysinfo.texi: Likewise.
71677 * manual/syslog.texi: Likewise.
71678 * manual/terminal.texi: Likewise.
71679 * manual/time.texi: Likewise.
71680 * manual/users.texi: Likewise.
71681 * INSTALL: Regenerated.
71682 * NOTES: Regenerated.
71683 * sysdeps/gnu/errlist.c: Regenerated.
71684
71685 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
71686
71687 * include/dirent.h: Include <dirstream.h> before
71688 <dirent/dirent.h>.
71689
71690 2012-02-28 David S. Miller <davem@davemloft.net>
71691
71692 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
71693 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
71694 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
71695 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
71696
71697 2012-02-27 David S. Miller <davem@davemloft.net>
71698
71699 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
71700 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
71701 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
71702 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
71703
71704 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
71705 frame pointer instead of stack pointer relative arg slot.
71706 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
71707 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
71708 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
71709
71710 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
71711
71712 [BZ #3992]
71713 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
71714
71715 2012-02-27 David S. Miller <davem@davemloft.net>
71716
71717 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
71718 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
71719 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
71720 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
71721 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
71722 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
71723 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
71724 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
71725
71726 2012-02-27 Joseph Myers <joseph@codesourcery.com>
71727
71728 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
71729 later. Allow versions 5-9.
71730 * configure: Regenerated.
71731 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
71732 required minimum version and 4.6 as recommended version. Do not
71733 mention bugs in GCC 2.7 and 2.8.
71734 * INSTALL: Regenerated.
71735
71736 2012-02-27 David S. Miller <davem@davemloft.net>
71737
71738 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
71739 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
71740 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
71741 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
71742 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
71743 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
71744 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
71745 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
71746
71747 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
71748 manipulate bits before adding and subtracting TWO112[sx].
71749 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
71750
71751 2012-02-27 Roland McGrath <roland@hack.frob.com>
71752
71753 [BZ #13775]
71754 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
71755 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
71756 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
71757 being in POSIX, because they are in 1003.1-2008.
71758
71759 * rt/tst-aio.c: Include <fcntl.h>.
71760 * rt/tst-aio7.c: Likewise.
71761 * rt/tst-aio64.c: Likewise.
71762
71763 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
71764
71765 2012-02-27 Joseph Myers <joseph@codesourcery.com>
71766
71767 * manual/install.texi (--with-headers): Describe headers as
71768 interface headers, not private headers.
71769 (Specific advice for GNU/Linux systems): Describe use of headers
71770 from "make headers_install", not private headers from older
71771 kernels.
71772 * INSTALL: Regenerated.
71773 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
71774 Change to 2.6.19.
71775 * sysdeps/unix/sysv/linux/configure: Regenerated.
71776
71777 * manual/llio.texi (fclean): Remove documentation.
71778
71779 * manual/Makefile (libc-texi-generated): New variable. Include
71780 version.texi.
71781 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
71782 $(libc-texi-generated), not duplicated list of files.
71783 (version.texi, stamp-version): New rules.
71784 (realclean): Remove $(libc-texi-generated), not individual files
71785 from that list. Do not remove dir-add.texinfo.
71786 * manual/libc.texinfo: Comment out uses of edition numbers and
71787 references to printed manual. Remove last-updated dates.
71788 (EDITION): Comment out.
71789 (ISBN): Likewise.
71790 (VERSION, UPDATED): Remove.
71791 (version.texi): Include.
71792
71793 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
71794
71795 * sysdeps/posix/spawni.c: Include <signal.h>.
71796 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
71797 * sysdeps/pthread/aio_fsync.c: Likewise.
71798
71799 2012-02-26 Ulrich Drepper <drepper@gmail.com>
71800
71801 * conform/Makefile (tests): Run only when not cross-compiling and
71802 when fast-check is not defined.
71803
71804 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
71805 * conform/data/limits.h-data: Fixes for POSIX2008.
71806 * conform/run-conformtest.sh: Run all tests.
71807 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
71808 headers.
71809 * include/bits/dlfcn.h: Likewise.
71810 * include/langinfo.h: Likewise.
71811 * include/monetary.h: Likewise.
71812 * include/sys/poll.h: Likewise.
71813
71814 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
71815 for __USE_GNU.
71816 * posix/spawn.h: Define __need_sigset_t.
71817 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
71818 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
71819 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
71820 to get sigevent_t only.
71821 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
71822 only for __USE_GNU.
71823 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
71824 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
71825 process_vm_writev only for __USE_GNU.
71826 * termios/termios.h: Declare tcgetsid also for POSIX2008.
71827
71828 * conform/Makefile: For now ignore errors from run-conformtest.
71829 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
71830 POSIX to avoid namespace pollution. Don't prepend headers.
71831 * conform/data/aio.h-data: Fixes for POSIX testing.
71832 * conform/data/fcntl.h-data: Likewise.
71833 * conform/data/glob.h-data: Likewise.
71834 * conform/data/grp.h-data: Likewise.
71835 * conform/data/pthread.h-data: Likewise.
71836 * conform/data/pwd.h-data: Likewise.
71837 * conform/data/signal.h-data: Likewise.
71838 * conform/data/spawn.h-data: Likewise.
71839 * conform/data/stdio.h-data: Likewise.
71840 * conform/data/stdlib.h-data: Likewise.
71841 * conform/data/stropts.h-data: Likewise.
71842 * conform/data/sys/mman.h-data: Likewise.
71843 * conform/data/sys/stat.h-data: Likewise.
71844 * conform/data/sys/types.h-data: Likewise.
71845 * conform/data/sys/wait.h-data: Likewise.
71846 * conform/data/time.h-data: Likewise.
71847 * conform/data/unistd.h-data: Likewise.
71848 * conform/data/utime.h-data: Likewise.
71849
71850 * io/sys/stat.h: fchmod was always in POSIX.
71851 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
71852 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
71853 * rt/aio.h: Define __need_timespec before including <time.h>.
71854 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
71855 struct. Add forward declaration of pthread_attr_t and use it in
71856 sigevent.
71857 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
71858 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
71859 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
71860 always remove CLK_TCK definition.
71861
71862 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
71863
71864 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
71865
71866 2012-02-25 Ulrich Drepper <drepper@gmail.com>
71867
71868 * conform/run-conformtest.sh: New file.
71869 * conform/Makefile: Run run-conformtest for tests.
71870 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
71871 support.
71872
71873 * conform/data/uchar.h-data: New file.
71874 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
71875 * conform/data/arpa/inet.h-data: Likewise.
71876 * conform/data/assert.h-data: Likewise.
71877 * conform/data/complex.h-data: Likewise.
71878 * conform/data/cpio.h-data: Likewise.
71879 * conform/data/ctype.h-data: Likewise.
71880 * conform/data/dirent.h-data: Likewise.
71881 * conform/data/dlfcn.h-data: Likewise.
71882 * conform/data/errno.h-data: Likewise.
71883 * conform/data/fcntl.h-data: Likewise.
71884 * conform/data/float.h-data: Likewise.
71885 * conform/data/fmtmsg.h-data: Likewise.
71886 * conform/data/fnmatch.h-data: Likewise.
71887 * conform/data/ftw.h-data: Likewise.
71888 * conform/data/glob.h-data: Likewise.
71889 * conform/data/grp.h-data: Likewise.
71890 * conform/data/iconv.h-data: Likewise.
71891 * conform/data/inttypes.h-data: Likewise.
71892 * conform/data/langinfo.h-data: Likewise.
71893 * conform/data/libgen.h-data: Likewise.
71894 * conform/data/limits.h-data: Likewise.
71895 * conform/data/locale.h-data: Likewise.
71896 * conform/data/math.h-data: Likewise.
71897 * conform/data/monetary.h-data: Likewise.
71898 * conform/data/mqueue.h-data: Likewise.
71899 * conform/data/ndbm.h-data: Likewise.
71900 * conform/data/net/if.h-data: Likewise.
71901 * conform/data/netdb.h-data: Likewise.
71902 * conform/data/netinet/in.h-data: Likewise.
71903 * conform/data/nl_types.h-data: Likewise.
71904 * conform/data/poll.h-data: Likewise.
71905 * conform/data/pthread.h-data: Likewise.
71906 * conform/data/pwd.h-data: Likewise.
71907 * conform/data/regex.h-data: Likewise.
71908 * conform/data/sched.h-data: Likewise.
71909 * conform/data/search.h-data: Likewise.
71910 * conform/data/semaphore.h-data: Likewise.
71911 * conform/data/setjmp.h-data: Likewise.
71912 * conform/data/signal.h-data: Likewise.
71913 * conform/data/spawn.h-data: Likewise.
71914 * conform/data/stdarg.h-data: Likewise.
71915 * conform/data/stdio.h-data: Likewise.
71916 * conform/data/stdlib.h-data: Likewise.
71917 * conform/data/string.h-data: Likewise.
71918 * conform/data/strings.h-data: Likewise.
71919 * conform/data/stropts.h-data: Likewise.
71920 * conform/data/sys/ipc.h-data: Likewise.
71921 * conform/data/sys/mman.h-data: Likewise.
71922 * conform/data/sys/msg.h-data: Likewise.
71923 * conform/data/sys/resource.h-data: Likewise.
71924 * conform/data/sys/select.h-data: Likewise.
71925 * conform/data/sys/sem.h-data: Likewise.
71926 * conform/data/sys/shm.h-data: Likewise.
71927 * conform/data/sys/socket.h-data: Likewise.
71928 * conform/data/sys/stat.h-data: Likewise.
71929 * conform/data/sys/statvfs.h-data: Likewise.
71930 * conform/data/sys/time.h-data: Likewise.
71931 * conform/data/sys/timeb.h-data: Likewise.
71932 * conform/data/sys/times.h-data: Likewise.
71933 * conform/data/sys/types.h-data: Likewise.
71934 * conform/data/sys/uio.h-data: Likewise.
71935 * conform/data/sys/un.h-data: Likewise.
71936 * conform/data/sys/utsname.h-data: Likewise.
71937 * conform/data/sys/wait.h-data: Likewise.
71938 * conform/data/syslog.h-data: Likewise.
71939 * conform/data/tar.h-data: Likewise.
71940 * conform/data/termios.h-data: Likewise.
71941 * conform/data/utime.h-data: Likewise.
71942 * conform/data/utmpx.h-data: Likewise.
71943 * conform/data/varargs.h-data: Likewise.
71944 * conform/data/wchar.h-data: Likewise.
71945 * conform/data/wctype.h-data: Likewise.
71946 * conform/data/wordexp.h-data: Likewise.
71947
71948 * include/stropts.h: New file.
71949 * include/uchar.h: New file.
71950 * include/aio.h: Changes to allow conformtest.pl to use the headers.
71951 * include/assert.h: Likewise.
71952 * include/ctype.h: Likewise.
71953 * include/dirent.h: Likewise.
71954 * include/dlfcn.h: Likewise.
71955 * include/fcntl.h: Likewise.
71956 * include/fnmatch.h: Likewise.
71957 * include/glob.h: Likewise.
71958 * include/grp.h: Likewise.
71959 * include/libio.h: Likewise.
71960 * include/locale.h: Likewise.
71961 * include/math.h: Likewise.
71962 * include/net/if.h: Likewise.
71963 * include/netdb.h: Likewise.
71964 * include/netinet/in.h: Likewise.
71965 * include/pthread.h: Likewise.
71966 * include/pwd.h: Likewise.
71967 * include/regex.h: Likewise.
71968 * include/sched.h: Likewise.
71969 * include/search.h: Likewise.
71970 * include/setjmp.h: Likewise.
71971 * include/signal.h: Likewise.
71972 * include/stdio.h: Likewise.
71973 * include/stdlib.h: Likewise.
71974 * include/string.h: Likewise.
71975 * include/sys/cdefs.h: Likewise.
71976 * include/sys/mman.h: Likewise.
71977 * include/sys/msg.h: Likewise.
71978 * include/sys/resource.h: Likewise.
71979 * include/sys/select.h: Likewise.
71980 * include/sys/socket.h: Likewise.
71981 * include/sys/stat.h: Likewise.
71982 * include/sys/statvfs.h: Likewise.
71983 * include/sys/time.h: Likewise.
71984 * include/sys/times.h: Likewise.
71985 * include/sys/uio.h: Likewise.
71986 * include/sys/utsname.h: Likewise.
71987 * include/sys/wait.h: Likewise.
71988 * include/termios.h: Likewise.
71989 * include/time.h: Likewise.
71990 * include/ulimit.h: Likewise.
71991 * include/unistd.h: Likewise.
71992 * include/utime.h: Likewise.
71993 * include/wchar.h: Likewise.
71994 * include/wctype.h: Likewise.
71995 * include/wordexp.h: Likewise.
71996
71997 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
71998
71999 * time/time.h: TIME_UTC must be a macro.
72000 Make timespec_get available for ISO C11 only as well.
72001
72002 2012-02-24 Ulrich Drepper <drepper@gmail.com>
72003
72004 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
72005 Reported by Peng Haitao <penght@cn.fujitsu.com>.
72006
72007 2012-02-24 Joseph Myers <joseph@codesourcery.com>
72008
72009 * configure.in: Use -o not -a in test for unsupported multi-arch.
72010
72011 2012-02-24 Joseph Myers <joseph@codesourcery.com>
72012
72013 * manual/texinfo.tex: Update to version 2012-01-19.16.
72014
72015 2012-02-24 Joseph Myers <joseph@codesourcery.com>
72016
72017 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
72018
72019 2012-02-24 Roland McGrath <roland@hack.frob.com>
72020
72021 [BZ #13738]
72022 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
72023 * manual/fdl-1.3.texi: New file.
72024 * manual/fdl-1.1.texi: File removed.
72025
72026 [BZ #13738]
72027 * manual/libc.texinfo (FDL_VERSION): New @set.
72028 Use it for mention of FDL in cover text.
72029 (Documentation License): Use it in @include file name.
72030
72031 2012-02-22 Joseph Myers <joseph@codesourcery.com>
72032 Roland McGrath <roland@hack.frob.com>
72033
72034 [BZ #5461]
72035 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
72036 (not LONG_LONG_MAX and LONG_LONG_MIN.
72037 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
72038 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
72039 name.
72040 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
72041
72042 2012-02-22 Joseph Myers <joseph@codesourcery.com>
72043
72044 [BZ #2547]
72045 [BZ #11365]
72046 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
72047 manipulate bits before adding and subtracting TWO23[sx].
72048 * math/libm-test.inc (nearbyint_test): Add more tests.
72049
72050 2012-02-22 Joseph Myers <joseph@codesourcery.com>
72051
72052 [BZ #2548]
72053 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
72054 bits before adding and subtracting TWO23[sx].
72055 * math/libm-test.inc (rint_test): Add more tests.
72056 (rint_test_tonearest): Likewise.
72057 (rint_test_towardzero): Likewise.
72058 (rint_test_downward): Likewise.
72059 (rint_test_upward: Likewise.
72060
72061 2012-02-22 Joseph Myers <joseph@codesourcery.com>
72062
72063 [BZ #10110]
72064 * include/stdc-predef.h: New file. Extracted from features.h.
72065 * include/features.h: Include stdc-predef.h.
72066 * Makefile (headers): Add stdc-predef.h.
72067 * CONFORMANCE (Compiler limitations): Update.
72068
72069 2012-02-22 Joseph Myers <joseph@codesourcery.com>
72070
72071 * manual/libc.texinfo (VERSION, UPDATED): Revert.
72072
72073 2012-02-21 David S. Miller <davem@davemloft.net>
72074
72075 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
72076 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
72077
72078 2012-02-20 David S. Miller <davem@davemloft.net>
72079
72080 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
72081 using a normal save/restore sequence, rather than allocating a
72082 dummy stack frame just to store a frame pointer and restore.
72083 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
72084
72085 2012-02-21 Joseph Myers <joseph@codesourcery.com>
72086
72087 * manual/install.texi: Fix stray word in line-wrapped comment.
72088
72089 2012-02-20 David S. Miller <davem@davemloft.net>
72090
72091 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
72092 both binutils and gcc support GOTDATA.
72093
72094 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
72095 "rd %pc" in the PIC register setup sequences.
72096
72097 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
72098 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
72099 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
72100 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
72101 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
72102 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
72103 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
72104 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
72105 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
72106 (SYSCALL_ERROR_HANDLER): Likewise.
72107 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
72108 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
72109 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
72110 (SYSCALL_ERROR_HANDLER): Likewise.
72111
72112 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
72113 (HAVE_GCC_GOTDATA): New.
72114 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
72115 relocation support in both binutils and gcc.
72116 * sysdeps/sparc/elf/configure: Regenerate.
72117
72118 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
72119 * sysdeps/sparc/sparc32/elf/configure: Delete.
72120 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
72121 * sysdeps/sparc/sparc64/elf/configure: Delete.
72122 * sysdeps/sparc/elf/configure.in: New file.
72123 * sysdeps/sparc/elf/configure: Generate.
72124
72125 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
72126 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
72127 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
72128 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
72129 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
72130
72131 2012-02-21 Joseph Myers <joseph@codesourcery.com>
72132
72133 * manual/install.texi: Do not mention specific glibc version
72134 numbers.
72135 * manual/libc.texinfo (VERSION, UPDATED): Update.
72136 (@copying): Use @copyright{} and range of years.
72137
72138 2012-02-21 Joseph Myers <joseph@codesourcery.com>
72139
72140 [BZ #13695]
72141 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
72142 [crti.S not in sysdirs] (generated): Do not append.
72143 [crti.S not in sysdirs] (omit-deps): Likewise.
72144 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
72145 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
72146 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
72147 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
72148 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
72149 Likewise.
72150 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
72151 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
72152 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
72153 * csu/defs.awk: Remove file.
72154 * sysdeps/generic/initfini.c: Likewise.
72155 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
72156 variable.
72157 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
72158 Likewise.
72159
72160 2012-02-20 Joseph Myers <joseph@codesourcery.com>
72161
72162 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
72163 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
72164 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
72165 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
72166 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
72167 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
72168 <bits/epoll.h>.
72169 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
72170 (__EPOLL_PACKED): Define to empty if not defined by
72171 <bits/epoll.h>.
72172 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
72173 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72174 bits/epoll.h.
72175
72176 2012-02-20 Joseph Myers <joseph@codesourcery.com>
72177
72178 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
72179 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
72180 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
72181 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
72182 <bits/timerfd.h>.
72183 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
72184 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72185 bits/timerfd.h.
72186
72187 2012-02-20 Joseph Myers <joseph@codesourcery.com>
72188
72189 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
72190 in C locale.
72191 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
72192 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
72193 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
72194 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72195
72196 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
72197
72198 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
72199 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
72200
72201 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
72202
72203 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
72204 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
72205 defined.
72206 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
72207 Likewise.
72208 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
72209 entry for 2.16.
72210
72211 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
72212
72213 * math/w_acos.c: Use non-signaling floating-point comparisons.
72214 * math/w_acosf.c: Likewise.
72215 * math/w_acosh.c: Likewise.
72216 * math/w_acoshf.c: Likewise.
72217 * math/w_acoshl.c: Likewise.
72218 * math/w_acosl.c: Likewise.
72219 * math/w_asin.c: Likewise.
72220 * math/w_asinf.c: Likewise.
72221 * math/w_asinl.c: Likewise.
72222 * math/w_atanh.c: Likewise.
72223 * math/w_atanhf.c: Likewise.
72224 * math/w_atanhl.c: Likewise.
72225 * math/w_exp2.c: Likewise.
72226 * math/w_exp2f.c: Likewise.
72227 * math/w_exp2l.c: Likewise.
72228 * math/w_j0.c: Likewise.
72229 * math/w_j0f.c: Likewise.
72230 * math/w_j0l.c: Likewise.
72231 * math/w_j1.c: Likewise.
72232 * math/w_j1f.c: Likewise.
72233 * math/w_j1l.c: Likewise.
72234 * math/w_jn.c: Likewise.
72235 * math/w_jnf.c: Likewise.
72236 * math/w_log.c: Likewise.
72237 * math/w_log10.c: Likewise.
72238 * math/w_log10f.c: Likewise.
72239 * math/w_log10l.c: Likewise.
72240 * math/w_log2.c: Likewise.
72241 * math/w_log2f.c: Likewise.
72242 * math/w_log2l.c: Likewise.
72243 * math/w_logf.c: Likewise.
72244 * math/w_logl.c: Likewise.
72245 * math/w_sqrt.c: Likewise.
72246 * math/w_sqrtf.c: Likewise.
72247 * math/w_sqrtl.c: Likewise.
72248 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
72249 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
72250 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
72251 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
72252 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
72253
72254 2012-02-19 Joseph Myers <joseph@codesourcery.com>
72255
72256 [BZ #9739]
72257 * manual/string.texi (strnlen): Use correct parameter name in
72258 equivalent expression.
72259
72260 2012-02-19 Joseph Myers <joseph@codesourcery.com>
72261
72262 [BZ #11174]
72263 * manual/users.texi (seteuid): Consistently use neweuid for
72264 argument name.
72265
72266 2012-02-19 Joseph Myers <joseph@codesourcery.com>
72267
72268 [BZ #13704]
72269 * manual/nss.texi (Services in the NSS configuration): Correct
72270 list of services in example configuration file.
72271
72272 2012-02-19 Nick Bowler <nbowler@draconx.ca>
72273
72274 [BZ #11322]
72275 * manual/arith.texi: Remove statements about negative zero
72276 behaving identically to zero.
72277
72278 2012-02-18 Joseph Myers <joseph@codesourcery.com>
72279
72280 [BZ #5993]
72281 * manual/install.texi: Do not document upgrading from libc5.
72282
72283 2012-02-18 Joseph Myers <joseph@codesourcery.com>
72284
72285 [BZ #4596]
72286 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
72287
72288 2012-02-18 David S. Miller <davem@davemloft.net>
72289
72290 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
72291 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
72292 %o7 across the call.
72293 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
72294 instead.
72295 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
72296 SETUP_PIC_REG_LEAF.
72297 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
72298 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
72299 * sysdeps/sparc/crtn.S: Likewise.
72300
72301 2012-02-17 Ulrich Drepper <drepper@gmail.com>
72302
72303 * aout/Makefile: Remove.
72304
72305 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
72306
72307 [BZ #13058]
72308 * manual/examples/argp-ex1.c (main): Format definition in GNU
72309 style.
72310 * manual/examples/argp-ex2.c (main): Likewise.
72311 * manual/examples/argp-ex3.c (main): Likewise.
72312 * manual/examples/argp-ex4.c (main): Likewise.
72313 * manual/examples/longopt.c (main): Use new-style prototype
72314 definition.
72315 * manual/examples/strncat.c (main): Specify return type and use
72316 (void) for arguments.
72317 * manual/examples/subopt.c (main): Use char **argv argument.
72318
72319 2012-02-17 Joseph Myers <joseph@codesourcery.com>
72320
72321 [BZ #5077]
72322 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
72323 rounding modes.
72324
72325 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
72326
72327 [BZ #6907]
72328 * manual/string.texi (strchr): Change when strchrnul is
72329 recommended.
72330
72331 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
72332
72333 [BZ #174]
72334 * manual/locale.texi (setlocale): Document LOCPATH.
72335
72336 2012-02-17 Joseph Myers <joseph@codesourcery.com>
72337
72338 [BZ #10210]
72339 * manual/process.texi (execle): Move @dots{} before last argument.
72340
72341 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
72342
72343 [BZ #12047]
72344 * manual/charset.texi (Generic Charset Conversion): Fix typo
72345 (LC_TYPE -> LC_CTYPE).
72346
72347 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
72348
72349 [BZ #5805]
72350 * manual/arith.texi (scalbn): Use @var{} on parameter names.
72351 (scalbnf): Likewise.
72352 (scalbnl): Likewise.
72353 (scalbln): Likewise.
72354 (scalblnf): Likewise.
72355 (scalblnl): Likewise.
72356 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
72357 (vwarnx): Likewise.
72358 (verr): Likewise.
72359 (verrx): Likewise.
72360 * manual/filesys.texi (telldir): Use braces around return type.
72361 * manual/llio.texi (mmap): Add space after comma.
72362 (mmap64): Likewise.
72363 * manual/math.texi (jn): Use @var{} on parameter names.
72364 (jnf): Likewise.
72365 (jnl): Likewise.
72366 (yn): Likewise.
72367 (ynf): Likewise.
72368 (ynl): Likewise.
72369 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
72370 line.
72371 * manual/resource.texi (ulimit): Use @dots{} instead of literal
72372 "...".
72373 (sched_get_priority_min): Remove semicolon on @deftypefun line.
72374 (sched_get_priority_max): Likewise.
72375 * manual/signal.texi (sigvec): Add space after comma.
72376 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
72377 names.
72378 (if_indextoname): Likewise.
72379 (if_freenameindex): Likewise.
72380 (sendto): Use ',' instead of '.' in prototype.
72381 * manual/startup.texi (syscall): Use @dots{} instead of literal
72382 "...".
72383 * manual/stdio.texi (__fpending): Separate initial words of
72384 paragraph from @deftypefun line.
72385 * manual/syslog.texi (syslog): Use @dots{} instead of literal
72386 "...".
72387 (vsyslog): Use @var{} on parameter names.
72388 * manual/terminal.texi (stty): Use @var{} on parameter names.
72389 * manual/users.texi (getutmp): Use @var{} on parameter names.
72390 (getutmpx): Likewise.
72391
72392 2012-02-17 Joseph Myers <joseph@codesourcery.com>
72393
72394 [BZ #6884]
72395 * manual/stdio.texi (fopen): Fix typos in description of
72396 ",ccs=STRING".
72397
72398 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
72399
72400 [BZ #4026]
72401 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
72402 get clock_id definition.
72403
72404 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
72405
72406 [BZ #4822]
72407 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
72408 (madvise): Cast every argument to void on its own.
72409
72410 2012-02-17 Joseph Myers <joseph@codesourcery.com>
72411
72412 [BZ #9902]
72413 * manual/startup.texi (Exit Status): Fix typo.
72414
72415 2012-02-17 Joseph Myers <joseph@codesourcery.com>
72416
72417 [BZ #10140]
72418 * manual/examples/argp-ex1.c: Include <stdlib.h>.
72419 * manual/examples/argp-ex2.c: Likewise.
72420 * manual/examples/argp-ex3.c: Likewise.
72421
72422 2012-02-16 Richard Henderson <rth@redhat.com>
72423
72424 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
72425 * sysdeps/s390/s390-32/initfini.c: Remove.
72426 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
72427 * sysdeps/s390/s390-64/initfini.c: Remove.
72428
72429 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
72430
72431 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
72432 compiler output for sysdeps/generic/initfini.c.
72433 * sysdeps/sh/elf/initfini.c: Remove file.
72434
72435 2012-02-16 David S. Miller <davem@davemloft.net>
72436
72437 [BZ #11494]
72438 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
72439
72440 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
72441 * sysdeps/sparc/crti.S: New file.
72442 * sysdeps/sparc/crtn.S: New file.
72443 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
72444 * sysdeps/sparc/sparc64/Makefile: Likewise.
72445
72446 2012-02-15 Mike Frysinger <vapier@gentoo.org>
72447
72448 [BZ #3335]
72449 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
72450
72451 2012-02-15 Roland McGrath <roland@hack.frob.com>
72452
72453 [BZ #4822]
72454 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
72455
72456 * mach/devstream.c (cookie_io_functions_t): Macro removed.
72457 (write, read, close): Likewise.
72458 Patch by Aurelien Jarno <aurelien@aurel32.net>.
72459
72460 2012-02-15 Joseph Myers <joseph@codesourcery.com>
72461
72462 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
72463 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
72464 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
72465 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
72466 <bits/signalfd.h>.
72467 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
72468 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72469 bits/signalfd.h.
72470
72471 2012-02-14 Marek Polacek <polacek@redhat.com>
72472
72473 * sysdeps/x86_64/crti.S: New file.
72474 * sysdeps/x86_64/crtn.S: New file.
72475 * sysdeps/x86_64/elf/initfini.c: Remove file.
72476
72477 2012-02-13 Joseph Myers <joseph@codesourcery.com>
72478
72479 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
72480 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
72481 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
72482 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
72483 <bits/inotify.h>.
72484 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
72485 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72486 bits/inotify.h.
72487
72488 2012-02-13 Joseph Myers <joseph@codesourcery.com>
72489
72490 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
72491 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
72492 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
72493 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
72494 <bits/eventfd.h>.
72495 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
72496 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72497 bits/eventfd.h.
72498
72499 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
72500
72501 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
72502 __feraiseexcept instead of feraiseexcept.
72503
72504 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
72505 nanosleep invocations.
72506 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
72507 strings, and add error checking for a nanosleep invocations.
72508
72509 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
72510
72511 Replace FSF snail mail address with URLs, as per GNU coding standards.
72512 Most of the snail mail addresses were wrong anyway, and omitting
72513 them makes the source code easier to maintain. Almost all of the
72514 changes are to license notices and to locale LC_IDENTIFICATION
72515 addresses, except for this one:
72516 * manual/libc.texinfo: In "Published by", give the FSF's URL,
72517 not its snail mail address.
72518
72519 2012-02-09 Richard Henderson <rth@twiddle.net>
72520
72521 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
72522 of kernel-features.h.
72523
72524 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
72525
72526 2012-02-08 Marek Polacek <polacek@redhat.com>
72527
72528 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
72529 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
72530 * sysdeps/gnu/_G_config.h: Likewise.
72531 * sysdeps/generic/_G_config.h: Likewise.
72532
72533 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
72534
72535 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
72536 tests.
72537 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72538
72539 * sysdeps/powerpc/powerpc32/crti.S: New file.
72540 * sysdeps/powerpc/powerpc32/crtn.S: New file.
72541 * sysdeps/powerpc/powerpc64/crti.S: New file.
72542 * sysdeps/powerpc/powerpc64/crtn.S: New file.
72543
72544 * Makeconfig (have-initfini): Don't set.
72545 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
72546 * configure.in (nopic_initfini): Don't substitute.
72547 * config.h.in (HAVE_INITFINI): Don't #undef.
72548 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
72549 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
72550
72551 2012-02-08 Joseph Myers <joseph@codesourcery.com>
72552
72553 Support crti.S and crtn.S provided directly by architectures.
72554 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
72555 [crti.S in sysdirs] (omit-deps): Likewise.
72556 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
72557 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
72558 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
72559 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
72560 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
72561 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
72562 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
72563 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
72564 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
72565 compiler output for sysdeps/generic/initfini.c.
72566 * sysdeps/i386/elf/Makefile: Remove file.
72567 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
72568
72569 2012-02-07 Marek Polacek <polacek@redhat.com>
72570
72571 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
72572 * sysdeps/gnu/_G_config.h: Likewise.
72573 * sysdeps/mach/hurd/_G_config.h: Likewise.
72574
72575 2012-02-07 Marek Polacek <polacek@redhat.com>
72576
72577 * math/Makefile (tests): Add tst-CMPLX2.
72578 * math/tst-CMPLX2.c: New file.
72579
72580 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
72581
72582 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
72583
72584 * math/libm-test.inc (jn_test): Add missing L suffix.
72585
72586 2012-02-06 Marek Polacek <polacek@redhat.com>
72587
72588 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
72589 * sysdeps/i386/fpu/e_powf.S: Likewise.
72590 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
72591 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
72592 * sysdeps/i386/fpu/e_acosh.S: Likewise.
72593 * sysdeps/i386/fpu/e_pow.S: Likewise.
72594 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
72595 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
72596 * sysdeps/i386/fpu/s_expm1.S: Likewise.
72597 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
72598 * sysdeps/i386/fpu/e_log2.S: Likewise.
72599 * sysdeps/i386/fpu/e_log2l.S: Likewise.
72600 * sysdeps/i386/fpu/e_scalb.S: Likewise.
72601 * sysdeps/i386/fpu/e_powl.S: Likewise.
72602 * sysdeps/i386/fpu/s_log1p.S: Likewise.
72603 * sysdeps/i386/fpu/e_log10f.S: Likewise.
72604 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
72605 * sysdeps/i386/fpu/e_logl.S: Likewise.
72606 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
72607 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
72608 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
72609 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
72610 * sysdeps/i386/fpu/e_log2f.S: Likewise.
72611 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
72612 * sysdeps/i386/fpu/e_log.S: Likewise.
72613 * sysdeps/i386/fpu/s_cexp.S: Likewise.
72614 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
72615 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
72616 * sysdeps/i386/fpu/e_logf.S: Likewise.
72617 * sysdeps/i386/fpu/e_log10l.S: Likewise.
72618 * sysdeps/i386/fpu/e_atanh.S: Likewise.
72619 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
72620 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
72621 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
72622 * sysdeps/i386/fpu/e_log10.S: Likewise.
72623 * sysdeps/i386/fpu/s_frexp.S: Likewise.
72624 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
72625 * sysdeps/i386/fpu/s_asinh.S: Likewise.
72626 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
72627 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
72628 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
72629 * sysdeps/i386/asm-syntax.h: Likewise.
72630 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
72631 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
72632 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
72633 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
72634 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
72635 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
72636 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
72637 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
72638 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
72639 * sysdeps/powerpc/sysdep.h: Likewise.
72640 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
72641 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
72642
72643 2012-02-06 Joseph Myers <joseph@codesourcery.com>
72644
72645 [BZ #411]
72646 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
72647
72648 2012-02-06 Joseph Myers <joseph@codesourcery.com>
72649
72650 * sysdeps/i386/sysdep.h: Include <features.h>.
72651 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
72652 version.
72653
72654 2012-02-05 Joseph Myers <joseph@codesourcery.com>
72655
72656 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
72657 Define.
72658 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
72659 LOAD_PIC_REG_STR.
72660
72661 2012-02-03 Joseph Myers <joseph@codesourcery.com>
72662
72663 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
72664 (SETUP_PIC_REG): Use GET_PC_THUNK.
72665 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
72666 macro.
72667
72668 2012-02-03 Joseph Myers <joseph@codesourcery.com>
72669
72670 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
72671 for non-PIC compilation.
72672 (SETUP_PIC_REG): Add .p2align directive.
72673 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
72674 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
72675 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
72676 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
72677 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
72678 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
72679 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
72680 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
72681 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
72682 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
72683 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
72684 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
72685 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
72686 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
72687 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
72688 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
72689 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
72690 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
72691 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
72692 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
72693 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
72694 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
72695 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
72696 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
72697 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
72698 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
72699 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
72700 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
72701 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
72702 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
72703 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
72704 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
72705 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
72706 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
72707 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
72708 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
72709 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
72710 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
72711 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
72712 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
72713 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
72714
72715 2012-02-03 Joseph Myers <joseph@codesourcery.com>
72716
72717 * math/tst-CMPLX.c: Include <stdio.h>.
72718
72719 2012-01-31 Joseph Myers <joseph@codesourcery.com>
72720
72721 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
72722 float.
72723 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
72724 * sysdeps/sparc/bits/mathdef.h: Likewise.
72725
72726 2012-01-31 Marek Polacek <polacek@redhat.com>
72727
72728 * libio/libio.h: Don't define _PARAMS.
72729 * locale/programs/config.h: Don't define PARAMS.
72730 * stdlib/strtol_l.c: Likewise.
72731 (__strtol_l): Remove PARAMS from the prototype.
72732
72733 2012-01-31 Ulrich Drepper <drepper@gmail.com>
72734
72735 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
72736 names. Just use the correct names. Remove unnecessary wrapper
72737 functions.
72738 * malloc/arena.c: Likewise.
72739 * malloc/hooks.c: Likewise.
72740
72741 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
72742 ARENA_TEST says not to. Simplify test for creation of a new arena.
72743 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
72744
72745 2012-01-30 Ulrich Drepper <drepper@gmail.com>
72746
72747 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
72748 into tail calls.
72749 (update_get_addr): New function.
72750 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
72751 GET_ADDR_MODULE parameter.
72752
72753 2012-01-30 Joseph Myers <joseph@codesourcery.com>
72754
72755 * crypt/cert.c: Remove __STDC__ conditionals.
72756 * crypt/crypt-entry.c: Likewise.
72757 * crypt/crypt_util.c: Likewise.
72758 * libio/filedoalloc.c: Likewise.
72759 * libio/fileops.c: Likewise.
72760 * libio/genops.c: Likewise.
72761 * libio/iofclose.c: Likewise.
72762 * libio/iofdopen.c: Likewise.
72763 * libio/iofopen.c: Likewise.
72764 * libio/iofopen64.c: Likewise.
72765 * libio/iogetdelim.c: Likewise.
72766 * libio/iopopen.c: Likewise.
72767 * libio/obprintf.c: Likewise.
72768 * libio/oldfileops.c: Likewise.
72769 * libio/oldiofclose.c: Likewise.
72770 * libio/oldiofdopen.c: Likewise.
72771 * libio/oldiofopen.c: Likewise.
72772 * libio/oldiopopen.c: Likewise.
72773 * libio/wfiledoalloc.c: Likewise.
72774 * libio/wgenops.c: Likewise.
72775 * locale/programs/xmalloc.c: Likewise.
72776 * misc/syslog.c: Likewise.
72777 * stdio-common/xbug.c: Likewise.
72778 * string/memchr.c: Likewise.
72779 * string/memcmp.c: Likewise.
72780 * string/memrchr.c: Likewise.
72781 * string/rawmemchr.c: Likewise.
72782 * sysdeps/posix/getcwd.c: Likewise.
72783 * time/strftime_l.c: Likewise.
72784
72785 2012-01-30 Joseph Myers <joseph@codesourcery.com>
72786
72787 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
72788 * config.make.in (config-cflags-sse2avx): Define.
72789 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
72790 Fix typo.
72791
72792 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
72793
72794 * scripts/config.guess: Update from upstream config git repository.
72795 * scripts/config.sub: Likewise.
72796
72797 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
72798
72799 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
72800 (EM_NUM): Update.
72801 (R_TILEPRO_*, R_TILEGX_*): New macros.
72802
72803 * scripts/firstversions.awk: Fix bug in version range handling.
72804
72805 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
72806
72807 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
72808
72809 * include/sys/epoll.h: New file.
72810 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
72811 libc_hidden_def.
72812
72813 2012-01-28 Ulrich Drepper <drepper@gmail.com>
72814
72815 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
72816 Avoid unnecessary __WORDSIZE == 64 test.
72817 (fmaxf): Use VEX format if possible.
72818 (fmax): Likewise.
72819 (fminf): Likewise.
72820 (fmin): Likewise.
72821
72822 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
72823 * math/math_private.h: Remove libc_fegetround* and
72824 libc_fesetround*.
72825 * sysdeps/i386/configure.in: Check for -msse2avx.
72826 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
72827 also if SSE2AVX is defined.
72828 Remove libc_fegetround* and libc_fesetround*.
72829 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
72830 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
72831 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
72832 of HAS_YMM_USABLE.
72833 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
72834 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
72835 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
72836 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
72837 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
72838
72839 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
72840
72841 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
72842
72843 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
72844 size is not set.
72845 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
72846
72847 2012-01-27 Ulrich Drepper <drepper@gmail.com>
72848
72849 [BZ #13618]
72850 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
72851 relocation.
72852 * Makeconfig (libm): Define.
72853 * elf/Makefile: Add rules to build and run tst-relsort1.
72854 * elf/tst-relsort1.c: New file.
72855 * elf/tst-relsort1mod1.c: New file.
72856 * elf/tst-relsort1mod2.c: New file.
72857
72858 2012-01-27 Joseph Myers <joseph@codesourcery.com>
72859
72860 * math/s_ldexp.c: Remove __STDC__ conditionals.
72861 * math/s_ldexpf.c: Likewise.
72862 * math/s_ldexpl.c: Likewise.
72863 * math/s_nextafter.c: Likewise.
72864 * math/s_nexttowardf.c: Likewise.
72865 * math/s_significand.c: Likewise.
72866 * math/s_significandf.c: Likewise.
72867 * math/s_significandl.c: Likewise.
72868 * math/w_jnl.c: Likewise.
72869 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
72870 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
72871 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
72872 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
72873 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
72874 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
72875 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
72876 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
72877 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
72878 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
72879 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
72880 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
72881 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
72882 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
72883 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
72884 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
72885 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
72886 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
72887 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
72888 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
72889 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
72890 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
72891 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
72892 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
72893 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
72894 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
72895 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
72896 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
72897 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
72898 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
72899 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
72900 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
72901 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
72902 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
72903 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
72904 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
72905 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
72906 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
72907 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
72908 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
72909 * sysdeps/ieee754/k_standard.c: Likewise.
72910 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
72911 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
72912 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
72913 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
72914 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
72915 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
72916 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
72917 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
72918 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
72919 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
72920 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
72921 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
72922 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
72923 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
72924 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
72925 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
72926 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
72927 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
72928 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
72929 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
72930 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
72931 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
72932 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
72933 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
72934 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
72935 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
72936 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
72937 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
72938 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
72939 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
72940 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
72941 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
72942 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
72943 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
72944 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
72945 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
72946 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
72947 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
72948 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
72949 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
72950 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
72951 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
72952 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
72953 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
72954 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
72955 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
72956 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
72957 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
72958 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
72959 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
72960 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
72961 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
72962 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
72963 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
72964 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
72965 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
72966 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
72967 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
72968 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
72969 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
72970 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
72971 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
72972 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
72973 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
72974 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
72975 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
72976 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
72977 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
72978 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
72979 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
72980 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
72981 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
72982 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
72983 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
72984 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
72985 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
72986 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
72987 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
72988 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
72989 * sysdeps/ieee754/s_matherr.c: Likewise.
72990 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
72991 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
72992 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
72993 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
72994
72995 2012-01-26 Joseph Myers <joseph@codesourcery.com>
72996
72997 * crypt/md5.h: Remove __STDC__ conditionals.
72998 * libio/libioP.h: Likewise.
72999 * locale/programs/config.h: Likewise.
73000 * sysdeps/generic/sysdep.h: Likewise.
73001 * sysdeps/i386/asm-syntax.h: Likewise.
73002 * sysdeps/s390/asm-syntax.h: Likewise.
73003 * sysdeps/unix/sysdep.h: Likewise.
73004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
73005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
73006
73007 2012-01-26 Joseph Myers <joseph@codesourcery.com>
73008
73009 * libio/libio.h: Remove __STDC__ conditionals.
73010 * malloc/obstack.h: Likewise.
73011 * math/complex.h: Likewise.
73012 * math/math.h: Likewise.
73013 * sysdeps/generic/_G_config.h: Likewise.
73014 * sysdeps/gnu/_G_config.h: Likewise.
73015 * sysdeps/mach/hurd/_G_config.h: Likewise.
73016 * sysdeps/powerpc/bits/mathdef.h: Likewise.
73017 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
73018 * sysdeps/sparc/bits/mathdef.h: Likewise.
73019
73020 2012-01-26 Ulrich Drepper <drepper@gmail.com>
73021
73022 [BZ #13583]
73023 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
73024 Clean up HAS_* macros.
73025 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
73026 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
73027 possible.
73028 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
73029 HAS_AVX.
73030 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
73031 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
73032 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
73033 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
73034 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
73035
73036 2012-01-25 Joseph Myers <joseph@codesourcery.com>
73037
73038 * elf/tst-unique3.cc (gets): Remove declaration.
73039 * elf/tst-unique3lib.cc (gets): Likewise.
73040 * elf/tst-unique3lib2.cc (gets): Likewise.
73041 * elf/tst-unique4.cc (gets): Likewise.
73042
73043 2012-01-24 Ulrich Drepper <drepper@gmail.com>
73044
73045 * include/stdio.h: Add C++ protection. Add gets declarations and
73046 definitions.
73047 * debug/tst-chk1.c: Don't declare gets here.
73048 * stdio-common/tst-gets.c: Likewise.
73049
73050 2012-01-24 Joseph Myers <joseph@codesourcery.com>
73051
73052 * posix/glob: Remove directory.
73053
73054 2012-01-24 Joseph Myers <joseph@codesourcery.com>
73055
73056 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
73057
73058 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
73059
73060 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
73061 of the non-standard EPFNOSUPPORT.
73062
73063 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
73064
73065 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
73066 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
73067 ANYWHERE set to 1 only on KERN_NO_SPACE error.
73068
73069 2012-01-21 Ulrich Drepper <drepper@gmail.com>
73070
73071 * wcsmbs/uchar.h: Test __STDC_VERSION__.
73072
73073 2012-01-20 Ulrich Drepper <drepper@gmail.com>
73074
73075 * nscd/aicache.c (addhstaiX): Do not cache negative results of
73076 transient errors.
73077 * nscd/grpcache.c (cache_addgr): Likewise.
73078 * nscd/hstcache.c (cache_addhst): Likewise.
73079 * nscd/initgrcache.c (addinitgroupsX): Likewise.
73080 * nscd/pwdcache.c (cache_addpw): Likewise.
73081 * nscd/servicescache.c (cache_addserv): Likewise.
73082
73083 2012-01-16 Ulrich Drepper <drepper@gmail.com>
73084
73085 * malloc/malloc.c: Various cleanups.
73086 * malloc/hooks.c: Likewise.
73087
73088 * stdlib/Makefile (tests): Add bug-fmtmsg1.
73089 * stdlib/bug-fmtmsg1.c: New file.
73090
73091 * stdlib/fmtmsg.c (init): Add missing unlock.
73092 Patch by Peng Haitao <penght@cn.fujitsu.com>.
73093
73094 2012-01-12 Marek Polacek <polacek@redhat.com>
73095
73096 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
73097 and _GNU_SOURCE.
73098
73099 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
73100
73101 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
73102 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
73103 macro to ensure uniqueness of label name.
73104 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
73105 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
73106
73107 2012-01-11 Ulrich Drepper <drepper@gmail.com>
73108
73109 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
73110
73111 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
73112 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
73113 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
73114 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
73115
73116 2012-01-10 Ulrich Drepper <drepper@gmail.com>
73117
73118 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
73119
73120 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
73121 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
73122 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
73123
73124 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
73125
73126 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
73127 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
73128 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
73129 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
73130
73131 * math/bits/math-finite.h: Add ldexp support.
73132
73133 2012-01-10 Marek Polacek <polacek@redhat.com>
73134
73135 * locale/programs/localedef.h (show_archive_content): Add noreturn
73136 attribute.
73137
73138 2012-01-09 Ulrich Drepper <drepper@gmail.com>
73139
73140 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
73141
73142 2012-01-08 Ulrich Drepper <drepper@gmail.com>
73143
73144 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
73145
73146 * io/Makefile (headers): Add bits/poll2.h.
73147
73148 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
73149
73150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
73151 typo #include statement.
73152
73153 2012-01-08 Ulrich Drepper <drepper@gmail.com>
73154
73155 * include/sys/cdefs.h: Define __attribute_alloc_size.
73156 * catgets/gencat.c: Add alloc_size attribute and apply consistently
73157 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
73158 * elf/pldd.c: Likewise.
73159 * iconv/iconv_charmap.c: Likewise.
73160 * iconv/iconvconfig.c: Likewise.
73161 * iconv/strtab.c: Likewise.
73162 * locale/programs/locale.c: Likewise.
73163 * locale/programs/localedef.h: Likewise.
73164 * locale/programs/simple-hash.c: Likewise.
73165 * nscd/nscd.h: Likewise.
73166 * nss/makedb.c: Likewise.
73167 * sysdeps/generic/ldconfig.h: Likewise.
73168 * locale/programs/localedef.c: Remove xmalloc prototype.
73169 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
73170
73171 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
73172
73173 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
73174 appropriate.
73175
73176 2012-01-08 Ulrich Drepper <drepper@gmail.com>
73177
73178 * math/Makefile (tests): Add tst-CMPLX.
73179 * math/tst-CMPLX.c: New file.
73180
73181 * math/complex.h (CMPLXL): Fix typo.
73182
73183 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
73184 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
73185 GLIBC_2.16.
73186 * debug/tst-chk1.c: Add poll and ppoll tests.
73187 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
73188 * include/sys/poll.h: Add hidden proto for ppoll.
73189 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
73190 * sysdeps/mach/hurd/ppoll.c: Likewise.
73191 * io/ppoll.c: Likewise.
73192 * debug/poll_chk.c: New file.
73193 * debug/ppoll_chk.c: New file.
73194 * include/bits/poll2.h: New file.
73195 * io/bits/poll2.h: New file.
73196
73197 [BZ #1350]
73198 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
73199
73200 * configure.in: static is always set to yes. Remove.
73201 * config.make.in: Don't set build-static.
73202 * Makeconfig: Remove use of build-static.
73203 * dlfcn/Makefile: Likewise.
73204 * elf/Makefile: Likewise.
73205 * math/Makefile: Likewise.
73206 * misc/Makefile: Likewise.
73207 * nptl/Makefile: Likewise.
73208 * sysdeps/mach/hurd/Makefile: Likewise.
73209
73210 * configure.in: PWD_P is not used anymore.
73211 * config.make.in: Remove PWD_P entry.
73212
73213 * configure.in: Remove last remnants of RANLIB.
73214 No need to check for signed size_t anymore.
73215 Don't set libc_commonpagesize and libc_relro_required here for Alpha
73216 and IA-64.
73217 Remove __builtin_expect test because we require at least gcc 3.4.
73218 * aclocal.m4: Likewise.
73219
73220 * wcsmbs/mbrtoc16.c: Implement using towc function.
73221 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
73222 * wcsmbs/wcsmbsload.c: Likewise.
73223 * iconv/gconv_simple.c: Likewise.
73224 * iconv/gconv_int.h: Likewise.
73225 * iconv/gconv_builtin.h: Likewise.
73226 * iconv/iconv_prog.c: Remove CHAR16 handling.
73227
73228 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
73229
73230 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
73231
73232 * configure.in: Remove --with-elf and --enable-bounded options.
73233 Dont set base_machine for ia64. More non-ELF conditions removed.
73234 Remove testing and setting of leading underscore information.
73235 * config.make.in (build-bounded): Set to no.
73236 * config.h.in: Remove NO_UNDERSCORES entry.
73237 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
73238 them.
73239 * csu/start.c: Remove !NO_UNDERSCORE code.
73240 * locale/localeinfo.h: Likewise.
73241 * sysdeps/generic/machine-gmon.h: Likewise.
73242 * sysdeps/generic/sysdep.h: Likewise.
73243 * sysdeps/i386/sysdep.h: Likewise.
73244 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
73245 * sysdeps/mach/sysdep.h: Likewise.
73246 * sysdeps/s390/s390-32/sysdep.h: Likewise.
73247 * sysdeps/s390/s390-64/sysdep.h: Likewise.
73248 * sysdeps/sh/sysdep.h: Likewise.
73249 * sysdeps/sparc/sparc32/alloca.S: Likewise.
73250 * sysdeps/unix/i386/sysdep.S: Likewise.
73251 * sysdeps/unix/sparc/start.c: Likewise.
73252 * sysdeps/unix/sparc/sysdep.S: Likewise.
73253 * sysdeps/unix/sparc/sysdep.h: Likewise.
73254 * sysdeps/unix/start.c: Likewise.
73255 * sysdeps/unix/x86_64/sysdep.S: Likewise.
73256 * sysdeps/x86_64/sysdep.h: Likewise.
73257
73258 2012-01-07 Ulrich Drepper <drepper@gmail.com>
73259
73260 [BZ #13553]
73261 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
73262 for non-gcc.
73263 * argp/argp-fmtstream.h: Use const instead __const.
73264 * argp/argp.h: Likewise.
73265 * assert/assert.h: Likewise.
73266 * bits/fenv.h: Likewise.
73267 * bits/sched.h: Likewise.
73268 * bits/sigset.h: Likewise.
73269 * bits/sigthread.h: Likewise.
73270 * catgets/nl_types.h: Likewise.
73271 * conform/data/pthread.h-data: Likewise.
73272 * crypt/crypt-private.h: Likewise.
73273 * crypt/crypt.h: Likewise.
73274 * crypt/crypt_util.c: Likewise.
73275 * ctype/ctype.h: Likewise.
73276 * debug/execinfo.h: Likewise.
73277 * debug/mbsnrtowcs_chk.c: Likewise.
73278 * debug/mbsrtowcs_chk.c: Likewise.
73279 * debug/wcsnrtombs_chk.c: Likewise.
73280 * debug/wcsrtombs_chk.c: Likewise.
73281 * debug/wcstombs_chk.c: Likewise.
73282 * dirent/dirent.h: Likewise.
73283 * dlfcn/dlfcn.h: Likewise.
73284 * elf/neededtest4.c: Likewise.
73285 * grp/grp.h: Likewise.
73286 * gshadow/gshadow.h: Likewise.
73287 * iconv/gconv.h: Likewise.
73288 * iconv/gconv_int.h: Likewise.
73289 * iconv/gconv_simple.c: Likewise.
73290 * iconv/iconv.h: Likewise.
73291 * iconv/loop.c: Likewise.
73292 * iconv/skeleton.c: Likewise.
73293 * include/aio.h: Likewise.
73294 * include/aliases.h: Likewise.
73295 * include/argz.h: Likewise.
73296 * include/arpa/inet.h: Likewise.
73297 * include/assert.h: Likewise.
73298 * include/dirent.h: Likewise.
73299 * include/dlfcn.h: Likewise.
73300 * include/execinfo.h: Likewise.
73301 * include/fcntl.h: Likewise.
73302 * include/fenv.h: Likewise.
73303 * include/glob.h: Likewise.
73304 * include/grp.h: Likewise.
73305 * include/libintl.h: Likewise.
73306 * include/mntent.h: Likewise.
73307 * include/netdb.h: Likewise.
73308 * include/pwd.h: Likewise.
73309 * include/rpc/netdb.h: Likewise.
73310 * include/sched.h: Likewise.
73311 * include/search.h: Likewise.
73312 * include/shadow.h: Likewise.
73313 * include/signal.h: Likewise.
73314 * include/stdio.h: Likewise.
73315 * include/stdlib.h: Likewise.
73316 * include/string.h: Likewise.
73317 * include/sys/socket.h: Likewise.
73318 * include/sys/stat.h: Likewise.
73319 * include/sys/statfs.h: Likewise.
73320 * include/sys/statvfs.h: Likewise.
73321 * include/sys/syslog.h: Likewise.
73322 * include/sys/time.h: Likewise.
73323 * include/sys/uio.h: Likewise.
73324 * include/time.h: Likewise.
73325 * include/unistd.h: Likewise.
73326 * include/utmp.h: Likewise.
73327 * include/wchar.h: Likewise.
73328 * include/wctype.h: Likewise.
73329 * inet/aliases.h: Likewise.
73330 * inet/arpa/inet.h: Likewise.
73331 * inet/netinet/ether.h: Likewise.
73332 * inet/netinet/in.h: Likewise.
73333 * intl/libintl.h: Likewise.
73334 * io/bits/fcntl2.h: Likewise.
73335 * io/fcntl.h: Likewise.
73336 * io/ftw.h: Likewise.
73337 * io/sys/poll.h: Likewise.
73338 * io/sys/stat.h: Likewise.
73339 * io/sys/statfs.h: Likewise.
73340 * io/sys/statvfs.h: Likewise.
73341 * io/utime.h: Likewise.
73342 * libio/bits/stdio.h: Likewise.
73343 * libio/bits/stdio2.h: Likewise.
73344 * libio/libio.h: Likewise.
73345 * libio/libioP.h: Likewise.
73346 * libio/stdio.h: Likewise.
73347 * locale/lc-ctype.c: Likewise.
73348 * locale/locale.h: Likewise.
73349 * login/utmp.h: Likewise.
73350 * malloc/arena.c: Likewise.
73351 * malloc/malloc.c: Likewise.
73352 * malloc/malloc.h: Likewise.
73353 * malloc/mcheck.c: Likewise.
73354 * malloc/mtrace.c: Likewise.
73355 * math/bits/mathcalls.h: Likewise.
73356 * math/fenv.h: Likewise.
73357 * math/math_private.h: Likewise.
73358 * misc/bits/error.h: Likewise.
73359 * misc/bits/syslog.h: Likewise.
73360 * misc/err.h: Likewise.
73361 * misc/error.h: Likewise.
73362 * misc/fstab.h: Likewise.
73363 * misc/mntent.h: Likewise.
73364 * misc/regexp.h: Likewise.
73365 * misc/search.h: Likewise.
73366 * misc/sgtty.h: Likewise.
73367 * misc/sys/mman.h: Likewise.
73368 * misc/sys/syslog.h: Likewise.
73369 * misc/sys/uio.h: Likewise.
73370 * misc/sys/xattr.h: Likewise.
73371 * misc/ttyent.h: Likewise.
73372 * nis/rpcsvc/ypclnt.h: Likewise.
73373 * nss/nss.h: Likewise.
73374 * posix/bits/unistd.h: Likewise.
73375 * posix/fnmatch.h: Likewise.
73376 * posix/glob.h: Likewise.
73377 * posix/sched.h: Likewise.
73378 * posix/spawn.h: Likewise.
73379 * posix/sys/wait.h: Likewise.
73380 * posix/unistd.h: Likewise.
73381 * posix/wordexp.h: Likewise.
73382 * pwd/pwd.h: Likewise.
73383 * resolv/netdb.h: Likewise.
73384 * resource/sys/resource.h: Likewise.
73385 * rt/aio.h: Likewise.
73386 * rt/bits/mqueue2.h: Likewise.
73387 * rt/mqueue.h: Likewise.
73388 * shadow/shadow.h: Likewise.
73389 * signal/signal.h: Likewise.
73390 * socket/send.c: Likewise.
73391 * socket/sendto.c: Likewise.
73392 * socket/sys/socket.h: Likewise.
73393 * stdio-common/printf.h: Likewise.
73394 * stdlib/bits/stdlib.h: Likewise.
73395 * stdlib/fmtmsg.h: Likewise.
73396 * stdlib/monetary.h: Likewise.
73397 * stdlib/stdlib.h: Likewise.
73398 * stdlib/ucontext.h: Likewise.
73399 * streams/stropts.h: Likewise.
73400 * string/argz.h: Likewise.
73401 * string/bits/string2.h: Likewise.
73402 * string/string.h: Likewise.
73403 * string/strings.h: Likewise.
73404 * sunrpc/rpc/auth.h: Likewise.
73405 * sunrpc/rpc/auth_des.h: Likewise.
73406 * sunrpc/rpc/clnt.h: Likewise.
73407 * sunrpc/rpc/netdb.h: Likewise.
73408 * sunrpc/rpc/pmap_clnt.h: Likewise.
73409 * sunrpc/rpc/xdr.h: Likewise.
73410 * sysdeps/generic/inttypes.h: Likewise.
73411 * sysdeps/generic/net/if.h: Likewise.
73412 * sysdeps/generic/sys/swap.h: Likewise.
73413 * sysdeps/gnu/net/if.h: Likewise.
73414 * sysdeps/gnu/utmpx.h: Likewise.
73415 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
73416 * sysdeps/i386/i486/bits/string.h: Likewise.
73417 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
73418 * sysdeps/s390/bits/string.h: Likewise.
73419 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
73420 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
73421 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
73422 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
73423 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
73424 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
73425 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
73426 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
73427 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
73428 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
73429 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
73430 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
73431 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
73432 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
73433 * sysdeps/unix/sysv/linux/readv.c: Likewise.
73434 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
73435 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
73436 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
73437 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
73438 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
73439 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
73440 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
73441 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
73442 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
73443 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
73444 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
73445 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
73446 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
73447 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
73448 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
73449 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
73450 * sysvipc/sys/ipc.h: Likewise.
73451 * sysvipc/sys/msg.h: Likewise.
73452 * sysvipc/sys/sem.h: Likewise.
73453 * sysvipc/sys/shm.h: Likewise.
73454 * termios/termios.h: Likewise.
73455 * time/sys/time.h: Likewise.
73456 * time/time.h: Likewise.
73457 * wcsmbs/bits/wchar2.h: Likewise.
73458 * wcsmbs/uchar.h: Likewise.
73459 * wcsmbs/wchar.h: Likewise.
73460 * wctype/wctype.h: Likewise.
73461
73462 [BZ #13551]
73463 * Makeconfig: Remove all but ELF support including AIX support.
73464 * Makerules: Likewise.
73465 * config.h.in: Likewise.
73466 * config.make.in: Likewise.
73467 * configure: Likewise.
73468 * configure.in: Likewise.
73469 * csu/Makefile: Likewise.
73470 * csu/version.c: Likewise.
73471 * debug/Makefile: Likewise.
73472 * dlfcn/Makefile: Likewise.
73473 * elf/Makefile: Likewise.
73474 * extra-lib.mk: Likewise.
73475 * iconv/Makefile: Likewise.
73476 * include/libc-symbols.h: Likewise.
73477 * include/shlib-compat.h: Likewise.
73478 * resolv/Makefile: Likewise.
73479 * resolv/res_libc.c: Likewise.
73480 * rt/Makefile: Likewise.
73481 * sysdeps/i386/asm-syntax.h: Likewise.
73482 * sysdeps/i386/sysdep.h: Likewise.
73483 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
73484 * sysdeps/mach/sysdep.h: Likewise.
73485 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
73486 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
73487 * sysdeps/s390/asm-syntax.h: Likewise.
73488 * sysdeps/s390/s390-32/sysdep.h: Likewise.
73489 * sysdeps/s390/s390-64/sysdep.h: Likewise.
73490 * sysdeps/sh/sysdep.h: Likewise.
73491 * sysdeps/unix/sparc/sysdep.h: Likewise.
73492 * sysdeps/wordsize-32/divdi3.c: Likewise.
73493 * sysdeps/x86_64/sysdep.h: Likewise.
73494
73495 * argp/Versions: Remove _argp_unlock_xxx.
73496
73497 [BZ #13559]
73498 * abilist/ld.abilist: Update. Adjust for removal of tls option.
73499 * abilist/libBrokenLocale.abilist: Likewise.
73500 * abilist/libanl.abilist: Likewise.
73501 * abilist/libc.abilist: Likewise.
73502 * abilist/libcrypt.abilist: Likewise.
73503 * abilist/libdl.abilist: Likewise.
73504 * abilist/libm.abilist: Likewise.
73505 * abilist/libnsl.abilist: Likewise.
73506 * abilist/libpthread.abilist: Likewise.
73507 * abilist/libresolv.abilist: Likewise.
73508 * abilist/librt.abilist: Likewise.
73509 * abilist/libthread_db.abilist: Likewise.
73510 * abilist/libutil.abilist: Likewise.
73511 * abilist/libnss_db.abilist: New file.
73512
73513 * scripts/abilist.awk: Add support for indirect functions.
73514
73515 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
73516
73517 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
73518
73519 * shlib-versions: Remove entries for ports architectures.
73520
73521 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
73522 files in ports.
73523 * elf/stackguard-macros.h: Remove support for IA-64.
73524 * elf/tst-auditmod1.c: Likewise.
73525 * sysdeps/generic/ldsodefs.h: Likewise.
73526
73527 * sysdeps/unix/sysv/linux/configure.in: Ports should define
73528 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
73529 configure files.
73530
73531 [BZ #13552]
73532 * configure.in: Remove --enable-omitfp support.
73533 * FAQ.in: Adjust.
73534 * config.make.in: Likewise.
73535 * Makeconfig: Likewise.
73536 * manual/install.texi: Likewise.
73537
73538 In case anyone cares, the IA-64 architecture could move to ports.
73539 * sysdeps/ia64/*: Removed.
73540 * sysdeps/unix/sysv/linux/ia64/*: Removed.
73541 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
73542
73543 [BZ #13555]
73544 * configure.in: Remove entries for unsupported architectures.
73545
73546 [BZ #13533]
73547 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
73548 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
73549 routines.
73550 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
73551 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
73552 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
73553 fall back to using wcrtomb.
73554 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
73555 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
73556 renaming.
73557 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
73558 * wcsmbs/tst-c16c32-1.c: New file.
73559
73560 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
73561 local variable.
73562
73563 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
73564
73565 * elf/tst-unique3.cc: Add explicit declaration of gets.
73566 * elf/tst-unique3lib.cc: Likewise.
73567 * elf/tst-unique3lib2.cc: Likewise.
73568 * elf/tst-unique4.cc: Likewise.
73569
73570 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
73571
73572 2012-01-06 Joseph Myers <joseph@codesourcery.com>
73573
73574 [BZ #13566]
73575 * assert/assert.h (static_assert): Don't define for C++.
73576 * libio/stdio.h (gets): Do declare for C++ <= C++11.
73577 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
73578
73579 2012-01-03 Ulrich Drepper <drepper@gmail.com>
73580
73581 * iconv/loop.c (single loop): Fix assertion in storing of
73582 remaining bytes.
73583
73584 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
73585
73586 2012-01-01 Ulrich Drepper <drepper@gmail.com>
73587
73588 * posix/getconf.c: Update copyright year.
73589 * nss/getent.c: Likewise.
73590 * nss/makedb.c: Likewise.
73591 * iconv/iconvconfig.c: Likewise.
73592 * iconv/iconv_prog.c: Likewise.
73593 * elf/ldconfig.c: Likewise.
73594 * elf/pldd.c: Likewise.
73595 * elf/sotruss.ksh: Likewise.
73596 * catgets/gencat.c: Likewise.
73597 * csu/version.c: Likewise.
73598 * elf/ldd.bash.in: Likewise.
73599 * elf/sprof.c (print_version): Likewise.
73600 * locale/programs/locale.c: Likewise.
73601 * locale/programs/localedef.c: Likewise.
73602 * login/programs/pt_chown.c: Likewise.
73603 * nscd/nscd.c (print_version): Likewise.
73604 * debug/xtrace.sh: Likewise.
73605 * malloc/memusage.sh: Likewise.
73606 * malloc/mtrace.pl: Likewise.
73607 * debug/catchsegv.sh: Likewise.
73608
73609 2011-12-30 Jakub Jelinek <jakub@redhat.com>
73610
73611 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
73612 pure attribute.
73613
73614 2011-12-24 Ulrich Drepper <drepper@gmail.com>
73615
73616 [BZ #13533]
73617 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
73618 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
73619 transformations.
73620 * iconv/gconv_int.h: Likewise.
73621 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
73622 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
73623 from libc for GLIBC_2.16.
73624 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
73625 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
73626 * wcsmbs/uchar.h: Really define mbstate_t.
73627 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
73628 * wcsmbs/c16rtomb.c: New file.
73629 * wcsmbs/mbrtoc16.c: New file.
73630 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
73631 for C/POSIX locale.
73632 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
73633 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
73634
73635 * wcsmbs/wchar.h: Add missing __restrict.
73636
73637 2011-12-23 Ulrich Drepper <drepper@gmail.com>
73638
73639 [BZ #13532]
73640 * time/Makefile (routines): Add timespec_get.
73641 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
73642 * time/time.h: Define TIME_UTC and declare timespec_get. Define
73643 timespec for ISO C11.
73644 * time/timespec_get.c: New file.
73645 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
73646 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
73647
73648 [BZ #13531]
73649 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
73650 * stdlib/stdlib.h: Declare aligned_alloc.
73651 * Versions.def: Add GLIBC_2.16 for libc.
73652 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
73653
73654 [BZ 13527]
73655 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
73656 ISO C11.
73657
73658 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
73659 code.
73660
73661 [BZ #13528]
73662 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
73663
73664 [BZ #13529]
73665 * assert/assert.h (static_assert): Define.
73666
73667 * version.h: Update for 2.16 development version.
73668
73669 [BZ #13526]
73670 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
73671 _ISOC11_SOURCE.
73672
73673 * version.h (RELEASE): Bump for 2.15 release.
73674 * include/features.h (__GLIBC_MINOR__): Bump to 15.
73675
73676 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
73677 Patch by Marek Polacek <mpolacek@redhat.com>.
73678
73679 * bits/byteswap.h: Protect long long constants with __extension__.
73680 * sysdeps/i386/bits/byteswap.h: Likewise.
73681 * sysdeps/ia64/bits/byteswap.h: Likewise.
73682 * sysdeps/s390/bits/byteswap.h: Likewise.
73683 * sysdeps/x86_64/bits/byteswap.h: Likewise.
73684
73685 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
73686
73687 [BZ #13540]
73688 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
73689 destination buffer.
73690 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
73691
73692 2011-12-23 Marek Polacek <polacek@redhat.com>
73693
73694 * elf/dl-addr.c (determine_info): Add inline keyword.
73695 * elf/tst-auditmod4b.c (check_avx): Likewise.
73696 * elf/tst-auditmod6b.c (check_avx): Likewise.
73697 * elf/tst-auditmod6c.c (check_avx): Likewise.
73698 * elf/tst-auditmod7b.c (check_avx): Likewise.
73699
73700 2011-12-23 Ulrich Drepper <drepper@gmail.com>
73701
73702 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
73703 !__SSE_MATH__.
73704
73705 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
73706
73707 [BZ #13540]
73708 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
73709 processing for last bytes.
73710
73711 2011-08-06 Bruno Haible <bruno@clisp.org>
73712
73713 [BZ #13061]
73714 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
73715 U+0385, not to U+1FEE.
73716
73717 [BZ #13062]
73718 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
73719 entry for U+00A5 U+0301.
73720
73721 2011-12-22 Ulrich Drepper <drepper@gmail.com>
73722
73723 [BZ #13166]
73724 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
73725 buffer for the output is too small.
73726
73727 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
73728 optimization.
73729
73730 [BZ #13185]
73731 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
73732 SSE flags if possible.
73733
73734 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
73735
73736 [BZ #13540]
73737 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
73738 processing for last bytes.
73739
73740 2011-12-22 Joseph Myers <joseph@codesourcery.com>
73741
73742 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
73743 (syscall-list-default-options, syscall-list-default-condition)
73744 (syscall-list-includes): Define.
73745 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
73746 list of ABIs and options and #if conditions for each ABI. Do not
73747 handle common syscalls between ABIs specially.
73748 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
73749 Remove.
73750 (syscall-list-variants, syscall-list-32bit-options)
73751 (syscall-list-32bit-condition, syscall-list-64bit-options)
73752 (syscall-list-64bit-condition): Define.
73753 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
73754 (syscall-list-variants, syscall-list-32bit-options)
73755 (syscall-list-32bit-condition, syscall-list-64bit-options)
73756 (syscall-list-64bit-condition): Define.
73757 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
73758 Remove.
73759 (syscall-list-variants, syscall-list-32bit-options)
73760 (syscall-list-32bit-condition, syscall-list-64bit-options)
73761 (syscall-list-64bit-condition): Define.
73762 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
73763 Remove.
73764 (syscall-list-variants, syscall-list-32bit-options)
73765 (syscall-list-32bit-condition, syscall-list-64bit-options)
73766 (syscall-list-64bit-condition): Define.
73767
73768 2011-12-22 Ulrich Drepper <drepper@gmail.com>
73769
73770 * locale/iso-639.def: Add brx entry.
73771
73772 [BZ #13328]
73773 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
73774 Proposed by Mariusz_Cukr <marcukr@op.pl>.
73775
73776 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
73777 __feraiseexcept_renamed.
73778
73779 2011-12-21 Ulrich Drepper <drepper@gmail.com>
73780
73781 [BZ #13538]
73782 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
73783 EPOLLET with unsigned values.
73784 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
73785 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
73786
73787 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
73788 to large cancellation.
73789 * math/s_cacoshf.c: Likewise.
73790 * math/s_cacoshl.c: Likewise.
73791
73792 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
73793
73794 [BZ #13305]
73795 [BZ #12786]
73796 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
73797 * math/s_cacoshf.c: Likewise.
73798 * math/s_cacoshl.c: Likewise.
73799
73800 2011-12-21 Ulrich Drepper <drepper@gmail.com>
73801
73802 [BZ #13439]
73803 * iconv/gconv.h: Define __GCONV_SWAP.
73804 * iconvdata/unicode.c: The swap bit must be stored in __flags.
73805 * iconvdata/utf-16.c: Likewise.
73806 * iconvdata/utf-32.c: Likewise.
73807
73808 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
73809
73810 [BZ #13524]
73811 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
73812 numerator after shifting it by one limb.
73813
73814 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
73815
73816 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
73817 under [__USE_EXTERN_INLINES].
73818
73819 2011-12-17 Ulrich Drepper <drepper@gmail.com>
73820
73821 [BZ #13446]
73822 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
73823
73824 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
73825
73826 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
73827 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
73828 optimized code.
73829 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
73830 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
73831 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
73832 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
73833 for strncasecmp/strncasecmp_l compilation.
73834 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
73835 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
73836
73837 2011-12-08 Marek Polacek <mpolacek@redhat.com>
73838
73839 [BZ #13484]
73840 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
73841 of __asm__.
73842
73843 2011-12-17 Ulrich Drepper <drepper@gmail.com>
73844
73845 [BZ #13506]
73846 * time/tzfile.c (__tzfile_read): Check values from file header.
73847
73848 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
73849
73850 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
73851 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
73852 * powerpc/powerpc32/dl-start.S: Likewise.
73853 * powerpc/powerpc32/elf/start.S: Likewise.
73854 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
73855 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
73856 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
73857 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
73858 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
73859 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
73860 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
73861 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
73862 * powerpc/powerpc32/fpu/s_round.S: Likewise.
73863 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
73864 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
73865 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
73866 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
73867 * powerpc/powerpc32/memset.S: Likewise.
73868 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
73869 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
73870 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
73871 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
73872 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
73873 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
73874 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
73875 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
73876 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
73877 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
73878 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
73879 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
73880 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
73881
73882 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
73883
73884 * math/libm-test.inc: Added more nearbyint tests.
73885 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
73886 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
73887 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
73888 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
73889
73890 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
73891
73892 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
73893 FD_CLOEXEC.
73894
73895 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
73896
73897 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
73898 Add wcscpy-ssse3 wcscpy-c.
73899 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
73900 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
73901 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
73902 * sysdeps/x86_64/wcschr.S: New file.
73903 * sysdeps/x86_64/wcsrchr.S: New file.
73904 * string/test-strcmp.c: Remove checking of wcscmp function for
73905 wrong alignments.
73906 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
73907 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
73908 wcsrchr-sse2 wcsrchr-c.
73909 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
73910 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
73911 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
73912 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
73913 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
73914 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
73915 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
73916 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
73917 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
73918 * wcsmbc/wcschr.c (WCSCHR): New macro.
73919
73920 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
73921
73922 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
73923 * wcsmbs/test-wcsrchr.c: New file.
73924 * string/test-strrchr.c: Add wcsrchr support.
73925 (WIDE): New macro.
73926 * wcsmbs/test-wcscpy.c: New file.
73927 * string/test-strcpy.c: Add wcscpy support.
73928 (WIDE): New macro.
73929
73930 2011-12-10 Ulrich Drepper <drepper@gmail.com>
73931
73932 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
73933 the inner loop.
73934
73935 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
73936
73937 [BZ #13472]
73938 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
73939
73940 2011-12-04 Ulrich Drepper <drepper@gmail.com>
73941
73942 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
73943 Minor optimizations.
73944
73945 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
73946 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
73947 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
73948
73949 2011-12-03 Ulrich Drepper <drepper@gmail.com>
73950
73951 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
73952 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
73953 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
73954 for gcc to avoid warnings.
73955 * inet/Makefile (tests): Add tst-checks.
73956 * inet/tst-checks.c: New file.
73957
73958 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
73959 warning.
73960
73961 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
73962 __wmemcmp_sse2.
73963
73964 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
73965 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
73966
73967 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
73968
73969 2011-12-02 Ulrich Drepper <drepper@gmail.com>
73970
73971 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
73972 problem.
73973
73974 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
73975
73976 2011-11-29 Joseph Myers <joseph@codesourcery.com>
73977
73978 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
73979 conditional on GCC version.
73980 (__arch_compare_and_exchange_val_8_acq)
73981 (__arch_compare_and_exchange_val_16_acq)
73982 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
73983 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
73984 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
73985
73986 2011-12-02 Joseph Myers <joseph@codesourcery.com>
73987
73988 * sysdeps/sh/backtrace.c: New file.
73989
73990 2011-12-02 Andreas Schwab <schwab@redhat.com>
73991
73992 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
73993 parenthesis.
73994
73995 2011-12-01 Andreas Schwab <schwab@redhat.com>
73996
73997 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
73998 falling back to utime.
73999
74000 2011-11-30 Andreas Schwab <schwab@redhat.com>
74001
74002 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
74003 expectations for float.
74004
74005 2011-11-29 Andreas Schwab <schwab@redhat.com>
74006
74007 * locale/weight.h (findidx): Add parameter len.
74008 * locale/weightwc.h (findidx): Likewise.
74009 * posix/fnmatch_loop.c (FCT): Adjust caller.
74010 * posix/regcomp.c (build_equiv_class): Likewise.
74011 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
74012 * posix/regexec.c (check_node_accept_bytes): Likewise.
74013 * string/strcoll_l.c (STRCOLL): Likewise.
74014 * string/strxfrm_l.c (STRXFRM): Likewise.
74015
74016 2011-11-17 Ulrich Drepper <drepper@gmail.com>
74017
74018 * Makefile.in: Remove CVSOPT handling.
74019 * configure.in: Remove use of AC_REVISION.
74020 * iconvdata/Makefile (distribute): No need to filter out CVS.
74021 * scripts/list-sources.sh: Remove CVS, subversion and monotone
74022 handling.
74023
74024 2011-11-16 Andreas Schwab <schwab@redhat.com>
74025
74026 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
74027 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
74028 [USE_AS_STRNCASECMP_L]: Likewise.
74029 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
74030 NO_TLS_DIRECT_SEG_REFS.
74031 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
74032 Fix argument offsets for non-PIC.
74033 [USE_AS_STRNCASECMP_L]: Likewise.
74034 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
74035 NO_TLS_DIRECT_SEG_REFS.
74036
74037 2011-11-15 Ulrich Drepper <drepper@gmail.com>
74038
74039 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
74040 O_CLOEXEC.
74041 * locale/loadlocale.c (_nl_load_locale): Likewise.
74042
74043 2011-11-15 Andreas Schwab <schwab@redhat.com>
74044
74045 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
74046 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
74047 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
74048 (SYSCALL_GETTIME): Set errno on error.
74049
74050 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
74051 count references to noai6ai_cached.
74052
74053 2011-11-15 Ulrich Drepper <drepper@gmail.com>
74054
74055 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
74056
74057 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
74058 FD_CLOEXEC for /proc/self/maps.
74059
74060 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
74061 FD_CLOEXEC for /proc/meminfo.
74062
74063 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
74064 gai.conf.
74065
74066 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
74067 FD_CLOEXEC for given file.
74068
74069 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
74070
74071 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
74072 FD_CLOEXEC for /etc/hosts.
74073 (_gethtent): Likewise.
74074
74075 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
74076
74077 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
74078 cancellation and set FD_CLOEXEC for /etc/netgroup.
74079
74080 * nss/nss_files/files-key.c (search): Don't allow cancellation when
74081 reading /etc/publickey.
74082
74083 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
74084 allow cancellation when reading /etc/group.
74085
74086 * nss/nss_files/files-alias.c (internal_setent): Don't allow
74087 cancellation.
74088 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
74089
74090 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
74091 when using data file.
74092
74093 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
74094
74095 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
74096 (write_nis_obj): Use "c" and "e" in fopen.
74097
74098 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
74099
74100 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
74101
74102 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
74103
74104 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
74105
74106 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
74107 locale.alias.
74108
74109 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
74110
74111 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
74112
74113 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
74114
74115 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
74116 file parsing and set FD_CLOEXEC.
74117
74118 2011-11-14 Ulrich Drepper <drepper@gmail.com>
74119
74120 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
74121
74122 2011-11-14 Andreas Schwab <schwab@redhat.com>
74123
74124 * malloc/arena.c (arena_get2): Don't call reused_arena when
74125 _int_new_arena failed.
74126
74127 2011-11-14 Ulrich Drepper <drepper@gmail.com>
74128
74129 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
74130 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
74131 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
74132 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
74133 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
74134 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
74135 to compile strcasecmp and strncasecmp.
74136 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
74137 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
74138
74139 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
74140
74141 2011-11-13 Ulrich Drepper <drepper@gmail.com>
74142
74143 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
74144 locale-defines.sym to gen-as-const-headers.
74145 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
74146 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
74147 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
74148 to compile strcasecmp and strncasecmp.
74149 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
74150 strcasecmp_l and strncasecmp_l.
74151 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
74152 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
74153 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
74154 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
74155 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
74156 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
74157 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
74158 * sysdeps/i386/i686/multiarch/strncase.S: New file.
74159 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
74160 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
74161 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
74162
74163 2011-11-12 Ulrich Drepper <drepper@gmail.com>
74164
74165 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
74166 result of SYSDEP_GETTIME_CPU to retval.
74167 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
74168 parameter list to macro. Remove trailing semicolon. Adjust users.
74169
74170 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
74171 variable.
74172
74173 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
74174 mantissa words.
74175 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
74176
74177 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
74178 from unused variable.
74179
74180 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
74181 DWARF definitions.
74182 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
74183 for assembling.
74184
74185 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
74186 over namespaces.
74187
74188 * sunrpc/rpc_prot.c (rejected): Fix case value.
74189
74190 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
74191 unsigned long long int to avoid warnings in shift.
74192
74193 * posix/regex_internal.c (re_string_reconstruct): Actually use result
74194 of use of trans.
74195 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
74196 variable tmp.
74197
74198 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
74199 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
74200 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
74201
74202 * nis/nis_table.c (nis_list): Use variable of correct type for
74203 result of __follow_path call.
74204
74205 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
74206
74207 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
74208 of math functions ceil, trunc, floor, round, and sqrt, when
74209 avaliable on the platform.
74210 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
74211 name clash.
74212 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
74213 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
74214 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
74215
74216 2011-10-30 Marek Polacek <mpolacek@redhat.com>
74217
74218 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
74219 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
74220
74221 2011-11-11 Roland McGrath <roland@hack.frob.com>
74222
74223 * include/unistd.h: Fix __readlink return type.
74224 Reported by Chris Metcalf <cmetcalf@tilera.com>.
74225
74226 2011-11-11 Ulrich Drepper <drepper@gmail.com>
74227
74228 * stdlib/ucontext.h: Undo last change for makecontext.
74229
74230 2011-11-11 Andreas Schwab <schwab@redhat.com>
74231
74232 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
74233
74234 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
74235 * setjmp/setjmp.h: Mark functions as non-leaf.
74236 * setjmp/bits/setjmp2.h: Likewise.
74237 * stdlib/ucontext.h: Likewise.
74238
74239 2011-11-10 Andreas Schwab <schwab@redhat.com>
74240
74241 * malloc/arena.c (_int_new_arena): Don't increment narenas.
74242 (reused_arena): Don't check arena limit.
74243 (arena_get2): Atomically check arena limit.
74244
74245 2011-11-08 Ulrich Drepper <drepper@gmail.com>
74246
74247 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
74248 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
74249
74250 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
74251 instructions.
74252
74253 2011-11-07 Andreas Schwab <schwab@redhat.com>
74254
74255 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
74256 handler when locking.
74257
74258 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
74259 Fix size of allocated buffer.
74260
74261 2011-11-04 Andreas Schwab <schwab@redhat.com>
74262
74263 [BZ #10103]
74264 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
74265 declarations for long double functions.
74266 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
74267
74268 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
74269
74270 2011-11-03 Andreas Schwab <schwab@redhat.com>
74271
74272 * nscd/nscd.c (main): Don't start AVC thread until credentials are
74273 installed.
74274
74275 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
74276 is disabled.
74277
74278 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
74279
74280 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
74281
74282 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
74283
74284 * include/alloca.h (stackinfo_alloca_round): Define.
74285 (extend_alloca): Use it.
74286 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
74287 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
74288 here.
74289
74290 * scripts/check-local-headers.sh: Ignore libaudit.h.
74291
74292 * nscd/Makefile (extra-objs): Make recursively expanded.
74293
74294 2011-11-01 Ulrich Drepper <drepper@gmail.com>
74295
74296 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
74297 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
74298
74299 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
74300 * posix/tst-rfc3484-2.c: Likewise.
74301 * posix/tst-rfc3484-3.c: Likewise.
74302
74303 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
74304 process_vm_writev.
74305 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
74306 process_vm_writev.
74307 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
74308 process_vm_writev from libc using GLIBC_2.15 version.
74309
74310 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
74311
74312 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
74313
74314 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
74315 stack usage.
74316
74317 2011-10-31 Ulrich Drepper <drepper@gmail.com>
74318
74319 [BZ #13367]
74320 * nss/getent.c (initgroups_keys): Show error message in case no group
74321 names are given.
74322
74323 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
74324 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
74325 __bump_nl_timestamp.
74326 * nscd/connections (nscd_init): When host database is served open
74327 netlink socket and request notification about configuration changes.
74328 (main_loop_poll): Track netlink file descriptor and bump timestamp
74329 in case data becomes available.
74330 (main_loop_epoll): Likewise.
74331 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
74332 (database_pers_head): Add extra_data fileds.
74333 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
74334 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
74335 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
74336 Adjust caller.
74337 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
74338 in6ai data, call __free_in6ai.
74339 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
74340 Add -DHAVE_NETLINK.
74341 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
74342 interface information. Reuse previous data if netlink timestamp
74343 is not changed.
74344 (__bump_nl_timestamp): New function.
74345 (__free_in6ai): New function.
74346
74347 2011-10-30 Ulrich Drepper <drepper@gmail.com>
74348
74349 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
74350 close_not_cancel_no_status here.
74351 (__check_pf): Reorganize code a bit to not call close twice if OOM.
74352
74353 2011-10-29 Ulrich Drepper <drepper@gmail.com>
74354
74355 [BZ #13276]
74356 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
74357 return value.
74358
74359 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
74360 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
74361 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
74362
74363 2011-07-03 Andreas Jaeger <aj@suse.de>
74364
74365 [BZ #10709]
74366 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
74367 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
74368 * math/libm-test.inc (sin_test): Add test case.
74369
74370 2011-10-29 Ulrich Drepper <drepper@gmail.com>
74371
74372 [BZ #13337]
74373 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
74374 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
74375
74376 * elf/chroot_canon.c (chroot_canon): Cleanups.
74377
74378 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
74379
74380 [BZ #13335]
74381 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
74382 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
74383
74384 * string/test-strchr.c: Make usable for strchrnul testing.
74385 * string/test-strchrnul.c: New file.
74386 * string/Makefile (strop-tests): Add strchrnul.
74387
74388 * po/it.po: Update from translation team.
74389 * po/es.po: Likewise.
74390
74391 2011-10-28 Ulrich Drepper <drepper@gmail.com>
74392
74393 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
74394 the three constants needed as parameters. Drop the others.
74395 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
74396 __m128i_strloadu_tolower.
74397 Create and initialize variable zero and use it in all the places
74398 where _mm_setzero_si128 was used.
74399
74400 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
74401 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
74402 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
74403 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
74404 anymore.
74405 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
74406 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
74407 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
74408 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
74409 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
74410 __mpranred, __mptan.
74411 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
74412 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
74413 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
74414 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
74415 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
74416 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
74417 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
74418 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
74419 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
74420
74421 2011-10-28 Andreas Schwab <schwab@redhat.com>
74422
74423 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
74424 redefine if SHARED.
74425 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
74426
74427 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
74428 wide char related routines to wcsmbs subdir.
74429
74430 2011-10-27 Andreas Schwab <schwab@redhat.com>
74431
74432 [BZ #13344]
74433 * misc/sys/cdefs.h (__THROWNL): Define.
74434 * posix/unistd.h: Use __THREADNL instead of __THREAD
74435 for memory synchronization functions.
74436
74437 2011-10-26 Roland McGrath <roland@hack.frob.com>
74438
74439 [BZ #13349]
74440 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
74441 doesn't exist.
74442 * manual/stdio.texi (Obstack Streams): Node removed.
74443
74444 2011-10-26 Andreas Schwab <schwab@redhat.com>
74445
74446 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
74447 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
74448 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
74449
74450 * math/math_private.h (math_force_eval): Allow non-addressable
74451 arguments.
74452 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
74453
74454 2011-10-25 Ulrich Drepper <drepper@gmail.com>
74455
74456 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
74457 file is not needed.
74458
74459 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
74460 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
74461 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
74462 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
74463 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
74464 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
74465 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
74466 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
74467 Add AVX variants.
74468 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
74469 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
74470 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
74471 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
74472 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
74473 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
74474 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
74475 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
74476 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
74477 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
74478 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
74479 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
74480 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
74481 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
74482 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
74483 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
74484 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
74485 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
74486 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
74487
74488 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
74489 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
74490
74491 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
74492 place. Use VEX encoding when compiling for AVX.
74493
74494 2011-10-25 Andreas Schwab <schwab@redhat.com>
74495
74496 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
74497 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
74498
74499 * string/test-strchr.c (do_test): Don't generate NUL bytes.
74500
74501 2011-10-25 Ulrich Drepper <drepper@gmail.com>
74502
74503 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
74504 useless if() expression.
74505 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
74506 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
74507 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
74508 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
74509 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
74510 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
74511 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
74512 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
74513 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
74514 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
74515 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
74516 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
74517 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
74518 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
74519 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
74520 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
74521 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
74522 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
74523 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
74524
74525 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
74526
74527 2011-10-25 Andreas Schwab <schwab@redhat.com>
74528
74529 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
74530 condition.
74531 * elf/dl-fini.c (_dl_sort_fini): Likewise.
74532
74533 2011-10-25 Ulrich Drepper <drepper@gmail.com>
74534
74535 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
74536 .text section. Avoid duplicate constants.
74537 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
74538 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74539 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
74540 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74541 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
74542 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74543 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74544 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74545 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
74546 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
74547 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
74548 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
74549 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
74550 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
74551 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
74552 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
74553 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
74554 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
74555 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
74556 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
74557 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
74558 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
74559 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
74560 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
74561 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
74562 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
74563 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
74564 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
74565 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
74566 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
74567 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
74568 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
74569 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
74570 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
74571 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
74572 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
74573 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
74574 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
74575 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
74576 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
74577 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
74578 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
74579 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
74580 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
74581 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
74582
74583 2011-10-24 Ulrich Drepper <drepper@gmail.com>
74584
74585 * sysdeps/x86_64/dla.h: Move to ...
74586 * sysdeps/x86_64/fpu/dla.h: ...here.
74587 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
74588 situations. Use __builtin_fma only for gcc 4.6 and up.
74589
74590 * config.make.in: Add have-mfma4 entry.
74591 * configure.in: Substitute libc_cv_cc_fma4.
74592 * math/Makefile (dbl-only-routines): Add sincostab.
74593 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
74594 Use __sincostab not sincos.
74595 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
74596 name is a macro.
74597 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
74598 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74599 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74600 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
74601 using __copysign.
74602 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
74603 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
74604 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
74605 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
74606 and __inv.
74607 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
74608 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
74609 __copysign.
74610 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
74611 define aliases when function name is a macro.
74612 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
74613 sysdeps/ieee754/dbl-64/sincos.tbl.
74614 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
74615 fma4-enabled routines.
74616 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
74617 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
74618 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
74619 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
74620 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
74621 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
74622 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
74623 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
74624 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
74625 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
74626 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
74627 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
74628 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
74629 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
74630 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
74631 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
74632 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
74633 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
74634 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
74635 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
74636 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
74637 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
74638 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
74639 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
74640 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
74641 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
74642 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
74643 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
74644 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
74645 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
74646
74647 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
74648 rename.
74649 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74650 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74651 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74652 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74653 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74654 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74655 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
74656 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
74657
74658 2011-10-24 Andreas Schwab <schwab@redhat.com>
74659
74660 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
74661
74662 2011-10-23 Ulrich Drepper <drepper@gmail.com>
74663
74664 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
74665
74666 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
74667 prediction.
74668 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
74669
74670 * string/strnlen.c: Don't define STRNLEN, reverse logic.
74671 Remove unused variable magic_bits.
74672 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
74673
74674 * string/strnlen.c: Define and use STRNLEN macro.
74675 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
74676 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
74677 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
74678 * wcsmbs/wcslen.c: Define and use WCSLEN.
74679 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
74680 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
74681 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
74682 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
74683 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
74684 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
74685 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
74686
74687 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
74688
74689 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74690 strnlen-sse2-no-bsf.
74691 Rename strlen-no-bsf to strlen-sse2-no-bsf.
74692 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
74693 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
74694 Add strnlen support.
74695 (USE_AS_STRNLEN): New macro.
74696 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
74697 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
74698 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
74699 * sysdeps/x86_64/wcslen.S: New file.
74700
74701 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
74702
74703 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
74704 XMM-moves are used for copying on small sizes.
74705
74706 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
74707
74708 * wcsmbs/Makefile (strop-tests): Add wcschr.
74709 * wcsmbs/test-wcschr.c: New file.
74710 * string/test-strchr.c: Update.
74711 Add wcschr support.
74712 (WIDE): New macro.
74713
74714 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
74715
74716 * wcsmbs/Makefile (strop-tests): Add wcslen.
74717 * wcsmbs/test-wcslen.c: New file.
74718 * string/test-strlen.c: Update.
74719 Add wcslen support.
74720 (WIDE): New macro.
74721
74722 2011-10-23 Ulrich Drepper <drepper@gmail.com>
74723
74724 * po/it.po: Update from translation team.
74725
74726 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
74727
74728 * sysdeps/x86_64/wcscmp.S: Update.
74729 Fix wrong comparison semantics.
74730 wcscmp shall use signed comparison not unsigned.
74731 Don't use substraction to avoid overflow bug.
74732 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
74733 * wcsmbc/wcscmp.c: Likewise.
74734 * string/test-strcmp.c: Likewise.
74735 Add new tests to check cases with negative values.
74736
74737 2011-10-23 Ulrich Drepper <drepper@gmail.com>
74738
74739 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
74740 * sysdeps/x86_64/dla.h: ...here. New file.
74741 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
74742 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74743 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74744 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74745 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74746 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
74747 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74748 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
74749 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
74750
74751 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
74752
74753 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
74754 __ynl_finite aliases.
74755
74756 2011-10-22 Ulrich Drepper <drepper@gmail.com>
74757
74758 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74759
74760 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
74761 define DLA_FMA.
74762 [DLA_FMA] (EMULV): Use DLA_FMA.
74763 [DLA_FMA] (MUL12): Use EMULV.
74764 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
74765 that are not needed.
74766 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74767 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74768 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74769 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74770 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74771 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
74772 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
74773
74774 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
74775
74776 * math/s_nan.c: Undef __nan.
74777 * math/s_nanf.c: Undef __nanf.
74778 * math/s_nanl.c: Undef __nanl.
74779 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
74780 "math_private.h".
74781
74782 2011-10-22 Ulrich Drepper <drepper@gmail.com>
74783
74784 * math/s_catan.c: Add branch predictions.
74785 * math/s_catanf.c: Likewise.
74786 * math/s_catanh.c: Likewise.
74787 * math/s_catanhf.c: Likewise.
74788 * math/s_catanhl.c: Likewise.
74789 * math/s_catanl.c: Likewise.
74790 * math/s_cexp.c: Likewise.
74791 * math/s_cexpf.c: Likewise.
74792 * math/s_cexpl.c: Likewise.
74793 * math/s_clog.c: Likewise.
74794 * math/s_clog10.c: Likewise.
74795 * math/s_clog10f.c: Likewise.
74796 * math/s_clog10l.c: Likewise.
74797 * math/s_clogf.c: Likewise.
74798 * math/s_clogl.c: Likewise.
74799 * math/s_csqrt.c: Likewise.
74800 * math/s_csqrtf.c: Likewise.
74801 * math/s_csqrtl.c: Likewise.
74802 * math/s_ctanf.c: Likewise.
74803 * math/s_ctanh.c: Likewise.
74804 * math/s_ctanhf.c: Likewise.
74805 * math/s_ctanhl.c: Likewise.
74806 * math/s_ctanl.c: Likewise.
74807
74808 * math/math_private.h: Define __nan, __nanf, __nanl.
74809 * math/s_cacosh.c: Include <math_private.h>.
74810 * math/s_cacoshl.c: Likewise.
74811 * math/s_casinh.c: Likewise.
74812 * math/s_casinhf.c: Likewise.
74813 * math/s_casinhl.c: Likewise.
74814 * math/s_ccos.c: Rely entire on ccosh.
74815 * math/s_ccosf.c: Rely entire on ccoshf.
74816 * math/s_ccosl.c: Rely entirely on ccoshl.
74817 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
74818 Remove tests for FE_INVALID.
74819 * math/s_ccoshf.c: Likewise.
74820 * math/s_ccoshl.c: Likewise.
74821 * math/s_csin.c: Likewise.
74822 * math/s_csinf.c: Likewise.
74823 * math/s_csinh.c Likewise.
74824 * math/s_csinhf.c: Likewise.
74825 * math/s_csinhl.c: Likewise.
74826 * math/s_csinl.c: Likewise.
74827 * math/s_ctan.c: Likewise.
74828 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
74829 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
74830 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
74831
74832 2011-10-21 Ulrich Drepper <drepper@gmail.com>
74833
74834 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
74835 compilation problems.
74836
74837 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
74838 __builtin_expect.
74839
74840 2011-10-20 Ulrich Drepper <drepper@gmail.com>
74841
74842 * sysdeps/i386/configure.in: Test for -mfma4 option.
74843 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
74844 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
74845 COMMON_CPUID_INDEX_80000001.
74846 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
74847 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
74848 use it if FMA3 is not supported.
74849 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
74850
74851 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
74852 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
74853
74854 2011-10-20 Andreas Schwab <schwab@redhat.com>
74855
74856 [BZ #12892]
74857 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
74858 it would create a cycle with a link time dependency.
74859
74860 2011-10-19 Ulrich Drepper <drepper@gmail.com>
74861
74862 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
74863 instruction.
74864 * string/Makefile (strop-tests): Add rawmemchr.
74865 * string/test-rawmemchr.c: New file.
74866
74867 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
74868 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
74869 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
74870 when compiling str{,n}casecmp and when AVX is available. Hook up
74871 new optimized code in initializers.
74872
74873 2011-10-19 Andreas Schwab <schwab@redhat.com>
74874
74875 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
74876 __feraiseexcept instead of feraiseexcept.
74877
74878 2011-10-18 Ulrich Drepper <drepper@gmail.com>
74879
74880 * math/math_private.h: Define defaults for libc_fetestexcept and
74881 libc_feupdateenv.
74882 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
74883 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
74884 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
74885 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
74886 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
74887 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
74888 libc_fetestexcept and libc_feupdateenv.
74889
74890 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
74891 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
74892 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
74893 * sysdeps/x86_64/fpu/math_private.h: Define special version of
74894 libc_feholdexcept_setround.
74895
74896 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
74897 Add s_nearbyint-c and s_nearbyintf-c.
74898 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
74899 nearbyintf inlines.
74900 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
74901 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
74902 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
74903 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
74904
74905 * math/math_private.h: Define defaults for libc_fegetround,
74906 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
74907 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
74908 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
74909 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
74910 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
74911 standard functions.
74912 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
74913 Remove comments and hacks for old compiler versions.
74914 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
74915 libc_fegetround, libc_fesetround, libc_feholdexcept, and
74916 libc_feholdexceptl.
74917
74918 2011-10-18 Andreas Schwab <schwab@redhat.com>
74919
74920 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
74921 (__feraiseexcept_renamed): Add __NTH.
74922 (feraiseexcept): Add __NTH. Rename local variables to fix
74923 namespace violations.
74924
74925 2011-10-17 Ulrich Drepper <drepper@gmail.com>
74926
74927 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
74928
74929 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
74930
74931 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
74932 recently added interfaces.
74933 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
74934
74935 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
74936 about macro parameter expansion.
74937
74938 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
74939 __NO_MATH_INLINES is defined. Cleanups.
74940
74941 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
74942 and __floorf is target has SSE4.1.
74943 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
74944 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
74945 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
74946 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
74947
74948 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
74949 name.
74950 (floorf): Likewise.
74951
74952 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
74953
74954 2011-10-17 Andreas Schwab <schwab@redhat.com>
74955
74956 * misc/sys/cdefs.h: Fix last change.
74957
74958 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
74959 database lookup.
74960
74961 2011-10-16 Ulrich Drepper <drepper@gmail.com>
74962
74963 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
74964
74965 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
74966 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
74967 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
74968 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
74969 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
74970 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
74971 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
74972 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
74973 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
74974 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
74975 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
74976 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
74977 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
74978 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
74979 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
74980 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
74981 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
74982 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
74983 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
74984 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
74985 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
74986 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
74987
74988 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
74989 ceil, ceilf, floor, floorf.
74990
74991 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
74992 Perform IRELATIVE relocations last.
74993
74994 * elf/do-rel.h: Add another parameter nrelative, replacing the
74995 local variable with the same name. Change name of the function
74996 to end in Rel or Rela (uppercase).
74997 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
74998 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
74999 elf_dynamic_do_##reloc function.
75000
75001 2011-10-15 Ulrich Drepper <drepper@gmail.com>
75002
75003 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
75004 is sufficient, at least on modern CPUs.
75005
75006 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
75007
75008 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
75009 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
75010
75011 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
75012 __expl_finite.
75013 * math/bits/math-finite.h: Add entries for exp.
75014 * math/e_expl.c: Add __*_finite alias.
75015 * sysdeps/i386/fpu/e_exp.S: Likewise.
75016 * sysdeps/i386/fpu/e_expf.S: Likewise.
75017 * sysdeps/i386/fpu/e_expl.c: Likewise.
75018 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
75019 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
75020 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
75021 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
75022 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
75023 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
75024 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
75025
75026 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
75027 is sufficient, at least on modern CPUs.
75028
75029 * ctype/ctype-info.c (__ctype_init): Define.
75030 * include/ctype.h (__ctype_init): Declare.
75031 (__ctype_b_loc): The variable is always initialized.
75032 (__ctype_toupper_loc): Likewise.
75033 (__ctype_tolower_loc): Likewise.
75034 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
75035 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
75036
75037 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
75038
75039 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
75040
75041 * configure.in: Also look in $cxxmachine/include for C++ system
75042 headers.
75043
75044 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
75045
75046 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
75047 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
75048 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
75049 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
75050 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
75051 (USE_AS_WMEMCMP): New macro.
75052 Fixing indents.
75053 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
75054 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
75055 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
75056 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
75057 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75058 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
75059 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
75060 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
75061 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
75062 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
75063 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
75064 (USE_AS_WMEMCMP): New macro.
75065 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
75066 * sysdeps/string/test-memcmp.c: Update.
75067 Fix simple_wmemcmp.
75068 Add new tests.
75069 * wcsmbs/wmemcmp.c: Update.
75070 (WMEMCMP): New macro.
75071 Fix overflow bug.
75072
75073 2011-10-12 Andreas Jaeger <aj@suse.de>
75074
75075 [BZ #13268]
75076 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
75077
75078 2011-10-15 Ulrich Drepper <drepper@gmail.com>
75079
75080 * libio/iofwide.c (do_length): Avoid warning.
75081
75082 * ctype/ctype.h (__isctype_f): Add missing __THROW.
75083
75084 2011-10-14 Ulrich Drepper <drepper@gmail.com>
75085
75086 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
75087
75088 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
75089 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
75090 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
75091 * sysdeps/i386/i686/fpu/e_log.S: New file.
75092 * sysdeps/i386/i686/fpu/e_logf.S: New file.
75093 * sysdeps/i386/i686/fpu/e_logl.S: New file.
75094
75095 * ctype/ctype.h: Add support for inlined isXXX functions when
75096 compiling C++ code.
75097
75098 2011-10-14 Andreas Schwab <schwab@redhat.com>
75099
75100 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
75101
75102 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
75103
75104 2011-10-13 Roland McGrath <roland@hack.frob.com>
75105
75106 [BZ #13291]
75107 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
75108
75109 2011-10-13 Andreas Schwab <schwab@redhat.com>
75110
75111 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
75112 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
75113 feraiseexcept.
75114
75115 * sysdeps/x86_64/memrchr.S: Check for zero size.
75116
75117 * string/stratcliff.c: Add memrchr tests.
75118
75119 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
75120
75121 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75122 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
75123 rawmemchr-sse2 rawmemchr-sse2-bsf.
75124 * sysdeps/i386/i686/multiarch/memchr.S: New file.
75125 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
75126 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
75127 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
75128 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
75129 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
75130 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
75131 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
75132 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
75133 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
75134 * string/memrchr.c (MEMRCHR): New macro.
75135
75136 2011-10-12 Ulrich Drepper <drepper@gmail.com>
75137
75138 Add integration with gcc's -ffinite-math-only and optimize wrapper
75139 functions in libm.
75140 * Versions.def: Define GLIBC_2.15 version for libm.
75141 * math/Makefile (headers): Add bits/math-finite.h.
75142 * math/bits/math-finite.h: New file.
75143 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
75144 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
75145 * math/e_acoshl.c: Add __*_finite alias.
75146 * math/e_acosl.c: Likewise.
75147 * math/e_asinl.c: Likewise.
75148 * math/e_atan2l.c: Likewise.
75149 * math/e_atanhl.c: Likewise.
75150 * math/e_coshl.c: Likewise.
75151 * math/e_exp10.c: Likewise.
75152 * math/e_exp10f.c: Likewise.
75153 * math/e_exp10l.c: Likewise.
75154 * math/e_exp2l.c: Likewise.
75155 * math/e_fmodl.c: Likewise.
75156 * math/e_gammal_r.c: Likewise.
75157 * math/e_hypotl.c: Likewise.
75158 * math/e_j0l.c: Likewise.
75159 * math/e_j1l.c: Likewise.
75160 * math/e_jnl.c: Likewise.
75161 * math/e_lgammal_r.c: Likewise.
75162 * math/e_log10l.c: Likewise.
75163 * math/e_log2l.c: Likewise.
75164 * math/e_logl.c: Likewise.
75165 * math/e_powl.c: Likewise.
75166 * math/e_sinhl.c: Likewise.
75167 * math/e_sqrtl.c: Likewise.
75168 * math/e_scalb.c: Completely rewritten and optimized.
75169 * math/e_scalbf.c: Likewise.
75170 * math/e_scalbl.c: Likewise.
75171 * math/w_acos.c: Likewise.
75172 * math/w_acosf.c: Likewise.
75173 * math/w_acosl.c: Likewise.
75174 * math/w_acosh.c: Likewise.
75175 * math/w_acoshf.c: Likewise.
75176 * math/w_acoshl.c: Likewise.
75177 * math/w_asin.c: Likewise.
75178 * math/w_asinf.c: Likewise.
75179 * math/w_asinl.c: Likewise.
75180 * math/w_atan2.c: Likewise.
75181 * math/w_atan2f.c: Likewise.
75182 * math/w_atan2l.c: Likewise.
75183 * math/w_atanh.c: Likewise.
75184 * math/w_atanhf.c: Likewise.
75185 * math/w_atanhl.c: Likewise.
75186 * math/w_exp10.c: Likewise.
75187 * math/w_exp10f.c: Likewise.
75188 * math/w_exp10l.c: Likewise.
75189 * math/w_fmod.c: Likewise.
75190 * math/w_fmodf.c: Likewise.
75191 * math/w_fmodl.c: Likewise.
75192 * math/w_j0.c: Likewise.
75193 * math/w_j0f.c: Likewise.
75194 * math/w_j0l.c: Likewise.
75195 * math/w_j1.c: Likewise.
75196 * math/w_j1f.c: Likewise.
75197 * math/w_j1l.c: Likewise.
75198 * math/w_jn.c: Likewise.
75199 * math/w_jnf.c: Likewise.
75200 * math/w_log.c: Likewise.
75201 * math/w_logf.c: Likewise.
75202 * math/w_logl.c: Likewise.
75203 * math/w_log10.c: Likewise.
75204 * math/w_log10f.c: Likewise.
75205 * math/w_log10l.c: Likewise.
75206 * math/w_log2.c: Likewise.
75207 * math/w_log2f.c: Likewise.
75208 * math/w_log2l.c: Likewise.
75209 * math/w_pow.c: Likewise.
75210 * math/w_powf.c: Likewise.
75211 * math/w_powl.c: Likewise.
75212 * math/w_remainder.c: Likewise.
75213 * math/w_remainderf.c: Likewise.
75214 * math/w_remainderl.c: Likewise.
75215 * math/w_scalb.c: Likewise.
75216 * math/w_scalbf.c: Likewise.
75217 * math/w_scalbl.c: Likewise.
75218 * math/w_sqrt.c: Likewise.
75219 * math/w_sqrtf.c: Likewise.
75220 * math/w_sqrtl.c: Likewise.
75221 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
75222 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
75223 used.
75224 * math/math_private.h: Declare __kernel_standard_f.
75225 * math/w_cosh.c: Remove cruft and optimize a bit.
75226 * math/w_coshf.c: Likewise.
75227 * math/w_coshl.c: Likewise.
75228 * math/w_exp2.c: Likewise.
75229 * math/w_exp2f.c: Likewise.
75230 * math/w_exp2l.c: Likewise.
75231 * math/w_hypot.c: Likewise.
75232 * math/w_hypotf.c: Likewise.
75233 * math/w_hypotl.c: Likewise.
75234 * math/w_lgamma.c: Likewise.
75235 * math/w_lgamma_r.c: Likewise.
75236 * math/w_lgammaf.c: Likewise.
75237 * math/w_lgammaf_r.c: Likewise.
75238 * math/w_lgammal.c: Likewise.
75239 * math/w_lgammal_r.c: Likewise.
75240 * math/w_sinh.c: Likewise.
75241 * math/w_sinhf.c: Likewise.
75242 * math/w_sinhl.c: Likewise.
75243 * math/w_tgamma.c: Likewise.
75244 * math/w_tgammaf.c: Likewise.
75245 * math/w_tgammal.c: Likewise.
75246 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
75247 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
75248 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
75249 Minor optimizations. Pretty printing. Remove cruft.
75250 * sysdeps/i386/fpu/e_acosf.S: Likewise.
75251 * sysdeps/i386/fpu/e_acosh.S: Likewise.
75252 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
75253 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
75254 * sysdeps/i386/fpu/e_acosl.c: Likewise.
75255 * sysdeps/i386/fpu/e_asin.S: Likewise.
75256 * sysdeps/i386/fpu/e_asinf.S: Likewise.
75257 * sysdeps/i386/fpu/e_atan2.S: Likewise.
75258 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
75259 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
75260 * sysdeps/i386/fpu/e_atanh.S: Likewise.
75261 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
75262 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
75263 * sysdeps/i386/fpu/e_exp10.S: Likewise.
75264 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
75265 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
75266 * sysdeps/i386/fpu/e_exp2.S: Likewise.
75267 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
75268 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
75269 * sysdeps/i386/fpu/e_fmod.S: Likewise.
75270 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
75271 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
75272 * sysdeps/i386/fpu/e_hypot.S: Likewise.
75273 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
75274 * sysdeps/i386/fpu/e_log.S: Likewise.
75275 * sysdeps/i386/fpu/e_log10.S: Likewise.
75276 * sysdeps/i386/fpu/e_log10f.S: Likewise.
75277 * sysdeps/i386/fpu/e_log10l.S: Likewise.
75278 * sysdeps/i386/fpu/e_log2.S: Likewise.
75279 * sysdeps/i386/fpu/e_log2f.S: Likewise.
75280 * sysdeps/i386/fpu/e_log2l.S: Likewise.
75281 * sysdeps/i386/fpu/e_logf.S: Likewise.
75282 * sysdeps/i386/fpu/e_logl.S: Likewise.
75283 * sysdeps/i386/fpu/e_pow.S: Likewise.
75284 * sysdeps/i386/fpu/e_powf.S: Likewise.
75285 * sysdeps/i386/fpu/e_powl.S: Likewise.
75286 * sysdeps/i386/fpu/e_remainder.S: Likewise.
75287 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
75288 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
75289 * sysdeps/i386/fpu/e_scalb.S: Likewise.
75290 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
75291 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
75292 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
75293 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
75294 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
75295 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
75296 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
75297 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75298 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
75299 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
75300 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
75301 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
75302 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
75303 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
75304 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
75305 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
75306 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
75307 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75308 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
75309 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
75310 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75311 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
75312 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
75313 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
75314 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75315 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
75316 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
75317 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
75318 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
75319 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
75320 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
75321 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
75322 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
75323 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
75324 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
75325 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
75326 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
75327 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
75328 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
75329 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
75330 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
75331 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
75332 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
75333 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
75334 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
75335 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
75336 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
75337 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
75338 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
75339 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
75340 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
75341 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
75342 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
75343 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
75344 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
75345 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
75346 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
75347 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
75348 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
75349 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
75350 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
75351 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
75352 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
75353 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
75354 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
75355 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
75356 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
75357 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
75358 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
75359 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
75360 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
75361 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
75362 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
75363 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
75364 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
75365 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
75366 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
75367 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
75368 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
75369 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
75370 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
75371 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
75372 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
75373 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
75374 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
75375 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
75376 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
75377 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
75378 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
75379 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
75380 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
75381 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
75382 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
75383 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
75384 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
75385 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
75386 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
75387 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
75388 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
75389 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
75390 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
75391 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
75392 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
75393 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
75394 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
75395 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
75396 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
75397 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
75398 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
75399 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
75400 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
75401 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
75402 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
75403 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
75404 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
75405 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
75406 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
75407 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
75408 (__isnanf): Likewise.
75409 (__isinf_ns): Likewise.
75410 (__isinf_nsf): Likewise.
75411 (__finite): Likewise.
75412 (__finitef): Likewise.
75413 (__ieee754_sqrt): Define as macro.
75414 (__ieee754_sqrtf): Define as macro.
75415 (__ieee754_sqrtl): Define as macro.
75416 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
75417 inlined copy.
75418 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
75419 __FINITE_MATH_ONLY__ consistent.
75420 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
75421
75422 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
75423
75424 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
75425 of rawmemchr.
75426
75427 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
75428
75429 2011-10-09 Ulrich Drepper <drepper@gmail.com>
75430
75431 * po/ja.po: Update from translation team.
75432
75433 2011-10-08 Roland McGrath <roland@hack.frob.com>
75434
75435 * locale/programs/locarchive.c (prepare_address_space): New function.
75436 (create_archive, enlarge_archive, open_archive): Use it.
75437
75438 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
75439 inside [SHARED], where it is used.
75440
75441 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
75442
75443 * nss/getent.c (netgroup_keys): Remove unused variable.
75444 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
75445
75446 2011-10-08 Ulrich Drepper <drepper@gmail.com>
75447
75448 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
75449 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
75450 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
75451 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
75452 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
75453 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
75454 * math/Makefile (libm-calls): Add s_isinf_ns.
75455 * math/divtc3.c: Use __isinf_nsl instead of isinf.
75456 * math/multc3.c: Likewise.
75457 * math/s_casin.c: Likewise.
75458 * math/s_casinf.c: Likewise.
75459 * math/s_casinl.c: Likewise.
75460 * math/s_ccos.c: Likewise.
75461 * math/s_ccosf.c: Likewise.
75462 * math/s_ccosl.c: Likewise.
75463 * math/s_ctan.c: Likewise.
75464 * math/s_ctanf.c: Likewise.
75465 * math/s_ctanh.c: Likewise.
75466 * math/s_ctanhf.c: Likewise.
75467 * math/s_ctanhl.c: Likewise.
75468 * math/s_ctanl.c: Likewise.
75469 * math/w_fmod.c: Likewise.
75470 * math/w_fmodf.c: Likewise.
75471 * math/w_fmodl.c: Likewise.
75472 * math/w_remainder.c: Likewise.
75473 * math/w_remainderf.c: Likewise.
75474 * math/w_remainderl.c: Likewise.
75475 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
75476 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
75477 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
75478 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
75479 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
75480 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
75481 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
75482 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
75483
75484 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
75485 of the number.
75486 * stdio-common/printf_fphex.c: Likewise.
75487 * stdio-common/printf_size.c: Likewise.
75488
75489 * math/e_exp10.c: Include math_private.h using <...> not "...".
75490 * math/e_exp10f.c: Likewise.
75491 * math/e_exp10l.c: Likewise.
75492 * math/e_exp2l.c: Likewise.
75493 * math/e_j0l.c: Likewise.
75494 * math/e_j1l.c: Likewise.
75495 * math/e_jnl.c: Likewise.
75496 * math/e_lgammal_r.c: Likewise.
75497 * math/e_rem_pio2l.c: Likewise.
75498 * math/e_scalb.c: Likewise.
75499 * math/e_scalbf.c: Likewise.
75500 * math/e_scalbl.c: Likewise.
75501 * math/k_cosl.c: Likewise.
75502 * math/k_sinl.c: Likewise.
75503 * math/k_tanl.c: Likewise.
75504 * math/s_cacoshf.c: Likewise.
75505 * math/s_catan.c: Likewise.
75506 * math/s_catanf.c: Likewise.
75507 * math/s_catanh.c: Likewise.
75508 * math/s_catanhf.c: Likewise.
75509 * math/s_catanhl.c: Likewise.
75510 * math/s_catanl.c: Likewise.
75511 * math/s_ccosh.c: Likewise.
75512 * math/s_ccoshf.c: Likewise.
75513 * math/s_ccoshl.c: Likewise.
75514 * math/s_cexp.c: Likewise.
75515 * math/s_cexpf.c: Likewise.
75516 * math/s_cexpl.c: Likewise.
75517 * math/s_clog.c: Likewise.
75518 * math/s_clog10.c: Likewise.
75519 * math/s_clog10f.c: Likewise.
75520 * math/s_clog10l.c: Likewise.
75521 * math/s_clogf.c: Likewise.
75522 * math/s_clogl.c: Likewise.
75523 * math/s_csin.c: Likewise.
75524 * math/s_csinf.c: Likewise.
75525 * math/s_csinh.c: Likewise.
75526 * math/s_csinhf.c: Likewise.
75527 * math/s_csinhl.c: Likewise.
75528 * math/s_csinl.c: Likewise.
75529 * math/s_csqrt.c: Likewise.
75530 * math/s_csqrtf.c: Likewise.
75531 * math/s_csqrtl.c: Likewise.
75532 * math/s_ctan.c: Likewise.
75533 * math/s_ctanf.c: Likewise.
75534 * math/s_ctanh.c: Likewise.
75535 * math/s_ctanhf.c: Likewise.
75536 * math/s_ctanhl.c: Likewise.
75537 * math/s_ctanl.c: Likewise.
75538 * math/s_ldexp.c: Likewise.
75539 * math/s_ldexpf.c: Likewise.
75540 * math/s_ldexpl.c: Likewise.
75541 * math/s_significand.c: Likewise.
75542 * math/s_significandf.c: Likewise.
75543 * math/s_significandl.c: Likewise.
75544 * math/w_acos.c: Likewise.
75545 * math/w_acosf.c: Likewise.
75546 * math/w_acosh.c: Likewise.
75547 * math/w_acoshf.c: Likewise.
75548 * math/w_acoshl.c: Likewise.
75549 * math/w_acosl.c: Likewise.
75550 * math/w_asin.c: Likewise.
75551 * math/w_asinf.c: Likewise.
75552 * math/w_asinl.c: Likewise.
75553 * math/w_atan2.c: Likewise.
75554 * math/w_atan2f.c: Likewise.
75555 * math/w_atan2l.c: Likewise.
75556 * math/w_atanh.c: Likewise.
75557 * math/w_atanhf.c: Likewise.
75558 * math/w_atanhl.c: Likewise.
75559 * math/w_cosh.c: Likewise.
75560 * math/w_coshf.c: Likewise.
75561 * math/w_coshl.c: Likewise.
75562 * math/w_dremf.c: Likewise.
75563 * math/w_exp10.c: Likewise.
75564 * math/w_exp10f.c: Likewise.
75565 * math/w_exp10l.c: Likewise.
75566 * math/w_exp2.c: Likewise.
75567 * math/w_exp2f.c: Likewise.
75568 * math/w_fmod.c: Likewise.
75569 * math/w_fmodf.c: Likewise.
75570 * math/w_fmodl.c: Likewise.
75571 * math/w_hypot.c: Likewise.
75572 * math/w_hypotf.c: Likewise.
75573 * math/w_hypotl.c: Likewise.
75574 * math/w_j0.c: Likewise.
75575 * math/w_j0f.c: Likewise.
75576 * math/w_j0l.c: Likewise.
75577 * math/w_j1.c: Likewise.
75578 * math/w_j1f.c: Likewise.
75579 * math/w_j1l.c: Likewise.
75580 * math/w_jn.c: Likewise.
75581 * math/w_jnf.c: Likewise.
75582 * math/w_jnl.c: Likewise.
75583 * math/w_lgamma.c: Likewise.
75584 * math/w_lgamma_r.c: Likewise.
75585 * math/w_lgammaf.c: Likewise.
75586 * math/w_lgammaf_r.c: Likewise.
75587 * math/w_lgammal.c: Likewise.
75588 * math/w_lgammal_r.c: Likewise.
75589 * math/w_log.c: Likewise.
75590 * math/w_log10.c: Likewise.
75591 * math/w_log10f.c: Likewise.
75592 * math/w_log10l.c: Likewise.
75593 * math/w_log2.c: Likewise.
75594 * math/w_log2f.c: Likewise.
75595 * math/w_log2l.c: Likewise.
75596 * math/w_logf.c: Likewise.
75597 * math/w_logl.c: Likewise.
75598 * math/w_pow.c: Likewise.
75599 * math/w_powf.c: Likewise.
75600 * math/w_powl.c: Likewise.
75601 * math/w_remainder.c: Likewise.
75602 * math/w_remainderf.c: Likewise.
75603 * math/w_remainderl.c: Likewise.
75604 * math/w_scalb.c: Likewise.
75605 * math/w_scalbf.c: Likewise.
75606 * math/w_scalbl.c: Likewise.
75607 * math/w_sinh.c: Likewise.
75608 * math/w_sinhf.c: Likewise.
75609 * math/w_sinhl.c: Likewise.
75610 * math/w_sqrt.c: Likewise.
75611 * math/w_sqrtf.c: Likewise.
75612 * math/w_sqrtl.c: Likewise.
75613 * math/w_tgamma.c: Likewise.
75614 * math/w_tgammaf.c: Likewise.
75615 * math/w_tgammal.c: Likewise.
75616
75617 * po/ja.po: Update from translation team.
75618
75619 2011-09-29 Andreas Jaeger <aj@suse.de>
75620
75621 [BZ #13179]
75622 * sunrpc/netname.c (netname2host): Fix logic.
75623
75624 [BZ #6779]
75625 [BZ #6783]
75626 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
75627 correctly.
75628 * math/w_remainder.c (__remainder): Likewise.
75629 * math/w_remainderf.c (__remainderf): Likewise.
75630 * math/libm-test.inc (remainder_test): Add test cases.
75631
75632 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
75633
75634 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
75635 sdiv_qrnnd.
75636
75637 2011-10-07 Ulrich Drepper <drepper@gmail.com>
75638
75639 * string/test-memcmp.c: Avoid unncessary #defines.
75640 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
75641
75642 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
75643
75644 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
75645 Use new sse2 version for core i3 - i7 as it's faster
75646 than sse42 version.
75647 (bit_Prefer_PMINUB_for_stringop): New.
75648 * sysdeps/x86_64/rawmemchr.S: Update.
75649 Replace with faster SSE2 version.
75650 * sysdeps/x86_64/memrchr.S: New file.
75651 * sysdeps/x86_64/memchr.S: Update.
75652 Replace with faster SSE2 version.
75653
75654 2011-09-12 Marek Polacek <mpolacek@redhat.com>
75655
75656 * elf/dl-load.c (lose): Add cast to avoid warning.
75657
75658 2011-10-07 Ulrich Drepper <drepper@gmail.com>
75659
75660 * po/ca.po: Update from translation team.
75661
75662 * inet/getnetgrent_r.c: Hook up nscd.
75663 * nscd/Makefile (routines): Add nscd_netgroup.
75664 (nscd-modules): Add netgroupcache.
75665 (CFLAGS-netgroupcache.c): Define.
75666 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
75667 (cache_search): Add const to second parameter.
75668 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
75669 INNETGR.
75670 (dbs): Add netgrdb entry.
75671 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
75672 (verify_persistent_db): Handle netgrdb.
75673 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
75674 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
75675 GETFDNETGR.
75676 (netgroup_response_header): Define.
75677 (innetgroup_response_header): Define.
75678 (datahead): Add netgroup_response_header and innetgroup_response_header
75679 elements.
75680 * nscd/nscd.conf: Add entries for netgroup cache.
75681 * nscd/nscd.h (dbtype): Add netgrdb.
75682 (_PATH_NSCD_NETGROUP_DB): Define.
75683 (netgroup_iov_disabled): Declare.
75684 (xmalloc, xcalloc, xrealloc): Move declarations here.
75685 (cache_search): Adjust prototype.
75686 Add netgroup-related prototypes.
75687 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
75688 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
75689 (__nscd_innetgr): Declare.
75690 * nscd/selinux.c (perms): Use access_vector_t as element type and
75691 add netgroup-related initializers.
75692 * nscd/netgroupcache.c: New file.
75693 * nscd/nscd_netgroup.c: New file.
75694 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
75695 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
75696 For four parameters use innetgr.
75697 * nss/nss_files/files-init.c: Add definition and callback for netgr.
75698 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
75699 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
75700 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
75701
75702 * nscd/connections.c (register_traced_file): Don't register file
75703 for disabled databases.
75704
75705 2011-10-06 Ulrich Drepper <drepper@gmail.com>
75706
75707 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
75708
75709 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
75710 from tree and freeing node.
75711
75712 2011-09-25 Jiri Olsa <jolsa@redhat.com>
75713
75714 * nss/nsswitch.c (__nss_database_lookup): Handle
75715 nss_parse_service_list out of memory case.
75716
75717 2011-09-15 Jiri Olsa <jolsa@redhat.com>
75718
75719 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
75720 out of memory case.
75721
75722 2011-10-04 Andreas Schwab <schwab@redhat.com>
75723
75724 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
75725 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
75726 pass it down.
75727 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
75728 elf_machine_rela, elf_machine_lazy_rel.
75729 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
75730 (ELF_DYNAMIC_DO_REL): Likewise.
75731 (ELF_DYNAMIC_DO_RELA): Likewise.
75732 (ELF_DYNAMIC_RELOCATE): Likewise.
75733 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
75734 to ELF_DYNAMIC_DO_REL.
75735 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
75736 (dl_main): In trace mode always set __RTLD_NOIFUNC.
75737 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
75738 elf_machine_rela.
75739 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
75740 skip_ifunc, don't call ifunc function if non-zero.
75741 (elf_machine_rela): Likewise.
75742 (elf_machine_lazy_rel): Likewise.
75743 (elf_machine_lazy_rela): Likewise.
75744 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
75745 (elf_machine_lazy_rel): Likewise.
75746 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
75747 Likewise.
75748 (elf_machine_lazy_rel): Likewise.
75749 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
75750 Likewise.
75751 (elf_machine_lazy_rel): Likewise.
75752 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
75753 (elf_machine_lazy_rel): Likewise.
75754 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
75755 (elf_machine_lazy_rel): Likewise.
75756 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
75757 (elf_machine_lazy_rel): Likewise.
75758 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
75759 (elf_machine_lazy_rel): Likewise.
75760 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
75761 (elf_machine_lazy_rel): Likewise.
75762 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
75763 (elf_machine_lazy_rel): Likewise.
75764
75765 2011-09-28 Ulrich Drepper <drepper@gmail.com>
75766
75767 * nss/nss_files/files-init.c (_nss_files_init): Use static
75768 initialization for all the *_traced_file variables.
75769
75770 2011-09-28 Andreas Schwab <schwab@redhat.com>
75771
75772 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
75773
75774 2011-09-27 Roland McGrath <roland@hack.frob.com>
75775
75776 [BZ #13226]
75777 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
75778
75779 2011-09-27 Andreas Schwab <schwab@redhat.com>
75780
75781 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
75782 Reread the line before reparsing it.
75783
75784 2011-09-26 Andreas Schwab <schwab@redhat.com>
75785
75786 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
75787
75788 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
75789 Maxim Kuvyrkov <maxim@codesourcery.com>
75790 Joseph Myers <joseph@codesourcery.com>
75791
75792 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
75793 if needed for __stack_chk_guard.
75794
75795 2011-09-19 Roland McGrath <roland@hack.frob.com>
75796
75797 * sysdeps/posix/spawni.c (script_execute): Always define it.
75798 It will be optimized away if unused.
75799 (maybe_script_execute): New function.
75800 (__spawni): Call it.
75801
75802 * Makerules: Don't include tls.make.
75803 (config-tls): Always set to thread.
75804 * tls.make.c: File removed.
75805
75806 2011-09-19 Mike Frysinger <vapier@gentoo.org>
75807
75808 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
75809 * config.make.in (CPPFLAGS-config): New substituted variable.
75810
75811 2011-09-15 Ulrich Drepper <drepper@gmail.com>
75812
75813 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
75814
75815 [BZ #13192]
75816 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
75817 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
75818
75819 2011-09-15 Roland McGrath <roland@hack.frob.com>
75820
75821 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
75822 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
75823 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
75824 (CALL_FAIL): Likewise.
75825 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
75826 (CALL_FAIL): Macro removed.
75827 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
75828
75829 2011-09-15 Ulrich Drepper <drepper@gmail.com>
75830
75831 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
75832 for __FINITE_MATH_ONLY__ == 1.
75833
75834 2011-09-15 Andreas Schwab <schwab@redhat.com>
75835
75836 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
75837 __ieee754_sqrt instead of sqrt.
75838 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
75839 __ieee754_sqrtf instead of sqrtf.
75840 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
75841 __floorf instead of floorf.
75842 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
75843 __floorf, __truncf instead of floorf, truncf.
75844
75845 2011-09-14 Ulrich Drepper <drepper@gmail.com>
75846
75847 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
75848
75849 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
75850 __extern_always_inline.
75851 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
75852 32-bit.
75853
75854 2011-09-14 Andreas Schwab <schwab@redhat.com>
75855
75856 * elf/rtld.c (dl_main): Also relocate in dependency order when
75857 doing symbol dependency testing.
75858
75859 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
75860
75861 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
75862 Always define `refsym'.
75863
75864 2011-09-13 Andreas Schwab <schwab@redhat.com>
75865
75866 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
75867 (__FD_ELT): Renamed from __FDELT.
75868 * misc/bits/select2.h (__FD_ELT): Likewise.
75869 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
75870 __FD_MASK instead of __FDELT, __FDMASK.
75871 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
75872 Likewise.
75873 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
75874 Likewise.
75875
75876 * elf/Makefile (gen-ldd): Fix pattern.
75877
75878 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
75879 (init_tls): Likewise.
75880
75881 2011-09-12 Ulrich Drepper <drepper@gmail.com>
75882
75883 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
75884
75885 2011-09-12 Andreas Schwab <schwab@redhat.com>
75886
75887 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
75888 `struct cmsghdr *' instead of `void *'.
75889 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
75890 Likewise.
75891
75892 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
75893
75894 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
75895 if non-absolute.
75896 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
75897 ldd_rewrite_script.
75898
75899 2011-09-11 Ulrich Drepper <drepper@gmail.com>
75900
75901 * configure.in: Remove --with-tls option.
75902 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
75903 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
75904 out in case it is missing.
75905 * sysdeps/ia64/elf/configure.in: Likewise.
75906 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
75907 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
75908 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
75909 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
75910 * sysdeps/sh/elf/configure.in: Likewise.
75911 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
75912 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
75913 * sysdeps/x86_64/elf/configure.in: Likewise.
75914 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
75915 * sysdeps/mach/hurd/tls.h: Likewise.
75916
75917 [BZ #13067]
75918 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
75919
75920 [BZ #13090]
75921 * configure.in: Fix use of AC_INIT.
75922
75923 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
75924
75925 2011-09-10 Ulrich Drepper <drepper@gmail.com>
75926
75927 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
75928 __set_errno.
75929 * malloc/hooks.c: Likewise.
75930
75931 [BZ #11929]
75932 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
75933 variables statically.
75934 (narenas): Initialize.
75935 (list_lock): Initialize.
75936 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
75937 initializtion of main_arena and list_lock. Small cleanups.
75938 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
75939 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
75940 Add initializers to main_arena and mp_.
75941 (malloc_state): Remove pagesize member. Change all users to use
75942 GLRO(dl_pagesize).
75943
75944 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
75945 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
75946 is always initialized.
75947
75948 * malloc/malloc.c: Removed unused configurations and dead code.
75949 * malloc/arena.c: Likewise.
75950 * malloc/hooks.c: Likewise.
75951 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
75952
75953 * include/tls.h: Removed. USE___THREAD must always be defined.
75954 * bits/libc-tsd.h: Don't handle !USE___THREAD.
75955 * elf/dl-libc.c: Likewise.
75956 * elf/dl-tsd.c: Likewise.
75957 * include/errno.h: Likewise.
75958 * include/netdb.h: Likewise.
75959 * include/resolv.h: Likewise.
75960 * inet/herrno-loc.c: Likewise.
75961 * inet/herrno.c: Likewise.
75962 * malloc/arena.c: Likewise.
75963 * malloc/hooks.c: Likewise.
75964 * malloc/malloc.c: Likewise.
75965 * resolv/res-state.c: Likewise.
75966 * resolv/res_libc.c: Likewise.
75967 * sysdeps/i386/dl-machine.h: Likewise.
75968 * sysdeps/ia64/dl-machine.h: Likewise.
75969 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
75970 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
75971 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
75972 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
75973 * sysdeps/sh/dl-machine.h: Likewise.
75974 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
75975 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
75976 * sysdeps/unix/i386/sysdep.S: Likewise.
75977 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
75978 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
75979 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
75980 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
75981 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
75982 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
75983 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
75984 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
75985 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
75986 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
75987 * sysdeps/unix/x86_64/sysdep.S: Likewise.
75988 * sysdeps/x86_64/dl-machine.h: Likewise.
75989 * tls.make.c: Likewise.
75990
75991 * configure.in: Remove --with-__thread option. Make tests for
75992 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
75993 tls_model attribute fail if no support is available. Remove
75994 USE_IN_LIBIO.
75995 * Makeconfig: Adjust for dropped configure option. All features are
75996 now mandatory.
75997 * Makerules: Likewise.
75998 * Versions.def: Likewise.
75999 * argp/argp-fmtstream.c: Likewise.
76000 * argp/argp-fmtstream.h: Likewise.
76001 * argp/argp-help.c: Likewise.
76002 * assert/assert.c: Likewise.
76003 * config.h.in: Likewise.
76004 * config.make.in: Likewise.
76005 * configure: Likewise.
76006 * configure.in: Likewise.
76007 * csu/Versions: Likewise.
76008 * csu/init.c: Likewise.
76009 * elf/tst-audit2.c: Likewise.
76010 * elf/tst-tls10.c: Likewise.
76011 * elf/tst-tls10.h: Likewise.
76012 * elf/tst-tls11.c: Likewise.
76013 * elf/tst-tls12.c: Likewise.
76014 * elf/tst-tls14.c: Likewise.
76015 * elf/tst-tlsmod11.c: Likewise.
76016 * elf/tst-tlsmod12.c: Likewise.
76017 * elf/tst-tlsmod13.c: Likewise.
76018 * elf/tst-tlsmod13a.c: Likewise.
76019 * elf/tst-tlsmod14a.c: Likewise.
76020 * elf/tst-tlsmod15b.c: Likewise.
76021 * elf/tst-tlsmod16a.c: Likewise.
76022 * elf/tst-tlsmod16b.c: Likewise.
76023 * elf/tst-tlsmod7.c: Likewise.
76024 * elf/tst-tlsmod8.c: Likewise.
76025 * elf/tst-tlsmod9.c: Likewise.
76026 * gmon/gmon.c: Likewise.
76027 * grp/fgetgrent_r.c: Likewise.
76028 * grp/putgrent.c: Likewise.
76029 * hurd/fopenport.c: Likewise.
76030 * include/libc-symbols.h: Likewise.
76031 * include/tls.h: Likewise.
76032 * intl/gettextP.h: Likewise.
76033 * intl/loadinfo.h: Likewise.
76034 * locale/global-locale.c: Likewise.
76035 * locale/localeinfo.h: Likewise.
76036 * mach/devstream.c: Likewise.
76037 * malloc/arena.c: Likewise.
76038 * malloc/set-freeres.c: Likewise.
76039 * misc/err.c: Likewise.
76040 * misc/getttyent.c: Likewise.
76041 * misc/mntent_r.c: Likewise.
76042 * posix/getopt.c: Likewise.
76043 * posix/wordexp.c: Likewise.
76044 * pwd/fgetpwent_r.c: Likewise.
76045 * resolv/Versions: Likewise.
76046 * resolv/res_hconf.c: Likewise.
76047 * shadow/fgetspent_r.c: Likewise.
76048 * shadow/putspent.c: Likewise.
76049 * stdio-common/printf_fphex.c: Likewise.
76050 * stdio-common/tmpfile.c: Likewise.
76051 * stdlib/abort.c: Likewise.
76052 * stdlib/fmtmsg.c: Likewise.
76053 * sunrpc/auth_unix.c: Likewise.
76054 * sunrpc/clnt_perr.c: Likewise.
76055 * sunrpc/clnt_tcp.c: Likewise.
76056 * sunrpc/clnt_udp.c: Likewise.
76057 * sunrpc/clnt_unix.c: Likewise.
76058 * sunrpc/openchild.c: Likewise.
76059 * sunrpc/svc_simple.c: Likewise.
76060 * sunrpc/svc_tcp.c: Likewise.
76061 * sunrpc/svc_udp.c: Likewise.
76062 * sunrpc/svc_unix.c: Likewise.
76063 * sunrpc/xdr.c: Likewise.
76064 * sunrpc/xdr_array.c: Likewise.
76065 * sunrpc/xdr_rec.c: Likewise.
76066 * sunrpc/xdr_ref.c: Likewise.
76067 * sunrpc/xdr_stdio.c: Likewise.
76068
76069 2011-09-09 Ulrich Drepper <drepper@gmail.com>
76070
76071 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
76072
76073 2011-07-03 Andreas Jaeger <aj@suse.de>
76074
76075 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
76076 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
76077 regenerate with gen-libm-tests.pl.
76078
76079 2010-05-12 Petr Baudis <pasky@suse.cz>
76080
76081 [BZ #11589]
76082 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
76083 around j0() zero points by switching to j1().
76084 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
76085 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
76086 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
76087 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
76088
76089 2011-09-09 Ulrich Drepper <drepper@gmail.com>
76090
76091 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
76092 instead of 0.
76093 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
76094 instead of 0.
76095 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
76096 Patch in part by Pavel Roskin <proski@gnu.org>.
76097
76098 [BZ #13138]
76099 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
76100 realloc.
76101 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
76102 Free memory block if necessary.
76103
76104 [BZ #12847]
76105 * libio/genops.c (INTDEF): For string streams the _lock pointer can
76106 be NULL. Don't lock in this case.
76107
76108 2011-09-09 Roland McGrath <roland@hack.frob.com>
76109
76110 * elf/elf.h (ELFOSABI_GNU): New macro.
76111 (ELFOSABI_LINUX): Define to that.
76112
76113 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
76114
76115 * string/strncat.c (strncat): Undef the symbol in case it has been
76116 defined in bits/string.h.
76117
76118 2011-09-09 Ulrich Drepper <drepper@gmail.com>
76119
76120 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
76121
76122 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
76123 link map.
76124
76125 2011-08-17 Andreas Jaeger <aj@suse.de>
76126
76127 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
76128
76129 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
76130 Ian Lance Taylor <iant@google.com>
76131
76132 * math/libm-test.inc (lround_test): New testcase.
76133 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
76134
76135 2011-09-08 Ulrich Drepper <drepper@gmail.com>
76136
76137 * Makefile: Remove support for automatic cvs check-ins.
76138 * Makerules: Likewise.
76139 * config.make.in: Likewise.
76140 * configure.in: Likewise.
76141 * intl/Makefile: Likewise.
76142 * locale/Makefile: Likewise.
76143 * po/Makefile: Likewise.
76144 * posix/Makefile: Likewise.
76145 * sysdeps/gnu/Makefile: Likewise.
76146 * sysdeps/mach/hurd/Makefile: Likewise.
76147 * sysdeps/sparc/sparc32/Makefile: Likewise.
76148
76149 [BZ #13118]
76150 * posix/Makefile (bug-regex32-ENV): Define.
76151 Patch by John Stanley <jpsinthemix@verizon.net>.
76152
76153 * misc/Makefile (headers): Add bits/select2.h.
76154 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
76155 * misc/bits/select2.h: New file.
76156 * include/bits/select2.h: New file.
76157 * debug/Makefile (routines): Add fdelt_chk.
76158 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
76159 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
76160 FD_ISSET.
76161 * debug/fdelt_chk.c: New file.
76162
76163 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
76164 * wcsmbs/test-wmemcmp.c: Likewise.
76165 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
76166 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
76167
76168 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
76169
76170 * string/Makefile (strop-tests): Add memcmp.
76171 * string/test-wmemcmp.c: New file.
76172 * string/test-memcmp.c: Add wmemcmp support.
76173
76174 2011-09-08 Roland McGrath <roland@hack.frob.com>
76175
76176 [BZ #13153]
76177 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
76178 2011-07-19 change.
76179
76180 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
76181 garbage value in a __mach_port_mod_refs call in the cases of the
76182 task-self and thread-self ports.
76183
76184 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
76185
76186 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
76187
76188 2011-09-08 Andreas Schwab <schwab@redhat.com>
76189
76190 * elf/dl-load.c (lose): Check for non-null L.
76191
76192 2011-09-07 Ulrich Drepper <drepper@gmail.com>
76193
76194 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
76195
76196 * elf/dl-libc.c (dlerror_run): Pass back error code from
76197 dl_catch_error.
76198
76199 [BZ #13123]
76200 * elf/dl-load.c (lose): Free l_origin if it is valid.
76201
76202 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
76203 names.
76204 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
76205 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
76206 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
76207 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
76208 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
76209 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
76210
76211 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
76212
76213 * sysdeps/powerpc/fpu/e_hypot.c: New file.
76214 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
76215 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
76216 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
76217 * sysdeps/powerpc/fpu/k_cosf.c: New file.
76218 * sysdeps/powerpc/fpu/k_sinf.c: New file.
76219 * sysdeps/powerpc/fpu/s_cosf.c: New file.
76220 * sysdeps/powerpc/fpu/s_sinf.c: New file.
76221 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
76222 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
76223
76224 2011-08-15 Alan Modra <amodra@gmail.com>
76225
76226 [BZ #13092]
76227 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
76228 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
76229 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
76230 ppc_mcount to static-only-routines.
76231 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
76232 __mcount_internal.
76233 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
76234 __mcount_internal with usual JUMPTARGET. Remove useless nop.
76235
76236 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
76237
76238 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
76239 for finite and infinity parameters.
76240
76241 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
76242
76243 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
76244 and add nop instructions for throughput optimization.
76245 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
76246
76247 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
76248
76249 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
76250 aligned copy for power7 with vector-scalar instructions.
76251 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
76252
76253 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
76254
76255 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
76256 AVX check.
76257
76258 2011-09-07 Andreas Schwab <schwab@redhat.com>
76259
76260 [BZ #13144]
76261 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
76262 last change.
76263
76264 2011-09-07 Ulrich Drepper <drepper@gmail.com>
76265
76266 * sysdeps/unix/sysv/linux/x86_64/init-first.c
76267 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
76268 syscall wrapper around clock_gettime in __vdso_clock_gettime.
76269 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
76270 clock_gettime.
76271
76272 2011-09-06 Ulrich Drepper <drepper@gmail.com>
76273
76274 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
76275 Forgot to demangle the pointer.
76276
76277 * sysdeps/i386/sysdep.h: Define atom_text_section.
76278 * sysdeps/x86_64/sysdep.h: Likewise.
76279 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
76280 section with atom_text_section.
76281 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
76282 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
76283 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
76284 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
76285 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
76286
76287 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
76288 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
76289 already be defined. Change to take two parameters and don't assign
76290 result to variable. Adjust all users.
76291 Define INTERNAL_GETTIME if not already defined.
76292 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
76293 call.
76294 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
76295 HAVE_CLOCK_GETTIME_VSYSCALL.
76296 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
76297
76298 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
76299 gettimeofday vsyscall, just use time.
76300
76301 2011-09-06 Andreas Schwab <schwab@redhat.com>
76302
76303 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
76304 <errno.h>.
76305
76306 2011-09-06 Ulrich Drepper <drepper@gmail.com>
76307
76308 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
76309 syscall on x86-64.
76310 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
76311 syscall.
76312 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
76313 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
76314 syscall if possible.
76315
76316 2011-09-05 Ulrich Drepper <drepper@gmail.com>
76317
76318 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
76319 e_ident. Don't pass to find_mapsXX.
76320 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
76321
76322 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
76323
76324 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76325 strchr-sse2-no-bsf strrchr-sse2-no-bsf
76326 * sysdeps/x86_64/multiarch/strchr.S: Update.
76327 Check bit_slow_BSF bit.
76328 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
76329 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
76330 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
76331
76332 2011-09-05 Ulrich Drepper <drepper@gmail.com>
76333
76334 [BZ #13134]
76335 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
76336 before glibc 2.15.
76337 (tryshell): Define.
76338 (__spawni): Change last parameter to be flag. Test
76339 SPAWN_XFLAGS_USE_PATH flag to use path or not.
76340 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
76341 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
76342 * posix/spawni.c: Likewise.
76343 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
76344 * posix/spawnp.c: Likewise. Change normal version to use
76345 SPAWN_XFLAGS_USE_PATH.
76346 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
76347 SPAWN_XFLAGS_TRY_SHELL.
76348
76349 [BZ #13150]
76350 * posix/glob.h: Remove gcc 1.x support.
76351
76352 [BZ #13068]
76353 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
76354
76355 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
76356
76357 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76358 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
76359 strrchr-sse2-bsf
76360 * sysdeps/i386/i686/multiarch/strchr.S: New file.
76361 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
76362 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
76363 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
76364 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
76365 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
76366
76367 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
76368
76369 * sysdeps/x86_64/wcscmp.S: New file.
76370
76371 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
76372 wcscmp-c wcscmp-sse2
76373 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
76374 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
76375 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
76376 * wcsmbs/wcscmp.c: Allow renaming.
76377
76378 2011-09-05 David S. Miller <davem@davemloft.net>
76379
76380 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
76381 stack slot, rather than the struct return pointer slot.
76382 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
76383 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
76384 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
76385 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
76386
76387 2011-09-05 Ulrich Drepper <drepper@gmail.com>
76388
76389 * po/ja.po: Update from translation team.
76390
76391 [BZ #13144]
76392 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
76393 kernel in 64-bit binaries.
76394
76395 2011-09-01 David S. Miller <davem@davemloft.net>
76396
76397 * elf/elf.h (HWCAP_SPARC_*): Move to..
76398 * sysdeps/sparc/sysdep.h: this new file and add new values.
76399 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
76400 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
76401 _DL_HWCAP_COUNT to 24.
76402 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
76403 entries.
76404 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
76405 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
76406 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
76407 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
76408 instead of magic constants.
76409 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
76410
76411 2011-08-31 David S. Miller <davem@davemloft.net>
76412
76413 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
76414 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
76415 Reimplement to do errno handling inline.
76416 (SYSCALL_ERROR_HANDLER): New macro.
76417 (__SYSCALL_STRING): Do not do errno handling in asm.
76418 (__CLONE_SYSCALL_STRING): Delete.
76419 (__INTERNAL_SYSCALL_STRING): Delete.
76420 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
76421 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
76422 (PSEUDO): Reimplement to do errno handling inline.
76423 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
76424 (SYSCALL_ERROR_HANDLER): New macro.
76425 (__SYSCALL_STRING): Do not do errno handling in asm.
76426 (__CLONE_SYSCALL_STRING): Delete.
76427 (__INTERNAL_SYSCALL_STRING): Delete.
76428 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
76429 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
76430 i386.
76431 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
76432 (inline_syscall*): Add 'err' argument.
76433 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
76434 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
76435 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
76436 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
76437
76438 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
76439 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
76440
76441 2011-08-30 Andreas Schwab <schwab@redhat.com>
76442
76443 * elf/rtld.c (dl_main): Relocate objects in dependency order.
76444
76445 2011-08-29 Jiri Olsa <jolsa@redhat.com>
76446
76447 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
76448 directive.
76449
76450 2011-08-24 David S. Miller <davem@davemloft.net>
76451
76452 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
76453
76454 2011-08-24 Andreas Schwab <schwab@redhat.com>
76455
76456 * elf/Makefile: Add rules to build and run unload8 test.
76457 * elf/unload8.c: New file.
76458 * elf/unload8mod1.c: New file.
76459 * elf/unload8mod1x.c: New file.
76460 * elf/unload8mod2.c: New file.
76461 * elf/unload8mod3.c: New file.
76462
76463 * elf/dl-close.c (_dl_close_worker): Reset private search list if
76464 it wasn't used.
76465
76466 2011-08-23 David S. Miller <davem@davemloft.net>
76467
76468 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
76469 subtract stack bias.
76470 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
76471 %sp not %fp in calculations.
76472 (_JMPBUF_UNWINDS_ADJ): Likewise.
76473
76474 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
76475 (aio_suspend): Call it to force an exception region around the
76476 AIO_MISC_WAIT() invocation.
76477
76478 2011-08-23 Andreas Schwab <schwab@redhat.com>
76479
76480 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
76481 backslash.
76482
76483 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
76484
76485 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
76486 protection macro.
76487 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
76488 and <dl-machine.h>.
76489 (Elf64_FuncDesc): Remove.
76490
76491 2011-08-22 David S. Miller <davem@davemloft.net>
76492
76493 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
76494 sigaltstack check, add missing cfi directives.
76495 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
76496 missing cfi directives, and sigaltstack handling.
76497
76498 2011-08-16 Andreas Schwab <schwab@redhat.com>
76499
76500 [BZ #11724]
76501 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
76502 object is seen twice.
76503 * elf/dl-fini.c (_dl_sort_fini): Likewise.
76504
76505 * elf/Makefile (distribute): Add tst-initorder2.c.
76506 (tests): Add tst-initorder2.
76507 (modules-names): Add tst-initorder2a tst-initorder2b
76508 tst-initorder2c tst-initorder2d. Add rules to build them.
76509 ($(objpfx)tst-initorder2.out): New rule.
76510 * elf/tst-initorder2.c: New file.
76511 * elf/tst-initorder2.exp: New file.
76512
76513 2011-08-22 Andreas Schwab <schwab@redhat.com>
76514
76515 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
76516
76517 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
76518 dependencies back to end of function.
76519
76520 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
76521 $(elfobjdir)/ld.so.
76522
76523 2011-08-21 Ulrich Drepper <drepper@gmail.com>
76524
76525 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
76526 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
76527 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
76528 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
76529 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
76530 of __vdso_gettimeofday.
76531 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
76532 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
76533 attribute_hidden.
76534 (_libc_vdso_platform_setup): Remove initialization of
76535 __vdso_gettimeofday and __vdso_time.
76536
76537 2011-08-20 Ulrich Drepper <drepper@gmail.com>
76538
76539 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
76540 and fgetc_unlocked.
76541 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
76542 getc_unlocked.
76543
76544 * elf/dl-open.c (add_to_global): Report additions to the global scope
76545 for LD_DEBUG=scopes.
76546 (dl_open_worker): Also print scope of newly loaded dependencies.
76547 (_dl_show_scope): Indicate if there is no scope.
76548
76549 [BZ #13114]
76550 * stdio-common/Makefile (tests): Add bug24.
76551 * stdio-common/bug24.c: New file.
76552
76553 2011-08-19 Andreas Jaeger <aj@suse.de>
76554
76555 [BZ #13114]
76556 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
76557 non-existant file when using close-on-exec mode.
76558
76559 2011-08-20 Ulrich Drepper <drepper@gmail.com>
76560
76561 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
76562 the very first instruction.
76563
76564 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
76565 the CFI state in the end.
76566 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
76567 inclusion of dl-trampoline.h.
76568 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
76569
76570 2011-08-19 Andreas Schwab <schwab@redhat.com>
76571
76572 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
76573 expectations for long double.
76574
76575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
76576 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
76577
76578 2011-08-14 David S. Miller <davem@davemloft.net>
76579
76580 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
76581 artificual limit depends upon the system page size.
76582
76583 2011-08-17 Ulrich Drepper <drepper@gmail.com>
76584
76585 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
76586 * resolv/Makefile: Define CFLAGS-libresolv.
76587
76588 2011-08-17 Andreas Schwab <schwab@redhat.com>
76589
76590 * nss/makedb.c (compute_tables): Make variables used in nested
76591 function static.
76592
76593 2011-08-17 Ulrich Drepper <drepper@gmail.com>
76594
76595 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
76596 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
76597 if buffer was too small.
76598
76599 * elf/pldd.c (main): Attach to all threads in the process.
76600 Rewrite /proc handling to use *at functions.
76601
76602 2011-08-16 Ulrich Drepper <drepper@gmail.com>
76603
76604 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
76605 specifies first scope to show.
76606 (dl_open_worker): Update callers. Move printing scope of new
76607 object to before the relocation.
76608 * elf/rtld.c (dl_main): Update _dl_show_scope call.
76609 * sysdeps/generic/ldsodefs.h: Update declaration.
76610
76611 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
76612 string for the scope number.
76613
76614 2011-08-14 Ulrich Drepper <drepper@gmail.com>
76615
76616 * nscd/servicescache.c (cache_addserv): Make sure written is always
76617 initialized.
76618
76619 2011-08-14 Roland McGrath <roland@hack.frob.com>
76620
76621 * sysdeps/i386/i486/bits/atomic.h
76622 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
76623 statement expression, so as to suppress "set but not used" warning.
76624 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
76625
76626 * string/strncat.c (STRNCAT): Use prototype definition.
76627
76628 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
76629 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
76630 -Iprograms here.
76631 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
76632 (localedef-modules): Add localedef.
76633 (locale-modules): Add locale.
76634
76635 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
76636 * elf/rtld.c (dl_main): Invert order of assignment in last change,
76637 to avoid a warning.
76638
76639 2011-08-14 David S. Miller <davem@davemloft.net>
76640
76641 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
76642 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
76643
76644 2011-08-13 Ulrich Drepper <drepper@gmail.com>
76645
76646 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
76647 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
76648 * elf/rtld.c (dl_main): Set l_name of vDSO.
76649 Call _dl_show_scope when DL_DEBUG_SCOPES.
76650 (process_dl_debug): Recognize scopes flag and also set it for all.
76651 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
76652 Declare _dl_show_scope.
76653
76654 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
76655 (do_dlopen): Pass caller_dlopen to dl_open.
76656 (__libc_dlopen_mode): Initialize caller_dlopen.
76657
76658 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
76659 of libc. Make tolower call locale-independent. Optimize a bit by
76660 using isdigit instead of isalnum.
76661 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
76662
76663 2011-08-12 Ulrich Drepper <drepper@gmail.com>
76664
76665 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
76666 was a dependency or dynamically loaded.
76667
76668 2011-08-11 Ulrich Drepper <drepper@gmail.com>
76669
76670 * intl/l10nflist.c: Allow architecture-specific pop function.
76671 * sysdeps/x86_64/l10nflist.c: New file.
76672
76673 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
76674 classification.
76675
76676 2011-08-10 Andreas Schwab <schwab@redhat.com>
76677
76678 * include/dirent.h: Add libc_hidden_proto for scandirat and
76679 scandirat64. Don't declare __scandirat64.
76680 * dirent/scandirat.c: Add libc_hidden_def.
76681 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
76682 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
76683
76684 2011-08-10 David S. Miller <davem@davemloft.net>
76685
76686 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
76687 enum.
76688 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
76689 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
76690 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
76691
76692 2011-08-09 Ulrich Drepper <drepper@gmail.com>
76693
76694 * Versions.def [libc]: Add GLIBC_2.15.
76695 * dirent/Makefile (routines): Add scandirat and scandirat64.
76696 * dirent/Versions [libc]: Export scandirat and scandirat64 for
76697 GLIBC_2.15.
76698 * dirent/dirent.h: Declare scandirat and scandirat64.
76699 * dirent/scandirat.c: New file.
76700 * dirent/scandirat64.c: New file.
76701 * sysdeps/wordsize-64/scandirat.c: New file.
76702 * sysdeps/wordsize-64/scandirat64.c: New file.
76703 * dirent/opendir.c: Define opendirat.
76704 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
76705 using scandirat.
76706 * dirent/scandir64.c: Adjust for scandir.c change.
76707 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
76708 __scandirat64, and __scandir_cancel_handler.
76709 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
76710 additional parameter and use openat instead of open (outside of ld.so).
76711 Add new __opendir as wrapper around __opendirat.
76712 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
76713 here without requiring old scandirat implementation.
76714
76715 2011-08-08 Ulrich Drepper <drepper@gmail.com>
76716
76717 * dirent/scandir.c (cancel_handler): Renamed to
76718 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
76719 defined. Adjust users.
76720 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
76721 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
76722
76723 2011-08-04 Ulrich Drepper <drepper@gmail.com>
76724
76725 * string/test-string.h (IMPL): Use __STRING to expand name and then
76726 stringify it.
76727
76728 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
76729 of cleanups.
76730
76731 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
76732
76733 * string/Makefile: Update.
76734 (strop-tests): Append strncat.
76735 * string/test-wcscmp.c: New file.
76736 New comprehensive test for wcscmp.
76737 * string/test-strcmp.c: Update.
76738 (WIDE): New define.
76739
76740 2011-07-22 Andreas Schwab <schwab@redhat.com>
76741
76742 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
76743 line.
76744
76745 2011-07-26 Andreas Schwab <schwab@redhat.com>
76746
76747 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
76748 encoding to ACE if AI_IDN.
76749
76750 2011-08-01 Jakub Jelinek <jakub@redhat.com>
76751
76752 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
76753 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
76754
76755 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
76756
76757 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
76758 Fix overflow bug in strncat.
76759 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
76760
76761 * string/test-strncat.c: Update.
76762 Add new tests for checking overflow bugs.
76763
76764 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
76765
76766 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76767 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
76768 * sysdeps/i386/i686/multiarch/strcat.S: New file.
76769 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
76770 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
76771 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
76772 * sysdeps/i386/i686/multiarch/strncat.S: New file.
76773 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
76774 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
76775
76776 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
76777 (USE_AS_STRCAT): Define.
76778 Add strcat and strncat support.
76779 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
76780
76781 2011-07-25 Andreas Schwab <schwab@redhat.com>
76782
76783 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
76784 __n bigger than INT_MAX+1.
76785 (__strncmp_g): Likewise.
76786
76787 2011-07-23 Ulrich Drepper <drepper@gmail.com>
76788
76789 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
76790 * libio/stido.h: Likewise.
76791
76792 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
76793 (AF_NFC): Define.
76794 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
76795 (AF_NFC): Define.
76796
76797 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
76798 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
76799 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
76800 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
76801 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
76802
76803 [BZ #13021]
76804 * scripts/test-installation.pl: Don't expect libnss_test1 to be
76805 installed.
76806
76807 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
76808 typo.
76809 (_dl_x86_64_save_sse): Likewise.
76810
76811 2011-07-22 Ulrich Drepper <drepper@gmail.com>
76812
76813 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
76814 OSXSAVE.
76815 (_dl_x86_64_save_sse): Likewise.
76816
76817 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
76818
76819 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
76820
76821 2011-07-21 Andreas Schwab <schwab@redhat.com>
76822
76823 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
76824 change.
76825 (_dl_x86_64_save_sse): Use correct AVX check.
76826
76827 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
76828
76829 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
76830 bug in strncpy/strncat.
76831 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
76832
76833 2011-07-21 Ulrich Drepper <drepper@gmail.com>
76834
76835 * string/tester.c (test_strcat): Add tests for different alignments
76836 of source and destination.
76837 (test_strncat): Likewise.
76838
76839 2011-07-20 Ulrich Drepper <drepper@gmail.com>
76840
76841 [BZ #12852]
76842 * posix/glob.c (glob): Check passed in values before using them in
76843 expressions to avoid some overflows.
76844 (glob_in_dir): Likewise.
76845
76846 [BZ #13007]
76847 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
76848 check for AVX enablement so that we don't crash with old kernels and
76849 new hardware.
76850 * elf/tst-audit4.c: Add same checks here.
76851 * elf/tst-audit6.c: Likewise.
76852
76853 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
76854
76855 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
76856
76857 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
76858
76859 2011-07-20 Ulrich Drepper <drepper@gmail.com>
76860
76861 * po/cs.po: Update from translation team.
76862 * po/bg.po: Likewise.
76863
76864 2011-07-12 Marek Polacek <mpolacek@redhat.com>
76865
76866 * misc/sys/cdefs.h: Add support for const attribute.
76867 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
76868 to gnu_dev_{major,minor,makedev} functions.
76869
76870 2011-07-20 Marek Polacek <mpolacek@redhat.com>
76871
76872 * intl/dcigettext.c (get_output_charset): Add missing bracket.
76873
76874 2011-07-20 Andreas Schwab <schwab@redhat.com>
76875
76876 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
76877 strlen results.
76878
76879 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
76880
76881 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
76882 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
76883 register in order to avoid conflicts with the soft frame pointer
76884 being held in r11 when necessary.
76885 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
76886 (INTERNAL_VSYSCALL_NCS): Likewise.
76887
76888 2011-07-14 Marek Polacek <mpolacek@redhat.com>
76889
76890 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
76891 * elf/dl-fini.c (_dl_fini): Adjust caller.
76892 * elf/dl-close.c (_dl_close_worker): Likewise.
76893 * sysdeps/generic/ldsodefs.h: Adjust declaration.
76894
76895 2011-07-15 Marek Polacek <mpolacek@redhat.com>
76896
76897 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
76898 "aux_cache->nlibs < 0".
76899
76900 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
76901 in the reload-count case.
76902
76903 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
76904
76905 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76906 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
76907 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
76908 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
76909 * sysdeps/x86_64/multiarch/strcat.S: New file.
76910 * sysdeps/x86_64/multiarch/strncat.S: New file.
76911 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
76912 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
76913 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
76914 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
76915 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
76916 (USE_AS_STRCAT): Define.
76917 Add strcat and strncat support.
76918 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
76919 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
76920 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
76921 * string/strncat.c: Update.
76922 (USE_AS_STRNCAT): Define.
76923 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76924 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
76925 and i7.
76926 * sysdeps/x86_64/multiarch/init-arch.h
76927 (bit_Prefer_PMINUB_for_stringop): New.
76928 (index_Prefer_PMINUB_for_stringop): Likewise.
76929 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
76930 bit_Prefer_PMINUB_for_stringop.
76931
76932 2011-07-19 Ulrich Drepper <drepper@gmail.com>
76933
76934 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
76935 buffer64.
76936 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
76937 of casting of buffer.
76938 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
76939 buffer32 and buffer64.
76940 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
76941 writes instead of casting of buffer.
76942 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
76943 buffer32.
76944 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
76945 casting of buffer.
76946
76947 2011-07-19 Andreas Schwab <schwab@redhat.com>
76948
76949 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
76950
76951 2011-07-19 Ulrich Drepper <drepper@gmail.com>
76952
76953 * nscd/nscd.c (termination_handler): Don't do anything for a database
76954 if it has not yet been initialized.
76955
76956 2011-07-18 Ulrich Drepper <drepper@gmail.com>
76957
76958 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
76959
76960 2011-07-15 Marek Polacek <mpolacek@redhat.com>
76961
76962 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
76963
76964 2011-07-18 Ulrich Drepper <drepper@gmail.com>
76965
76966 * po/nl.po: Update from translation team.
76967 * po/sv.po: Likewise.
76968
76969 2011-07-16 Roland McGrath <roland@hack.frob.com>
76970
76971 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
76972 now disallowed by GCC.
76973
76974 * configure.in (use-default-link): Default to yes if a test -shared
76975 link meets our qualifications.
76976 * configure: Regenerated.
76977
76978 * config.make.in (output-format): New variable.
76979 * configure.in: Check for ld --print-output-format support.
76980 * configure: Regenerated.
76981 * Makerules ($(common-objpfx)format.lds)
76982 [$(output-format) != unknown]: Just use $(output-format),
76983 instead of the linker-script munging.
76984
76985 2011-07-14 Roland McGrath <roland@hack.frob.com>
76986
76987 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
76988 of $(common-objpfx)shlib.lds.
76989 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
76990
76991 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
76992 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
76993
76994 * configure.in (-z relro check): Adjust test code to add a large
76995 writable data section after it.
76996 * configure: Regenerated.
76997
76998 2011-07-11 Roland McGrath <roland@hack.frob.com>
76999
77000 * configure.in (-z relro check): Fix test code to make the variable
77001 truly const.
77002 * configure: Regenerated.
77003
77004 2011-07-11 Ulrich Drepper <drepper@gmail.com>
77005
77006 * nscd/nscd.h (struct traced_file): Define.
77007 (struct database_dyn): Remove inotify_descr, reset_res, and filename
77008 elements. Add traced_files.
77009 (inotify_fd): Declare.
77010 (register_traced_file): Declare.
77011 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
77012 (inotify_fd): Export.
77013 (resolv_conf_descr): Remove.
77014 (nscd_init): Move inotify descriptor creation to main.
77015 Don't register files for notification here.
77016 (register_traced_file): New function.
77017 (invalidate_cache): Don't use reset_res to determine whether to call
77018 res_init, go through the list of registered files.
77019 (main_loop_poll): The inotify descriptors are now stored in the
77020 structures for the traced files.
77021 (main_loop_epoll): Likewise.
77022 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
77023 to __nss_disable_nscd.
77024 * nscd/cache.c (prune_cache): There is no single inotify descriptor
77025 for a database anymore. Check the records for all the registered
77026 files instead.
77027 * nss/Makefile (libnss_files-routines): Add files-init.
77028 (libnss_db-routines): Add db-init.
77029 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
77030 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
77031 * nss/nss_db/db-init.c: New file.
77032 * nss/nss_files/files-init.c: New file.
77033 * nss/nsswitch.c (nss_load_library): New function. Broken out of
77034 __nss_lookup_function.
77035 (__nss_lookup_function): Call nss_load_library.
77036 (nss_load_all_libraries): New function.
77037 (__nss_disable_nscd): Take parameter with callback function for files
77038 to register. Set is_nscd. Load all the DSOs for the NSS modules
77039 used for the cached services.
77040 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
77041 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
77042 options for features to all the files in nscd.
77043
77044 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
77045
77046 2011-07-10 Roland McGrath <roland@hack.frob.com>
77047
77048 * csu/elf-init.c (__libc_csu_init): Comment typo.
77049
77050 2011-07-09 Ulrich Drepper <drepper@gmail.com>
77051
77052 * po/pl.po: Update from translation team.
77053 * po/ja.po: Likewise.
77054 * po/ru.po: Likewise.
77055 * po/ko.po: Likewise.
77056 * po/fr.po: Likewise.
77057
77058 2011-07-09 Roland McGrath <roland@hack.frob.com>
77059
77060 * configure.in (.ctors/.dtors header and trailer check):
77061 Use an empirical test on a built program.
77062 * configure: Regenerated.
77063
77064 * configure.in (-z relro check): Use an empirical test on a built DSO.
77065 Detect, but do not require, on ia64.
77066 * configure: Regenerated.
77067
77068 * configure.in (READELF): Find it with AC_CHECK_TOOL.
77069 Update tests that use readelf to use $READELF instead.
77070 * configure: Regenerated.
77071
77072 2011-07-08 Ulrich Drepper <drepper@gmail.com>
77073
77074 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
77075 if the result is not used.
77076
77077 2011-07-05 Andreas Jaeger <aj@suse.de>
77078
77079 [BZ#9696]
77080 * stdlib/tst-strtod.c: Add testcase.
77081
77082 2011-07-07 Ulrich Drepper <drepper@gmail.com>
77083
77084 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
77085 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
77086 The latter has a higher limit. Take additional parameter to pass to
77087 the new function.
77088 (__pathconf): Pass file to __statfs_link_max.
77089 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
77090 __statfs_link_max.
77091 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
77092 __statfs_link_max.
77093
77094 [BZ #12868]
77095 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
77096 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
77097 Handle Lustre.
77098 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
77099 (__statfs_filesize_max): Likewise.
77100 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
77101
77102 2011-07-05 Andreas Jaeger <aj@suse.de>
77103
77104 * resolv/res_comp.c (dn_skipname): Remove unused variable.
77105
77106 2011-07-06 Marek Polacek <mpolacek@redhat.com>
77107
77108 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
77109 `status' variable.
77110 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
77111 Likewise.
77112
77113 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
77114
77115 * Makefile (strop-tests): Add strncat.
77116 * string/test-strncat.c: New file.
77117
77118 2011-06-30 Marek Polacek <mpolacek@redhat.com>
77119
77120 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
77121
77122 2011-06-21 Andreas Jaeger <aj@suse.de>
77123
77124 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
77125 Copy rule from iconvdata/Makefile.
77126
77127 2011-07-06 Ulrich Drepper <drepper@gmail.com>
77128
77129 [BZ #12922]
77130 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
77131 but no long options are defined, just return 'W'.
77132
77133 2011-06-22 Marek Polacek <mpolacek@redhat.com>
77134
77135 [BZ #9696]
77136 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
77137
77138 2011-07-06 Ulrich Drepper <drepper@gmail.com>
77139
77140 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
77141 netgroups to read.
77142 (innetgr): Likewise.
77143
77144 2011-07-05 Roland McGrath <roland@hack.frob.com>
77145
77146 * config.make.in (install_root): Default to $(DESTDIR).
77147
77148 2011-07-05 Ulrich Drepper <drepper@gmail.com>
77149
77150 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
77151
77152 2011-07-02 Roland McGrath <roland@hack.frob.com>
77153
77154 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
77155
77156 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
77157 containing directory rather than embedding absolute directory names.
77158
77159 * scripts/check-local-headers.sh: Rewritten using awk.
77160 Match by word, not by line. Print error messages for matches.
77161 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
77162
77163 * Makerules [shlib-lds-flags empty]:
77164 ($(common-objpfx)libc_pic.opts): New target.
77165 ($(common-objpfx)libc_pic.os.clean): New target.
77166 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
77167
77168 * config.make.in (OBJCOPY): New variable.
77169 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
77170 * configure: Regenerated.
77171
77172 * config.make.in (use-default-link): New variable.
77173 * configure.in (use_default_link): Grok --with-default-link to set it.
77174 * configure: Regenerated.
77175 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
77176 (shlib-lds, shlib-lds-flags): Define to empty.
77177
77178 * Makerules (shlib-lds): New variable.
77179 (shlib-lds-flags): New variable.
77180 (build-shlib, build-moduile, build-module-asneeded): Use it.
77181 ($(common-objpfx)libc.so): Use $(shlib-lds).
77182 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
77183 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
77184
77185 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
77186 DT_FLAGS/DT_FLAGS_1 with zero flags.
77187
77188 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
77189 linker script munging.
77190
77191 2011-07-02 Ulrich Drepper <drepper@gmail.com>
77192
77193 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
77194 as 128-bit value.
77195 * crypt/sha512.c (sha512_process_block): Perform total addition using
77196 128-bit if possible.
77197 (__sha512_finish_ctx): Likewise.
77198 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
77199 as 64-bit value.
77200 * crypt/sha256.c (SWAP64): Define.
77201 (sha256_process_block): Perform total addition using 64-bit if
77202 possible.
77203 (__sha256_finish_ctx): Likewise.
77204
77205 2011-07-01 Ulrich Drepper <drepper@gmail.com>
77206
77207 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
77208 * nscd/initgrcache.c (addinitgroupsX): Likewise.
77209 * nscd/hstcache.c (cache_addhst): Likewise.
77210 * nscd/grpcache.c (cache_addgr): Likewise.
77211 * nscd/aicache.c (addhstaiX): Likewise.
77212 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
77213
77214 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
77215
77216 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
77217 * nscd/initgrcache.c (addinitgroupsX): Likewise.
77218 * nscd/hstcache.c (cache_addhst): Likewise.
77219 * nscd/grpcache.c (cache_addgr): Likewise.
77220 * nscd/aicache.c (addhstaiX): Likewise.
77221
77222 2011-07-01 Andreas Schwab <schwab@redhat.com>
77223
77224 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
77225 domain only when needed.
77226
77227 2011-06-30 Andreas Schwab <schwab@redhat.com>
77228
77229 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
77230 is always restored.
77231
77232 2011-06-29 Ulrich Drepper <drepper@gmail.com>
77233
77234 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
77235 are re-adding the entry.
77236 * nscd/servicescache.c (cache_addserv): Likewise.
77237
77238 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
77239
77240 * sysdeps/generic/dl-irel.h: fix protection against multiple
77241 inclusions.
77242 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
77243
77244 2011-06-28 Ulrich Drepper <drepper@gmail.com>
77245
77246 [BZ #12935]
77247 * malloc/memusage.sh: Fix quoting in message.
77248 * debug/xtrace.sh: Likewise.
77249
77250 * configure.in: Remove support for --experimental-malloc option, make
77251 it the default.
77252 * config.make.in: Likewise.
77253 * malloc/Makefile: Likewise.
77254
77255 2011-06-27 Andreas Schwab <schwab@redhat.com>
77256
77257 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
77258 two-byte characters.
77259
77260 2011-06-27 Roland McGrath <roland@hack.frob.com>
77261
77262 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
77263 AC_CACHE_CHECK invocation.
77264 * configure: Regenerated.
77265
77266 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
77267
77268 2011-06-27 Ulrich Drepper <drepper@gmail.com>
77269
77270 [BZ #12350]
77271 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
77272 bit from old_res_options.
77273
77274 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
77275
77276 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
77277 value type for setfct.
77278
77279 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
77280
77281 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
77282 __gettimeofday instead of gettimeofday.
77283
77284 2011-06-26 Ulrich Drepper <drepper@gmail.com>
77285
77286 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
77287
77288 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
77289
77290 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
77291
77292 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
77293 info.
77294
77295 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
77296
77297 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77298 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
77299 strcpy-sse2-unaligned strncpy-sse2-unaligned
77300 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
77301 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
77302 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
77303 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
77304 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
77305 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
77306 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
77307 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
77308 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
77309 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
77310 (STRCPY): Support SSE2 and SSSE3 versions.
77311
77312 2011-06-24 Ulrich Drepper <drepper@gmail.com>
77313
77314 [BZ #12874]
77315 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
77316 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
77317 kernels which artificially limit size of requests.
77318
77319 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
77320
77321 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77322 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
77323 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
77324 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
77325 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
77326 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
77327 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
77328 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
77329 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
77330 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
77331 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
77332 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
77333 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
77334 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
77335 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
77336 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77337 Enable unaligned load optimization for Intel Core i3, i5 and i7
77338 processors.
77339 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
77340 Define.
77341 (index_Fast_Unaligned_Load): Define.
77342 (HAS_FAST_UNALIGNED_LOAD): Define.
77343
77344 2011-06-23 Marek Polacek <mpolacek@redhat.com>
77345
77346 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
77347
77348 2011-06-22 Ulrich Drepper <drepper@gmail.com>
77349
77350 [BZ #12907]
77351 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
77352 until it is clear that the information is realy needed.
77353 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
77354
77355 2011-06-22 Andreas Schwab <schwab@redhat.com>
77356
77357 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
77358
77359 2011-06-22 Ulrich Drepper <drepper@gmail.com>
77360
77361 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
77362 /sys/devices/system/cpu/online if it is usable.
77363
77364 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
77365 reading the information from the /proc filesystem to once a second.
77366
77367 2011-06-21 Andreas Jaeger <aj@suse.de>
77368
77369 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
77370 NULL after inclusion of kernel headers.
77371
77372 2011-06-21 Ulrich Drepper <drepper@gmail.com>
77373
77374 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
77375 calls to internal_setent.
77376
77377 [BZ #12885]
77378 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
77379 addresses using gethostbyname4_r ignore IPv4 addresses.
77380
77381 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
77382 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
77383
77384 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
77385
77386 2011-06-20 David S. Miller <davem@davemloft.net>
77387
77388 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
77389 inclusions.
77390 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
77391
77392 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
77393 (elf_irel): Use it.
77394 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
77395 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
77396 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
77397 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
77398 * sysdeps/x86_64/dl-irel.h: Likewise.
77399
77400 * elf/dl-runtime.c: Use elf_ifunc_invoke.
77401 * elf/dl-sym.c: Likewise.
77402
77403 2011-06-15 Ulrich Drepper <drepper@gmail.com>
77404
77405 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
77406 need to dereference resplen2.
77407
77408 2011-06-14 Andreas Schwab <schwab@redhat.com>
77409
77410 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
77411
77412 2011-06-15 Ulrich Drepper <drepper@gmail.com>
77413
77414 * Makeconfig: Define vardbdir and inst_vardbdir.
77415 * nss/Makefile: Add rules to install db-Makefile.
77416
77417 * nss/nss_db/db-XXX.c: Cleanup.
77418
77419 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
77420 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
77421 GLIBC_PRIVATE.
77422 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
77423 * nss/makedb.c: Implement -g option to specify that value strings
77424 are generated and should not be added to table iterated over for
77425 get*ent calls.
77426 * nss/nss_db/db-initgroups.c: New file.
77427
77428 * nss/getent.c: Add support for initgroups lookups through getgrouplist
77429 interface.
77430
77431 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
77432 (internal_getgrouplist): Adjust to name change.
77433 Update use_initgroups_entry if this is not the first call.
77434 * nss/databases.def: Add initgroups entry.
77435
77436 * nss/makedb.c (compute_tables): Check result of multiple hash table
77437 sizes to minimize maximum chain length.
77438
77439 2011-06-14 Ulrich Drepper <drepper@gmail.com>
77440
77441 * Versions.def: Add entry for libnss_db.
77442 * shlib-versions: Likewise.
77443 * nss/Makefile: Add rules to build libnss_db.
77444 * nss/Versions: Add libnss_db information. Organize libnss_files
77445 entries better.
77446 * nss/db-Makefile: Add gshadow support. Change rules for the new
77447 makedb progra. Some minor improvements to generate smaller files.
77448 * nss/nss_db/nss_db.h: Move NSS database header data structures to
77449 here from...
77450 * nss/makedb.c: ...here.
77451 Improve database format to be smaller and require less memory at
77452 runtime.
77453 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
77454 db anymore.
77455 * nss/nss_db/db-netgrp.c: Likewise.
77456 * nss/nss_db/db-open.c: Likewise.
77457 * nss/nss_files/flies-XXX.x: Adjust comments.
77458 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
77459 * nss/nss_files/files-grp.c: Likewise.
77460 * nss/nss_files/files-hosts.c: Likewise.
77461 * nss/nss_files/files-network.c: Likewise.
77462 * nss/nss_files/files-proto.c: Likewise.
77463 * nss/nss_files/files-pwd.c: Likewise.
77464 * nss/nss_files/files-rpc.c: Likewise.
77465 * nss/nss_files/files-service.c: Likewise.
77466 * nss/nss_files/files-sgrp.c: Likewise.
77467 * nss/nss_files/files-spwd.c: Likewise.
77468 * nss/nss_db/db-alias.c: Removed.
77469 * nss/nss_db/dummy-db.h: Removed.
77470
77471 2011-06-02 Ulrich Drepper <drepper@gmail.com>
77472
77473 * nss/makedb.c: Rewritten to not use database library.
77474 * nss/Makefile: Update to build new makedb program.
77475
77476 2011-06-14 Andreas Jaeger <aj@suse.de>
77477
77478 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
77479 memset declaration.
77480
77481 2011-06-10 Andreas Schwab <schwab@redhat.com>
77482
77483 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
77484 tmpbuf.
77485
77486 2011-06-10 Roland McGrath <roland@hack.frob.com>
77487
77488 * Makerules (shlib.lds): Fail if the linker script comes out empty.
77489 * elf/Makefile ($(objpfx)ld.so): Likewise.
77490
77491 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
77492 Don't list ld.so twice in dependencies.
77493
77494 * posix/bug-regex31.c: Include <stdlib.h>.
77495
77496 * nscd/hstcache.c (cache_addhst): Remove unused variable.
77497
77498 * nis/nss_compat/compat-spwd.c
77499 (getspent_next_nss_netgr): Remove unused variable.
77500 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
77501
77502 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
77503 nonmembers" output to use the right array.
77504
77505 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
77506
77507 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
77508
77509 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
77510 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
77511 * catgets/gencat.c (read_input_file): Likewise.
77512 * locale/programs/locarchive.c (enlarge_archive): Likewise.
77513
77514 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
77515 variable definition inside #if's controlling its use.
77516
77517 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
77518
77519 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
77520
77521 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
77522
77523 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
77524 unreachable code.
77525
77526 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
77527
77528 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
77529 * configure: Regenerated.
77530
77531 * Makerules: Revert last change.
77532 * elf/Makefile: Likewise.
77533
77534 2011-06-09 Roland McGrath <roland@hack.frob.com>
77535
77536 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
77537 * elf/Makefile ($(objpfx)librtld.os): Likewise.
77538 (reloc-link): Likewise.
77539
77540 2011-06-09 Ulrich Drepper <drepper@gmail.com>
77541
77542 * elf/Makefile: Add rules to build pldd.
77543 * elf/pldd.c: New file.
77544 * elf/pldd-xx.c: New file.
77545
77546 2011-06-07 Ulrich Drepper <drepper@gmail.com>
77547
77548 * version.h: Update for 2.15 development version.
77549
77550 2011-06-07 David S. Miller <davem@davemloft.net>
77551
77552 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
77553 ifuncs.
77554 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
77555 elf_machine_lazy_rel): Likewise.
77556 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
77557 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
77558 elf_machine_lazy_rel): Likewise.
77559 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
77560 dl_hwcap via passed in argument.
77561 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
77562 Likewise.
77563
77564 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
77565
77566 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
77567
77568 2011-06-06 Roland McGrath <roland@hack.frob.com>
77569
77570 [BZ #12849]
77571 * manual/fdl-1.1.texi: New file, verbatim from:
77572 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
77573 * manual/lgpl-2.1.texi: New file, verbatim from:
77574 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
77575 * manual/Makefile (licenses): New variable, list those new file names.
77576 (texis): Use it.
77577 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
77578
77579 * manual/fdl.texi: File removed.
77580 * manual/lesser.texi: File removed.
77581 * manual/libc.texinfo (Copying, Documentation License):
77582 Use new @include file names, put @appendix directive before @include.
77583
77584 2011-06-04 Jakub Jelinek <jakub@redhat.com>
77585
77586 [BZ #12841]
77587 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
77588 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
77589 (mq_open): Add __NTH.
77590
77591 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
77592
77593 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77594 Assume Intel Core i3/i5/i7 processor if AVX is available.
77595
77596 2011-05-31 Ulrich Drepper <drepper@gmail.com>
77597
77598 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
77599 typo.
77600
77601 2011-05-31 Andreas Schwab <schwab@redhat.com>
77602
77603 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
77604 memory. Use alloca_account. Fix memory leak when retrying.
77605
77606 2011-05-31 Ulrich Drepper <drepper@gmail.com>
77607
77608 * version.h (RELEASE): Bump for 2.14 release.
77609 * include/features.h (__GLIBC_MINOR__): Bump to 14.
77610
77611 * config.make.in (RANLIB): Remove entry.
77612
77613 2011-05-30 Ulrich Drepper <drepper@gmail.com>
77614
77615 * po/Makefile (po-sed-cmd): Add ksh to extensions.
77616 (libc.pot): Work around missing support for .ksh extension in xgettext.
77617
77618 [BZ #12684]
77619 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
77620 if both request failed.
77621 (send_dg): In case of server errors clear resplen or *resplen2.
77622
77623 [BZ #12454]
77624 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
77625 when there are multiple maps.
77626 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
77627 (_dl_fini): Remove test here.
77628
77629 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
77630
77631 2011-05-29 Ulrich Drepper <drepper@gmail.com>
77632
77633 [BZ #12350]
77634 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
77635 bit from old_res_options.
77636 (gaih_inet): Likewise.
77637
77638 [BZ #11099]
77639 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
77640 as signed.
77641
77642 * resolv/res_init.c (res_setoptions): Make the code more compact.
77643
77644 [BZ #11558]
77645 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
77646 set RES_USEVC.
77647
77648 [BZ #11634]
77649 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
77650
77651 * malloc/malloc.h: Mark malloc hook variables as deprecated.
77652
77653 [BZ #11781]
77654 * malloc/malloc.h: Declare malloc hook variables as volatile.
77655
77656 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
77657 in last patch.
77658
77659 [BZ #11799]
77660 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
77661 raise in the comment.
77662 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
77663 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
77664 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
77665
77666 2011-05-28 Ulrich Drepper <drepper@gmail.com>
77667
77668 [BZ #12811]
77669 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
77670 grow the buffers more if it already has to be sufficient.
77671 (build_wcs_upper_buffer): Likewise.
77672 * posix/regexec.c (check_matching): Likewise.
77673 (clean_state_log_if_needed): Likewise.
77674 (extend_buffers): Don't enlarge buffers beyond size of the input
77675 buffer.
77676 Patches mostly by Emil Wojak <emil@wojak.eu>.
77677 * posix/bug-regex32.c: New file.
77678 * posix/Makefile (tests): Add bug-regex32.
77679
77680 * locale/findlocale.c (_nl_find_locale): Return right away if
77681 _nl_explode_name failed.
77682 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
77683
77684 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
77685
77686 * debug/xtrace.sh: Unify messages.
77687 * malloc/memusage.sh: Likewise.
77688
77689 [BZ #12813]
77690 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
77691 time symbol from vDSO. Substitute with vsyscall if not available.
77692 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
77693 __vdso_time.
77694
77695 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
77696 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
77697 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
77698 Add sendmmsg and internal_sendmmsg.
77699 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
77700 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
77701 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
77702
77703 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
77704 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
77705 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
77706
77707 2011-05-27 Ulrich Drepper <drepper@gmail.com>
77708
77709 [BZ #12813]
77710 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
77711 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
77712 available.
77713 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
77714 __vdso_getcpu.
77715
77716 [BZ #12814]
77717 * iconvdata/Makefile (tests): Add bug-iconv9.
77718 * iconvdata/bug-iconv9.c: New file.
77719
77720 2011-05-27 Andreas Schwab <schwab@redhat.com>
77721
77722 [BZ #12814]
77723 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
77724
77725 2011-05-25 Jakub Jelinek <jakub@redhat.com>
77726
77727 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
77728 (struct user_regs_struct): Change intcs field back to cs.
77729
77730 2011-05-25 Ulrich Drepper <drepper@gmail.com>
77731
77732 * po/ja.po: Update from translation team.
77733
77734 2011-05-23 Ulrich Drepper <drepper@gmail.com>
77735
77736 [BZ #12795]
77737 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
77738 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
77739
77740 2011-05-20 Andreas Schwab <schwab@redhat.com>
77741
77742 * stdlib/longlong.h: Update from GCC.
77743
77744 2011-05-23 Andreas Schwab <schwab@redhat.com>
77745
77746 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
77747 parameter name.
77748 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
77749 Add parameter name.
77750 (__sysconf): Pass it down.
77751
77752 2011-05-22 Ulrich Drepper <drepper@gmail.com>
77753
77754 [BZ #12671]
77755 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
77756 some situations.
77757 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
77758 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
77759 add in in __libc_use_alloca calls. Adjust callers.
77760 (glob): Use malloc in some situations.
77761
77762 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
77763 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
77764 pltexit.
77765
77766 2011-05-21 Ulrich Drepper <drepper@gmail.com>
77767
77768 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
77769 and CLOCK_BOOTTIME_ALARM.
77770
77771 [BZ #12782]
77772 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
77773 is returned.
77774
77775 * string/_strerror.c (__strerror_r): Print negative errors as signed
77776 numbers.
77777
77778 [BZ #12777]
77779 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
77780 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
77781 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
77782
77783 * configure.in: Fix typo in redirection and correct removal of test
77784 files in two cases.
77785
77786 [BZ #12788]
77787 * locale/setlocale.c (new_composite_name): Fix test to check for
77788 identical name of all categories.
77789
77790 [BZ #12792]
77791 * libio/filedoalloc.c (local_isatty): New function.
77792 (_IO_file_doallocate): Use local_isatty.
77793 * stdio-common/perror.c (perror): In case a new stream is used
77794 forward the stream error.
77795 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
77796 error flag.
77797
77798 2011-05-20 Ulrich Drepper <drepper@gmail.com>
77799
77800 [BZ #11884]
77801 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
77802 alloca.
77803 * include/alloca.h (extend_alloca_account): Define.
77804
77805 [BZ #11857]
77806 * posix/regex.h: Fix comments with documentation of user-accessible
77807 fields after compilation and describe correct free'ing of pattern
77808 after re_compile_pattern.
77809 Patch by Reuben Thomas <rrt@sc3d.org>.
77810
77811 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
77812
77813 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
77814 and -mno-altivec to prevent the compiler from using Altivec and/or
77815 VSX instructions when the corresponding registers are not available.
77816
77817 2011-05-19 Andreas Schwab <schwab@redhat.com>
77818
77819 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
77820
77821 2011-05-19 Ulrich Drepper <drepper@gmail.com>
77822
77823 * libio/freopen.c (freopen): Use __dup2, not dup2.
77824 * libio/freopen64.c (freopen64): Likewise.
77825
77826 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
77827
77828 [BZ #12775]
77829 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
77830 * math/Makefile (tests): Add test-powl.
77831 (CFLAGS-test-powl.c): Define.
77832 * math/test-powl.c: New file.
77833
77834 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
77835
77836 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
77837
77838 2011-05-17 Ulrich Drepper <drepper@gmail.com>
77839
77840 [BZ #11837]
77841 * iconvdata/gb18030.c: Update to GB18020-2005.
77842
77843 2011-05-16 Ulrich Drepper <drepper@gmail.com>
77844
77845 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
77846 RE_SYNTAX_POSIX_AWK): Update to match recent development.
77847 Patch by Aharon Robbins <arnold@skeeve.com>.
77848
77849 [BZ #11892]
77850 * stdlib/putenv.c (putenv): Don't always create copy of the variable
77851 on the stack.
77852
77853 [BZ #11895]
77854 * misc/pselect.c (__pselect): Handle timeout value errors hidden
77855 through underflows.
77856
77857 [BZ #12766]
77858 * misc/error.c (error_at_line): Ensure file_name and old_file_name
77859 point to strings before performing equality test for error_one_per_line
77860 mode.
77861
77862 [BZ #11697]
77863 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
77864
77865 [BZ #11820]
77866 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
77867 (struct user_fpregs_struct): Avoid __uint*_t types.
77868
77869 [BZ #6420]
77870 * malloc/mtrace.c (tr_where): Add additional parameter to point to
77871 symbol info. Use it instead of calling _dl_addr locally.
77872 (lock_and_info): New function.
77873 (tr_freehook): Call lock_and_info and pass symbol info as additional
77874 parameter to tr_where.
77875 (tr_mallochook): Likewise.
77876 (tr_reallochook): Likewise.
77877 (tr_memalignhook): Likewise.
77878
77879 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
77880 used and couldn't be at all thread-safe.
77881
77882 2011-05-15 Ulrich Drepper <drepper@gmail.com>
77883
77884 * libio/freopen.c (freopen): Don't close old file descriptor
77885 before the new one is opened. Instead dup the new file descriptor
77886 to the old one after the new stream is created.
77887 * libio/freopen64.c (freopen64): Likewise.
77888 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
77889 * libio/fileops.c (_IO_new_file_close_it): Handle new
77890 _IO_FLAGS2_NOCLOSE flag.
77891 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
77892 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
77893 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
77894 _IO_FLAGS2_NOCLOSE flag.
77895 * include/unistd.h: Add hidden_proto for dup3.
77896 Define __have_dup3.
77897 * io/dup3.c: Define hidden symbol.
77898 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
77899
77900 [BZ #7101]
77901 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
77902 when an incomplete long option is used.
77903 * posix/tst-getopt_long1.c: New file.
77904 * posix/Makefile (tests): Add tst-getopt_long1.
77905
77906 [BZ #10138]
77907 * scripts/config.guess: Update from autoconf-2.68.
77908 * scripts/config.sub: Likewise.
77909
77910 [BZ #10157]
77911 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
77912 tests into ...
77913 (has_cpuclock): ...this. New function.
77914 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
77915 macro here based on has_cpuclock code.
77916
77917 [BZ #10149]
77918 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
77919 First byte (not low byte) is now always NUL.
77920 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
77921
77922 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
77923 Use non-cancelable interfaces.
77924
77925 [BZ #9809]
77926 * locale/iso-639.def: Add entry for Sorani.
77927
77928 [BZ #11901]
77929 * include/stdlib.h: Move include protection to the right place.
77930 Define abort_msg_s. Declare __abort_msg with it.
77931 * stdlib/abort.c (__abort_msg): Adjust type.
77932 * assert/assert.c (__assert_fail_base): New function. Majority
77933 of code from __assert_fail. Allocate memory for __abort_msg with
77934 mmap.
77935 (__assert_fail): Now call __assert_fail_base.
77936 * assert/assert-perr.c: Remove bulk of implementation. Use
77937 __assert_fail_base.
77938 * include/assert.hL Declare __assert_fail_base.
77939 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
77940 mmap.
77941 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
77942
77943 2011-05-14 Ulrich Drepper <drepper@gmail.com>
77944
77945 [BZ #11952]
77946 [BZ #12453]
77947 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
77948 until all modules are registered in the DTV.
77949 * elf/Makefile: Add rules to build and run tst-tls19.
77950 * elf/tst-tls19.c: New file.
77951 * elf/tst-tls19mod1.c: New file.
77952 * elf/tst-tls19mod2.c: New file.
77953 * elf/tst-tls19mod3.c: New file.
77954 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
77955
77956 [BZ #12083]
77957 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
77958 correctly.
77959
77960 [BZ #12601]
77961 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
77962 two-byte sequence errors.
77963 * iconvdata/Makefile (tests): Add bug-iconv8.
77964 * iconvdata/bug-iconv8.c: New file.
77965
77966 [BZ #12626]
77967 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
77968 buf2 definition.
77969
77970 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
77971
77972 [BZ #12432]
77973 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
77974 (dummy_getcfa): New function.
77975 (init): Get _Unwind_GetCFA address, use dummy if not found.
77976 (backtrace_helper): In recursion check, also check whether CFA changes.
77977 (__backtrace): Completely initialize arg.
77978
77979 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
77980 storing incomplete byte sequence in state object. Avoid testing for
77981 guaranteed too small input if we know there is enough data available.
77982
77983 2011-05-11 Andreas Schwab <schwab@redhat.com>
77984
77985 * Makeconfig (+link-pie): Indent.
77986 * Rules (binaries-pie): Define if $(have-fpie) and
77987 $(build-shared).
77988 (binaries-shared): Also filter out $(binaries-pie).
77989 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
77990 * nscd/Makefile (others-pie): Add nscd.
77991 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
77992 ($(objpfx)nscd): Remove command override.
77993 * login/Makefile (others-pie): Add pt_chown.
77994 ($(objpfx)pt_chown): Remove command override.
77995 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
77996 remove command overrides.
77997
77998 2011-05-13 Ulrich Drepper <drepper@gmail.com>
77999
78000 * libio/tst_putwc.c: Fix error messages.
78001
78002 [BZ #12724]
78003 * libio/fileops.c (_IO_new_file_close_it): Always flush when
78004 currently writing and seek to current position when not.
78005 * libio/Makefile (tests): Add bug-fclose1.
78006 * libio/bug-fclose1.c: New file.
78007
78008 2011-05-12 Ulrich Drepper <drepper@gmail.com>
78009
78010 [BZ #12511]
78011 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
78012 don't set DF_1_NODELETE here.
78013 (do_lookup_x): When entering new entry test for copy relocation
78014 and if necessary set DF_1_NODELETE flag.
78015 * elf/tst-unique4.cc: New file.
78016 * elf/tst-unique4.h: New file.
78017 * elf/tst-unique4lib.cc: New file.
78018 * elf/Makefile: Add rules to build and run tst-unique4.
78019 Patch by Piotr Bury <pbury@goahead.com>.
78020
78021 2011-05-11 Ulrich Drepper <drepper@gmail.com>
78022
78023 [BZ #12052]
78024 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
78025
78026 [BZ #12625]
78027 * misc/mntent_r.c (addmntent): Flush the stream after the output
78028
78029 [BZ #12393]
78030 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
78031 (is_trusted_path_normalize): Skip initial colon. Append slash
78032 to empty buffer. Duplicate is_trusted_path code but allow
78033 constructed patch to be prefix.
78034 (is_dst): Allow $ORIGIN followed by /.
78035 (_dl_dst_substitute): Correct clearing of check_for_trusted.
78036 Correct testing of result of is_trusted_path_normalize
78037 (decompose_rpath): Fix warning.
78038
78039 2011-05-10 Ulrich Drepper <drepper@gmail.com>
78040
78041 [BZ #11257]
78042 * grp/initgroups.c (internal_getgrouplist): When we found the service
78043 list through the initgroups entry in nsswitch.conf do not always
78044 continue on a successful lookup. Don't always use the
78045 __nss_group_database value if it is set.
78046 * nss/nsswitch.conf (initgroups): Change action for successful db
78047 lookup to continue for compatibility.
78048
78049 2011-05-09 Ulrich Drepper <drepper@gmail.com>
78050
78051 [BZ #11532]
78052 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
78053 and CP774 modules.
78054 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
78055 and CP774 modules.
78056 * iconvdata/tst-tables.sh: Likewise.
78057 * iconvdata/cp770.c: New file.
78058 * iconvdata/cp771.c: New file.
78059 * iconvdata/cp772.c: New file.
78060 * iconvdata/cp773.c: New file.
78061 * iconvdata/cp774.c: New file.
78062 * iconvdata/testdata/CP770: New file.
78063 * iconvdata/testdata/CP770..UTF8: New file.
78064 * iconvdata/testdata/CP771: New file.
78065 * iconvdata/testdata/CP771..UTF8: New file.
78066 * iconvdata/testdata/CP772: New file.
78067 * iconvdata/testdata/CP772..UTF8: New file.
78068 * iconvdata/testdata/CP773: New file.
78069 * iconvdata/testdata/CP773..UTF8: New file.
78070 * iconvdata/testdata/CP774: New file.
78071 * iconvdata/testdata/CP774..UTF8: New file.
78072
78073 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
78074 END CHARMAP line.
78075 * iconvdata/gen-8bit-gap.sh: Likewise.
78076 * iconvdata/gen-8bit.sh: Likewise.
78077
78078 * locale/iso-639.def: Add ary entry.
78079
78080 [BZ #11258]
78081 * locale/C-translit.h.in: Add U20A1 transliteration.
78082
78083 [BZ #12178]
78084 * locale/iso-639.def: Add wae entry.
78085 Patch by Kevin Bortis <bortis@translate-wae.ch>.
78086
78087 [BZ #12545]
78088 * locale/programs/localedef.c (construct_output_path): Use ssize_t
78089 for n.
78090
78091 [BZ #12711]
78092 * locale/C-translit.h.in: Add entry for U20B9.
78093 Patch by pravin.d.s@gmail.com.
78094
78095 2011-05-08 Ulrich Drepper <drepper@gmail.com>
78096
78097 [BZ #12713]
78098 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
78099 ENAMETOOLONG use generic getcwd.
78100 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
78101 in rtld. Use *stat64.
78102 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
78103 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
78104 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
78105 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
78106 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
78107 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
78108 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
78109 __fstatat64 macros.
78110 * include/dirent.h: Add libc_hidden_proto for rewinddir.
78111 * dirent/rewinddir.c: Add libc_hidden_def.
78112 * sysdeps/mach/hurd/rewinddir.c: Likewise.
78113 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
78114
78115 * include/dirent.h (__alloc_dir): Add flags parameter.
78116 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
78117 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
78118 __alloc_dir.
78119 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
78120 from fdopendir if O_CLOEXEC is already set.
78121
78122 2011-03-15 Alan Modra <amodra@gmail.com>
78123
78124 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
78125 l_tls_firstbyte_offset non-zero. Save padding offset in
78126 l_tls_firstbyte_offset for later use.
78127 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
78128 freeing static tls block.
78129
78130 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
78131
78132 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
78133 where #ifdef was intended. The intent is to prevent ARG_MAX from
78134 being defined by the kernel headers.
78135
78136 2011-05-07 Ulrich Drepper <drepper@gmail.com>
78137
78138 [BZ #12734]
78139 * resolv/resolv.h: Define RES_NOTLDQUERY.
78140 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
78141 no-tld-query and set RES_NOTLDQUERY.
78142 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
78143 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
78144 modern BIND to search name as TLD unless forbidden.
78145
78146 2011-05-07 Petr Baudis <pasky@suse.cz>
78147 Ulrich Drepper <drepper@gmail.com>
78148
78149 [BZ #12393]
78150 * elf/dl-load.c (fillin_rpath): Move trusted path check...
78151 (is_trusted_path): ...to here.
78152 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
78153 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
78154 using is_trusted_path_normalize() in setuid scripts.
78155
78156 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
78157
78158 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
78159 __BEGIN/__END_DECLS.
78160
78161 2011-05-06 Ulrich Drepper <drepper@gmail.com>
78162
78163 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
78164 NSS_STATUS_NOTFOUND if no record was found.
78165
78166 2011-05-05 Andreas Schwab <schwab@redhat.com>
78167
78168 * sunrpc/Makefile (headers): Add rpc/netdb.h.
78169 (headers-not-in-tirpc): Remove rpc/netdb.h
78170 * resolv/netdb.h: Revert last change.
78171
78172 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
78173
78174 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
78175 circular dependency between libgcc.a and libc.a.
78176
78177 2011-05-05 Andreas Schwab <schwab@redhat.com>
78178
78179 * resolv/netdb.h: Don't include <rpc/netdb.h>.
78180 * nis/Makefile: Don't install rpcsvc/*.
78181 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
78182 instead of <rpc/types.h>.
78183 (MAXHOSTNAMELEN): Define.
78184
78185 2011-05-03 Andreas Schwab <schwab@redhat.com>
78186
78187 * elf/ldconfig.c (add_dir): Don't crash on empty path.
78188
78189 2011-04-28 Maciej Babinski <mbabinski@google.com>
78190
78191 [BZ #12714]
78192 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
78193 gethostbyname4_r when IPv6 results are possible.
78194
78195 2011-05-02 Ulrich Drepper <drepper@gmail.com>
78196
78197 [BZ #12723]
78198 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
78199 _PC_PIPE_BUF handling.
78200
78201 2011-04-30 Bruno Haible <bruno@clisp.org>
78202
78203 [BZ #12717]
78204 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
78205 * resolv/netdb.h (getnameinfo): Change type of flags parameter
78206 to 'int'.
78207 * inet/getnameinfo.c (getnameinfo): Likewise.
78208
78209 2011-04-29 Ulrich Drepper <drepper@gmail.com>
78210
78211 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
78212 to groups setting in database lookup.
78213 * nss/nsswitch.conf: Add initgroups entry.
78214
78215 2011-04-22 Ulrich Drepper <drepper@gmail.com>
78216
78217 [BZ #12685]
78218 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
78219 mode string.
78220 Patch by Eric Blake <eblake@redhat.com>.
78221
78222 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
78223
78224 * sunrpc/Makefile (need-export-routines): Add svc_run.
78225 (routines): Remove svc_run.
78226 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
78227 * sunrpc/clnt_perr.c (clnt_perrno): Export.
78228 * sunrpc/svc_run.c (svc_run): Likewise.
78229 * sunrpc/svc_udp.c (svcudp_create): Likewise.
78230
78231 2011-04-21 Ulrich Drepper <drepper@gmail.com>
78232
78233 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
78234 problem in reallocation in last patch.
78235
78236 2011-04-20 Ulrich Drepper <drepper@gmail.com>
78237
78238 * sunrpc/Makefile: Move inclusion of Rules.
78239
78240 2011-04-19 Ulrich Drepper <drepper@gmail.com>
78241
78242 * nss/nss_files/files-initgroups.c: New file.
78243 * nss/Makefile (libnss_files-routines): Add files-initgroups.
78244 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
78245 _nss_files_initgroups_dyn.
78246
78247 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
78248
78249 * elf/elf.h (R_ARM_IRELATIVE): Define.
78250
78251 2011-04-19 Ulrich Drepper <drepper@gmail.com>
78252
78253 * po/ru.po: Update from translation team.
78254
78255 2011-04-17 Ulrich Drepper <drepper@gmail.com>
78256
78257 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
78258 dependencies.
78259
78260 2011-02-06 Mike Frysinger <vapier@gentoo.org>
78261
78262 [BZ #12653]
78263 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
78264 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
78265 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
78266 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
78267 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
78268
78269 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
78270
78271 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
78272 differing bytes.
78273 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
78274 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
78275 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
78276
78277 2011-04-17 Ulrich Drepper <drepper@gmail.com>
78278
78279 [BZ #12420]
78280 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
78281 storing it.
78282 * stdlib/bug-getcontext.c: New file.
78283 * stdlib/Makefile: Add rules to build and run bug-getcontext.
78284
78285 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
78286
78287 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
78288 instructions into .machine "z9-109".
78289 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
78290 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
78291
78292 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
78293
78294 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
78295 between environment variables and auxiliary vector.
78296
78297 2011-04-16 Ulrich Drepper <drepper@gmail.com>
78298
78299 * Makefile: Add rules to build linkobj/libc.so.
78300 * include/libc-symbols.h: Define libc_hidden_nolink.
78301 * include/rpc/auth.h: Mark functions which are to be hidden.
78302 * include/rpc/auth_des.h: Likewise.
78303 * include/rpc/auth_unix.h: Likewise.
78304 * include/rpc/clnt.h: Likewise.
78305 * include/rpc/des_crypt.h: Likewise.
78306 * include/rpc/key_prot.h: Likewise.
78307 * include/rpc/pmap_clnt.h: Likewise.
78308 * include/rpc/pmap_prot.h: Likewise.
78309 * include/rpc/pmap_rmt.h: Likewise.
78310 * include/rpc/rpc_msg.h: Likewise.
78311 * include/rpc/svc.h: Likewise.
78312 * include/rpc/svc_auth.h: Likewise.
78313 * include/rpc/xdr.h: Likewise.
78314 * nis/Makefile: Link all DSOs against linkobj/libc.so.
78315 * nss/Makefile: Likewise.
78316 * sunrpc/Makefile: Don't install headers. Build library with normal
78317 entry points. Don't build rpcinfo. Link RPC tests appropriately.
78318 * sunrpc/auth_des.c: Hide exported symbols by default, export some
78319 for the compat linking library. Remove use of INTDEF/INTUSE.
78320 * sunrpc/auth_none.c: Likewise.
78321 * sunrpc/auth_unix.c: Likewise.
78322 * sunrpc/authdes_prot.c: Likewise.
78323 * sunrpc/authuxprot.c: Likewise.
78324 * sunrpc/clnt_gen.c: Likewise.
78325 * sunrpc/clnt_perr.c: Likewise.
78326 * sunrpc/clnt_raw.c: Likewise.
78327 * sunrpc/clnt_simp.c: Likewise.
78328 * sunrpc/clnt_tcp.c: Likewise.
78329 * sunrpc/clnt_udp.c: Likewise.
78330 * sunrpc/clnt_unix.c: Likewise.
78331 * sunrpc/des_crypt.c: Likewise.
78332 * sunrpc/des_soft.c: Likewise.
78333 * sunrpc/get_myaddr.c: Likewise.
78334 * sunrpc/key_call.c: Likewise.
78335 * sunrpc/key_prot.c: Likewise.
78336 * sunrpc/netname.c: Likewise.
78337 * sunrpc/pm_getmaps.c: Likewise.
78338 * sunrpc/pm_getport.c: Likewise.
78339 * sunrpc/pmap_clnt.c: Likewise.
78340 * sunrpc/pmap_prot.c: Likewise.
78341 * sunrpc/pmap_prot2.c: Likewise.
78342 * sunrpc/pmap_rmt.c: Likewise.
78343 * sunrpc/publickey.c: Likewise.
78344 * sunrpc/rpc_cmsg.c: Likewise.
78345 * sunrpc/rpc_common.c: Likewise.
78346 * sunrpc/rpc_dtable.c: Likewise.
78347 * sunrpc/rpc_prot.c: Likewise.
78348 * sunrpc/rpc_thread.c: Likewise.
78349 * sunrpc/rtime.c: Likewise.
78350 * sunrpc/svc.c: Likewise.
78351 * sunrpc/svc_auth.c: Likewise.
78352 * sunrpc/svc_authux.c: Likewise.
78353 * sunrpc/svc_raw.c: Likewise.
78354 * sunrpc/svc_run.c: Likewise.
78355 * sunrpc/svc_simple.c: Likewise.
78356 * sunrpc/svc_tcp.c: Likewise.
78357 * sunrpc/svc_udp.c: Likewise.
78358 * sunrpc/svc_unix.c: Likewise.
78359 * sunrpc/svcauth_des.c: Likewise.
78360 * sunrpc/xcrypt.c: Likewise.
78361 * sunrpc/xdr.c: Likewise.
78362 * sunrpc/xdr_array.c: Likewise.
78363 * sunrpc/xdr_float.c: Likewise.
78364 * sunrpc/xdr_intXX_t.c: Likewise.
78365 * sunrpc/xdr_mem.c: Likewise.
78366 * sunrpc/xdr_rec.c: Likewise.
78367 * sunrpc/xdr_ref.c: Likewise.
78368 * sunrpc/xdr_sizeof.c: Likewise.
78369 * sunrpc/xdr_stdio.c: Likewise.
78370
78371 2011-04-10 Ulrich Drepper <drepper@gmail.com>
78372
78373 [BZ #12650]
78374 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
78375 * sysdeps/ia64/dl-tls.h: Likewise.
78376 * sysdeps/powerpc/dl-tls.h: Likewise.
78377 * sysdeps/s390/dl-tls.h: Likewise.
78378 * sysdeps/sh/dl-tls.h: Likewise.
78379 * sysdeps/sparc/dl-tls.h: Likewise.
78380 * sysdeps/x86_64/dl-tls.h: Likewise.
78381 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
78382
78383 2011-03-14 Andreas Schwab <schwab@redhat.com>
78384
78385 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
78386 rpath element also skip the following colon.
78387 (expand_dynamic_string_token): Add is_path parameter and pass
78388 down to DL_DST_REQUIRED and _dl_dst_substitute.
78389 (decompose_rpath): Call expand_dynamic_string_token with
78390 non-zero is_path. Ignore empty rpaths.
78391 (_dl_map_object_from_fd): Call expand_dynamic_string_token
78392 with zero is_path.
78393
78394 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
78395
78396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
78397 Make cancelable.
78398
78399 2011-04-09 Ulrich Drepper <drepper@gmail.com>
78400
78401 [BZ #12655]
78402 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
78403 Patch by Filipe David Manana <fdmanana@apache.org>.
78404
78405 2011-04-07 Andreas Schwab <schwab@redhat.com>
78406
78407 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
78408 Maintain aligned stack.
78409 (CHECK_RSP): Remove unused macro.
78410
78411 2011-04-03 Ulrich Drepper <drepper@gmail.com>
78412
78413 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
78414 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
78415
78416 2011-04-02 Ulrich Drepper <drepper@gmail.com>
78417
78418 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
78419
78420 * include/features.h: Mention __USE_XOPEN2K8 in comment.
78421
78422 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
78423
78424 [BZ #12518]
78425 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
78426 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
78427 * sysdeps/x86_64/memmove.c: New file.
78428 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
78429 (memcpy): Renamed to ...
78430 (__new_memcpy): This.
78431 (memcpy): Provide GLIBC_2_14 memcpy.
78432 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
78433 (memcpy): Provide GLIBC_2_2_5 memcpy.
78434
78435 2011-04-01 Ulrich Drepper <drepper@gmail.com>
78436
78437 [BZ #12631]
78438 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
78439
78440 2011-03-30 Andreas Schwab <schwab@redhat.com>
78441
78442 * misc/syncfs.c: New file.
78443 * misc/Makefile (routines): Add syncfs.
78444 * posix/unistd.h: Declare syncfs.
78445 * sysdeps/unix/syscalls.list: Add syncfs.
78446
78447 2011-04-01 Andreas Schwab <schwab@redhat.com>
78448
78449 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
78450 open_by_handle_at.
78451 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
78452 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
78453 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
78454 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
78455 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
78456 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
78457 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
78458
78459 2011-04-01 Ulrich Drepper <drepper@gmail.com>
78460
78461 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
78462 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
78463 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
78464 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
78465 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
78466 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
78467 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
78468
78469 * io/Makefile: Compile fallocate.c, fallocate64.c, and
78470 sync_file_range.c with -fexceptions.
78471 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
78472 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
78473 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
78474 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
78475 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
78476 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
78477 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
78478 sync_file_range as cancellation point
78479 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
78480 now a wrapper around __call_sync_file_range with cancellation handling.
78481 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
78482 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
78483 function name to __call_sync_file_range.
78484 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
78485 Add call_sync_file_range.
78486
78487 2011-04-01 Andreas Schwab <schwab@redhat.com>
78488
78489 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
78490 bits/timex.h.
78491
78492 2011-04-01 Ulrich Drepper <drepper@gmail.com>
78493
78494 * iconv/iconv.h: Fix typo in comment.
78495 * io/fcntl.h: Likewise.
78496 * libio/stdio.h: Likewise.
78497 * posix/spawn.h: Likewise.
78498 * posix/unistd.h: Likewise.
78499 * stdlib/stdlib.h: Likewise.
78500 * time/time.h: Likewise.
78501 * wcsmbs/wchar.h: Likewise.
78502
78503 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
78504 open_by_handle): Add.
78505 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
78506 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
78507 Augment a few comments.
78508 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
78509 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
78510 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
78511 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
78512 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
78513 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
78514 open_by_handle.
78515
78516 * io/fcntl.h (AT_EMPTY_PATH): Define.
78517
78518 2011-03-30 Ulrich Drepper <drepper@gmail.com>
78519
78520 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
78521 * sysdeps/unix/sysv/linux/bits/time.h: New file.
78522 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
78523 to...
78524 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
78525 * Versions.def: Add GLIBC_2.14.
78526 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
78527 Export.
78528
78529 2011-03-22 Ulrich Drepper <drepper@gmail.com>
78530
78531 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
78532 round counter.
78533 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
78534
78535 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
78536
78537 [BZ #12597]
78538 * string/test-strncmp.c (do_page_test): New function.
78539 (check2): Likewise.
78540 (test_main): Call check2.
78541 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
78542
78543 2011-03-20 Ulrich Drepper <drepper@gmail.com>
78544
78545 [BZ #12587]
78546 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
78547 Handle cache information in CPU leaf 4.
78548 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
78549
78550 2011-03-18 Ulrich Drepper <drepper@gmail.com>
78551
78552 [BZ #12583]
78553 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
78554 character representation.
78555 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
78556
78557 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
78558
78559 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
78560 END(__isnan) to END(__isnanf) to match function entry point/label
78561 EALIGN(__isnanf,...).
78562
78563 2011-03-10 Jakub Jelinek <jakub@redhat.com>
78564
78565 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
78566
78567 2011-03-10 Ulrich Drepper <drepper@gmail.com>
78568
78569 [BZ #12510]
78570 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
78571 copy from the symbol referenced in the relocation to initialize the
78572 used variable.
78573 Patch by Piotr Bury <pbury@goahead.com>.
78574 * elf/Makefile: Add rules to build and tst-unique3.
78575 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
78576 * elf/tst-unique3.cc: New file.
78577 * elf/tst-unique3.h: New file.
78578 * elf/tst-unique3lib.cc: New file.
78579 * elf/tst-unique3lib2.cc: New file.
78580
78581 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
78582
78583 2011-03-10 Mike Frysinger <vapier@gentoo.org>
78584
78585 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
78586 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
78587 to _start.
78588
78589 2011-03-06 Ulrich Drepper <drepper@gmail.com>
78590
78591 * elf/dl-load.c (_dl_map_object): If we are looking for the first
78592 to-be-loaded object along a path to loader is ld.so.
78593
78594 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
78595 Ulrich Drepper <drepper@gmail.com>
78596
78597 * sysdeps/x86_64/memset.S: After aligning destination, code
78598 branches to different locations depending on the value of
78599 misalignment, when multiarch is enabled. Fix this.
78600
78601 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
78602
78603 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
78604 Set _x86_64_preferred_memory_instruction for AMD processsors.
78605 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78606 Set bit_Prefer_SSE_for_memop for AMD processors.
78607
78608 2011-03-04 Ulrich Drepper <drepper@gmail.com>
78609
78610 * libio/fmemopen.c (fmemopen): Optimize a bit.
78611
78612 2011-03-03 Andreas Schwab <schwab@redhat.com>
78613
78614 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
78615
78616 2011-03-03 Roland McGrath <roland@redhat.com>
78617
78618 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
78619
78620 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
78621
78622 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
78623 __bzero_ultra1 instead of __memset_ultra1.
78624
78625 2011-02-23 Andreas Schwab <schwab@redhat.com>
78626 Ulrich Drepper <drepper@gmail.com>
78627
78628 [BZ #12509]
78629 * include/link.h (struct link_map): Add l_orig_initfini.
78630 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
78631 returning unsuccessfully.
78632 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
78633 close of a file loaded at startup, restore the original l_initfini
78634 list.
78635 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
78636 list, store the pointer.
78637 * elf/Makefile ($(objpfx)noload-mem): New rule.
78638 (noload-ENV): Define.
78639 (tests): Add $(objpfx)noload-mem.
78640 * elf/noload.c: Include <memcheck.h>.
78641 (main): Call mtrace. Close all opened handles.
78642
78643 2011-02-17 Andreas Schwab <schwab@redhat.com>
78644
78645 [BZ #12454]
78646 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
78647 dependencies are missing.
78648
78649 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
78650
78651 Fix __if_freereq crash: Unlike the generic version which uses free,
78652 Hurd needs munmap.
78653 * sysdeps/mach/hurd/ifreq.h: New file.
78654
78655 2011-01-27 Petr Baudis <pasky@suse.cz>
78656 Ulrich Drepper <drepper@gmail.com>
78657
78658 [BZ 12445]#
78659 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
78660 to extend_alloca().
78661 * stdio-common/bug23.c: New file.
78662 * stdio-common/Makefile (tests): Add bug23.
78663
78664 2010-09-28 Andreas Schwab <schwab@redhat.com>
78665 Ulrich Drepper <drepper@gmail.com>
78666
78667 [BZ #12489]
78668 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
78669 before performing relro protection. At old place add assertion
78670 to make sure nothing changed.
78671
78672 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
78673 Glauber de Oliveira Costa <glommer@gmail.com>
78674
78675 * elf/elf.h: Add new ARM TLS relocs.
78676
78677 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
78678
78679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
78680 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
78681 cast from r3.
78682 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
78683 'tests' variable.
78684 * sysdeps/wordsize-64/tst-writev.c: New file.
78685
78686 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
78687
78688 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
78689 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
78690 insns in _dl_start to prevent a TOC reference before relocs are
78691 resolved.
78692
78693 2011-02-15 Ulrich Drepper <drepper@gmail.com>
78694
78695 [BZ #12469]
78696 * Makeconfig: Remove RANLIB definition.
78697 * Makerules: Don't use RANLIB.
78698 * aclocal.m4: Remove ranlib test.
78699 * configure.in: No need to check for ranlib.
78700 * elf/rtld-Rules: Don't use RANLIB.
78701
78702 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
78703
78704 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
78705 protection macro.
78706 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
78707 inclusion protection macro.
78708
78709 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
78710 SIGRTMIN and SIGRTMAX and print information in that case only when
78711 SIGRTMIN is defined.
78712
78713 2011-02-11 Jakub Jelinek <jakub@redhat.com>
78714
78715 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
78716 arginfo fn returning -1.
78717
78718 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
78719 and thousands string is zero terminated.
78720
78721 2011-02-03 Andreas Schwab <schwab@redhat.com>
78722
78723 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
78724 sysdeps/unix/sysv/linux/bits/socket.h.
78725
78726 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
78727
78728 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
78729 (__CPU_COUNT): Remove old macros.
78730 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
78731 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
78732 (__CPU_ALLOC, __CPU_FREE): Add macros.
78733 (__sched_cpualloc, __sched_cpufree): Add declarations.
78734
78735 2011-02-05 Ulrich Drepper <drepper@gmail.com>
78736
78737 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
78738 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
78739 * nscd/aicache.c (addhstaiX): Return timeout of added value.
78740 (readdhstai): Return value of addhstaiX call.
78741 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
78742 (addgrbyX): Return value returned by cache_addgr.
78743 (readdgrbyname): Return value returned by addgrbyX.
78744 (readdgrbygid): Likewise.
78745 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
78746 (addpwbyX): Return value returned by cache_addpw.
78747 (readdpwbyname): Return value returned by addhstbyX.
78748 (readdpwbyuid): Likewise.
78749 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
78750 (addservbyX): Return value returned by cache_addserv.
78751 (readdservbyname): Return value returned by addservbyX:
78752 (readdservbyport): Likewise.
78753 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
78754 (addhstbyX): Return value returned by cache_addhst.
78755 (readdhstbyname): Return value returned by addhstbyX.
78756 (readdhstbyaddr): Likewise.
78757 (readdhstbynamev6): Likewise.
78758 (readdhstbyaddrv6): Likewise.
78759 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
78760 (readdinitgroups): Return value returned by addinitgroupsX.
78761 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
78762 (prune_cache): Keep track of timeout value of re-added entries.
78763 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
78764 * nscd/nscd.h: Adjust prototypes of readd* functions.
78765
78766 2011-02-04 Roland McGrath <roland@redhat.com>
78767
78768 * nis/nis_server.c (nis_servstate): Use the right name for 0.
78769 (nis_stats): Likewise.
78770 * nis/nis_modify.c (nis_modify): Likewise.
78771 * nis/nis_remove.c (nis_remove): Likewise.
78772 * nis/nis_add.c (nis_add): Likewise.
78773
78774 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
78775
78776 * posix/fnmatch_loop.c: Add some consts.
78777
78778 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
78779
78780 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
78781
78782 [BZ #12460]
78783 * config.make.in (config-cflags-novzeroupper): Define.
78784 * configure.in: Substitute libc_cv_cc_novzeroupper.
78785 * elf/Makefile (AVX-CFLAGS): Define.
78786 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
78787 (CFLAGS-tst-auditmod4a.c): Likewise.
78788 (CFLAGS-tst-auditmod4b.c): Likewise.
78789 (CFLAGS-tst-auditmod6b.c): Likewise.
78790 (CFLAGS-tst-auditmod6c.c): Likewise.
78791 (CFLAGS-tst-auditmod7b.c): Likewise.
78792 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
78793
78794 2011-02-02 Ulrich Drepper <drepper@gmail.com>
78795
78796 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
78797 function to the callback.
78798 Patch partly by Jiri Olsa <jolsa@redhat.com>.
78799
78800 2011-02-02 Andreas Schwab <schwab@redhat.com>
78801
78802 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
78803 of errno.
78804
78805 2011-01-19 Ulrich Drepper <drepper@gmail.com>
78806
78807 [BZ #11724]
78808 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
78809 of constructors.
78810 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
78811 of destructors.
78812 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
78813
78814 [BZ #11724]
78815 * elf/Makefile: Add rules to build and run new test.
78816 * elf/tst-initorder.c: New file.
78817 * elf/tst-initorder.exp: New file.
78818 * elf/tst-initordera1.c: New file.
78819 * elf/tst-initordera2.c: New file.
78820 * elf/tst-initordera3.c: New file.
78821 * elf/tst-initordera4.c: New file.
78822 * elf/tst-initorderb1.c: New file.
78823 * elf/tst-initorderb2.c: New file.
78824 * elf/tst-order-a1.c: New file.
78825 * elf/tst-order-a2.c: New file.
78826 * elf/tst-order-a3.c: New file.
78827 * elf/tst-order-a4.c: New file.
78828 * elf/tst-order-b1.c: New file.
78829 * elf/tst-order-b2.c: New file.
78830 * elf/tst-order-main.c: New file.
78831 New test case by George Gensure <werkt0@gmail.com>.
78832
78833 2010-10-01 Andreas Schwab <schwab@redhat.com>
78834
78835 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
78836 decoding ACE if AI_CANONIDN.
78837
78838 2011-01-18 Ulrich Drepper <drepper@gmail.com>
78839
78840 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
78841
78842 2011-01-17 Ulrich Drepper <drepper@gmail.com>
78843
78844 * version.h (RELEASE): Bump for 2.13 release.
78845 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
78846
78847 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
78848
78849 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
78850 MADV_NOHUGEPAGE.
78851 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
78852 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
78853 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
78854 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
78855 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
78856 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
78857
78858 * posix/getconf.c: Update copyright year.
78859 * catgets/gencat.c: Likewise.
78860 * csu/version.c: Likewise.
78861 * debug/catchsegv.sh: Likewise.
78862 * debug/xtrace.sh: Likewise.
78863 * elf/ldconfig.c: Likewise.
78864 * elf/ldd.bash.in: Likewise.
78865 * elf/sprof.c (print_version): Likewise.
78866 * iconv/iconv_prog.c: Likewise.
78867 * iconv/iconvconfig.c: Likewise.
78868 * locale/programs/locale.c: Likewise.
78869 * locale/programs/localedef.c: Likewise.
78870 * malloc/memusage.sh: Likewise.
78871 * malloc/mtrace.pl: Likewise.
78872 * nscd/nscd.c (print_version): Likewise.
78873 * nss/getent.c: Likewise.
78874
78875 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
78876 PF_CAIF, and PF_ALG.
78877 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
78878
78879 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
78880
78881 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
78882 (modules-names): Use them.
78883 (ifunc-test-modules, ifunc-pie-tests): Define.
78884 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
78885 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
78886 (test-extras): Likewise.
78887 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
78888 $(compile-command.c).
78889 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
78890 (all-built-dso): Define.
78891 (check-textrel.out, check-execstack.out): Depend on it.
78892
78893 * configure.in: Don't override --enable-multi-arch.
78894
78895 2011-01-15 Ulrich Drepper <drepper@gmail.com>
78896
78897 [BZ #6812]
78898 * nscd/hstcache.c (tryagain): Define.
78899 (cache_addhst): Return tryagain not notfound for temporary errors.
78900 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
78901 failed.
78902
78903 2011-01-14 Ulrich Drepper <drepper@gmail.com>
78904
78905 [BZ #10563]
78906 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
78907 to make the syscall.
78908 * sysdeps/unix/sysv/linux/setgroups.c: New file.
78909
78910 [BZ #12378]
78911 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
78912 and fall back to matching as normal character if the string ends before
78913 the matching ']' is found. This is what POSIX requires.
78914 * posix/testfnm.c: Adjust test result.
78915 * posix/globtest.sh: Adjust test result. Add new test.
78916 * posix/tst-fnmatch.input: Likewise.
78917 * posix/tst-fnmatch2.c: Add new test.
78918
78919 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
78920
78921 * elf/Makefile (check-execstack): Revert last change. Depend on
78922 check-execstack.h.
78923 (check-execstack.h): New target.
78924 (generated): Add check-execstack.h.
78925 * elf/check-execstack.c: Include "check-execstack.h".
78926 (main): Revert last change.
78927 (handle_file): Return zero if GNU_STACK is absent and
78928 DEFAULT_STACK_PERMS doesn't include PF_X.
78929
78930 2011-01-13 Ulrich Drepper <drepper@gmail.com>
78931
78932 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
78933 in child fails because the descriptor is already closed.
78934 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
78935 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
78936 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
78937
78938 [BZ #12397]
78939 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
78940 syscall.
78941
78942 [BZ #10484]
78943 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
78944 temporary buffer used to handle multi lookups locally.
78945 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
78946
78947 2011-01-12 Ulrich Drepper <drepper@gmail.com>
78948
78949 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
78950 loader is ld.so.
78951
78952 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
78953
78954 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
78955 alignment for SSE2.
78956
78957 2011-01-12 Ulrich Drepper <drepper@gmail.com>
78958
78959 [BZ #12394]
78960 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
78961 characters. When rounding increased number of integer digits recompute
78962 number of groups.
78963 * stdio-common/tst-grouping.c: New file.
78964 * stdio-common/Makefile: Add rules to build and run tst-grouping.
78965
78966 2011-01-09 Ulrich Drepper <drepper@gmail.com>
78967
78968 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
78969 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
78970
78971 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
78972 void.
78973 * bits/select.h: Likewise.
78974
78975 2011-01-08 Ulrich Drepper <drepper@gmail.com>
78976
78977 * po/ja.po: Update from translation team.
78978
78979 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
78980
78981 [BZ #11155]
78982 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
78983 implementation just like for lxstat, fxstatat, et al.
78984
78985 2010-12-27 Jim Meyering <meyering@redhat.com>
78986
78987 [BZ #12348]
78988 * posix/regexec.c (build_trtable): Return failure indication upon
78989 calloc failure. Otherwise, re_search_internal could infloop on OOM.
78990
78991 2010-12-25 Ulrich Drepper <drepper@gmail.com>
78992
78993 [BZ #12201]
78994 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
78995 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
78996 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
78997 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
78998
78999 [BZ #12207]
79000 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
79001
79002 [BZ #12204]
79003 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
79004 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
79005
79006 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
79007
79008 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
79009 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
79010 script has SORT_BY_INIT_PRIORITY.
79011 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
79012 NO_CTORS_DTORS_SECTIONS is defined.
79013 * elf/soinit.c: Likewise.
79014 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
79015 NO_CTORS_DTORS_SECTIONS is defined.
79016 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
79017 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
79018 * sysdeps/sh/init-first.c: Likewise.
79019 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
79020
79021 2010-12-24 Ulrich Drepper <drepper@gmail.com>
79022
79023 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
79024 always use the slow path.
79025
79026 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
79027
79028 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
79029 similar rule which adds the sysdep directories to the header search in
79030 order to pick up the correct platform stackinfo.h.
79031 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
79032 perform test if it is, otherwise return successfully without testing.
79033 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
79034 DEFAULT_STACK_PERMS define in stackinfo.h.
79035 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
79036 defined in stackinfo.h.
79037 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
79038 DEFAULT_STACK_PERMS defined in stackinfo.h.
79039 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
79040 * sysdeps/ia64/stackinfo.h: Likewise.
79041 * sysdeps/s390/stackinfo.h: Likewise.
79042 * sysdeps/sh/stackinfo.h: Likewise.
79043 * sysdeps/sparc/stackinfo.h: Likewise.
79044 * sysdeps/x86_64/stackinfo.h: Likewise.
79045 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
79046 PF_X for powerpc64. Retain PF_X for powerpc32.
79047
79048 2010-12-19 Ulrich Drepper <drepper@gmail.com>
79049
79050 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
79051 accurately.
79052 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
79053 GETDENTS_64BIT_ALIGNED.
79054
79055 2010-12-14 Ulrich Drepper <dreper@gmail.com>
79056
79057 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
79058
79059 2010-12-10 Andreas Schwab <schwab@redhat.com>
79060
79061 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
79062 _GNU_SOURCE.
79063
79064 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
79065 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
79066 Remove __restrict.
79067 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
79068 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
79069
79070 2010-12-09 Ulrich Drepper <drepper@gmail.com>
79071
79072 [BZ #11655]
79073 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
79074 are initialized.
79075
79076 2010-12-09 Jakub Jelinek <jakub@redhat.com>
79077
79078 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
79079
79080 2010-12-03 Ulrich Drepper <drepper@gmail.com>
79081
79082 * po/it.po: Update from translation team.
79083
79084 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
79085
79086 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
79087 unused codes.
79088
79089 2010-11-30 Ulrich Drepper <drepper@gmail.com>
79090
79091 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
79092
79093 2010-11-24 Andreas Schwab <schwab@redhat.com>
79094
79095 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
79096 specially.
79097 (gaih_getanswer_slice): Likewise.
79098
79099 2010-10-20 Jakub Jelinek <jakub@redhat.com>
79100
79101 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
79102
79103 2010-05-31 Petr Baudis <pasky@suse.cz>
79104
79105 [BZ #11149]
79106 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
79107 silently even in the chroot mode.
79108
79109 2010-11-22 Ulrich Drepper <drepper@gmail.com>
79110
79111 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
79112 last patch a bit. Pretty printing
79113
79114 2010-05-31 Petr Baudis <pasky@suse.cz>
79115
79116 [BZ #10085]
79117 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
79118 initialization of skip_initgroups_dyn.
79119
79120 2010-11-19 Ulrich Drepper <drepper@gmail.com>
79121
79122 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
79123 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
79124
79125 2010-11-16 Ulrich Drepper <drepper@gmail.com>
79126
79127 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
79128
79129 2010-11-11 Andreas Schwab <schwab@redhat.com>
79130
79131 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
79132 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
79133 (tst-fnmatch-ENV): Set MALLOC_TRACE.
79134 ($(objpfx)tst-fnmatch-mem): New rule.
79135 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
79136 * posix/tst-fnmatch.c (main): Call mtrace.
79137
79138 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
79139
79140 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79141 Support Intel processor model 6 and model 0x2c.
79142
79143 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
79144
79145 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
79146 signed comparison.
79147
79148 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
79149
79150 [BZ #12205]
79151 * string/test-strncasecmp.c (check_result): New function.
79152 (do_one_test): Use it.
79153 (check1): New function.
79154 (test_main): Use it.
79155 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
79156 Support strcasecmp and strncasecmp.
79157
79158 2010-11-08 Ulrich Drepper <drepper@gmail.com>
79159
79160 [BZ #12194]
79161 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
79162 * sysdeps/x86_64/bits/byteswap.h: Likewise.
79163
79164 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
79165
79166 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
79167 IFUNC support.
79168 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79169 memset-x86-64.
79170 * sysdeps/x86_64/multiarch/bzero.S: New file.
79171 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
79172 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
79173 * sysdeps/x86_64/multiarch/memset.S: New file.
79174 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
79175 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79176 Set bit_Prefer_SSE_for_memop for Intel processors.
79177 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
79178 Define.
79179 (index_Prefer_SSE_for_memop): Define.
79180 (HAS_PREFER_SSE_FOR_MEMOP): Define.
79181
79182 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
79183
79184 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
79185 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
79186
79187 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
79188
79189 [BZ #12191]
79190 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
79191 (__x86_64_raw_data_cache_size_half): Likewise.
79192 (__x86_64_raw_shared_cache_size): Likewise.
79193 (__x86_64_raw_shared_cache_size_half): Likewise.
79194
79195 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
79196 (__x86_64_raw_data_cache_size_half): Likewise.
79197 (__x86_64_raw_shared_cache_size): Likewise.
79198 (__x86_64_raw_shared_cache_size_half): Likewise.
79199 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
79200 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
79201 and __x86_64_raw_shared_cache_size_half. Round
79202 __x86_64_data_cache_size_half, __x86_64_data_cache_size
79203 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
79204 to multiple of 256 bytes.
79205
79206 2010-11-03 Ulrich Drepper <drepper@gmail.com>
79207
79208 [BZ #12167]
79209 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
79210 of inacessible symlinks. Verify result of symlink before returning it.
79211 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
79212 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
79213
79214 2010-10-28 Erich Ritz <erichritz@gmail.com>
79215
79216 * math/math.h (isinf): Fix typo in comment.
79217
79218 2010-11-01 Ulrich Drepper <drepper@gmail.com>
79219
79220 * po/da.po: Update from translation team.
79221
79222 2010-10-26 Ulrich Drepper <drepper@gmail.com>
79223
79224 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
79225 is added to the list.
79226
79227 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
79228 Ulrich Drepper <drepper@gmail.com>
79229
79230 * elf/dl-object.c (_dl_new_object): Don't append the new object to
79231 the global list here. Move code to...
79232 (_dl_add_to_namespace_list): ...here. New function.
79233 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
79234 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
79235 * elf/dl-load.c (lose): Don't remove the element from the list.
79236 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
79237 (_dl_map_object): Likewise.
79238
79239 2010-10-25 Ulrich Drepper <drepper@gmail.com>
79240
79241 [BZ #12159]
79242 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
79243 into all bytes of SSE register.
79244 Patch by Richard Li <richardpku@gmail.com>.
79245
79246 2010-10-24 Ulrich Drepper <drepper@gmail.com>
79247
79248 [BZ #12140]
79249 * malloc/malloc.c (_int_free): Fill correct number of bytes when
79250 perturbing.
79251
79252 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
79253
79254 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
79255 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
79256 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
79257 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
79258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
79259 submachine.
79260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
79261
79262 2010-10-22 Andreas Schwab <schwab@redhat.com>
79263
79264 * include/dlfcn.h (__RTLD_SECURE): Define.
79265 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
79266 mode & __RTLD_SECURE instead.
79267 (open_path): Rename preloaded parameter to secure.
79268 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
79269 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
79270 * elf/dl-deps.c (openaux): Likewise.
79271 * elf/rtld.c (struct map_args): Remove is_preloaded.
79272 (map_doit): Don't use it.
79273 (dl_main): Likewise.
79274 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
79275 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
79276
79277 2010-09-09 Andreas Schwab <schwab@redhat.com>
79278
79279 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
79280 (sysd-rules-targets): Remove duplicates.
79281 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
79282 rtld-%.$o dependency.
79283
79284 2010-10-18 Andreas Schwab <schwab@redhat.com>
79285
79286 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
79287 _dl_map_object do it.
79288
79289 2010-10-19 Ulrich Drepper <drepper@gmail.com>
79290
79291 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
79292 fast fma builtins, define the macros in the C99 standard.
79293 (FP_FAST_FMAF): Likewise.
79294 (FP_FAST_FMAL): Likewise.
79295 * sysdeps/x86_64/bits/mathdef.h: Likewise.
79296
79297 * bits/mathdef.h: Update copyright year.
79298 * sysdeps/powerpc/bits/mathdef.h: Likewise.
79299
79300 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
79301
79302 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
79303 builtins, define the macros in the C99 standard.
79304 (FP_FAST_FMAF): Likewise.
79305 (FP_FAST_FMAL): Likewise.
79306 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
79307 multiply/add.
79308 (FP_FAST_FMAF): Likewise.
79309
79310 2010-10-15 Jakub Jelinek <jakub@redhat.com>
79311
79312 [BZ #3268]
79313 * math/libm-test.inc (fma_test): Some new testcases.
79314 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
79315 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
79316 y and infinite z. Do multiplication by C already in long double.
79317 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
79318 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
79319 y and infinite z. Do bitwise or of inexact bit into u.d.
79320 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
79321 * sysdeps/i386/fpu/s_fmaf.S: Removed.
79322 * sysdeps/i386/fpu/s_fma.S: Removed.
79323 * sysdeps/i386/fpu/s_fmal.S: Removed.
79324
79325 2010-10-16 Jakub Jelinek <jakub@redhat.com>
79326
79327 [BZ #3268]
79328 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
79329 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
79330 computation is not scheduled after fetestexcept. Fix value
79331 of minimum denormal long double.
79332
79333 2010-10-14 Jakub Jelinek <jakub@redhat.com>
79334
79335 [BZ #3268]
79336 * math/libm-test.inc (fma_test): Add some more tests.
79337 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
79338 correctly.
79339
79340 2010-10-15 Andreas Schwab <schwab@redhat.com>
79341
79342 * scripts/data/localplt-s390-linux-gnu.data: New file.
79343 * scripts/data/localplt-s390x-linux-gnu.data: New file.
79344
79345 2010-10-13 Jakub Jelinek <jakub@redhat.com>
79346
79347 [BZ #3268]
79348 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
79349 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
79350 instead of dbl-64.
79351 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
79352 inlines.
79353 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
79354 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
79355 if one of x and y is very large and the other is subnormal.
79356 * sysdeps/s390/fpu/s_fmaf.c: New file.
79357 * sysdeps/s390/fpu/s_fma.c: New file.
79358 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
79359 * sysdeps/powerpc/fpu/s_fma.S: New file.
79360 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
79361 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
79362 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
79363
79364 2010-10-12 Jakub Jelinek <jakub@redhat.com>
79365
79366 [BZ #3268]
79367 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
79368 fma tests.
79369 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
79370 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
79371 * sysdeps/i386/i686/multiarch/s_fma.c: Include
79372 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
79373 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
79374 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
79375 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
79376
79377 2010-10-12 Ulrich Drepper <drepper@redhat.com>
79378
79379 [BZ #12078]
79380 * posix/regcomp.c (parse_branch): One more memory leak plugged.
79381 * posix/bug-regex31.input: Add test case.
79382
79383 2010-10-11 Ulrich Drepper <drepper@gmail.com>
79384
79385 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
79386 * posix/bug-regex31.input: New file.
79387
79388 [BZ #12078]
79389 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
79390 (parse_sub_exp): Fix last change, use postorder.
79391
79392 * posix/bug-regex31.c: New file.
79393 * posix/Makefile: Add rules to build and run bug-regex31.
79394
79395 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
79396
79397 [BZ #12078]
79398 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
79399
79400 [BZ #12108]
79401 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
79402 to have entries in sys_siglist.
79403
79404 [BZ #12093]
79405 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
79406 be NULL.
79407
79408 2010-10-07 Jakub Jelinek <jakub@redhat.com>
79409
79410 [BZ #3268]
79411 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
79412 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
79413 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
79414 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
79415 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
79416 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
79417 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
79418 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
79419 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
79420 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
79421 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
79422 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
79423 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
79424 * math/ftestexcept.c (fetestexcept): Likewise.
79425 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
79426 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
79427 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
79428 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
79429 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
79430 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
79431 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
79432
79433 2010-10-11 Ulrich Drepper <drepper@gmail.com>
79434
79435 [BZ #12107]
79436 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
79437 newline.
79438
79439 2010-10-06 Ulrich Drepper <drepper@gmail.com>
79440
79441 * string/bug-strstr1.c: New file.
79442 * string/Makefile: Add rules to build and run bug-strstr1.
79443
79444 2010-10-05 Eric Blake <eblake@redhat.com>
79445
79446 [BZ #12092]
79447 * string/str-two-way.h (two_way_long_needle): Always clear memory
79448 when skipping input due to the shift table.
79449
79450 2010-10-03 Ulrich Drepper <drepper@gmail.com>
79451
79452 [BZ #12005]
79453 * malloc/mcheck.c: Handle large requests.
79454
79455 [BZ #12077]
79456 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
79457 for strncmp and strncasecmp.
79458 * string/stratcliff.c: Add tests for strcmp and strncmp.
79459 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
79460
79461 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
79462
79463 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
79464 __set_fpscr.
79465
79466 2010-09-30 Andreas Jaeger <aj@suse.de>
79467
79468 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
79469 (CGROUP_SUPER_MAGIC): Define.
79470 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
79471 Handle btrfs and cgroup file systems.
79472 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
79473 Likewise.
79474
79475 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
79476
79477 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
79478 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
79479
79480 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
79481
79482 [BZ #12067]
79483 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
79484 trying to locate the ELF header.
79485
79486 2010-09-27 Andreas Schwab <schwab@redhat.com>
79487
79488 [BZ #11611]
79489 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
79490 Mask out sign-bit copies when constructing f_fsid.
79491
79492 2010-09-24 Petr Baudis <pasky@suse.cz>
79493
79494 * debug/stack_chk_fail_local.c: Add missing licence exception.
79495 * debug/warning-nop.c: Likewise.
79496
79497 2010-09-15 Joseph Myers <joseph@codesourcery.com>
79498
79499 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
79500 implementing getdents64 using getdents syscall, set d_type if
79501 __ASSUME_GETDENTS32_D_TYPE.
79502
79503 2010-09-16 Andreas Schwab <schwab@redhat.com>
79504
79505 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
79506 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
79507
79508 2010-09-21 Ulrich Drepper <drepper@redhat.com>
79509
79510 [BZ #12037]
79511 * posix/unistd.h: Undo change of feature selection for ftruncate from
79512 2010-01-11.
79513
79514 2010-09-20 Ulrich Drepper <drepper@redhat.com>
79515
79516 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
79517 detection.
79518
79519 2010-09-20 Andreas Schwab <schwab@redhat.com>
79520
79521 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
79522 fanotify_mark.
79523 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
79524
79525 2010-09-14 Andreas Schwab <schwab@redhat.com>
79526
79527 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
79528 variables after CHECK_SP call.
79529 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
79530
79531 2010-09-13 Andreas Schwab <schwab@redhat.com>
79532 Ulrich Drepper <drepper@redhat.com>
79533
79534 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
79535 re-relocationg ld.so.
79536 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
79537 _dl_init_paths call.
79538 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
79539 here anymore.
79540
79541 2010-09-14 Ulrich Drepper <drepper@redhat.com>
79542
79543 * resolv/res_init.c (__res_vinit): Count the default server we added.
79544
79545 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
79546 Ulrich Drepper <drepper@redhat.com>
79547
79548 [BZ #11968]
79549 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
79550 (____longjmp_chk): Use %ebx for saving value across system call.
79551 Add unwind info.
79552
79553 2010-09-06 Andreas Schwab <schwab@redhat.com>
79554
79555 * manual/Makefile: Don't mix pattern rules with normal rules.
79556
79557 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
79558
79559 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
79560 operation.
79561 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
79562 * libio/iofopncook.c (_IO_cookie_init): Likewise.
79563 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
79564 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
79565 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
79566 Likewise.
79567
79568 2010-09-04 Ulrich Drepper <drepper@redhat.com>
79569
79570 [BZ #11979]
79571 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
79572 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
79573
79574 2010-09-02 Ulrich Drepper <drepper@redhat.com>
79575
79576 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
79577 * sysdeps/x86_64/addmul_1.S: Likewise.
79578 * sysdeps/x86_64/lshift.S: Likewise.
79579 * sysdeps/x86_64/mul_1.S: Likewise.
79580 * sysdeps/x86_64/rshift.S: Likewise.
79581 * sysdeps/x86_64/sub_n.S: Likewise.
79582 * sysdeps/x86_64/submul_1.S: Likewise.
79583
79584 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
79585
79586 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
79587 Define __sched_param instead of SCHED_* and sched_param when
79588 <bits/sched.h> is included with __need_schedparam defined.
79589 * bits/sched.h [__need_schedparam]
79590 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
79591 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
79592 (__defined_schedparam): Define to 1.
79593 (__sched_param): New structure, identical to sched_param.
79594 (__need_schedparam): Undefine.
79595
79596 2010-08-31 Mike Frysinger <vapier@gentoo.org>
79597
79598 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
79599 (epoll_create1): Declare.
79600
79601 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
79602
79603 2010-08-31 Andreas Schwab <schwab@redhat.com>
79604
79605 [BZ #7066]
79606 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
79607 shifting retval into place.
79608
79609 2010-09-01 Ulrich Drepper <drepper@redhat.com>
79610
79611 * nis/rpcsvc/nis.h: Update copyright notice.
79612 * nis/rpcsvc/nis.x: Likewise.
79613 * nis/rpcsvc/nis_callback.h: Likewise.
79614 * nis/rpcsvc/nis_callback.x: Likewise.
79615 * nis/rpcsvc/nis_object.x: Likewise.
79616 * nis/rpcsvc/nis_tags.h: Likewise.
79617 * nis/rpcsvc/yp.h: Likewise.
79618 * nis/rpcsvc/yp.x: Likewise.
79619 * nis/rpcsvc/ypupd.h: Likewise.
79620 * nis/yp_xdr.c: Likewise.
79621 * nis/ypupdate_xdr.c: Likewise.
79622
79623 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
79624 mainly the body of pmap_getport. Add parameters to specify timeouts.
79625 (pmap_getport): Use __libc_rpc_getport.
79626 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
79627 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
79628 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
79629
79630 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
79631
79632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
79633 fanotify_mark.
79634
79635 2010-08-27 Roland McGrath <roland@redhat.com>
79636
79637 * sysdeps/i386/i686/multiarch/Makefile
79638 (CFLAGS-varshift.c): New variable.
79639
79640 2010-08-27 Ulrich Drepper <drepper@redhat.com>
79641
79642 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
79643 * sysdeps/i386/i686/multiarch/varshift.c: New file.
79644
79645 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
79646
79647 * sysdeps/x86_64/strlen.S: Minimal code improvement.
79648
79649 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
79650
79651 * sysdeps/x86_64/strlen.S: Unroll the loop.
79652 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79653 strlen-sse2 strlen-sse2-bsf.
79654 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
79655 __strlen_no_bsf if bit_Slow_BSF is set.
79656 (__strlen_sse42): Removed.
79657 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
79658 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
79659
79660 2010-08-25 Roland McGrath <roland@redhat.com>
79661
79662 * sysdeps/x86_64/multiarch/varshift.S: File removed.
79663 * sysdeps/x86_64/multiarch/varshift.c: New file.
79664 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
79665 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
79666 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
79667 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
79668
79669 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
79670
79671 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79672 strlen-sse2 strlen-sse2-bsf.
79673 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
79674 __strlen_sse2_bsf if bit_Slow_BSF is unset.
79675 (__strlen_sse2): Removed.
79676 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
79677 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
79678 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
79679 bit_Slow_BSF for Atom.
79680 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
79681 (index_Slow_BSF): Define.
79682 (HAS_SLOW_BSF): Define.
79683
79684 2010-08-25 Ulrich Drepper <drepper@redhat.com>
79685
79686 [BZ #10851]
79687 * resolv/res_init.c (__res_vinit): When no server address at all
79688 is given default to loopback.
79689
79690 2010-08-24 Roland McGrath <roland@redhat.com>
79691
79692 * configure.in: Remove config-name.h generation.
79693 * configure: Regenerated.
79694 * config-name.in: File removed.
79695 * scripts/config-uname.sh: New file.
79696 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
79697 ($(objdir)config-name.h): New target.
79698
79699 * sunrpc/rpc_parse.h: Avoid nested comment.
79700
79701 2010-08-24 Richard Henderson <rth@redhat.com>
79702 Ulrich Drepper <drepper@redhat.com>
79703 H.J. Lu <hongjiu.lu@intel.com>
79704
79705 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
79706 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
79707 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
79708 Replace _mm_srli_si128 with __m128i_shift_right. Replace
79709 _mm_alignr_epi8 with _mm_loadu_si128.
79710 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
79711 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
79712 (__m128i_shift_right): Removed.
79713 * sysdeps/i386/i686/multiarch/varshift.h: New file.
79714 * sysdeps/i386/i686/multiarch/varshift.S: New file.
79715 * sysdeps/x86_64/multiarch/varshift.h: New file.
79716 * sysdeps/x86_64/multiarch/varshift.S: New file.
79717
79718 2010-08-21 Mike Frysinger <vapier@gentoo.org>
79719
79720 * configure.in: Move assembler checks to before sysdep dir checking.
79721
79722 2010-08-20 Petr Baudis <pasky@suse.cz>
79723
79724 * LICENSES: Sync the sunrpc license.
79725
79726 2010-08-19 Ulrich Drepper <drepper@redhat.com>
79727
79728 * sunrpc/auth_des.c: Update copyright notice once again.
79729 * sunrpc/auth_none.c: Likewise.
79730 * sunrpc/auth_unix.c: Likewise.
79731 * sunrpc/authdes_prot.c: Likewise.
79732 * sunrpc/authuxprot.c: Likewise.
79733 * sunrpc/bindrsvprt.c: Likewise.
79734 * sunrpc/clnt_gen.c: Likewise.
79735 * sunrpc/clnt_perr.c: Likewise.
79736 * sunrpc/clnt_raw.c: Likewise.
79737 * sunrpc/clnt_simp.c: Likewise.
79738 * sunrpc/clnt_tcp.c: Likewise.
79739 * sunrpc/clnt_udp.c: Likewise.
79740 * sunrpc/clnt_unix.c: Likewise.
79741 * sunrpc/des_crypt.c: Likewise.
79742 * sunrpc/des_soft.c: Likewise.
79743 * sunrpc/get_myaddr.c: Likewise.
79744 * sunrpc/getrpcport.c: Likewise.
79745 * sunrpc/key_call.c: Likewise.
79746 * sunrpc/key_prot.c: Likewise.
79747 * sunrpc/openchild.c: Likewise.
79748 * sunrpc/pm_getmaps.c: Likewise.
79749 * sunrpc/pm_getport.c: Likewise.
79750 * sunrpc/pmap_clnt.c: Likewise.
79751 * sunrpc/pmap_prot.c: Likewise.
79752 * sunrpc/pmap_prot2.c: Likewise.
79753 * sunrpc/pmap_rmt.c: Likewise.
79754 * sunrpc/rpc/auth.h: Likewise.
79755 * sunrpc/rpc/auth_unix.h: Likewise.
79756 * sunrpc/rpc/clnt.h: Likewise.
79757 * sunrpc/rpc/des_crypt.h: Likewise.
79758 * sunrpc/rpc/key_prot.h: Likewise.
79759 * sunrpc/rpc/netdb.h: Likewise.
79760 * sunrpc/rpc/pmap_clnt.h: Likewise.
79761 * sunrpc/rpc/pmap_prot.h: Likewise.
79762 * sunrpc/rpc/pmap_rmt.h: Likewise.
79763 * sunrpc/rpc/rpc.h: Likewise.
79764 * sunrpc/rpc/rpc_des.h: Likewise.
79765 * sunrpc/rpc/rpc_msg.h: Likewise.
79766 * sunrpc/rpc/svc.h: Likewise.
79767 * sunrpc/rpc/svc_auth.h: Likewise.
79768 * sunrpc/rpc/types.h: Likewise.
79769 * sunrpc/rpc/xdr.h: Likewise.
79770 * sunrpc/rpc_clntout.c: Likewise.
79771 * sunrpc/rpc_cmsg.c: Likewise.
79772 * sunrpc/rpc_common.c: Likewise.
79773 * sunrpc/rpc_cout.c: Likewise.
79774 * sunrpc/rpc_dtable.c: Likewise.
79775 * sunrpc/rpc_hout.c: Likewise.
79776 * sunrpc/rpc_main.c: Likewise.
79777 * sunrpc/rpc_parse.c: Likewise.
79778 * sunrpc/rpc_parse.h: Likewise.
79779 * sunrpc/rpc_prot.c: Likewise.
79780 * sunrpc/rpc_sample.c: Likewise.
79781 * sunrpc/rpc_scan.c: Likewise.
79782 * sunrpc/rpc_scan.h: Likewise.
79783 * sunrpc/rpc_svcout.c: Likewise.
79784 * sunrpc/rpc_tblout.c: Likewise.
79785 * sunrpc/rpc_util.c: Likewise.
79786 * sunrpc/rpc_util.h: Likewise.
79787 * sunrpc/rpcinfo.c: Likewise.
79788 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
79789 * sunrpc/rpcsvc/key_prot.x: Likewise.
79790 * sunrpc/rpcsvc/klm_prot.x: Likewise.
79791 * sunrpc/rpcsvc/mount.x: Likewise.
79792 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
79793 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
79794 * sunrpc/rpcsvc/rex.x: Likewise.
79795 * sunrpc/rpcsvc/rstat.x: Likewise.
79796 * sunrpc/rpcsvc/rusers.x: Likewise.
79797 * sunrpc/rpcsvc/sm_inter.x: Likewise.
79798 * sunrpc/rpcsvc/spray.x: Likewise.
79799 * sunrpc/rpcsvc/yppasswd.x: Likewise.
79800 * sunrpc/rtime.c: Likewise.
79801 * sunrpc/svc.c: Likewise.
79802 * sunrpc/svc_auth.c: Likewise.
79803 * sunrpc/svc_authux.c: Likewise.
79804 * sunrpc/svc_raw.c: Likewise.
79805 * sunrpc/svc_run.c: Likewise.
79806 * sunrpc/svc_simple.c: Likewise.
79807 * sunrpc/svc_tcp.c: Likewise.
79808 * sunrpc/svc_udp.c: Likewise.
79809 * sunrpc/svc_unix.c: Likewise.
79810 * sunrpc/svcauth_des.c: Likewise.
79811 * sunrpc/xcrypt.c: Likewise.
79812 * sunrpc/xdr.c: Likewise.
79813 * sunrpc/xdr_array.c: Likewise.
79814 * sunrpc/xdr_float.c: Likewise.
79815 * sunrpc/xdr_mem.c: Likewise.
79816 * sunrpc/xdr_rec.c: Likewise.
79817 * sunrpc/xdr_ref.c: Likewise.
79818 * sunrpc/xdr_sizeof.c: Likewise.
79819 * sunrpc/xdr_stdio.c: Likewise.
79820
79821 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
79822 handling.
79823
79824 2010-08-19 Andreas Schwab <schwab@redhat.com>
79825
79826 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
79827
79828 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
79829
79830 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
79831 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
79832 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
79833 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
79834 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
79835 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
79836 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
79837 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
79838 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
79839 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
79840 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
79841 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
79842 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
79843 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
79844
79845 2010-07-26 Anton Blanchard <anton@samba.org>
79846
79847 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
79848 * malloc/arena.c (heap_trim): Likewise.
79849
79850 2010-08-16 Ulrich Drepper <drepper@redhat.com>
79851
79852 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
79853 here. Not...
79854 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
79855 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
79856
79857 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
79858
79859 * sysdeps/i386/elf/Makefile: New file.
79860
79861 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
79862
79863 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
79864 from fanotify_init.
79865 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
79866 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
79867
79868 2010-08-15 Ulrich Drepper <drepper@redhat.com>
79869
79870 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
79871 of strncasecmp_l.
79872 * sysdeps/multiarch/strcmp.S: Likewise.
79873
79874 2010-08-14 Ulrich Drepper <drepper@redhat.com>
79875
79876 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
79877 strncase_l-nonascii.
79878 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
79879 Add strncase_l-ssse3.
79880 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
79881 * sysdeps/x86_64/strcmp.S: Likewise.
79882 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
79883 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
79884 * sysdeps/x86_64/strncase.S: New file.
79885 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
79886 * sysdeps/x86_64/strncase_l.S: New file.
79887 * string/Makefile (strop-tests): Add strncasecmp.
79888 * string/test-strncasecmp.c: New file.
79889
79890 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
79891 warning.
79892
79893 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
79894 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
79895
79896 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
79897
79898 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
79899
79900 2010-08-12 Ulrich Drepper <drepper@redhat.com>
79901
79902 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
79903 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
79904 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
79905
79906 2010-05-01 Alan Modra <amodra@gmail.com>
79907
79908 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
79909 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
79910 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
79911 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
79912 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
79913 tidying. Don't tail-call __sigjmp_save for static lib.
79914 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
79915 save location.
79916 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
79917 (CALL_MCOUNT): Add eh info, and nop after bl.
79918 (TAIL_CALL_SYSCALL_ERROR): New macro.
79919 (PSEUDO_RET): Use it.
79920 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
79921 Correct save location of integer regs and cr.
79922 (_dl_profile_resolve): Correct cr save location. Delete nops
79923 after bl when SHARED. Reduce cfi size a little by better
79924 placement of cfi directives.
79925 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
79926 make a stack frame. Instead use parm save area as a temp.
79927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
79928 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
79929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
79930 Don't make a stack frame for parent, use parm save area.
79931 Increase child stack frame to 112 bytes. Don't save unused reg,
79932 and adjust reg usage. Set up cfi on error recovery and
79933 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
79934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
79935 (__makecontext): Add dummy nop after jump to exit.
79936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
79937 Use correct parm save area and cr save, reduce stack frame.
79938 Correct cfi for possible PSEUDO_RET frame setup.
79939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
79940 Branch to local label emitted by PSEUDO_RET rather than
79941 __syscall_error.
79942
79943 2010-08-12 Andreas Schwab <schwab@redhat.com>
79944
79945 [BZ #11904]
79946 * locale/programs/locale.c (print_assignment): New function.
79947 (show_locale_vars): Use it.
79948
79949 2010-08-11 Ulrich Drepper <drepper@redhat.com>
79950
79951 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
79952 field.
79953 (struct statfs64): Likewise.
79954 (_STATFS_F_FLAGS): Define.
79955 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
79956 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
79957 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
79958 (ST_VALID): Define locally.
79959 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
79960 __statvfs_getflags, use the provided value.
79961 * sysdeps/unix/sysv/linux/kernel-features.h: Define
79962 __ASSUME_STATFS_F_FLAGS.
79963
79964 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
79965
79966 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
79967 Add sys/fanotify.h.
79968 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
79969 fanotify_mask for GLIBC_2.13.
79970 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
79971 fanotify_init and fanotify_mark.
79972 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
79973 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
79974
79975 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
79976 Add prlimit.
79977 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
79978 prlimit64 for GLIBC_2.13.
79979 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
79980 prlimit64.
79981 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
79982 syscall.
79983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
79984 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
79985 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
79986 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
79987 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
79988 add prlimit alias.
79989 * sysdeps/unix/sysv/linux/prlimit.c: New file.
79990
79991 [BZ #11903]
79992 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
79993 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
79994
79995 * nss/Makefile: Add rules to build and run tst-nss-test1.
79996 * shlib-versions: Add entry for libnss_test1.
79997 * nss/nss_test1.c: New file.
79998 * nss/tst-nss-test1.c: New file.
79999
80000 * nss/nsswitch.c (__nss_database_custom): Define new variable.
80001 (__nss_configure_lookup): Set appropriate entry in
80002 __nss_configure_lookup to true.
80003 * nss/nsswitch.h: Define enum with indeces of databases in
80004 databases and __nss_database_custom arrays. Declare
80005 __nss_database_custom.
80006 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
80007 to avoid using nscd when custom rules are installed.
80008 * nss/getXXbyYY_r.c: Likewise.
80009 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
80010
80011 * nss/nss_files/files-parse.c: Whitespace fixes.
80012
80013 2010-08-09 Ulrich Drepper <drepper@redhat.com>
80014
80015 [BZ #11883]
80016 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
80017 * posix/fnmatch_loop.c: Likewise.
80018
80019 2010-07-17 Andi Kleen <ak@linux.intel.com>
80020
80021 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
80022 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
80023 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
80024 * Versions.def [GLIBC_2.13]: Add.
80025
80026 2010-08-06 Ulrich Drepper <drepper@redhat.com>
80027
80028 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
80029 Also fail if tpwd after pwuid call is NULL.
80030
80031 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
80032
80033 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
80034 when converting to ms.
80035
80036 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
80037
80038 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
80039 EOPNOTSUPP errors with ENOTTY.
80040 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
80041 EOPNOTSUPP errors with ENOTTY.
80042
80043 2010-07-31 Ulrich Drepper <drepper@redhat.com>
80044
80045 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
80046 Add strcasecmp_l-ssse3.
80047 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
80048 strcasecmp.
80049 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
80050 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
80051 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
80052
80053 2010-07-30 Ulrich Drepper <drepper@redhat.com>
80054
80055 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
80056
80057 * string/Makefile (strop-tests): Add strcasecmp.
80058 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
80059 strcasecmp_l-nonascii.
80060 (gen-as-const-headers): Add locale-defines.sym.
80061 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
80062 * sysdeps/x86_64/strcasecmp.S: New file.
80063 * sysdeps/x86_64/strcasecmp_l.S: New file.
80064 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
80065 * sysdeps/x86_64/locale-defines.sym: New file.
80066 * string/test-strcasecmp.c: New file.
80067
80068 * string/test-strcasestr.c: Test both ends of the range of characters.
80069 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
80070
80071 2010-07-29 Roland McGrath <roland@redhat.com>
80072
80073 [BZ #11856]
80074 * manual/locale.texi (Yes-or-No Questions): Fix example code.
80075
80076 2010-07-27 Ulrich Drepper <drepper@redhat.com>
80077
80078 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
80079 for ld.so.
80080
80081 2010-07-27 Andreas Schwab <schwab@redhat.com>
80082
80083 * manual/memory.texi (Malloc Tunable Parameters): Document
80084 M_PERTURB.
80085
80086 2010-07-26 Roland McGrath <roland@redhat.com>
80087
80088 [BZ #11840]
80089 * configure.in (-fgnu89-inline check): Set and substitute
80090 gnu89_inline, not libc_cv_gnu89_inline.
80091 * configure: Regenerated.
80092 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
80093
80094 2010-07-26 Ulrich Drepper <drepper@redhat.com>
80095
80096 * string/test-strnlen.c: New file.
80097 * string/Makefile (strop-tests): Add strnlen.
80098 * string/tester.c (test_strnlen): Add a few more test cases.
80099 * string/tst-strlen.c: Better error reporting.
80100
80101 * sysdeps/x86_64/strnlen.S: New file.
80102
80103 2010-07-24 Ulrich Drepper <drepper@redhat.com>
80104
80105 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
80106 lower-latency instructions.
80107
80108 2010-07-23 Ulrich Drepper <drepper@redhat.com>
80109
80110 * string/test-strcasestr.c: New file.
80111 * string/test-strstr.c: New file.
80112 * string/Makefile (strop-tests): Add strstr and strcasestr.
80113 * string/str-two-way.h: Don't undefine MAX.
80114 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
80115
80116 2010-07-21 Andreas Schwab <schwab@redhat.com>
80117
80118 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
80119 strcasestr-nonascii.
80120 (CFLAGS-strcasestr-nonascii.c): Define.
80121 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
80122 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
80123 Remove unused attribute.
80124
80125 2010-07-20 Roland McGrath <roland@redhat.com>
80126
80127 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
80128 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
80129 ld.so.cache was broken. With it, there is no way to disable dsocaps
80130 like LD_HWCAP_MASK can disable hwcaps.
80131
80132 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
80133
80134 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
80135
80136 2010-07-16 Ulrich Drepper <drepper@redhat.com>
80137
80138 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
80139 call in strcasestr.
80140 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
80141 __strcasestr_sse42_nonascii.
80142 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
80143 strcasestr-nonascii.c.
80144 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
80145
80146 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
80147
80148 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
80149 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
80150 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
80151 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
80152
80153 2010-07-09 Ulrich Drepper <drepper@redhat.com>
80154
80155 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
80156 fcntl.
80157
80158 2010-07-06 Andreas Schwab <schwab@redhat.com>
80159
80160 [BZ #11577]
80161 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
80162 dl_signal_cerror.
80163
80164 2010-07-06 Ulrich Drepper <drepper@redhat.com>
80165
80166 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
80167 _PC_PIPE_BUF using F_GETPIPE_SZ.
80168
80169 2010-07-05 Roland McGrath <roland@redhat.com>
80170
80171 * manual/arith.texi (Rounding Functions): Fix rint description
80172 implicit in round description.
80173
80174 2010-07-02 Ulrich Drepper <drepper@redhat.com>
80175
80176 * elf/Makefile: Fix linking for a few tests to make recent linker
80177 happy.
80178
80179 2010-06-30 Andreas Schwab <schwab@redhat.com>
80180
80181 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
80182 $(common-objpfx)libc_nonshared.a.
80183
80184 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
80185
80186 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
80187 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
80188 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
80189 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
80190 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
80191 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
80192 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
80193 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
80194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
80195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
80196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
80197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
80198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
80199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
80200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
80201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
80202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
80203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
80204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
80205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
80206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
80207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
80208 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
80209 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
80210 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
80211 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
80212 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
80213 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
80214 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
80215 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
80216 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
80217 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
80218 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
80219 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
80220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
80221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
80222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
80223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
80224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
80225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
80226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
80227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
80228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
80229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
80230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
80231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
80232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
80233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
80234
80235 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
80236
80237 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
80238 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
80239 * string/memmove.c (memmove): Renamed to ...
80240 (MEMMOVE): ...this. Default to memmove.
80241 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
80242 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
80243 (END_CHK): Define.
80244 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
80245 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
80246 mempcpy-ssse3-back memmove-ssse3-back.
80247 * sysdeps/x86_64/multiarch/bcopy.S: New file .
80248 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
80249 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
80250 * sysdeps/x86_64/multiarch/memcpy.S: New file.
80251 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
80252 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
80253 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
80254 * sysdeps/x86_64/multiarch/memmove.c: New file.
80255 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
80256 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
80257 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
80258 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
80259 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
80260 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
80261 Define.
80262 (index_Fast_Copy_Backward): Define.
80263 (HAS_ARCH_FEATURE): Define.
80264 (HAS_FAST_REP_STRING): Define.
80265 (HAS_FAST_COPY_BACKWARD): Define.
80266
80267 2010-06-21 Andreas Schwab <schwab@redhat.com>
80268
80269 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
80270 Restore proper fallback handling.
80271
80272 2010-06-19 Ulrich Drepper <drepper@redhat.com>
80273
80274 [BZ #11701]
80275 * posix/group_member.c (__group_member): Correct checking loop.
80276
80277 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
80278 OOM in getpwuid_r correctly. Return error number when the caller
80279 should return, otherwise -1.
80280 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
80281 call returning > 0 value.
80282 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
80283
80284 2010-06-07 Andreas Schwab <schwab@redhat.com>
80285
80286 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
80287 libc_nonshared.a from targets in modules-names.
80288
80289 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
80290
80291 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
80292 requires it.
80293
80294 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
80295
80296 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
80297 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
80298 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
80299 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
80300
80301 2010-06-02 Andreas Schwab <schwab@redhat.com>
80302
80303 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
80304
80305 2010-06-14 Ulrich Drepper <drepper@redhat.com>
80306
80307 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
80308 and F_GETPIPE_SZ.
80309 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
80310 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
80311 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
80312 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
80313 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
80314 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
80315
80316 2010-06-14 Roland McGrath <roland@redhat.com>
80317
80318 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
80319
80320 2010-06-07 Jakub Jelinek <jakub@redhat.com>
80321
80322 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
80323 __REDIRECT followed by __THROW.
80324 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
80325 * posix/getopt.h (getopt): Likewise.
80326
80327 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
80328
80329 * hurd/lookup-at.c (__file_name_lookup_at): Accept
80330 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
80331 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
80332 in AT_FLAGS.
80333 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
80334 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
80335
80336 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
80337
80338 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
80339
80340 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
80341
80342 [BZ #11640]
80343 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80344 Properly check family and model.
80345
80346 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
80347
80348 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
80349
80350 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
80351
80352 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
80353
80354 2010-05-21 Ulrich Drepper <drepper@redhat.com>
80355
80356 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
80357 symbol reference.
80358
80359 2010-05-19 Andreas Schwab <schwab@redhat.com>
80360
80361 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
80362 symbol reference.
80363
80364 2010-05-21 Andreas Schwab <schwab@redhat.com>
80365
80366 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
80367 and internal_recvmmsg.
80368 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
80369 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
80370 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
80371 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
80372
80373 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
80374 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
80375 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
80376
80377 2010-05-20 Andreas Schwab <schwab@redhat.com>
80378
80379 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
80380
80381 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
80382
80383 POWER7 optimizations.
80384 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
80385 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
80386
80387 2010-05-19 Ulrich Drepper <drepper@redhat.com>
80388
80389 * version.h: Update for 2.13 development version.
80390
80391 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
80392
80393 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
80394 exceptions. Return 0.
80395
80396 2010-05-07 Roland McGrath <roland@redhat.com>
80397
80398 * elf/ldconfig.c (main): Add a const.
80399
80400 2010-05-06 Ulrich Drepper <drepper@redhat.com>
80401
80402 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
80403 (args_options): Add no-idn option.
80404 (ahosts_keys_int): Add idn_flags to ai_flags.
80405 (parse_option): Handle 'i' option to clear idn_flags.
80406
80407 * malloc/malloc.c (_int_free): Possible race in the most recently
80408 added check. Only act on the data if no current modification
80409 happened.
80410
80411 See ChangeLog.17 for earlier changes.